]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
Tests for UTF-8 and PUA characters and octal escapes
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
36ed4f51 3 * Version 1.3.24
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
44127b65
RD
12
13#ifdef __cplusplus
14template<class T> class SwigValueWrapper {
15 T *tt;
16public:
17 SwigValueWrapper() : tt(0) { }
18 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
19 SwigValueWrapper(const T& t) : tt(new T(t)) { }
20 ~SwigValueWrapper() { delete tt; }
21 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
22 operator T&() const { return *tt; }
23 T *operator&() { return tt; }
24private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
36ed4f51 26};
44127b65
RD
27#endif
28
29
36ed4f51
RD
30#ifndef SWIG_TEMPLATE_DISAMBIGUATOR
31# if defined(__SUNPRO_CC)
32# define SWIG_TEMPLATE_DISAMBIGUATOR template
33# else
34# define SWIG_TEMPLATE_DISAMBIGUATOR
35# endif
36#endif
44127b65 37
9fd4be55 38
36ed4f51 39#include <Python.h>
44127b65
RD
40
41/***********************************************************************
36ed4f51 42 * swigrun.swg
44127b65 43 *
36ed4f51
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
44127b65
RD
46 *
47 ************************************************************************/
48
36ed4f51
RD
49/* This should only be incremented when either the layout of swig_type_info changes,
50 or for whatever reason, the runtime changes incompatibly */
51#define SWIG_RUNTIME_VERSION "1"
44127b65 52
36ed4f51
RD
53/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
54#ifdef SWIG_TYPE_TABLE
55#define SWIG_QUOTE_STRING(x) #x
56#define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
57#define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
44127b65 58#else
36ed4f51 59#define SWIG_TYPE_TABLE_NAME
44127b65
RD
60#endif
61
36ed4f51
RD
62#include <string.h>
63
64#ifndef SWIGINLINE
65#if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66# define SWIGINLINE inline
44127b65 67#else
36ed4f51
RD
68# define SWIGINLINE
69#endif
70#endif
71
72/*
73 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
74 creating a static or dynamic library from the swig runtime code.
75 In 99.9% of the cases, swig just needs to declare them as 'static'.
76
77 But only do this if is strictly necessary, ie, if you have problems
78 with your compiler or so.
79*/
80#ifndef SWIGRUNTIME
81#define SWIGRUNTIME static
82#endif
83#ifndef SWIGRUNTIMEINLINE
84#define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
44127b65
RD
85#endif
86
44127b65
RD
87#ifdef __cplusplus
88extern "C" {
89#endif
90
91typedef void *(*swig_converter_func)(void *);
92typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94typedef struct swig_type_info {
0f774bef 95 const char *name;
44127b65
RD
96 swig_converter_func converter;
97 const char *str;
0f774bef 98 void *clientdata;
44127b65
RD
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102} swig_type_info;
103
36ed4f51
RD
104/*
105 Compare two type names skipping the space characters, therefore
106 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
107
108 Return 0 when the two name types are equivalent, as in
109 strncmp, but skipping ' '.
110*/
111SWIGRUNTIME int
112SWIG_TypeNameComp(const char *f1, const char *l1,
113 const char *f2, const char *l2) {
114 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
115 while ((*f1 == ' ') && (f1 != l1)) ++f1;
116 while ((*f2 == ' ') && (f2 != l2)) ++f2;
117 if (*f1 != *f2) return *f1 - *f2;
118 }
119 return (l1 - f1) - (l2 - f2);
120}
121
122/*
123 Check type equivalence in a name list like <name1>|<name2>|...
124*/
125SWIGRUNTIME int
126SWIG_TypeEquiv(const char *nb, const char *tb) {
127 int equiv = 0;
128 const char* te = tb + strlen(tb);
129 const char* ne = nb;
130 while (!equiv && *ne) {
131 for (nb = ne; *ne; ++ne) {
132 if (*ne == '|') break;
133 }
134 equiv = SWIG_TypeNameComp(nb, ne, tb, te) == 0;
135 if (*ne) ++ne;
136 }
137 return equiv;
138}
139
140/*
141 Register a type mapping with the type-checking
142*/
143SWIGRUNTIME swig_type_info *
144SWIG_TypeRegisterTL(swig_type_info **tl, swig_type_info *ti) {
145 swig_type_info *tc, *head, *ret, *next;
146 /* Check to see if this type has already been registered */
147 tc = *tl;
148 while (tc) {
149 /* check simple type equivalence */
150 int typeequiv = (strcmp(tc->name, ti->name) == 0);
151 /* check full type equivalence, resolving typedefs */
152 if (!typeequiv) {
153 /* only if tc is not a typedef (no '|' on it) */
154 if (tc->str && ti->str && !strstr(tc->str,"|")) {
155 typeequiv = SWIG_TypeEquiv(ti->str,tc->str);
156 }
157 }
158 if (typeequiv) {
159 /* Already exists in the table. Just add additional types to the list */
160 if (ti->clientdata) tc->clientdata = ti->clientdata;
161 head = tc;
162 next = tc->next;
163 goto l1;
164 }
165 tc = tc->prev;
166 }
167 head = ti;
168 next = 0;
169
170 /* Place in list */
171 ti->prev = *tl;
172 *tl = ti;
173
174 /* Build linked lists */
175 l1:
176 ret = head;
177 tc = ti + 1;
178 /* Patch up the rest of the links */
179 while (tc->name) {
180 head->next = tc;
181 tc->prev = head;
182 head = tc;
183 tc++;
184 }
185 if (next) next->prev = head;
186 head->next = next;
187
188 return ret;
189}
190
191/*
192 Check the typename
193*/
194SWIGRUNTIME swig_type_info *
195SWIG_TypeCheck(const char *c, swig_type_info *ty) {
196 swig_type_info *s;
197 if (!ty) return 0; /* Void pointer */
198 s = ty->next; /* First element always just a name */
199 do {
200 if (strcmp(s->name,c) == 0) {
201 if (s == ty->next) return s;
202 /* Move s to the top of the linked list */
203 s->prev->next = s->next;
204 if (s->next) {
205 s->next->prev = s->prev;
206 }
207 /* Insert s as second element in the list */
208 s->next = ty->next;
209 if (ty->next) ty->next->prev = s;
210 ty->next = s;
211 s->prev = ty;
212 return s;
213 }
214 s = s->next;
215 } while (s && (s != ty->next));
216 return 0;
217}
44127b65 218
36ed4f51
RD
219/*
220 Cast a pointer up an inheritance hierarchy
221*/
222SWIGRUNTIMEINLINE void *
223SWIG_TypeCast(swig_type_info *ty, void *ptr) {
224 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
225}
226
227/*
228 Dynamic pointer casting. Down an inheritance hierarchy
229*/
230SWIGRUNTIME swig_type_info *
231SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
232 swig_type_info *lastty = ty;
233 if (!ty || !ty->dcast) return ty;
234 while (ty && (ty->dcast)) {
235 ty = (*ty->dcast)(ptr);
236 if (ty) lastty = ty;
237 }
238 return lastty;
239}
240
241/*
242 Return the name associated with this type
243*/
244SWIGRUNTIMEINLINE const char *
245SWIG_TypeName(const swig_type_info *ty) {
246 return ty->name;
247}
248
249/*
250 Return the pretty name associated with this type,
251 that is an unmangled type name in a form presentable to the user.
252*/
253SWIGRUNTIME const char *
254SWIG_TypePrettyName(const swig_type_info *type) {
255 /* The "str" field contains the equivalent pretty names of the
256 type, separated by vertical-bar characters. We choose
257 to print the last name, as it is often (?) the most
258 specific. */
259 if (type->str != NULL) {
260 const char *last_name = type->str;
261 const char *s;
262 for (s = type->str; *s; s++)
263 if (*s == '|') last_name = s+1;
264 return last_name;
265 }
266 else
267 return type->name;
268}
269
270/*
271 Search for a swig_type_info structure
272*/
273SWIGRUNTIME swig_type_info *
274SWIG_TypeQueryTL(swig_type_info *tl, const char *name) {
275 swig_type_info *ty = tl;
276 while (ty) {
277 if (ty->str && (SWIG_TypeEquiv(ty->str,name))) return ty;
278 if (ty->name && (strcmp(name,ty->name) == 0)) return ty;
279 ty = ty->prev;
280 }
281 return 0;
282}
44127b65 283
36ed4f51
RD
284/*
285 Set the clientdata field for a type
286*/
287SWIGRUNTIME void
288SWIG_TypeClientDataTL(swig_type_info *tl, swig_type_info *ti, void *clientdata) {
289 swig_type_info *tc, *equiv;
290 if (ti->clientdata) return;
291 /* if (ti->clientdata == clientdata) return; */
292 ti->clientdata = clientdata;
293 equiv = ti->next;
294 while (equiv) {
295 if (!equiv->converter) {
296 tc = tl;
297 while (tc) {
298 if ((strcmp(tc->name, equiv->name) == 0))
299 SWIG_TypeClientDataTL(tl,tc,clientdata);
300 tc = tc->prev;
301 }
302 }
303 equiv = equiv->next;
304 }
305}
306
307/*
308 Pack binary data into a string
309*/
310SWIGRUNTIME char *
311SWIG_PackData(char *c, void *ptr, size_t sz) {
312 static char hex[17] = "0123456789abcdef";
313 unsigned char *u = (unsigned char *) ptr;
314 const unsigned char *eu = u + sz;
315 register unsigned char uu;
316 for (; u != eu; ++u) {
317 uu = *u;
318 *(c++) = hex[(uu & 0xf0) >> 4];
319 *(c++) = hex[uu & 0xf];
320 }
321 return c;
322}
323
324/*
325 Unpack binary data from a string
326*/
327SWIGRUNTIME const char *
328SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
329 register unsigned char *u = (unsigned char *) ptr;
330 register const unsigned char *eu = u + sz;
331 for (; u != eu; ++u) {
332 register int d = *(c++);
333 register unsigned char uu = 0;
334 if ((d >= '0') && (d <= '9'))
335 uu = ((d - '0') << 4);
336 else if ((d >= 'a') && (d <= 'f'))
337 uu = ((d - ('a'-10)) << 4);
338 else
339 return (char *) 0;
340 d = *(c++);
341 if ((d >= '0') && (d <= '9'))
342 uu |= (d - '0');
343 else if ((d >= 'a') && (d <= 'f'))
344 uu |= (d - ('a'-10));
345 else
346 return (char *) 0;
347 *u = uu;
348 }
349 return c;
350}
351
352/*
353 This function will propagate the clientdata field of type to any new
354 swig_type_info structures that have been added into the list of
355 equivalent types. It is like calling SWIG_TypeClientData(type,
356 clientdata) a second time.
357*/
358SWIGRUNTIME void
359SWIG_PropagateClientDataTL(swig_type_info *tl, swig_type_info *type) {
360 swig_type_info *equiv = type->next;
361 swig_type_info *tc;
362 if (!type->clientdata) return;
363 while (equiv) {
364 if (!equiv->converter) {
365 tc = tl;
366 while (tc) {
367 if ((strcmp(tc->name, equiv->name) == 0) && !tc->clientdata)
368 SWIG_TypeClientDataTL(tl,tc, type->clientdata);
369 tc = tc->prev;
370 }
371 }
372 equiv = equiv->next;
373 }
374}
375
376/*
377 Pack 'void *' into a string buffer.
378*/
379SWIGRUNTIME char *
380SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
381 char *r = buff;
382 if ((2*sizeof(void *) + 2) > bsz) return 0;
383 *(r++) = '_';
384 r = SWIG_PackData(r,&ptr,sizeof(void *));
385 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
386 strcpy(r,name);
387 return buff;
388}
389
390SWIGRUNTIME const char *
391SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
392 if (*c != '_') {
393 if (strcmp(c,"NULL") == 0) {
394 *ptr = (void *) 0;
395 return name;
396 } else {
397 return 0;
398 }
399 }
400 return SWIG_UnpackData(++c,ptr,sizeof(void *));
401}
402
403SWIGRUNTIME char *
404SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
405 char *r = buff;
406 size_t lname = (name ? strlen(name) : 0);
407 if ((2*sz + 2 + lname) > bsz) return 0;
408 *(r++) = '_';
409 r = SWIG_PackData(r,ptr,sz);
410 if (lname) {
411 strncpy(r,name,lname+1);
412 } else {
413 *r = 0;
414 }
415 return buff;
416}
417
418SWIGRUNTIME const char *
419SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
420 if (*c != '_') {
421 if (strcmp(c,"NULL") == 0) {
422 memset(ptr,0,sz);
423 return name;
424 } else {
425 return 0;
426 }
427 }
428 return SWIG_UnpackData(++c,ptr,sz);
429}
44127b65
RD
430
431#ifdef __cplusplus
432}
44127b65
RD
433#endif
434
435/***********************************************************************
36ed4f51
RD
436 * common.swg
437 *
438 * This file contains generic SWIG runtime support for pointer
439 * type checking as well as a few commonly used macros to control
440 * external linkage.
44127b65 441 *
36ed4f51 442 * Author : David Beazley (beazley@cs.uchicago.edu)
44127b65 443 *
36ed4f51
RD
444 * Copyright (c) 1999-2000, The University of Chicago
445 *
446 * This file may be freely redistributed without license or fee provided
447 * this copyright message remains intact.
44127b65
RD
448 ************************************************************************/
449
36ed4f51
RD
450
451#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
452# if !defined(STATIC_LINKED)
453# define SWIGEXPORT(a) __declspec(dllexport) a
454# else
455# define SWIGEXPORT(a) a
456# endif
457#else
458# define SWIGEXPORT(a) a
459#endif
460
44127b65
RD
461#ifdef __cplusplus
462extern "C" {
463#endif
464
36ed4f51
RD
465
466/*************************************************************************/
467
468
469/* The static type info list */
470
471static swig_type_info *swig_type_list = 0;
472static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475/* Register a type mapping with the type-checking */
476static swig_type_info *
477SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479}
480
481/* Search for a swig_type_info structure */
482static swig_type_info *
483SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485}
486
487/* Set the clientdata field for a type */
488static void
489SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
490 SWIG_TypeClientDataTL(*swig_type_list_handle, ti, clientdata);
491}
492
493/* This function will propagate the clientdata field of type to
494* any new swig_type_info structures that have been added into the list
495* of equivalent types. It is like calling
496* SWIG_TypeClientData(type, clientdata) a second time.
497*/
498static void
499SWIG_PropagateClientData(swig_type_info *type) {
500 SWIG_PropagateClientDataTL(*swig_type_list_handle, type);
501}
502
503#ifdef __cplusplus
504}
505#endif
506
507/* -----------------------------------------------------------------------------
508 * SWIG API. Portion that goes into the runtime
509 * ----------------------------------------------------------------------------- */
510
511#ifdef __cplusplus
512extern "C" {
513#endif
514
515/* -----------------------------------------------------------------------------
516 * for internal method declarations
517 * ----------------------------------------------------------------------------- */
518
519#ifndef SWIGINTERN
520#define SWIGINTERN static
521#endif
522
523#ifndef SWIGINTERNSHORT
524#ifdef __cplusplus
525#define SWIGINTERNSHORT static inline
526#else /* C case */
527#define SWIGINTERNSHORT static
528#endif /* __cplusplus */
529#endif
530
531
532/*
533 Exception handling in wrappers
534*/
535#define SWIG_fail goto fail
536#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
537#define SWIG_append_errmsg(msg) SWIG_Python_AddErrMesg(msg,0)
538#define SWIG_preppend_errmsg(msg) SWIG_Python_AddErrMesg(msg,1)
539#define SWIG_type_error(type,obj) SWIG_Python_TypeError(type,obj)
540#define SWIG_null_ref(type) SWIG_Python_NullRef(type)
541
542/*
543 Contract support
544*/
545#define SWIG_contract_assert(expr, msg) \
546 if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
547
548/* -----------------------------------------------------------------------------
549 * Constant declarations
550 * ----------------------------------------------------------------------------- */
551
552/* Constant Types */
44127b65
RD
553#define SWIG_PY_INT 1
554#define SWIG_PY_FLOAT 2
555#define SWIG_PY_STRING 3
556#define SWIG_PY_POINTER 4
557#define SWIG_PY_BINARY 5
558
44127b65
RD
559/* Constant information structure */
560typedef struct swig_const_info {
561 int type;
562 char *name;
563 long lvalue;
564 double dvalue;
565 void *pvalue;
566 swig_type_info **ptype;
567} swig_const_info;
568
36ed4f51
RD
569
570/* -----------------------------------------------------------------------------
571 * Alloc. memory flags
572 * ----------------------------------------------------------------------------- */
573#define SWIG_OLDOBJ 1
574#define SWIG_NEWOBJ SWIG_OLDOBJ + 1
575#define SWIG_PYSTR SWIG_NEWOBJ + 1
576
577#ifdef __cplusplus
578}
579#endif
580
581
582/***********************************************************************
583 * pyrun.swg
584 *
585 * This file contains the runtime support for Python modules
586 * and includes code for managing global variables and pointer
587 * type checking.
588 *
589 * Author : David Beazley (beazley@cs.uchicago.edu)
590 ************************************************************************/
591
44127b65 592/* Common SWIG API */
36ed4f51
RD
593#define SWIG_ConvertPtr(obj, pp, type, flags) SWIG_Python_ConvertPtr(obj, pp, type, flags)
594#define SWIG_NewPointerObj(p, type, flags) SWIG_Python_NewPointerObj(p, type, flags)
595#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 596
44127b65 597
36ed4f51
RD
598/* Python-specific SWIG API */
599#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
600#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
44127b65 601
44127b65 602
36ed4f51
RD
603/* -----------------------------------------------------------------------------
604 * Pointer declarations
605 * ----------------------------------------------------------------------------- */
606/*
607 Use SWIG_NO_COBJECT_TYPES to force the use of strings to represent
608 C/C++ pointers in the python side. Very useful for debugging, but
609 not always safe.
610*/
611#if !defined(SWIG_NO_COBJECT_TYPES) && !defined(SWIG_COBJECT_TYPES)
612# define SWIG_COBJECT_TYPES
613#endif
44127b65 614
36ed4f51
RD
615/* Flags for pointer conversion */
616#define SWIG_POINTER_EXCEPTION 0x1
617#define SWIG_POINTER_DISOWN 0x2
44127b65 618
44127b65 619
44127b65 620#ifdef __cplusplus
36ed4f51
RD
621extern "C" {
622#endif
623
624/* -----------------------------------------------------------------------------
625 * Create a new pointer string
626 * ----------------------------------------------------------------------------- */
627
628#ifndef SWIG_BUFFER_SIZE
629#define SWIG_BUFFER_SIZE 1024
630#endif
631
632#if defined(SWIG_COBJECT_TYPES)
633#if !defined(SWIG_COBJECT_PYTHON)
634/* -----------------------------------------------------------------------------
635 * Implements a simple Swig Object type, and use it instead of PyCObject
636 * ----------------------------------------------------------------------------- */
637
638typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642} PySwigObject;
643
644/* Declarations for objects of type PySwigObject */
645
646SWIGRUNTIME int
647PySwigObject_print(PySwigObject *v, FILE *fp, int flags)
648{
649 char result[SWIG_BUFFER_SIZE];
650 if (SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result))) {
651 fputs("<Swig Object at ", fp); fputs(result, fp); fputs(">", fp);
652 return 0;
653 } else {
654 return 1;
655 }
656}
657
658SWIGRUNTIME PyObject *
659PySwigObject_repr(PySwigObject *v)
660{
661 char result[SWIG_BUFFER_SIZE];
662 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
663 PyString_FromFormat("<Swig Object at %s>", result) : 0;
664}
665
666SWIGRUNTIME PyObject *
667PySwigObject_str(PySwigObject *v)
668{
669 char result[SWIG_BUFFER_SIZE];
670 return SWIG_PackVoidPtr(result, v->ptr, v->desc, sizeof(result)) ?
671 PyString_FromString(result) : 0;
672}
673
674SWIGRUNTIME PyObject *
675PySwigObject_long(PySwigObject *v)
676{
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678}
679
680SWIGRUNTIME PyObject *
681PySwigObject_oct(PySwigObject *v)
682{
683 char buf[100];
684 unsigned long x = (unsigned long)v->ptr;
685 if (x == 0)
686 strcpy(buf, "0");
687 else
688 PyOS_snprintf(buf, sizeof(buf), "0%lo", x);
689 return PyString_FromString(buf);
690}
691
692SWIGRUNTIME PyObject *
693PySwigObject_hex(PySwigObject *v)
694{
695 char buf[100];
696 PyOS_snprintf(buf, sizeof(buf), "0x%lx", (unsigned long)v->ptr);
697 return PyString_FromString(buf);
698}
699
700SWIGRUNTIME int
701PySwigObject_compare(PySwigObject *v, PySwigObject *w)
702{
703 int c = strcmp(v->desc, w->desc);
704 if (c) {
705 return c;
706 } else {
707 void *i = v->ptr;
708 void *j = w->ptr;
709 return (i < j) ? -1 : (i > j) ? 1 : 0;
710 }
711}
712
713SWIGRUNTIME void
714PySwigObject_dealloc(PySwigObject *self)
715{
716 PyObject_DEL(self);
44127b65 717}
36ed4f51
RD
718
719SWIGRUNTIME PyTypeObject*
720PySwigObject_GetType() {
721 static char PySwigObject_Type__doc__[] =
722 "Swig object carries a C/C++ instance pointer";
723
724 static PyNumberMethods PySwigObject_as_number = {
725 (binaryfunc)0, /*nb_add*/
726 (binaryfunc)0, /*nb_subtract*/
727 (binaryfunc)0, /*nb_multiply*/
728 (binaryfunc)0, /*nb_divide*/
729 (binaryfunc)0, /*nb_remainder*/
730 (binaryfunc)0, /*nb_divmod*/
731 (ternaryfunc)0,/*nb_power*/
732 (unaryfunc)0, /*nb_negative*/
733 (unaryfunc)0, /*nb_positive*/
734 (unaryfunc)0, /*nb_absolute*/
735 (inquiry)0, /*nb_nonzero*/
736 0, /*nb_invert*/
737 0, /*nb_lshift*/
738 0, /*nb_rshift*/
739 0, /*nb_and*/
740 0, /*nb_xor*/
741 0, /*nb_or*/
742 (coercion)0, /*nb_coerce*/
743 (unaryfunc)PySwigObject_long, /*nb_int*/
744 (unaryfunc)PySwigObject_long, /*nb_long*/
745 (unaryfunc)0, /*nb_float*/
746 (unaryfunc)PySwigObject_oct, /*nb_oct*/
747 (unaryfunc)PySwigObject_hex, /*nb_hex*/
748#if PY_VERSION_HEX >= 0x02000000
749 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
750#endif
751 };
752
753 static int type_init = 0;
754 static PyTypeObject PySwigObject_Type;
755
756 if (!type_init) {
757 PyTypeObject tmp = {
758 PyObject_HEAD_INIT(&PyType_Type)
759 0, /*ob_size*/
760 "PySwigObject", /*tp_name*/
761 sizeof(PySwigObject), /*tp_basicsize*/
762 0, /*tp_itemsize*/
763 /* methods */
764 (destructor)PySwigObject_dealloc, /*tp_dealloc*/
765 (printfunc)PySwigObject_print, /*tp_print*/
766 (getattrfunc)0, /*tp_getattr*/
767 (setattrfunc)0, /*tp_setattr*/
768 (cmpfunc)PySwigObject_compare, /*tp_compare*/
769 (reprfunc)PySwigObject_repr, /*tp_repr*/
770 &PySwigObject_as_number, /*tp_as_number*/
771 0, /*tp_as_sequence*/
772 0, /*tp_as_mapping*/
773 (hashfunc)0, /*tp_hash*/
774 (ternaryfunc)0, /*tp_call*/
775 (reprfunc)PySwigObject_str, /*tp_str*/
776 /* Space for future expansion */
777 0L,0L,0L,0L,
778 PySwigObject_Type__doc__, /* Documentation string */
779#if PY_VERSION_HEX >= 0x02000000
780 0, /* tp_traverse */
781 0, /* tp_clear */
782#endif
783#if PY_VERSION_HEX >= 0x02010000
784 0, /* tp_richcompare */
785 0, /* tp_weaklistoffset */
786#endif
787#if PY_VERSION_HEX >= 0x02020000
788 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
789#endif
790#if PY_VERSION_HEX >= 0x02030000
791 0, /* tp_del */
792#endif
793#ifdef COUNT_ALLOCS
794 0,0,0,0 /* tp_alloc -> tp_next */
44127b65 795#endif
36ed4f51 796 };
44127b65 797
36ed4f51
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
44127b65 801
36ed4f51
RD
802 return &PySwigObject_Type;
803}
c370783e 804
36ed4f51
RD
805SWIGRUNTIME PyObject *
806PySwigObject_FromVoidPtrAndDesc(void *ptr, const char *desc)
807{
808 PySwigObject *self = PyObject_NEW(PySwigObject, PySwigObject_GetType());
809 if (self == NULL) return NULL;
810 self->ptr = ptr;
811 self->desc = desc;
812 return (PyObject *)self;
813}
44127b65 814
36ed4f51
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
44127b65 820
36ed4f51
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
44127b65 826
36ed4f51
RD
827SWIGRUNTIMEINLINE int
828PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831}
44127b65 832
36ed4f51
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
44127b65 836
36ed4f51
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
44127b65 843
36ed4f51
RD
844SWIGRUNTIME int
845PySwigPacked_print(PySwigPacked *v, FILE *fp, int flags)
846{
847 char result[SWIG_BUFFER_SIZE];
848 fputs("<Swig Packed ", fp);
849 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
850 fputs("at ", fp);
851 fputs(result, fp);
852 }
853 fputs(v->desc,fp);
854 fputs(">", fp);
855 return 0;
856}
857
858SWIGRUNTIME PyObject *
859PySwigPacked_repr(PySwigPacked *v)
860{
861 char result[SWIG_BUFFER_SIZE];
862 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
863 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->desc);
864 } else {
865 return PyString_FromFormat("<Swig Packed %s>", v->desc);
866 }
867}
c370783e 868
36ed4f51
RD
869SWIGRUNTIME PyObject *
870PySwigPacked_str(PySwigPacked *v)
871{
872 char result[SWIG_BUFFER_SIZE];
873 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
874 return PyString_FromFormat("%s%s", result, v->desc);
875 } else {
876 return PyString_FromFormat("%s", v->desc);
877 }
878}
879
880SWIGRUNTIME int
881PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
882{
883 int c = strcmp(v->desc, w->desc);
884 if (c) {
885 return c;
886 } else {
887 size_t i = v->size;
888 size_t j = w->size;
889 int s = (i < j) ? -1 : (i > j) ? 1 : 0;
890 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
891 }
892}
893
894SWIGRUNTIME void
895PySwigPacked_dealloc(PySwigPacked *self)
896{
897 free(self->pack);
898 PyObject_DEL(self);
899}
900
901SWIGRUNTIME PyTypeObject*
902PySwigPacked_GetType() {
903 static char PySwigPacked_Type__doc__[] =
904 "Swig object carries a C/C++ instance pointer";
905 static int type_init = 0;
906
907 static PyTypeObject PySwigPacked_Type;
908 if (!type_init) {
909 PyTypeObject tmp = {
910 PyObject_HEAD_INIT(&PyType_Type)
911 0, /*ob_size*/
912 "PySwigPacked", /*tp_name*/
913 sizeof(PySwigPacked), /*tp_basicsize*/
914 0, /*tp_itemsize*/
915 /* methods */
916 (destructor)PySwigPacked_dealloc, /*tp_dealloc*/
917 (printfunc)PySwigPacked_print, /*tp_print*/
918 (getattrfunc)0, /*tp_getattr*/
919 (setattrfunc)0, /*tp_setattr*/
920 (cmpfunc)PySwigPacked_compare, /*tp_compare*/
921 (reprfunc)PySwigPacked_repr, /*tp_repr*/
922 0, /*tp_as_number*/
923 0, /*tp_as_sequence*/
924 0, /*tp_as_mapping*/
925 (hashfunc)0, /*tp_hash*/
926 (ternaryfunc)0, /*tp_call*/
927 (reprfunc)PySwigPacked_str, /*tp_str*/
928 /* Space for future expansion */
929 0L,0L,0L,0L,
930 PySwigPacked_Type__doc__, /* Documentation string */
931#if PY_VERSION_HEX >= 0x02000000
932 0, /* tp_traverse */
933 0, /* tp_clear */
934#endif
935#if PY_VERSION_HEX >= 0x02010000
936 0, /* tp_richcompare */
937 0, /* tp_weaklistoffset */
938#endif
939#if PY_VERSION_HEX >= 0x02020000
940 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
941#endif
942#if PY_VERSION_HEX >= 0x02030000
943 0, /* tp_del */
944#endif
945#ifdef COUNT_ALLOCS
946 0,0,0,0 /* tp_alloc -> tp_next */
947#endif
948 };
949
950 PySwigPacked_Type = tmp;
951 type_init = 1;
952 }
953
954
955
956 return &PySwigPacked_Type;
957}
958
959SWIGRUNTIME PyObject *
960PySwigPacked_FromDataAndDesc(void *ptr, size_t size, const char *desc)
961{
962 PySwigPacked *self = PyObject_NEW(PySwigPacked, PySwigPacked_GetType());
963 if (self == NULL) {
964 return NULL;
965 } else {
966 void *pack = malloc(size);
967 memcpy(pack, ptr, size);
968 self->pack = pack;
969 self->desc = desc;
970 self->size = size;
971 return (PyObject *) self;
972 }
973}
974
975SWIGRUNTIMEINLINE const char *
976PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
977{
978 PySwigPacked *self = (PySwigPacked *)obj;
979 if (self->size != size) return 0;
980 memcpy(ptr, self->pack, size);
981 return self->desc;
982}
983
984SWIGRUNTIMEINLINE const char *
985PySwigPacked_GetDesc(PyObject *self)
986{
987 return ((PySwigPacked *)self)->desc;
988}
989
990SWIGRUNTIMEINLINE int
991PySwigPacked_Check(PyObject *op) {
992 return ((op)->ob_type == PySwigPacked_GetType())
993 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
994}
995
996#else
997/* -----------------------------------------------------------------------------
998 * Use the old Python PyCObject instead of PySwigObject
999 * ----------------------------------------------------------------------------- */
1000
1001#define PySwigObject_GetDesc(obj) PyCObject_GetDesc(obj)
1002#define PySwigObject_Check(obj) PyCObject_Check(obj)
1003#define PySwigObject_AsVoidPtr(obj) PyCObject_AsVoidPtr(obj)
1004#define PySwigObject_FromVoidPtrAndDesc(p, d) PyCObject_FromVoidPtrAndDesc(p, d, NULL)
1005
1006#endif
1007
1008#endif
1009
1010/* -----------------------------------------------------------------------------
1011 * errors manipulation
1012 * ----------------------------------------------------------------------------- */
1013
1014SWIGRUNTIME void
1015SWIG_Python_TypeError(const char *type, PyObject *obj)
1016{
1017 if (type) {
1018#if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027#endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 Py_DECREF(str);
1041 return;
1042 }
1043 }
1044 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1045 } else {
1046 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1047 }
1048}
1049
1050SWIGRUNTIMEINLINE void
1051SWIG_Python_NullRef(const char *type)
1052{
1053 if (type) {
1054 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1055 } else {
1056 PyErr_Format(PyExc_TypeError, "null reference was received");
1057 }
1058}
1059
1060SWIGRUNTIME int
1061SWIG_Python_AddErrMesg(const char* mesg, int infront)
1062{
1063 if (PyErr_Occurred()) {
1064 PyObject *type = 0;
1065 PyObject *value = 0;
1066 PyObject *traceback = 0;
1067 PyErr_Fetch(&type, &value, &traceback);
1068 if (value) {
1069 PyObject *old_str = PyObject_Str(value);
1070 Py_XINCREF(type);
1071 PyErr_Clear();
1072 if (infront) {
1073 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1074 } else {
1075 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1076 }
1077 Py_DECREF(old_str);
1078 }
1079 return 1;
1080 } else {
1081 return 0;
1082 }
1083}
1084
1085SWIGRUNTIME int
1086SWIG_Python_ArgFail(int argnum)
1087{
1088 if (PyErr_Occurred()) {
1089 /* add information about failing argument */
1090 char mesg[256];
1091 sprintf(mesg, "argument number %d:", argnum);
1092 return SWIG_Python_AddErrMesg(mesg, 1);
1093 } else {
1094 return 0;
1095 }
1096}
1097
1098
1099/* -----------------------------------------------------------------------------
1100 * pointers/data manipulation
1101 * ----------------------------------------------------------------------------- */
1102
1103/* Convert a pointer value */
1104SWIGRUNTIME int
1105SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1106 swig_type_info *tc;
1107 const char *c = 0;
1108 static PyObject *SWIG_this = 0;
1109 int newref = 0;
1110 PyObject *pyobj = 0;
1111 void *vptr;
1112
1113 if (!obj) return 0;
1114 if (obj == Py_None) {
1115 *ptr = 0;
1116 return 0;
1117 }
1118
1119#ifdef SWIG_COBJECT_TYPES
1120 if (!(PySwigObject_Check(obj))) {
1121 if (!SWIG_this)
1122 SWIG_this = PyString_FromString("this");
1123 pyobj = obj;
1124 obj = PyObject_GetAttr(obj,SWIG_this);
1125 newref = 1;
1126 if (!obj) goto type_error;
1127 if (!PySwigObject_Check(obj)) {
1128 Py_DECREF(obj);
1129 goto type_error;
1130 }
1131 }
1132 vptr = PySwigObject_AsVoidPtr(obj);
1133 c = (const char *) PySwigObject_GetDesc(obj);
1134 if (newref) { Py_DECREF(obj); }
1135 goto type_check;
1136#else
1137 if (!(PyString_Check(obj))) {
1138 if (!SWIG_this)
1139 SWIG_this = PyString_FromString("this");
1140 pyobj = obj;
1141 obj = PyObject_GetAttr(obj,SWIG_this);
1142 newref = 1;
1143 if (!obj) goto type_error;
1144 if (!PyString_Check(obj)) {
1145 Py_DECREF(obj);
1146 goto type_error;
1147 }
1148 }
1149 c = PyString_AS_STRING(obj);
1150 /* Pointer values must start with leading underscore */
1151 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1152 if (newref) { Py_DECREF(obj); }
1153 if (!c) goto type_error;
1154#endif
1155
1156type_check:
1157
1158 if (ty) {
1159 tc = SWIG_TypeCheck(c,ty);
1160 if (!tc) goto type_error;
1161 *ptr = SWIG_TypeCast(tc,vptr);
1162 } else {
1163 *ptr = vptr;
1164 }
1165
1166 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1167 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1168 }
1169 return 0;
1170
1171type_error:
1172 PyErr_Clear();
1173 if (pyobj && !obj) {
1174 obj = pyobj;
1175 if (PyCFunction_Check(obj)) {
1176 /* here we get the method pointer for callbacks */
1177 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1178 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1179 if (c) {
1180 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1181 if (!c) goto type_error;
1182 goto type_check;
1183 }
1184 }
1185 }
1186 if (flags & SWIG_POINTER_EXCEPTION) {
1187 if (ty) {
1188 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1189 } else {
1190 SWIG_Python_TypeError("C/C++ pointer", obj);
1191 }
1192 }
1193 return -1;
1194}
1195
1196/* Convert a pointer value, signal an exception on a type mismatch */
1197SWIGRUNTIME void *
1198SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1199 void *result;
1200 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1201 PyErr_Clear();
1202 if (flags & SWIG_POINTER_EXCEPTION) {
1203 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1204 SWIG_Python_ArgFail(argnum);
1205 }
1206 }
1207 return result;
1208}
1209
1210/* Convert a packed value value */
1211SWIGRUNTIME int
1212SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1213 swig_type_info *tc;
1214 const char *c = 0;
1215
1216#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1217 c = PySwigPacked_UnpackData(obj, ptr, sz);
1218#else
1219 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1220 c = PyString_AS_STRING(obj);
1221 /* Pointer values must start with leading underscore */
1222 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1223#endif
1224 if (!c) goto type_error;
1225 if (ty) {
1226 tc = SWIG_TypeCheck(c,ty);
1227 if (!tc) goto type_error;
1228 }
1229 return 0;
1230
1231type_error:
1232 PyErr_Clear();
1233 if (flags & SWIG_POINTER_EXCEPTION) {
1234 if (ty) {
1235 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1236 } else {
1237 SWIG_Python_TypeError("C/C++ packed data", obj);
1238 }
1239 }
1240 return -1;
1241}
1242
1243/* Create a new array object */
1244SWIGRUNTIME PyObject *
1245SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1246 PyObject *robj = 0;
1247 if (!ptr) {
1248 Py_INCREF(Py_None);
1249 return Py_None;
1250 }
1251#ifdef SWIG_COBJECT_TYPES
1252 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1253#else
1254 {
1255 char result[SWIG_BUFFER_SIZE];
1256 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1257 PyString_FromString(result) : 0;
1258 }
1259#endif
1260 if (!robj || (robj == Py_None)) return robj;
1261 if (type->clientdata) {
1262 PyObject *inst;
1263 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1264 Py_DECREF(robj);
1265 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1266 Py_DECREF(args);
1267 if (inst) {
1268 if (own) {
1269 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1270 }
1271 robj = inst;
1272 }
1273 }
1274 return robj;
1275}
1276
1277SWIGRUNTIME PyObject *
1278SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1279 PyObject *robj = 0;
1280 if (!ptr) {
1281 Py_INCREF(Py_None);
1282 return Py_None;
1283 }
1284#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1285 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1286#else
1287 {
1288 char result[SWIG_BUFFER_SIZE];
1289 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1290 PyString_FromString(result) : 0;
1291 }
1292#endif
1293 return robj;
1294}
1295
1296/* -----------------------------------------------------------------------------*
1297 * Get type list
1298 * -----------------------------------------------------------------------------*/
1299
1300#ifdef SWIG_LINK_RUNTIME
1301void *SWIG_ReturnGlobalTypeList(void *);
1302#endif
1303
1304SWIGRUNTIME swig_type_info **
1305SWIG_Python_GetTypeListHandle() {
1306 static void *type_pointer = (void *)0;
1307 /* first check if module already created */
1308 if (!type_pointer) {
1309#ifdef SWIG_LINK_RUNTIME
1310 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1311#else
1312 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1313 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1314 if (PyErr_Occurred()) {
1315 PyErr_Clear();
1316 type_pointer = (void *)0;
1317 }
1318 }
1319#endif
1320 return (swig_type_info **) type_pointer;
1321}
1322
1323/*
1324 Search for a swig_type_info structure
1325 */
1326SWIGRUNTIMEINLINE swig_type_info *
1327SWIG_Python_GetTypeList() {
1328 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1329 return tlh ? *tlh : (swig_type_info*)0;
1330}
1331
1332#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
8edf1c75 1333
8edf1c75 1334#ifdef __cplusplus
36ed4f51
RD
1335}
1336#endif
8edf1c75 1337
2f4c0a16 1338
36ed4f51 1339/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1340
36ed4f51
RD
1341#define SWIGTYPE_p_wxColour swig_types[0]
1342#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1]
1343#define SWIGTYPE_p_form_ops_t swig_types[2]
1344#define SWIGTYPE_p_wxDuplexMode swig_types[3]
1345#define SWIGTYPE_p_wxValidator swig_types[4]
1346#define SWIGTYPE_p_char swig_types[5]
1347#define SWIGTYPE_p_wxPanel swig_types[6]
1348#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7]
1349#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8]
1350#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9]
1351#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10]
1352#define SWIGTYPE_p_wxThinSplitterWindow swig_types[11]
1353#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12]
1354#define SWIGTYPE_p_wxDynamicSashWindow swig_types[13]
1355#define SWIGTYPE_p_wxWindow swig_types[14]
1356#define SWIGTYPE_p_wxSplitterWindow swig_types[15]
1357#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1358#define SWIGTYPE_p_wxFont swig_types[17]
1359#define SWIGTYPE_p_wxControl swig_types[18]
1360#define SWIGTYPE_p_wxPyListCtrl swig_types[19]
1361#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20]
1362#define SWIGTYPE_p_wxEvent swig_types[21]
1363#define SWIGTYPE_p_wxObject swig_types[22]
6260902d
RD
1364#define SWIGTYPE_p_wxBitmap swig_types[23]
1365#define SWIGTYPE_p_wxScrollBar swig_types[24]
1366#define SWIGTYPE_p_wxPaperSize swig_types[25]
1367#define SWIGTYPE_p_unsigned_int swig_types[26]
1368#define SWIGTYPE_unsigned_int swig_types[27]
1369#define SWIGTYPE_p_wxEvtHandler swig_types[28]
1370#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[29]
1371#define SWIGTYPE_p_wxPyTreeCtrl swig_types[30]
1372#define SWIGTYPE_p_wxImageList swig_types[31]
1373#define SWIGTYPE_p_unsigned_char swig_types[32]
1374#define SWIGTYPE_p_wxEditableListBox swig_types[33]
1375#define SWIGTYPE_p_wxIcon swig_types[34]
1376#define SWIGTYPE_ptrdiff_t swig_types[35]
1377#define SWIGTYPE_std__ptrdiff_t swig_types[36]
1378#define SWIGTYPE_p_wxArrayString swig_types[37]
1379#define SWIGTYPE_p_wxCommandEvent swig_types[38]
1380#define SWIGTYPE_p_wxTreeItemId swig_types[39]
1381#define SWIGTYPE_p_float swig_types[40]
1382#define SWIGTYPE_p_int swig_types[41]
1383#define SWIGTYPE_p_unsigned_long swig_types[42]
1384#define SWIGTYPE_p_wxStaticPicture swig_types[43]
1385#define SWIGTYPE_p_wxPyTreeItemData swig_types[44]
1386static swig_type_info *swig_types[46];
8edf1c75 1387
36ed4f51 1388/* -------- TYPES TABLE (END) -------- */
8edf1c75 1389
8edf1c75 1390
36ed4f51
RD
1391/*-----------------------------------------------
1392 @(target):= _gizmos.so
1393 ------------------------------------------------*/
1394#define SWIG_init init_gizmos
1395
1396#define SWIG_name "_gizmos"
8edf1c75 1397
44127b65
RD
1398#include "wx/wxPython/wxPython.h"
1399#include "wx/wxPython/pyclasses.h"
0439c23b 1400
44127b65
RD
1401#include <wx/gizmos/dynamicsash.h>
1402#include <wx/gizmos/editlbox.h>
1403#include <wx/gizmos/splittree.h>
1404#include <wx/gizmos/ledctrl.h>
6260902d 1405#include <wx/gizmos/statpict.h>
44127b65
RD
1406
1407#include <wx/listctrl.h>
1408#include <wx/treectrl.h>
1409#include <wx/imaglist.h>
0439c23b
RD
1410
1411#include "wx/treelistctrl.h"
44127b65
RD
1412#include "wx/wxPython/pytree.h"
1413
44127b65 1414
cbd72d4f
RD
1415 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1416 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1417 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
6260902d 1418 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
cbd72d4f 1419 static const wxString wxPyEmptyString(wxEmptyString);
8edf1c75 1420
36ed4f51
RD
1421 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1422#define SWIG_From_int PyInt_FromLong
1423/*@@*/
1424
1425
2f4c0a16
RD
1426#include <limits.h>
1427
1428
36ed4f51 1429SWIGINTERN int
c370783e
RD
1430 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1431 const char *errmsg)
2f4c0a16 1432{
c370783e
RD
1433 if (value < min_value) {
1434 if (errmsg) {
1435 PyErr_Format(PyExc_OverflowError,
1436 "value %ld is less than '%s' minimum %ld",
1437 value, errmsg, min_value);
1438 }
1439 return 0;
1440 } else if (value > max_value) {
1441 if (errmsg) {
1442 PyErr_Format(PyExc_OverflowError,
1443 "value %ld is greater than '%s' maximum %ld",
1444 value, errmsg, max_value);
2f4c0a16 1445 }
c370783e 1446 return 0;
2f4c0a16 1447 }
c370783e 1448 return 1;
2f4c0a16
RD
1449}
1450
1451
36ed4f51 1452SWIGINTERN int
c370783e 1453SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1454{
c370783e
RD
1455 if (PyNumber_Check(obj)) {
1456 if (val) *val = PyInt_AsLong(obj);
1457 return 1;
1458 }
69223c70 1459 else {
36ed4f51 1460 SWIG_type_error("number", obj);
69223c70 1461 }
c370783e 1462 return 0;
2f4c0a16
RD
1463}
1464
1465
1466#if INT_MAX != LONG_MAX
36ed4f51 1467SWIGINTERN int
c370783e 1468 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1469{
36ed4f51 1470 const char* errmsg = val ? "int" : (char*)0;
c370783e
RD
1471 long v;
1472 if (SWIG_AsVal_long(obj, &v)) {
1473 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
36ed4f51 1474 if (val) *val = (int)(v);
c370783e
RD
1475 return 1;
1476 } else {
1477 return 0;
1478 }
1479 } else {
1480 PyErr_Clear();
1481 }
1482 if (val) {
36ed4f51 1483 SWIG_type_error(errmsg, obj);
c370783e
RD
1484 }
1485 return 0;
8edf1c75 1486}
2f4c0a16 1487#else
36ed4f51 1488SWIGINTERNSHORT int
c370783e
RD
1489 SWIG_AsVal_int(PyObject *obj, int *val)
1490{
1491 return SWIG_AsVal_long(obj,(long*)val);
1492}
2f4c0a16 1493#endif
8edf1c75
RD
1494
1495
36ed4f51 1496SWIGINTERNSHORT int
c370783e 1497SWIG_As_int(PyObject* obj)
8edf1c75 1498{
c370783e
RD
1499 int v;
1500 if (!SWIG_AsVal_int(obj, &v)) {
1501 /*
36ed4f51 1502 this is needed to make valgrind/purify happier.
c370783e
RD
1503 */
1504 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1505 }
c370783e 1506 return v;
2f4c0a16
RD
1507}
1508
1509
36ed4f51 1510SWIGINTERNSHORT long
c370783e 1511SWIG_As_long(PyObject* obj)
2f4c0a16 1512{
c370783e
RD
1513 long v;
1514 if (!SWIG_AsVal_long(obj, &v)) {
1515 /*
36ed4f51 1516 this is needed to make valgrind/purify happier.
c370783e
RD
1517 */
1518 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1519 }
c370783e
RD
1520 return v;
1521}
1522
1523
36ed4f51 1524SWIGINTERNSHORT int
c370783e
RD
1525SWIG_Check_int(PyObject* obj)
1526{
1527 return SWIG_AsVal_int(obj, (int*)0);
1528}
1529
1530
36ed4f51 1531SWIGINTERNSHORT int
c370783e
RD
1532SWIG_Check_long(PyObject* obj)
1533{
1534 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
1535}
1536
36ed4f51 1537static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
1538 wxArrayString strings;
1539 self->GetStrings(strings);
1540 return wxArrayString2PyList_helper(strings);
1541 }
1542
1543 typedef wxTreeCtrl wxPyTreeCtrl;
1544
1545
1546class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1547{
1548public:
1549 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1550 const wxPoint& pos = wxDefaultPosition,
1551 const wxSize& size = wxDefaultSize,
1552 long style = 0)
1553 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1554
1555
1556 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1557 bool found;
5a446332 1558 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1559 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 1560 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
b411df4a
RD
1561 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1562 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
1563 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1564 Py_DECREF(dcobj);
1565 Py_DECREF(idobj);
1566 Py_DECREF(recobj);
1567 }
fbc46b20 1568 wxPyEndBlockThreads(blocked);
44127b65
RD
1569 if (! found)
1570 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1571 }
1572
1573 PYPRIVATE;
1574};
1575
8edf1c75 1576
36ed4f51 1577SWIGINTERN int
c370783e
RD
1578 SWIG_AsVal_bool(PyObject *obj, bool *val)
1579{
c370783e
RD
1580 if (obj == Py_True) {
1581 if (val) *val = true;
1582 return 1;
1583 }
1584 if (obj == Py_False) {
1585 if (val) *val = false;
1586 return 1;
1587 }
1588 int res = 0;
1589 if (SWIG_AsVal_int(obj, &res)) {
36ed4f51 1590 if (val) *val = res ? true : false;
c370783e 1591 return 1;
36ed4f51
RD
1592 } else {
1593 PyErr_Clear();
1594 }
c370783e 1595 if (val) {
36ed4f51 1596 SWIG_type_error("bool", obj);
c370783e
RD
1597 }
1598 return 0;
1599}
1600
1601
36ed4f51 1602SWIGINTERNSHORT bool
c370783e 1603SWIG_As_bool(PyObject* obj)
8edf1c75 1604{
c370783e
RD
1605 bool v;
1606 if (!SWIG_AsVal_bool(obj, &v)) {
1607 /*
36ed4f51 1608 this is needed to make valgrind/purify happier.
c370783e
RD
1609 */
1610 memset((void*)&v, 0, sizeof(bool));
1611 }
1612 return v;
8edf1c75
RD
1613}
1614
c370783e 1615
36ed4f51 1616SWIGINTERNSHORT int
c370783e
RD
1617SWIG_Check_bool(PyObject* obj)
1618{
1619 return SWIG_AsVal_bool(obj, (bool*)0);
1620}
8edf1c75 1621
c370783e 1622
36ed4f51 1623SWIGINTERN int
c370783e 1624SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2f4c0a16 1625{
c370783e
RD
1626 long v = 0;
1627 if (SWIG_AsVal_long(obj, &v) && v < 0) {
36ed4f51 1628 SWIG_type_error("unsigned number", obj);
c370783e
RD
1629 }
1630 else if (val)
1631 *val = (unsigned long)v;
2f4c0a16 1632 return 1;
2f4c0a16
RD
1633}
1634
1635
36ed4f51 1636SWIGINTERNSHORT unsigned long
c370783e 1637SWIG_As_unsigned_SS_long(PyObject* obj)
8edf1c75 1638{
c370783e
RD
1639 unsigned long v;
1640 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1641 /*
36ed4f51 1642 this is needed to make valgrind/purify happier.
c370783e
RD
1643 */
1644 memset((void*)&v, 0, sizeof(unsigned long));
2f4c0a16 1645 }
c370783e 1646 return v;
2f4c0a16
RD
1647}
1648
c370783e 1649
36ed4f51 1650SWIGINTERNSHORT int
c370783e 1651SWIG_Check_unsigned_SS_long(PyObject* obj)
2f4c0a16 1652{
c370783e 1653 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2f4c0a16
RD
1654}
1655
1656
36ed4f51 1657SWIGINTERNSHORT PyObject*
c370783e 1658 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
1659{
1660 return (value > LONG_MAX) ?
1661 PyLong_FromUnsignedLong(value)
36ed4f51 1662 : PyInt_FromLong((long)(value));
8edf1c75
RD
1663}
1664
44127b65
RD
1665 // C++ version of Python aware control
1666class wxPyTreeListCtrl : public wxTreeListCtrl {
1667 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1668public:
1669 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1670 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1671 const wxPoint& pos,
1672 const wxSize& size,
1673 long style,
1674 const wxValidator &validator,
1675 const wxString& name) :
1676 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1677
1678 int OnCompareItems(const wxTreeItemId& item1,
1679 const wxTreeItemId& item2) {
1680 int rval = 0;
1681 bool found;
5a446332 1682 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1683 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1684 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1685 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1686 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1687 Py_DECREF(o1);
1688 Py_DECREF(o2);
1689 }
fbc46b20 1690 wxPyEndBlockThreads(blocked);
44127b65
RD
1691 if (! found)
1692 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1693 return rval;
1694 }
1695 PYPRIVATE;
1696};
1697
1698IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1699
1700
8edf1c75 1701
36ed4f51
RD
1702 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1703#define SWIG_From_long PyInt_FromLong
1704/*@@*/
1705
1706
2f4c0a16 1707#if UINT_MAX < LONG_MAX
36ed4f51 1708/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1709#define SWIG_From_unsigned_SS_int SWIG_From_long
1710/*@@*/
2f4c0a16 1711#else
36ed4f51 1712/*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
c370783e
RD
1713#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1714/*@@*/
2f4c0a16
RD
1715#endif
1716
1717
36ed4f51 1718SWIGINTERNSHORT int
c370783e
RD
1719 SWIG_CheckUnsignedLongInRange(unsigned long value,
1720 unsigned long max_value,
1721 const char *errmsg)
2f4c0a16 1722{
c370783e
RD
1723 if (value > max_value) {
1724 if (errmsg) {
1725 PyErr_Format(PyExc_OverflowError,
36ed4f51 1726 "value %lu is greater than '%s' minimum %lu",
c370783e 1727 value, errmsg, max_value);
2f4c0a16 1728 }
c370783e 1729 return 0;
2f4c0a16 1730 }
c370783e
RD
1731 return 1;
1732 }
8edf1c75
RD
1733
1734
2f4c0a16 1735#if UINT_MAX != ULONG_MAX
36ed4f51 1736SWIGINTERN int
c370783e 1737 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1738{
36ed4f51 1739 const char* errmsg = val ? "unsigned int" : (char*)0;
c370783e
RD
1740 unsigned long v;
1741 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1742 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
36ed4f51 1743 if (val) *val = (unsigned int)(v);
c370783e
RD
1744 return 1;
1745 }
1746 } else {
1747 PyErr_Clear();
1748 }
1749 if (val) {
36ed4f51 1750 SWIG_type_error(errmsg, obj);
c370783e
RD
1751 }
1752 return 0;
2f4c0a16
RD
1753}
1754#else
36ed4f51 1755SWIGINTERNSHORT unsigned int
c370783e
RD
1756 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1757{
1758 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1759}
2f4c0a16
RD
1760#endif
1761
1762
36ed4f51 1763SWIGINTERNSHORT unsigned int
c370783e 1764SWIG_As_unsigned_SS_int(PyObject* obj)
2f4c0a16 1765{
c370783e
RD
1766 unsigned int v;
1767 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1768 /*
36ed4f51 1769 this is needed to make valgrind/purify happier.
c370783e
RD
1770 */
1771 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 1772 }
c370783e
RD
1773 return v;
1774}
1775
1776
36ed4f51 1777SWIGINTERNSHORT int
c370783e
RD
1778SWIG_Check_unsigned_SS_int(PyObject* obj)
1779{
1780 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
8edf1c75
RD
1781}
1782
36ed4f51 1783static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
1784 if (column < 0) column = self->GetMainColumn();
1785 return self->GetItemText(item, column);
1786 }
36ed4f51 1787static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1788 if (column < 0) column = self->GetMainColumn();
1789 return self->GetItemImage(item, column, which);
1790 }
36ed4f51 1791static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
1792 if (column < 0) column = self->GetMainColumn();
1793 self->SetItemText(item, column, text);
1794 }
36ed4f51 1795static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1796 if (column < 0) column = self->GetMainColumn();
1797 self->SetItemImage(item, column, image, which);
1798 }
36ed4f51 1799static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1800 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1801 if (data == NULL) {
1802 data = new wxPyTreeItemData();
1803 data->SetId(item); // set the id
1804 self->SetItemData(item, data);
1805 }
1806 return data;
1807 }
36ed4f51 1808static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
1809 data->SetId(item); // set the id
1810 self->SetItemData(item, data);
1811 }
36ed4f51 1812static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1813 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1814 if (data == NULL) {
1815 data = new wxPyTreeItemData();
1816 data->SetId(item); // set the id
1817 self->SetItemData(item, data);
1818 }
1819 return data->GetData();
1820 }
36ed4f51 1821static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
1822 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1823 if (data == NULL) {
1824 data = new wxPyTreeItemData(obj);
1825 data->SetId(item); // set the id
1826 self->SetItemData(item, data);
1827 } else
1828 data->SetData(obj);
1829 }
36ed4f51 1830static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
5a446332 1831 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1832 PyObject* rval = PyList_New(0);
1833 wxArrayTreeItemIds array;
1834 size_t num, x;
1835 num = self->GetSelections(array);
1836 for (x=0; x < num; x++) {
1837 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
b411df4a 1838 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65
RD
1839 PyList_Append(rval, item);
1840 }
fbc46b20 1841 wxPyEndBlockThreads(blocked);
44127b65
RD
1842 return rval;
1843 }
36ed4f51 1844static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
0439c23b 1845 void* cookie = 0;
a2482628 1846 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 1847 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1848 PyObject* tup = PyTuple_New(2);
b411df4a 1849 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
0439c23b 1850 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
fbc46b20 1851 wxPyEndBlockThreads(blocked);
44127b65
RD
1852 return tup;
1853 }
36ed4f51 1854static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
a2482628 1855 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 1856 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1857 PyObject* tup = PyTuple_New(2);
b411df4a 1858 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
0439c23b 1859 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
fbc46b20 1860 wxPyEndBlockThreads(blocked);
44127b65
RD
1861 return tup;
1862 }
1863
c370783e 1864 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
44127b65
RD
1865 PyObject* o2;
1866 PyObject* o3;
c370783e 1867
44127b65
RD
1868 if (!target) {
1869 target = o;
1870 } else if (target == Py_None) {
1871 Py_DECREF(Py_None);
1872 target = o;
629e65c2
RD
1873 } else {
1874 if (!PyTuple_Check(target)) {
1875 o2 = target;
1876 target = PyTuple_New(1);
1877 PyTuple_SetItem(target, 0, o2);
1878 }
44127b65
RD
1879 o3 = PyTuple_New(1);
1880 PyTuple_SetItem(o3, 0, o);
1881
1882 o2 = target;
1883 target = PySequence_Concat(o2, o3);
1884 Py_DECREF(o2);
1885 Py_DECREF(o3);
1886 }
1887 return target;
629e65c2 1888 }
44127b65 1889
c370783e 1890
36ed4f51 1891static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
1892 wxRect rect;
1893 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 1894 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1895 wxRect* r = new wxRect(rect);
1896 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
fbc46b20 1897 wxPyEndBlockThreads(blocked);
44127b65
RD
1898 return val;
1899 }
1900 else {
1901 RETURN_NONE();
1902 }
1903 }
6260902d
RD
1904
1905#include <float.h>
1906SWIGINTERN int
1907 SWIG_CheckDoubleInRange(double value, double min_value,
1908 double max_value, const char* errmsg)
1909{
1910 if (value < min_value) {
1911 if (errmsg) {
1912 PyErr_Format(PyExc_OverflowError,
1913 "value %g is less than %s minimum %g",
1914 value, errmsg, min_value);
1915 }
1916 return 0;
1917 } else if (value > max_value) {
1918 if (errmsg) {
1919 PyErr_Format(PyExc_OverflowError,
1920 "value %g is greater than %s maximum %g",
1921 value, errmsg, max_value);
1922 }
1923 return 0;
1924 }
1925 return 1;
1926}
1927
1928
1929SWIGINTERN int
1930SWIG_AsVal_double(PyObject *obj, double* val)
1931{
1932 if (PyNumber_Check(obj)) {
1933 if (val) *val = PyFloat_AsDouble(obj);
1934 return 1;
1935 }
1936 else {
1937 SWIG_type_error("number", obj);
1938 }
1939 return 0;
1940}
1941
1942
1943SWIGINTERN int
1944 SWIG_AsVal_float(PyObject *obj, float *val)
1945{
1946 const char* errmsg = val ? "float" : (char*)0;
1947 double v;
1948 if (SWIG_AsVal_double(obj, &v)) {
1949 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
1950 if (val) *val = (float)(v);
1951 return 1;
1952 } else {
1953 return 0;
1954 }
1955 } else {
1956 PyErr_Clear();
1957 }
1958 if (val) {
1959 SWIG_type_error(errmsg, obj);
1960 }
1961 return 0;
1962}
1963
1964
1965SWIGINTERNSHORT float
1966SWIG_As_float(PyObject* obj)
1967{
1968 float v;
1969 if (!SWIG_AsVal_float(obj, &v)) {
1970 /*
1971 this is needed to make valgrind/purify happier.
1972 */
1973 memset((void*)&v, 0, sizeof(float));
1974 }
1975 return v;
1976}
1977
1978
1979SWIGINTERNSHORT int
1980SWIG_Check_float(PyObject* obj)
1981{
1982 return SWIG_AsVal_float(obj, (float*)0);
1983}
1984
1985
1986 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1987#define SWIG_From_float PyFloat_FromDouble
1988/*@@*/
1989
1990
44127b65
RD
1991#ifdef __cplusplus
1992extern "C" {
1993#endif
c370783e 1994static int _wrap_DynamicSashNameStr_set(PyObject *) {
cbd72d4f
RD
1995 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
1996 return 1;
1997}
1998
1999
36ed4f51 2000static PyObject *_wrap_DynamicSashNameStr_get(void) {
cbd72d4f
RD
2001 PyObject *pyobj;
2002
2003 {
2004#if wxUSE_UNICODE
2005 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2006#else
2007 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2008#endif
2009 }
2010 return pyobj;
2011}
2012
2013
c370783e 2014static int _wrap_EditableListBoxNameStr_set(PyObject *) {
cbd72d4f
RD
2015 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2016 return 1;
2017}
2018
2019
36ed4f51 2020static PyObject *_wrap_EditableListBoxNameStr_get(void) {
cbd72d4f
RD
2021 PyObject *pyobj;
2022
2023 {
2024#if wxUSE_UNICODE
2025 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2026#else
2027 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2028#endif
2029 }
2030 return pyobj;
2031}
2032
2033
c370783e 2034static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
cbd72d4f
RD
2035 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2036 return 1;
2037}
2038
2039
36ed4f51 2040static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
cbd72d4f
RD
2041 PyObject *pyobj;
2042
2043 {
2044#if wxUSE_UNICODE
2045 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2046#else
2047 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2048#endif
2049 }
2050 return pyobj;
2051}
2052
2053
6260902d
RD
2054static int _wrap_StaticPictureNameStr_set(PyObject *) {
2055 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2056 return 1;
2057}
2058
2059
2060static PyObject *_wrap_StaticPictureNameStr_get(void) {
2061 PyObject *pyobj;
2062
2063 {
2064#if wxUSE_UNICODE
2065 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2066#else
2067 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2068#endif
2069 }
2070 return pyobj;
2071}
2072
2073
c370783e 2074static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2075 PyObject *resultobj;
2076 wxObject *arg1 = (wxObject *) 0 ;
2077 wxDynamicSashSplitEvent *result;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "target", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2084 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2085 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2086 {
2087 PyThreadState* __tstate = wxPyBeginAllowThreads();
2088 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2089
2090 wxPyEndAllowThreads(__tstate);
2091 if (PyErr_Occurred()) SWIG_fail;
2092 }
2f4c0a16 2093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
44127b65
RD
2094 return resultobj;
2095 fail:
2096 return NULL;
2097}
2098
2099
c370783e 2100static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2101 PyObject *obj;
2102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2103 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
2104 Py_INCREF(obj);
2105 return Py_BuildValue((char *)"");
2106}
c370783e 2107static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2108 PyObject *resultobj;
2109 wxObject *arg1 = (wxObject *) 0 ;
2110 wxDynamicSashUnifyEvent *result;
2111 PyObject * obj0 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "target", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
36ed4f51
RD
2117 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2118 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2119 {
2120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2121 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2122
2123 wxPyEndAllowThreads(__tstate);
2124 if (PyErr_Occurred()) SWIG_fail;
2125 }
2f4c0a16 2126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
44127b65
RD
2127 return resultobj;
2128 fail:
2129 return NULL;
2130}
2131
2132
c370783e 2133static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2134 PyObject *obj;
2135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2136 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2137 Py_INCREF(obj);
2138 return Py_BuildValue((char *)"");
2139}
c370783e 2140static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2141 PyObject *resultobj;
2142 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17 2143 int arg2 = (int) -1 ;
44127b65
RD
2144 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2145 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2146 wxSize const &arg4_defvalue = wxDefaultSize ;
2147 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2148 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2149 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2150 wxString *arg6 = (wxString *) &arg6_defvalue ;
2151 wxDynamicSashWindow *result;
2152 wxPoint temp3 ;
2153 wxSize temp4 ;
b411df4a 2154 bool temp6 = false ;
44127b65 2155 PyObject * obj0 = 0 ;
8edf1c75 2156 PyObject * obj1 = 0 ;
44127b65
RD
2157 PyObject * obj2 = 0 ;
2158 PyObject * obj3 = 0 ;
8edf1c75 2159 PyObject * obj4 = 0 ;
44127b65
RD
2160 PyObject * obj5 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2163 };
2164
bfddbb17 2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
2166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2167 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2168 if (obj1) {
36ed4f51
RD
2169 {
2170 arg2 = (int)(SWIG_As_int(obj1));
2171 if (SWIG_arg_fail(2)) SWIG_fail;
2172 }
bfddbb17 2173 }
44127b65
RD
2174 if (obj2) {
2175 {
2176 arg3 = &temp3;
2177 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2178 }
2179 }
2180 if (obj3) {
2181 {
2182 arg4 = &temp4;
2183 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2184 }
2185 }
8edf1c75 2186 if (obj4) {
36ed4f51
RD
2187 {
2188 arg5 = (long)(SWIG_As_long(obj4));
2189 if (SWIG_arg_fail(5)) SWIG_fail;
2190 }
8edf1c75 2191 }
44127b65
RD
2192 if (obj5) {
2193 {
2194 arg6 = wxString_in_helper(obj5);
2195 if (arg6 == NULL) SWIG_fail;
b411df4a 2196 temp6 = true;
44127b65
RD
2197 }
2198 }
2199 {
0439c23b 2200 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2203
2204 wxPyEndAllowThreads(__tstate);
110da5b0 2205 if (PyErr_Occurred()) SWIG_fail;
44127b65 2206 }
2f4c0a16 2207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2208 {
2209 if (temp6)
2210 delete arg6;
2211 }
2212 return resultobj;
2213 fail:
2214 {
2215 if (temp6)
2216 delete arg6;
2217 }
2218 return NULL;
2219}
2220
2221
c370783e 2222static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2223 PyObject *resultobj;
2224 wxDynamicSashWindow *result;
2225 char *kwnames[] = {
2226 NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2230 {
0439c23b 2231 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2234
2235 wxPyEndAllowThreads(__tstate);
110da5b0 2236 if (PyErr_Occurred()) SWIG_fail;
44127b65 2237 }
2f4c0a16 2238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2239 return resultobj;
2240 fail:
2241 return NULL;
2242}
2243
2244
c370783e 2245static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2246 PyObject *resultobj;
2247 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2248 wxWindow *arg2 = (wxWindow *) 0 ;
bfddbb17 2249 int arg3 = (int) -1 ;
44127b65
RD
2250 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2251 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2252 wxSize const &arg5_defvalue = wxDefaultSize ;
2253 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2254 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2255 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2256 wxString *arg7 = (wxString *) &arg7_defvalue ;
2257 bool result;
2258 wxPoint temp4 ;
2259 wxSize temp5 ;
b411df4a 2260 bool temp7 = false ;
44127b65
RD
2261 PyObject * obj0 = 0 ;
2262 PyObject * obj1 = 0 ;
8edf1c75 2263 PyObject * obj2 = 0 ;
44127b65
RD
2264 PyObject * obj3 = 0 ;
2265 PyObject * obj4 = 0 ;
8edf1c75 2266 PyObject * obj5 = 0 ;
44127b65
RD
2267 PyObject * obj6 = 0 ;
2268 char *kwnames[] = {
2269 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2270 };
2271
bfddbb17 2272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2273 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2274 if (SWIG_arg_fail(1)) SWIG_fail;
2275 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2276 if (SWIG_arg_fail(2)) SWIG_fail;
bfddbb17 2277 if (obj2) {
36ed4f51
RD
2278 {
2279 arg3 = (int)(SWIG_As_int(obj2));
2280 if (SWIG_arg_fail(3)) SWIG_fail;
2281 }
bfddbb17 2282 }
44127b65
RD
2283 if (obj3) {
2284 {
2285 arg4 = &temp4;
2286 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2287 }
2288 }
2289 if (obj4) {
2290 {
2291 arg5 = &temp5;
2292 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2293 }
2294 }
8edf1c75 2295 if (obj5) {
36ed4f51
RD
2296 {
2297 arg6 = (long)(SWIG_As_long(obj5));
2298 if (SWIG_arg_fail(6)) SWIG_fail;
2299 }
8edf1c75 2300 }
44127b65
RD
2301 if (obj6) {
2302 {
2303 arg7 = wxString_in_helper(obj6);
2304 if (arg7 == NULL) SWIG_fail;
b411df4a 2305 temp7 = true;
44127b65
RD
2306 }
2307 }
2308 {
2309 PyThreadState* __tstate = wxPyBeginAllowThreads();
2310 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2311
2312 wxPyEndAllowThreads(__tstate);
2313 if (PyErr_Occurred()) SWIG_fail;
2314 }
fbc46b20
RD
2315 {
2316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2317 }
44127b65
RD
2318 {
2319 if (temp7)
2320 delete arg7;
2321 }
2322 return resultobj;
2323 fail:
2324 {
2325 if (temp7)
2326 delete arg7;
2327 }
2328 return NULL;
2329}
2330
2331
c370783e 2332static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2333 PyObject *resultobj;
2334 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2335 wxWindow *arg2 = (wxWindow *) 0 ;
2336 wxScrollBar *result;
2337 PyObject * obj0 = 0 ;
2338 PyObject * obj1 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self",(char *) "child", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2345 if (SWIG_arg_fail(1)) SWIG_fail;
2346 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2347 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2f4c0a16 2355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2356 return resultobj;
2357 fail:
2358 return NULL;
2359}
2360
2361
c370783e 2362static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2363 PyObject *resultobj;
2364 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2365 wxWindow *arg2 = (wxWindow *) 0 ;
2366 wxScrollBar *result;
2367 PyObject * obj0 = 0 ;
2368 PyObject * obj1 = 0 ;
2369 char *kwnames[] = {
2370 (char *) "self",(char *) "child", NULL
2371 };
2372
2373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2374 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2375 if (SWIG_arg_fail(1)) SWIG_fail;
2376 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2377 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2f4c0a16 2385 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2386 return resultobj;
2387 fail:
2388 return NULL;
2389}
2390
2391
c370783e 2392static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2393 PyObject *obj;
2394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2395 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2396 Py_INCREF(obj);
2397 return Py_BuildValue((char *)"");
2398}
c370783e 2399static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2400 PyObject *resultobj;
2401 wxWindow *arg1 = (wxWindow *) 0 ;
bfddbb17
RD
2402 int arg2 = (int) -1 ;
2403 wxString const &arg3_defvalue = wxPyEmptyString ;
2404 wxString *arg3 = (wxString *) &arg3_defvalue ;
44127b65
RD
2405 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2406 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2407 wxSize const &arg5_defvalue = wxDefaultSize ;
2408 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2409 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2410 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2411 wxString *arg7 = (wxString *) &arg7_defvalue ;
2412 wxEditableListBox *result;
b411df4a 2413 bool temp3 = false ;
44127b65
RD
2414 wxPoint temp4 ;
2415 wxSize temp5 ;
b411df4a 2416 bool temp7 = false ;
44127b65 2417 PyObject * obj0 = 0 ;
8edf1c75 2418 PyObject * obj1 = 0 ;
44127b65
RD
2419 PyObject * obj2 = 0 ;
2420 PyObject * obj3 = 0 ;
2421 PyObject * obj4 = 0 ;
8edf1c75 2422 PyObject * obj5 = 0 ;
44127b65
RD
2423 PyObject * obj6 = 0 ;
2424 char *kwnames[] = {
2425 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2426 };
2427
bfddbb17 2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
2429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2430 if (SWIG_arg_fail(1)) SWIG_fail;
bfddbb17 2431 if (obj1) {
36ed4f51
RD
2432 {
2433 arg2 = (int)(SWIG_As_int(obj1));
2434 if (SWIG_arg_fail(2)) SWIG_fail;
2435 }
bfddbb17
RD
2436 }
2437 if (obj2) {
2438 {
2439 arg3 = wxString_in_helper(obj2);
2440 if (arg3 == NULL) SWIG_fail;
b411df4a 2441 temp3 = true;
bfddbb17 2442 }
44127b65
RD
2443 }
2444 if (obj3) {
2445 {
2446 arg4 = &temp4;
2447 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2448 }
2449 }
2450 if (obj4) {
2451 {
2452 arg5 = &temp5;
2453 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2454 }
2455 }
8edf1c75 2456 if (obj5) {
36ed4f51
RD
2457 {
2458 arg6 = (long)(SWIG_As_long(obj5));
2459 if (SWIG_arg_fail(6)) SWIG_fail;
2460 }
8edf1c75 2461 }
44127b65
RD
2462 if (obj6) {
2463 {
2464 arg7 = wxString_in_helper(obj6);
2465 if (arg7 == NULL) SWIG_fail;
b411df4a 2466 temp7 = true;
44127b65
RD
2467 }
2468 }
2469 {
0439c23b 2470 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2471 PyThreadState* __tstate = wxPyBeginAllowThreads();
2472 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2473
2474 wxPyEndAllowThreads(__tstate);
110da5b0 2475 if (PyErr_Occurred()) SWIG_fail;
44127b65 2476 }
2f4c0a16 2477 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
44127b65
RD
2478 {
2479 if (temp3)
2480 delete arg3;
2481 }
2482 {
2483 if (temp7)
2484 delete arg7;
2485 }
2486 return resultobj;
2487 fail:
2488 {
2489 if (temp3)
2490 delete arg3;
2491 }
2492 {
2493 if (temp7)
2494 delete arg7;
2495 }
2496 return NULL;
2497}
2498
2499
c370783e 2500static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2501 PyObject *resultobj;
2502 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2503 wxArrayString *arg2 = 0 ;
b411df4a 2504 bool temp2 = false ;
44127b65
RD
2505 PyObject * obj0 = 0 ;
2506 PyObject * obj1 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "self",(char *) "strings", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2512 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2513 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2514 {
2515 if (! PySequence_Check(obj1)) {
2516 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2517 SWIG_fail;
2518 }
2519 arg2 = new wxArrayString;
b411df4a 2520 temp2 = true;
44127b65
RD
2521 int i, len=PySequence_Length(obj1);
2522 for (i=0; i<len; i++) {
2523 PyObject* item = PySequence_GetItem(obj1, i);
2524#if wxUSE_UNICODE
2525 PyObject* str = PyObject_Unicode(item);
2526#else
2527 PyObject* str = PyObject_Str(item);
2528#endif
377d47bd 2529 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2530 arg2->Add(Py2wxString(str));
2531 Py_DECREF(item);
2532 Py_DECREF(str);
2533 }
2534 }
2535 {
2536 PyThreadState* __tstate = wxPyBeginAllowThreads();
2537 (arg1)->SetStrings((wxArrayString const &)*arg2);
2538
2539 wxPyEndAllowThreads(__tstate);
2540 if (PyErr_Occurred()) SWIG_fail;
2541 }
2542 Py_INCREF(Py_None); resultobj = Py_None;
2543 {
0ffb2aa6 2544 if (temp2) delete arg2;
44127b65
RD
2545 }
2546 return resultobj;
2547 fail:
2548 {
0ffb2aa6 2549 if (temp2) delete arg2;
44127b65
RD
2550 }
2551 return NULL;
2552}
2553
2554
c370783e 2555static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2556 PyObject *resultobj;
2557 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2558 PyObject *result;
2559 PyObject * obj0 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
36ed4f51
RD
2565 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2566 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2567 {
2568 PyThreadState* __tstate = wxPyBeginAllowThreads();
2569 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2570
2571 wxPyEndAllowThreads(__tstate);
2572 if (PyErr_Occurred()) SWIG_fail;
2573 }
2574 resultobj = result;
2575 return resultobj;
2576 fail:
2577 return NULL;
2578}
2579
2580
c370783e 2581static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2582 PyObject *resultobj;
2583 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
4cf4100f 2584 wxPyListCtrl *result;
44127b65
RD
2585 PyObject * obj0 = 0 ;
2586 char *kwnames[] = {
2587 (char *) "self", NULL
2588 };
2589
2590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
2591 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2592 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 2595 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
44127b65
RD
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
4cf4100f 2600 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
44127b65
RD
2601 return resultobj;
2602 fail:
2603 return NULL;
2604}
2605
2606
c370783e 2607static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2608 PyObject *resultobj;
2609 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2610 wxBitmapButton *result;
2611 PyObject * obj0 = 0 ;
2612 char *kwnames[] = {
2613 (char *) "self", NULL
2614 };
2615
2616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2617 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2618 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2619 {
2620 PyThreadState* __tstate = wxPyBeginAllowThreads();
2621 result = (wxBitmapButton *)(arg1)->GetDelButton();
2622
2623 wxPyEndAllowThreads(__tstate);
2624 if (PyErr_Occurred()) SWIG_fail;
2625 }
2626 {
412d302d 2627 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2628 }
2629 return resultobj;
2630 fail:
2631 return NULL;
2632}
2633
2634
c370783e 2635static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2636 PyObject *resultobj;
2637 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2638 wxBitmapButton *result;
2639 PyObject * obj0 = 0 ;
2640 char *kwnames[] = {
2641 (char *) "self", NULL
2642 };
2643
2644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2646 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2647 {
2648 PyThreadState* __tstate = wxPyBeginAllowThreads();
2649 result = (wxBitmapButton *)(arg1)->GetNewButton();
2650
2651 wxPyEndAllowThreads(__tstate);
2652 if (PyErr_Occurred()) SWIG_fail;
2653 }
2654 {
412d302d 2655 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2656 }
2657 return resultobj;
2658 fail:
2659 return NULL;
2660}
2661
2662
c370783e 2663static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2664 PyObject *resultobj;
2665 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2666 wxBitmapButton *result;
2667 PyObject * obj0 = 0 ;
2668 char *kwnames[] = {
2669 (char *) "self", NULL
2670 };
2671
2672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2673 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2674 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2675 {
2676 PyThreadState* __tstate = wxPyBeginAllowThreads();
2677 result = (wxBitmapButton *)(arg1)->GetUpButton();
2678
2679 wxPyEndAllowThreads(__tstate);
2680 if (PyErr_Occurred()) SWIG_fail;
2681 }
2682 {
412d302d 2683 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2684 }
2685 return resultobj;
2686 fail:
2687 return NULL;
2688}
2689
2690
c370783e 2691static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2692 PyObject *resultobj;
2693 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2694 wxBitmapButton *result;
2695 PyObject * obj0 = 0 ;
2696 char *kwnames[] = {
2697 (char *) "self", NULL
2698 };
2699
2700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2701 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2702 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2703 {
2704 PyThreadState* __tstate = wxPyBeginAllowThreads();
2705 result = (wxBitmapButton *)(arg1)->GetDownButton();
2706
2707 wxPyEndAllowThreads(__tstate);
2708 if (PyErr_Occurred()) SWIG_fail;
2709 }
2710 {
412d302d 2711 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2712 }
2713 return resultobj;
2714 fail:
2715 return NULL;
2716}
2717
2718
c370783e 2719static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2720 PyObject *resultobj;
2721 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2722 wxBitmapButton *result;
2723 PyObject * obj0 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
36ed4f51
RD
2729 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2730 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2731 {
2732 PyThreadState* __tstate = wxPyBeginAllowThreads();
2733 result = (wxBitmapButton *)(arg1)->GetEditButton();
2734
2735 wxPyEndAllowThreads(__tstate);
2736 if (PyErr_Occurred()) SWIG_fail;
2737 }
2738 {
412d302d 2739 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2740 }
2741 return resultobj;
2742 fail:
2743 return NULL;
2744}
2745
2746
c370783e 2747static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2748 PyObject *obj;
2749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2750 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
2751 Py_INCREF(obj);
2752 return Py_BuildValue((char *)"");
2753}
c370783e 2754static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2755 PyObject *resultobj;
2756 wxWindow *arg1 = (wxWindow *) 0 ;
2757 int arg2 ;
2758 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2759 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2760 wxSize const &arg4_defvalue = wxDefaultSize ;
2761 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2762 long arg5 = (long) wxTR_HAS_BUTTONS ;
2763 wxRemotelyScrolledTreeCtrl *result;
2764 wxPoint temp3 ;
2765 wxSize temp4 ;
2766 PyObject * obj0 = 0 ;
8edf1c75 2767 PyObject * obj1 = 0 ;
44127b65
RD
2768 PyObject * obj2 = 0 ;
2769 PyObject * obj3 = 0 ;
8edf1c75 2770 PyObject * obj4 = 0 ;
44127b65
RD
2771 char *kwnames[] = {
2772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2773 };
2774
8edf1c75 2775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
2776 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2777 if (SWIG_arg_fail(1)) SWIG_fail;
2778 {
2779 arg2 = (int)(SWIG_As_int(obj1));
2780 if (SWIG_arg_fail(2)) SWIG_fail;
2781 }
44127b65
RD
2782 if (obj2) {
2783 {
2784 arg3 = &temp3;
2785 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2786 }
2787 }
2788 if (obj3) {
2789 {
2790 arg4 = &temp4;
2791 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2792 }
2793 }
8edf1c75 2794 if (obj4) {
36ed4f51
RD
2795 {
2796 arg5 = (long)(SWIG_As_long(obj4));
2797 if (SWIG_arg_fail(5)) SWIG_fail;
2798 }
8edf1c75 2799 }
44127b65 2800 {
0439c23b 2801 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
2804
2805 wxPyEndAllowThreads(__tstate);
110da5b0 2806 if (PyErr_Occurred()) SWIG_fail;
44127b65 2807 }
2f4c0a16 2808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
44127b65
RD
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
c370783e 2815static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2816 PyObject *resultobj;
2817 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2818 PyObject * obj0 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
36ed4f51
RD
2824 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2825 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 (arg1)->HideVScrollbar();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 Py_INCREF(Py_None); resultobj = Py_None;
2834 return resultobj;
2835 fail:
2836 return NULL;
2837}
2838
2839
c370783e 2840static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2841 PyObject *resultobj;
2842 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2843 PyObject * obj0 = 0 ;
2844 char *kwnames[] = {
2845 (char *) "self", NULL
2846 };
2847
2848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
36ed4f51
RD
2849 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2850 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2851 {
2852 PyThreadState* __tstate = wxPyBeginAllowThreads();
2853 (arg1)->AdjustRemoteScrollbars();
2854
2855 wxPyEndAllowThreads(__tstate);
2856 if (PyErr_Occurred()) SWIG_fail;
2857 }
2858 Py_INCREF(Py_None); resultobj = Py_None;
2859 return resultobj;
2860 fail:
2861 return NULL;
2862}
2863
2864
c370783e 2865static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2866 PyObject *resultobj;
2867 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2868 wxScrolledWindow *result;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2875 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2876 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2877 {
2878 PyThreadState* __tstate = wxPyBeginAllowThreads();
2879 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
2880
2881 wxPyEndAllowThreads(__tstate);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
412d302d
RD
2884 {
2885 resultobj = wxPyMake_wxObject(result, 0);
2886 }
44127b65
RD
2887 return resultobj;
2888 fail:
2889 return NULL;
2890}
2891
2892
c370783e 2893static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2894 PyObject *resultobj;
2895 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2896 int arg2 ;
2897 int arg3 ;
2898 PyObject * obj0 = 0 ;
8edf1c75
RD
2899 PyObject * obj1 = 0 ;
2900 PyObject * obj2 = 0 ;
44127b65
RD
2901 char *kwnames[] = {
2902 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
2903 };
2904
8edf1c75 2905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
2906 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2907 if (SWIG_arg_fail(1)) SWIG_fail;
2908 {
2909 arg2 = (int)(SWIG_As_int(obj1));
2910 if (SWIG_arg_fail(2)) SWIG_fail;
2911 }
2912 {
2913 arg3 = (int)(SWIG_As_int(obj2));
2914 if (SWIG_arg_fail(3)) SWIG_fail;
2915 }
44127b65
RD
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 (arg1)->ScrollToLine(arg2,arg3);
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 Py_INCREF(Py_None); resultobj = Py_None;
2924 return resultobj;
2925 fail:
2926 return NULL;
2927}
2928
2929
c370783e 2930static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2931 PyObject *resultobj;
2932 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2933 wxWindow *arg2 = (wxWindow *) 0 ;
2934 PyObject * obj0 = 0 ;
2935 PyObject * obj1 = 0 ;
2936 char *kwnames[] = {
2937 (char *) "self",(char *) "companion", NULL
2938 };
2939
2940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
2941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2942 if (SWIG_arg_fail(1)) SWIG_fail;
2943 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2944 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2945 {
2946 PyThreadState* __tstate = wxPyBeginAllowThreads();
2947 (arg1)->SetCompanionWindow(arg2);
2948
2949 wxPyEndAllowThreads(__tstate);
2950 if (PyErr_Occurred()) SWIG_fail;
2951 }
2952 Py_INCREF(Py_None); resultobj = Py_None;
2953 return resultobj;
2954 fail:
2955 return NULL;
2956}
2957
2958
c370783e 2959static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2960 PyObject *resultobj;
2961 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2962 wxWindow *result;
2963 PyObject * obj0 = 0 ;
2964 char *kwnames[] = {
2965 (char *) "self", NULL
2966 };
2967
2968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
2969 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2970 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2971 {
2972 PyThreadState* __tstate = wxPyBeginAllowThreads();
2973 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
2974
2975 wxPyEndAllowThreads(__tstate);
2976 if (PyErr_Occurred()) SWIG_fail;
2977 }
2978 {
412d302d 2979 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2980 }
2981 return resultobj;
2982 fail:
2983 return NULL;
2984}
2985
2986
c370783e 2987static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2988 PyObject *obj;
2989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2990 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
2991 Py_INCREF(obj);
2992 return Py_BuildValue((char *)"");
2993}
c370783e 2994static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2995 PyObject *resultobj;
2996 wxWindow *arg1 = (wxWindow *) 0 ;
2997 int arg2 = (int) -1 ;
2998 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2999 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3000 wxSize const &arg4_defvalue = wxDefaultSize ;
3001 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3002 long arg5 = (long) 0 ;
3003 wxPyTreeCompanionWindow *result;
3004 wxPoint temp3 ;
3005 wxSize temp4 ;
3006 PyObject * obj0 = 0 ;
8edf1c75 3007 PyObject * obj1 = 0 ;
44127b65
RD
3008 PyObject * obj2 = 0 ;
3009 PyObject * obj3 = 0 ;
8edf1c75 3010 PyObject * obj4 = 0 ;
44127b65
RD
3011 char *kwnames[] = {
3012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3013 };
3014
8edf1c75 3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3016 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3017 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3018 if (obj1) {
36ed4f51
RD
3019 {
3020 arg2 = (int)(SWIG_As_int(obj1));
3021 if (SWIG_arg_fail(2)) SWIG_fail;
3022 }
8edf1c75 3023 }
44127b65
RD
3024 if (obj2) {
3025 {
3026 arg3 = &temp3;
3027 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3028 }
3029 }
3030 if (obj3) {
3031 {
3032 arg4 = &temp4;
3033 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3034 }
3035 }
8edf1c75 3036 if (obj4) {
36ed4f51
RD
3037 {
3038 arg5 = (long)(SWIG_As_long(obj4));
3039 if (SWIG_arg_fail(5)) SWIG_fail;
3040 }
8edf1c75 3041 }
44127b65 3042 {
0439c23b 3043 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3044 PyThreadState* __tstate = wxPyBeginAllowThreads();
3045 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3046
3047 wxPyEndAllowThreads(__tstate);
110da5b0 3048 if (PyErr_Occurred()) SWIG_fail;
44127b65 3049 }
2f4c0a16 3050 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
44127b65
RD
3051 return resultobj;
3052 fail:
3053 return NULL;
3054}
3055
3056
c370783e 3057static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3058 PyObject *resultobj;
3059 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3060 PyObject *arg2 = (PyObject *) 0 ;
3061 PyObject *arg3 = (PyObject *) 0 ;
3062 PyObject * obj0 = 0 ;
3063 PyObject * obj1 = 0 ;
3064 PyObject * obj2 = 0 ;
3065 char *kwnames[] = {
3066 (char *) "self",(char *) "self",(char *) "_class", NULL
3067 };
3068
3069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3070 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3071 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3072 arg2 = obj1;
3073 arg3 = obj2;
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->_setCallbackInfo(arg2,arg3);
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
c370783e 3088static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3089 PyObject *resultobj;
3090 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3091 wxRemotelyScrolledTreeCtrl *result;
3092 PyObject * obj0 = 0 ;
3093 char *kwnames[] = {
3094 (char *) "self", NULL
3095 };
3096
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
36ed4f51
RD
3098 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3099 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
2f4c0a16 3107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
44127b65
RD
3108 return resultobj;
3109 fail:
3110 return NULL;
3111}
3112
3113
c370783e 3114static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3115 PyObject *resultobj;
3116 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3117 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "treeCtrl", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3126 if (SWIG_arg_fail(1)) SWIG_fail;
3127 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3128 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 (arg1)->SetTreeCtrl(arg2);
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 Py_INCREF(Py_None); resultobj = Py_None;
3137 return resultobj;
3138 fail:
3139 return NULL;
3140}
3141
3142
c370783e 3143static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3144 PyObject *obj;
3145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3146 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3147 Py_INCREF(obj);
3148 return Py_BuildValue((char *)"");
3149}
c370783e 3150static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3151 PyObject *resultobj;
3152 wxWindow *arg1 = (wxWindow *) 0 ;
3153 int arg2 = (int) -1 ;
3154 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3155 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3156 wxSize const &arg4_defvalue = wxDefaultSize ;
3157 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3158 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3159 wxThinSplitterWindow *result;
3160 wxPoint temp3 ;
3161 wxSize temp4 ;
3162 PyObject * obj0 = 0 ;
8edf1c75 3163 PyObject * obj1 = 0 ;
44127b65
RD
3164 PyObject * obj2 = 0 ;
3165 PyObject * obj3 = 0 ;
8edf1c75 3166 PyObject * obj4 = 0 ;
44127b65
RD
3167 char *kwnames[] = {
3168 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3169 };
3170
8edf1c75 3171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3172 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3173 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3174 if (obj1) {
36ed4f51
RD
3175 {
3176 arg2 = (int)(SWIG_As_int(obj1));
3177 if (SWIG_arg_fail(2)) SWIG_fail;
3178 }
8edf1c75 3179 }
44127b65
RD
3180 if (obj2) {
3181 {
3182 arg3 = &temp3;
3183 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3184 }
3185 }
3186 if (obj3) {
3187 {
3188 arg4 = &temp4;
3189 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3190 }
3191 }
8edf1c75 3192 if (obj4) {
36ed4f51
RD
3193 {
3194 arg5 = (long)(SWIG_As_long(obj4));
3195 if (SWIG_arg_fail(5)) SWIG_fail;
3196 }
8edf1c75 3197 }
44127b65 3198 {
0439c23b 3199 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3200 PyThreadState* __tstate = wxPyBeginAllowThreads();
3201 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3202
3203 wxPyEndAllowThreads(__tstate);
110da5b0 3204 if (PyErr_Occurred()) SWIG_fail;
44127b65 3205 }
2f4c0a16 3206 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
44127b65
RD
3207 return resultobj;
3208 fail:
3209 return NULL;
3210}
3211
3212
c370783e 3213static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3214 PyObject *obj;
3215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3216 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3217 Py_INCREF(obj);
3218 return Py_BuildValue((char *)"");
3219}
c370783e 3220static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3221 PyObject *resultobj;
3222 wxWindow *arg1 = (wxWindow *) 0 ;
3223 int arg2 = (int) -1 ;
3224 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3225 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3226 wxSize const &arg4_defvalue = wxDefaultSize ;
3227 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3228 long arg5 = (long) 0 ;
3229 wxSplitterScrolledWindow *result;
3230 wxPoint temp3 ;
3231 wxSize temp4 ;
3232 PyObject * obj0 = 0 ;
8edf1c75 3233 PyObject * obj1 = 0 ;
44127b65
RD
3234 PyObject * obj2 = 0 ;
3235 PyObject * obj3 = 0 ;
8edf1c75 3236 PyObject * obj4 = 0 ;
44127b65
RD
3237 char *kwnames[] = {
3238 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3239 };
3240
8edf1c75 3241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3242 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3243 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3244 if (obj1) {
36ed4f51
RD
3245 {
3246 arg2 = (int)(SWIG_As_int(obj1));
3247 if (SWIG_arg_fail(2)) SWIG_fail;
3248 }
8edf1c75 3249 }
44127b65
RD
3250 if (obj2) {
3251 {
3252 arg3 = &temp3;
3253 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3254 }
3255 }
3256 if (obj3) {
3257 {
3258 arg4 = &temp4;
3259 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3260 }
3261 }
8edf1c75 3262 if (obj4) {
36ed4f51
RD
3263 {
3264 arg5 = (long)(SWIG_As_long(obj4));
3265 if (SWIG_arg_fail(5)) SWIG_fail;
3266 }
8edf1c75 3267 }
44127b65 3268 {
0439c23b 3269 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3270 PyThreadState* __tstate = wxPyBeginAllowThreads();
3271 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3272
3273 wxPyEndAllowThreads(__tstate);
110da5b0 3274 if (PyErr_Occurred()) SWIG_fail;
44127b65 3275 }
2f4c0a16 3276 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
44127b65
RD
3277 return resultobj;
3278 fail:
3279 return NULL;
3280}
3281
3282
c370783e 3283static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3284 PyObject *obj;
3285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3286 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3287 Py_INCREF(obj);
3288 return Py_BuildValue((char *)"");
3289}
c370783e 3290static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3291 PyObject *resultobj;
3292 wxWindow *arg1 = (wxWindow *) 0 ;
3293 int arg2 = (int) -1 ;
3294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3296 wxSize const &arg4_defvalue = wxDefaultSize ;
3297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3298 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3299 wxLEDNumberCtrl *result;
3300 wxPoint temp3 ;
3301 wxSize temp4 ;
3302 PyObject * obj0 = 0 ;
8edf1c75 3303 PyObject * obj1 = 0 ;
44127b65
RD
3304 PyObject * obj2 = 0 ;
3305 PyObject * obj3 = 0 ;
8edf1c75 3306 PyObject * obj4 = 0 ;
44127b65
RD
3307 char *kwnames[] = {
3308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3309 };
3310
8edf1c75 3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
3312 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3313 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3314 if (obj1) {
36ed4f51
RD
3315 {
3316 arg2 = (int)(SWIG_As_int(obj1));
3317 if (SWIG_arg_fail(2)) SWIG_fail;
3318 }
8edf1c75 3319 }
44127b65
RD
3320 if (obj2) {
3321 {
3322 arg3 = &temp3;
3323 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3324 }
3325 }
3326 if (obj3) {
3327 {
3328 arg4 = &temp4;
3329 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3330 }
3331 }
8edf1c75 3332 if (obj4) {
36ed4f51
RD
3333 {
3334 arg5 = (long)(SWIG_As_long(obj4));
3335 if (SWIG_arg_fail(5)) SWIG_fail;
3336 }
8edf1c75 3337 }
44127b65 3338 {
0439c23b 3339 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3340 PyThreadState* __tstate = wxPyBeginAllowThreads();
3341 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3342
3343 wxPyEndAllowThreads(__tstate);
110da5b0 3344 if (PyErr_Occurred()) SWIG_fail;
44127b65 3345 }
2f4c0a16 3346 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3347 return resultobj;
3348 fail:
3349 return NULL;
3350}
3351
3352
c370783e 3353static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3354 PyObject *resultobj;
3355 wxLEDNumberCtrl *result;
3356 char *kwnames[] = {
3357 NULL
3358 };
3359
3360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3361 {
0439c23b 3362 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
3364 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3365
3366 wxPyEndAllowThreads(__tstate);
110da5b0 3367 if (PyErr_Occurred()) SWIG_fail;
44127b65 3368 }
2f4c0a16 3369 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3370 return resultobj;
3371 fail:
3372 return NULL;
3373}
3374
3375
c370783e 3376static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3377 PyObject *resultobj;
3378 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3379 wxWindow *arg2 = (wxWindow *) 0 ;
3380 int arg3 = (int) -1 ;
3381 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3382 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3383 wxSize const &arg5_defvalue = wxDefaultSize ;
3384 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3385 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3386 bool result;
3387 wxPoint temp4 ;
3388 wxSize temp5 ;
3389 PyObject * obj0 = 0 ;
3390 PyObject * obj1 = 0 ;
8edf1c75 3391 PyObject * obj2 = 0 ;
44127b65
RD
3392 PyObject * obj3 = 0 ;
3393 PyObject * obj4 = 0 ;
8edf1c75 3394 PyObject * obj5 = 0 ;
44127b65
RD
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3397 };
3398
8edf1c75 3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
3400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3401 if (SWIG_arg_fail(1)) SWIG_fail;
3402 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3403 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 3404 if (obj2) {
36ed4f51
RD
3405 {
3406 arg3 = (int)(SWIG_As_int(obj2));
3407 if (SWIG_arg_fail(3)) SWIG_fail;
3408 }
8edf1c75 3409 }
44127b65
RD
3410 if (obj3) {
3411 {
3412 arg4 = &temp4;
3413 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3414 }
3415 }
3416 if (obj4) {
3417 {
3418 arg5 = &temp5;
3419 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3420 }
3421 }
8edf1c75 3422 if (obj5) {
36ed4f51
RD
3423 {
3424 arg6 = (long)(SWIG_As_long(obj5));
3425 if (SWIG_arg_fail(6)) SWIG_fail;
3426 }
8edf1c75 3427 }
44127b65
RD
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
fbc46b20
RD
3435 {
3436 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3437 }
44127b65
RD
3438 return resultobj;
3439 fail:
3440 return NULL;
3441}
3442
3443
c370783e 3444static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3445 PyObject *resultobj;
3446 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
36ed4f51 3447 wxLEDValueAlign result;
44127b65
RD
3448 PyObject * obj0 = 0 ;
3449 char *kwnames[] = {
3450 (char *) "self", NULL
3451 };
3452
3453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
3454 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3455 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3456 {
3457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3458 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
44127b65
RD
3459
3460 wxPyEndAllowThreads(__tstate);
3461 if (PyErr_Occurred()) SWIG_fail;
3462 }
36ed4f51 3463 resultobj = SWIG_From_int((result));
44127b65
RD
3464 return resultobj;
3465 fail:
3466 return NULL;
3467}
3468
3469
c370783e 3470static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3471 PyObject *resultobj;
3472 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3473 bool result;
3474 PyObject * obj0 = 0 ;
3475 char *kwnames[] = {
3476 (char *) "self", NULL
3477 };
3478
3479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
36ed4f51
RD
3480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3481 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3482 {
3483 PyThreadState* __tstate = wxPyBeginAllowThreads();
3484 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3485
3486 wxPyEndAllowThreads(__tstate);
3487 if (PyErr_Occurred()) SWIG_fail;
3488 }
fbc46b20
RD
3489 {
3490 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3491 }
44127b65
RD
3492 return resultobj;
3493 fail:
3494 return NULL;
3495}
3496
3497
c370783e 3498static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3499 PyObject *resultobj;
3500 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3501 wxString *result;
3502 PyObject * obj0 = 0 ;
3503 char *kwnames[] = {
3504 (char *) "self", NULL
3505 };
3506
3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
36ed4f51
RD
3508 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3509 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3510 {
3511 PyThreadState* __tstate = wxPyBeginAllowThreads();
3512 {
3513 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3514 result = (wxString *) &_result_ref;
3515 }
3516
3517 wxPyEndAllowThreads(__tstate);
3518 if (PyErr_Occurred()) SWIG_fail;
3519 }
0f774bef
RD
3520 {
3521#if wxUSE_UNICODE
3522 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3523#else
3524 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3525#endif
3526 }
44127b65
RD
3527 return resultobj;
3528 fail:
3529 return NULL;
3530}
3531
3532
c370783e 3533static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3534 PyObject *resultobj;
3535 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
36ed4f51 3536 wxLEDValueAlign arg2 ;
44127b65
RD
3537 bool arg3 = (bool) true ;
3538 PyObject * obj0 = 0 ;
8edf1c75 3539 PyObject * obj1 = 0 ;
44127b65
RD
3540 PyObject * obj2 = 0 ;
3541 char *kwnames[] = {
3542 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3543 };
3544
8edf1c75 3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3547 if (SWIG_arg_fail(1)) SWIG_fail;
3548 {
3549 arg2 = (wxLEDValueAlign)(SWIG_As_int(obj1));
3550 if (SWIG_arg_fail(2)) SWIG_fail;
3551 }
44127b65 3552 if (obj2) {
36ed4f51
RD
3553 {
3554 arg3 = (bool)(SWIG_As_bool(obj2));
3555 if (SWIG_arg_fail(3)) SWIG_fail;
3556 }
44127b65
RD
3557 }
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3);
3561
3562 wxPyEndAllowThreads(__tstate);
3563 if (PyErr_Occurred()) SWIG_fail;
3564 }
3565 Py_INCREF(Py_None); resultobj = Py_None;
3566 return resultobj;
3567 fail:
3568 return NULL;
3569}
3570
3571
c370783e 3572static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3573 PyObject *resultobj;
3574 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3575 bool arg2 ;
3576 bool arg3 = (bool) true ;
3577 PyObject * obj0 = 0 ;
3578 PyObject * obj1 = 0 ;
3579 PyObject * obj2 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3585 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3586 if (SWIG_arg_fail(1)) SWIG_fail;
3587 {
3588 arg2 = (bool)(SWIG_As_bool(obj1));
3589 if (SWIG_arg_fail(2)) SWIG_fail;
3590 }
2dbef272 3591 if (obj2) {
36ed4f51
RD
3592 {
3593 arg3 = (bool)(SWIG_As_bool(obj2));
3594 if (SWIG_arg_fail(3)) SWIG_fail;
3595 }
2dbef272 3596 }
44127b65
RD
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 (arg1)->SetDrawFaded(arg2,arg3);
3600
3601 wxPyEndAllowThreads(__tstate);
3602 if (PyErr_Occurred()) SWIG_fail;
3603 }
3604 Py_INCREF(Py_None); resultobj = Py_None;
3605 return resultobj;
3606 fail:
3607 return NULL;
3608}
3609
3610
c370783e 3611static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3612 PyObject *resultobj;
3613 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3614 wxString *arg2 = 0 ;
3615 bool arg3 = (bool) true ;
b411df4a 3616 bool temp2 = false ;
44127b65
RD
3617 PyObject * obj0 = 0 ;
3618 PyObject * obj1 = 0 ;
3619 PyObject * obj2 = 0 ;
3620 char *kwnames[] = {
3621 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3622 };
3623
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
3625 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3626 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3627 {
3628 arg2 = wxString_in_helper(obj1);
3629 if (arg2 == NULL) SWIG_fail;
b411df4a 3630 temp2 = true;
44127b65
RD
3631 }
3632 if (obj2) {
36ed4f51
RD
3633 {
3634 arg3 = (bool)(SWIG_As_bool(obj2));
3635 if (SWIG_arg_fail(3)) SWIG_fail;
3636 }
44127b65
RD
3637 }
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 (arg1)->SetValue((wxString const &)*arg2,arg3);
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 Py_INCREF(Py_None); resultobj = Py_None;
3646 {
3647 if (temp2)
3648 delete arg2;
3649 }
3650 return resultobj;
3651 fail:
3652 {
3653 if (temp2)
3654 delete arg2;
3655 }
3656 return NULL;
3657}
3658
3659
c370783e 3660static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3661 PyObject *obj;
3662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3663 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3664 Py_INCREF(obj);
3665 return Py_BuildValue((char *)"");
3666}
c370783e 3667static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3668 PyObject *resultobj;
3669 wxString const &arg1_defvalue = wxPyEmptyString ;
3670 wxString *arg1 = (wxString *) &arg1_defvalue ;
3671 int arg2 = (int) -1 ;
3672 size_t arg3 = (size_t) 100 ;
b411df4a 3673 bool arg4 = (bool) true ;
36ed4f51 3674 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
44127b65 3675 wxTreeListColumnInfo *result;
b411df4a 3676 bool temp1 = false ;
44127b65 3677 PyObject * obj0 = 0 ;
8edf1c75 3678 PyObject * obj1 = 0 ;
44127b65 3679 PyObject * obj2 = 0 ;
8edf1c75 3680 PyObject * obj3 = 0 ;
0439c23b 3681 PyObject * obj4 = 0 ;
44127b65 3682 char *kwnames[] = {
0439c23b 3683 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
44127b65
RD
3684 };
3685
0439c23b 3686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
3687 if (obj0) {
3688 {
3689 arg1 = wxString_in_helper(obj0);
3690 if (arg1 == NULL) SWIG_fail;
b411df4a 3691 temp1 = true;
44127b65
RD
3692 }
3693 }
8edf1c75 3694 if (obj1) {
36ed4f51
RD
3695 {
3696 arg2 = (int)(SWIG_As_int(obj1));
3697 if (SWIG_arg_fail(2)) SWIG_fail;
3698 }
8edf1c75 3699 }
44127b65 3700 if (obj2) {
36ed4f51
RD
3701 {
3702 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
3703 if (SWIG_arg_fail(3)) SWIG_fail;
3704 }
8edf1c75
RD
3705 }
3706 if (obj3) {
36ed4f51
RD
3707 {
3708 arg4 = (bool)(SWIG_As_bool(obj3));
3709 if (SWIG_arg_fail(4)) SWIG_fail;
3710 }
0439c23b
RD
3711 }
3712 if (obj4) {
36ed4f51
RD
3713 {
3714 arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4));
3715 if (SWIG_arg_fail(5)) SWIG_fail;
3716 }
44127b65
RD
3717 }
3718 {
3719 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 3720 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5);
44127b65
RD
3721
3722 wxPyEndAllowThreads(__tstate);
3723 if (PyErr_Occurred()) SWIG_fail;
3724 }
2f4c0a16 3725 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
44127b65
RD
3726 {
3727 if (temp1)
3728 delete arg1;
3729 }
3730 return resultobj;
3731 fail:
3732 {
3733 if (temp1)
3734 delete arg1;
3735 }
3736 return NULL;
3737}
3738
3739
c370783e 3740static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
3741 PyObject *resultobj;
3742 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3743 bool result;
3744 PyObject * obj0 = 0 ;
3745 char *kwnames[] = {
3746 (char *) "self", NULL
3747 };
3748
3749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
36ed4f51
RD
3750 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3751 if (SWIG_arg_fail(1)) SWIG_fail;
0439c23b
RD
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 {
3760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3761 }
3762 return resultobj;
3763 fail:
3764 return NULL;
3765}
3766
3767
c370783e 3768static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3769 PyObject *resultobj;
3770 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
36ed4f51 3771 wxTreeListColumnAlign result;
44127b65
RD
3772 PyObject * obj0 = 0 ;
3773 char *kwnames[] = {
3774 (char *) "self", NULL
3775 };
3776
3777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
36ed4f51
RD
3778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3779 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3780 {
3781 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 3782 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
44127b65
RD
3783
3784 wxPyEndAllowThreads(__tstate);
3785 if (PyErr_Occurred()) SWIG_fail;
3786 }
36ed4f51 3787 resultobj = SWIG_From_int((result));
44127b65
RD
3788 return resultobj;
3789 fail:
3790 return NULL;
3791}
3792
3793
c370783e 3794static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3795 PyObject *resultobj;
3796 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3797 wxString result;
3798 PyObject * obj0 = 0 ;
3799 char *kwnames[] = {
3800 (char *) "self", NULL
3801 };
3802
3803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
36ed4f51
RD
3804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3805 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 {
3814#if wxUSE_UNICODE
3815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3816#else
3817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3818#endif
3819 }
3820 return resultobj;
3821 fail:
3822 return NULL;
3823}
3824
3825
c370783e 3826static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3827 PyObject *resultobj;
3828 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3829 int result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
3836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3837 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
36ed4f51
RD
3845 {
3846 resultobj = SWIG_From_int((int)(result));
3847 }
44127b65
RD
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
c370783e 3854static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3855 PyObject *resultobj;
3856 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3857 int result;
3858 PyObject * obj0 = 0 ;
3859 char *kwnames[] = {
3860 (char *) "self", NULL
3861 };
3862
3863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
36ed4f51
RD
3864 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3865 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3866 {
3867 PyThreadState* __tstate = wxPyBeginAllowThreads();
3868 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
3869
3870 wxPyEndAllowThreads(__tstate);
3871 if (PyErr_Occurred()) SWIG_fail;
3872 }
36ed4f51
RD
3873 {
3874 resultobj = SWIG_From_int((int)(result));
3875 }
44127b65
RD
3876 return resultobj;
3877 fail:
3878 return NULL;
3879}
3880
3881
c370783e 3882static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3883 PyObject *resultobj;
3884 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3885 size_t result;
3886 PyObject * obj0 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "self", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
36ed4f51
RD
3892 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3893 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
36ed4f51
RD
3901 {
3902 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
3903 }
44127b65
RD
3904 return resultobj;
3905 fail:
3906 return NULL;
3907}
3908
3909
c370783e 3910static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
3911 PyObject *resultobj;
3912 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3913 bool arg2 ;
3914 PyObject * obj0 = 0 ;
3915 PyObject * obj1 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self",(char *) "shown", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3921 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3922 if (SWIG_arg_fail(1)) SWIG_fail;
3923 {
3924 arg2 = (bool)(SWIG_As_bool(obj1));
3925 if (SWIG_arg_fail(2)) SWIG_fail;
3926 }
0439c23b
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->SetShown(arg2);
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
c370783e 3941static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3942 PyObject *resultobj;
3943 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
36ed4f51 3944 wxTreeListColumnAlign arg2 ;
44127b65 3945 PyObject * obj0 = 0 ;
8edf1c75 3946 PyObject * obj1 = 0 ;
44127b65
RD
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "alignment", NULL
3949 };
3950
8edf1c75 3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3952 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3953 if (SWIG_arg_fail(1)) SWIG_fail;
3954 {
3955 arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1));
3956 if (SWIG_arg_fail(2)) SWIG_fail;
3957 }
44127b65
RD
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetAlignment((wxTreeListColumnAlign )arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969}
3970
3971
c370783e 3972static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3973 PyObject *resultobj;
3974 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3975 wxString *arg2 = 0 ;
b411df4a 3976 bool temp2 = false ;
44127b65
RD
3977 PyObject * obj0 = 0 ;
3978 PyObject * obj1 = 0 ;
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "text", NULL
3981 };
3982
3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
3984 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3985 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3986 {
3987 arg2 = wxString_in_helper(obj1);
3988 if (arg2 == NULL) SWIG_fail;
b411df4a 3989 temp2 = true;
44127b65
RD
3990 }
3991 {
3992 PyThreadState* __tstate = wxPyBeginAllowThreads();
3993 (arg1)->SetText((wxString const &)*arg2);
3994
3995 wxPyEndAllowThreads(__tstate);
3996 if (PyErr_Occurred()) SWIG_fail;
3997 }
3998 Py_INCREF(Py_None); resultobj = Py_None;
3999 {
4000 if (temp2)
4001 delete arg2;
4002 }
4003 return resultobj;
4004 fail:
4005 {
4006 if (temp2)
4007 delete arg2;
4008 }
4009 return NULL;
4010}
4011
4012
c370783e 4013static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4014 PyObject *resultobj;
4015 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4016 int arg2 ;
4017 PyObject * obj0 = 0 ;
8edf1c75 4018 PyObject * obj1 = 0 ;
44127b65
RD
4019 char *kwnames[] = {
4020 (char *) "self",(char *) "image", NULL
4021 };
4022
8edf1c75 4023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4024 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4025 if (SWIG_arg_fail(1)) SWIG_fail;
4026 {
4027 arg2 = (int)(SWIG_As_int(obj1));
4028 if (SWIG_arg_fail(2)) SWIG_fail;
4029 }
44127b65
RD
4030 {
4031 PyThreadState* __tstate = wxPyBeginAllowThreads();
4032 (arg1)->SetImage(arg2);
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
4037 Py_INCREF(Py_None); resultobj = Py_None;
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
c370783e 4044static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4045 PyObject *resultobj;
4046 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4047 int arg2 ;
4048 PyObject * obj0 = 0 ;
8edf1c75 4049 PyObject * obj1 = 0 ;
44127b65
RD
4050 char *kwnames[] = {
4051 (char *) "self",(char *) "image", NULL
4052 };
4053
8edf1c75 4054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4055 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4056 if (SWIG_arg_fail(1)) SWIG_fail;
4057 {
4058 arg2 = (int)(SWIG_As_int(obj1));
4059 if (SWIG_arg_fail(2)) SWIG_fail;
4060 }
44127b65
RD
4061 {
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 (arg1)->SetSelectedImage(arg2);
4064
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 Py_INCREF(Py_None); resultobj = Py_None;
4069 return resultobj;
4070 fail:
4071 return NULL;
4072}
4073
4074
c370783e 4075static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4076 PyObject *resultobj;
4077 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4078 size_t arg2 ;
4079 PyObject * obj0 = 0 ;
4080 PyObject * obj1 = 0 ;
4081 char *kwnames[] = {
4082 (char *) "self",(char *) "with", NULL
4083 };
4084
4085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4087 if (SWIG_arg_fail(1)) SWIG_fail;
4088 {
4089 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4090 if (SWIG_arg_fail(2)) SWIG_fail;
4091 }
44127b65
RD
4092 {
4093 PyThreadState* __tstate = wxPyBeginAllowThreads();
4094 (arg1)->SetWidth(arg2);
4095
4096 wxPyEndAllowThreads(__tstate);
4097 if (PyErr_Occurred()) SWIG_fail;
4098 }
4099 Py_INCREF(Py_None); resultobj = Py_None;
4100 return resultobj;
4101 fail:
4102 return NULL;
4103}
4104
4105
c370783e 4106static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
44127b65
RD
4107 PyObject *obj;
4108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4109 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
4110 Py_INCREF(obj);
4111 return Py_BuildValue((char *)"");
4112}
c370783e 4113static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4114 PyObject *resultobj;
4115 wxWindow *arg1 = (wxWindow *) 0 ;
4116 int arg2 = (int) -1 ;
4117 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4118 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4119 wxSize const &arg4_defvalue = wxDefaultSize ;
4120 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4121 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4122 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4123 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4124 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4125 wxString *arg7 = (wxString *) &arg7_defvalue ;
4126 wxPyTreeListCtrl *result;
4127 wxPoint temp3 ;
4128 wxSize temp4 ;
b411df4a 4129 bool temp7 = false ;
44127b65 4130 PyObject * obj0 = 0 ;
8edf1c75 4131 PyObject * obj1 = 0 ;
44127b65
RD
4132 PyObject * obj2 = 0 ;
4133 PyObject * obj3 = 0 ;
8edf1c75 4134 PyObject * obj4 = 0 ;
44127b65
RD
4135 PyObject * obj5 = 0 ;
4136 PyObject * obj6 = 0 ;
4137 char *kwnames[] = {
4138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4139 };
4140
8edf1c75 4141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
4142 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4143 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 4144 if (obj1) {
36ed4f51
RD
4145 {
4146 arg2 = (int)(SWIG_As_int(obj1));
4147 if (SWIG_arg_fail(2)) SWIG_fail;
4148 }
8edf1c75 4149 }
44127b65
RD
4150 if (obj2) {
4151 {
4152 arg3 = &temp3;
4153 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4154 }
4155 }
4156 if (obj3) {
4157 {
4158 arg4 = &temp4;
4159 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4160 }
4161 }
8edf1c75 4162 if (obj4) {
36ed4f51
RD
4163 {
4164 arg5 = (long)(SWIG_As_long(obj4));
4165 if (SWIG_arg_fail(5)) SWIG_fail;
4166 }
8edf1c75 4167 }
44127b65 4168 if (obj5) {
36ed4f51
RD
4169 {
4170 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4171 if (SWIG_arg_fail(6)) SWIG_fail;
4172 if (arg6 == NULL) {
4173 SWIG_null_ref("wxValidator");
4174 }
4175 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
4176 }
4177 }
4178 if (obj6) {
4179 {
4180 arg7 = wxString_in_helper(obj6);
4181 if (arg7 == NULL) SWIG_fail;
b411df4a 4182 temp7 = true;
44127b65
RD
4183 }
4184 }
4185 {
0439c23b 4186 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4187 PyThreadState* __tstate = wxPyBeginAllowThreads();
4188 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4189
4190 wxPyEndAllowThreads(__tstate);
110da5b0 4191 if (PyErr_Occurred()) SWIG_fail;
44127b65 4192 }
2f4c0a16 4193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4194 {
4195 if (temp7)
4196 delete arg7;
4197 }
4198 return resultobj;
4199 fail:
4200 {
4201 if (temp7)
4202 delete arg7;
4203 }
4204 return NULL;
4205}
4206
4207
c370783e 4208static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4209 PyObject *resultobj;
4210 wxPyTreeListCtrl *result;
4211 char *kwnames[] = {
4212 NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4216 {
0439c23b 4217 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4220
4221 wxPyEndAllowThreads(__tstate);
110da5b0 4222 if (PyErr_Occurred()) SWIG_fail;
44127b65 4223 }
2f4c0a16 4224 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4225 return resultobj;
4226 fail:
4227 return NULL;
4228}
4229
4230
c370783e 4231static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4232 PyObject *resultobj;
4233 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4234 wxWindow *arg2 = (wxWindow *) 0 ;
4235 int arg3 = (int) -1 ;
4236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4238 wxSize const &arg5_defvalue = wxDefaultSize ;
4239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4240 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4241 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4242 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4243 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4244 wxString *arg8 = (wxString *) &arg8_defvalue ;
4245 bool result;
4246 wxPoint temp4 ;
4247 wxSize temp5 ;
b411df4a 4248 bool temp8 = false ;
44127b65
RD
4249 PyObject * obj0 = 0 ;
4250 PyObject * obj1 = 0 ;
8edf1c75 4251 PyObject * obj2 = 0 ;
44127b65
RD
4252 PyObject * obj3 = 0 ;
4253 PyObject * obj4 = 0 ;
8edf1c75 4254 PyObject * obj5 = 0 ;
44127b65
RD
4255 PyObject * obj6 = 0 ;
4256 PyObject * obj7 = 0 ;
4257 char *kwnames[] = {
4258 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4259 };
4260
8edf1c75 4261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
36ed4f51
RD
4262 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4263 if (SWIG_arg_fail(1)) SWIG_fail;
4264 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4265 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 4266 if (obj2) {
36ed4f51
RD
4267 {
4268 arg3 = (int)(SWIG_As_int(obj2));
4269 if (SWIG_arg_fail(3)) SWIG_fail;
4270 }
8edf1c75 4271 }
44127b65
RD
4272 if (obj3) {
4273 {
4274 arg4 = &temp4;
4275 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4276 }
4277 }
4278 if (obj4) {
4279 {
4280 arg5 = &temp5;
4281 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4282 }
4283 }
8edf1c75 4284 if (obj5) {
36ed4f51
RD
4285 {
4286 arg6 = (long)(SWIG_As_long(obj5));
4287 if (SWIG_arg_fail(6)) SWIG_fail;
4288 }
8edf1c75 4289 }
44127b65 4290 if (obj6) {
36ed4f51
RD
4291 {
4292 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4293 if (SWIG_arg_fail(7)) SWIG_fail;
4294 if (arg7 == NULL) {
4295 SWIG_null_ref("wxValidator");
4296 }
4297 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
4298 }
4299 }
4300 if (obj7) {
4301 {
4302 arg8 = wxString_in_helper(obj7);
4303 if (arg8 == NULL) SWIG_fail;
b411df4a 4304 temp8 = true;
44127b65
RD
4305 }
4306 }
4307 {
4308 PyThreadState* __tstate = wxPyBeginAllowThreads();
4309 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4310
4311 wxPyEndAllowThreads(__tstate);
4312 if (PyErr_Occurred()) SWIG_fail;
4313 }
fbc46b20
RD
4314 {
4315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4316 }
44127b65
RD
4317 {
4318 if (temp8)
4319 delete arg8;
4320 }
4321 return resultobj;
4322 fail:
4323 {
4324 if (temp8)
4325 delete arg8;
4326 }
4327 return NULL;
4328}
4329
4330
c370783e 4331static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4332 PyObject *resultobj;
4333 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4334 PyObject *arg2 = (PyObject *) 0 ;
4335 PyObject *arg3 = (PyObject *) 0 ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 PyObject * obj2 = 0 ;
4339 char *kwnames[] = {
4340 (char *) "self",(char *) "self",(char *) "_class", NULL
4341 };
4342
4343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4344 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4345 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4346 arg2 = obj1;
4347 arg3 = obj2;
4348 {
4349 PyThreadState* __tstate = wxPyBeginAllowThreads();
4350 (arg1)->_setCallbackInfo(arg2,arg3);
4351
4352 wxPyEndAllowThreads(__tstate);
4353 if (PyErr_Occurred()) SWIG_fail;
4354 }
4355 Py_INCREF(Py_None); resultobj = Py_None;
4356 return resultobj;
4357 fail:
4358 return NULL;
4359}
4360
4361
c370783e 4362static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4363 PyObject *resultobj;
4364 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4365 size_t result;
4366 PyObject * obj0 = 0 ;
4367 char *kwnames[] = {
4368 (char *) "self", NULL
4369 };
4370
4371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
4372 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4373 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4377
4378 wxPyEndAllowThreads(__tstate);
4379 if (PyErr_Occurred()) SWIG_fail;
4380 }
36ed4f51
RD
4381 {
4382 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4383 }
44127b65
RD
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
c370783e 4390static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4391 PyObject *resultobj;
4392 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4393 unsigned int result;
4394 PyObject * obj0 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
36ed4f51
RD
4400 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4401 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
36ed4f51
RD
4409 {
4410 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4411 }
44127b65
RD
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
c370783e 4418static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4419 PyObject *resultobj;
4420 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4421 unsigned int arg2 ;
4422 PyObject * obj0 = 0 ;
4423 PyObject * obj1 = 0 ;
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "indent", NULL
4426 };
4427
4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4429 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4430 if (SWIG_arg_fail(1)) SWIG_fail;
4431 {
4432 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4433 if (SWIG_arg_fail(2)) SWIG_fail;
4434 }
44127b65
RD
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 (arg1)->SetIndent(arg2);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 Py_INCREF(Py_None); resultobj = Py_None;
4443 return resultobj;
4444 fail:
4445 return NULL;
4446}
4447
4448
c370783e 4449static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4450 PyObject *resultobj;
4451 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4452 unsigned int result;
4453 PyObject * obj0 = 0 ;
4454 char *kwnames[] = {
4455 (char *) "self", NULL
4456 };
4457
4458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
36ed4f51
RD
4459 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4460 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4461 {
4462 PyThreadState* __tstate = wxPyBeginAllowThreads();
4463 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4464
4465 wxPyEndAllowThreads(__tstate);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
36ed4f51
RD
4468 {
4469 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4470 }
44127b65
RD
4471 return resultobj;
4472 fail:
4473 return NULL;
4474}
4475
4476
c370783e 4477static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4478 PyObject *resultobj;
4479 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4480 unsigned int arg2 ;
4481 PyObject * obj0 = 0 ;
4482 PyObject * obj1 = 0 ;
4483 char *kwnames[] = {
4484 (char *) "self",(char *) "spacing", NULL
4485 };
4486
4487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4489 if (SWIG_arg_fail(1)) SWIG_fail;
4490 {
4491 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4492 if (SWIG_arg_fail(2)) SWIG_fail;
4493 }
44127b65
RD
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 (arg1)->SetLineSpacing(arg2);
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 Py_INCREF(Py_None); resultobj = Py_None;
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
c370783e 4508static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4509 PyObject *resultobj;
4510 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4511 wxImageList *result;
4512 PyObject * obj0 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4519 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4520 {
4521 PyThreadState* __tstate = wxPyBeginAllowThreads();
4522 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4523
4524 wxPyEndAllowThreads(__tstate);
4525 if (PyErr_Occurred()) SWIG_fail;
4526 }
4527 {
412d302d 4528 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4529 }
4530 return resultobj;
4531 fail:
4532 return NULL;
4533}
4534
4535
c370783e 4536static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4537 PyObject *resultobj;
4538 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4539 wxImageList *result;
4540 PyObject * obj0 = 0 ;
4541 char *kwnames[] = {
4542 (char *) "self", NULL
4543 };
4544
4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4546 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4547 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4548 {
4549 PyThreadState* __tstate = wxPyBeginAllowThreads();
4550 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4551
4552 wxPyEndAllowThreads(__tstate);
4553 if (PyErr_Occurred()) SWIG_fail;
4554 }
4555 {
412d302d 4556 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4557 }
4558 return resultobj;
4559 fail:
4560 return NULL;
4561}
4562
4563
c370783e 4564static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4565 PyObject *resultobj;
4566 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4567 wxImageList *result;
4568 PyObject * obj0 = 0 ;
4569 char *kwnames[] = {
4570 (char *) "self", NULL
4571 };
4572
4573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
36ed4f51
RD
4574 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4575 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 {
412d302d 4584 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4585 }
4586 return resultobj;
4587 fail:
4588 return NULL;
4589}
4590
4591
c370783e 4592static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4593 PyObject *resultobj;
4594 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4595 wxImageList *arg2 = (wxImageList *) 0 ;
4596 PyObject * obj0 = 0 ;
4597 PyObject * obj1 = 0 ;
4598 char *kwnames[] = {
4599 (char *) "self",(char *) "imageList", NULL
4600 };
4601
4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4603 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4604 if (SWIG_arg_fail(1)) SWIG_fail;
4605 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4606 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4607 {
4608 PyThreadState* __tstate = wxPyBeginAllowThreads();
4609 (arg1)->SetImageList(arg2);
4610
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 Py_INCREF(Py_None); resultobj = Py_None;
4615 return resultobj;
4616 fail:
4617 return NULL;
4618}
4619
4620
c370783e 4621static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4622 PyObject *resultobj;
4623 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4624 wxImageList *arg2 = (wxImageList *) 0 ;
4625 PyObject * obj0 = 0 ;
4626 PyObject * obj1 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "imageList", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4632 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4633 if (SWIG_arg_fail(1)) SWIG_fail;
4634 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4635 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 (arg1)->SetStateImageList(arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 Py_INCREF(Py_None); resultobj = Py_None;
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
c370783e 4650static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4651 PyObject *resultobj;
4652 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4653 wxImageList *arg2 = (wxImageList *) 0 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 char *kwnames[] = {
4657 (char *) "self",(char *) "imageList", NULL
4658 };
4659
4660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4661 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4662 if (SWIG_arg_fail(1)) SWIG_fail;
4663 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4664 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4665 {
4666 PyThreadState* __tstate = wxPyBeginAllowThreads();
4667 (arg1)->SetButtonsImageList(arg2);
4668
4669 wxPyEndAllowThreads(__tstate);
4670 if (PyErr_Occurred()) SWIG_fail;
4671 }
4672 Py_INCREF(Py_None); resultobj = Py_None;
4673 return resultobj;
4674 fail:
4675 return NULL;
4676}
4677
4678
c370783e 4679static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4680 PyObject *resultobj;
4681 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4682 wxImageList *arg2 = (wxImageList *) 0 ;
4683 PyObject * obj0 = 0 ;
4684 PyObject * obj1 = 0 ;
4685 char *kwnames[] = {
4686 (char *) "self",(char *) "imageList", NULL
4687 };
4688
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4690 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4691 if (SWIG_arg_fail(1)) SWIG_fail;
4692 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4693 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 (arg1)->AssignImageList(arg2);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 Py_INCREF(Py_None); resultobj = Py_None;
4702 return resultobj;
4703 fail:
4704 return NULL;
4705}
4706
4707
c370783e 4708static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4709 PyObject *resultobj;
4710 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4711 wxImageList *arg2 = (wxImageList *) 0 ;
4712 PyObject * obj0 = 0 ;
4713 PyObject * obj1 = 0 ;
4714 char *kwnames[] = {
4715 (char *) "self",(char *) "imageList", NULL
4716 };
4717
4718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4719 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4720 if (SWIG_arg_fail(1)) SWIG_fail;
4721 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4722 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4723 {
4724 PyThreadState* __tstate = wxPyBeginAllowThreads();
4725 (arg1)->AssignStateImageList(arg2);
4726
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 Py_INCREF(Py_None); resultobj = Py_None;
4731 return resultobj;
4732 fail:
4733 return NULL;
4734}
4735
4736
c370783e 4737static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4738 PyObject *resultobj;
4739 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4740 wxImageList *arg2 = (wxImageList *) 0 ;
4741 PyObject * obj0 = 0 ;
4742 PyObject * obj1 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "self",(char *) "imageList", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4748 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4749 if (SWIG_arg_fail(1)) SWIG_fail;
4750 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4751 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4752 {
4753 PyThreadState* __tstate = wxPyBeginAllowThreads();
4754 (arg1)->AssignButtonsImageList(arg2);
4755
4756 wxPyEndAllowThreads(__tstate);
4757 if (PyErr_Occurred()) SWIG_fail;
4758 }
4759 Py_INCREF(Py_None); resultobj = Py_None;
4760 return resultobj;
4761 fail:
4762 return NULL;
4763}
4764
4765
c370783e 4766static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4767 PyObject *resultobj;
4768 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4769 wxString *arg2 = 0 ;
b411df4a 4770 bool temp2 = false ;
44127b65
RD
4771 PyObject * obj0 = 0 ;
4772 PyObject * obj1 = 0 ;
4773 char *kwnames[] = {
4774 (char *) "self",(char *) "text", NULL
4775 };
4776
4777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4778 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4779 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4780 {
4781 arg2 = wxString_in_helper(obj1);
4782 if (arg2 == NULL) SWIG_fail;
b411df4a 4783 temp2 = true;
44127b65
RD
4784 }
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 (arg1)->AddColumn((wxString const &)*arg2);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 Py_INCREF(Py_None); resultobj = Py_None;
4793 {
4794 if (temp2)
4795 delete arg2;
4796 }
4797 return resultobj;
4798 fail:
4799 {
4800 if (temp2)
4801 delete arg2;
4802 }
4803 return NULL;
4804}
4805
4806
c370783e 4807static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4808 PyObject *resultobj;
4809 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4810 wxTreeListColumnInfo *arg2 = 0 ;
4811 PyObject * obj0 = 0 ;
4812 PyObject * obj1 = 0 ;
4813 char *kwnames[] = {
4814 (char *) "self",(char *) "col", NULL
4815 };
4816
4817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4818 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4819 if (SWIG_arg_fail(1)) SWIG_fail;
4820 {
4821 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4822 if (SWIG_arg_fail(2)) SWIG_fail;
4823 if (arg2 == NULL) {
4824 SWIG_null_ref("wxTreeListColumnInfo");
4825 }
4826 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 Py_INCREF(Py_None); resultobj = Py_None;
4836 return resultobj;
4837 fail:
4838 return NULL;
4839}
4840
4841
c370783e 4842static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4843 PyObject *resultobj;
4844 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4845 size_t arg2 ;
4846 wxString *arg3 = 0 ;
b411df4a 4847 bool temp3 = false ;
44127b65
RD
4848 PyObject * obj0 = 0 ;
4849 PyObject * obj1 = 0 ;
4850 PyObject * obj2 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self",(char *) "before",(char *) "text", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4856 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4857 if (SWIG_arg_fail(1)) SWIG_fail;
4858 {
4859 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4860 if (SWIG_arg_fail(2)) SWIG_fail;
4861 }
44127b65
RD
4862 {
4863 arg3 = wxString_in_helper(obj2);
4864 if (arg3 == NULL) SWIG_fail;
b411df4a 4865 temp3 = true;
44127b65
RD
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 Py_INCREF(Py_None); resultobj = Py_None;
4875 {
4876 if (temp3)
4877 delete arg3;
4878 }
4879 return resultobj;
4880 fail:
4881 {
4882 if (temp3)
4883 delete arg3;
4884 }
4885 return NULL;
4886}
4887
4888
c370783e 4889static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4890 PyObject *resultobj;
4891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4892 size_t arg2 ;
4893 wxTreeListColumnInfo *arg3 = 0 ;
4894 PyObject * obj0 = 0 ;
4895 PyObject * obj1 = 0 ;
4896 PyObject * obj2 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self",(char *) "before",(char *) "col", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
4902 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4903 if (SWIG_arg_fail(1)) SWIG_fail;
4904 {
4905 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4906 if (SWIG_arg_fail(2)) SWIG_fail;
4907 }
4908 {
4909 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4910 if (SWIG_arg_fail(3)) SWIG_fail;
4911 if (arg3 == NULL) {
4912 SWIG_null_ref("wxTreeListColumnInfo");
4913 }
4914 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
4915 }
4916 {
4917 PyThreadState* __tstate = wxPyBeginAllowThreads();
4918 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
4919
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 Py_INCREF(Py_None); resultobj = Py_None;
4924 return resultobj;
4925 fail:
4926 return NULL;
4927}
4928
4929
c370783e 4930static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4931 PyObject *resultobj;
4932 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4933 size_t arg2 ;
4934 PyObject * obj0 = 0 ;
4935 PyObject * obj1 = 0 ;
4936 char *kwnames[] = {
4937 (char *) "self",(char *) "column", NULL
4938 };
4939
4940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
4941 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4942 if (SWIG_arg_fail(1)) SWIG_fail;
4943 {
4944 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4945 if (SWIG_arg_fail(2)) SWIG_fail;
4946 }
44127b65
RD
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->RemoveColumn(arg2);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 Py_INCREF(Py_None); resultobj = Py_None;
4955 return resultobj;
4956 fail:
4957 return NULL;
4958}
4959
4960
c370783e 4961static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4962 PyObject *resultobj;
4963 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4964 size_t result;
4965 PyObject * obj0 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
36ed4f51
RD
4971 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4972 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
4976
4977 wxPyEndAllowThreads(__tstate);
4978 if (PyErr_Occurred()) SWIG_fail;
4979 }
36ed4f51
RD
4980 {
4981 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4982 }
44127b65
RD
4983 return resultobj;
4984 fail:
4985 return NULL;
4986}
4987
4988
c370783e 4989static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4990 PyObject *resultobj;
4991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4992 size_t arg2 ;
4993 size_t arg3 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 PyObject * obj2 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "column",(char *) "width", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5003 if (SWIG_arg_fail(1)) SWIG_fail;
5004 {
5005 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5006 if (SWIG_arg_fail(2)) SWIG_fail;
5007 }
5008 {
5009 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
5010 if (SWIG_arg_fail(3)) SWIG_fail;
5011 }
44127b65
RD
5012 {
5013 PyThreadState* __tstate = wxPyBeginAllowThreads();
5014 (arg1)->SetColumnWidth(arg2,arg3);
5015
5016 wxPyEndAllowThreads(__tstate);
5017 if (PyErr_Occurred()) SWIG_fail;
5018 }
5019 Py_INCREF(Py_None); resultobj = Py_None;
5020 return resultobj;
5021 fail:
5022 return NULL;
5023}
5024
5025
c370783e 5026static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5027 PyObject *resultobj;
5028 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5029 size_t arg2 ;
5030 int result;
5031 PyObject * obj0 = 0 ;
5032 PyObject * obj1 = 0 ;
5033 char *kwnames[] = {
5034 (char *) "self",(char *) "column", NULL
5035 };
5036
5037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5038 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5039 if (SWIG_arg_fail(1)) SWIG_fail;
5040 {
5041 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5042 if (SWIG_arg_fail(2)) SWIG_fail;
5043 }
44127b65
RD
5044 {
5045 PyThreadState* __tstate = wxPyBeginAllowThreads();
5046 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5047
5048 wxPyEndAllowThreads(__tstate);
5049 if (PyErr_Occurred()) SWIG_fail;
5050 }
36ed4f51
RD
5051 {
5052 resultobj = SWIG_From_int((int)(result));
5053 }
44127b65
RD
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
c370783e 5060static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5061 PyObject *resultobj;
5062 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5063 size_t arg2 ;
5064 PyObject * obj0 = 0 ;
5065 PyObject * obj1 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "self",(char *) "column", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5072 if (SWIG_arg_fail(1)) SWIG_fail;
5073 {
5074 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5075 if (SWIG_arg_fail(2)) SWIG_fail;
5076 }
44127b65
RD
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 (arg1)->SetMainColumn(arg2);
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 Py_INCREF(Py_None); resultobj = Py_None;
5085 return resultobj;
5086 fail:
5087 return NULL;
5088}
5089
5090
c370783e 5091static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5092 PyObject *resultobj;
5093 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5094 size_t result;
5095 PyObject * obj0 = 0 ;
5096 char *kwnames[] = {
5097 (char *) "self", NULL
5098 };
5099
5100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
36ed4f51
RD
5101 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5102 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
36ed4f51
RD
5110 {
5111 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
5112 }
44127b65
RD
5113 return resultobj;
5114 fail:
5115 return NULL;
5116}
5117
5118
c370783e 5119static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5120 PyObject *resultobj;
5121 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5122 size_t arg2 ;
5123 wxString *arg3 = 0 ;
b411df4a 5124 bool temp3 = false ;
44127b65
RD
5125 PyObject * obj0 = 0 ;
5126 PyObject * obj1 = 0 ;
5127 PyObject * obj2 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "column",(char *) "text", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5133 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5134 if (SWIG_arg_fail(1)) SWIG_fail;
5135 {
5136 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5137 if (SWIG_arg_fail(2)) SWIG_fail;
5138 }
44127b65
RD
5139 {
5140 arg3 = wxString_in_helper(obj2);
5141 if (arg3 == NULL) SWIG_fail;
b411df4a 5142 temp3 = true;
44127b65
RD
5143 }
5144 {
5145 PyThreadState* __tstate = wxPyBeginAllowThreads();
5146 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5147
5148 wxPyEndAllowThreads(__tstate);
5149 if (PyErr_Occurred()) SWIG_fail;
5150 }
5151 Py_INCREF(Py_None); resultobj = Py_None;
5152 {
5153 if (temp3)
5154 delete arg3;
5155 }
5156 return resultobj;
5157 fail:
5158 {
5159 if (temp3)
5160 delete arg3;
5161 }
5162 return NULL;
5163}
5164
5165
c370783e 5166static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5167 PyObject *resultobj;
5168 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5169 size_t arg2 ;
5170 wxString result;
5171 PyObject * obj0 = 0 ;
5172 PyObject * obj1 = 0 ;
5173 char *kwnames[] = {
5174 (char *) "self",(char *) "column", NULL
5175 };
5176
5177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5178 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5179 if (SWIG_arg_fail(1)) SWIG_fail;
5180 {
5181 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5182 if (SWIG_arg_fail(2)) SWIG_fail;
5183 }
44127b65
RD
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5187
5188 wxPyEndAllowThreads(__tstate);
5189 if (PyErr_Occurred()) SWIG_fail;
5190 }
5191 {
5192#if wxUSE_UNICODE
5193 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5194#else
5195 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5196#endif
5197 }
5198 return resultobj;
5199 fail:
5200 return NULL;
5201}
5202
5203
c370783e 5204static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5205 PyObject *resultobj;
5206 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5207 size_t arg2 ;
5208 wxTreeListColumnInfo *arg3 = 0 ;
5209 PyObject * obj0 = 0 ;
5210 PyObject * obj1 = 0 ;
5211 PyObject * obj2 = 0 ;
5212 char *kwnames[] = {
5213 (char *) "self",(char *) "column",(char *) "info", NULL
5214 };
5215
5216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5217 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5218 if (SWIG_arg_fail(1)) SWIG_fail;
5219 {
5220 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5221 if (SWIG_arg_fail(2)) SWIG_fail;
5222 }
5223 {
5224 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5225 if (SWIG_arg_fail(3)) SWIG_fail;
5226 if (arg3 == NULL) {
5227 SWIG_null_ref("wxTreeListColumnInfo");
5228 }
5229 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5230 }
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 Py_INCREF(Py_None); resultobj = Py_None;
5239 return resultobj;
5240 fail:
5241 return NULL;
5242}
5243
5244
c370783e 5245static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5246 PyObject *resultobj;
5247 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5248 size_t arg2 ;
5249 wxTreeListColumnInfo *result;
5250 PyObject * obj0 = 0 ;
5251 PyObject * obj1 = 0 ;
5252 char *kwnames[] = {
5253 (char *) "self",(char *) "column", NULL
5254 };
5255
5256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5257 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5258 if (SWIG_arg_fail(1)) SWIG_fail;
5259 {
5260 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5261 if (SWIG_arg_fail(2)) SWIG_fail;
5262 }
44127b65
RD
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 {
5266 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5267 result = (wxTreeListColumnInfo *) &_result_ref;
5268 }
5269
5270 wxPyEndAllowThreads(__tstate);
5271 if (PyErr_Occurred()) SWIG_fail;
5272 }
2f4c0a16 5273 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
44127b65
RD
5274 return resultobj;
5275 fail:
5276 return NULL;
5277}
5278
5279
c370783e 5280static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5281 PyObject *resultobj;
5282 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5283 size_t arg2 ;
36ed4f51 5284 wxTreeListColumnAlign arg3 ;
44127b65
RD
5285 PyObject * obj0 = 0 ;
5286 PyObject * obj1 = 0 ;
8edf1c75 5287 PyObject * obj2 = 0 ;
44127b65
RD
5288 char *kwnames[] = {
5289 (char *) "self",(char *) "column",(char *) "align", NULL
5290 };
5291
8edf1c75 5292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5293 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5294 if (SWIG_arg_fail(1)) SWIG_fail;
5295 {
5296 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5297 if (SWIG_arg_fail(2)) SWIG_fail;
5298 }
5299 {
5300 arg3 = (wxTreeListColumnAlign)(SWIG_As_int(obj2));
5301 if (SWIG_arg_fail(3)) SWIG_fail;
5302 }
44127b65
RD
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3);
5306
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 Py_INCREF(Py_None); resultobj = Py_None;
5311 return resultobj;
5312 fail:
5313 return NULL;
5314}
5315
5316
c370783e 5317static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5318 PyObject *resultobj;
5319 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5320 size_t arg2 ;
36ed4f51 5321 wxTreeListColumnAlign result;
44127b65
RD
5322 PyObject * obj0 = 0 ;
5323 PyObject * obj1 = 0 ;
5324 char *kwnames[] = {
5325 (char *) "self",(char *) "column", NULL
5326 };
5327
5328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5329 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5330 if (SWIG_arg_fail(1)) SWIG_fail;
5331 {
5332 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5333 if (SWIG_arg_fail(2)) SWIG_fail;
5334 }
44127b65
RD
5335 {
5336 PyThreadState* __tstate = wxPyBeginAllowThreads();
36ed4f51 5337 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
44127b65
RD
5338
5339 wxPyEndAllowThreads(__tstate);
5340 if (PyErr_Occurred()) SWIG_fail;
5341 }
36ed4f51 5342 resultobj = SWIG_From_int((result));
44127b65
RD
5343 return resultobj;
5344 fail:
5345 return NULL;
5346}
5347
5348
c370783e 5349static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5350 PyObject *resultobj;
5351 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5352 size_t arg2 ;
5353 int arg3 ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
8edf1c75 5356 PyObject * obj2 = 0 ;
44127b65
RD
5357 char *kwnames[] = {
5358 (char *) "self",(char *) "column",(char *) "image", NULL
5359 };
5360
8edf1c75 5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5362 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5363 if (SWIG_arg_fail(1)) SWIG_fail;
5364 {
5365 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5366 if (SWIG_arg_fail(2)) SWIG_fail;
5367 }
5368 {
5369 arg3 = (int)(SWIG_As_int(obj2));
5370 if (SWIG_arg_fail(3)) SWIG_fail;
5371 }
44127b65
RD
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 (arg1)->SetColumnImage(arg2,arg3);
5375
5376 wxPyEndAllowThreads(__tstate);
5377 if (PyErr_Occurred()) SWIG_fail;
5378 }
5379 Py_INCREF(Py_None); resultobj = Py_None;
5380 return resultobj;
5381 fail:
5382 return NULL;
5383}
5384
5385
c370783e 5386static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5387 PyObject *resultobj;
5388 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5389 size_t arg2 ;
5390 int result;
5391 PyObject * obj0 = 0 ;
5392 PyObject * obj1 = 0 ;
5393 char *kwnames[] = {
5394 (char *) "self",(char *) "column", NULL
5395 };
5396
5397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5399 if (SWIG_arg_fail(1)) SWIG_fail;
5400 {
5401 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5402 if (SWIG_arg_fail(2)) SWIG_fail;
5403 }
44127b65
RD
5404 {
5405 PyThreadState* __tstate = wxPyBeginAllowThreads();
5406 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5407
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
36ed4f51
RD
5411 {
5412 resultobj = SWIG_From_int((int)(result));
5413 }
44127b65
RD
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
c370783e 5420static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
5421 PyObject *resultobj;
5422 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5423 size_t arg2 ;
5424 bool arg3 ;
5425 PyObject * obj0 = 0 ;
5426 PyObject * obj1 = 0 ;
5427 PyObject * obj2 = 0 ;
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "column",(char *) "shown", NULL
5430 };
5431
5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5433 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5434 if (SWIG_arg_fail(1)) SWIG_fail;
5435 {
5436 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5437 if (SWIG_arg_fail(2)) SWIG_fail;
5438 }
5439 {
5440 arg3 = (bool)(SWIG_As_bool(obj2));
5441 if (SWIG_arg_fail(3)) SWIG_fail;
5442 }
0439c23b
RD
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->ShowColumn(arg2,arg3);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454}
5455
5456
c370783e 5457static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
5458 PyObject *resultobj;
5459 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5460 size_t arg2 ;
5461 bool result;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "column", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5469 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5470 if (SWIG_arg_fail(1)) SWIG_fail;
5471 {
5472 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5473 if (SWIG_arg_fail(2)) SWIG_fail;
5474 }
0439c23b
RD
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5478
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 {
5483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5484 }
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
c370783e 5491static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5492 PyObject *resultobj;
5493 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5494 wxTreeItemId *arg2 = 0 ;
5495 int arg3 = (int) -1 ;
5496 wxString result;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
8edf1c75 5499 PyObject * obj2 = 0 ;
44127b65
RD
5500 char *kwnames[] = {
5501 (char *) "self",(char *) "item",(char *) "column", NULL
5502 };
5503
8edf1c75 5504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5505 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5506 if (SWIG_arg_fail(1)) SWIG_fail;
5507 {
5508 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5509 if (SWIG_arg_fail(2)) SWIG_fail;
5510 if (arg2 == NULL) {
5511 SWIG_null_ref("wxTreeItemId");
5512 }
5513 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5514 }
8edf1c75 5515 if (obj2) {
36ed4f51
RD
5516 {
5517 arg3 = (int)(SWIG_As_int(obj2));
5518 if (SWIG_arg_fail(3)) SWIG_fail;
5519 }
8edf1c75 5520 }
44127b65
RD
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 {
5529#if wxUSE_UNICODE
5530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5531#else
5532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5533#endif
5534 }
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
c370783e 5541static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5542 PyObject *resultobj;
5543 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5544 wxTreeItemId *arg2 = 0 ;
5545 int arg3 = (int) -1 ;
36ed4f51 5546 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5547 int result;
5548 PyObject * obj0 = 0 ;
5549 PyObject * obj1 = 0 ;
8edf1c75
RD
5550 PyObject * obj2 = 0 ;
5551 PyObject * obj3 = 0 ;
44127b65
RD
5552 char *kwnames[] = {
5553 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5554 };
5555
8edf1c75 5556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5557 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5558 if (SWIG_arg_fail(1)) SWIG_fail;
5559 {
5560 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5561 if (SWIG_arg_fail(2)) SWIG_fail;
5562 if (arg2 == NULL) {
5563 SWIG_null_ref("wxTreeItemId");
5564 }
5565 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5566 }
8edf1c75 5567 if (obj2) {
36ed4f51
RD
5568 {
5569 arg3 = (int)(SWIG_As_int(obj2));
5570 if (SWIG_arg_fail(3)) SWIG_fail;
5571 }
8edf1c75
RD
5572 }
5573 if (obj3) {
36ed4f51
RD
5574 {
5575 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
5576 if (SWIG_arg_fail(4)) SWIG_fail;
5577 }
8edf1c75 5578 }
44127b65
RD
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
36ed4f51
RD
5586 {
5587 resultobj = SWIG_From_int((int)(result));
5588 }
44127b65
RD
5589 return resultobj;
5590 fail:
5591 return NULL;
5592}
5593
5594
c370783e 5595static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5596 PyObject *resultobj;
5597 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5598 wxTreeItemId *arg2 = 0 ;
5599 wxString *arg3 = 0 ;
5600 int arg4 = (int) -1 ;
b411df4a 5601 bool temp3 = false ;
44127b65
RD
5602 PyObject * obj0 = 0 ;
5603 PyObject * obj1 = 0 ;
5604 PyObject * obj2 = 0 ;
8edf1c75 5605 PyObject * obj3 = 0 ;
44127b65
RD
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5608 };
5609
8edf1c75 5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
5611 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5612 if (SWIG_arg_fail(1)) SWIG_fail;
5613 {
5614 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5615 if (SWIG_arg_fail(2)) SWIG_fail;
5616 if (arg2 == NULL) {
5617 SWIG_null_ref("wxTreeItemId");
5618 }
5619 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5620 }
5621 {
5622 arg3 = wxString_in_helper(obj2);
5623 if (arg3 == NULL) SWIG_fail;
b411df4a 5624 temp3 = true;
44127b65 5625 }
8edf1c75 5626 if (obj3) {
36ed4f51
RD
5627 {
5628 arg4 = (int)(SWIG_As_int(obj3));
5629 if (SWIG_arg_fail(4)) SWIG_fail;
5630 }
8edf1c75 5631 }
44127b65
RD
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 {
5641 if (temp3)
5642 delete arg3;
5643 }
5644 return resultobj;
5645 fail:
5646 {
5647 if (temp3)
5648 delete arg3;
5649 }
5650 return NULL;
5651}
5652
5653
c370783e 5654static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5655 PyObject *resultobj;
5656 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5657 wxTreeItemId *arg2 = 0 ;
5658 int arg3 ;
5659 int arg4 = (int) -1 ;
36ed4f51 5660 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
8edf1c75
RD
5663 PyObject * obj2 = 0 ;
5664 PyObject * obj3 = 0 ;
5665 PyObject * obj4 = 0 ;
44127b65
RD
5666 char *kwnames[] = {
5667 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5668 };
5669
8edf1c75 5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
5671 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5672 if (SWIG_arg_fail(1)) SWIG_fail;
5673 {
5674 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5675 if (SWIG_arg_fail(2)) SWIG_fail;
5676 if (arg2 == NULL) {
5677 SWIG_null_ref("wxTreeItemId");
5678 }
5679 if (SWIG_arg_fail(2)) SWIG_fail;
5680 }
5681 {
5682 arg3 = (int)(SWIG_As_int(obj2));
5683 if (SWIG_arg_fail(3)) SWIG_fail;
5684 }
8edf1c75 5685 if (obj3) {
36ed4f51
RD
5686 {
5687 arg4 = (int)(SWIG_As_int(obj3));
5688 if (SWIG_arg_fail(4)) SWIG_fail;
5689 }
8edf1c75
RD
5690 }
5691 if (obj4) {
36ed4f51
RD
5692 {
5693 arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4));
5694 if (SWIG_arg_fail(5)) SWIG_fail;
5695 }
8edf1c75 5696 }
44127b65
RD
5697 {
5698 PyThreadState* __tstate = wxPyBeginAllowThreads();
5699 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5);
5700
5701 wxPyEndAllowThreads(__tstate);
5702 if (PyErr_Occurred()) SWIG_fail;
5703 }
5704 Py_INCREF(Py_None); resultobj = Py_None;
5705 return resultobj;
5706 fail:
5707 return NULL;
5708}
5709
5710
c370783e 5711static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5712 PyObject *resultobj;
5713 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5714 wxTreeItemId *arg2 = 0 ;
5715 wxPyTreeItemData *result;
5716 PyObject * obj0 = 0 ;
5717 PyObject * obj1 = 0 ;
5718 char *kwnames[] = {
5719 (char *) "self",(char *) "item", NULL
5720 };
5721
5722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5724 if (SWIG_arg_fail(1)) SWIG_fail;
5725 {
5726 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5727 if (SWIG_arg_fail(2)) SWIG_fail;
5728 if (arg2 == NULL) {
5729 SWIG_null_ref("wxTreeItemId");
5730 }
5731 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5732 }
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
2f4c0a16 5740 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
44127b65
RD
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
c370783e 5747static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5748 PyObject *resultobj;
5749 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5750 wxTreeItemId *arg2 = 0 ;
5751 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
5752 PyObject * obj0 = 0 ;
5753 PyObject * obj1 = 0 ;
5754 PyObject * obj2 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self",(char *) "item",(char *) "data", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5760 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5761 if (SWIG_arg_fail(1)) SWIG_fail;
5762 {
5763 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5764 if (SWIG_arg_fail(2)) SWIG_fail;
5765 if (arg2 == NULL) {
5766 SWIG_null_ref("wxTreeItemId");
5767 }
5768 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5769 }
36ed4f51
RD
5770 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
5771 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5772 {
5773 PyThreadState* __tstate = wxPyBeginAllowThreads();
5774 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
5775
5776 wxPyEndAllowThreads(__tstate);
5777 if (PyErr_Occurred()) SWIG_fail;
5778 }
5779 Py_INCREF(Py_None); resultobj = Py_None;
5780 return resultobj;
5781 fail:
5782 return NULL;
5783}
5784
5785
c370783e 5786static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5787 PyObject *resultobj;
5788 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5789 wxTreeItemId *arg2 = 0 ;
5790 PyObject *result;
5791 PyObject * obj0 = 0 ;
5792 PyObject * obj1 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self",(char *) "item", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
5798 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5799 if (SWIG_arg_fail(1)) SWIG_fail;
5800 {
5801 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5802 if (SWIG_arg_fail(2)) SWIG_fail;
5803 if (arg2 == NULL) {
5804 SWIG_null_ref("wxTreeItemId");
5805 }
5806 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5807 }
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 resultobj = result;
5816 return resultobj;
5817 fail:
5818 return NULL;
5819}
5820
5821
c370783e 5822static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5823 PyObject *resultobj;
5824 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5825 wxTreeItemId *arg2 = 0 ;
5826 PyObject *arg3 = (PyObject *) 0 ;
5827 PyObject * obj0 = 0 ;
5828 PyObject * obj1 = 0 ;
5829 PyObject * obj2 = 0 ;
5830 char *kwnames[] = {
5831 (char *) "self",(char *) "item",(char *) "obj", NULL
5832 };
5833
5834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5836 if (SWIG_arg_fail(1)) SWIG_fail;
5837 {
5838 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5839 if (SWIG_arg_fail(2)) SWIG_fail;
5840 if (arg2 == NULL) {
5841 SWIG_null_ref("wxTreeItemId");
5842 }
5843 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5844 }
5845 arg3 = obj2;
5846 {
5847 PyThreadState* __tstate = wxPyBeginAllowThreads();
5848 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
5849
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 Py_INCREF(Py_None); resultobj = Py_None;
5854 return resultobj;
5855 fail:
5856 return NULL;
5857}
5858
5859
c370783e 5860static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5861 PyObject *resultobj;
5862 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5863 wxTreeItemId *arg2 = 0 ;
b411df4a 5864 bool arg3 = (bool) true ;
44127b65
RD
5865 PyObject * obj0 = 0 ;
5866 PyObject * obj1 = 0 ;
5867 PyObject * obj2 = 0 ;
5868 char *kwnames[] = {
5869 (char *) "self",(char *) "item",(char *) "has", NULL
5870 };
5871
5872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5873 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5874 if (SWIG_arg_fail(1)) SWIG_fail;
5875 {
5876 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5877 if (SWIG_arg_fail(2)) SWIG_fail;
5878 if (arg2 == NULL) {
5879 SWIG_null_ref("wxTreeItemId");
5880 }
5881 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5882 }
5883 if (obj2) {
36ed4f51
RD
5884 {
5885 arg3 = (bool)(SWIG_As_bool(obj2));
5886 if (SWIG_arg_fail(3)) SWIG_fail;
5887 }
44127b65
RD
5888 }
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 Py_INCREF(Py_None); resultobj = Py_None;
5897 return resultobj;
5898 fail:
5899 return NULL;
5900}
5901
5902
c370783e 5903static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5904 PyObject *resultobj;
5905 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5906 wxTreeItemId *arg2 = 0 ;
b411df4a 5907 bool arg3 = (bool) true ;
44127b65
RD
5908 PyObject * obj0 = 0 ;
5909 PyObject * obj1 = 0 ;
5910 PyObject * obj2 = 0 ;
5911 char *kwnames[] = {
5912 (char *) "self",(char *) "item",(char *) "bold", NULL
5913 };
5914
5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5917 if (SWIG_arg_fail(1)) SWIG_fail;
5918 {
5919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5920 if (SWIG_arg_fail(2)) SWIG_fail;
5921 if (arg2 == NULL) {
5922 SWIG_null_ref("wxTreeItemId");
5923 }
5924 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5925 }
5926 if (obj2) {
36ed4f51
RD
5927 {
5928 arg3 = (bool)(SWIG_As_bool(obj2));
5929 if (SWIG_arg_fail(3)) SWIG_fail;
5930 }
44127b65
RD
5931 }
5932 {
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
5935
5936 wxPyEndAllowThreads(__tstate);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
5939 Py_INCREF(Py_None); resultobj = Py_None;
5940 return resultobj;
5941 fail:
5942 return NULL;
5943}
5944
5945
c370783e 5946static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5947 PyObject *resultobj;
5948 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5949 wxTreeItemId *arg2 = 0 ;
5950 wxColour *arg3 = 0 ;
5951 wxColour temp3 ;
5952 PyObject * obj0 = 0 ;
5953 PyObject * obj1 = 0 ;
5954 PyObject * obj2 = 0 ;
5955 char *kwnames[] = {
0439c23b 5956 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
5960 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5961 if (SWIG_arg_fail(1)) SWIG_fail;
5962 {
5963 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5964 if (SWIG_arg_fail(2)) SWIG_fail;
5965 if (arg2 == NULL) {
5966 SWIG_null_ref("wxTreeItemId");
5967 }
5968 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5969 }
5970 {
5971 arg3 = &temp3;
5972 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5973 }
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 Py_INCREF(Py_None); resultobj = Py_None;
5982 return resultobj;
5983 fail:
5984 return NULL;
5985}
5986
5987
c370783e 5988static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5989 PyObject *resultobj;
5990 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5991 wxTreeItemId *arg2 = 0 ;
5992 wxColour *arg3 = 0 ;
5993 wxColour temp3 ;
5994 PyObject * obj0 = 0 ;
5995 PyObject * obj1 = 0 ;
5996 PyObject * obj2 = 0 ;
5997 char *kwnames[] = {
0439c23b 5998 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
5999 };
6000
6001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6002 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6003 if (SWIG_arg_fail(1)) SWIG_fail;
6004 {
6005 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6006 if (SWIG_arg_fail(2)) SWIG_fail;
6007 if (arg2 == NULL) {
6008 SWIG_null_ref("wxTreeItemId");
6009 }
6010 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6011 }
6012 {
6013 arg3 = &temp3;
6014 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6015 }
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6019
6020 wxPyEndAllowThreads(__tstate);
6021 if (PyErr_Occurred()) SWIG_fail;
6022 }
6023 Py_INCREF(Py_None); resultobj = Py_None;
6024 return resultobj;
6025 fail:
6026 return NULL;
6027}
6028
6029
c370783e 6030static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6031 PyObject *resultobj;
6032 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6033 wxTreeItemId *arg2 = 0 ;
6034 wxFont *arg3 = 0 ;
6035 PyObject * obj0 = 0 ;
6036 PyObject * obj1 = 0 ;
6037 PyObject * obj2 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self",(char *) "item",(char *) "font", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6043 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6044 if (SWIG_arg_fail(1)) SWIG_fail;
6045 {
6046 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6047 if (SWIG_arg_fail(2)) SWIG_fail;
6048 if (arg2 == NULL) {
6049 SWIG_null_ref("wxTreeItemId");
6050 }
6051 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 6052 }
36ed4f51
RD
6053 {
6054 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
6055 if (SWIG_arg_fail(3)) SWIG_fail;
6056 if (arg3 == NULL) {
6057 SWIG_null_ref("wxFont");
6058 }
6059 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
6060 }
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 Py_INCREF(Py_None); resultobj = Py_None;
6069 return resultobj;
6070 fail:
6071 return NULL;
6072}
6073
6074
c370783e 6075static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6076 PyObject *resultobj;
6077 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6078 wxTreeItemId *arg2 = 0 ;
6079 bool result;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self",(char *) "item", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6088 if (SWIG_arg_fail(1)) SWIG_fail;
6089 {
6090 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6091 if (SWIG_arg_fail(2)) SWIG_fail;
6092 if (arg2 == NULL) {
6093 SWIG_null_ref("wxTreeItemId");
6094 }
6095 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6096 }
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
6100
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
fbc46b20
RD
6104 {
6105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6106 }
44127b65
RD
6107 return resultobj;
6108 fail:
6109 return NULL;
6110}
6111
6112
c370783e 6113static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6114 PyObject *resultobj;
6115 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6116 wxTreeItemId *arg2 = 0 ;
6117 wxColour result;
6118 PyObject * obj0 = 0 ;
6119 PyObject * obj1 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self",(char *) "item", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6125 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6126 if (SWIG_arg_fail(1)) SWIG_fail;
6127 {
6128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6129 if (SWIG_arg_fail(2)) SWIG_fail;
6130 if (arg2 == NULL) {
6131 SWIG_null_ref("wxTreeItemId");
6132 }
6133 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6134 }
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 {
6143 wxColour * resultptr;
36ed4f51 6144 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6145 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6146 }
6147 return resultobj;
6148 fail:
6149 return NULL;
6150}
6151
6152
c370783e 6153static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6154 PyObject *resultobj;
6155 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6156 wxTreeItemId *arg2 = 0 ;
6157 wxColour result;
6158 PyObject * obj0 = 0 ;
6159 PyObject * obj1 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self",(char *) "item", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6165 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6166 if (SWIG_arg_fail(1)) SWIG_fail;
6167 {
6168 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6169 if (SWIG_arg_fail(2)) SWIG_fail;
6170 if (arg2 == NULL) {
6171 SWIG_null_ref("wxTreeItemId");
6172 }
6173 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6174 }
6175 {
6176 PyThreadState* __tstate = wxPyBeginAllowThreads();
6177 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6178
6179 wxPyEndAllowThreads(__tstate);
6180 if (PyErr_Occurred()) SWIG_fail;
6181 }
6182 {
6183 wxColour * resultptr;
36ed4f51 6184 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6185 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6186 }
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
c370783e 6193static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6194 PyObject *resultobj;
6195 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6196 wxTreeItemId *arg2 = 0 ;
6197 wxFont result;
6198 PyObject * obj0 = 0 ;
6199 PyObject * obj1 = 0 ;
6200 char *kwnames[] = {
6201 (char *) "self",(char *) "item", NULL
6202 };
6203
6204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6205 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6206 if (SWIG_arg_fail(1)) SWIG_fail;
6207 {
6208 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6209 if (SWIG_arg_fail(2)) SWIG_fail;
6210 if (arg2 == NULL) {
6211 SWIG_null_ref("wxTreeItemId");
6212 }
6213 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6214 }
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
6222 {
6223 wxFont * resultptr;
36ed4f51 6224 resultptr = new wxFont((wxFont &)(result));
2f4c0a16 6225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
44127b65
RD
6226 }
6227 return resultobj;
6228 fail:
6229 return NULL;
6230}
6231
6232
c370783e 6233static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6234 PyObject *resultobj;
6235 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6236 wxTreeItemId *arg2 = 0 ;
6237 bool result;
6238 PyObject * obj0 = 0 ;
6239 PyObject * obj1 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self",(char *) "item", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6245 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6246 if (SWIG_arg_fail(1)) SWIG_fail;
6247 {
6248 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6249 if (SWIG_arg_fail(2)) SWIG_fail;
6250 if (arg2 == NULL) {
6251 SWIG_null_ref("wxTreeItemId");
6252 }
6253 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6254 }
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
fbc46b20
RD
6262 {
6263 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6264 }
44127b65
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
c370783e 6271static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6272 PyObject *resultobj;
6273 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6274 wxTreeItemId *arg2 = 0 ;
6275 bool result;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self",(char *) "item", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6284 if (SWIG_arg_fail(1)) SWIG_fail;
6285 {
6286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6287 if (SWIG_arg_fail(2)) SWIG_fail;
6288 if (arg2 == NULL) {
6289 SWIG_null_ref("wxTreeItemId");
6290 }
6291 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6292 }
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6296
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
fbc46b20
RD
6300 {
6301 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6302 }
44127b65
RD
6303 return resultobj;
6304 fail:
6305 return NULL;
6306}
6307
6308
c370783e 6309static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6310 PyObject *resultobj;
6311 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6312 wxTreeItemId *arg2 = 0 ;
6313 bool result;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 char *kwnames[] = {
6317 (char *) "self",(char *) "item", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6321 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6322 if (SWIG_arg_fail(1)) SWIG_fail;
6323 {
6324 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6325 if (SWIG_arg_fail(2)) SWIG_fail;
6326 if (arg2 == NULL) {
6327 SWIG_null_ref("wxTreeItemId");
6328 }
6329 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6330 }
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
fbc46b20
RD
6338 {
6339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6340 }
44127b65
RD
6341 return resultobj;
6342 fail:
6343 return NULL;
6344}
6345
6346
c370783e 6347static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6348 PyObject *resultobj;
6349 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6350 wxTreeItemId *arg2 = 0 ;
6351 bool result;
6352 PyObject * obj0 = 0 ;
6353 PyObject * obj1 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self",(char *) "item", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6359 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6360 if (SWIG_arg_fail(1)) SWIG_fail;
6361 {
6362 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6363 if (SWIG_arg_fail(2)) SWIG_fail;
6364 if (arg2 == NULL) {
6365 SWIG_null_ref("wxTreeItemId");
6366 }
6367 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6368 }
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
fbc46b20
RD
6376 {
6377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6378 }
44127b65
RD
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
c370783e 6385static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6386 PyObject *resultobj;
6387 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6388 wxTreeItemId *arg2 = 0 ;
6389 bool result;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6392 char *kwnames[] = {
6393 (char *) "self",(char *) "item", NULL
6394 };
6395
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6397 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6398 if (SWIG_arg_fail(1)) SWIG_fail;
6399 {
6400 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6401 if (SWIG_arg_fail(2)) SWIG_fail;
6402 if (arg2 == NULL) {
6403 SWIG_null_ref("wxTreeItemId");
6404 }
6405 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6406 }
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
fbc46b20
RD
6414 {
6415 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6416 }
44127b65
RD
6417 return resultobj;
6418 fail:
6419 return NULL;
6420}
6421
6422
c370783e 6423static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6424 PyObject *resultobj;
6425 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6426 wxTreeItemId *arg2 = 0 ;
b411df4a 6427 bool arg3 = (bool) true ;
44127b65
RD
6428 size_t result;
6429 PyObject * obj0 = 0 ;
6430 PyObject * obj1 = 0 ;
6431 PyObject * obj2 = 0 ;
6432 char *kwnames[] = {
6433 (char *) "self",(char *) "item",(char *) "recursively", NULL
6434 };
6435
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6437 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6438 if (SWIG_arg_fail(1)) SWIG_fail;
6439 {
6440 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6441 if (SWIG_arg_fail(2)) SWIG_fail;
6442 if (arg2 == NULL) {
6443 SWIG_null_ref("wxTreeItemId");
6444 }
6445 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6446 }
6447 if (obj2) {
36ed4f51
RD
6448 {
6449 arg3 = (bool)(SWIG_As_bool(obj2));
6450 if (SWIG_arg_fail(3)) SWIG_fail;
6451 }
44127b65
RD
6452 }
6453 {
6454 PyThreadState* __tstate = wxPyBeginAllowThreads();
6455 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6456
6457 wxPyEndAllowThreads(__tstate);
6458 if (PyErr_Occurred()) SWIG_fail;
6459 }
36ed4f51
RD
6460 {
6461 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
6462 }
44127b65
RD
6463 return resultobj;
6464 fail:
6465 return NULL;
6466}
6467
6468
c370783e 6469static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6470 PyObject *resultobj;
6471 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6472 wxTreeItemId result;
6473 PyObject * obj0 = 0 ;
6474 char *kwnames[] = {
6475 (char *) "self", NULL
6476 };
6477
6478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
6479 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6480 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 wxTreeItemId * resultptr;
36ed4f51 6490 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6492 }
6493 return resultobj;
6494 fail:
6495 return NULL;
6496}
6497
6498
c370783e 6499static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6500 PyObject *resultobj;
6501 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6502 wxTreeItemId result;
6503 PyObject * obj0 = 0 ;
6504 char *kwnames[] = {
6505 (char *) "self", NULL
6506 };
6507
6508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
36ed4f51
RD
6509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6510 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 {
6519 wxTreeItemId * resultptr;
36ed4f51 6520 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6521 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6522 }
6523 return resultobj;
6524 fail:
6525 return NULL;
6526}
6527
6528
c370783e 6529static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6530 PyObject *resultobj;
6531 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6532 PyObject *result;
6533 PyObject * obj0 = 0 ;
6534 char *kwnames[] = {
6535 (char *) "self", NULL
6536 };
6537
6538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
36ed4f51
RD
6539 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6540 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 resultobj = result;
6549 return resultobj;
6550 fail:
6551 return NULL;
6552}
6553
6554
c370783e 6555static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6556 PyObject *resultobj;
6557 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6558 wxTreeItemId *arg2 = 0 ;
6559 wxTreeItemId result;
6560 PyObject * obj0 = 0 ;
6561 PyObject * obj1 = 0 ;
6562 char *kwnames[] = {
6563 (char *) "self",(char *) "item", NULL
6564 };
6565
6566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6567 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6568 if (SWIG_arg_fail(1)) SWIG_fail;
6569 {
6570 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6571 if (SWIG_arg_fail(2)) SWIG_fail;
6572 if (arg2 == NULL) {
6573 SWIG_null_ref("wxTreeItemId");
6574 }
6575 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6576 }
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 6579 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
44127b65
RD
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 {
6585 wxTreeItemId * resultptr;
36ed4f51 6586 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6587 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6588 }
6589 return resultobj;
6590 fail:
6591 return NULL;
6592}
6593
6594
c370783e 6595static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6596 PyObject *resultobj;
6597 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6598 wxTreeItemId *arg2 = 0 ;
6599 PyObject *result;
6600 PyObject * obj0 = 0 ;
6601 PyObject * obj1 = 0 ;
6602 char *kwnames[] = {
6603 (char *) "self",(char *) "item", NULL
6604 };
6605
6606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6607 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6608 if (SWIG_arg_fail(1)) SWIG_fail;
6609 {
6610 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6611 if (SWIG_arg_fail(2)) SWIG_fail;
6612 if (arg2 == NULL) {
6613 SWIG_null_ref("wxTreeItemId");
6614 }
6615 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6616 }
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6620
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 resultobj = result;
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
c370783e 6631static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6632 PyObject *resultobj;
6633 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6634 wxTreeItemId *arg2 = 0 ;
0439c23b 6635 void *arg3 = (void *) 0 ;
44127b65
RD
6636 PyObject *result;
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
8edf1c75 6639 PyObject * obj2 = 0 ;
44127b65
RD
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "item",(char *) "cookie", NULL
6642 };
6643
8edf1c75 6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
6645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6646 if (SWIG_arg_fail(1)) SWIG_fail;
6647 {
6648 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6649 if (SWIG_arg_fail(2)) SWIG_fail;
6650 if (arg2 == NULL) {
6651 SWIG_null_ref("wxTreeItemId");
6652 }
6653 if (SWIG_arg_fail(2)) SWIG_fail;
6654 }
6655 {
6656 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6657 SWIG_arg_fail(3);SWIG_fail;
6658 }
8edf1c75 6659 }
44127b65
RD
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 resultobj = result;
6668 return resultobj;
6669 fail:
6670 return NULL;
6671}
6672
6673
c370783e 6674static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6675 PyObject *resultobj;
6676 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6677 wxTreeItemId *arg2 = 0 ;
6678 wxTreeItemId result;
6679 PyObject * obj0 = 0 ;
6680 PyObject * obj1 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self",(char *) "item", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6686 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6687 if (SWIG_arg_fail(1)) SWIG_fail;
6688 {
6689 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6690 if (SWIG_arg_fail(2)) SWIG_fail;
6691 if (arg2 == NULL) {
6692 SWIG_null_ref("wxTreeItemId");
6693 }
6694 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6695 }
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 {
6704 wxTreeItemId * resultptr;
36ed4f51 6705 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6706 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6707 }
6708 return resultobj;
6709 fail:
6710 return NULL;
6711}
6712
6713
c370783e 6714static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6715 PyObject *resultobj;
6716 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6717 wxTreeItemId *arg2 = 0 ;
6718 wxTreeItemId result;
6719 PyObject * obj0 = 0 ;
6720 PyObject * obj1 = 0 ;
6721 char *kwnames[] = {
6722 (char *) "self",(char *) "item", NULL
6723 };
6724
6725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6726 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6727 if (SWIG_arg_fail(1)) SWIG_fail;
6728 {
6729 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6730 if (SWIG_arg_fail(2)) SWIG_fail;
6731 if (arg2 == NULL) {
6732 SWIG_null_ref("wxTreeItemId");
6733 }
6734 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6735 }
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 {
6744 wxTreeItemId * resultptr;
36ed4f51 6745 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6746 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6747 }
6748 return resultobj;
6749 fail:
6750 return NULL;
6751}
6752
6753
c370783e 6754static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6755 PyObject *resultobj;
6756 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6757 wxTreeItemId *arg2 = 0 ;
6758 wxTreeItemId result;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 char *kwnames[] = {
6762 (char *) "self",(char *) "item", NULL
6763 };
6764
6765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6766 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6767 if (SWIG_arg_fail(1)) SWIG_fail;
6768 {
6769 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6770 if (SWIG_arg_fail(2)) SWIG_fail;
6771 if (arg2 == NULL) {
6772 SWIG_null_ref("wxTreeItemId");
6773 }
6774 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6775 }
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
6779
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 {
6784 wxTreeItemId * resultptr;
36ed4f51 6785 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6786 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6787 }
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
c370783e 6794static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6795 PyObject *resultobj;
6796 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6797 wxTreeItemId result;
6798 PyObject * obj0 = 0 ;
6799 char *kwnames[] = {
6800 (char *) "self", NULL
6801 };
6802
6803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
36ed4f51
RD
6804 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6805 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 {
6814 wxTreeItemId * resultptr;
36ed4f51 6815 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6816 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6817 }
6818 return resultobj;
6819 fail:
6820 return NULL;
6821}
6822
6823
c370783e 6824static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6825 PyObject *resultobj;
6826 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6827 wxTreeItemId *arg2 = 0 ;
6828 wxTreeItemId result;
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "item", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6837 if (SWIG_arg_fail(1)) SWIG_fail;
6838 {
6839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6840 if (SWIG_arg_fail(2)) SWIG_fail;
6841 if (arg2 == NULL) {
6842 SWIG_null_ref("wxTreeItemId");
6843 }
6844 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6845 }
6846 {
6847 PyThreadState* __tstate = wxPyBeginAllowThreads();
6848 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
6849
6850 wxPyEndAllowThreads(__tstate);
6851 if (PyErr_Occurred()) SWIG_fail;
6852 }
6853 {
6854 wxTreeItemId * resultptr;
36ed4f51 6855 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6856 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6857 }
6858 return resultobj;
6859 fail:
6860 return NULL;
6861}
6862
6863
c370783e 6864static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6865 PyObject *resultobj;
6866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6867 wxTreeItemId *arg2 = 0 ;
6868 wxTreeItemId result;
6869 PyObject * obj0 = 0 ;
6870 PyObject * obj1 = 0 ;
6871 char *kwnames[] = {
6872 (char *) "self",(char *) "item", NULL
6873 };
6874
6875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6877 if (SWIG_arg_fail(1)) SWIG_fail;
6878 {
6879 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6880 if (SWIG_arg_fail(2)) SWIG_fail;
6881 if (arg2 == NULL) {
6882 SWIG_null_ref("wxTreeItemId");
6883 }
6884 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6885 }
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 {
6894 wxTreeItemId * resultptr;
36ed4f51 6895 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6897 }
6898 return resultobj;
6899 fail:
6900 return NULL;
6901}
6902
6903
c370783e 6904static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6905 PyObject *resultobj;
6906 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6907 wxTreeItemId *arg2 = 0 ;
6908 wxTreeItemId result;
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 char *kwnames[] = {
6912 (char *) "self",(char *) "item", NULL
6913 };
6914
6915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
6916 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6917 if (SWIG_arg_fail(1)) SWIG_fail;
6918 {
6919 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6920 if (SWIG_arg_fail(2)) SWIG_fail;
6921 if (arg2 == NULL) {
6922 SWIG_null_ref("wxTreeItemId");
6923 }
6924 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6925 }
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
6929
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 {
6934 wxTreeItemId * resultptr;
36ed4f51 6935 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6936 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6937 }
6938 return resultobj;
6939 fail:
6940 return NULL;
6941}
6942
6943
c370783e 6944static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6945 PyObject *resultobj;
6946 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6947 wxString *arg2 = 0 ;
6948 int arg3 = (int) -1 ;
6949 int arg4 = (int) -1 ;
6950 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
6951 wxTreeItemId result;
b411df4a 6952 bool temp2 = false ;
44127b65
RD
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
8edf1c75
RD
6955 PyObject * obj2 = 0 ;
6956 PyObject * obj3 = 0 ;
44127b65
RD
6957 PyObject * obj4 = 0 ;
6958 char *kwnames[] = {
6959 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6960 };
6961
8edf1c75 6962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
36ed4f51
RD
6963 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6964 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6965 {
6966 arg2 = wxString_in_helper(obj1);
6967 if (arg2 == NULL) SWIG_fail;
b411df4a 6968 temp2 = true;
44127b65 6969 }
8edf1c75 6970 if (obj2) {
36ed4f51
RD
6971 {
6972 arg3 = (int)(SWIG_As_int(obj2));
6973 if (SWIG_arg_fail(3)) SWIG_fail;
6974 }
8edf1c75
RD
6975 }
6976 if (obj3) {
36ed4f51
RD
6977 {
6978 arg4 = (int)(SWIG_As_int(obj3));
6979 if (SWIG_arg_fail(4)) SWIG_fail;
6980 }
8edf1c75 6981 }
44127b65 6982 if (obj4) {
36ed4f51
RD
6983 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6984 if (SWIG_arg_fail(5)) SWIG_fail;
44127b65
RD
6985 }
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994 wxTreeItemId * resultptr;
36ed4f51 6995 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6996 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6997 }
6998 {
6999 if (temp2)
7000 delete arg2;
7001 }
7002 return resultobj;
7003 fail:
7004 {
7005 if (temp2)
7006 delete arg2;
7007 }
7008 return NULL;
7009}
7010
7011
c370783e 7012static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7013 PyObject *resultobj;
7014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7015 wxTreeItemId *arg2 = 0 ;
7016 wxString *arg3 = 0 ;
7017 int arg4 = (int) -1 ;
7018 int arg5 = (int) -1 ;
7019 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7020 wxTreeItemId result;
b411df4a 7021 bool temp3 = false ;
44127b65
RD
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 PyObject * obj2 = 0 ;
8edf1c75
RD
7025 PyObject * obj3 = 0 ;
7026 PyObject * obj4 = 0 ;
44127b65
RD
7027 PyObject * obj5 = 0 ;
7028 char *kwnames[] = {
7029 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7030 };
7031
8edf1c75 7032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7033 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7034 if (SWIG_arg_fail(1)) SWIG_fail;
7035 {
7036 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7037 if (SWIG_arg_fail(2)) SWIG_fail;
7038 if (arg2 == NULL) {
7039 SWIG_null_ref("wxTreeItemId");
7040 }
7041 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7042 }
7043 {
7044 arg3 = wxString_in_helper(obj2);
7045 if (arg3 == NULL) SWIG_fail;
b411df4a 7046 temp3 = true;
44127b65 7047 }
8edf1c75 7048 if (obj3) {
36ed4f51
RD
7049 {
7050 arg4 = (int)(SWIG_As_int(obj3));
7051 if (SWIG_arg_fail(4)) SWIG_fail;
7052 }
8edf1c75
RD
7053 }
7054 if (obj4) {
36ed4f51
RD
7055 {
7056 arg5 = (int)(SWIG_As_int(obj4));
7057 if (SWIG_arg_fail(5)) SWIG_fail;
7058 }
8edf1c75 7059 }
44127b65 7060 if (obj5) {
36ed4f51
RD
7061 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7062 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
7063 }
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 {
7072 wxTreeItemId * resultptr;
36ed4f51 7073 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7075 }
7076 {
7077 if (temp3)
7078 delete arg3;
7079 }
7080 return resultobj;
7081 fail:
7082 {
7083 if (temp3)
7084 delete arg3;
7085 }
7086 return NULL;
7087}
7088
7089
c370783e 7090static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7091 PyObject *resultobj;
7092 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7093 wxTreeItemId *arg2 = 0 ;
7094 wxTreeItemId *arg3 = 0 ;
7095 wxString *arg4 = 0 ;
7096 int arg5 = (int) -1 ;
7097 int arg6 = (int) -1 ;
7098 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7099 wxTreeItemId result;
b411df4a 7100 bool temp4 = false ;
44127b65
RD
7101 PyObject * obj0 = 0 ;
7102 PyObject * obj1 = 0 ;
7103 PyObject * obj2 = 0 ;
7104 PyObject * obj3 = 0 ;
8edf1c75
RD
7105 PyObject * obj4 = 0 ;
7106 PyObject * obj5 = 0 ;
44127b65
RD
7107 PyObject * obj6 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7110 };
7111
8edf1c75 7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7113 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7114 if (SWIG_arg_fail(1)) SWIG_fail;
7115 {
7116 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7117 if (SWIG_arg_fail(2)) SWIG_fail;
7118 if (arg2 == NULL) {
7119 SWIG_null_ref("wxTreeItemId");
7120 }
7121 if (SWIG_arg_fail(2)) SWIG_fail;
7122 }
7123 {
7124 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7125 if (SWIG_arg_fail(3)) SWIG_fail;
7126 if (arg3 == NULL) {
7127 SWIG_null_ref("wxTreeItemId");
7128 }
7129 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
7130 }
7131 {
7132 arg4 = wxString_in_helper(obj3);
7133 if (arg4 == NULL) SWIG_fail;
b411df4a 7134 temp4 = true;
44127b65 7135 }
8edf1c75 7136 if (obj4) {
36ed4f51
RD
7137 {
7138 arg5 = (int)(SWIG_As_int(obj4));
7139 if (SWIG_arg_fail(5)) SWIG_fail;
7140 }
8edf1c75
RD
7141 }
7142 if (obj5) {
36ed4f51
RD
7143 {
7144 arg6 = (int)(SWIG_As_int(obj5));
7145 if (SWIG_arg_fail(6)) SWIG_fail;
7146 }
8edf1c75 7147 }
44127b65 7148 if (obj6) {
36ed4f51
RD
7149 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7150 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 {
7160 wxTreeItemId * resultptr;
36ed4f51 7161 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7163 }
7164 {
7165 if (temp4)
7166 delete arg4;
7167 }
7168 return resultobj;
7169 fail:
7170 {
7171 if (temp4)
7172 delete arg4;
7173 }
7174 return NULL;
7175}
7176
7177
c370783e 7178static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7179 PyObject *resultobj;
7180 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7181 wxTreeItemId *arg2 = 0 ;
7182 size_t arg3 ;
7183 wxString *arg4 = 0 ;
7184 int arg5 = (int) -1 ;
7185 int arg6 = (int) -1 ;
7186 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7187 wxTreeItemId result;
b411df4a 7188 bool temp4 = false ;
44127b65
RD
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 PyObject * obj2 = 0 ;
7192 PyObject * obj3 = 0 ;
8edf1c75
RD
7193 PyObject * obj4 = 0 ;
7194 PyObject * obj5 = 0 ;
44127b65
RD
7195 PyObject * obj6 = 0 ;
7196 char *kwnames[] = {
7197 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7198 };
7199
8edf1c75 7200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
36ed4f51
RD
7201 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7202 if (SWIG_arg_fail(1)) SWIG_fail;
7203 {
7204 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7205 if (SWIG_arg_fail(2)) SWIG_fail;
7206 if (arg2 == NULL) {
7207 SWIG_null_ref("wxTreeItemId");
7208 }
7209 if (SWIG_arg_fail(2)) SWIG_fail;
7210 }
7211 {
7212 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
7213 if (SWIG_arg_fail(3)) SWIG_fail;
7214 }
44127b65
RD
7215 {
7216 arg4 = wxString_in_helper(obj3);
7217 if (arg4 == NULL) SWIG_fail;
b411df4a 7218 temp4 = true;
44127b65 7219 }
8edf1c75 7220 if (obj4) {
36ed4f51
RD
7221 {
7222 arg5 = (int)(SWIG_As_int(obj4));
7223 if (SWIG_arg_fail(5)) SWIG_fail;
7224 }
8edf1c75
RD
7225 }
7226 if (obj5) {
36ed4f51
RD
7227 {
7228 arg6 = (int)(SWIG_As_int(obj5));
7229 if (SWIG_arg_fail(6)) SWIG_fail;
7230 }
8edf1c75 7231 }
44127b65 7232 if (obj6) {
36ed4f51
RD
7233 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7234 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7235 }
7236 {
7237 PyThreadState* __tstate = wxPyBeginAllowThreads();
7238 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7239
7240 wxPyEndAllowThreads(__tstate);
7241 if (PyErr_Occurred()) SWIG_fail;
7242 }
7243 {
7244 wxTreeItemId * resultptr;
36ed4f51 7245 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7246 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7247 }
7248 {
7249 if (temp4)
7250 delete arg4;
7251 }
7252 return resultobj;
7253 fail:
7254 {
7255 if (temp4)
7256 delete arg4;
7257 }
7258 return NULL;
7259}
7260
7261
c370783e 7262static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7263 PyObject *resultobj;
7264 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7265 wxTreeItemId *arg2 = 0 ;
7266 wxString *arg3 = 0 ;
7267 int arg4 = (int) -1 ;
7268 int arg5 = (int) -1 ;
7269 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7270 wxTreeItemId result;
b411df4a 7271 bool temp3 = false ;
44127b65
RD
7272 PyObject * obj0 = 0 ;
7273 PyObject * obj1 = 0 ;
7274 PyObject * obj2 = 0 ;
8edf1c75
RD
7275 PyObject * obj3 = 0 ;
7276 PyObject * obj4 = 0 ;
44127b65
RD
7277 PyObject * obj5 = 0 ;
7278 char *kwnames[] = {
7279 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7280 };
7281
8edf1c75 7282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
36ed4f51
RD
7283 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7284 if (SWIG_arg_fail(1)) SWIG_fail;
7285 {
7286 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7287 if (SWIG_arg_fail(2)) SWIG_fail;
7288 if (arg2 == NULL) {
7289 SWIG_null_ref("wxTreeItemId");
7290 }
7291 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7292 }
7293 {
7294 arg3 = wxString_in_helper(obj2);
7295 if (arg3 == NULL) SWIG_fail;
b411df4a 7296 temp3 = true;
44127b65 7297 }
8edf1c75 7298 if (obj3) {
36ed4f51
RD
7299 {
7300 arg4 = (int)(SWIG_As_int(obj3));
7301 if (SWIG_arg_fail(4)) SWIG_fail;
7302 }
8edf1c75
RD
7303 }
7304 if (obj4) {
36ed4f51
RD
7305 {
7306 arg5 = (int)(SWIG_As_int(obj4));
7307 if (SWIG_arg_fail(5)) SWIG_fail;
7308 }
8edf1c75 7309 }
44127b65 7310 if (obj5) {
36ed4f51
RD
7311 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7312 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
7313 }
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7317
7318 wxPyEndAllowThreads(__tstate);
7319 if (PyErr_Occurred()) SWIG_fail;
7320 }
7321 {
7322 wxTreeItemId * resultptr;
36ed4f51 7323 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7324 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7325 }
7326 {
7327 if (temp3)
7328 delete arg3;
7329 }
7330 return resultobj;
7331 fail:
7332 {
7333 if (temp3)
7334 delete arg3;
7335 }
7336 return NULL;
7337}
7338
7339
c370783e 7340static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7341 PyObject *resultobj;
7342 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7343 wxTreeItemId *arg2 = 0 ;
7344 PyObject * obj0 = 0 ;
7345 PyObject * obj1 = 0 ;
7346 char *kwnames[] = {
7347 (char *) "self",(char *) "item", NULL
7348 };
7349
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7351 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7352 if (SWIG_arg_fail(1)) SWIG_fail;
7353 {
7354 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7355 if (SWIG_arg_fail(2)) SWIG_fail;
7356 if (arg2 == NULL) {
7357 SWIG_null_ref("wxTreeItemId");
7358 }
7359 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7360 }
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 (arg1)->Delete((wxTreeItemId const &)*arg2);
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
7368 Py_INCREF(Py_None); resultobj = Py_None;
7369 return resultobj;
7370 fail:
7371 return NULL;
7372}
7373
7374
c370783e 7375static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7376 PyObject *resultobj;
7377 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7378 wxTreeItemId *arg2 = 0 ;
7379 PyObject * obj0 = 0 ;
7380 PyObject * obj1 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self",(char *) "item", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7386 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7387 if (SWIG_arg_fail(1)) SWIG_fail;
7388 {
7389 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7390 if (SWIG_arg_fail(2)) SWIG_fail;
7391 if (arg2 == NULL) {
7392 SWIG_null_ref("wxTreeItemId");
7393 }
7394 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7395 }
7396 {
7397 PyThreadState* __tstate = wxPyBeginAllowThreads();
7398 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7399
7400 wxPyEndAllowThreads(__tstate);
7401 if (PyErr_Occurred()) SWIG_fail;
7402 }
7403 Py_INCREF(Py_None); resultobj = Py_None;
7404 return resultobj;
7405 fail:
7406 return NULL;
7407}
7408
7409
c370783e 7410static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7411 PyObject *resultobj;
7412 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7413 PyObject * obj0 = 0 ;
7414 char *kwnames[] = {
7415 (char *) "self", NULL
7416 };
7417
7418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
36ed4f51
RD
7419 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7420 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7421 {
7422 PyThreadState* __tstate = wxPyBeginAllowThreads();
7423 (arg1)->DeleteAllItems();
7424
7425 wxPyEndAllowThreads(__tstate);
7426 if (PyErr_Occurred()) SWIG_fail;
7427 }
7428 Py_INCREF(Py_None); resultobj = Py_None;
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
c370783e 7435static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7436 PyObject *resultobj;
7437 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7438 wxTreeItemId *arg2 = 0 ;
7439 PyObject * obj0 = 0 ;
7440 PyObject * obj1 = 0 ;
7441 char *kwnames[] = {
7442 (char *) "self",(char *) "item", NULL
7443 };
7444
7445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7446 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7447 if (SWIG_arg_fail(1)) SWIG_fail;
7448 {
7449 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7450 if (SWIG_arg_fail(2)) SWIG_fail;
7451 if (arg2 == NULL) {
7452 SWIG_null_ref("wxTreeItemId");
7453 }
7454 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7455 }
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 (arg1)->Expand((wxTreeItemId const &)*arg2);
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 Py_INCREF(Py_None); resultobj = Py_None;
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
c370783e 7470static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7471 PyObject *resultobj;
7472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7473 wxTreeItemId *arg2 = 0 ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self",(char *) "item", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7482 if (SWIG_arg_fail(1)) SWIG_fail;
7483 {
7484 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7485 if (SWIG_arg_fail(2)) SWIG_fail;
7486 if (arg2 == NULL) {
7487 SWIG_null_ref("wxTreeItemId");
7488 }
7489 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7490 }
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 Py_INCREF(Py_None); resultobj = Py_None;
7499 return resultobj;
7500 fail:
7501 return NULL;
7502}
7503
7504
c370783e 7505static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7506 PyObject *resultobj;
7507 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7508 wxTreeItemId *arg2 = 0 ;
7509 PyObject * obj0 = 0 ;
7510 PyObject * obj1 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "self",(char *) "item", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7516 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7517 if (SWIG_arg_fail(1)) SWIG_fail;
7518 {
7519 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7520 if (SWIG_arg_fail(2)) SWIG_fail;
7521 if (arg2 == NULL) {
7522 SWIG_null_ref("wxTreeItemId");
7523 }
7524 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7525 }
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
7533 Py_INCREF(Py_None); resultobj = Py_None;
7534 return resultobj;
7535 fail:
7536 return NULL;
7537}
7538
7539
c370783e 7540static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7541 PyObject *resultobj;
7542 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7543 wxTreeItemId *arg2 = 0 ;
7544 PyObject * obj0 = 0 ;
7545 PyObject * obj1 = 0 ;
7546 char *kwnames[] = {
7547 (char *) "self",(char *) "item", NULL
7548 };
7549
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7551 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7552 if (SWIG_arg_fail(1)) SWIG_fail;
7553 {
7554 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7555 if (SWIG_arg_fail(2)) SWIG_fail;
7556 if (arg2 == NULL) {
7557 SWIG_null_ref("wxTreeItemId");
7558 }
7559 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7560 }
7561 {
7562 PyThreadState* __tstate = wxPyBeginAllowThreads();
7563 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7564
7565 wxPyEndAllowThreads(__tstate);
7566 if (PyErr_Occurred()) SWIG_fail;
7567 }
7568 Py_INCREF(Py_None); resultobj = Py_None;
7569 return resultobj;
7570 fail:
7571 return NULL;
7572}
7573
7574
c370783e 7575static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7576 PyObject *resultobj;
7577 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7578 wxTreeItemId *arg2 = 0 ;
7579 PyObject * obj0 = 0 ;
7580 PyObject * obj1 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self",(char *) "item", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7587 if (SWIG_arg_fail(1)) SWIG_fail;
7588 {
7589 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7590 if (SWIG_arg_fail(2)) SWIG_fail;
7591 if (arg2 == NULL) {
7592 SWIG_null_ref("wxTreeItemId");
7593 }
7594 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7595 }
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7599
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 Py_INCREF(Py_None); resultobj = Py_None;
7604 return resultobj;
7605 fail:
7606 return NULL;
7607}
7608
7609
c370783e 7610static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7611 PyObject *resultobj;
7612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7613 PyObject * obj0 = 0 ;
7614 char *kwnames[] = {
7615 (char *) "self", NULL
7616 };
7617
7618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
36ed4f51
RD
7619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7620 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7621 {
7622 PyThreadState* __tstate = wxPyBeginAllowThreads();
7623 (arg1)->Unselect();
7624
7625 wxPyEndAllowThreads(__tstate);
7626 if (PyErr_Occurred()) SWIG_fail;
7627 }
7628 Py_INCREF(Py_None); resultobj = Py_None;
7629 return resultobj;
7630 fail:
7631 return NULL;
7632}
7633
7634
c370783e 7635static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7636 PyObject *resultobj;
7637 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7638 PyObject * obj0 = 0 ;
7639 char *kwnames[] = {
7640 (char *) "self", NULL
7641 };
7642
7643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
36ed4f51
RD
7644 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7645 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7646 {
7647 PyThreadState* __tstate = wxPyBeginAllowThreads();
7648 (arg1)->UnselectAll();
7649
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 Py_INCREF(Py_None); resultobj = Py_None;
7654 return resultobj;
7655 fail:
7656 return NULL;
7657}
7658
7659
c370783e 7660static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7661 PyObject *resultobj;
7662 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7663 wxTreeItemId *arg2 = 0 ;
b411df4a
RD
7664 bool arg3 = (bool) true ;
7665 bool arg4 = (bool) false ;
44127b65
RD
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 PyObject * obj2 = 0 ;
7669 PyObject * obj3 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
7675 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7676 if (SWIG_arg_fail(1)) SWIG_fail;
7677 {
7678 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7679 if (SWIG_arg_fail(2)) SWIG_fail;
7680 if (arg2 == NULL) {
7681 SWIG_null_ref("wxTreeItemId");
7682 }
7683 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7684 }
7685 if (obj2) {
36ed4f51
RD
7686 {
7687 arg3 = (bool)(SWIG_As_bool(obj2));
7688 if (SWIG_arg_fail(3)) SWIG_fail;
7689 }
44127b65
RD
7690 }
7691 if (obj3) {
36ed4f51
RD
7692 {
7693 arg4 = (bool)(SWIG_As_bool(obj3));
7694 if (SWIG_arg_fail(4)) SWIG_fail;
7695 }
44127b65
RD
7696 }
7697 {
7698 PyThreadState* __tstate = wxPyBeginAllowThreads();
7699 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7700
7701 wxPyEndAllowThreads(__tstate);
7702 if (PyErr_Occurred()) SWIG_fail;
7703 }
7704 Py_INCREF(Py_None); resultobj = Py_None;
7705 return resultobj;
7706 fail:
7707 return NULL;
7708}
7709
7710
c370783e 7711static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
0439c23b
RD
7712 PyObject *resultobj;
7713 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
b411df4a 7714 bool arg2 = (bool) false ;
0439c23b
RD
7715 PyObject * obj0 = 0 ;
7716 PyObject * obj1 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self",(char *) "extended_select", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7722 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7723 if (SWIG_arg_fail(1)) SWIG_fail;
0439c23b 7724 if (obj1) {
36ed4f51
RD
7725 {
7726 arg2 = (bool)(SWIG_As_bool(obj1));
7727 if (SWIG_arg_fail(2)) SWIG_fail;
7728 }
0439c23b
RD
7729 }
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 (arg1)->SelectAll(arg2);
7733
7734 wxPyEndAllowThreads(__tstate);
7735 if (PyErr_Occurred()) SWIG_fail;
7736 }
7737 Py_INCREF(Py_None); resultobj = Py_None;
7738 return resultobj;
7739 fail:
7740 return NULL;
7741}
7742
7743
c370783e 7744static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7745 PyObject *resultobj;
7746 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7747 wxTreeItemId *arg2 = 0 ;
7748 PyObject * obj0 = 0 ;
7749 PyObject * obj1 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "item", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7755 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7756 if (SWIG_arg_fail(1)) SWIG_fail;
7757 {
7758 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7759 if (SWIG_arg_fail(2)) SWIG_fail;
7760 if (arg2 == NULL) {
7761 SWIG_null_ref("wxTreeItemId");
7762 }
7763 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7764 }
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 Py_INCREF(Py_None); resultobj = Py_None;
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
c370783e 7779static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7780 PyObject *resultobj;
7781 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7782 wxTreeItemId *arg2 = 0 ;
7783 PyObject * obj0 = 0 ;
7784 PyObject * obj1 = 0 ;
7785 char *kwnames[] = {
7786 (char *) "self",(char *) "item", NULL
7787 };
7788
7789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7790 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7791 if (SWIG_arg_fail(1)) SWIG_fail;
7792 {
7793 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7794 if (SWIG_arg_fail(2)) SWIG_fail;
7795 if (arg2 == NULL) {
7796 SWIG_null_ref("wxTreeItemId");
7797 }
7798 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
c370783e 7814static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7815 PyObject *resultobj;
7816 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7817 wxPoint *arg2 = 0 ;
7818 int *arg3 = 0 ;
7819 int *arg4 = 0 ;
7820 wxTreeItemId result;
7821 wxPoint temp2 ;
7822 int temp3 ;
c370783e 7823 int res3 = 0 ;
44127b65 7824 int temp4 ;
c370783e 7825 int res4 = 0 ;
44127b65
RD
7826 PyObject * obj0 = 0 ;
7827 PyObject * obj1 = 0 ;
7828 char *kwnames[] = {
7829 (char *) "self",(char *) "point", NULL
7830 };
7831
c370783e
RD
7832 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7833 arg4 = &temp4; res4 = SWIG_NEWOBJ;
44127b65 7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7835 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7836 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7837 {
7838 arg2 = &temp2;
7839 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7840 }
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
7844
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 {
7849 wxTreeItemId * resultptr;
36ed4f51 7850 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7851 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65 7852 }
c370783e
RD
7853 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7854 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
7855 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
7856 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
7857 return resultobj;
7858 fail:
7859 return NULL;
7860}
7861
7862
c370783e 7863static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7864 PyObject *resultobj;
7865 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7866 wxTreeItemId *arg2 = 0 ;
b411df4a 7867 bool arg3 = (bool) false ;
44127b65
RD
7868 PyObject *result;
7869 PyObject * obj0 = 0 ;
7870 PyObject * obj1 = 0 ;
7871 PyObject * obj2 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "item",(char *) "textOnly", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
36ed4f51
RD
7877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7878 if (SWIG_arg_fail(1)) SWIG_fail;
7879 {
7880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7881 if (SWIG_arg_fail(2)) SWIG_fail;
7882 if (arg2 == NULL) {
7883 SWIG_null_ref("wxTreeItemId");
7884 }
7885 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7886 }
7887 if (obj2) {
36ed4f51
RD
7888 {
7889 arg3 = (bool)(SWIG_As_bool(obj2));
7890 if (SWIG_arg_fail(3)) SWIG_fail;
7891 }
44127b65
RD
7892 }
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
7896
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 resultobj = result;
7901 return resultobj;
7902 fail:
7903 return NULL;
7904}
7905
7906
c370783e 7907static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7908 PyObject *resultobj;
7909 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7910 wxTreeItemId *arg2 = 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char *kwnames[] = {
7914 (char *) "self",(char *) "item", NULL
7915 };
7916
7917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7918 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7919 if (SWIG_arg_fail(1)) SWIG_fail;
7920 {
7921 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7922 if (SWIG_arg_fail(2)) SWIG_fail;
7923 if (arg2 == NULL) {
7924 SWIG_null_ref("wxTreeItemId");
7925 }
7926 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7927 }
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
7931
7932 wxPyEndAllowThreads(__tstate);
7933 if (PyErr_Occurred()) SWIG_fail;
7934 }
7935 Py_INCREF(Py_None); resultobj = Py_None;
7936 return resultobj;
7937 fail:
7938 return NULL;
7939}
7940
7941
c370783e 7942static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7943 PyObject *resultobj;
7944 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7945 wxTreeItemId *arg2 = 0 ;
7946 PyObject * obj0 = 0 ;
7947 PyObject * obj1 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "item", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7954 if (SWIG_arg_fail(1)) SWIG_fail;
7955 {
7956 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7957 if (SWIG_arg_fail(2)) SWIG_fail;
7958 if (arg2 == NULL) {
7959 SWIG_null_ref("wxTreeItemId");
7960 }
7961 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7962 }
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 (arg1)->Edit((wxTreeItemId const &)*arg2);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 Py_INCREF(Py_None); resultobj = Py_None;
7971 return resultobj;
7972 fail:
7973 return NULL;
7974}
7975
7976
c370783e 7977static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7978 PyObject *resultobj;
7979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7980 wxTreeItemId *arg2 = 0 ;
7981 PyObject * obj0 = 0 ;
7982 PyObject * obj1 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "self",(char *) "item", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
36ed4f51
RD
7988 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7989 if (SWIG_arg_fail(1)) SWIG_fail;
7990 {
7991 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7992 if (SWIG_arg_fail(2)) SWIG_fail;
7993 if (arg2 == NULL) {
7994 SWIG_null_ref("wxTreeItemId");
7995 }
7996 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7997 }
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 Py_INCREF(Py_None); resultobj = Py_None;
8006 return resultobj;
8007 fail:
8008 return NULL;
8009}
8010
8011
c370783e 8012static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8013 PyObject *resultobj;
8014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8015 wxTreeItemId *arg2 = 0 ;
0439c23b
RD
8016 wxString *arg3 = 0 ;
8017 int arg4 = (int) 0 ;
8018 wxTreeItemId result;
b411df4a 8019 bool temp3 = false ;
44127b65
RD
8020 PyObject * obj0 = 0 ;
8021 PyObject * obj1 = 0 ;
0439c23b
RD
8022 PyObject * obj2 = 0 ;
8023 PyObject * obj3 = 0 ;
44127b65 8024 char *kwnames[] = {
0439c23b 8025 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
44127b65
RD
8026 };
8027
0439c23b 8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36ed4f51
RD
8029 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8030 if (SWIG_arg_fail(1)) SWIG_fail;
8031 {
8032 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8033 if (SWIG_arg_fail(2)) SWIG_fail;
8034 if (arg2 == NULL) {
8035 SWIG_null_ref("wxTreeItemId");
8036 }
8037 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
8038 }
8039 {
0439c23b
RD
8040 arg3 = wxString_in_helper(obj2);
8041 if (arg3 == NULL) SWIG_fail;
b411df4a 8042 temp3 = true;
44127b65 8043 }
0439c23b 8044 if (obj3) {
36ed4f51
RD
8045 {
8046 arg4 = (int)(SWIG_As_int(obj3));
8047 if (SWIG_arg_fail(4)) SWIG_fail;
8048 }
8edf1c75 8049 }
44127b65
RD
8050 {
8051 PyThreadState* __tstate = wxPyBeginAllowThreads();
0439c23b 8052 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
44127b65
RD
8053
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
0439c23b
RD
8057 {
8058 wxTreeItemId * resultptr;
36ed4f51 8059 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
0439c23b
RD
8060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8061 }
8062 {
8063 if (temp3)
8064 delete arg3;
8065 }
44127b65
RD
8066 return resultobj;
8067 fail:
0439c23b
RD
8068 {
8069 if (temp3)
8070 delete arg3;
8071 }
44127b65
RD
8072 return NULL;
8073}
8074
8075
c370783e 8076static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8077 PyObject *resultobj;
8078 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8079 wxWindow *result;
8080 PyObject * obj0 = 0 ;
8081 char *kwnames[] = {
8082 (char *) "self", NULL
8083 };
8084
8085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
8086 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8087 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8088 {
8089 PyThreadState* __tstate = wxPyBeginAllowThreads();
8090 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8091
8092 wxPyEndAllowThreads(__tstate);
8093 if (PyErr_Occurred()) SWIG_fail;
8094 }
8095 {
412d302d 8096 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
8097 }
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
c370783e 8104static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8105 PyObject *resultobj;
8106 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
412d302d 8107 wxScrolledWindow *result;
44127b65
RD
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
36ed4f51
RD
8114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8115 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8116 {
8117 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 8118 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
44127b65
RD
8119
8120 wxPyEndAllowThreads(__tstate);
8121 if (PyErr_Occurred()) SWIG_fail;
8122 }
8123 {
412d302d 8124 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
8125 }
8126 return resultobj;
8127 fail:
8128 return NULL;
8129}
8130
8131
c370783e 8132static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
8133 PyObject *obj;
8134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8135 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8136 Py_INCREF(obj);
8137 return Py_BuildValue((char *)"");
8138}
6260902d
RD
8139static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8140 PyObject *resultobj;
8141 wxWindow *arg1 = (wxWindow *) 0 ;
8142 int arg2 ;
8143 wxBitmap *arg3 = 0 ;
8144 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8145 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8146 wxSize const &arg5_defvalue = wxDefaultSize ;
8147 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8148 long arg6 = (long) 0 ;
8149 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
8150 wxString *arg7 = (wxString *) &arg7_defvalue ;
8151 wxStaticPicture *result;
8152 wxPoint temp4 ;
8153 wxSize temp5 ;
8154 bool temp7 = false ;
8155 PyObject * obj0 = 0 ;
8156 PyObject * obj1 = 0 ;
8157 PyObject * obj2 = 0 ;
8158 PyObject * obj3 = 0 ;
8159 PyObject * obj4 = 0 ;
8160 PyObject * obj5 = 0 ;
8161 PyObject * obj6 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8168 if (SWIG_arg_fail(1)) SWIG_fail;
8169 {
8170 arg2 = (int)(SWIG_As_int(obj1));
8171 if (SWIG_arg_fail(2)) SWIG_fail;
8172 }
8173 {
8174 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8175 if (SWIG_arg_fail(3)) SWIG_fail;
8176 if (arg3 == NULL) {
8177 SWIG_null_ref("wxBitmap");
8178 }
8179 if (SWIG_arg_fail(3)) SWIG_fail;
8180 }
8181 if (obj3) {
8182 {
8183 arg4 = &temp4;
8184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8185 }
8186 }
8187 if (obj4) {
8188 {
8189 arg5 = &temp5;
8190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8191 }
8192 }
8193 if (obj5) {
8194 {
8195 arg6 = (long)(SWIG_As_long(obj5));
8196 if (SWIG_arg_fail(6)) SWIG_fail;
8197 }
8198 }
8199 if (obj6) {
8200 {
8201 arg7 = wxString_in_helper(obj6);
8202 if (arg7 == NULL) SWIG_fail;
8203 temp7 = true;
8204 }
8205 }
8206 {
8207 if (!wxPyCheckForApp()) SWIG_fail;
8208 PyThreadState* __tstate = wxPyBeginAllowThreads();
8209 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8210
8211 wxPyEndAllowThreads(__tstate);
8212 if (PyErr_Occurred()) SWIG_fail;
8213 }
8214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8215 {
8216 if (temp7)
8217 delete arg7;
8218 }
8219 return resultobj;
8220 fail:
8221 {
8222 if (temp7)
8223 delete arg7;
8224 }
8225 return NULL;
8226}
8227
8228
8229static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxStaticPicture *result;
8232 char *kwnames[] = {
8233 NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail;
8237 {
8238 if (!wxPyCheckForApp()) SWIG_fail;
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (wxStaticPicture *)new wxStaticPicture();
8241
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8246 return resultobj;
8247 fail:
8248 return NULL;
8249}
8250
8251
8252static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8255 wxWindow *arg2 = (wxWindow *) 0 ;
8256 int arg3 ;
8257 wxBitmap *arg4 = 0 ;
8258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8260 wxSize const &arg6_defvalue = wxDefaultSize ;
8261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8262 long arg7 = (long) 0 ;
8263 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
8264 wxString *arg8 = (wxString *) &arg8_defvalue ;
8265 bool result;
8266 wxPoint temp5 ;
8267 wxSize temp6 ;
8268 bool temp8 = false ;
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
8271 PyObject * obj2 = 0 ;
8272 PyObject * obj3 = 0 ;
8273 PyObject * obj4 = 0 ;
8274 PyObject * obj5 = 0 ;
8275 PyObject * obj6 = 0 ;
8276 PyObject * obj7 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
8282 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8283 if (SWIG_arg_fail(1)) SWIG_fail;
8284 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8285 if (SWIG_arg_fail(2)) SWIG_fail;
8286 {
8287 arg3 = (int)(SWIG_As_int(obj2));
8288 if (SWIG_arg_fail(3)) SWIG_fail;
8289 }
8290 {
8291 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8292 if (SWIG_arg_fail(4)) SWIG_fail;
8293 if (arg4 == NULL) {
8294 SWIG_null_ref("wxBitmap");
8295 }
8296 if (SWIG_arg_fail(4)) SWIG_fail;
8297 }
8298 if (obj4) {
8299 {
8300 arg5 = &temp5;
8301 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8302 }
8303 }
8304 if (obj5) {
8305 {
8306 arg6 = &temp6;
8307 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8308 }
8309 }
8310 if (obj6) {
8311 {
8312 arg7 = (long)(SWIG_As_long(obj6));
8313 if (SWIG_arg_fail(7)) SWIG_fail;
8314 }
8315 }
8316 if (obj7) {
8317 {
8318 arg8 = wxString_in_helper(obj7);
8319 if (arg8 == NULL) SWIG_fail;
8320 temp8 = true;
8321 }
8322 }
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 {
8331 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8332 }
8333 {
8334 if (temp8)
8335 delete arg8;
8336 }
8337 return resultobj;
8338 fail:
8339 {
8340 if (temp8)
8341 delete arg8;
8342 }
8343 return NULL;
8344}
8345
8346
8347static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8350 wxBitmap *arg2 = 0 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self",(char *) "bmp", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
8358 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8359 if (SWIG_arg_fail(1)) SWIG_fail;
8360 {
8361 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8362 if (SWIG_arg_fail(2)) SWIG_fail;
8363 if (arg2 == NULL) {
8364 SWIG_null_ref("wxBitmap");
8365 }
8366 if (SWIG_arg_fail(2)) SWIG_fail;
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
8375 Py_INCREF(Py_None); resultobj = Py_None;
8376 return resultobj;
8377 fail:
8378 return NULL;
8379}
8380
8381
8382static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8383 PyObject *resultobj;
8384 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8385 wxBitmap result;
8386 PyObject * obj0 = 0 ;
8387 char *kwnames[] = {
8388 (char *) "self", NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail;
8392 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8393 if (SWIG_arg_fail(1)) SWIG_fail;
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = ((wxStaticPicture const *)arg1)->GetBitmap();
8397
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
8401 {
8402 wxBitmap * resultptr;
8403 resultptr = new wxBitmap((wxBitmap &)(result));
8404 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8405 }
8406 return resultobj;
8407 fail:
8408 return NULL;
8409}
8410
8411
8412static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj;
8414 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8415 wxIcon *arg2 = 0 ;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char *kwnames[] = {
8419 (char *) "self",(char *) "icon", NULL
8420 };
8421
8422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail;
8423 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8424 if (SWIG_arg_fail(1)) SWIG_fail;
8425 {
8426 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
8427 if (SWIG_arg_fail(2)) SWIG_fail;
8428 if (arg2 == NULL) {
8429 SWIG_null_ref("wxIcon");
8430 }
8431 if (SWIG_arg_fail(2)) SWIG_fail;
8432 }
8433 {
8434 PyThreadState* __tstate = wxPyBeginAllowThreads();
8435 (arg1)->SetIcon((wxIcon const &)*arg2);
8436
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 Py_INCREF(Py_None); resultobj = Py_None;
8441 return resultobj;
8442 fail:
8443 return NULL;
8444}
8445
8446
8447static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8448 PyObject *resultobj;
8449 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8450 wxIcon result;
8451 PyObject * obj0 = 0 ;
8452 char *kwnames[] = {
8453 (char *) "self", NULL
8454 };
8455
8456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail;
8457 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8458 if (SWIG_arg_fail(1)) SWIG_fail;
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = ((wxStaticPicture const *)arg1)->GetIcon();
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 {
8467 wxIcon * resultptr;
8468 resultptr = new wxIcon((wxIcon &)(result));
8469 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
8470 }
8471 return resultobj;
8472 fail:
8473 return NULL;
8474}
8475
8476
8477static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj;
8479 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8480 int arg2 ;
8481 PyObject * obj0 = 0 ;
8482 PyObject * obj1 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "self",(char *) "align", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8488 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8489 if (SWIG_arg_fail(1)) SWIG_fail;
8490 {
8491 arg2 = (int)(SWIG_As_int(obj1));
8492 if (SWIG_arg_fail(2)) SWIG_fail;
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 (arg1)->SetAlignment(arg2);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 Py_INCREF(Py_None); resultobj = Py_None;
8502 return resultobj;
8503 fail:
8504 return NULL;
8505}
8506
8507
8508static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8509 PyObject *resultobj;
8510 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8511 int result;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail;
8518 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8519 if (SWIG_arg_fail(1)) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 {
8528 resultobj = SWIG_From_int((int)(result));
8529 }
8530 return resultobj;
8531 fail:
8532 return NULL;
8533}
8534
8535
8536static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8539 int arg2 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 char *kwnames[] = {
8543 (char *) "self",(char *) "scale", NULL
8544 };
8545
8546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail;
8547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8548 if (SWIG_arg_fail(1)) SWIG_fail;
8549 {
8550 arg2 = (int)(SWIG_As_int(obj1));
8551 if (SWIG_arg_fail(2)) SWIG_fail;
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 (arg1)->SetScale(arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 Py_INCREF(Py_None); resultobj = Py_None;
8561 return resultobj;
8562 fail:
8563 return NULL;
8564}
8565
8566
8567static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8570 int result;
8571 PyObject * obj0 = 0 ;
8572 char *kwnames[] = {
8573 (char *) "self", NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail;
8577 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8578 if (SWIG_arg_fail(1)) SWIG_fail;
8579 {
8580 PyThreadState* __tstate = wxPyBeginAllowThreads();
8581 result = (int)((wxStaticPicture const *)arg1)->GetScale();
8582
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 {
8587 resultobj = SWIG_From_int((int)(result));
8588 }
8589 return resultobj;
8590 fail:
8591 return NULL;
8592}
8593
8594
8595static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8596 PyObject *resultobj;
8597 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8598 float arg2 ;
8599 float arg3 ;
8600 PyObject * obj0 = 0 ;
8601 PyObject * obj1 = 0 ;
8602 PyObject * obj2 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self",(char *) "sx",(char *) "sy", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8609 if (SWIG_arg_fail(1)) SWIG_fail;
8610 {
8611 arg2 = (float)(SWIG_As_float(obj1));
8612 if (SWIG_arg_fail(2)) SWIG_fail;
8613 }
8614 {
8615 arg3 = (float)(SWIG_As_float(obj2));
8616 if (SWIG_arg_fail(3)) SWIG_fail;
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->SetCustomScale(arg2,arg3);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 return resultobj;
8627 fail:
8628 return NULL;
8629}
8630
8631
8632static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8635 float *arg2 = (float *) 0 ;
8636 float *arg3 = (float *) 0 ;
8637 float temp2 ;
8638 int res2 = 0 ;
8639 float temp3 ;
8640 int res3 = 0 ;
8641 PyObject * obj0 = 0 ;
8642 char *kwnames[] = {
8643 (char *) "self", NULL
8644 };
8645
8646 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8647 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail;
8649 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8650 if (SWIG_arg_fail(1)) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
8654
8655 wxPyEndAllowThreads(__tstate);
8656 if (PyErr_Occurred()) SWIG_fail;
8657 }
8658 Py_INCREF(Py_None); resultobj = Py_None;
8659 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8660 SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0)));
8661 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8662 SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0)));
8663 return resultobj;
8664 fail:
8665 return NULL;
8666}
8667
8668
8669static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) {
8670 PyObject *obj;
8671 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8672 SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj);
8673 Py_INCREF(obj);
8674 return Py_BuildValue((char *)"");
8675}
44127b65 8676static PyMethodDef SwigMethods[] = {
36ed4f51
RD
8677 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8678 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8679 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8680 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8681 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8682 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8683 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8684 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8685 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8686 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8687 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8688 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8689 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8690 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8691 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8692 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8693 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8694 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8695 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8696 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8697 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8698 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8699 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8700 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8701 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8702 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8703 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8704 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8705 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8706 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8707 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8708 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8709 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8710 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8711 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8712 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8713 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8714 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8715 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8716 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8717 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8718 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8719 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8720 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8721 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8722 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8723 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
8724 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8725 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8726 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8727 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
8728 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8729 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8730 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8731 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8732 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8733 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
8734 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8735 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8736 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8737 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
8738 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8739 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8740 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8741 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8742 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
8743 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8744 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8745 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8746 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8747 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8748 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8749 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8750 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8751 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8752 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8753 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8754 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8755 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8756 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8757 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8758 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8759 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8760 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8761 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
8762 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8763 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8764 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8765 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8766 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8767 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8768 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8769 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8770 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8771 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8772 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8773 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8774 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8775 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
8776 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8777 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8778 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8779 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8780 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8781 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8782 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8783 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8784 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8785 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8786 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8787 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8788 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8789 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8790 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8791 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8792 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8793 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8794 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8795 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
8796 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
8797 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
8798 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
8799 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
8800 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
8801 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
8802 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
8803 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
8804 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
8805 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
8806 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8807 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8808 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
8809 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8810 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8811 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
8812 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
8813 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
8814 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
8815 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
8816 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
8817 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
8818 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8819 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
8820 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
8821 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
8822 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
8823 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
8824 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
8825 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
8826 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8827 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
8828 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8829 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8830 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
8831 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
8832 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
8833 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
8834 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
8835 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8836 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
8837 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8838 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8839 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
6260902d
RD
8840 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
8841 { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
8842 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8843 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
8844 { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
8845 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
8846 { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
8847 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8848 { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8849 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
8850 { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL},
8851 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
8852 { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
8853 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
c370783e 8854 { NULL, NULL, 0, NULL }
44127b65
RD
8855};
8856
8857
8858/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8859
8860static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
8861 return (void *)((wxValidator *) ((wxPyValidator *) x));
8862}
8863static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
8864 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
8865}
8866static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
8867 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
8868}
a2482628
RD
8869static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
8870 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8871}
44127b65
RD
8872static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
8873 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8874}
8875static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
8876 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
8877}
8878static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
8879 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
8880}
8881static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
8882 return (void *)((wxPanel *) ((wxPyPanel *) x));
8883}
8884static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
8885 return (void *)((wxPanel *) ((wxEditableListBox *) x));
8886}
8887static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
8888 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
8889}
8890static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
8891 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
8892}
8893static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
8894 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8895}
8896static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
8897 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
8898}
8899static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
8900 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
8901}
8902static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
8903 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
8904}
8905static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
8906 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
8907}
8908static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
8909 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8910}
8911static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
8912 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
8913}
8914static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
8915 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
8916}
b411df4a
RD
8917static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
8918 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
8919}
6e0de3df
RD
8920static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
8921 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
8922}
44127b65
RD
8923static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
8924 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
8925}
8926static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
8927 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
8928}
8929static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
8930 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
8931}
44127b65
RD
8932static void *_p_wxControlTo_p_wxWindow(void *x) {
8933 return (void *)((wxWindow *) ((wxControl *) x));
8934}
a2482628
RD
8935static void *_p_wxPyControlTo_p_wxWindow(void *x) {
8936 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
8937}
44127b65
RD
8938static void *_p_wxGaugeTo_p_wxWindow(void *x) {
8939 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
8940}
8941static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
8942 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
8943}
8944static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
8945 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
8946}
8947static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
8948 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
8949}
8950static void *_p_wxChoiceTo_p_wxWindow(void *x) {
8951 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
8952}
8953static void *_p_wxListViewTo_p_wxWindow(void *x) {
8954 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
8955}
8956static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
8957 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
8958}
8959static void *_p_wxNotebookTo_p_wxWindow(void *x) {
6e0de3df 8960 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
8961}
8962static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
8963 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
8964}
b411df4a 8965static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
6e0de3df 8966 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 8967}
44127b65
RD
8968static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
8969 return (void *)((wxWindow *) ((wxPyWindow *) x));
8970}
8971static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
8972 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
8973}
8974static void *_p_wxListbookTo_p_wxWindow(void *x) {
6e0de3df 8975 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
8976}
8977static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
8978 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
8979}
8980static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
8981 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
8982}
8983static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
8984 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
8985}
8986static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
8987 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
8988}
070c48b4
RD
8989static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
8990 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
8991}
44127b65
RD
8992static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
8993 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
8994}
8995static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
8996 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
8997}
8998static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
8999 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9000}
9001static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9002 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9003}
9004static void *_p_wxSliderTo_p_wxWindow(void *x) {
9005 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9006}
9007static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9008 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9009}
6e0de3df
RD
9010static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9011 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9012}
44127b65
RD
9013static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9014 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9015}
9016static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9017 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9018}
9019static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9020 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9021}
9022static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9023 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9024}
9025static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9026 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9027}
44127b65
RD
9028static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9029 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9030}
9031static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9032 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9033}
9034static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9035 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9036}
9037static void *_p_wxButtonTo_p_wxWindow(void *x) {
9038 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9039}
9040static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9041 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9042}
9043static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9044 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9045}
9046static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9047 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9048}
9049static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9050 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
9051}
9052static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9053 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9054}
9055static void *_p_wxFrameTo_p_wxWindow(void *x) {
9056 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9057}
9058static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9059 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9060}
9061static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9062 return (void *)((wxWindow *) ((wxStatusBar *) x));
9063}
9064static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9065 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9066}
6260902d
RD
9067static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9068 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9069}
a2482628
RD
9070static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9071 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9072}
070c48b4
RD
9073static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9074 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9075}
44127b65
RD
9076static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9077 return (void *)((wxWindow *) ((wxSashWindow *) x));
9078}
9079static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9080 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9081}
9082static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9083 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9084}
9085static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9086 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9087}
9088static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9089 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9090}
9091static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9092 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9093}
9094static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9095 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9096}
9097static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9098 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9099}
9100static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9101 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9102}
9103static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9104 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9105}
44127b65
RD
9106static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9107 return (void *)((wxWindow *) ((wxMenuBar *) x));
9108}
9109static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9110 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9111}
9112static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9113 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9114}
9115static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9116 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9117}
9118static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9119 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9120}
44127b65
RD
9121static void *_p_wxDialogTo_p_wxWindow(void *x) {
9122 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9123}
9124static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9125 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9126}
9127static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9128 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9129}
9130static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9132}
9133static void *_p_wxPanelTo_p_wxWindow(void *x) {
9134 return (void *)((wxWindow *) ((wxPanel *) x));
9135}
9136static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9137 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9138}
9139static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9140 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9141}
9142static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9143 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9144}
53aa7709
RD
9145static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9146 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9147}
44127b65
RD
9148static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9149 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9150}
9151static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9152 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9153}
9154static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9155 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9156}
a2482628
RD
9157static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9158 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9159}
44127b65
RD
9160static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9161 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9162}
9163static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9164 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9165}
6e0de3df
RD
9166static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9167 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
9168}
9169static void *_p_wxToolBarTo_p_wxControl(void *x) {
9170 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9171}
9172static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9173 return (void *)((wxControl *) ((wxToggleButton *) x));
9174}
9175static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9176 return (void *)((wxControl *) ((wxRadioButton *) x));
9177}
9178static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9179 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9180}
9181static void *_p_wxPyControlTo_p_wxControl(void *x) {
9182 return (void *)((wxControl *) ((wxPyControl *) x));
9183}
9184static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9185 return (void *)((wxControl *) ((wxToolBarBase *) x));
9186}
9187static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9188 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9189}
9190static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9191 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9192}
9193static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9194 return (void *)((wxControl *) ((wxComboBox *) x));
9195}
9196static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9197 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9198}
9199static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9200 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9201}
9202static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9203 return (void *)((wxControl *) ((wxScrollBar *) x));
9204}
9205static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9206 return (void *)((wxControl *) ((wxControlWithItems *) x));
9207}
9208static void *_p_wxGaugeTo_p_wxControl(void *x) {
9209 return (void *)((wxControl *) ((wxGauge *) x));
9210}
9211static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9212 return (void *)((wxControl *) ((wxStaticLine *) x));
9213}
b411df4a 9214static void *_p_wxChoicebookTo_p_wxControl(void *x) {
6e0de3df 9215 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 9216}
44127b65 9217static void *_p_wxListbookTo_p_wxControl(void *x) {
6e0de3df 9218 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 9219}
44127b65
RD
9220static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9221 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9222}
b411df4a
RD
9223static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9224 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9225}
44127b65
RD
9226static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9227 return (void *)((wxControl *) ((wxCheckBox *) x));
9228}
9229static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9230 return (void *)((wxControl *) ((wxRadioBox *) x));
9231}
9232static void *_p_wxChoiceTo_p_wxControl(void *x) {
9233 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9234}
9235static void *_p_wxListBoxTo_p_wxControl(void *x) {
9236 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9237}
9238static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9239 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9240}
9241static void *_p_wxListViewTo_p_wxControl(void *x) {
9242 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9243}
9244static void *_p_wxNotebookTo_p_wxControl(void *x) {
6e0de3df 9245 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
9246}
9247static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9248 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9249}
9250static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9251 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9252}
9253static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9254 return (void *)((wxControl *) ((wxStaticText *) x));
9255}
9256static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9257 return (void *)((wxControl *) ((wxStaticBox *) x));
9258}
9259static void *_p_wxSliderTo_p_wxControl(void *x) {
9260 return (void *)((wxControl *) ((wxSlider *) x));
9261}
9262static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9263 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9264}
9265static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9266 return (void *)((wxControl *) ((wxSpinButton *) x));
9267}
9268static void *_p_wxButtonTo_p_wxControl(void *x) {
9269 return (void *)((wxControl *) ((wxButton *) x));
9270}
9271static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9272 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9273}
53aa7709
RD
9274static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9275 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9276}
6260902d
RD
9277static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9278 return (void *)((wxControl *) ((wxStaticPicture *) x));
9279}
44127b65
RD
9280static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9281 return (void *)((wxControl *) ((wxTextCtrl *) x));
9282}
4cf4100f
RD
9283static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9284 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9285}
44127b65
RD
9286static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9288}
9289static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9290 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9291}
9292static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9293 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9294}
9295static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9296 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9297}
9298static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9299 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9300}
6e0de3df
RD
9301static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9302 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9303}
44127b65
RD
9304static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9305 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9306}
9307static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9308 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9309}
9310static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9311 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9312}
9313static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9314 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9315}
9316static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9317 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9318}
9319static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9320 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9321}
9322static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9323 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9324}
44127b65
RD
9325static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9326 return (void *)((wxEvent *) ((wxPyEvent *) x));
9327}
9328static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9329 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9330}
9331static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9332 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9333}
9334static void *_p_wxListEventTo_p_wxEvent(void *x) {
9335 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9336}
9337static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9338 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9339}
9340static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9341 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9342}
9343static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
6e0de3df 9344 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
9345}
9346static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
6e0de3df 9347 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 9348}
b411df4a 9349static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
6e0de3df 9350 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 9351}
44127b65
RD
9352static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9353 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9354}
9355static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9356 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9357}
9358static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9359 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9360}
9361static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9362 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9363}
9364static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9365 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9366}
9367static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9368 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9369}
9370static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9371 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9372}
9373static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9374 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9375}
9376static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9377 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9378}
53aa7709
RD
9379static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9380 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9381}
44127b65
RD
9382static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9383 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9384}
9385static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9386 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9387}
9388static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9389 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9390}
9391static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9392 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9393}
9394static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9395 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9396}
9397static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9398 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9399}
9400static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9401 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9402}
9403static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9404 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9405}
9406static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9407 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9408}
9409static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9410 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9411}
9412static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9413 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9414}
9415static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9416 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9417}
9418static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9419 return (void *)((wxEvent *) ((wxShowEvent *) x));
9420}
9421static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9422 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9423}
9424static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9425 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9426}
9427static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9428 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9429}
9430static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9431 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9432}
9433static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9434 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9435}
9436static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9437 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9438}
9439static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9440 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9441}
2dbef272
RD
9442static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9443 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9444}
44127b65
RD
9445static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9447}
9448static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9449 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9450}
9451static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9453}
9454static void *_p_wxEventTo_p_wxObject(void *x) {
9455 return (void *)((wxObject *) ((wxEvent *) x));
9456}
44127b65
RD
9457static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9458 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9459}
9460static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9461 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9462}
9463static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9464 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9465}
9466static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9467 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9468}
9469static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9470 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9471}
9472static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9473 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9474}
9475static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9476 return (void *)((wxObject *) ((wxMenuItem *) x));
9477}
9478static void *_p_wxImageTo_p_wxObject(void *x) {
9479 return (void *)((wxObject *) ((wxImage *) x));
9480}
9481static void *_p_wxPySizerTo_p_wxObject(void *x) {
9482 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9483}
9484static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9485 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9486}
9487static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9488 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9489}
9490static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9491 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
9492}
84f85550
RD
9493static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9494 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
9495}
9496static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9497 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9498}
9499static void *_p_wxPyAppTo_p_wxObject(void *x) {
9500 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9501}
9502static void *_p_wxNotebookTo_p_wxObject(void *x) {
6e0de3df 9503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
9504}
9505static void *_p_wxListItemTo_p_wxObject(void *x) {
9506 return (void *)((wxObject *) ((wxListItem *) x));
9507}
b411df4a 9508static void *_p_wxChoicebookTo_p_wxObject(void *x) {
6e0de3df
RD
9509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9510}
9511static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
b411df4a 9513}
44127b65
RD
9514static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
9515 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
9516}
9517static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9519}
9520static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9522}
9523static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9525}
9526static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9528}
9529static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9530 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9531}
9532static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9534}
9535static void *_p_wxValidatorTo_p_wxObject(void *x) {
9536 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9537}
9538static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9539 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9540}
9541static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9542 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9543}
9544static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9545 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9546}
9547static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9548 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9549}
53aa7709
RD
9550static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9552}
44127b65
RD
9553static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9555}
44127b65
RD
9556static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9558}
9559static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9561}
9562static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9563 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9564}
9565static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9566 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9567}
9568static void *_p_wxPrinterTo_p_wxObject(void *x) {
9569 return (void *)((wxObject *) ((wxPrinter *) x));
9570}
9571static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9573}
9574static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9576}
9577static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9578 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9579}
9580static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9581 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9582}
9583static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9584 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9585}
9586static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9587 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9588}
9589static void *_p_wxControlTo_p_wxObject(void *x) {
9590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9591}
9592static void *_p_wxPyControlTo_p_wxObject(void *x) {
9593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9594}
9595static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9596 return (void *)((wxObject *) ((wxContextHelp *) x));
9597}
9598static void *_p_wxColourDataTo_p_wxObject(void *x) {
9599 return (void *)((wxObject *) ((wxColourData *) x));
9600}
9601static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9602 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9603}
9604static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9605 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9606}
9607static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9608 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9609}
9610static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9611 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9612}
9613static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9614 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9615}
9616static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9617 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9618}
9619static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9620 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9621}
9622static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9623 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9624}
53aa7709
RD
9625static void *_p_wxDateEventTo_p_wxObject(void *x) {
9626 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9627}
44127b65
RD
9628static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9629 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9630}
9631static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9632 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9633}
9634static void *_p_wxListEventTo_p_wxObject(void *x) {
9635 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9636}
9637static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9638 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9639}
9640static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9641 return (void *)((wxObject *) ((wxPyPrintout *) x));
9642}
9643static void *_p_wxGaugeTo_p_wxObject(void *x) {
9644 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9645}
9646static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9648}
51b83b37
RD
9649static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9650 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9651}
44127b65
RD
9652static void *_p_wxChoiceTo_p_wxObject(void *x) {
9653 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9654}
9655static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9656 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9657}
9658static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9659 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9660}
9661static void *_p_wxButtonTo_p_wxObject(void *x) {
9662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9663}
9664static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9666}
9667static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9668 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9669}
9670static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9671 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9672}
9673static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9674 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9675}
9676static void *_p_wxSashEventTo_p_wxObject(void *x) {
9677 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9678}
9679static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9681}
9682static void *_p_wxListBoxTo_p_wxObject(void *x) {
9683 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9684}
9685static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9686 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9687}
9688static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9690}
9691static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9692 return (void *)((wxObject *) ((wxPrintData *) x));
9693}
9694static void *_p_wxFontDataTo_p_wxObject(void *x) {
9695 return (void *)((wxObject *) ((wxFontData *) x));
9696}
9697static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9699}
9700static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9701 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9702}
9703static void *_p_wxListbookTo_p_wxObject(void *x) {
6e0de3df 9704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
9705}
9706static void *_p_wxFrameTo_p_wxObject(void *x) {
9707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9708}
9709static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9711}
9712static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
9713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
9714}
9715static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9716 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9717}
9718static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
9719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9720}
9721static void *_p_wxFileSystemTo_p_wxObject(void *x) {
9722 return (void *)((wxObject *) ((wxFileSystem *) x));
9723}
9724static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
9725 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
9726}
9727static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
9728 return (void *)((wxObject *) ((wxPrintPreview *) x));
9729}
9730static void *_p_wxListViewTo_p_wxObject(void *x) {
9731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9732}
9733static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
9734 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
9735}
9736static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
9737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
9738}
9739static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
9740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9741}
9742static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
9743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
9744}
9745static void *_p_wxSizerTo_p_wxObject(void *x) {
9746 return (void *)((wxObject *) ((wxSizer *) x));
9747}
9748static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
9749 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
9750}
9751static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
9752 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
9753}
9754static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
9755 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
9756}
9757static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
9758 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
9759}
9760static void *_p_wxPaintEventTo_p_wxObject(void *x) {
9761 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
9762}
9763static void *_p_wxFSFileTo_p_wxObject(void *x) {
9764 return (void *)((wxObject *) ((wxFSFile *) x));
9765}
9766static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
9767 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9768}
9769static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
9770 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
9771}
9772static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
9773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
9774}
9775static void *_p_wxMenuTo_p_wxObject(void *x) {
9776 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
9777}
9778static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
9779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
9780}
9781static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
9782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
9783}
9784static void *_p_wxSizerItemTo_p_wxObject(void *x) {
9785 return (void *)((wxObject *) ((wxSizerItem *) x));
9786}
9787static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
9788 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
9789}
9790static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 9791 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
9792}
9793static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
6e0de3df 9794 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
9795}
9796static void *_p_wxFontDialogTo_p_wxObject(void *x) {
9797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9798}
9799static void *_p_wxDirDialogTo_p_wxObject(void *x) {
9800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9801}
9802static void *_p_wxColourDialogTo_p_wxObject(void *x) {
9803 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9804}
9805static void *_p_wxDialogTo_p_wxObject(void *x) {
9806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
9807}
9808static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
9809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
9810}
9811static void *_p_wxPyEventTo_p_wxObject(void *x) {
9812 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
9813}
9814static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
9815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
9816}
9817static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
9818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9819}
6260902d
RD
9820static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
9821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
9822}
44127b65
RD
9823static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
9824 return (void *)((wxObject *) ((wxEvtHandler *) x));
9825}
9826static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
9827 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
9828}
9829static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
9830 return (void *)((wxObject *) ((wxImageHandler *) x));
9831}
9832static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
9833 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
9834}
9835static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
9836 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
9837}
9838static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
9839 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
9840}
9841static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
9842 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
9843}
9844static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
9845 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
9846}
9847static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
9848 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
9849}
9850static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
9851 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
9852}
9853static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
9854 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9855}
9856static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
9857 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
9858}
9859static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
9860 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
9861}
9862static void *_p_wxShowEventTo_p_wxObject(void *x) {
9863 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
9864}
a2482628
RD
9865static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
9866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9867}
44127b65
RD
9868static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
9869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
9870}
9871static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
9872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
9873}
9874static void *_p_wxTipWindowTo_p_wxObject(void *x) {
9875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9876}
9877static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
9878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9879}
9880static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
9881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
9882}
9883static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
9884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
9885}
9886static void *_p_wxSashWindowTo_p_wxObject(void *x) {
9887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
9888}
9889static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
9890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
9891}
9892static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
9893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
9894}
9895static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
9896 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
9897}
44127b65
RD
9898static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
9899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
9900}
41f1cec7
RD
9901static void *_p_wxWindowTo_p_wxObject(void *x) {
9902 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
9903}
44127b65
RD
9904static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
9905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
9906}
9907static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
9908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
9909}
9910static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
9911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9912}
9913static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
9914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9915}
9916static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
9917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
9918}
44127b65 9919static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
6e0de3df 9920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 9921}
2dbef272 9922static void *_p_wxListbookEventTo_p_wxObject(void *x) {
6e0de3df 9923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
2dbef272 9924}
b411df4a 9925static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
6e0de3df 9926 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 9927}
44127b65
RD
9928static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
9929 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
9930}
9931static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
9932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9933}
9934static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
9935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9936}
9937static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
9938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9939}
070c48b4
RD
9940static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
9941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9942}
44127b65
RD
9943static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
9944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9945}
9946static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
9947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9948}
9949static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
9950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9951}
9952static void *_p_wxFileDialogTo_p_wxObject(void *x) {
9953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9954}
9955static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
9956 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
9957}
9958static void *_p_wxSliderTo_p_wxObject(void *x) {
9959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
9960}
9961static void *_p_wxPyWindowTo_p_wxObject(void *x) {
9962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
9963}
53aa7709
RD
9964static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
9965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
9966}
44127b65
RD
9967static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
9968 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
9969}
9970static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
9971 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9972}
9973static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
9974 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
9975}
9976static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
9977 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
9978}
9979static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
9980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
9981}
9982static void *_p_wxHelpEventTo_p_wxObject(void *x) {
9983 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
9984}
9985static void *_p_wxPanelTo_p_wxObject(void *x) {
9986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
9987}
2dbef272
RD
9988static void *_p_wxSpinEventTo_p_wxObject(void *x) {
9989 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9990}
44127b65
RD
9991static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
9992 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
9993}
9994static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
9995 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
9996}
9997static void *_p_wxMenuEventTo_p_wxObject(void *x) {
9998 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
9999}
10000static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10001 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10002}
10003static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10005}
10006static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10007 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10008}
10009static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10011}
10012static void *_p_wxToolBarTo_p_wxObject(void *x) {
10013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10014}
10015static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10017}
10018static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10019 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10020}
10021static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10022 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10023}
10024static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10025 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10026}
10027static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10029}
10030static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10032}
10033static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10034 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10035}
10036static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10037 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10038}
10039static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10040 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10041}
10042static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10043 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10044}
10045static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10046 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10047}
10048static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10049 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10050}
84f85550
RD
10051static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10052 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
10053}
10054static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10055 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10056}
10057static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10058 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10059}
10060static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10061 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10062}
10063static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10064 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10065}
10066static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10067 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10068}
10069static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10070 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10071}
10072static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10073 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10074}
10075static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10076 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10077}
10078static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10079 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10080}
6e0de3df
RD
10081static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10083}
44127b65
RD
10084static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10086}
10087static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10089}
10090static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10092}
10093static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10095}
10096static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10098}
10099static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
6e0de3df 10100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
10101}
10102static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10103 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10104}
b411df4a 10105static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
6e0de3df 10106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
b411df4a 10107}
44127b65
RD
10108static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10109 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10110}
10111static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10112 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10113}
10114static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
6e0de3df 10115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
10116}
10117static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10118 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10119}
10120static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10121 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10122}
10123static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10124 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10125}
10126static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10127 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10128}
10129static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10130 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10131}
10132static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10133 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10134}
10135static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10136 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10137}
070c48b4
RD
10138static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10140}
44127b65
RD
10141static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10143}
10144static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10146}
10147static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10149}
6e0de3df
RD
10150static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10152}
44127b65
RD
10153static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10155}
10156static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10158}
10159static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10160 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10161}
10162static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10163 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10164}
10165static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10166 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10167}
44127b65
RD
10168static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10170}
10171static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10173}
10174static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10176}
10177static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10179}
10180static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10182}
10183static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10185}
10186static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10188}
10189static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
10191}
10192static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10194}
10195static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10196 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10197}
10198static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10200}
10201static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10202 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10203}
10204static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10205 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10206}
6260902d
RD
10207static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10208 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10209}
a2482628
RD
10210static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10211 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10212}
44127b65
RD
10213static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10214 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10215}
10216static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10217 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10218}
10219static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10220 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10221}
10222static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10223 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10224}
10225static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10227}
10228static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10229 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10230}
10231static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10232 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10233}
10234static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10235 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10236}
10237static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10238 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10239}
10240static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10241 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10242}
10243static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10244 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10245}
10246static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10247 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10248}
10249static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10250 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10251}
10252static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10253 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10254}
10255static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10256 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10257}
10258static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10259 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10260}
10261static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10262 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10263}
10264static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10265 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10266}
070c48b4
RD
10267static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10268 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10269}
44127b65
RD
10270static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10271 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10272}
10273static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10274 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10275}
10276static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10278}
44127b65
RD
10279static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10280 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10281}
10282static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10283 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10284}
10285static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10286 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10287}
10288static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10289 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10290}
10291static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10292 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10293}
53aa7709
RD
10294static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10295 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10296}
44127b65
RD
10297static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10298 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10299}
10300static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10301 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10302}
10303static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10304 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10305}
10306static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10307 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10308}
10309static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10310 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10311}
10312static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10313 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10314}
10315static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10316 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10317}
10318static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10319 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10320}
44127b65
RD
10321static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10322 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10323}
10324static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10325 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10326}
10327static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10328 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10329}
10330static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10331 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10332}
10333static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10334 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10335}
10336static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 10337 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
10338}
10339static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 10340 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 10341}
b411df4a 10342static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
6e0de3df 10343 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
b411df4a 10344}
53aa7709
RD
10345static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10346 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10347}
44127b65
RD
10348static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10349 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10350}
10351static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10352 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10353}
10354static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10355 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10356}
6e0de3df
RD
10357static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10358 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10359}
44127b65
RD
10360static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10361 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10362}
2dbef272
RD
10363static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10364 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10365}
44127b65
RD
10366static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10367 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10368}
10369static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10370 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10371}
10372static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10373 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10374}
10375static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10376 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10377}
10378static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10379 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10380}
2f4c0a16 10381static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0, 0, 0, 0},{"_p_wxColour", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 10382static swig_type_info _swigt__p_wxTreeListColumnInfo[] = {{"_p_wxTreeListColumnInfo", 0, "wxTreeListColumnInfo *", 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10383static swig_type_info _swigt__p_form_ops_t[] = {{"_p_form_ops_t", 0, "enum form_ops_t *|form_ops_t *", 0, 0, 0, 0},{"_p_form_ops_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10384static swig_type_info _swigt__p_wxDuplexMode[] = {{"_p_wxDuplexMode", 0, "enum wxDuplexMode *|wxDuplexMode *", 0, 0, 0, 0},{"_p_wxDuplexMode", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 10385static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0, 0, 0, 0},{"_p_wxValidator", 0, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 10386static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0, 0, 0, 0},{"_p_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 10387static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0, 0, 0, 0},{"_p_wxPanel", 0, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 10388static swig_type_info _swigt__p_wxDynamicSashUnifyEvent[] = {{"_p_wxDynamicSashUnifyEvent", 0, "wxDynamicSashUnifyEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10389static swig_type_info _swigt__p_wxDynamicSashSplitEvent[] = {{"_p_wxDynamicSashSplitEvent", 0, "wxDynamicSashSplitEvent *", 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10390static swig_type_info _swigt__p_wxLEDNumberCtrl[] = {{"_p_wxLEDNumberCtrl", 0, "wxLEDNumberCtrl *", 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10391static swig_type_info _swigt__p_wxSplitterScrolledWindow[] = {{"_p_wxSplitterScrolledWindow", 0, "wxSplitterScrolledWindow *", 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10392static swig_type_info _swigt__p_wxThinSplitterWindow[] = {{"_p_wxThinSplitterWindow", 0, "wxThinSplitterWindow *", 0, 0, 0, 0},{"_p_wxThinSplitterWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10393static swig_type_info _swigt__p_wxPyTreeCompanionWindow[] = {{"_p_wxPyTreeCompanionWindow", 0, "wxPyTreeCompanionWindow *", 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10394static swig_type_info _swigt__p_wxDynamicSashWindow[] = {{"_p_wxDynamicSashWindow", 0, "wxDynamicSashWindow *", 0, 0, 0, 0},{"_p_wxDynamicSashWindow", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10395static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxWindow", 0, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10396static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0, 0, 0, 0},{"_p_wxSplitterWindow", 0, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10397static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0, 0, 0, 0},{"_p_wxScrolledWindow", 0, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10398static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0, 0, 0, 0},{"_p_wxFont", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10399static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControl", 0, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxControl, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10400static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0, 0, 0, 0},{"_p_wxPyListCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10401static swig_type_info _swigt__p_wxPyTreeListCtrl[] = {{"_p_wxPyTreeListCtrl", 0, "wxPyTreeListCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 10402static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxEvent", 0, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d
RD
10403static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvent", _p_wxEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImage", _p_wxImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListItem", _p_wxListItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxObject", 0, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTreeListColumnInfo", _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStdDialogButtonSizer", _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizer", _p_wxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10404static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0, 0, 0, 0},{"_p_wxBitmap", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10405static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0, 0, 0, 0},{"_p_wxScrollBar", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10406static swig_type_info _swigt__p_wxPaperSize[] = {{"_p_wxPaperSize", 0, "enum wxPaperSize *|wxPaperSize *", 0, 0, 0, 0},{"_p_wxPaperSize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10407static swig_type_info _swigt__p_unsigned_int[] = {{"_p_unsigned_int", 0, "unsigned int *|time_t *", 0, 0, 0, 0},{"_p_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10408static swig_type_info _swigt__unsigned_int[] = {{"_unsigned_int", 0, "unsigned int|std::size_t", 0, 0, 0, 0},{"_unsigned_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10409static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0, 0, 0, 0},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTaskBarIcon", _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeListCtrl", _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxChoicebook", _p_wxChoicebookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPasswordEntryDialog", _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBase", _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEvtHandler", 0, 0, 0, 0, 0, 0},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxEditableListBox", _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxLEDNumberCtrl", _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticPicture", _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxThinSplitterWindow", _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyTreeCompanionWindow", _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDynamicSashWindow", _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyScrolledWindow", _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxSplitterScrolledWindow", _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxDatePickerCtrl", _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10410static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl[] = {{"_p_wxRemotelyScrolledTreeCtrl", 0, "wxRemotelyScrolledTreeCtrl *", 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10411static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0, 0, 0, 0},{"_p_wxPyTreeCtrl", 0, 0, 0, 0, 0, 0},{"_p_wxRemotelyScrolledTreeCtrl", _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10412static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0, 0, 0, 0},{"_p_wxImageList", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10413static swig_type_info _swigt__p_unsigned_char[] = {{"_p_unsigned_char", 0, "unsigned char *|byte *", 0, 0, 0, 0},{"_p_unsigned_char", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10414static swig_type_info _swigt__p_wxEditableListBox[] = {{"_p_wxEditableListBox", 0, "wxEditableListBox *", 0, 0, 0, 0},{"_p_wxEditableListBox", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10415static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0, 0, 0, 0},{"_p_wxIcon", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51
RD
10416static swig_type_info _swigt__ptrdiff_t[] = {{"_ptrdiff_t", 0, "ptrdiff_t", 0, 0, 0, 0},{"_ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10417static swig_type_info _swigt__std__ptrdiff_t[] = {{"_std__ptrdiff_t", 0, "std::ptrdiff_t", 0, 0, 0, 0},{"_std__ptrdiff_t", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
10418static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0, 0, 0, 0},{"_p_wxArrayString", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
53aa7709 10419static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0, 0, 0, 0},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxCommandEvent", 0, 0, 0, 0, 0, 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxChoicebookEvent", _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDateEvent", _p_wxDateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashSplitEvent", _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxBookCtrlBaseEvent", _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxSpinEvent", _p_wxSpinEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxDynamicSashUnifyEvent", _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 10420static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0, 0, 0, 0},{"_p_wxTreeItemId", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10421static swig_type_info _swigt__p_float[] = {{"_p_float", 0, "float *", 0, 0, 0, 0},{"_p_float", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16 10422static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0, 0, 0, 0},{"_p_int", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 10423static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *|wxUIntPtr *", 0, 0, 0, 0},{"_p_unsigned_long", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
6260902d 10424static swig_type_info _swigt__p_wxStaticPicture[] = {{"_p_wxStaticPicture", 0, "wxStaticPicture *", 0, 0, 0, 0},{"_p_wxStaticPicture", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
36ed4f51 10425static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0, 0, 0, 0},{"_p_wxPyTreeItemData", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
44127b65
RD
10426
10427static swig_type_info *swig_types_initial[] = {
44127b65 10428_swigt__p_wxColour,
44127b65 10429_swigt__p_wxTreeListColumnInfo,
36ed4f51
RD
10430_swigt__p_form_ops_t,
10431_swigt__p_wxDuplexMode,
44127b65 10432_swigt__p_wxValidator,
8edf1c75 10433_swigt__p_char,
36ed4f51 10434_swigt__p_wxPanel,
44127b65 10435_swigt__p_wxDynamicSashUnifyEvent,
36ed4f51
RD
10436_swigt__p_wxDynamicSashSplitEvent,
10437_swigt__p_wxLEDNumberCtrl,
10438_swigt__p_wxSplitterScrolledWindow,
10439_swigt__p_wxThinSplitterWindow,
10440_swigt__p_wxPyTreeCompanionWindow,
10441_swigt__p_wxDynamicSashWindow,
10442_swigt__p_wxWindow,
10443_swigt__p_wxSplitterWindow,
10444_swigt__p_wxScrolledWindow,
10445_swigt__p_wxFont,
44127b65 10446_swigt__p_wxControl,
36ed4f51
RD
10447_swigt__p_wxPyListCtrl,
10448_swigt__p_wxPyTreeListCtrl,
44127b65 10449_swigt__p_wxEvent,
36ed4f51 10450_swigt__p_wxObject,
6260902d 10451_swigt__p_wxBitmap,
36ed4f51
RD
10452_swigt__p_wxScrollBar,
10453_swigt__p_wxPaperSize,
10454_swigt__p_unsigned_int,
10455_swigt__unsigned_int,
10456_swigt__p_wxEvtHandler,
10457_swigt__p_wxRemotelyScrolledTreeCtrl,
10458_swigt__p_wxPyTreeCtrl,
10459_swigt__p_wxImageList,
10460_swigt__p_unsigned_char,
10461_swigt__p_wxEditableListBox,
6260902d 10462_swigt__p_wxIcon,
36ed4f51
RD
10463_swigt__ptrdiff_t,
10464_swigt__std__ptrdiff_t,
10465_swigt__p_wxArrayString,
10466_swigt__p_wxCommandEvent,
10467_swigt__p_wxTreeItemId,
6260902d 10468_swigt__p_float,
44127b65 10469_swigt__p_int,
36ed4f51 10470_swigt__p_unsigned_long,
6260902d 10471_swigt__p_wxStaticPicture,
36ed4f51 10472_swigt__p_wxPyTreeItemData,
44127b65
RD
104730
10474};
10475
10476
10477/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
10478
10479static swig_const_info swig_const_table[] = {
c370783e 10480{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
10481
10482#ifdef __cplusplus
10483}
10484#endif
10485
36ed4f51
RD
10486
10487#ifdef __cplusplus
10488extern "C" {
10489#endif
10490
10491 /* Python-specific SWIG API */
10492#define SWIG_newvarlink() SWIG_Python_newvarlink()
10493#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
10494#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
10495
10496 /* -----------------------------------------------------------------------------
10497 * global variable support code.
10498 * ----------------------------------------------------------------------------- */
10499
10500 typedef struct swig_globalvar {
10501 char *name; /* Name of global variable */
10502 PyObject *(*get_attr)(); /* Return the current value */
10503 int (*set_attr)(PyObject *); /* Set the value */
10504 struct swig_globalvar *next;
10505 } swig_globalvar;
10506
10507 typedef struct swig_varlinkobject {
10508 PyObject_HEAD
10509 swig_globalvar *vars;
10510 } swig_varlinkobject;
10511
10512 static PyObject *
10513 swig_varlink_repr(swig_varlinkobject *v) {
10514 v = v;
10515 return PyString_FromString("<Swig global variables>");
10516 }
10517
10518 static int
10519 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
10520 swig_globalvar *var;
10521 flags = flags;
10522 fprintf(fp,"Swig global variables { ");
10523 for (var = v->vars; var; var=var->next) {
10524 fprintf(fp,"%s", var->name);
10525 if (var->next) fprintf(fp,", ");
10526 }
10527 fprintf(fp," }\n");
10528 return 0;
10529 }
10530
10531 static PyObject *
10532 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
10533 swig_globalvar *var = v->vars;
10534 while (var) {
10535 if (strcmp(var->name,n) == 0) {
10536 return (*var->get_attr)();
10537 }
10538 var = var->next;
10539 }
10540 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
10541 return NULL;
10542 }
10543
10544 static int
10545 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
10546 swig_globalvar *var = v->vars;
10547 while (var) {
10548 if (strcmp(var->name,n) == 0) {
10549 return (*var->set_attr)(p);
10550 }
10551 var = var->next;
10552 }
10553 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
10554 return 1;
10555 }
10556
10557 static PyTypeObject varlinktype = {
10558 PyObject_HEAD_INIT(0)
10559 0, /* Number of items in variable part (ob_size) */
10560 (char *)"swigvarlink", /* Type name (tp_name) */
10561 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
10562 0, /* Itemsize (tp_itemsize) */
10563 0, /* Deallocator (tp_dealloc) */
10564 (printfunc) swig_varlink_print, /* Print (tp_print) */
10565 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
10566 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
10567 0, /* tp_compare */
10568 (reprfunc) swig_varlink_repr, /* tp_repr */
10569 0, /* tp_as_number */
10570 0, /* tp_as_sequence */
10571 0, /* tp_as_mapping */
10572 0, /* tp_hash */
10573 0, /* tp_call */
10574 0, /* tp_str */
10575 0, /* tp_getattro */
10576 0, /* tp_setattro */
10577 0, /* tp_as_buffer */
10578 0, /* tp_flags */
10579 0, /* tp_doc */
10580#if PY_VERSION_HEX >= 0x02000000
10581 0, /* tp_traverse */
10582 0, /* tp_clear */
10583#endif
10584#if PY_VERSION_HEX >= 0x02010000
10585 0, /* tp_richcompare */
10586 0, /* tp_weaklistoffset */
10587#endif
10588#if PY_VERSION_HEX >= 0x02020000
10589 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
10590#endif
10591#if PY_VERSION_HEX >= 0x02030000
10592 0, /* tp_del */
10593#endif
10594#ifdef COUNT_ALLOCS
10595 0,0,0,0 /* tp_alloc -> tp_next */
10596#endif
10597 };
10598
10599 /* Create a variable linking object for use later */
10600 static PyObject *
10601 SWIG_Python_newvarlink(void) {
10602 swig_varlinkobject *result = 0;
10603 result = PyMem_NEW(swig_varlinkobject,1);
10604 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
10605 result->ob_type = &varlinktype;
10606 result->vars = 0;
10607 result->ob_refcnt = 0;
10608 Py_XINCREF((PyObject *) result);
10609 return ((PyObject*) result);
10610 }
10611
10612 static void
10613 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
10614 swig_varlinkobject *v;
10615 swig_globalvar *gv;
10616 v= (swig_varlinkobject *) p;
10617 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
10618 gv->name = (char *) malloc(strlen(name)+1);
10619 strcpy(gv->name,name);
10620 gv->get_attr = get_attr;
10621 gv->set_attr = set_attr;
10622 gv->next = v->vars;
10623 v->vars = gv;
10624 }
10625
10626 /* -----------------------------------------------------------------------------
10627 * constants/methods manipulation
10628 * ----------------------------------------------------------------------------- */
10629
10630 /* Install Constants */
10631 static void
10632 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
10633 PyObject *obj = 0;
10634 size_t i;
10635 for (i = 0; constants[i].type; i++) {
10636 switch(constants[i].type) {
10637 case SWIG_PY_INT:
10638 obj = PyInt_FromLong(constants[i].lvalue);
10639 break;
10640 case SWIG_PY_FLOAT:
10641 obj = PyFloat_FromDouble(constants[i].dvalue);
10642 break;
10643 case SWIG_PY_STRING:
10644 if (constants[i].pvalue) {
10645 obj = PyString_FromString((char *) constants[i].pvalue);
10646 } else {
10647 Py_INCREF(Py_None);
10648 obj = Py_None;
10649 }
10650 break;
10651 case SWIG_PY_POINTER:
10652 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
10653 break;
10654 case SWIG_PY_BINARY:
10655 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
10656 break;
10657 default:
10658 obj = 0;
10659 break;
10660 }
10661 if (obj) {
10662 PyDict_SetItemString(d,constants[i].name,obj);
10663 Py_DECREF(obj);
10664 }
10665 }
10666 }
10667
10668 /* -----------------------------------------------------------------------------*/
10669 /* Fix SwigMethods to carry the callback ptrs when needed */
10670 /* -----------------------------------------------------------------------------*/
10671
10672 static void
10673 SWIG_Python_FixMethods(PyMethodDef *methods,
10674 swig_const_info *const_table,
10675 swig_type_info **types,
10676 swig_type_info **types_initial) {
10677 size_t i;
10678 for (i = 0; methods[i].ml_name; ++i) {
10679 char *c = methods[i].ml_doc;
10680 if (c && (c = strstr(c, "swig_ptr: "))) {
10681 int j;
10682 swig_const_info *ci = 0;
10683 char *name = c + 10;
10684 for (j = 0; const_table[j].type; j++) {
10685 if (strncmp(const_table[j].name, name,
10686 strlen(const_table[j].name)) == 0) {
10687 ci = &(const_table[j]);
10688 break;
10689 }
10690 }
10691 if (ci) {
10692 size_t shift = (ci->ptype) - types;
10693 swig_type_info *ty = types_initial[shift];
10694 size_t ldoc = (c - methods[i].ml_doc);
10695 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
10696 char *ndoc = (char*)malloc(ldoc + lptr + 10);
10697 char *buff = ndoc;
10698 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
10699 strncpy(buff, methods[i].ml_doc, ldoc);
10700 buff += ldoc;
10701 strncpy(buff, "swig_ptr: ", 10);
10702 buff += 10;
10703 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
10704 methods[i].ml_doc = ndoc;
10705 }
10706 }
10707 }
10708 }
10709
10710 /* -----------------------------------------------------------------------------*
10711 * Initialize type list
10712 * -----------------------------------------------------------------------------*/
10713
10714#if PY_MAJOR_VERSION < 2
10715 /* PyModule_AddObject function was introduced in Python 2.0. The following function
10716 is copied out of Python/modsupport.c in python version 2.3.4 */
10717 static int
10718 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
10719 {
10720 PyObject *dict;
10721 if (!PyModule_Check(m)) {
10722 PyErr_SetString(PyExc_TypeError,
10723 "PyModule_AddObject() needs module as first arg");
10724 return -1;
10725 }
10726 if (!o) {
10727 PyErr_SetString(PyExc_TypeError,
10728 "PyModule_AddObject() needs non-NULL value");
10729 return -1;
10730 }
10731
10732 dict = PyModule_GetDict(m);
10733 if (dict == NULL) {
10734 /* Internal error -- modules must have a dict! */
10735 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
10736 PyModule_GetName(m));
10737 return -1;
10738 }
10739 if (PyDict_SetItemString(dict, name, o))
10740 return -1;
10741 Py_DECREF(o);
10742 return 0;
10743 }
10744#endif
10745
10746 static swig_type_info **
10747 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
10748 static PyMethodDef swig_empty_runtime_method_table[] = {
10749 {
10750 NULL, NULL, 0, NULL
10751 }
10752 };/* Sentinel */
10753
10754 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
10755 swig_empty_runtime_method_table);
10756 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
10757 if (pointer && module) {
10758 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
10759 }
10760 return type_list_handle;
10761 }
10762
10763 static swig_type_info **
10764 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
10765 swig_type_info **type_pointer;
10766
10767 /* first check if module already created */
10768 type_pointer = SWIG_Python_GetTypeListHandle();
10769 if (type_pointer) {
10770 return type_pointer;
10771 } else {
10772 /* create a new module and variable */
10773 return SWIG_Python_SetTypeListHandle(type_list_handle);
10774 }
10775 }
10776
10777#ifdef __cplusplus
10778}
10779#endif
10780
10781/* -----------------------------------------------------------------------------*
10782 * Partial Init method
10783 * -----------------------------------------------------------------------------*/
10784
10785#ifdef SWIG_LINK_RUNTIME
10786#ifdef __cplusplus
10787extern "C"
10788#endif
10789SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
10790#endif
10791
44127b65
RD
10792#ifdef __cplusplus
10793extern "C"
10794#endif
10795SWIGEXPORT(void) SWIG_init(void) {
10796 static PyObject *SWIG_globals = 0;
10797 static int typeinit = 0;
10798 PyObject *m, *d;
10799 int i;
10800 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
36ed4f51
RD
10801
10802 /* Fix SwigMethods to carry the callback ptrs when needed */
10803 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
10804
44127b65
RD
10805 m = Py_InitModule((char *) SWIG_name, SwigMethods);
10806 d = PyModule_GetDict(m);
10807
10808 if (!typeinit) {
36ed4f51
RD
10809#ifdef SWIG_LINK_RUNTIME
10810 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
10811#else
10812# ifndef SWIG_STATIC_RUNTIME
10813 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
10814# endif
10815#endif
44127b65
RD
10816 for (i = 0; swig_types_initial[i]; i++) {
10817 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
10818 }
10819 typeinit = 1;
10820 }
10821 SWIG_InstallConstants(d,swig_const_table);
10822
cbd72d4f
RD
10823 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
10824 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
10825 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
10826 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
6260902d 10827 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
36ed4f51
RD
10828 {
10829 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS)));
10830 }
10831 {
10832 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER)));
10833 }
3837a853
RD
10834 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
10835 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
36ed4f51
RD
10836 {
10837 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW)));
10838 }
10839 {
10840 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT)));
10841 }
10842 {
10843 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE)));
10844 }
10845 {
10846 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT)));
10847 }
10848 {
10849 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT)));
10850 }
10851 {
10852 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER)));
10853 }
10854 {
10855 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK)));
10856 }
10857 {
10858 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED)));
10859 }
10860 {
10861 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT)));
10862 }
10863 {
10864 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT)));
10865 }
10866 {
10867 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER)));
10868 }
10869 {
10870 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN)));
10871 }
10872 {
10873 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE)));
10874 }
10875 {
10876 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL)));
10877 }
10878 {
10879 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL)));
10880 }
10881 {
10882 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL)));
10883 }
10884 {
10885 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE)));
10886 }
10887 {
10888 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC)));
10889 }
6260902d
RD
10890 {
10891 PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int((int)(wxSCALE_HORIZONTAL)));
10892 }
10893 {
10894 PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int((int)(wxSCALE_VERTICAL)));
10895 }
10896 {
10897 PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int((int)(wxSCALE_UNIFORM)));
10898 }
10899 {
10900 PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int((int)(wxSCALE_CUSTOM)));
10901 }
44127b65
RD
10902
10903
10904 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
10905 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
10906
10907}
10908