]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
Added --with-gnomeprint to configure command
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
093d3ff1 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);
093d3ff1 26};
44127b65
RD
27#endif
28
29
093d3ff1
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
093d3ff1 39#include <Python.h>
44127b65
RD
40
41/***********************************************************************
093d3ff1 42 * swigrun.swg
44127b65 43 *
093d3ff1
RD
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
44127b65
RD
46 *
47 ************************************************************************/
48
093d3ff1
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
093d3ff1
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
093d3ff1 59#define SWIG_TYPE_TABLE_NAME
44127b65
RD
60#endif
61
093d3ff1
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
093d3ff1
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 {
f0983263 95 const char *name;
44127b65
RD
96 swig_converter_func converter;
97 const char *str;
f0983263 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
093d3ff1
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
093d3ff1
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
093d3ff1
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/***********************************************************************
093d3ff1
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 *
093d3ff1 442 * Author : David Beazley (beazley@cs.uchicago.edu)
44127b65 443 *
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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 */
093d3ff1
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)
83448d71 596
44127b65 597
093d3ff1
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
093d3ff1
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
093d3ff1
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
093d3ff1
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}
093d3ff1
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
093d3ff1 796 };
44127b65 797
093d3ff1
RD
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
44127b65 801
093d3ff1
RD
802 return &PySwigObject_Type;
803}
c32bde28 804
093d3ff1
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
093d3ff1
RD
815SWIGRUNTIMEINLINE void *
816PySwigObject_AsVoidPtr(PyObject *self)
817{
818 return ((PySwigObject *)self)->ptr;
819}
44127b65 820
093d3ff1
RD
821SWIGRUNTIMEINLINE const char *
822PySwigObject_GetDesc(PyObject *self)
823{
824 return ((PySwigObject *)self)->desc;
825}
44127b65 826
093d3ff1
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
093d3ff1
RD
833/* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
44127b65 836
093d3ff1
RD
837typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842} PySwigPacked;
44127b65 843
093d3ff1
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}
c32bde28 868
093d3ff1
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 }
66af7a75
RD
1040 if (str)
1041 Py_DECREF(str);
093d3ff1
RD
1042 return;
1043 }
1044 }
1045 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
1046 } else {
1047 PyErr_Format(PyExc_TypeError, "unexpected type is received");
1048 }
1049}
1050
1051SWIGRUNTIMEINLINE void
1052SWIG_Python_NullRef(const char *type)
1053{
1054 if (type) {
1055 PyErr_Format(PyExc_TypeError, "null reference of type '%s' was received",type);
1056 } else {
1057 PyErr_Format(PyExc_TypeError, "null reference was received");
1058 }
1059}
1060
1061SWIGRUNTIME int
1062SWIG_Python_AddErrMesg(const char* mesg, int infront)
1063{
1064 if (PyErr_Occurred()) {
1065 PyObject *type = 0;
1066 PyObject *value = 0;
1067 PyObject *traceback = 0;
1068 PyErr_Fetch(&type, &value, &traceback);
1069 if (value) {
1070 PyObject *old_str = PyObject_Str(value);
1071 Py_XINCREF(type);
1072 PyErr_Clear();
1073 if (infront) {
1074 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
1075 } else {
1076 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
1077 }
1078 Py_DECREF(old_str);
1079 }
1080 return 1;
1081 } else {
1082 return 0;
1083 }
1084}
1085
1086SWIGRUNTIME int
1087SWIG_Python_ArgFail(int argnum)
1088{
1089 if (PyErr_Occurred()) {
1090 /* add information about failing argument */
1091 char mesg[256];
1092 sprintf(mesg, "argument number %d:", argnum);
1093 return SWIG_Python_AddErrMesg(mesg, 1);
1094 } else {
1095 return 0;
1096 }
1097}
1098
1099
1100/* -----------------------------------------------------------------------------
1101 * pointers/data manipulation
1102 * ----------------------------------------------------------------------------- */
1103
1104/* Convert a pointer value */
1105SWIGRUNTIME int
1106SWIG_Python_ConvertPtr(PyObject *obj, void **ptr, swig_type_info *ty, int flags) {
1107 swig_type_info *tc;
1108 const char *c = 0;
1109 static PyObject *SWIG_this = 0;
1110 int newref = 0;
1111 PyObject *pyobj = 0;
1112 void *vptr;
1113
1114 if (!obj) return 0;
1115 if (obj == Py_None) {
1116 *ptr = 0;
1117 return 0;
1118 }
1119
1120#ifdef SWIG_COBJECT_TYPES
1121 if (!(PySwigObject_Check(obj))) {
1122 if (!SWIG_this)
1123 SWIG_this = PyString_FromString("this");
1124 pyobj = obj;
1125 obj = PyObject_GetAttr(obj,SWIG_this);
1126 newref = 1;
1127 if (!obj) goto type_error;
1128 if (!PySwigObject_Check(obj)) {
1129 Py_DECREF(obj);
1130 goto type_error;
1131 }
1132 }
1133 vptr = PySwigObject_AsVoidPtr(obj);
1134 c = (const char *) PySwigObject_GetDesc(obj);
1135 if (newref) { Py_DECREF(obj); }
1136 goto type_check;
1137#else
1138 if (!(PyString_Check(obj))) {
1139 if (!SWIG_this)
1140 SWIG_this = PyString_FromString("this");
1141 pyobj = obj;
1142 obj = PyObject_GetAttr(obj,SWIG_this);
1143 newref = 1;
1144 if (!obj) goto type_error;
1145 if (!PyString_Check(obj)) {
1146 Py_DECREF(obj);
1147 goto type_error;
1148 }
1149 }
1150 c = PyString_AS_STRING(obj);
1151 /* Pointer values must start with leading underscore */
1152 c = SWIG_UnpackVoidPtr(c, &vptr, ty->name);
1153 if (newref) { Py_DECREF(obj); }
1154 if (!c) goto type_error;
1155#endif
1156
1157type_check:
1158
1159 if (ty) {
1160 tc = SWIG_TypeCheck(c,ty);
1161 if (!tc) goto type_error;
1162 *ptr = SWIG_TypeCast(tc,vptr);
1163 } else {
1164 *ptr = vptr;
1165 }
1166
1167 if ((pyobj) && (flags & SWIG_POINTER_DISOWN)) {
1168 PyObject_SetAttrString(pyobj,(char*)"thisown",Py_False);
1169 }
1170 return 0;
1171
1172type_error:
1173 PyErr_Clear();
1174 if (pyobj && !obj) {
1175 obj = pyobj;
1176 if (PyCFunction_Check(obj)) {
1177 /* here we get the method pointer for callbacks */
1178 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
1179 c = doc ? strstr(doc, "swig_ptr: ") : 0;
1180 if (c) {
1181 c = SWIG_UnpackVoidPtr(c + 10, &vptr, ty->name);
1182 if (!c) goto type_error;
1183 goto type_check;
1184 }
1185 }
1186 }
1187 if (flags & SWIG_POINTER_EXCEPTION) {
1188 if (ty) {
1189 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1190 } else {
1191 SWIG_Python_TypeError("C/C++ pointer", obj);
1192 }
1193 }
1194 return -1;
1195}
1196
1197/* Convert a pointer value, signal an exception on a type mismatch */
1198SWIGRUNTIME void *
1199SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
1200 void *result;
1201 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
1202 PyErr_Clear();
1203 if (flags & SWIG_POINTER_EXCEPTION) {
1204 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1205 SWIG_Python_ArgFail(argnum);
1206 }
1207 }
1208 return result;
1209}
1210
1211/* Convert a packed value value */
1212SWIGRUNTIME int
1213SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty, int flags) {
1214 swig_type_info *tc;
1215 const char *c = 0;
1216
1217#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1218 c = PySwigPacked_UnpackData(obj, ptr, sz);
1219#else
1220 if ((!obj) || (!PyString_Check(obj))) goto type_error;
1221 c = PyString_AS_STRING(obj);
1222 /* Pointer values must start with leading underscore */
1223 c = SWIG_UnpackDataName(c, ptr, sz, ty->name);
1224#endif
1225 if (!c) goto type_error;
1226 if (ty) {
1227 tc = SWIG_TypeCheck(c,ty);
1228 if (!tc) goto type_error;
1229 }
1230 return 0;
1231
1232type_error:
1233 PyErr_Clear();
1234 if (flags & SWIG_POINTER_EXCEPTION) {
1235 if (ty) {
1236 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
1237 } else {
1238 SWIG_Python_TypeError("C/C++ packed data", obj);
1239 }
1240 }
1241 return -1;
1242}
1243
1244/* Create a new array object */
1245SWIGRUNTIME PyObject *
1246SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int own) {
1247 PyObject *robj = 0;
1248 if (!ptr) {
1249 Py_INCREF(Py_None);
1250 return Py_None;
1251 }
1252#ifdef SWIG_COBJECT_TYPES
1253 robj = PySwigObject_FromVoidPtrAndDesc((void *) ptr, (char *)type->name);
1254#else
1255 {
1256 char result[SWIG_BUFFER_SIZE];
1257 robj = SWIG_PackVoidPtr(result, ptr, type->name, sizeof(result)) ?
1258 PyString_FromString(result) : 0;
1259 }
1260#endif
1261 if (!robj || (robj == Py_None)) return robj;
1262 if (type->clientdata) {
1263 PyObject *inst;
1264 PyObject *args = Py_BuildValue((char*)"(O)", robj);
1265 Py_DECREF(robj);
1266 inst = PyObject_CallObject((PyObject *) type->clientdata, args);
1267 Py_DECREF(args);
1268 if (inst) {
1269 if (own) {
1270 PyObject_SetAttrString(inst,(char*)"thisown",Py_True);
1271 }
1272 robj = inst;
1273 }
1274 }
1275 return robj;
1276}
1277
1278SWIGRUNTIME PyObject *
1279SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
1280 PyObject *robj = 0;
1281 if (!ptr) {
1282 Py_INCREF(Py_None);
1283 return Py_None;
1284 }
1285#if defined(SWIG_COBJECT_TYPES) && !defined(SWIG_COBJECT_PYTHON)
1286 robj = PySwigPacked_FromDataAndDesc((void *) ptr, sz, (char *)type->name);
1287#else
1288 {
1289 char result[SWIG_BUFFER_SIZE];
1290 robj = SWIG_PackDataName(result, ptr, sz, type->name, sizeof(result)) ?
1291 PyString_FromString(result) : 0;
1292 }
1293#endif
1294 return robj;
1295}
1296
1297/* -----------------------------------------------------------------------------*
1298 * Get type list
1299 * -----------------------------------------------------------------------------*/
1300
1301#ifdef SWIG_LINK_RUNTIME
1302void *SWIG_ReturnGlobalTypeList(void *);
1303#endif
1304
1305SWIGRUNTIME swig_type_info **
1306SWIG_Python_GetTypeListHandle() {
1307 static void *type_pointer = (void *)0;
1308 /* first check if module already created */
1309 if (!type_pointer) {
1310#ifdef SWIG_LINK_RUNTIME
1311 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
1312#else
1313 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
1314 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
1315 if (PyErr_Occurred()) {
1316 PyErr_Clear();
1317 type_pointer = (void *)0;
1318 }
1319 }
1320#endif
1321 return (swig_type_info **) type_pointer;
1322}
1323
1324/*
1325 Search for a swig_type_info structure
1326 */
1327SWIGRUNTIMEINLINE swig_type_info *
1328SWIG_Python_GetTypeList() {
1329 swig_type_info **tlh = SWIG_Python_GetTypeListHandle();
1330 return tlh ? *tlh : (swig_type_info*)0;
1331}
1332
1333#define SWIG_Runtime_GetTypeList SWIG_Python_GetTypeList
8edf1c75 1334
8edf1c75 1335#ifdef __cplusplus
093d3ff1
RD
1336}
1337#endif
8edf1c75 1338
2f4c0a16 1339
093d3ff1 1340/* -------- TYPES TABLE (BEGIN) -------- */
2f4c0a16 1341
093d3ff1
RD
1342#define SWIGTYPE_p_wxColour swig_types[0]
1343#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[1]
1344#define SWIGTYPE_p_form_ops_t swig_types[2]
1345#define SWIGTYPE_p_wxDuplexMode swig_types[3]
1346#define SWIGTYPE_p_wxValidator swig_types[4]
1347#define SWIGTYPE_p_char swig_types[5]
1348#define SWIGTYPE_p_wxPanel swig_types[6]
1349#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[7]
1350#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[8]
1351#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[9]
1352#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[10]
1353#define SWIGTYPE_p_wxThinSplitterWindow swig_types[11]
1354#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[12]
1355#define SWIGTYPE_p_wxDynamicSashWindow swig_types[13]
1356#define SWIGTYPE_p_wxWindow swig_types[14]
1357#define SWIGTYPE_p_wxSplitterWindow swig_types[15]
1358#define SWIGTYPE_p_wxScrolledWindow swig_types[16]
1359#define SWIGTYPE_p_wxFont swig_types[17]
1360#define SWIGTYPE_p_wxControl swig_types[18]
1361#define SWIGTYPE_p_wxPyListCtrl swig_types[19]
1362#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[20]
1363#define SWIGTYPE_p_wxEvent swig_types[21]
1364#define SWIGTYPE_p_wxObject swig_types[22]
6260902d
RD
1365#define SWIGTYPE_p_wxBitmap swig_types[23]
1366#define SWIGTYPE_p_wxScrollBar swig_types[24]
1367#define SWIGTYPE_p_wxPaperSize swig_types[25]
1368#define SWIGTYPE_p_unsigned_int swig_types[26]
1369#define SWIGTYPE_unsigned_int swig_types[27]
1370#define SWIGTYPE_p_wxEvtHandler swig_types[28]
1371#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[29]
1372#define SWIGTYPE_p_wxPyTreeCtrl swig_types[30]
1373#define SWIGTYPE_p_wxImageList swig_types[31]
1374#define SWIGTYPE_p_unsigned_char swig_types[32]
1375#define SWIGTYPE_p_wxEditableListBox swig_types[33]
1376#define SWIGTYPE_p_wxIcon swig_types[34]
1377#define SWIGTYPE_ptrdiff_t swig_types[35]
1378#define SWIGTYPE_std__ptrdiff_t swig_types[36]
1379#define SWIGTYPE_p_wxArrayString swig_types[37]
1380#define SWIGTYPE_p_wxCommandEvent swig_types[38]
1381#define SWIGTYPE_p_wxTreeItemId swig_types[39]
1382#define SWIGTYPE_p_float swig_types[40]
1383#define SWIGTYPE_p_int swig_types[41]
1384#define SWIGTYPE_p_unsigned_long swig_types[42]
1385#define SWIGTYPE_p_wxStaticPicture swig_types[43]
1386#define SWIGTYPE_p_wxPyTreeItemData swig_types[44]
1387static swig_type_info *swig_types[46];
8edf1c75 1388
093d3ff1 1389/* -------- TYPES TABLE (END) -------- */
8edf1c75 1390
8edf1c75 1391
093d3ff1
RD
1392/*-----------------------------------------------
1393 @(target):= _gizmos.so
1394 ------------------------------------------------*/
1395#define SWIG_init init_gizmos
1396
1397#define SWIG_name "_gizmos"
8edf1c75 1398
44127b65
RD
1399#include "wx/wxPython/wxPython.h"
1400#include "wx/wxPython/pyclasses.h"
629f3c1b 1401
44127b65
RD
1402#include <wx/gizmos/dynamicsash.h>
1403#include <wx/gizmos/editlbox.h>
1404#include <wx/gizmos/splittree.h>
1405#include <wx/gizmos/ledctrl.h>
6260902d 1406#include <wx/gizmos/statpict.h>
44127b65
RD
1407
1408#include <wx/listctrl.h>
1409#include <wx/treectrl.h>
1410#include <wx/imaglist.h>
629f3c1b
RD
1411
1412#include "wx/treelistctrl.h"
44127b65
RD
1413#include "wx/wxPython/pytree.h"
1414
44127b65 1415
d03fd34d
RD
1416 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1417 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1418 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
6260902d 1419 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
d03fd34d 1420 static const wxString wxPyEmptyString(wxEmptyString);
8edf1c75 1421
093d3ff1
RD
1422 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1423#define SWIG_From_int PyInt_FromLong
1424/*@@*/
1425
1426
2f4c0a16
RD
1427#include <limits.h>
1428
1429
093d3ff1 1430SWIGINTERN int
c32bde28
RD
1431 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1432 const char *errmsg)
2f4c0a16 1433{
c32bde28
RD
1434 if (value < min_value) {
1435 if (errmsg) {
1436 PyErr_Format(PyExc_OverflowError,
1437 "value %ld is less than '%s' minimum %ld",
1438 value, errmsg, min_value);
1439 }
1440 return 0;
1441 } else if (value > max_value) {
1442 if (errmsg) {
1443 PyErr_Format(PyExc_OverflowError,
1444 "value %ld is greater than '%s' maximum %ld",
1445 value, errmsg, max_value);
2f4c0a16 1446 }
c32bde28 1447 return 0;
2f4c0a16 1448 }
c32bde28 1449 return 1;
2f4c0a16
RD
1450}
1451
1452
093d3ff1 1453SWIGINTERN int
c32bde28 1454SWIG_AsVal_long(PyObject* obj, long* val)
2f4c0a16 1455{
c32bde28
RD
1456 if (PyNumber_Check(obj)) {
1457 if (val) *val = PyInt_AsLong(obj);
1458 return 1;
1459 }
69223c70 1460 else {
093d3ff1 1461 SWIG_type_error("number", obj);
69223c70 1462 }
c32bde28 1463 return 0;
2f4c0a16
RD
1464}
1465
1466
1467#if INT_MAX != LONG_MAX
093d3ff1 1468SWIGINTERN int
c32bde28 1469 SWIG_AsVal_int(PyObject *obj, int *val)
8edf1c75 1470{
093d3ff1 1471 const char* errmsg = val ? "int" : (char*)0;
c32bde28
RD
1472 long v;
1473 if (SWIG_AsVal_long(obj, &v)) {
1474 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
093d3ff1 1475 if (val) *val = (int)(v);
c32bde28
RD
1476 return 1;
1477 } else {
1478 return 0;
1479 }
1480 } else {
1481 PyErr_Clear();
1482 }
1483 if (val) {
093d3ff1 1484 SWIG_type_error(errmsg, obj);
c32bde28
RD
1485 }
1486 return 0;
8edf1c75 1487}
2f4c0a16 1488#else
093d3ff1 1489SWIGINTERNSHORT int
c32bde28
RD
1490 SWIG_AsVal_int(PyObject *obj, int *val)
1491{
1492 return SWIG_AsVal_long(obj,(long*)val);
1493}
2f4c0a16 1494#endif
8edf1c75
RD
1495
1496
093d3ff1 1497SWIGINTERNSHORT int
c32bde28 1498SWIG_As_int(PyObject* obj)
8edf1c75 1499{
c32bde28
RD
1500 int v;
1501 if (!SWIG_AsVal_int(obj, &v)) {
1502 /*
093d3ff1 1503 this is needed to make valgrind/purify happier.
c32bde28
RD
1504 */
1505 memset((void*)&v, 0, sizeof(int));
2f4c0a16 1506 }
c32bde28 1507 return v;
2f4c0a16
RD
1508}
1509
1510
093d3ff1 1511SWIGINTERNSHORT long
c32bde28 1512SWIG_As_long(PyObject* obj)
2f4c0a16 1513{
c32bde28
RD
1514 long v;
1515 if (!SWIG_AsVal_long(obj, &v)) {
1516 /*
093d3ff1 1517 this is needed to make valgrind/purify happier.
c32bde28
RD
1518 */
1519 memset((void*)&v, 0, sizeof(long));
2f4c0a16 1520 }
c32bde28
RD
1521 return v;
1522}
1523
1524
093d3ff1 1525SWIGINTERNSHORT int
c32bde28
RD
1526SWIG_Check_int(PyObject* obj)
1527{
1528 return SWIG_AsVal_int(obj, (int*)0);
1529}
1530
1531
093d3ff1 1532SWIGINTERNSHORT int
c32bde28
RD
1533SWIG_Check_long(PyObject* obj)
1534{
1535 return SWIG_AsVal_long(obj, (long*)0);
8edf1c75
RD
1536}
1537
093d3ff1 1538static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
1539 wxArrayString strings;
1540 self->GetStrings(strings);
1541 return wxArrayString2PyList_helper(strings);
1542 }
1543
1544 typedef wxTreeCtrl wxPyTreeCtrl;
1545
1546
1547class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1548{
1549public:
1550 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
1551 const wxPoint& pos = wxDefaultPosition,
1552 const wxSize& size = wxDefaultSize,
1553 long style = 0)
1554 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
1555
1556
1557 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
1558 bool found;
6e6b3557 1559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1560 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 1561 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
ae8162c8
RD
1562 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1563 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
1564 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1565 Py_DECREF(dcobj);
1566 Py_DECREF(idobj);
1567 Py_DECREF(recobj);
1568 }
4f89f6a3 1569 wxPyEndBlockThreads(blocked);
44127b65
RD
1570 if (! found)
1571 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1572 }
1573
1574 PYPRIVATE;
1575};
1576
8edf1c75 1577
093d3ff1 1578SWIGINTERN int
c32bde28
RD
1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
1580{
c32bde28
RD
1581 if (obj == Py_True) {
1582 if (val) *val = true;
1583 return 1;
1584 }
1585 if (obj == Py_False) {
1586 if (val) *val = false;
1587 return 1;
1588 }
1589 int res = 0;
1590 if (SWIG_AsVal_int(obj, &res)) {
093d3ff1 1591 if (val) *val = res ? true : false;
c32bde28 1592 return 1;
093d3ff1
RD
1593 } else {
1594 PyErr_Clear();
1595 }
c32bde28 1596 if (val) {
093d3ff1 1597 SWIG_type_error("bool", obj);
c32bde28
RD
1598 }
1599 return 0;
1600}
1601
1602
093d3ff1 1603SWIGINTERNSHORT bool
c32bde28 1604SWIG_As_bool(PyObject* obj)
8edf1c75 1605{
c32bde28
RD
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
093d3ff1 1609 this is needed to make valgrind/purify happier.
c32bde28
RD
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
8edf1c75
RD
1614}
1615
c32bde28 1616
093d3ff1 1617SWIGINTERNSHORT int
c32bde28
RD
1618SWIG_Check_bool(PyObject* obj)
1619{
1620 return SWIG_AsVal_bool(obj, (bool*)0);
1621}
8edf1c75 1622
c32bde28 1623
093d3ff1 1624SWIGINTERN int
c32bde28 1625SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
2f4c0a16 1626{
c32bde28
RD
1627 long v = 0;
1628 if (SWIG_AsVal_long(obj, &v) && v < 0) {
093d3ff1 1629 SWIG_type_error("unsigned number", obj);
c32bde28
RD
1630 }
1631 else if (val)
1632 *val = (unsigned long)v;
2f4c0a16 1633 return 1;
2f4c0a16
RD
1634}
1635
1636
093d3ff1 1637SWIGINTERNSHORT unsigned long
c32bde28 1638SWIG_As_unsigned_SS_long(PyObject* obj)
8edf1c75 1639{
c32bde28
RD
1640 unsigned long v;
1641 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1642 /*
093d3ff1 1643 this is needed to make valgrind/purify happier.
c32bde28
RD
1644 */
1645 memset((void*)&v, 0, sizeof(unsigned long));
2f4c0a16 1646 }
c32bde28 1647 return v;
2f4c0a16
RD
1648}
1649
c32bde28 1650
093d3ff1 1651SWIGINTERNSHORT int
c32bde28 1652SWIG_Check_unsigned_SS_long(PyObject* obj)
2f4c0a16 1653{
c32bde28 1654 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
2f4c0a16
RD
1655}
1656
1657
093d3ff1 1658SWIGINTERNSHORT PyObject*
c32bde28 1659 SWIG_From_unsigned_SS_long(unsigned long value)
2f4c0a16
RD
1660{
1661 return (value > LONG_MAX) ?
1662 PyLong_FromUnsignedLong(value)
093d3ff1 1663 : PyInt_FromLong((long)(value));
8edf1c75
RD
1664}
1665
44127b65
RD
1666 // C++ version of Python aware control
1667class wxPyTreeListCtrl : public wxTreeListCtrl {
1668 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1669public:
1670 wxPyTreeListCtrl() : wxTreeListCtrl() {}
1671 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
1672 const wxPoint& pos,
1673 const wxSize& size,
1674 long style,
1675 const wxValidator &validator,
1676 const wxString& name) :
1677 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
1678
1679 int OnCompareItems(const wxTreeItemId& item1,
1680 const wxTreeItemId& item2) {
1681 int rval = 0;
1682 bool found;
6e6b3557 1683 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1684 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
1685 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
1686 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
1687 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
1688 Py_DECREF(o1);
1689 Py_DECREF(o2);
1690 }
4f89f6a3 1691 wxPyEndBlockThreads(blocked);
44127b65
RD
1692 if (! found)
1693 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1694 return rval;
1695 }
1696 PYPRIVATE;
1697};
1698
1699IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1700
1701
8edf1c75 1702
093d3ff1
RD
1703 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1704#define SWIG_From_long PyInt_FromLong
1705/*@@*/
1706
1707
2f4c0a16 1708#if UINT_MAX < LONG_MAX
093d3ff1 1709/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1710#define SWIG_From_unsigned_SS_int SWIG_From_long
1711/*@@*/
2f4c0a16 1712#else
093d3ff1 1713/*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
c32bde28
RD
1714#define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1715/*@@*/
2f4c0a16
RD
1716#endif
1717
1718
093d3ff1 1719SWIGINTERNSHORT int
c32bde28
RD
1720 SWIG_CheckUnsignedLongInRange(unsigned long value,
1721 unsigned long max_value,
1722 const char *errmsg)
2f4c0a16 1723{
c32bde28
RD
1724 if (value > max_value) {
1725 if (errmsg) {
1726 PyErr_Format(PyExc_OverflowError,
093d3ff1 1727 "value %lu is greater than '%s' minimum %lu",
c32bde28 1728 value, errmsg, max_value);
2f4c0a16 1729 }
c32bde28 1730 return 0;
2f4c0a16 1731 }
c32bde28
RD
1732 return 1;
1733 }
8edf1c75
RD
1734
1735
2f4c0a16 1736#if UINT_MAX != ULONG_MAX
093d3ff1 1737SWIGINTERN int
c32bde28 1738 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
8edf1c75 1739{
093d3ff1 1740 const char* errmsg = val ? "unsigned int" : (char*)0;
c32bde28
RD
1741 unsigned long v;
1742 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1743 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
093d3ff1 1744 if (val) *val = (unsigned int)(v);
c32bde28
RD
1745 return 1;
1746 }
1747 } else {
1748 PyErr_Clear();
1749 }
1750 if (val) {
093d3ff1 1751 SWIG_type_error(errmsg, obj);
c32bde28
RD
1752 }
1753 return 0;
2f4c0a16
RD
1754}
1755#else
093d3ff1 1756SWIGINTERNSHORT unsigned int
c32bde28
RD
1757 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1758{
1759 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1760}
2f4c0a16
RD
1761#endif
1762
1763
093d3ff1 1764SWIGINTERNSHORT unsigned int
c32bde28 1765SWIG_As_unsigned_SS_int(PyObject* obj)
2f4c0a16 1766{
c32bde28
RD
1767 unsigned int v;
1768 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1769 /*
093d3ff1 1770 this is needed to make valgrind/purify happier.
c32bde28
RD
1771 */
1772 memset((void*)&v, 0, sizeof(unsigned int));
2f4c0a16 1773 }
c32bde28
RD
1774 return v;
1775}
1776
1777
093d3ff1 1778SWIGINTERNSHORT int
c32bde28
RD
1779SWIG_Check_unsigned_SS_int(PyObject* obj)
1780{
1781 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
8edf1c75
RD
1782}
1783
093d3ff1 1784static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
1785 if (column < 0) column = self->GetMainColumn();
1786 return self->GetItemText(item, column);
1787 }
093d3ff1 1788static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1789 if (column < 0) column = self->GetMainColumn();
1790 return self->GetItemImage(item, column, which);
1791 }
093d3ff1 1792static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
1793 if (column < 0) column = self->GetMainColumn();
1794 self->SetItemText(item, column, text);
1795 }
093d3ff1 1796static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
1797 if (column < 0) column = self->GetMainColumn();
1798 self->SetItemImage(item, column, image, which);
1799 }
093d3ff1 1800static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1801 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1802 if (data == NULL) {
1803 data = new wxPyTreeItemData();
1804 data->SetId(item); // set the id
1805 self->SetItemData(item, data);
1806 }
1807 return data;
1808 }
093d3ff1 1809static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
1810 data->SetId(item); // set the id
1811 self->SetItemData(item, data);
1812 }
093d3ff1 1813static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
1814 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1815 if (data == NULL) {
1816 data = new wxPyTreeItemData();
1817 data->SetId(item); // set the id
1818 self->SetItemData(item, data);
1819 }
1820 return data->GetData();
1821 }
093d3ff1 1822static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
1823 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
1824 if (data == NULL) {
1825 data = new wxPyTreeItemData(obj);
1826 data->SetId(item); // set the id
1827 self->SetItemData(item, data);
1828 } else
1829 data->SetData(obj);
1830 }
093d3ff1 1831static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
6e6b3557 1832 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1833 PyObject* rval = PyList_New(0);
1834 wxArrayTreeItemIds array;
1835 size_t num, x;
1836 num = self->GetSelections(array);
1837 for (x=0; x < num; x++) {
1838 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 1839 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65
RD
1840 PyList_Append(rval, item);
1841 }
4f89f6a3 1842 wxPyEndBlockThreads(blocked);
44127b65
RD
1843 return rval;
1844 }
093d3ff1 1845static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
629f3c1b 1846 void* cookie = 0;
a2482628 1847 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
6e6b3557 1848 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1849 PyObject* tup = PyTuple_New(2);
ae8162c8 1850 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
629f3c1b 1851 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 1852 wxPyEndBlockThreads(blocked);
44127b65
RD
1853 return tup;
1854 }
093d3ff1 1855static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
a2482628 1856 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
6e6b3557 1857 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 1858 PyObject* tup = PyTuple_New(2);
ae8162c8 1859 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
629f3c1b 1860 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 1861 wxPyEndBlockThreads(blocked);
44127b65
RD
1862 return tup;
1863 }
1864
c32bde28 1865 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
44127b65
RD
1866 PyObject* o2;
1867 PyObject* o3;
c32bde28 1868
44127b65
RD
1869 if (!target) {
1870 target = o;
1871 } else if (target == Py_None) {
1872 Py_DECREF(Py_None);
1873 target = o;
7e63a440
RD
1874 } else {
1875 if (!PyTuple_Check(target)) {
1876 o2 = target;
1877 target = PyTuple_New(1);
1878 PyTuple_SetItem(target, 0, o2);
1879 }
44127b65
RD
1880 o3 = PyTuple_New(1);
1881 PyTuple_SetItem(o3, 0, o);
1882
1883 o2 = target;
1884 target = PySequence_Concat(o2, o3);
1885 Py_DECREF(o2);
1886 Py_DECREF(o3);
1887 }
1888 return target;
7e63a440 1889 }
44127b65 1890
c32bde28 1891
093d3ff1 1892static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
1893 wxRect rect;
1894 if (self->GetBoundingRect(item, rect, textOnly)) {
6e6b3557 1895 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
1896 wxRect* r = new wxRect(rect);
1897 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
4f89f6a3 1898 wxPyEndBlockThreads(blocked);
44127b65
RD
1899 return val;
1900 }
1901 else {
1902 RETURN_NONE();
1903 }
1904 }
6260902d
RD
1905
1906#include <float.h>
1907SWIGINTERN int
1908 SWIG_CheckDoubleInRange(double value, double min_value,
1909 double max_value, const char* errmsg)
1910{
1911 if (value < min_value) {
1912 if (errmsg) {
1913 PyErr_Format(PyExc_OverflowError,
1914 "value %g is less than %s minimum %g",
1915 value, errmsg, min_value);
1916 }
1917 return 0;
1918 } else if (value > max_value) {
1919 if (errmsg) {
1920 PyErr_Format(PyExc_OverflowError,
1921 "value %g is greater than %s maximum %g",
1922 value, errmsg, max_value);
1923 }
1924 return 0;
1925 }
1926 return 1;
1927}
1928
1929
1930SWIGINTERN int
1931SWIG_AsVal_double(PyObject *obj, double* val)
1932{
1933 if (PyNumber_Check(obj)) {
1934 if (val) *val = PyFloat_AsDouble(obj);
1935 return 1;
1936 }
1937 else {
1938 SWIG_type_error("number", obj);
1939 }
1940 return 0;
1941}
1942
1943
1944SWIGINTERN int
1945 SWIG_AsVal_float(PyObject *obj, float *val)
1946{
1947 const char* errmsg = val ? "float" : (char*)0;
1948 double v;
1949 if (SWIG_AsVal_double(obj, &v)) {
1950 if (SWIG_CheckDoubleInRange(v, -FLT_MAX, FLT_MAX, errmsg)) {
1951 if (val) *val = (float)(v);
1952 return 1;
1953 } else {
1954 return 0;
1955 }
1956 } else {
1957 PyErr_Clear();
1958 }
1959 if (val) {
1960 SWIG_type_error(errmsg, obj);
1961 }
1962 return 0;
1963}
1964
1965
1966SWIGINTERNSHORT float
1967SWIG_As_float(PyObject* obj)
1968{
1969 float v;
1970 if (!SWIG_AsVal_float(obj, &v)) {
1971 /*
1972 this is needed to make valgrind/purify happier.
1973 */
1974 memset((void*)&v, 0, sizeof(float));
1975 }
1976 return v;
1977}
1978
1979
1980SWIGINTERNSHORT int
1981SWIG_Check_float(PyObject* obj)
1982{
1983 return SWIG_AsVal_float(obj, (float*)0);
1984}
1985
1986
1987 /*@c:\\PROJECTS\\SWIG-cvs\\Lib\\python\\pymacros.swg,66,SWIG_define@*/
1988#define SWIG_From_float PyFloat_FromDouble
1989/*@@*/
1990
1991
44127b65
RD
1992#ifdef __cplusplus
1993extern "C" {
1994#endif
c32bde28 1995static int _wrap_DynamicSashNameStr_set(PyObject *) {
d03fd34d
RD
1996 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
1997 return 1;
1998}
1999
2000
093d3ff1 2001static PyObject *_wrap_DynamicSashNameStr_get(void) {
d03fd34d
RD
2002 PyObject *pyobj;
2003
2004 {
2005#if wxUSE_UNICODE
2006 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2007#else
2008 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
2009#endif
2010 }
2011 return pyobj;
2012}
2013
2014
c32bde28 2015static int _wrap_EditableListBoxNameStr_set(PyObject *) {
d03fd34d
RD
2016 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2017 return 1;
2018}
2019
2020
093d3ff1 2021static PyObject *_wrap_EditableListBoxNameStr_get(void) {
d03fd34d
RD
2022 PyObject *pyobj;
2023
2024 {
2025#if wxUSE_UNICODE
2026 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2027#else
2028 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
2029#endif
2030 }
2031 return pyobj;
2032}
2033
2034
c32bde28 2035static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
d03fd34d
RD
2036 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2037 return 1;
2038}
2039
2040
093d3ff1 2041static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
d03fd34d
RD
2042 PyObject *pyobj;
2043
2044 {
2045#if wxUSE_UNICODE
2046 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2047#else
2048 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
2049#endif
2050 }
2051 return pyobj;
2052}
2053
2054
6260902d
RD
2055static int _wrap_StaticPictureNameStr_set(PyObject *) {
2056 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2057 return 1;
2058}
2059
2060
2061static PyObject *_wrap_StaticPictureNameStr_get(void) {
2062 PyObject *pyobj;
2063
2064 {
2065#if wxUSE_UNICODE
2066 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2067#else
2068 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
2069#endif
2070 }
2071 return pyobj;
2072}
2073
2074
c32bde28 2075static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2076 PyObject *resultobj;
2077 wxObject *arg1 = (wxObject *) 0 ;
2078 wxDynamicSashSplitEvent *result;
2079 PyObject * obj0 = 0 ;
2080 char *kwnames[] = {
2081 (char *) "target", NULL
2082 };
2083
2084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2086 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2f4c0a16 2094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
44127b65
RD
2095 return resultobj;
2096 fail:
2097 return NULL;
2098}
2099
2100
c32bde28 2101static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2102 PyObject *obj;
2103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2104 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, obj);
2105 Py_INCREF(obj);
2106 return Py_BuildValue((char *)"");
2107}
c32bde28 2108static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2109 PyObject *resultobj;
2110 wxObject *arg1 = (wxObject *) 0 ;
2111 wxDynamicSashUnifyEvent *result;
2112 PyObject * obj0 = 0 ;
2113 char *kwnames[] = {
2114 (char *) "target", NULL
2115 };
2116
2117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) goto fail;
093d3ff1
RD
2118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2119 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2f4c0a16 2127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
44127b65
RD
2128 return resultobj;
2129 fail:
2130 return NULL;
2131}
2132
2133
c32bde28 2134static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2135 PyObject *obj;
2136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2137 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, obj);
2138 Py_INCREF(obj);
2139 return Py_BuildValue((char *)"");
2140}
c32bde28 2141static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2142 PyObject *resultobj;
2143 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 2144 int arg2 = (int) -1 ;
44127b65
RD
2145 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2146 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2147 wxSize const &arg4_defvalue = wxDefaultSize ;
2148 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2149 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2150 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
2151 wxString *arg6 = (wxString *) &arg6_defvalue ;
2152 wxDynamicSashWindow *result;
2153 wxPoint temp3 ;
2154 wxSize temp4 ;
ae8162c8 2155 bool temp6 = false ;
44127b65 2156 PyObject * obj0 = 0 ;
8edf1c75 2157 PyObject * obj1 = 0 ;
44127b65
RD
2158 PyObject * obj2 = 0 ;
2159 PyObject * obj3 = 0 ;
8edf1c75 2160 PyObject * obj4 = 0 ;
44127b65
RD
2161 PyObject * obj5 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2164 };
2165
248ed943 2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
2167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2168 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2169 if (obj1) {
093d3ff1
RD
2170 {
2171 arg2 = (int)(SWIG_As_int(obj1));
2172 if (SWIG_arg_fail(2)) SWIG_fail;
2173 }
248ed943 2174 }
44127b65
RD
2175 if (obj2) {
2176 {
2177 arg3 = &temp3;
2178 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2179 }
2180 }
2181 if (obj3) {
2182 {
2183 arg4 = &temp4;
2184 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2185 }
2186 }
8edf1c75 2187 if (obj4) {
093d3ff1
RD
2188 {
2189 arg5 = (long)(SWIG_As_long(obj4));
2190 if (SWIG_arg_fail(5)) SWIG_fail;
2191 }
8edf1c75 2192 }
44127b65
RD
2193 if (obj5) {
2194 {
2195 arg6 = wxString_in_helper(obj5);
2196 if (arg6 == NULL) SWIG_fail;
ae8162c8 2197 temp6 = true;
44127b65
RD
2198 }
2199 }
2200 {
0439c23b 2201 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2202 PyThreadState* __tstate = wxPyBeginAllowThreads();
2203 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
2204
2205 wxPyEndAllowThreads(__tstate);
110da5b0 2206 if (PyErr_Occurred()) SWIG_fail;
44127b65 2207 }
2f4c0a16 2208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2209 {
2210 if (temp6)
2211 delete arg6;
2212 }
2213 return resultobj;
2214 fail:
2215 {
2216 if (temp6)
2217 delete arg6;
2218 }
2219 return NULL;
2220}
2221
2222
c32bde28 2223static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2224 PyObject *resultobj;
2225 wxDynamicSashWindow *result;
2226 char *kwnames[] = {
2227 NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDynamicSashWindow",kwnames)) goto fail;
2231 {
0439c23b 2232 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2235
2236 wxPyEndAllowThreads(__tstate);
110da5b0 2237 if (PyErr_Occurred()) SWIG_fail;
44127b65 2238 }
2f4c0a16 2239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
44127b65
RD
2240 return resultobj;
2241 fail:
2242 return NULL;
2243}
2244
2245
c32bde28 2246static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2247 PyObject *resultobj;
2248 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2249 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 2250 int arg3 = (int) -1 ;
44127b65
RD
2251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2253 wxSize const &arg5_defvalue = wxDefaultSize ;
2254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2255 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
2256 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
2257 wxString *arg7 = (wxString *) &arg7_defvalue ;
2258 bool result;
2259 wxPoint temp4 ;
2260 wxSize temp5 ;
ae8162c8 2261 bool temp7 = false ;
44127b65
RD
2262 PyObject * obj0 = 0 ;
2263 PyObject * obj1 = 0 ;
8edf1c75 2264 PyObject * obj2 = 0 ;
44127b65
RD
2265 PyObject * obj3 = 0 ;
2266 PyObject * obj4 = 0 ;
8edf1c75 2267 PyObject * obj5 = 0 ;
44127b65
RD
2268 PyObject * obj6 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2271 };
2272
248ed943 2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2274 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2275 if (SWIG_arg_fail(1)) SWIG_fail;
2276 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2277 if (SWIG_arg_fail(2)) SWIG_fail;
248ed943 2278 if (obj2) {
093d3ff1
RD
2279 {
2280 arg3 = (int)(SWIG_As_int(obj2));
2281 if (SWIG_arg_fail(3)) SWIG_fail;
2282 }
248ed943 2283 }
44127b65
RD
2284 if (obj3) {
2285 {
2286 arg4 = &temp4;
2287 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2288 }
2289 }
2290 if (obj4) {
2291 {
2292 arg5 = &temp5;
2293 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2294 }
2295 }
8edf1c75 2296 if (obj5) {
093d3ff1
RD
2297 {
2298 arg6 = (long)(SWIG_As_long(obj5));
2299 if (SWIG_arg_fail(6)) SWIG_fail;
2300 }
8edf1c75 2301 }
44127b65
RD
2302 if (obj6) {
2303 {
2304 arg7 = wxString_in_helper(obj6);
2305 if (arg7 == NULL) SWIG_fail;
ae8162c8 2306 temp7 = true;
44127b65
RD
2307 }
2308 }
2309 {
2310 PyThreadState* __tstate = wxPyBeginAllowThreads();
2311 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2312
2313 wxPyEndAllowThreads(__tstate);
2314 if (PyErr_Occurred()) SWIG_fail;
2315 }
4f89f6a3
RD
2316 {
2317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2318 }
44127b65
RD
2319 {
2320 if (temp7)
2321 delete arg7;
2322 }
2323 return resultobj;
2324 fail:
2325 {
2326 if (temp7)
2327 delete arg7;
2328 }
2329 return NULL;
2330}
2331
2332
c32bde28 2333static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2334 PyObject *resultobj;
2335 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2336 wxWindow *arg2 = (wxWindow *) 0 ;
2337 wxScrollBar *result;
2338 PyObject * obj0 = 0 ;
2339 PyObject * obj1 = 0 ;
2340 char *kwnames[] = {
2341 (char *) "self",(char *) "child", NULL
2342 };
2343
2344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2346 if (SWIG_arg_fail(1)) SWIG_fail;
2347 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2348 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2349 {
2350 PyThreadState* __tstate = wxPyBeginAllowThreads();
2351 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
2352
2353 wxPyEndAllowThreads(__tstate);
2354 if (PyErr_Occurred()) SWIG_fail;
2355 }
2f4c0a16 2356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2357 return resultobj;
2358 fail:
2359 return NULL;
2360}
2361
2362
c32bde28 2363static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2364 PyObject *resultobj;
2365 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2366 wxWindow *arg2 = (wxWindow *) 0 ;
2367 wxScrollBar *result;
2368 PyObject * obj0 = 0 ;
2369 PyObject * obj1 = 0 ;
2370 char *kwnames[] = {
2371 (char *) "self",(char *) "child", NULL
2372 };
2373
2374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2375 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_EXCEPTION | 0);
2376 if (SWIG_arg_fail(1)) SWIG_fail;
2377 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2378 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2379 {
2380 PyThreadState* __tstate = wxPyBeginAllowThreads();
2381 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
2382
2383 wxPyEndAllowThreads(__tstate);
2384 if (PyErr_Occurred()) SWIG_fail;
2385 }
2f4c0a16 2386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
44127b65
RD
2387 return resultobj;
2388 fail:
2389 return NULL;
2390}
2391
2392
c32bde28 2393static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2394 PyObject *obj;
2395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2396 SWIG_TypeClientData(SWIGTYPE_p_wxDynamicSashWindow, obj);
2397 Py_INCREF(obj);
2398 return Py_BuildValue((char *)"");
2399}
c32bde28 2400static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2401 PyObject *resultobj;
2402 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943
RD
2403 int arg2 = (int) -1 ;
2404 wxString const &arg3_defvalue = wxPyEmptyString ;
2405 wxString *arg3 = (wxString *) &arg3_defvalue ;
44127b65
RD
2406 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2407 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2408 wxSize const &arg5_defvalue = wxDefaultSize ;
2409 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2410 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
2411 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
2412 wxString *arg7 = (wxString *) &arg7_defvalue ;
2413 wxEditableListBox *result;
ae8162c8 2414 bool temp3 = false ;
44127b65
RD
2415 wxPoint temp4 ;
2416 wxSize temp5 ;
ae8162c8 2417 bool temp7 = false ;
44127b65 2418 PyObject * obj0 = 0 ;
8edf1c75 2419 PyObject * obj1 = 0 ;
44127b65
RD
2420 PyObject * obj2 = 0 ;
2421 PyObject * obj3 = 0 ;
2422 PyObject * obj4 = 0 ;
8edf1c75 2423 PyObject * obj5 = 0 ;
44127b65
RD
2424 PyObject * obj6 = 0 ;
2425 char *kwnames[] = {
2426 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2427 };
2428
248ed943 2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
2430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2431 if (SWIG_arg_fail(1)) SWIG_fail;
248ed943 2432 if (obj1) {
093d3ff1
RD
2433 {
2434 arg2 = (int)(SWIG_As_int(obj1));
2435 if (SWIG_arg_fail(2)) SWIG_fail;
2436 }
248ed943
RD
2437 }
2438 if (obj2) {
2439 {
2440 arg3 = wxString_in_helper(obj2);
2441 if (arg3 == NULL) SWIG_fail;
ae8162c8 2442 temp3 = true;
248ed943 2443 }
44127b65
RD
2444 }
2445 if (obj3) {
2446 {
2447 arg4 = &temp4;
2448 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2449 }
2450 }
2451 if (obj4) {
2452 {
2453 arg5 = &temp5;
2454 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2455 }
2456 }
8edf1c75 2457 if (obj5) {
093d3ff1
RD
2458 {
2459 arg6 = (long)(SWIG_As_long(obj5));
2460 if (SWIG_arg_fail(6)) SWIG_fail;
2461 }
8edf1c75 2462 }
44127b65
RD
2463 if (obj6) {
2464 {
2465 arg7 = wxString_in_helper(obj6);
2466 if (arg7 == NULL) SWIG_fail;
ae8162c8 2467 temp7 = true;
44127b65
RD
2468 }
2469 }
2470 {
0439c23b 2471 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2474
2475 wxPyEndAllowThreads(__tstate);
110da5b0 2476 if (PyErr_Occurred()) SWIG_fail;
44127b65 2477 }
2f4c0a16 2478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
44127b65
RD
2479 {
2480 if (temp3)
2481 delete arg3;
2482 }
2483 {
2484 if (temp7)
2485 delete arg7;
2486 }
2487 return resultobj;
2488 fail:
2489 {
2490 if (temp3)
2491 delete arg3;
2492 }
2493 {
2494 if (temp7)
2495 delete arg7;
2496 }
2497 return NULL;
2498}
2499
2500
c32bde28 2501static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2502 PyObject *resultobj;
2503 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2504 wxArrayString *arg2 = 0 ;
ae8162c8 2505 bool temp2 = false ;
44127b65
RD
2506 PyObject * obj0 = 0 ;
2507 PyObject * obj1 = 0 ;
2508 char *kwnames[] = {
2509 (char *) "self",(char *) "strings", NULL
2510 };
2511
2512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2514 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2515 {
2516 if (! PySequence_Check(obj1)) {
2517 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2518 SWIG_fail;
2519 }
2520 arg2 = new wxArrayString;
ae8162c8 2521 temp2 = true;
44127b65
RD
2522 int i, len=PySequence_Length(obj1);
2523 for (i=0; i<len; i++) {
2524 PyObject* item = PySequence_GetItem(obj1, i);
2525#if wxUSE_UNICODE
2526 PyObject* str = PyObject_Unicode(item);
2527#else
2528 PyObject* str = PyObject_Str(item);
2529#endif
74a57fcd 2530 if (PyErr_Occurred()) SWIG_fail;
44127b65
RD
2531 arg2->Add(Py2wxString(str));
2532 Py_DECREF(item);
2533 Py_DECREF(str);
2534 }
2535 }
2536 {
2537 PyThreadState* __tstate = wxPyBeginAllowThreads();
2538 (arg1)->SetStrings((wxArrayString const &)*arg2);
2539
2540 wxPyEndAllowThreads(__tstate);
2541 if (PyErr_Occurred()) SWIG_fail;
2542 }
2543 Py_INCREF(Py_None); resultobj = Py_None;
2544 {
db914595 2545 if (temp2) delete arg2;
44127b65
RD
2546 }
2547 return resultobj;
2548 fail:
2549 {
db914595 2550 if (temp2) delete arg2;
44127b65
RD
2551 }
2552 return NULL;
2553}
2554
2555
c32bde28 2556static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2557 PyObject *resultobj;
2558 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2559 PyObject *result;
2560 PyObject * obj0 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetStrings",kwnames,&obj0)) goto fail;
093d3ff1
RD
2566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2567 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 resultobj = result;
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
c32bde28 2582static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2583 PyObject *resultobj;
2584 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
4cf4100f 2585 wxPyListCtrl *result;
44127b65
RD
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetListCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
2592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2593 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
4cf4100f 2596 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
44127b65
RD
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
4cf4100f 2601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
44127b65
RD
2602 return resultobj;
2603 fail:
2604 return NULL;
2605}
2606
2607
c32bde28 2608static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2609 PyObject *resultobj;
2610 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2611 wxBitmapButton *result;
2612 PyObject * obj0 = 0 ;
2613 char *kwnames[] = {
2614 (char *) "self", NULL
2615 };
2616
2617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDelButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
2618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2619 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 result = (wxBitmapButton *)(arg1)->GetDelButton();
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 {
412d302d 2628 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2629 }
2630 return resultobj;
2631 fail:
2632 return NULL;
2633}
2634
2635
c32bde28 2636static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2637 PyObject *resultobj;
2638 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2639 wxBitmapButton *result;
2640 PyObject * obj0 = 0 ;
2641 char *kwnames[] = {
2642 (char *) "self", NULL
2643 };
2644
2645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetNewButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
2646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2647 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = (wxBitmapButton *)(arg1)->GetNewButton();
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 {
412d302d 2656 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2657 }
2658 return resultobj;
2659 fail:
2660 return NULL;
2661}
2662
2663
c32bde28 2664static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2665 PyObject *resultobj;
2666 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2667 wxBitmapButton *result;
2668 PyObject * obj0 = 0 ;
2669 char *kwnames[] = {
2670 (char *) "self", NULL
2671 };
2672
2673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetUpButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
2674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (wxBitmapButton *)(arg1)->GetUpButton();
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 {
412d302d 2684 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2685 }
2686 return resultobj;
2687 fail:
2688 return NULL;
2689}
2690
2691
c32bde28 2692static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2693 PyObject *resultobj;
2694 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2695 wxBitmapButton *result;
2696 PyObject * obj0 = 0 ;
2697 char *kwnames[] = {
2698 (char *) "self", NULL
2699 };
2700
2701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetDownButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
2702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2703 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
2706 result = (wxBitmapButton *)(arg1)->GetDownButton();
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
2711 {
412d302d 2712 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2713 }
2714 return resultobj;
2715 fail:
2716 return NULL;
2717}
2718
2719
c32bde28 2720static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2721 PyObject *resultobj;
2722 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2723 wxBitmapButton *result;
2724 PyObject * obj0 = 0 ;
2725 char *kwnames[] = {
2726 (char *) "self", NULL
2727 };
2728
2729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EditableListBox_GetEditButton",kwnames,&obj0)) goto fail;
093d3ff1
RD
2730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2731 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = (wxBitmapButton *)(arg1)->GetEditButton();
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
412d302d 2740 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2741 }
2742 return resultobj;
2743 fail:
2744 return NULL;
2745}
2746
2747
c32bde28 2748static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2749 PyObject *obj;
2750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2751 SWIG_TypeClientData(SWIGTYPE_p_wxEditableListBox, obj);
2752 Py_INCREF(obj);
2753 return Py_BuildValue((char *)"");
2754}
c32bde28 2755static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2756 PyObject *resultobj;
2757 wxWindow *arg1 = (wxWindow *) 0 ;
2758 int arg2 ;
2759 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2760 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2761 wxSize const &arg4_defvalue = wxDefaultSize ;
2762 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2763 long arg5 = (long) wxTR_HAS_BUTTONS ;
2764 wxRemotelyScrolledTreeCtrl *result;
2765 wxPoint temp3 ;
2766 wxSize temp4 ;
2767 PyObject * obj0 = 0 ;
8edf1c75 2768 PyObject * obj1 = 0 ;
44127b65
RD
2769 PyObject * obj2 = 0 ;
2770 PyObject * obj3 = 0 ;
8edf1c75 2771 PyObject * obj4 = 0 ;
44127b65
RD
2772 char *kwnames[] = {
2773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2774 };
2775
8edf1c75 2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
2777 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2778 if (SWIG_arg_fail(1)) SWIG_fail;
2779 {
2780 arg2 = (int)(SWIG_As_int(obj1));
2781 if (SWIG_arg_fail(2)) SWIG_fail;
2782 }
44127b65
RD
2783 if (obj2) {
2784 {
2785 arg3 = &temp3;
2786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2787 }
2788 }
2789 if (obj3) {
2790 {
2791 arg4 = &temp4;
2792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2793 }
2794 }
8edf1c75 2795 if (obj4) {
093d3ff1
RD
2796 {
2797 arg5 = (long)(SWIG_As_long(obj4));
2798 if (SWIG_arg_fail(5)) SWIG_fail;
2799 }
8edf1c75 2800 }
44127b65 2801 {
0439c23b 2802 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
2805
2806 wxPyEndAllowThreads(__tstate);
110da5b0 2807 if (PyErr_Occurred()) SWIG_fail;
44127b65 2808 }
2f4c0a16 2809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
44127b65
RD
2810 return resultobj;
2811 fail:
2812 return NULL;
2813}
2814
2815
c32bde28 2816static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2817 PyObject *resultobj;
2818 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2819 PyObject * obj0 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "self", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_HideVScrollbar",kwnames,&obj0)) goto fail;
093d3ff1
RD
2825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2826 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2827 {
2828 PyThreadState* __tstate = wxPyBeginAllowThreads();
2829 (arg1)->HideVScrollbar();
2830
2831 wxPyEndAllowThreads(__tstate);
2832 if (PyErr_Occurred()) SWIG_fail;
2833 }
2834 Py_INCREF(Py_None); resultobj = Py_None;
2835 return resultobj;
2836 fail:
2837 return NULL;
2838}
2839
2840
c32bde28 2841static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2842 PyObject *resultobj;
2843 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2844 PyObject * obj0 = 0 ;
2845 char *kwnames[] = {
2846 (char *) "self", NULL
2847 };
2848
2849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars",kwnames,&obj0)) goto fail;
093d3ff1
RD
2850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2851 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2852 {
2853 PyThreadState* __tstate = wxPyBeginAllowThreads();
2854 (arg1)->AdjustRemoteScrollbars();
2855
2856 wxPyEndAllowThreads(__tstate);
2857 if (PyErr_Occurred()) SWIG_fail;
2858 }
2859 Py_INCREF(Py_None); resultobj = Py_None;
2860 return resultobj;
2861 fail:
2862 return NULL;
2863}
2864
2865
c32bde28 2866static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2867 PyObject *resultobj;
2868 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2869 wxScrolledWindow *result;
2870 PyObject * obj0 = 0 ;
2871 char *kwnames[] = {
2872 (char *) "self", NULL
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetScrolledWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
2876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
412d302d
RD
2885 {
2886 resultobj = wxPyMake_wxObject(result, 0);
2887 }
44127b65
RD
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
c32bde28 2894static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2895 PyObject *resultobj;
2896 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2897 int arg2 ;
2898 int arg3 ;
2899 PyObject * obj0 = 0 ;
8edf1c75
RD
2900 PyObject * obj1 = 0 ;
2901 PyObject * obj2 = 0 ;
44127b65
RD
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
2904 };
2905
8edf1c75 2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
2907 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2908 if (SWIG_arg_fail(1)) SWIG_fail;
2909 {
2910 arg2 = (int)(SWIG_As_int(obj1));
2911 if (SWIG_arg_fail(2)) SWIG_fail;
2912 }
2913 {
2914 arg3 = (int)(SWIG_As_int(obj2));
2915 if (SWIG_arg_fail(3)) SWIG_fail;
2916 }
44127b65
RD
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->ScrollToLine(arg2,arg3);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928}
2929
2930
c32bde28 2931static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2932 PyObject *resultobj;
2933 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2934 wxWindow *arg2 = (wxWindow *) 0 ;
2935 PyObject * obj0 = 0 ;
2936 PyObject * obj1 = 0 ;
2937 char *kwnames[] = {
2938 (char *) "self",(char *) "companion", NULL
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
2942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2943 if (SWIG_arg_fail(1)) SWIG_fail;
2944 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2945 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->SetCompanionWindow(arg2);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957}
2958
2959
c32bde28 2960static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2961 PyObject *resultobj;
2962 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2963 wxWindow *result;
2964 PyObject * obj0 = 0 ;
2965 char *kwnames[] = {
2966 (char *) "self", NULL
2967 };
2968
2969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RemotelyScrolledTreeCtrl_GetCompanionWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
2970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2971 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
2972 {
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) SWIG_fail;
2978 }
2979 {
412d302d 2980 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985}
2986
2987
c32bde28 2988static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
2989 PyObject *obj;
2990 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2991 SWIG_TypeClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, obj);
2992 Py_INCREF(obj);
2993 return Py_BuildValue((char *)"");
2994}
c32bde28 2995static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
2996 PyObject *resultobj;
2997 wxWindow *arg1 = (wxWindow *) 0 ;
2998 int arg2 = (int) -1 ;
2999 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3000 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3001 wxSize const &arg4_defvalue = wxDefaultSize ;
3002 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3003 long arg5 = (long) 0 ;
3004 wxPyTreeCompanionWindow *result;
3005 wxPoint temp3 ;
3006 wxSize temp4 ;
3007 PyObject * obj0 = 0 ;
8edf1c75 3008 PyObject * obj1 = 0 ;
44127b65
RD
3009 PyObject * obj2 = 0 ;
3010 PyObject * obj3 = 0 ;
8edf1c75 3011 PyObject * obj4 = 0 ;
44127b65
RD
3012 char *kwnames[] = {
3013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3014 };
3015
8edf1c75 3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
3017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3018 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3019 if (obj1) {
093d3ff1
RD
3020 {
3021 arg2 = (int)(SWIG_As_int(obj1));
3022 if (SWIG_arg_fail(2)) SWIG_fail;
3023 }
8edf1c75 3024 }
44127b65
RD
3025 if (obj2) {
3026 {
3027 arg3 = &temp3;
3028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3029 }
3030 }
3031 if (obj3) {
3032 {
3033 arg4 = &temp4;
3034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3035 }
3036 }
8edf1c75 3037 if (obj4) {
093d3ff1
RD
3038 {
3039 arg5 = (long)(SWIG_As_long(obj4));
3040 if (SWIG_arg_fail(5)) SWIG_fail;
3041 }
8edf1c75 3042 }
44127b65 3043 {
0439c23b 3044 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3047
3048 wxPyEndAllowThreads(__tstate);
110da5b0 3049 if (PyErr_Occurred()) SWIG_fail;
44127b65 3050 }
2f4c0a16 3051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
44127b65
RD
3052 return resultobj;
3053 fail:
3054 return NULL;
3055}
3056
3057
c32bde28 3058static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3059 PyObject *resultobj;
3060 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3061 PyObject *arg2 = (PyObject *) 0 ;
3062 PyObject *arg3 = (PyObject *) 0 ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj1 = 0 ;
3065 PyObject * obj2 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self",(char *) "self",(char *) "_class", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3072 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3073 arg2 = obj1;
3074 arg3 = obj2;
3075 {
3076 PyThreadState* __tstate = wxPyBeginAllowThreads();
3077 (arg1)->_setCallbackInfo(arg2,arg3);
3078
3079 wxPyEndAllowThreads(__tstate);
3080 if (PyErr_Occurred()) SWIG_fail;
3081 }
3082 Py_INCREF(Py_None); resultobj = Py_None;
3083 return resultobj;
3084 fail:
3085 return NULL;
3086}
3087
3088
c32bde28 3089static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3090 PyObject *resultobj;
3091 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3092 wxRemotelyScrolledTreeCtrl *result;
3093 PyObject * obj0 = 0 ;
3094 char *kwnames[] = {
3095 (char *) "self", NULL
3096 };
3097
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCompanionWindow_GetTreeCtrl",kwnames,&obj0)) goto fail;
093d3ff1
RD
3099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3100 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
2f4c0a16 3108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
44127b65
RD
3109 return resultobj;
3110 fail:
3111 return NULL;
3112}
3113
3114
c32bde28 3115static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3116 PyObject *resultobj;
3117 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
3118 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
3119 PyObject * obj0 = 0 ;
3120 PyObject * obj1 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "treeCtrl", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3127 if (SWIG_arg_fail(1)) SWIG_fail;
3128 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
3129 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 (arg1)->SetTreeCtrl(arg2);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 Py_INCREF(Py_None); resultobj = Py_None;
3138 return resultobj;
3139 fail:
3140 return NULL;
3141}
3142
3143
c32bde28 3144static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3145 PyObject *obj;
3146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3147 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, obj);
3148 Py_INCREF(obj);
3149 return Py_BuildValue((char *)"");
3150}
c32bde28 3151static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3152 PyObject *resultobj;
3153 wxWindow *arg1 = (wxWindow *) 0 ;
3154 int arg2 = (int) -1 ;
3155 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3156 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3157 wxSize const &arg4_defvalue = wxDefaultSize ;
3158 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3159 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
3160 wxThinSplitterWindow *result;
3161 wxPoint temp3 ;
3162 wxSize temp4 ;
3163 PyObject * obj0 = 0 ;
8edf1c75 3164 PyObject * obj1 = 0 ;
44127b65
RD
3165 PyObject * obj2 = 0 ;
3166 PyObject * obj3 = 0 ;
8edf1c75 3167 PyObject * obj4 = 0 ;
44127b65
RD
3168 char *kwnames[] = {
3169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3170 };
3171
8edf1c75 3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
3173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3175 if (obj1) {
093d3ff1
RD
3176 {
3177 arg2 = (int)(SWIG_As_int(obj1));
3178 if (SWIG_arg_fail(2)) SWIG_fail;
3179 }
8edf1c75 3180 }
44127b65
RD
3181 if (obj2) {
3182 {
3183 arg3 = &temp3;
3184 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3185 }
3186 }
3187 if (obj3) {
3188 {
3189 arg4 = &temp4;
3190 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3191 }
3192 }
8edf1c75 3193 if (obj4) {
093d3ff1
RD
3194 {
3195 arg5 = (long)(SWIG_As_long(obj4));
3196 if (SWIG_arg_fail(5)) SWIG_fail;
3197 }
8edf1c75 3198 }
44127b65 3199 {
0439c23b 3200 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3203
3204 wxPyEndAllowThreads(__tstate);
110da5b0 3205 if (PyErr_Occurred()) SWIG_fail;
44127b65 3206 }
2f4c0a16 3207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
44127b65
RD
3208 return resultobj;
3209 fail:
3210 return NULL;
3211}
3212
3213
c32bde28 3214static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3215 PyObject *obj;
3216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3217 SWIG_TypeClientData(SWIGTYPE_p_wxThinSplitterWindow, obj);
3218 Py_INCREF(obj);
3219 return Py_BuildValue((char *)"");
3220}
c32bde28 3221static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3222 PyObject *resultobj;
3223 wxWindow *arg1 = (wxWindow *) 0 ;
3224 int arg2 = (int) -1 ;
3225 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3226 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3227 wxSize const &arg4_defvalue = wxDefaultSize ;
3228 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3229 long arg5 = (long) 0 ;
3230 wxSplitterScrolledWindow *result;
3231 wxPoint temp3 ;
3232 wxSize temp4 ;
3233 PyObject * obj0 = 0 ;
8edf1c75 3234 PyObject * obj1 = 0 ;
44127b65
RD
3235 PyObject * obj2 = 0 ;
3236 PyObject * obj3 = 0 ;
8edf1c75 3237 PyObject * obj4 = 0 ;
44127b65
RD
3238 char *kwnames[] = {
3239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3240 };
3241
8edf1c75 3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3245 if (obj1) {
093d3ff1
RD
3246 {
3247 arg2 = (int)(SWIG_As_int(obj1));
3248 if (SWIG_arg_fail(2)) SWIG_fail;
3249 }
8edf1c75 3250 }
44127b65
RD
3251 if (obj2) {
3252 {
3253 arg3 = &temp3;
3254 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3255 }
3256 }
3257 if (obj3) {
3258 {
3259 arg4 = &temp4;
3260 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3261 }
3262 }
8edf1c75 3263 if (obj4) {
093d3ff1
RD
3264 {
3265 arg5 = (long)(SWIG_As_long(obj4));
3266 if (SWIG_arg_fail(5)) SWIG_fail;
3267 }
8edf1c75 3268 }
44127b65 3269 {
0439c23b 3270 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3273
3274 wxPyEndAllowThreads(__tstate);
110da5b0 3275 if (PyErr_Occurred()) SWIG_fail;
44127b65 3276 }
2f4c0a16 3277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
44127b65
RD
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
c32bde28 3284static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3285 PyObject *obj;
3286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterScrolledWindow, obj);
3288 Py_INCREF(obj);
3289 return Py_BuildValue((char *)"");
3290}
c32bde28 3291static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3292 PyObject *resultobj;
3293 wxWindow *arg1 = (wxWindow *) 0 ;
3294 int arg2 = (int) -1 ;
3295 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3296 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3297 wxSize const &arg4_defvalue = wxDefaultSize ;
3298 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3299 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3300 wxLEDNumberCtrl *result;
3301 wxPoint temp3 ;
3302 wxSize temp4 ;
3303 PyObject * obj0 = 0 ;
8edf1c75 3304 PyObject * obj1 = 0 ;
44127b65
RD
3305 PyObject * obj2 = 0 ;
3306 PyObject * obj3 = 0 ;
8edf1c75 3307 PyObject * obj4 = 0 ;
44127b65
RD
3308 char *kwnames[] = {
3309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3310 };
3311
8edf1c75 3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
3313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 3315 if (obj1) {
093d3ff1
RD
3316 {
3317 arg2 = (int)(SWIG_As_int(obj1));
3318 if (SWIG_arg_fail(2)) SWIG_fail;
3319 }
8edf1c75 3320 }
44127b65
RD
3321 if (obj2) {
3322 {
3323 arg3 = &temp3;
3324 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3325 }
3326 }
3327 if (obj3) {
3328 {
3329 arg4 = &temp4;
3330 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3331 }
3332 }
8edf1c75 3333 if (obj4) {
093d3ff1
RD
3334 {
3335 arg5 = (long)(SWIG_As_long(obj4));
3336 if (SWIG_arg_fail(5)) SWIG_fail;
3337 }
8edf1c75 3338 }
44127b65 3339 {
0439c23b 3340 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3343
3344 wxPyEndAllowThreads(__tstate);
110da5b0 3345 if (PyErr_Occurred()) SWIG_fail;
44127b65 3346 }
2f4c0a16 3347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3348 return resultobj;
3349 fail:
3350 return NULL;
3351}
3352
3353
c32bde28 3354static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3355 PyObject *resultobj;
3356 wxLEDNumberCtrl *result;
3357 char *kwnames[] = {
3358 NULL
3359 };
3360
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreLEDNumberCtrl",kwnames)) goto fail;
3362 {
0439c23b 3363 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3366
3367 wxPyEndAllowThreads(__tstate);
110da5b0 3368 if (PyErr_Occurred()) SWIG_fail;
44127b65 3369 }
2f4c0a16 3370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
44127b65
RD
3371 return resultobj;
3372 fail:
3373 return NULL;
3374}
3375
3376
c32bde28 3377static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3378 PyObject *resultobj;
3379 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3380 wxWindow *arg2 = (wxWindow *) 0 ;
3381 int arg3 = (int) -1 ;
3382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3384 wxSize const &arg5_defvalue = wxDefaultSize ;
3385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3386 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
3387 bool result;
3388 wxPoint temp4 ;
3389 wxSize temp5 ;
3390 PyObject * obj0 = 0 ;
3391 PyObject * obj1 = 0 ;
8edf1c75 3392 PyObject * obj2 = 0 ;
44127b65
RD
3393 PyObject * obj3 = 0 ;
3394 PyObject * obj4 = 0 ;
8edf1c75 3395 PyObject * obj5 = 0 ;
44127b65
RD
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3398 };
3399
8edf1c75 3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
3401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3402 if (SWIG_arg_fail(1)) SWIG_fail;
3403 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3404 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 3405 if (obj2) {
093d3ff1
RD
3406 {
3407 arg3 = (int)(SWIG_As_int(obj2));
3408 if (SWIG_arg_fail(3)) SWIG_fail;
3409 }
8edf1c75 3410 }
44127b65
RD
3411 if (obj3) {
3412 {
3413 arg4 = &temp4;
3414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3415 }
3416 }
3417 if (obj4) {
3418 {
3419 arg5 = &temp5;
3420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3421 }
3422 }
8edf1c75 3423 if (obj5) {
093d3ff1
RD
3424 {
3425 arg6 = (long)(SWIG_As_long(obj5));
3426 if (SWIG_arg_fail(6)) SWIG_fail;
3427 }
8edf1c75 3428 }
44127b65
RD
3429 {
3430 PyThreadState* __tstate = wxPyBeginAllowThreads();
3431 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3432
3433 wxPyEndAllowThreads(__tstate);
3434 if (PyErr_Occurred()) SWIG_fail;
3435 }
4f89f6a3
RD
3436 {
3437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3438 }
44127b65
RD
3439 return resultobj;
3440 fail:
3441 return NULL;
3442}
3443
3444
c32bde28 3445static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3446 PyObject *resultobj;
3447 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
093d3ff1 3448 wxLEDValueAlign result;
44127b65
RD
3449 PyObject * obj0 = 0 ;
3450 char *kwnames[] = {
3451 (char *) "self", NULL
3452 };
3453
3454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
3455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3456 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3459 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
44127b65
RD
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
093d3ff1 3464 resultobj = SWIG_From_int((result));
44127b65
RD
3465 return resultobj;
3466 fail:
3467 return NULL;
3468}
3469
3470
c32bde28 3471static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3472 PyObject *resultobj;
3473 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3474 bool result;
3475 PyObject * obj0 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "self", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetDrawFaded",kwnames,&obj0)) goto fail;
093d3ff1
RD
3481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3482 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
4f89f6a3
RD
3490 {
3491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3492 }
44127b65
RD
3493 return resultobj;
3494 fail:
3495 return NULL;
3496}
3497
3498
c32bde28 3499static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3500 PyObject *resultobj;
3501 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3502 wxString *result;
3503 PyObject * obj0 = 0 ;
3504 char *kwnames[] = {
3505 (char *) "self", NULL
3506 };
3507
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LEDNumberCtrl_GetValue",kwnames,&obj0)) goto fail;
093d3ff1
RD
3509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 {
3514 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
3515 result = (wxString *) &_result_ref;
3516 }
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
f0983263
RD
3521 {
3522#if wxUSE_UNICODE
3523 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
3524#else
3525 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
3526#endif
3527 }
44127b65
RD
3528 return resultobj;
3529 fail:
3530 return NULL;
3531}
3532
3533
c32bde28 3534static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3535 PyObject *resultobj;
3536 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
093d3ff1 3537 wxLEDValueAlign arg2 ;
44127b65
RD
3538 bool arg3 = (bool) true ;
3539 PyObject * obj0 = 0 ;
8edf1c75 3540 PyObject * obj1 = 0 ;
44127b65
RD
3541 PyObject * obj2 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3544 };
3545
8edf1c75 3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3548 if (SWIG_arg_fail(1)) SWIG_fail;
3549 {
3550 arg2 = (wxLEDValueAlign)(SWIG_As_int(obj1));
3551 if (SWIG_arg_fail(2)) SWIG_fail;
3552 }
44127b65 3553 if (obj2) {
093d3ff1
RD
3554 {
3555 arg3 = (bool)(SWIG_As_bool(obj2));
3556 if (SWIG_arg_fail(3)) SWIG_fail;
3557 }
44127b65
RD
3558 }
3559 {
3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
3561 (arg1)->SetAlignment((wxLEDValueAlign )arg2,arg3);
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 Py_INCREF(Py_None); resultobj = Py_None;
3567 return resultobj;
3568 fail:
3569 return NULL;
3570}
3571
3572
c32bde28 3573static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3574 PyObject *resultobj;
3575 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3576 bool arg2 ;
3577 bool arg3 = (bool) true ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 PyObject * obj2 = 0 ;
3581 char *kwnames[] = {
3582 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
3583 };
3584
3585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3586 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3587 if (SWIG_arg_fail(1)) SWIG_fail;
3588 {
3589 arg2 = (bool)(SWIG_As_bool(obj1));
3590 if (SWIG_arg_fail(2)) SWIG_fail;
3591 }
83448d71 3592 if (obj2) {
093d3ff1
RD
3593 {
3594 arg3 = (bool)(SWIG_As_bool(obj2));
3595 if (SWIG_arg_fail(3)) SWIG_fail;
3596 }
83448d71 3597 }
44127b65
RD
3598 {
3599 PyThreadState* __tstate = wxPyBeginAllowThreads();
3600 (arg1)->SetDrawFaded(arg2,arg3);
3601
3602 wxPyEndAllowThreads(__tstate);
3603 if (PyErr_Occurred()) SWIG_fail;
3604 }
3605 Py_INCREF(Py_None); resultobj = Py_None;
3606 return resultobj;
3607 fail:
3608 return NULL;
3609}
3610
3611
c32bde28 3612static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3613 PyObject *resultobj;
3614 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3615 wxString *arg2 = 0 ;
3616 bool arg3 = (bool) true ;
ae8162c8 3617 bool temp2 = false ;
44127b65
RD
3618 PyObject * obj0 = 0 ;
3619 PyObject * obj1 = 0 ;
3620 PyObject * obj2 = 0 ;
3621 char *kwnames[] = {
3622 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
3623 };
3624
3625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3628 {
3629 arg2 = wxString_in_helper(obj1);
3630 if (arg2 == NULL) SWIG_fail;
ae8162c8 3631 temp2 = true;
44127b65
RD
3632 }
3633 if (obj2) {
093d3ff1
RD
3634 {
3635 arg3 = (bool)(SWIG_As_bool(obj2));
3636 if (SWIG_arg_fail(3)) SWIG_fail;
3637 }
44127b65
RD
3638 }
3639 {
3640 PyThreadState* __tstate = wxPyBeginAllowThreads();
3641 (arg1)->SetValue((wxString const &)*arg2,arg3);
3642
3643 wxPyEndAllowThreads(__tstate);
3644 if (PyErr_Occurred()) SWIG_fail;
3645 }
3646 Py_INCREF(Py_None); resultobj = Py_None;
3647 {
3648 if (temp2)
3649 delete arg2;
3650 }
3651 return resultobj;
3652 fail:
3653 {
3654 if (temp2)
3655 delete arg2;
3656 }
3657 return NULL;
3658}
3659
3660
c32bde28 3661static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
3662 PyObject *obj;
3663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3664 SWIG_TypeClientData(SWIGTYPE_p_wxLEDNumberCtrl, obj);
3665 Py_INCREF(obj);
3666 return Py_BuildValue((char *)"");
3667}
c32bde28 3668static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3669 PyObject *resultobj;
3670 wxString const &arg1_defvalue = wxPyEmptyString ;
3671 wxString *arg1 = (wxString *) &arg1_defvalue ;
3672 int arg2 = (int) -1 ;
3673 size_t arg3 = (size_t) 100 ;
ae8162c8 3674 bool arg4 = (bool) true ;
093d3ff1 3675 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
44127b65 3676 wxTreeListColumnInfo *result;
ae8162c8 3677 bool temp1 = false ;
44127b65 3678 PyObject * obj0 = 0 ;
8edf1c75 3679 PyObject * obj1 = 0 ;
44127b65 3680 PyObject * obj2 = 0 ;
8edf1c75 3681 PyObject * obj3 = 0 ;
629f3c1b 3682 PyObject * obj4 = 0 ;
44127b65 3683 char *kwnames[] = {
629f3c1b 3684 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
44127b65
RD
3685 };
3686
629f3c1b 3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
44127b65
RD
3688 if (obj0) {
3689 {
3690 arg1 = wxString_in_helper(obj0);
3691 if (arg1 == NULL) SWIG_fail;
ae8162c8 3692 temp1 = true;
44127b65
RD
3693 }
3694 }
8edf1c75 3695 if (obj1) {
093d3ff1
RD
3696 {
3697 arg2 = (int)(SWIG_As_int(obj1));
3698 if (SWIG_arg_fail(2)) SWIG_fail;
3699 }
8edf1c75 3700 }
44127b65 3701 if (obj2) {
093d3ff1
RD
3702 {
3703 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
3704 if (SWIG_arg_fail(3)) SWIG_fail;
3705 }
8edf1c75
RD
3706 }
3707 if (obj3) {
093d3ff1
RD
3708 {
3709 arg4 = (bool)(SWIG_As_bool(obj3));
3710 if (SWIG_arg_fail(4)) SWIG_fail;
3711 }
629f3c1b
RD
3712 }
3713 if (obj4) {
093d3ff1
RD
3714 {
3715 arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4));
3716 if (SWIG_arg_fail(5)) SWIG_fail;
3717 }
44127b65
RD
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
629f3c1b 3721 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5);
44127b65
RD
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
2f4c0a16 3726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
44127b65
RD
3727 {
3728 if (temp1)
3729 delete arg1;
3730 }
3731 return resultobj;
3732 fail:
3733 {
3734 if (temp1)
3735 delete arg1;
3736 }
3737 return NULL;
3738}
3739
3740
c32bde28 3741static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
629f3c1b
RD
3742 PyObject *resultobj;
3743 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3744 bool result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetShown",kwnames,&obj0)) goto fail;
093d3ff1
RD
3751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail;
629f3c1b
RD
3753 {
3754 PyThreadState* __tstate = wxPyBeginAllowThreads();
3755 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
3756
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 {
3761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3762 }
3763 return resultobj;
3764 fail:
3765 return NULL;
3766}
3767
3768
c32bde28 3769static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3770 PyObject *resultobj;
3771 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
093d3ff1 3772 wxTreeListColumnAlign result;
44127b65
RD
3773 PyObject * obj0 = 0 ;
3774 char *kwnames[] = {
3775 (char *) "self", NULL
3776 };
3777
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetAlignment",kwnames,&obj0)) goto fail;
093d3ff1
RD
3779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 3783 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
44127b65
RD
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
093d3ff1 3788 resultobj = SWIG_From_int((result));
44127b65
RD
3789 return resultobj;
3790 fail:
3791 return NULL;
3792}
3793
3794
c32bde28 3795static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3796 PyObject *resultobj;
3797 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3798 wxString result;
3799 PyObject * obj0 = 0 ;
3800 char *kwnames[] = {
3801 (char *) "self", NULL
3802 };
3803
3804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetText",kwnames,&obj0)) goto fail;
093d3ff1
RD
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3807 {
3808 PyThreadState* __tstate = wxPyBeginAllowThreads();
3809 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
3810
3811 wxPyEndAllowThreads(__tstate);
3812 if (PyErr_Occurred()) SWIG_fail;
3813 }
3814 {
3815#if wxUSE_UNICODE
3816 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
3817#else
3818 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
3819#endif
3820 }
3821 return resultobj;
3822 fail:
3823 return NULL;
3824}
3825
3826
c32bde28 3827static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3828 PyObject *resultobj;
3829 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3830 int result;
3831 PyObject * obj0 = 0 ;
3832 char *kwnames[] = {
3833 (char *) "self", NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
3837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
093d3ff1
RD
3846 {
3847 resultobj = SWIG_From_int((int)(result));
3848 }
44127b65
RD
3849 return resultobj;
3850 fail:
3851 return NULL;
3852}
3853
3854
c32bde28 3855static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3856 PyObject *resultobj;
3857 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3858 int result;
3859 PyObject * obj0 = 0 ;
3860 char *kwnames[] = {
3861 (char *) "self", NULL
3862 };
3863
3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetSelectedImage",kwnames,&obj0)) goto fail;
093d3ff1
RD
3865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
093d3ff1
RD
3874 {
3875 resultobj = SWIG_From_int((int)(result));
3876 }
44127b65
RD
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
c32bde28 3883static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3884 PyObject *resultobj;
3885 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3886 size_t result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListColumnInfo_GetWidth",kwnames,&obj0)) goto fail;
093d3ff1
RD
3893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
093d3ff1
RD
3902 {
3903 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
3904 }
44127b65
RD
3905 return resultobj;
3906 fail:
3907 return NULL;
3908}
3909
3910
c32bde28 3911static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
629f3c1b
RD
3912 PyObject *resultobj;
3913 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3914 bool arg2 ;
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 char *kwnames[] = {
3918 (char *) "self",(char *) "shown", NULL
3919 };
3920
3921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3922 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3923 if (SWIG_arg_fail(1)) SWIG_fail;
3924 {
3925 arg2 = (bool)(SWIG_As_bool(obj1));
3926 if (SWIG_arg_fail(2)) SWIG_fail;
3927 }
629f3c1b
RD
3928 {
3929 PyThreadState* __tstate = wxPyBeginAllowThreads();
3930 (arg1)->SetShown(arg2);
3931
3932 wxPyEndAllowThreads(__tstate);
3933 if (PyErr_Occurred()) SWIG_fail;
3934 }
3935 Py_INCREF(Py_None); resultobj = Py_None;
3936 return resultobj;
3937 fail:
3938 return NULL;
3939}
3940
3941
c32bde28 3942static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3943 PyObject *resultobj;
3944 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
093d3ff1 3945 wxTreeListColumnAlign arg2 ;
44127b65 3946 PyObject * obj0 = 0 ;
8edf1c75 3947 PyObject * obj1 = 0 ;
44127b65
RD
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "alignment", NULL
3950 };
3951
8edf1c75 3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3953 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3954 if (SWIG_arg_fail(1)) SWIG_fail;
3955 {
3956 arg2 = (wxTreeListColumnAlign)(SWIG_As_int(obj1));
3957 if (SWIG_arg_fail(2)) SWIG_fail;
3958 }
44127b65
RD
3959 {
3960 PyThreadState* __tstate = wxPyBeginAllowThreads();
3961 (arg1)->SetAlignment((wxTreeListColumnAlign )arg2);
3962
3963 wxPyEndAllowThreads(__tstate);
3964 if (PyErr_Occurred()) SWIG_fail;
3965 }
3966 Py_INCREF(Py_None); resultobj = Py_None;
3967 return resultobj;
3968 fail:
3969 return NULL;
3970}
3971
3972
c32bde28 3973static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
3974 PyObject *resultobj;
3975 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3976 wxString *arg2 = 0 ;
ae8162c8 3977 bool temp2 = false ;
44127b65
RD
3978 PyObject * obj0 = 0 ;
3979 PyObject * obj1 = 0 ;
3980 char *kwnames[] = {
3981 (char *) "self",(char *) "text", NULL
3982 };
3983
3984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
3985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
3987 {
3988 arg2 = wxString_in_helper(obj1);
3989 if (arg2 == NULL) SWIG_fail;
ae8162c8 3990 temp2 = true;
44127b65
RD
3991 }
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 (arg1)->SetText((wxString const &)*arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 Py_INCREF(Py_None); resultobj = Py_None;
4000 {
4001 if (temp2)
4002 delete arg2;
4003 }
4004 return resultobj;
4005 fail:
4006 {
4007 if (temp2)
4008 delete arg2;
4009 }
4010 return NULL;
4011}
4012
4013
c32bde28 4014static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4015 PyObject *resultobj;
4016 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4017 int arg2 ;
4018 PyObject * obj0 = 0 ;
8edf1c75 4019 PyObject * obj1 = 0 ;
44127b65
RD
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "image", NULL
4022 };
4023
8edf1c75 4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4025 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4026 if (SWIG_arg_fail(1)) SWIG_fail;
4027 {
4028 arg2 = (int)(SWIG_As_int(obj1));
4029 if (SWIG_arg_fail(2)) SWIG_fail;
4030 }
44127b65
RD
4031 {
4032 PyThreadState* __tstate = wxPyBeginAllowThreads();
4033 (arg1)->SetImage(arg2);
4034
4035 wxPyEndAllowThreads(__tstate);
4036 if (PyErr_Occurred()) SWIG_fail;
4037 }
4038 Py_INCREF(Py_None); resultobj = Py_None;
4039 return resultobj;
4040 fail:
4041 return NULL;
4042}
4043
4044
c32bde28 4045static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4046 PyObject *resultobj;
4047 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4048 int arg2 ;
4049 PyObject * obj0 = 0 ;
8edf1c75 4050 PyObject * obj1 = 0 ;
44127b65
RD
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "image", NULL
4053 };
4054
8edf1c75 4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4056 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4057 if (SWIG_arg_fail(1)) SWIG_fail;
4058 {
4059 arg2 = (int)(SWIG_As_int(obj1));
4060 if (SWIG_arg_fail(2)) SWIG_fail;
4061 }
44127b65
RD
4062 {
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 (arg1)->SetSelectedImage(arg2);
4065
4066 wxPyEndAllowThreads(__tstate);
4067 if (PyErr_Occurred()) SWIG_fail;
4068 }
4069 Py_INCREF(Py_None); resultobj = Py_None;
4070 return resultobj;
4071 fail:
4072 return NULL;
4073}
4074
4075
c32bde28 4076static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4077 PyObject *resultobj;
4078 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4079 size_t arg2 ;
4080 PyObject * obj0 = 0 ;
4081 PyObject * obj1 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "self",(char *) "with", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4088 if (SWIG_arg_fail(1)) SWIG_fail;
4089 {
4090 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4091 if (SWIG_arg_fail(2)) SWIG_fail;
4092 }
44127b65
RD
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 (arg1)->SetWidth(arg2);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 Py_INCREF(Py_None); resultobj = Py_None;
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
c32bde28 4107static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
44127b65
RD
4108 PyObject *obj;
4109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4110 SWIG_TypeClientData(SWIGTYPE_p_wxTreeListColumnInfo, obj);
4111 Py_INCREF(obj);
4112 return Py_BuildValue((char *)"");
4113}
c32bde28 4114static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4115 PyObject *resultobj;
4116 wxWindow *arg1 = (wxWindow *) 0 ;
4117 int arg2 = (int) -1 ;
4118 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4119 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4120 wxSize const &arg4_defvalue = wxDefaultSize ;
4121 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4122 long arg5 = (long) wxTR_DEFAULT_STYLE ;
4123 wxValidator const &arg6_defvalue = wxDefaultValidator ;
4124 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
4125 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
4126 wxString *arg7 = (wxString *) &arg7_defvalue ;
4127 wxPyTreeListCtrl *result;
4128 wxPoint temp3 ;
4129 wxSize temp4 ;
ae8162c8 4130 bool temp7 = false ;
44127b65 4131 PyObject * obj0 = 0 ;
8edf1c75 4132 PyObject * obj1 = 0 ;
44127b65
RD
4133 PyObject * obj2 = 0 ;
4134 PyObject * obj3 = 0 ;
8edf1c75 4135 PyObject * obj4 = 0 ;
44127b65
RD
4136 PyObject * obj5 = 0 ;
4137 PyObject * obj6 = 0 ;
4138 char *kwnames[] = {
4139 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4140 };
4141
8edf1c75 4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
4143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4144 if (SWIG_arg_fail(1)) SWIG_fail;
8edf1c75 4145 if (obj1) {
093d3ff1
RD
4146 {
4147 arg2 = (int)(SWIG_As_int(obj1));
4148 if (SWIG_arg_fail(2)) SWIG_fail;
4149 }
8edf1c75 4150 }
44127b65
RD
4151 if (obj2) {
4152 {
4153 arg3 = &temp3;
4154 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4155 }
4156 }
4157 if (obj3) {
4158 {
4159 arg4 = &temp4;
4160 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4161 }
4162 }
8edf1c75 4163 if (obj4) {
093d3ff1
RD
4164 {
4165 arg5 = (long)(SWIG_As_long(obj4));
4166 if (SWIG_arg_fail(5)) SWIG_fail;
4167 }
8edf1c75 4168 }
44127b65 4169 if (obj5) {
093d3ff1
RD
4170 {
4171 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4172 if (SWIG_arg_fail(6)) SWIG_fail;
4173 if (arg6 == NULL) {
4174 SWIG_null_ref("wxValidator");
4175 }
4176 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
4177 }
4178 }
4179 if (obj6) {
4180 {
4181 arg7 = wxString_in_helper(obj6);
4182 if (arg7 == NULL) SWIG_fail;
ae8162c8 4183 temp7 = true;
44127b65
RD
4184 }
4185 }
4186 {
0439c23b 4187 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
4190
4191 wxPyEndAllowThreads(__tstate);
110da5b0 4192 if (PyErr_Occurred()) SWIG_fail;
44127b65 4193 }
2f4c0a16 4194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4195 {
4196 if (temp7)
4197 delete arg7;
4198 }
4199 return resultobj;
4200 fail:
4201 {
4202 if (temp7)
4203 delete arg7;
4204 }
4205 return NULL;
4206}
4207
4208
c32bde28 4209static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4210 PyObject *resultobj;
4211 wxPyTreeListCtrl *result;
4212 char *kwnames[] = {
4213 NULL
4214 };
4215
4216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeListCtrl",kwnames)) goto fail;
4217 {
0439c23b 4218 if (!wxPyCheckForApp()) SWIG_fail;
44127b65
RD
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4221
4222 wxPyEndAllowThreads(__tstate);
110da5b0 4223 if (PyErr_Occurred()) SWIG_fail;
44127b65 4224 }
2f4c0a16 4225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
44127b65
RD
4226 return resultobj;
4227 fail:
4228 return NULL;
4229}
4230
4231
c32bde28 4232static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4233 PyObject *resultobj;
4234 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4235 wxWindow *arg2 = (wxWindow *) 0 ;
4236 int arg3 = (int) -1 ;
4237 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4238 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4239 wxSize const &arg5_defvalue = wxDefaultSize ;
4240 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4241 long arg6 = (long) wxTR_DEFAULT_STYLE ;
4242 wxValidator const &arg7_defvalue = wxDefaultValidator ;
4243 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
4244 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
4245 wxString *arg8 = (wxString *) &arg8_defvalue ;
4246 bool result;
4247 wxPoint temp4 ;
4248 wxSize temp5 ;
ae8162c8 4249 bool temp8 = false ;
44127b65
RD
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
8edf1c75 4252 PyObject * obj2 = 0 ;
44127b65
RD
4253 PyObject * obj3 = 0 ;
4254 PyObject * obj4 = 0 ;
8edf1c75 4255 PyObject * obj5 = 0 ;
44127b65
RD
4256 PyObject * obj6 = 0 ;
4257 PyObject * obj7 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
4260 };
4261
8edf1c75 4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
093d3ff1
RD
4263 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4264 if (SWIG_arg_fail(1)) SWIG_fail;
4265 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4266 if (SWIG_arg_fail(2)) SWIG_fail;
8edf1c75 4267 if (obj2) {
093d3ff1
RD
4268 {
4269 arg3 = (int)(SWIG_As_int(obj2));
4270 if (SWIG_arg_fail(3)) SWIG_fail;
4271 }
8edf1c75 4272 }
44127b65
RD
4273 if (obj3) {
4274 {
4275 arg4 = &temp4;
4276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4277 }
4278 }
4279 if (obj4) {
4280 {
4281 arg5 = &temp5;
4282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4283 }
4284 }
8edf1c75 4285 if (obj5) {
093d3ff1
RD
4286 {
4287 arg6 = (long)(SWIG_As_long(obj5));
4288 if (SWIG_arg_fail(6)) SWIG_fail;
4289 }
8edf1c75 4290 }
44127b65 4291 if (obj6) {
093d3ff1
RD
4292 {
4293 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxValidator, SWIG_POINTER_EXCEPTION | 0);
4294 if (SWIG_arg_fail(7)) SWIG_fail;
4295 if (arg7 == NULL) {
4296 SWIG_null_ref("wxValidator");
4297 }
4298 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
4299 }
4300 }
4301 if (obj7) {
4302 {
4303 arg8 = wxString_in_helper(obj7);
4304 if (arg8 == NULL) SWIG_fail;
ae8162c8 4305 temp8 = true;
44127b65
RD
4306 }
4307 }
4308 {
4309 PyThreadState* __tstate = wxPyBeginAllowThreads();
4310 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
4311
4312 wxPyEndAllowThreads(__tstate);
4313 if (PyErr_Occurred()) SWIG_fail;
4314 }
4f89f6a3
RD
4315 {
4316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4317 }
44127b65
RD
4318 {
4319 if (temp8)
4320 delete arg8;
4321 }
4322 return resultobj;
4323 fail:
4324 {
4325 if (temp8)
4326 delete arg8;
4327 }
4328 return NULL;
4329}
4330
4331
c32bde28 4332static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4333 PyObject *resultobj;
4334 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4335 PyObject *arg2 = (PyObject *) 0 ;
4336 PyObject *arg3 = (PyObject *) 0 ;
4337 PyObject * obj0 = 0 ;
4338 PyObject * obj1 = 0 ;
4339 PyObject * obj2 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self",(char *) "self",(char *) "_class", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4347 arg2 = obj1;
4348 arg3 = obj2;
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 (arg1)->_setCallbackInfo(arg2,arg3);
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 Py_INCREF(Py_None); resultobj = Py_None;
4357 return resultobj;
4358 fail:
4359 return NULL;
4360}
4361
4362
c32bde28 4363static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4364 PyObject *resultobj;
4365 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4366 size_t result;
4367 PyObject * obj0 = 0 ;
4368 char *kwnames[] = {
4369 (char *) "self", NULL
4370 };
4371
4372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
4373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
093d3ff1
RD
4382 {
4383 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4384 }
44127b65
RD
4385 return resultobj;
4386 fail:
4387 return NULL;
4388}
4389
4390
c32bde28 4391static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4392 PyObject *resultobj;
4393 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4394 unsigned int result;
4395 PyObject * obj0 = 0 ;
4396 char *kwnames[] = {
4397 (char *) "self", NULL
4398 };
4399
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetIndent",kwnames,&obj0)) goto fail;
093d3ff1
RD
4401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
093d3ff1
RD
4410 {
4411 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4412 }
44127b65
RD
4413 return resultobj;
4414 fail:
4415 return NULL;
4416}
4417
4418
c32bde28 4419static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4420 PyObject *resultobj;
4421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4422 unsigned int arg2 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char *kwnames[] = {
4426 (char *) "self",(char *) "indent", NULL
4427 };
4428
4429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4431 if (SWIG_arg_fail(1)) SWIG_fail;
4432 {
4433 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4434 if (SWIG_arg_fail(2)) SWIG_fail;
4435 }
44127b65
RD
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 (arg1)->SetIndent(arg2);
4439
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 Py_INCREF(Py_None); resultobj = Py_None;
4444 return resultobj;
4445 fail:
4446 return NULL;
4447}
4448
4449
c32bde28 4450static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4451 PyObject *resultobj;
4452 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4453 unsigned int result;
4454 PyObject * obj0 = 0 ;
4455 char *kwnames[] = {
4456 (char *) "self", NULL
4457 };
4458
4459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetLineSpacing",kwnames,&obj0)) goto fail;
093d3ff1
RD
4460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4461 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
093d3ff1
RD
4469 {
4470 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4471 }
44127b65
RD
4472 return resultobj;
4473 fail:
4474 return NULL;
4475}
4476
4477
c32bde28 4478static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4479 PyObject *resultobj;
4480 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4481 unsigned int arg2 ;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self",(char *) "spacing", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4489 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4490 if (SWIG_arg_fail(1)) SWIG_fail;
4491 {
4492 arg2 = (unsigned int)(SWIG_As_unsigned_SS_int(obj1));
4493 if (SWIG_arg_fail(2)) SWIG_fail;
4494 }
44127b65
RD
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 (arg1)->SetLineSpacing(arg2);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 return resultobj;
4504 fail:
4505 return NULL;
4506}
4507
4508
c32bde28 4509static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4510 PyObject *resultobj;
4511 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4512 wxImageList *result;
4513 PyObject * obj0 = 0 ;
4514 char *kwnames[] = {
4515 (char *) "self", NULL
4516 };
4517
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
4519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 {
412d302d 4529 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4530 }
4531 return resultobj;
4532 fail:
4533 return NULL;
4534}
4535
4536
c32bde28 4537static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4538 PyObject *resultobj;
4539 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4540 wxImageList *result;
4541 PyObject * obj0 = 0 ;
4542 char *kwnames[] = {
4543 (char *) "self", NULL
4544 };
4545
4546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
4547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4548 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
412d302d 4557 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
c32bde28 4565static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4566 PyObject *resultobj;
4567 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4568 wxImageList *result;
4569 PyObject * obj0 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetButtonsImageList",kwnames,&obj0)) goto fail;
093d3ff1
RD
4575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
412d302d 4585 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
4586 }
4587 return resultobj;
4588 fail:
4589 return NULL;
4590}
4591
4592
c32bde28 4593static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4594 PyObject *resultobj;
4595 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4596 wxImageList *arg2 = (wxImageList *) 0 ;
4597 PyObject * obj0 = 0 ;
4598 PyObject * obj1 = 0 ;
4599 char *kwnames[] = {
4600 (char *) "self",(char *) "imageList", NULL
4601 };
4602
4603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4604 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4605 if (SWIG_arg_fail(1)) SWIG_fail;
4606 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4607 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 (arg1)->SetImageList(arg2);
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 Py_INCREF(Py_None); resultobj = Py_None;
4616 return resultobj;
4617 fail:
4618 return NULL;
4619}
4620
4621
c32bde28 4622static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4623 PyObject *resultobj;
4624 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4625 wxImageList *arg2 = (wxImageList *) 0 ;
4626 PyObject * obj0 = 0 ;
4627 PyObject * obj1 = 0 ;
4628 char *kwnames[] = {
4629 (char *) "self",(char *) "imageList", NULL
4630 };
4631
4632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4633 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4634 if (SWIG_arg_fail(1)) SWIG_fail;
4635 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4636 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 (arg1)->SetStateImageList(arg2);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 Py_INCREF(Py_None); resultobj = Py_None;
4645 return resultobj;
4646 fail:
4647 return NULL;
4648}
4649
4650
c32bde28 4651static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4652 PyObject *resultobj;
4653 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4654 wxImageList *arg2 = (wxImageList *) 0 ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self",(char *) "imageList", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4662 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4663 if (SWIG_arg_fail(1)) SWIG_fail;
4664 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | 0);
4665 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4666 {
4667 PyThreadState* __tstate = wxPyBeginAllowThreads();
4668 (arg1)->SetButtonsImageList(arg2);
4669
4670 wxPyEndAllowThreads(__tstate);
4671 if (PyErr_Occurred()) SWIG_fail;
4672 }
4673 Py_INCREF(Py_None); resultobj = Py_None;
4674 return resultobj;
4675 fail:
4676 return NULL;
4677}
4678
4679
c32bde28 4680static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4681 PyObject *resultobj;
4682 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4683 wxImageList *arg2 = (wxImageList *) 0 ;
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj1 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self",(char *) "imageList", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4691 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4692 if (SWIG_arg_fail(1)) SWIG_fail;
4693 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4694 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4695 {
4696 PyThreadState* __tstate = wxPyBeginAllowThreads();
4697 (arg1)->AssignImageList(arg2);
4698
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 Py_INCREF(Py_None); resultobj = Py_None;
4703 return resultobj;
4704 fail:
4705 return NULL;
4706}
4707
4708
c32bde28 4709static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4710 PyObject *resultobj;
4711 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4712 wxImageList *arg2 = (wxImageList *) 0 ;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj1 = 0 ;
4715 char *kwnames[] = {
4716 (char *) "self",(char *) "imageList", NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4720 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4721 if (SWIG_arg_fail(1)) SWIG_fail;
4722 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4723 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4724 {
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 (arg1)->AssignStateImageList(arg2);
4727
4728 wxPyEndAllowThreads(__tstate);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 Py_INCREF(Py_None); resultobj = Py_None;
4732 return resultobj;
4733 fail:
4734 return NULL;
4735}
4736
4737
c32bde28 4738static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4739 PyObject *resultobj;
4740 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4741 wxImageList *arg2 = (wxImageList *) 0 ;
4742 PyObject * obj0 = 0 ;
4743 PyObject * obj1 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self",(char *) "imageList", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4749 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4750 if (SWIG_arg_fail(1)) SWIG_fail;
4751 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxImageList, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN);
4752 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4753 {
4754 PyThreadState* __tstate = wxPyBeginAllowThreads();
4755 (arg1)->AssignButtonsImageList(arg2);
4756
4757 wxPyEndAllowThreads(__tstate);
4758 if (PyErr_Occurred()) SWIG_fail;
4759 }
4760 Py_INCREF(Py_None); resultobj = Py_None;
4761 return resultobj;
4762 fail:
4763 return NULL;
4764}
4765
4766
c32bde28 4767static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4768 PyObject *resultobj;
4769 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4770 wxString *arg2 = 0 ;
ae8162c8 4771 bool temp2 = false ;
44127b65
RD
4772 PyObject * obj0 = 0 ;
4773 PyObject * obj1 = 0 ;
4774 char *kwnames[] = {
4775 (char *) "self",(char *) "text", NULL
4776 };
4777
4778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4780 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4781 {
4782 arg2 = wxString_in_helper(obj1);
4783 if (arg2 == NULL) SWIG_fail;
ae8162c8 4784 temp2 = true;
44127b65
RD
4785 }
4786 {
4787 PyThreadState* __tstate = wxPyBeginAllowThreads();
4788 (arg1)->AddColumn((wxString const &)*arg2);
4789
4790 wxPyEndAllowThreads(__tstate);
4791 if (PyErr_Occurred()) SWIG_fail;
4792 }
4793 Py_INCREF(Py_None); resultobj = Py_None;
4794 {
4795 if (temp2)
4796 delete arg2;
4797 }
4798 return resultobj;
4799 fail:
4800 {
4801 if (temp2)
4802 delete arg2;
4803 }
4804 return NULL;
4805}
4806
4807
c32bde28 4808static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4809 PyObject *resultobj;
4810 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4811 wxTreeListColumnInfo *arg2 = 0 ;
4812 PyObject * obj0 = 0 ;
4813 PyObject * obj1 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "col", NULL
4816 };
4817
4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4819 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4820 if (SWIG_arg_fail(1)) SWIG_fail;
4821 {
4822 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4823 if (SWIG_arg_fail(2)) SWIG_fail;
4824 if (arg2 == NULL) {
4825 SWIG_null_ref("wxTreeListColumnInfo");
4826 }
4827 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 Py_INCREF(Py_None); resultobj = Py_None;
4837 return resultobj;
4838 fail:
4839 return NULL;
4840}
4841
4842
c32bde28 4843static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4844 PyObject *resultobj;
4845 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4846 size_t arg2 ;
4847 wxString *arg3 = 0 ;
ae8162c8 4848 bool temp3 = false ;
44127b65
RD
4849 PyObject * obj0 = 0 ;
4850 PyObject * obj1 = 0 ;
4851 PyObject * obj2 = 0 ;
4852 char *kwnames[] = {
4853 (char *) "self",(char *) "before",(char *) "text", NULL
4854 };
4855
4856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4857 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4858 if (SWIG_arg_fail(1)) SWIG_fail;
4859 {
4860 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4861 if (SWIG_arg_fail(2)) SWIG_fail;
4862 }
44127b65
RD
4863 {
4864 arg3 = wxString_in_helper(obj2);
4865 if (arg3 == NULL) SWIG_fail;
ae8162c8 4866 temp3 = true;
44127b65
RD
4867 }
4868 {
4869 PyThreadState* __tstate = wxPyBeginAllowThreads();
4870 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
4871
4872 wxPyEndAllowThreads(__tstate);
4873 if (PyErr_Occurred()) SWIG_fail;
4874 }
4875 Py_INCREF(Py_None); resultobj = Py_None;
4876 {
4877 if (temp3)
4878 delete arg3;
4879 }
4880 return resultobj;
4881 fail:
4882 {
4883 if (temp3)
4884 delete arg3;
4885 }
4886 return NULL;
4887}
4888
4889
c32bde28 4890static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4891 PyObject *resultobj;
4892 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4893 size_t arg2 ;
4894 wxTreeListColumnInfo *arg3 = 0 ;
4895 PyObject * obj0 = 0 ;
4896 PyObject * obj1 = 0 ;
4897 PyObject * obj2 = 0 ;
4898 char *kwnames[] = {
4899 (char *) "self",(char *) "before",(char *) "col", NULL
4900 };
4901
4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
4903 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4904 if (SWIG_arg_fail(1)) SWIG_fail;
4905 {
4906 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4907 if (SWIG_arg_fail(2)) SWIG_fail;
4908 }
4909 {
4910 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
4911 if (SWIG_arg_fail(3)) SWIG_fail;
4912 if (arg3 == NULL) {
4913 SWIG_null_ref("wxTreeListColumnInfo");
4914 }
4915 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
4916 }
4917 {
4918 PyThreadState* __tstate = wxPyBeginAllowThreads();
4919 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
4920
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 Py_INCREF(Py_None); resultobj = Py_None;
4925 return resultobj;
4926 fail:
4927 return NULL;
4928}
4929
4930
c32bde28 4931static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4932 PyObject *resultobj;
4933 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4934 size_t arg2 ;
4935 PyObject * obj0 = 0 ;
4936 PyObject * obj1 = 0 ;
4937 char *kwnames[] = {
4938 (char *) "self",(char *) "column", NULL
4939 };
4940
4941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
4942 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4943 if (SWIG_arg_fail(1)) SWIG_fail;
4944 {
4945 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
4946 if (SWIG_arg_fail(2)) SWIG_fail;
4947 }
44127b65
RD
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 (arg1)->RemoveColumn(arg2);
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 Py_INCREF(Py_None); resultobj = Py_None;
4956 return resultobj;
4957 fail:
4958 return NULL;
4959}
4960
4961
c32bde28 4962static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4963 PyObject *resultobj;
4964 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4965 size_t result;
4966 PyObject * obj0 = 0 ;
4967 char *kwnames[] = {
4968 (char *) "self", NULL
4969 };
4970
4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
093d3ff1
RD
4972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4973 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
093d3ff1
RD
4981 {
4982 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4983 }
44127b65
RD
4984 return resultobj;
4985 fail:
4986 return NULL;
4987}
4988
4989
c32bde28 4990static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
4991 PyObject *resultobj;
4992 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4993 size_t arg2 ;
4994 size_t arg3 ;
4995 PyObject * obj0 = 0 ;
4996 PyObject * obj1 = 0 ;
4997 PyObject * obj2 = 0 ;
4998 char *kwnames[] = {
4999 (char *) "self",(char *) "column",(char *) "width", NULL
5000 };
5001
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5004 if (SWIG_arg_fail(1)) SWIG_fail;
5005 {
5006 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5007 if (SWIG_arg_fail(2)) SWIG_fail;
5008 }
5009 {
5010 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
5011 if (SWIG_arg_fail(3)) SWIG_fail;
5012 }
44127b65
RD
5013 {
5014 PyThreadState* __tstate = wxPyBeginAllowThreads();
5015 (arg1)->SetColumnWidth(arg2,arg3);
5016
5017 wxPyEndAllowThreads(__tstate);
5018 if (PyErr_Occurred()) SWIG_fail;
5019 }
5020 Py_INCREF(Py_None); resultobj = Py_None;
5021 return resultobj;
5022 fail:
5023 return NULL;
5024}
5025
5026
c32bde28 5027static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5028 PyObject *resultobj;
5029 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5030 size_t arg2 ;
5031 int result;
5032 PyObject * obj0 = 0 ;
5033 PyObject * obj1 = 0 ;
5034 char *kwnames[] = {
5035 (char *) "self",(char *) "column", NULL
5036 };
5037
5038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5039 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5040 if (SWIG_arg_fail(1)) SWIG_fail;
5041 {
5042 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5043 if (SWIG_arg_fail(2)) SWIG_fail;
5044 }
44127b65
RD
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
093d3ff1
RD
5052 {
5053 resultobj = SWIG_From_int((int)(result));
5054 }
44127b65
RD
5055 return resultobj;
5056 fail:
5057 return NULL;
5058}
5059
5060
c32bde28 5061static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5062 PyObject *resultobj;
5063 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5064 size_t arg2 ;
5065 PyObject * obj0 = 0 ;
5066 PyObject * obj1 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "self",(char *) "column", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5072 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5073 if (SWIG_arg_fail(1)) SWIG_fail;
5074 {
5075 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5076 if (SWIG_arg_fail(2)) SWIG_fail;
5077 }
44127b65
RD
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 (arg1)->SetMainColumn(arg2);
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 Py_INCREF(Py_None); resultobj = Py_None;
5086 return resultobj;
5087 fail:
5088 return NULL;
5089}
5090
5091
c32bde28 5092static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5093 PyObject *resultobj;
5094 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5095 size_t result;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainColumn",kwnames,&obj0)) goto fail;
093d3ff1
RD
5102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5103 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
093d3ff1
RD
5111 {
5112 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
5113 }
44127b65
RD
5114 return resultobj;
5115 fail:
5116 return NULL;
5117}
5118
5119
c32bde28 5120static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5121 PyObject *resultobj;
5122 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5123 size_t arg2 ;
5124 wxString *arg3 = 0 ;
ae8162c8 5125 bool temp3 = false ;
44127b65
RD
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 PyObject * obj2 = 0 ;
5129 char *kwnames[] = {
5130 (char *) "self",(char *) "column",(char *) "text", NULL
5131 };
5132
5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5134 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5135 if (SWIG_arg_fail(1)) SWIG_fail;
5136 {
5137 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5138 if (SWIG_arg_fail(2)) SWIG_fail;
5139 }
44127b65
RD
5140 {
5141 arg3 = wxString_in_helper(obj2);
5142 if (arg3 == NULL) SWIG_fail;
ae8162c8 5143 temp3 = true;
44127b65
RD
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
5152 Py_INCREF(Py_None); resultobj = Py_None;
5153 {
5154 if (temp3)
5155 delete arg3;
5156 }
5157 return resultobj;
5158 fail:
5159 {
5160 if (temp3)
5161 delete arg3;
5162 }
5163 return NULL;
5164}
5165
5166
c32bde28 5167static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5168 PyObject *resultobj;
5169 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5170 size_t arg2 ;
5171 wxString result;
5172 PyObject * obj0 = 0 ;
5173 PyObject * obj1 = 0 ;
5174 char *kwnames[] = {
5175 (char *) "self",(char *) "column", NULL
5176 };
5177
5178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5179 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5180 if (SWIG_arg_fail(1)) SWIG_fail;
5181 {
5182 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5183 if (SWIG_arg_fail(2)) SWIG_fail;
5184 }
44127b65
RD
5185 {
5186 PyThreadState* __tstate = wxPyBeginAllowThreads();
5187 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
5188
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 {
5193#if wxUSE_UNICODE
5194 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5195#else
5196 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5197#endif
5198 }
5199 return resultobj;
5200 fail:
5201 return NULL;
5202}
5203
5204
c32bde28 5205static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5206 PyObject *resultobj;
5207 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5208 size_t arg2 ;
5209 wxTreeListColumnInfo *arg3 = 0 ;
5210 PyObject * obj0 = 0 ;
5211 PyObject * obj1 = 0 ;
5212 PyObject * obj2 = 0 ;
5213 char *kwnames[] = {
5214 (char *) "self",(char *) "column",(char *) "info", NULL
5215 };
5216
5217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5218 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5219 if (SWIG_arg_fail(1)) SWIG_fail;
5220 {
5221 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5222 if (SWIG_arg_fail(2)) SWIG_fail;
5223 }
5224 {
5225 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
5226 if (SWIG_arg_fail(3)) SWIG_fail;
5227 if (arg3 == NULL) {
5228 SWIG_null_ref("wxTreeListColumnInfo");
5229 }
5230 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5231 }
5232 {
5233 PyThreadState* __tstate = wxPyBeginAllowThreads();
5234 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
5235
5236 wxPyEndAllowThreads(__tstate);
5237 if (PyErr_Occurred()) SWIG_fail;
5238 }
5239 Py_INCREF(Py_None); resultobj = Py_None;
5240 return resultobj;
5241 fail:
5242 return NULL;
5243}
5244
5245
c32bde28 5246static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5247 PyObject *resultobj;
5248 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5249 size_t arg2 ;
5250 wxTreeListColumnInfo *result;
5251 PyObject * obj0 = 0 ;
5252 PyObject * obj1 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self",(char *) "column", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5258 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5259 if (SWIG_arg_fail(1)) SWIG_fail;
5260 {
5261 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5262 if (SWIG_arg_fail(2)) SWIG_fail;
5263 }
44127b65
RD
5264 {
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 {
5267 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
5268 result = (wxTreeListColumnInfo *) &_result_ref;
5269 }
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
2f4c0a16 5274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
44127b65
RD
5275 return resultobj;
5276 fail:
5277 return NULL;
5278}
5279
5280
c32bde28 5281static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5282 PyObject *resultobj;
5283 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5284 size_t arg2 ;
093d3ff1 5285 wxTreeListColumnAlign arg3 ;
44127b65
RD
5286 PyObject * obj0 = 0 ;
5287 PyObject * obj1 = 0 ;
8edf1c75 5288 PyObject * obj2 = 0 ;
44127b65
RD
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "column",(char *) "align", NULL
5291 };
5292
8edf1c75 5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5294 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5295 if (SWIG_arg_fail(1)) SWIG_fail;
5296 {
5297 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5298 if (SWIG_arg_fail(2)) SWIG_fail;
5299 }
5300 {
5301 arg3 = (wxTreeListColumnAlign)(SWIG_As_int(obj2));
5302 if (SWIG_arg_fail(3)) SWIG_fail;
5303 }
44127b65
RD
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 (arg1)->SetColumnAlignment(arg2,(wxTreeListColumnAlign )arg3);
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 Py_INCREF(Py_None); resultobj = Py_None;
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
c32bde28 5318static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5319 PyObject *resultobj;
5320 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5321 size_t arg2 ;
093d3ff1 5322 wxTreeListColumnAlign result;
44127b65
RD
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self",(char *) "column", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5330 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5331 if (SWIG_arg_fail(1)) SWIG_fail;
5332 {
5333 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5334 if (SWIG_arg_fail(2)) SWIG_fail;
5335 }
44127b65
RD
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
093d3ff1 5338 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
44127b65
RD
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
093d3ff1 5343 resultobj = SWIG_From_int((result));
44127b65
RD
5344 return resultobj;
5345 fail:
5346 return NULL;
5347}
5348
5349
c32bde28 5350static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5351 PyObject *resultobj;
5352 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5353 size_t arg2 ;
5354 int arg3 ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
8edf1c75 5357 PyObject * obj2 = 0 ;
44127b65
RD
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "column",(char *) "image", NULL
5360 };
5361
8edf1c75 5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5363 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5364 if (SWIG_arg_fail(1)) SWIG_fail;
5365 {
5366 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5367 if (SWIG_arg_fail(2)) SWIG_fail;
5368 }
5369 {
5370 arg3 = (int)(SWIG_As_int(obj2));
5371 if (SWIG_arg_fail(3)) SWIG_fail;
5372 }
44127b65
RD
5373 {
5374 PyThreadState* __tstate = wxPyBeginAllowThreads();
5375 (arg1)->SetColumnImage(arg2,arg3);
5376
5377 wxPyEndAllowThreads(__tstate);
5378 if (PyErr_Occurred()) SWIG_fail;
5379 }
5380 Py_INCREF(Py_None); resultobj = Py_None;
5381 return resultobj;
5382 fail:
5383 return NULL;
5384}
5385
5386
c32bde28 5387static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5388 PyObject *resultobj;
5389 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5390 size_t arg2 ;
5391 int result;
5392 PyObject * obj0 = 0 ;
5393 PyObject * obj1 = 0 ;
5394 char *kwnames[] = {
5395 (char *) "self",(char *) "column", NULL
5396 };
5397
5398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5399 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5400 if (SWIG_arg_fail(1)) SWIG_fail;
5401 {
5402 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5403 if (SWIG_arg_fail(2)) SWIG_fail;
5404 }
44127b65
RD
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
093d3ff1
RD
5412 {
5413 resultobj = SWIG_From_int((int)(result));
5414 }
44127b65
RD
5415 return resultobj;
5416 fail:
5417 return NULL;
5418}
5419
5420
c32bde28 5421static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
629f3c1b
RD
5422 PyObject *resultobj;
5423 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5424 size_t arg2 ;
5425 bool arg3 ;
5426 PyObject * obj0 = 0 ;
5427 PyObject * obj1 = 0 ;
5428 PyObject * obj2 = 0 ;
5429 char *kwnames[] = {
5430 (char *) "self",(char *) "column",(char *) "shown", NULL
5431 };
5432
5433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5435 if (SWIG_arg_fail(1)) SWIG_fail;
5436 {
5437 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5438 if (SWIG_arg_fail(2)) SWIG_fail;
5439 }
5440 {
5441 arg3 = (bool)(SWIG_As_bool(obj2));
5442 if (SWIG_arg_fail(3)) SWIG_fail;
5443 }
629f3c1b
RD
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->ShowColumn(arg2,arg3);
5447
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 Py_INCREF(Py_None); resultobj = Py_None;
5452 return resultobj;
5453 fail:
5454 return NULL;
5455}
5456
5457
c32bde28 5458static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
629f3c1b
RD
5459 PyObject *resultobj;
5460 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5461 size_t arg2 ;
5462 bool result;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self",(char *) "column", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5470 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5471 if (SWIG_arg_fail(1)) SWIG_fail;
5472 {
5473 arg2 = (size_t)(SWIG_As_unsigned_SS_long(obj1));
5474 if (SWIG_arg_fail(2)) SWIG_fail;
5475 }
629f3c1b
RD
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
5479
5480 wxPyEndAllowThreads(__tstate);
5481 if (PyErr_Occurred()) SWIG_fail;
5482 }
5483 {
5484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5485 }
5486 return resultobj;
5487 fail:
5488 return NULL;
5489}
5490
5491
c32bde28 5492static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5493 PyObject *resultobj;
5494 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5495 wxTreeItemId *arg2 = 0 ;
5496 int arg3 = (int) -1 ;
5497 wxString result;
5498 PyObject * obj0 = 0 ;
5499 PyObject * obj1 = 0 ;
8edf1c75 5500 PyObject * obj2 = 0 ;
44127b65
RD
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "item",(char *) "column", NULL
5503 };
5504
8edf1c75 5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5506 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5507 if (SWIG_arg_fail(1)) SWIG_fail;
5508 {
5509 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5510 if (SWIG_arg_fail(2)) SWIG_fail;
5511 if (arg2 == NULL) {
5512 SWIG_null_ref("wxTreeItemId");
5513 }
5514 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5515 }
8edf1c75 5516 if (obj2) {
093d3ff1
RD
5517 {
5518 arg3 = (int)(SWIG_As_int(obj2));
5519 if (SWIG_arg_fail(3)) SWIG_fail;
5520 }
8edf1c75 5521 }
44127b65
RD
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 {
5530#if wxUSE_UNICODE
5531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5532#else
5533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5534#endif
5535 }
5536 return resultobj;
5537 fail:
5538 return NULL;
5539}
5540
5541
c32bde28 5542static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5543 PyObject *resultobj;
5544 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5545 wxTreeItemId *arg2 = 0 ;
5546 int arg3 = (int) -1 ;
093d3ff1 5547 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5548 int result;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
8edf1c75
RD
5551 PyObject * obj2 = 0 ;
5552 PyObject * obj3 = 0 ;
44127b65
RD
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5555 };
5556
8edf1c75 5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5559 if (SWIG_arg_fail(1)) SWIG_fail;
5560 {
5561 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5562 if (SWIG_arg_fail(2)) SWIG_fail;
5563 if (arg2 == NULL) {
5564 SWIG_null_ref("wxTreeItemId");
5565 }
5566 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5567 }
8edf1c75 5568 if (obj2) {
093d3ff1
RD
5569 {
5570 arg3 = (int)(SWIG_As_int(obj2));
5571 if (SWIG_arg_fail(3)) SWIG_fail;
5572 }
8edf1c75
RD
5573 }
5574 if (obj3) {
093d3ff1
RD
5575 {
5576 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
5577 if (SWIG_arg_fail(4)) SWIG_fail;
5578 }
8edf1c75 5579 }
44127b65
RD
5580 {
5581 PyThreadState* __tstate = wxPyBeginAllowThreads();
5582 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
5583
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
093d3ff1
RD
5587 {
5588 resultobj = SWIG_From_int((int)(result));
5589 }
44127b65
RD
5590 return resultobj;
5591 fail:
5592 return NULL;
5593}
5594
5595
c32bde28 5596static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5597 PyObject *resultobj;
5598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5599 wxTreeItemId *arg2 = 0 ;
5600 wxString *arg3 = 0 ;
5601 int arg4 = (int) -1 ;
ae8162c8 5602 bool temp3 = false ;
44127b65
RD
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
8edf1c75 5606 PyObject * obj3 = 0 ;
44127b65
RD
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5609 };
5610
8edf1c75 5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
5612 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5613 if (SWIG_arg_fail(1)) SWIG_fail;
5614 {
5615 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5616 if (SWIG_arg_fail(2)) SWIG_fail;
5617 if (arg2 == NULL) {
5618 SWIG_null_ref("wxTreeItemId");
5619 }
5620 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5621 }
5622 {
5623 arg3 = wxString_in_helper(obj2);
5624 if (arg3 == NULL) SWIG_fail;
ae8162c8 5625 temp3 = true;
44127b65 5626 }
8edf1c75 5627 if (obj3) {
093d3ff1
RD
5628 {
5629 arg4 = (int)(SWIG_As_int(obj3));
5630 if (SWIG_arg_fail(4)) SWIG_fail;
5631 }
8edf1c75 5632 }
44127b65
RD
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 {
5642 if (temp3)
5643 delete arg3;
5644 }
5645 return resultobj;
5646 fail:
5647 {
5648 if (temp3)
5649 delete arg3;
5650 }
5651 return NULL;
5652}
5653
5654
c32bde28 5655static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5656 PyObject *resultobj;
5657 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5658 wxTreeItemId *arg2 = 0 ;
5659 int arg3 ;
5660 int arg4 = (int) -1 ;
093d3ff1 5661 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
44127b65
RD
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
8edf1c75
RD
5664 PyObject * obj2 = 0 ;
5665 PyObject * obj3 = 0 ;
5666 PyObject * obj4 = 0 ;
44127b65
RD
5667 char *kwnames[] = {
5668 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5669 };
5670
8edf1c75 5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
5672 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5673 if (SWIG_arg_fail(1)) SWIG_fail;
5674 {
5675 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5676 if (SWIG_arg_fail(2)) SWIG_fail;
5677 if (arg2 == NULL) {
5678 SWIG_null_ref("wxTreeItemId");
5679 }
5680 if (SWIG_arg_fail(2)) SWIG_fail;
5681 }
5682 {
5683 arg3 = (int)(SWIG_As_int(obj2));
5684 if (SWIG_arg_fail(3)) SWIG_fail;
5685 }
8edf1c75 5686 if (obj3) {
093d3ff1
RD
5687 {
5688 arg4 = (int)(SWIG_As_int(obj3));
5689 if (SWIG_arg_fail(4)) SWIG_fail;
5690 }
8edf1c75
RD
5691 }
5692 if (obj4) {
093d3ff1
RD
5693 {
5694 arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4));
5695 if (SWIG_arg_fail(5)) SWIG_fail;
5696 }
8edf1c75 5697 }
44127b65
RD
5698 {
5699 PyThreadState* __tstate = wxPyBeginAllowThreads();
5700 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,(wxTreeItemIcon )arg5);
5701
5702 wxPyEndAllowThreads(__tstate);
5703 if (PyErr_Occurred()) SWIG_fail;
5704 }
5705 Py_INCREF(Py_None); resultobj = Py_None;
5706 return resultobj;
5707 fail:
5708 return NULL;
5709}
5710
5711
c32bde28 5712static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5713 PyObject *resultobj;
5714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5715 wxTreeItemId *arg2 = 0 ;
5716 wxPyTreeItemData *result;
5717 PyObject * obj0 = 0 ;
5718 PyObject * obj1 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self",(char *) "item", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5724 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5725 if (SWIG_arg_fail(1)) SWIG_fail;
5726 {
5727 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5728 if (SWIG_arg_fail(2)) SWIG_fail;
5729 if (arg2 == NULL) {
5730 SWIG_null_ref("wxTreeItemId");
5731 }
5732 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5733 }
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
2f4c0a16 5741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
44127b65
RD
5742 return resultobj;
5743 fail:
5744 return NULL;
5745}
5746
5747
c32bde28 5748static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5749 PyObject *resultobj;
5750 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5751 wxTreeItemId *arg2 = 0 ;
5752 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
5753 PyObject * obj0 = 0 ;
5754 PyObject * obj1 = 0 ;
5755 PyObject * obj2 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "self",(char *) "item",(char *) "data", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5761 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5762 if (SWIG_arg_fail(1)) SWIG_fail;
5763 {
5764 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5765 if (SWIG_arg_fail(2)) SWIG_fail;
5766 if (arg2 == NULL) {
5767 SWIG_null_ref("wxTreeItemId");
5768 }
5769 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 5770 }
093d3ff1
RD
5771 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
5773 {
5774 PyThreadState* __tstate = wxPyBeginAllowThreads();
5775 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
5776
5777 wxPyEndAllowThreads(__tstate);
5778 if (PyErr_Occurred()) SWIG_fail;
5779 }
5780 Py_INCREF(Py_None); resultobj = Py_None;
5781 return resultobj;
5782 fail:
5783 return NULL;
5784}
5785
5786
c32bde28 5787static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5788 PyObject *resultobj;
5789 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5790 wxTreeItemId *arg2 = 0 ;
5791 PyObject *result;
5792 PyObject * obj0 = 0 ;
5793 PyObject * obj1 = 0 ;
5794 char *kwnames[] = {
5795 (char *) "self",(char *) "item", NULL
5796 };
5797
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
5799 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5800 if (SWIG_arg_fail(1)) SWIG_fail;
5801 {
5802 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5803 if (SWIG_arg_fail(2)) SWIG_fail;
5804 if (arg2 == NULL) {
5805 SWIG_null_ref("wxTreeItemId");
5806 }
5807 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5808 }
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 resultobj = result;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
c32bde28 5823static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5824 PyObject *resultobj;
5825 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5826 wxTreeItemId *arg2 = 0 ;
5827 PyObject *arg3 = (PyObject *) 0 ;
5828 PyObject * obj0 = 0 ;
5829 PyObject * obj1 = 0 ;
5830 PyObject * obj2 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self",(char *) "item",(char *) "obj", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5837 if (SWIG_arg_fail(1)) SWIG_fail;
5838 {
5839 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5840 if (SWIG_arg_fail(2)) SWIG_fail;
5841 if (arg2 == NULL) {
5842 SWIG_null_ref("wxTreeItemId");
5843 }
5844 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5845 }
5846 arg3 = obj2;
5847 {
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
5850
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 Py_INCREF(Py_None); resultobj = Py_None;
5855 return resultobj;
5856 fail:
5857 return NULL;
5858}
5859
5860
c32bde28 5861static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5862 PyObject *resultobj;
5863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5864 wxTreeItemId *arg2 = 0 ;
ae8162c8 5865 bool arg3 = (bool) true ;
44127b65
RD
5866 PyObject * obj0 = 0 ;
5867 PyObject * obj1 = 0 ;
5868 PyObject * obj2 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self",(char *) "item",(char *) "has", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5874 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5875 if (SWIG_arg_fail(1)) SWIG_fail;
5876 {
5877 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5878 if (SWIG_arg_fail(2)) SWIG_fail;
5879 if (arg2 == NULL) {
5880 SWIG_null_ref("wxTreeItemId");
5881 }
5882 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5883 }
5884 if (obj2) {
093d3ff1
RD
5885 {
5886 arg3 = (bool)(SWIG_As_bool(obj2));
5887 if (SWIG_arg_fail(3)) SWIG_fail;
5888 }
44127b65
RD
5889 }
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
5897 Py_INCREF(Py_None); resultobj = Py_None;
5898 return resultobj;
5899 fail:
5900 return NULL;
5901}
5902
5903
c32bde28 5904static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5905 PyObject *resultobj;
5906 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5907 wxTreeItemId *arg2 = 0 ;
ae8162c8 5908 bool arg3 = (bool) true ;
44127b65
RD
5909 PyObject * obj0 = 0 ;
5910 PyObject * obj1 = 0 ;
5911 PyObject * obj2 = 0 ;
5912 char *kwnames[] = {
5913 (char *) "self",(char *) "item",(char *) "bold", NULL
5914 };
5915
5916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5918 if (SWIG_arg_fail(1)) SWIG_fail;
5919 {
5920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5921 if (SWIG_arg_fail(2)) SWIG_fail;
5922 if (arg2 == NULL) {
5923 SWIG_null_ref("wxTreeItemId");
5924 }
5925 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5926 }
5927 if (obj2) {
093d3ff1
RD
5928 {
5929 arg3 = (bool)(SWIG_As_bool(obj2));
5930 if (SWIG_arg_fail(3)) SWIG_fail;
5931 }
44127b65
RD
5932 }
5933 {
5934 PyThreadState* __tstate = wxPyBeginAllowThreads();
5935 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
5936
5937 wxPyEndAllowThreads(__tstate);
5938 if (PyErr_Occurred()) SWIG_fail;
5939 }
5940 Py_INCREF(Py_None); resultobj = Py_None;
5941 return resultobj;
5942 fail:
5943 return NULL;
5944}
5945
5946
c32bde28 5947static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5948 PyObject *resultobj;
5949 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5950 wxTreeItemId *arg2 = 0 ;
5951 wxColour *arg3 = 0 ;
5952 wxColour temp3 ;
5953 PyObject * obj0 = 0 ;
5954 PyObject * obj1 = 0 ;
5955 PyObject * obj2 = 0 ;
5956 char *kwnames[] = {
629f3c1b 5957 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
5961 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5962 if (SWIG_arg_fail(1)) SWIG_fail;
5963 {
5964 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
5965 if (SWIG_arg_fail(2)) SWIG_fail;
5966 if (arg2 == NULL) {
5967 SWIG_null_ref("wxTreeItemId");
5968 }
5969 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
5970 }
5971 {
5972 arg3 = &temp3;
5973 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
5974 }
5975 {
5976 PyThreadState* __tstate = wxPyBeginAllowThreads();
5977 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
5978
5979 wxPyEndAllowThreads(__tstate);
5980 if (PyErr_Occurred()) SWIG_fail;
5981 }
5982 Py_INCREF(Py_None); resultobj = Py_None;
5983 return resultobj;
5984 fail:
5985 return NULL;
5986}
5987
5988
c32bde28 5989static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
5990 PyObject *resultobj;
5991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5992 wxTreeItemId *arg2 = 0 ;
5993 wxColour *arg3 = 0 ;
5994 wxColour temp3 ;
5995 PyObject * obj0 = 0 ;
5996 PyObject * obj1 = 0 ;
5997 PyObject * obj2 = 0 ;
5998 char *kwnames[] = {
629f3c1b 5999 (char *) "self",(char *) "item",(char *) "colour", NULL
44127b65
RD
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6003 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6004 if (SWIG_arg_fail(1)) SWIG_fail;
6005 {
6006 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6007 if (SWIG_arg_fail(2)) SWIG_fail;
6008 if (arg2 == NULL) {
6009 SWIG_null_ref("wxTreeItemId");
6010 }
6011 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6012 }
6013 {
6014 arg3 = &temp3;
6015 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
6016 }
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 Py_INCREF(Py_None); resultobj = Py_None;
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
c32bde28 6031static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6032 PyObject *resultobj;
6033 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6034 wxTreeItemId *arg2 = 0 ;
6035 wxFont *arg3 = 0 ;
6036 PyObject * obj0 = 0 ;
6037 PyObject * obj1 = 0 ;
6038 PyObject * obj2 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self",(char *) "item",(char *) "font", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6044 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6045 if (SWIG_arg_fail(1)) SWIG_fail;
6046 {
6047 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6048 if (SWIG_arg_fail(2)) SWIG_fail;
6049 if (arg2 == NULL) {
6050 SWIG_null_ref("wxTreeItemId");
6051 }
6052 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65 6053 }
093d3ff1
RD
6054 {
6055 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxFont, SWIG_POINTER_EXCEPTION | 0);
6056 if (SWIG_arg_fail(3)) SWIG_fail;
6057 if (arg3 == NULL) {
6058 SWIG_null_ref("wxFont");
6059 }
6060 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
6061 }
6062 {
6063 PyThreadState* __tstate = wxPyBeginAllowThreads();
6064 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
6065
6066 wxPyEndAllowThreads(__tstate);
6067 if (PyErr_Occurred()) SWIG_fail;
6068 }
6069 Py_INCREF(Py_None); resultobj = Py_None;
6070 return resultobj;
6071 fail:
6072 return NULL;
6073}
6074
6075
c32bde28 6076static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6077 PyObject *resultobj;
6078 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6079 wxTreeItemId *arg2 = 0 ;
6080 bool result;
6081 PyObject * obj0 = 0 ;
6082 PyObject * obj1 = 0 ;
6083 char *kwnames[] = {
6084 (char *) "self",(char *) "item", NULL
6085 };
6086
6087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6088 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6089 if (SWIG_arg_fail(1)) SWIG_fail;
6090 {
6091 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6092 if (SWIG_arg_fail(2)) SWIG_fail;
6093 if (arg2 == NULL) {
6094 SWIG_null_ref("wxTreeItemId");
6095 }
6096 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6097 }
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
4f89f6a3
RD
6105 {
6106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6107 }
44127b65
RD
6108 return resultobj;
6109 fail:
6110 return NULL;
6111}
6112
6113
c32bde28 6114static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6115 PyObject *resultobj;
6116 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6117 wxTreeItemId *arg2 = 0 ;
6118 wxColour result;
6119 PyObject * obj0 = 0 ;
6120 PyObject * obj1 = 0 ;
6121 char *kwnames[] = {
6122 (char *) "self",(char *) "item", NULL
6123 };
6124
6125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6126 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6127 if (SWIG_arg_fail(1)) SWIG_fail;
6128 {
6129 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6130 if (SWIG_arg_fail(2)) SWIG_fail;
6131 if (arg2 == NULL) {
6132 SWIG_null_ref("wxTreeItemId");
6133 }
6134 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6135 }
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 {
6144 wxColour * resultptr;
093d3ff1 6145 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6147 }
6148 return resultobj;
6149 fail:
6150 return NULL;
6151}
6152
6153
c32bde28 6154static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6155 PyObject *resultobj;
6156 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6157 wxTreeItemId *arg2 = 0 ;
6158 wxColour result;
6159 PyObject * obj0 = 0 ;
6160 PyObject * obj1 = 0 ;
6161 char *kwnames[] = {
6162 (char *) "self",(char *) "item", NULL
6163 };
6164
6165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6166 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6167 if (SWIG_arg_fail(1)) SWIG_fail;
6168 {
6169 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6170 if (SWIG_arg_fail(2)) SWIG_fail;
6171 if (arg2 == NULL) {
6172 SWIG_null_ref("wxTreeItemId");
6173 }
6174 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6175 }
6176 {
6177 PyThreadState* __tstate = wxPyBeginAllowThreads();
6178 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
6179
6180 wxPyEndAllowThreads(__tstate);
6181 if (PyErr_Occurred()) SWIG_fail;
6182 }
6183 {
6184 wxColour * resultptr;
093d3ff1 6185 resultptr = new wxColour((wxColour &)(result));
2f4c0a16 6186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
44127b65
RD
6187 }
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
c32bde28 6194static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6195 PyObject *resultobj;
6196 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6197 wxTreeItemId *arg2 = 0 ;
6198 wxFont result;
6199 PyObject * obj0 = 0 ;
6200 PyObject * obj1 = 0 ;
6201 char *kwnames[] = {
6202 (char *) "self",(char *) "item", NULL
6203 };
6204
6205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6206 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6207 if (SWIG_arg_fail(1)) SWIG_fail;
6208 {
6209 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6210 if (SWIG_arg_fail(2)) SWIG_fail;
6211 if (arg2 == NULL) {
6212 SWIG_null_ref("wxTreeItemId");
6213 }
6214 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6215 }
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 {
6224 wxFont * resultptr;
093d3ff1 6225 resultptr = new wxFont((wxFont &)(result));
2f4c0a16 6226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
44127b65
RD
6227 }
6228 return resultobj;
6229 fail:
6230 return NULL;
6231}
6232
6233
c32bde28 6234static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6235 PyObject *resultobj;
6236 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6237 wxTreeItemId *arg2 = 0 ;
6238 bool result;
6239 PyObject * obj0 = 0 ;
6240 PyObject * obj1 = 0 ;
6241 char *kwnames[] = {
6242 (char *) "self",(char *) "item", NULL
6243 };
6244
6245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6246 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6247 if (SWIG_arg_fail(1)) SWIG_fail;
6248 {
6249 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6250 if (SWIG_arg_fail(2)) SWIG_fail;
6251 if (arg2 == NULL) {
6252 SWIG_null_ref("wxTreeItemId");
6253 }
6254 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
6259
6260 wxPyEndAllowThreads(__tstate);
6261 if (PyErr_Occurred()) SWIG_fail;
6262 }
4f89f6a3
RD
6263 {
6264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6265 }
44127b65
RD
6266 return resultobj;
6267 fail:
6268 return NULL;
6269}
6270
6271
c32bde28 6272static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6273 PyObject *resultobj;
6274 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6275 wxTreeItemId *arg2 = 0 ;
6276 bool result;
6277 PyObject * obj0 = 0 ;
6278 PyObject * obj1 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "self",(char *) "item", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6285 if (SWIG_arg_fail(1)) SWIG_fail;
6286 {
6287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6288 if (SWIG_arg_fail(2)) SWIG_fail;
6289 if (arg2 == NULL) {
6290 SWIG_null_ref("wxTreeItemId");
6291 }
6292 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6293 }
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
6297
6298 wxPyEndAllowThreads(__tstate);
6299 if (PyErr_Occurred()) SWIG_fail;
6300 }
4f89f6a3
RD
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
44127b65
RD
6304 return resultobj;
6305 fail:
6306 return NULL;
6307}
6308
6309
c32bde28 6310static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6311 PyObject *resultobj;
6312 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6313 wxTreeItemId *arg2 = 0 ;
6314 bool result;
6315 PyObject * obj0 = 0 ;
6316 PyObject * obj1 = 0 ;
6317 char *kwnames[] = {
6318 (char *) "self",(char *) "item", NULL
6319 };
6320
6321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6322 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6323 if (SWIG_arg_fail(1)) SWIG_fail;
6324 {
6325 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6326 if (SWIG_arg_fail(2)) SWIG_fail;
6327 if (arg2 == NULL) {
6328 SWIG_null_ref("wxTreeItemId");
6329 }
6330 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6331 }
6332 {
6333 PyThreadState* __tstate = wxPyBeginAllowThreads();
6334 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
6335
6336 wxPyEndAllowThreads(__tstate);
6337 if (PyErr_Occurred()) SWIG_fail;
6338 }
4f89f6a3
RD
6339 {
6340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6341 }
44127b65
RD
6342 return resultobj;
6343 fail:
6344 return NULL;
6345}
6346
6347
c32bde28 6348static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6349 PyObject *resultobj;
6350 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6351 wxTreeItemId *arg2 = 0 ;
6352 bool result;
6353 PyObject * obj0 = 0 ;
6354 PyObject * obj1 = 0 ;
6355 char *kwnames[] = {
6356 (char *) "self",(char *) "item", NULL
6357 };
6358
6359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6360 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6361 if (SWIG_arg_fail(1)) SWIG_fail;
6362 {
6363 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6364 if (SWIG_arg_fail(2)) SWIG_fail;
6365 if (arg2 == NULL) {
6366 SWIG_null_ref("wxTreeItemId");
6367 }
6368 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6369 }
6370 {
6371 PyThreadState* __tstate = wxPyBeginAllowThreads();
6372 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
6373
6374 wxPyEndAllowThreads(__tstate);
6375 if (PyErr_Occurred()) SWIG_fail;
6376 }
4f89f6a3
RD
6377 {
6378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6379 }
44127b65
RD
6380 return resultobj;
6381 fail:
6382 return NULL;
6383}
6384
6385
c32bde28 6386static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6387 PyObject *resultobj;
6388 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6389 wxTreeItemId *arg2 = 0 ;
6390 bool result;
6391 PyObject * obj0 = 0 ;
6392 PyObject * obj1 = 0 ;
6393 char *kwnames[] = {
6394 (char *) "self",(char *) "item", NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6398 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6399 if (SWIG_arg_fail(1)) SWIG_fail;
6400 {
6401 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6402 if (SWIG_arg_fail(2)) SWIG_fail;
6403 if (arg2 == NULL) {
6404 SWIG_null_ref("wxTreeItemId");
6405 }
6406 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6407 }
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
4f89f6a3
RD
6415 {
6416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6417 }
44127b65
RD
6418 return resultobj;
6419 fail:
6420 return NULL;
6421}
6422
6423
c32bde28 6424static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6425 PyObject *resultobj;
6426 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6427 wxTreeItemId *arg2 = 0 ;
ae8162c8 6428 bool arg3 = (bool) true ;
44127b65
RD
6429 size_t result;
6430 PyObject * obj0 = 0 ;
6431 PyObject * obj1 = 0 ;
6432 PyObject * obj2 = 0 ;
6433 char *kwnames[] = {
6434 (char *) "self",(char *) "item",(char *) "recursively", NULL
6435 };
6436
6437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6438 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6439 if (SWIG_arg_fail(1)) SWIG_fail;
6440 {
6441 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6442 if (SWIG_arg_fail(2)) SWIG_fail;
6443 if (arg2 == NULL) {
6444 SWIG_null_ref("wxTreeItemId");
6445 }
6446 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6447 }
6448 if (obj2) {
093d3ff1
RD
6449 {
6450 arg3 = (bool)(SWIG_As_bool(obj2));
6451 if (SWIG_arg_fail(3)) SWIG_fail;
6452 }
44127b65
RD
6453 }
6454 {
6455 PyThreadState* __tstate = wxPyBeginAllowThreads();
6456 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
6457
6458 wxPyEndAllowThreads(__tstate);
6459 if (PyErr_Occurred()) SWIG_fail;
6460 }
093d3ff1
RD
6461 {
6462 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
6463 }
44127b65
RD
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
c32bde28 6470static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6471 PyObject *resultobj;
6472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6473 wxTreeItemId result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetRootItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
6480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6482 {
6483 PyThreadState* __tstate = wxPyBeginAllowThreads();
6484 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
6485
6486 wxPyEndAllowThreads(__tstate);
6487 if (PyErr_Occurred()) SWIG_fail;
6488 }
6489 {
6490 wxTreeItemId * resultptr;
093d3ff1 6491 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6493 }
6494 return resultobj;
6495 fail:
6496 return NULL;
6497}
6498
6499
c32bde28 6500static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6501 PyObject *resultobj;
6502 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6503 wxTreeItemId result;
6504 PyObject * obj0 = 0 ;
6505 char *kwnames[] = {
6506 (char *) "self", NULL
6507 };
6508
6509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelection",kwnames,&obj0)) goto fail;
093d3ff1
RD
6510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6512 {
6513 PyThreadState* __tstate = wxPyBeginAllowThreads();
6514 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
6515
6516 wxPyEndAllowThreads(__tstate);
6517 if (PyErr_Occurred()) SWIG_fail;
6518 }
6519 {
6520 wxTreeItemId * resultptr;
093d3ff1 6521 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6523 }
6524 return resultobj;
6525 fail:
6526 return NULL;
6527}
6528
6529
c32bde28 6530static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6531 PyObject *resultobj;
6532 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6533 PyObject *result;
6534 PyObject * obj0 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetSelections",kwnames,&obj0)) goto fail;
093d3ff1
RD
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6542 {
6543 PyThreadState* __tstate = wxPyBeginAllowThreads();
6544 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
6545
6546 wxPyEndAllowThreads(__tstate);
6547 if (PyErr_Occurred()) SWIG_fail;
6548 }
6549 resultobj = result;
6550 return resultobj;
6551 fail:
6552 return NULL;
6553}
6554
6555
c32bde28 6556static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6557 PyObject *resultobj;
6558 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6559 wxTreeItemId *arg2 = 0 ;
6560 wxTreeItemId result;
6561 PyObject * obj0 = 0 ;
6562 PyObject * obj1 = 0 ;
6563 char *kwnames[] = {
6564 (char *) "self",(char *) "item", NULL
6565 };
6566
6567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6568 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6569 if (SWIG_arg_fail(1)) SWIG_fail;
6570 {
6571 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6572 if (SWIG_arg_fail(2)) SWIG_fail;
6573 if (arg2 == NULL) {
6574 SWIG_null_ref("wxTreeItemId");
6575 }
6576 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6577 }
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
629f3c1b 6580 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
44127b65
RD
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 {
6586 wxTreeItemId * resultptr;
093d3ff1 6587 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6589 }
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
c32bde28 6596static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6597 PyObject *resultobj;
6598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6599 wxTreeItemId *arg2 = 0 ;
6600 PyObject *result;
6601 PyObject * obj0 = 0 ;
6602 PyObject * obj1 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self",(char *) "item", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6608 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6609 if (SWIG_arg_fail(1)) SWIG_fail;
6610 {
6611 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6612 if (SWIG_arg_fail(2)) SWIG_fail;
6613 if (arg2 == NULL) {
6614 SWIG_null_ref("wxTreeItemId");
6615 }
6616 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6617 }
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
6621
6622 wxPyEndAllowThreads(__tstate);
6623 if (PyErr_Occurred()) SWIG_fail;
6624 }
6625 resultobj = result;
6626 return resultobj;
6627 fail:
6628 return NULL;
6629}
6630
6631
c32bde28 6632static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6633 PyObject *resultobj;
6634 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6635 wxTreeItemId *arg2 = 0 ;
629f3c1b 6636 void *arg3 = (void *) 0 ;
44127b65
RD
6637 PyObject *result;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
8edf1c75 6640 PyObject * obj2 = 0 ;
44127b65
RD
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "item",(char *) "cookie", NULL
6643 };
6644
8edf1c75 6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
6646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6647 if (SWIG_arg_fail(1)) SWIG_fail;
6648 {
6649 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6650 if (SWIG_arg_fail(2)) SWIG_fail;
6651 if (arg2 == NULL) {
6652 SWIG_null_ref("wxTreeItemId");
6653 }
6654 if (SWIG_arg_fail(2)) SWIG_fail;
6655 }
6656 {
6657 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),0,SWIG_POINTER_EXCEPTION|0))== -1) {
6658 SWIG_arg_fail(3);SWIG_fail;
6659 }
8edf1c75 6660 }
44127b65
RD
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = result;
6669 return resultobj;
6670 fail:
6671 return NULL;
6672}
6673
6674
c32bde28 6675static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6676 PyObject *resultobj;
6677 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6678 wxTreeItemId *arg2 = 0 ;
6679 wxTreeItemId result;
6680 PyObject * obj0 = 0 ;
6681 PyObject * obj1 = 0 ;
6682 char *kwnames[] = {
6683 (char *) "self",(char *) "item", NULL
6684 };
6685
6686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6687 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6688 if (SWIG_arg_fail(1)) SWIG_fail;
6689 {
6690 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6691 if (SWIG_arg_fail(2)) SWIG_fail;
6692 if (arg2 == NULL) {
6693 SWIG_null_ref("wxTreeItemId");
6694 }
6695 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6696 }
6697 {
6698 PyThreadState* __tstate = wxPyBeginAllowThreads();
6699 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
6700
6701 wxPyEndAllowThreads(__tstate);
6702 if (PyErr_Occurred()) SWIG_fail;
6703 }
6704 {
6705 wxTreeItemId * resultptr;
093d3ff1 6706 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6708 }
6709 return resultobj;
6710 fail:
6711 return NULL;
6712}
6713
6714
c32bde28 6715static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6716 PyObject *resultobj;
6717 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6718 wxTreeItemId *arg2 = 0 ;
6719 wxTreeItemId result;
6720 PyObject * obj0 = 0 ;
6721 PyObject * obj1 = 0 ;
6722 char *kwnames[] = {
6723 (char *) "self",(char *) "item", NULL
6724 };
6725
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6727 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6728 if (SWIG_arg_fail(1)) SWIG_fail;
6729 {
6730 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6731 if (SWIG_arg_fail(2)) SWIG_fail;
6732 if (arg2 == NULL) {
6733 SWIG_null_ref("wxTreeItemId");
6734 }
6735 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6736 }
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 {
6745 wxTreeItemId * resultptr;
093d3ff1 6746 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6748 }
6749 return resultobj;
6750 fail:
6751 return NULL;
6752}
6753
6754
c32bde28 6755static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6756 PyObject *resultobj;
6757 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6758 wxTreeItemId *arg2 = 0 ;
6759 wxTreeItemId result;
6760 PyObject * obj0 = 0 ;
6761 PyObject * obj1 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self",(char *) "item", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6767 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6768 if (SWIG_arg_fail(1)) SWIG_fail;
6769 {
6770 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6771 if (SWIG_arg_fail(2)) SWIG_fail;
6772 if (arg2 == NULL) {
6773 SWIG_null_ref("wxTreeItemId");
6774 }
6775 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6776 }
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
6780
6781 wxPyEndAllowThreads(__tstate);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 {
6785 wxTreeItemId * resultptr;
093d3ff1 6786 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6788 }
6789 return resultobj;
6790 fail:
6791 return NULL;
6792}
6793
6794
c32bde28 6795static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6796 PyObject *resultobj;
6797 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6798 wxTreeItemId result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
093d3ff1
RD
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
6810
6811 wxPyEndAllowThreads(__tstate);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 wxTreeItemId * resultptr;
093d3ff1 6816 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822}
6823
6824
c32bde28 6825static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6826 PyObject *resultobj;
6827 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6828 wxTreeItemId *arg2 = 0 ;
6829 wxTreeItemId result;
6830 PyObject * obj0 = 0 ;
6831 PyObject * obj1 = 0 ;
6832 char *kwnames[] = {
6833 (char *) "self",(char *) "item", NULL
6834 };
6835
6836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6838 if (SWIG_arg_fail(1)) SWIG_fail;
6839 {
6840 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6841 if (SWIG_arg_fail(2)) SWIG_fail;
6842 if (arg2 == NULL) {
6843 SWIG_null_ref("wxTreeItemId");
6844 }
6845 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6846 }
6847 {
6848 PyThreadState* __tstate = wxPyBeginAllowThreads();
6849 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
6850
6851 wxPyEndAllowThreads(__tstate);
6852 if (PyErr_Occurred()) SWIG_fail;
6853 }
6854 {
6855 wxTreeItemId * resultptr;
093d3ff1 6856 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6858 }
6859 return resultobj;
6860 fail:
6861 return NULL;
6862}
6863
6864
c32bde28 6865static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6866 PyObject *resultobj;
6867 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6868 wxTreeItemId *arg2 = 0 ;
6869 wxTreeItemId result;
6870 PyObject * obj0 = 0 ;
6871 PyObject * obj1 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self",(char *) "item", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6877 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6878 if (SWIG_arg_fail(1)) SWIG_fail;
6879 {
6880 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6881 if (SWIG_arg_fail(2)) SWIG_fail;
6882 if (arg2 == NULL) {
6883 SWIG_null_ref("wxTreeItemId");
6884 }
6885 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6886 }
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
6890
6891 wxPyEndAllowThreads(__tstate);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 {
6895 wxTreeItemId * resultptr;
093d3ff1 6896 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6898 }
6899 return resultobj;
6900 fail:
6901 return NULL;
6902}
6903
6904
c32bde28 6905static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6906 PyObject *resultobj;
6907 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6908 wxTreeItemId *arg2 = 0 ;
6909 wxTreeItemId result;
6910 PyObject * obj0 = 0 ;
6911 PyObject * obj1 = 0 ;
6912 char *kwnames[] = {
6913 (char *) "self",(char *) "item", NULL
6914 };
6915
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
6917 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6918 if (SWIG_arg_fail(1)) SWIG_fail;
6919 {
6920 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
6921 if (SWIG_arg_fail(2)) SWIG_fail;
6922 if (arg2 == NULL) {
6923 SWIG_null_ref("wxTreeItemId");
6924 }
6925 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
6926 }
6927 {
6928 PyThreadState* __tstate = wxPyBeginAllowThreads();
6929 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
6930
6931 wxPyEndAllowThreads(__tstate);
6932 if (PyErr_Occurred()) SWIG_fail;
6933 }
6934 {
6935 wxTreeItemId * resultptr;
093d3ff1 6936 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6938 }
6939 return resultobj;
6940 fail:
6941 return NULL;
6942}
6943
6944
c32bde28 6945static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
6946 PyObject *resultobj;
6947 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6948 wxString *arg2 = 0 ;
6949 int arg3 = (int) -1 ;
6950 int arg4 = (int) -1 ;
6951 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
6952 wxTreeItemId result;
ae8162c8 6953 bool temp2 = false ;
44127b65
RD
6954 PyObject * obj0 = 0 ;
6955 PyObject * obj1 = 0 ;
8edf1c75
RD
6956 PyObject * obj2 = 0 ;
6957 PyObject * obj3 = 0 ;
44127b65
RD
6958 PyObject * obj4 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6961 };
6962
8edf1c75 6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
093d3ff1
RD
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
6966 {
6967 arg2 = wxString_in_helper(obj1);
6968 if (arg2 == NULL) SWIG_fail;
ae8162c8 6969 temp2 = true;
44127b65 6970 }
8edf1c75 6971 if (obj2) {
093d3ff1
RD
6972 {
6973 arg3 = (int)(SWIG_As_int(obj2));
6974 if (SWIG_arg_fail(3)) SWIG_fail;
6975 }
8edf1c75
RD
6976 }
6977 if (obj3) {
093d3ff1
RD
6978 {
6979 arg4 = (int)(SWIG_As_int(obj3));
6980 if (SWIG_arg_fail(4)) SWIG_fail;
6981 }
8edf1c75 6982 }
44127b65 6983 if (obj4) {
093d3ff1
RD
6984 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(5)) SWIG_fail;
44127b65
RD
6986 }
6987 {
6988 PyThreadState* __tstate = wxPyBeginAllowThreads();
6989 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
6990
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 {
6995 wxTreeItemId * resultptr;
093d3ff1 6996 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 6997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
6998 }
6999 {
7000 if (temp2)
7001 delete arg2;
7002 }
7003 return resultobj;
7004 fail:
7005 {
7006 if (temp2)
7007 delete arg2;
7008 }
7009 return NULL;
7010}
7011
7012
c32bde28 7013static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7014 PyObject *resultobj;
7015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7016 wxTreeItemId *arg2 = 0 ;
7017 wxString *arg3 = 0 ;
7018 int arg4 = (int) -1 ;
7019 int arg5 = (int) -1 ;
7020 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7021 wxTreeItemId result;
ae8162c8 7022 bool temp3 = false ;
44127b65
RD
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 PyObject * obj2 = 0 ;
8edf1c75
RD
7026 PyObject * obj3 = 0 ;
7027 PyObject * obj4 = 0 ;
44127b65
RD
7028 PyObject * obj5 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7031 };
7032
8edf1c75 7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7034 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7035 if (SWIG_arg_fail(1)) SWIG_fail;
7036 {
7037 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7038 if (SWIG_arg_fail(2)) SWIG_fail;
7039 if (arg2 == NULL) {
7040 SWIG_null_ref("wxTreeItemId");
7041 }
7042 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7043 }
7044 {
7045 arg3 = wxString_in_helper(obj2);
7046 if (arg3 == NULL) SWIG_fail;
ae8162c8 7047 temp3 = true;
44127b65 7048 }
8edf1c75 7049 if (obj3) {
093d3ff1
RD
7050 {
7051 arg4 = (int)(SWIG_As_int(obj3));
7052 if (SWIG_arg_fail(4)) SWIG_fail;
7053 }
8edf1c75
RD
7054 }
7055 if (obj4) {
093d3ff1
RD
7056 {
7057 arg5 = (int)(SWIG_As_int(obj4));
7058 if (SWIG_arg_fail(5)) SWIG_fail;
7059 }
8edf1c75 7060 }
44127b65 7061 if (obj5) {
093d3ff1
RD
7062 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7063 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 {
7073 wxTreeItemId * resultptr;
093d3ff1 7074 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7076 }
7077 {
7078 if (temp3)
7079 delete arg3;
7080 }
7081 return resultobj;
7082 fail:
7083 {
7084 if (temp3)
7085 delete arg3;
7086 }
7087 return NULL;
7088}
7089
7090
c32bde28 7091static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7092 PyObject *resultobj;
7093 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7094 wxTreeItemId *arg2 = 0 ;
7095 wxTreeItemId *arg3 = 0 ;
7096 wxString *arg4 = 0 ;
7097 int arg5 = (int) -1 ;
7098 int arg6 = (int) -1 ;
7099 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7100 wxTreeItemId result;
ae8162c8 7101 bool temp4 = false ;
44127b65
RD
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 PyObject * obj2 = 0 ;
7105 PyObject * obj3 = 0 ;
8edf1c75
RD
7106 PyObject * obj4 = 0 ;
7107 PyObject * obj5 = 0 ;
44127b65
RD
7108 PyObject * obj6 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7111 };
7112
8edf1c75 7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7114 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7115 if (SWIG_arg_fail(1)) SWIG_fail;
7116 {
7117 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7118 if (SWIG_arg_fail(2)) SWIG_fail;
7119 if (arg2 == NULL) {
7120 SWIG_null_ref("wxTreeItemId");
7121 }
7122 if (SWIG_arg_fail(2)) SWIG_fail;
7123 }
7124 {
7125 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7126 if (SWIG_arg_fail(3)) SWIG_fail;
7127 if (arg3 == NULL) {
7128 SWIG_null_ref("wxTreeItemId");
7129 }
7130 if (SWIG_arg_fail(3)) SWIG_fail;
44127b65
RD
7131 }
7132 {
7133 arg4 = wxString_in_helper(obj3);
7134 if (arg4 == NULL) SWIG_fail;
ae8162c8 7135 temp4 = true;
44127b65 7136 }
8edf1c75 7137 if (obj4) {
093d3ff1
RD
7138 {
7139 arg5 = (int)(SWIG_As_int(obj4));
7140 if (SWIG_arg_fail(5)) SWIG_fail;
7141 }
8edf1c75
RD
7142 }
7143 if (obj5) {
093d3ff1
RD
7144 {
7145 arg6 = (int)(SWIG_As_int(obj5));
7146 if (SWIG_arg_fail(6)) SWIG_fail;
7147 }
8edf1c75 7148 }
44127b65 7149 if (obj6) {
093d3ff1
RD
7150 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7151 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7152 }
7153 {
7154 PyThreadState* __tstate = wxPyBeginAllowThreads();
7155 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7156
7157 wxPyEndAllowThreads(__tstate);
7158 if (PyErr_Occurred()) SWIG_fail;
7159 }
7160 {
7161 wxTreeItemId * resultptr;
093d3ff1 7162 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7164 }
7165 {
7166 if (temp4)
7167 delete arg4;
7168 }
7169 return resultobj;
7170 fail:
7171 {
7172 if (temp4)
7173 delete arg4;
7174 }
7175 return NULL;
7176}
7177
7178
c32bde28 7179static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7180 PyObject *resultobj;
7181 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7182 wxTreeItemId *arg2 = 0 ;
7183 size_t arg3 ;
7184 wxString *arg4 = 0 ;
7185 int arg5 = (int) -1 ;
7186 int arg6 = (int) -1 ;
7187 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
7188 wxTreeItemId result;
ae8162c8 7189 bool temp4 = false ;
44127b65
RD
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 PyObject * obj2 = 0 ;
7193 PyObject * obj3 = 0 ;
8edf1c75
RD
7194 PyObject * obj4 = 0 ;
7195 PyObject * obj5 = 0 ;
44127b65
RD
7196 PyObject * obj6 = 0 ;
7197 char *kwnames[] = {
7198 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7199 };
7200
8edf1c75 7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
093d3ff1
RD
7202 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7203 if (SWIG_arg_fail(1)) SWIG_fail;
7204 {
7205 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7206 if (SWIG_arg_fail(2)) SWIG_fail;
7207 if (arg2 == NULL) {
7208 SWIG_null_ref("wxTreeItemId");
7209 }
7210 if (SWIG_arg_fail(2)) SWIG_fail;
7211 }
7212 {
7213 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
7214 if (SWIG_arg_fail(3)) SWIG_fail;
7215 }
44127b65
RD
7216 {
7217 arg4 = wxString_in_helper(obj3);
7218 if (arg4 == NULL) SWIG_fail;
ae8162c8 7219 temp4 = true;
44127b65 7220 }
8edf1c75 7221 if (obj4) {
093d3ff1
RD
7222 {
7223 arg5 = (int)(SWIG_As_int(obj4));
7224 if (SWIG_arg_fail(5)) SWIG_fail;
7225 }
8edf1c75
RD
7226 }
7227 if (obj5) {
093d3ff1
RD
7228 {
7229 arg6 = (int)(SWIG_As_int(obj5));
7230 if (SWIG_arg_fail(6)) SWIG_fail;
7231 }
8edf1c75 7232 }
44127b65 7233 if (obj6) {
093d3ff1
RD
7234 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7235 if (SWIG_arg_fail(7)) SWIG_fail;
44127b65
RD
7236 }
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
7244 {
7245 wxTreeItemId * resultptr;
093d3ff1 7246 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7248 }
7249 {
7250 if (temp4)
7251 delete arg4;
7252 }
7253 return resultobj;
7254 fail:
7255 {
7256 if (temp4)
7257 delete arg4;
7258 }
7259 return NULL;
7260}
7261
7262
c32bde28 7263static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7264 PyObject *resultobj;
7265 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7266 wxTreeItemId *arg2 = 0 ;
7267 wxString *arg3 = 0 ;
7268 int arg4 = (int) -1 ;
7269 int arg5 = (int) -1 ;
7270 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
7271 wxTreeItemId result;
ae8162c8 7272 bool temp3 = false ;
44127b65
RD
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
8edf1c75
RD
7276 PyObject * obj3 = 0 ;
7277 PyObject * obj4 = 0 ;
44127b65
RD
7278 PyObject * obj5 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7281 };
7282
8edf1c75 7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
093d3ff1
RD
7284 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7285 if (SWIG_arg_fail(1)) SWIG_fail;
7286 {
7287 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7288 if (SWIG_arg_fail(2)) SWIG_fail;
7289 if (arg2 == NULL) {
7290 SWIG_null_ref("wxTreeItemId");
7291 }
7292 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7293 }
7294 {
7295 arg3 = wxString_in_helper(obj2);
7296 if (arg3 == NULL) SWIG_fail;
ae8162c8 7297 temp3 = true;
44127b65 7298 }
8edf1c75 7299 if (obj3) {
093d3ff1
RD
7300 {
7301 arg4 = (int)(SWIG_As_int(obj3));
7302 if (SWIG_arg_fail(4)) SWIG_fail;
7303 }
8edf1c75
RD
7304 }
7305 if (obj4) {
093d3ff1
RD
7306 {
7307 arg5 = (int)(SWIG_As_int(obj4));
7308 if (SWIG_arg_fail(5)) SWIG_fail;
7309 }
8edf1c75 7310 }
44127b65 7311 if (obj5) {
093d3ff1
RD
7312 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(6)) SWIG_fail;
44127b65
RD
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 {
7323 wxTreeItemId * resultptr;
093d3ff1 7324 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65
RD
7326 }
7327 {
7328 if (temp3)
7329 delete arg3;
7330 }
7331 return resultobj;
7332 fail:
7333 {
7334 if (temp3)
7335 delete arg3;
7336 }
7337 return NULL;
7338}
7339
7340
c32bde28 7341static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7342 PyObject *resultobj;
7343 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7344 wxTreeItemId *arg2 = 0 ;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self",(char *) "item", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7352 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7353 if (SWIG_arg_fail(1)) SWIG_fail;
7354 {
7355 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7356 if (SWIG_arg_fail(2)) SWIG_fail;
7357 if (arg2 == NULL) {
7358 SWIG_null_ref("wxTreeItemId");
7359 }
7360 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7361 }
7362 {
7363 PyThreadState* __tstate = wxPyBeginAllowThreads();
7364 (arg1)->Delete((wxTreeItemId const &)*arg2);
7365
7366 wxPyEndAllowThreads(__tstate);
7367 if (PyErr_Occurred()) SWIG_fail;
7368 }
7369 Py_INCREF(Py_None); resultobj = Py_None;
7370 return resultobj;
7371 fail:
7372 return NULL;
7373}
7374
7375
c32bde28 7376static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7377 PyObject *resultobj;
7378 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7379 wxTreeItemId *arg2 = 0 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 char *kwnames[] = {
7383 (char *) "self",(char *) "item", NULL
7384 };
7385
7386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7387 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7388 if (SWIG_arg_fail(1)) SWIG_fail;
7389 {
7390 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7391 if (SWIG_arg_fail(2)) SWIG_fail;
7392 if (arg2 == NULL) {
7393 SWIG_null_ref("wxTreeItemId");
7394 }
7395 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
7404 Py_INCREF(Py_None); resultobj = Py_None;
7405 return resultobj;
7406 fail:
7407 return NULL;
7408}
7409
7410
c32bde28 7411static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7412 PyObject *resultobj;
7413 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7414 PyObject * obj0 = 0 ;
7415 char *kwnames[] = {
7416 (char *) "self", NULL
7417 };
7418
7419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
093d3ff1
RD
7420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7421 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7422 {
7423 PyThreadState* __tstate = wxPyBeginAllowThreads();
7424 (arg1)->DeleteAllItems();
7425
7426 wxPyEndAllowThreads(__tstate);
7427 if (PyErr_Occurred()) SWIG_fail;
7428 }
7429 Py_INCREF(Py_None); resultobj = Py_None;
7430 return resultobj;
7431 fail:
7432 return NULL;
7433}
7434
7435
c32bde28 7436static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7437 PyObject *resultobj;
7438 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7439 wxTreeItemId *arg2 = 0 ;
7440 PyObject * obj0 = 0 ;
7441 PyObject * obj1 = 0 ;
7442 char *kwnames[] = {
7443 (char *) "self",(char *) "item", NULL
7444 };
7445
7446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7447 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7448 if (SWIG_arg_fail(1)) SWIG_fail;
7449 {
7450 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7451 if (SWIG_arg_fail(2)) SWIG_fail;
7452 if (arg2 == NULL) {
7453 SWIG_null_ref("wxTreeItemId");
7454 }
7455 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7456 }
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->Expand((wxTreeItemId const &)*arg2);
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468}
7469
7470
c32bde28 7471static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7472 PyObject *resultobj;
7473 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7474 wxTreeItemId *arg2 = 0 ;
7475 PyObject * obj0 = 0 ;
7476 PyObject * obj1 = 0 ;
7477 char *kwnames[] = {
7478 (char *) "self",(char *) "item", NULL
7479 };
7480
7481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7482 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7483 if (SWIG_arg_fail(1)) SWIG_fail;
7484 {
7485 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7486 if (SWIG_arg_fail(2)) SWIG_fail;
7487 if (arg2 == NULL) {
7488 SWIG_null_ref("wxTreeItemId");
7489 }
7490 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
7495
7496 wxPyEndAllowThreads(__tstate);
7497 if (PyErr_Occurred()) SWIG_fail;
7498 }
7499 Py_INCREF(Py_None); resultobj = Py_None;
7500 return resultobj;
7501 fail:
7502 return NULL;
7503}
7504
7505
c32bde28 7506static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7507 PyObject *resultobj;
7508 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7509 wxTreeItemId *arg2 = 0 ;
7510 PyObject * obj0 = 0 ;
7511 PyObject * obj1 = 0 ;
7512 char *kwnames[] = {
7513 (char *) "self",(char *) "item", NULL
7514 };
7515
7516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7517 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7518 if (SWIG_arg_fail(1)) SWIG_fail;
7519 {
7520 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7521 if (SWIG_arg_fail(2)) SWIG_fail;
7522 if (arg2 == NULL) {
7523 SWIG_null_ref("wxTreeItemId");
7524 }
7525 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7526 }
7527 {
7528 PyThreadState* __tstate = wxPyBeginAllowThreads();
7529 (arg1)->Collapse((wxTreeItemId const &)*arg2);
7530
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 Py_INCREF(Py_None); resultobj = Py_None;
7535 return resultobj;
7536 fail:
7537 return NULL;
7538}
7539
7540
c32bde28 7541static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7542 PyObject *resultobj;
7543 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7544 wxTreeItemId *arg2 = 0 ;
7545 PyObject * obj0 = 0 ;
7546 PyObject * obj1 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self",(char *) "item", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7552 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7553 if (SWIG_arg_fail(1)) SWIG_fail;
7554 {
7555 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7556 if (SWIG_arg_fail(2)) SWIG_fail;
7557 if (arg2 == NULL) {
7558 SWIG_null_ref("wxTreeItemId");
7559 }
7560 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7561 }
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573}
7574
7575
c32bde28 7576static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7577 PyObject *resultobj;
7578 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7579 wxTreeItemId *arg2 = 0 ;
7580 PyObject * obj0 = 0 ;
7581 PyObject * obj1 = 0 ;
7582 char *kwnames[] = {
7583 (char *) "self",(char *) "item", NULL
7584 };
7585
7586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7587 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7588 if (SWIG_arg_fail(1)) SWIG_fail;
7589 {
7590 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7591 if (SWIG_arg_fail(2)) SWIG_fail;
7592 if (arg2 == NULL) {
7593 SWIG_null_ref("wxTreeItemId");
7594 }
7595 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7596 }
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 (arg1)->Toggle((wxTreeItemId const &)*arg2);
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 Py_INCREF(Py_None); resultobj = Py_None;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608}
7609
7610
c32bde28 7611static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7612 PyObject *resultobj;
7613 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7614 PyObject * obj0 = 0 ;
7615 char *kwnames[] = {
7616 (char *) "self", NULL
7617 };
7618
7619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_Unselect",kwnames,&obj0)) goto fail;
093d3ff1
RD
7620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7622 {
7623 PyThreadState* __tstate = wxPyBeginAllowThreads();
7624 (arg1)->Unselect();
7625
7626 wxPyEndAllowThreads(__tstate);
7627 if (PyErr_Occurred()) SWIG_fail;
7628 }
7629 Py_INCREF(Py_None); resultobj = Py_None;
7630 return resultobj;
7631 fail:
7632 return NULL;
7633}
7634
7635
c32bde28 7636static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7637 PyObject *resultobj;
7638 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7639 PyObject * obj0 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "self", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_UnselectAll",kwnames,&obj0)) goto fail;
093d3ff1
RD
7645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7646 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 (arg1)->UnselectAll();
7650
7651 wxPyEndAllowThreads(__tstate);
7652 if (PyErr_Occurred()) SWIG_fail;
7653 }
7654 Py_INCREF(Py_None); resultobj = Py_None;
7655 return resultobj;
7656 fail:
7657 return NULL;
7658}
7659
7660
c32bde28 7661static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7662 PyObject *resultobj;
7663 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7664 wxTreeItemId *arg2 = 0 ;
ae8162c8
RD
7665 bool arg3 = (bool) true ;
7666 bool arg4 = (bool) false ;
44127b65
RD
7667 PyObject * obj0 = 0 ;
7668 PyObject * obj1 = 0 ;
7669 PyObject * obj2 = 0 ;
7670 PyObject * obj3 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
7676 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7677 if (SWIG_arg_fail(1)) SWIG_fail;
7678 {
7679 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7680 if (SWIG_arg_fail(2)) SWIG_fail;
7681 if (arg2 == NULL) {
7682 SWIG_null_ref("wxTreeItemId");
7683 }
7684 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7685 }
7686 if (obj2) {
093d3ff1
RD
7687 {
7688 arg3 = (bool)(SWIG_As_bool(obj2));
7689 if (SWIG_arg_fail(3)) SWIG_fail;
7690 }
44127b65
RD
7691 }
7692 if (obj3) {
093d3ff1
RD
7693 {
7694 arg4 = (bool)(SWIG_As_bool(obj3));
7695 if (SWIG_arg_fail(4)) SWIG_fail;
7696 }
44127b65
RD
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 return resultobj;
7707 fail:
7708 return NULL;
7709}
7710
7711
c32bde28 7712static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
629f3c1b
RD
7713 PyObject *resultobj;
7714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
ae8162c8 7715 bool arg2 = (bool) false ;
629f3c1b
RD
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 char *kwnames[] = {
7719 (char *) "self",(char *) "extended_select", NULL
7720 };
7721
7722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail;
629f3c1b 7725 if (obj1) {
093d3ff1
RD
7726 {
7727 arg2 = (bool)(SWIG_As_bool(obj1));
7728 if (SWIG_arg_fail(2)) SWIG_fail;
7729 }
629f3c1b
RD
7730 }
7731 {
7732 PyThreadState* __tstate = wxPyBeginAllowThreads();
7733 (arg1)->SelectAll(arg2);
7734
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 Py_INCREF(Py_None); resultobj = Py_None;
7739 return resultobj;
7740 fail:
7741 return NULL;
7742}
7743
7744
c32bde28 7745static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7746 PyObject *resultobj;
7747 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7748 wxTreeItemId *arg2 = 0 ;
7749 PyObject * obj0 = 0 ;
7750 PyObject * obj1 = 0 ;
7751 char *kwnames[] = {
7752 (char *) "self",(char *) "item", NULL
7753 };
7754
7755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7756 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7757 if (SWIG_arg_fail(1)) SWIG_fail;
7758 {
7759 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7760 if (SWIG_arg_fail(2)) SWIG_fail;
7761 if (arg2 == NULL) {
7762 SWIG_null_ref("wxTreeItemId");
7763 }
7764 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7765 }
7766 {
7767 PyThreadState* __tstate = wxPyBeginAllowThreads();
7768 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
7769
7770 wxPyEndAllowThreads(__tstate);
7771 if (PyErr_Occurred()) SWIG_fail;
7772 }
7773 Py_INCREF(Py_None); resultobj = Py_None;
7774 return resultobj;
7775 fail:
7776 return NULL;
7777}
7778
7779
c32bde28 7780static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7781 PyObject *resultobj;
7782 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7783 wxTreeItemId *arg2 = 0 ;
7784 PyObject * obj0 = 0 ;
7785 PyObject * obj1 = 0 ;
7786 char *kwnames[] = {
7787 (char *) "self",(char *) "item", NULL
7788 };
7789
7790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7791 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7792 if (SWIG_arg_fail(1)) SWIG_fail;
7793 {
7794 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7795 if (SWIG_arg_fail(2)) SWIG_fail;
7796 if (arg2 == NULL) {
7797 SWIG_null_ref("wxTreeItemId");
7798 }
7799 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 Py_INCREF(Py_None); resultobj = Py_None;
7809 return resultobj;
7810 fail:
7811 return NULL;
7812}
7813
7814
c32bde28 7815static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7816 PyObject *resultobj;
7817 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7818 wxPoint *arg2 = 0 ;
7819 int *arg3 = 0 ;
7820 int *arg4 = 0 ;
7821 wxTreeItemId result;
7822 wxPoint temp2 ;
7823 int temp3 ;
c32bde28 7824 int res3 = 0 ;
44127b65 7825 int temp4 ;
c32bde28 7826 int res4 = 0 ;
44127b65
RD
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "point", NULL
7831 };
7832
c32bde28
RD
7833 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7834 arg4 = &temp4; res4 = SWIG_NEWOBJ;
44127b65 7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
7838 {
7839 arg2 = &temp2;
7840 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7841 }
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
7845
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 {
7850 wxTreeItemId * resultptr;
093d3ff1 7851 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
2f4c0a16 7852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
44127b65 7853 }
c32bde28
RD
7854 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
7855 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
7856 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
7857 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
44127b65
RD
7858 return resultobj;
7859 fail:
7860 return NULL;
7861}
7862
7863
c32bde28 7864static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7865 PyObject *resultobj;
7866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7867 wxTreeItemId *arg2 = 0 ;
ae8162c8 7868 bool arg3 = (bool) false ;
44127b65
RD
7869 PyObject *result;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 PyObject * obj2 = 0 ;
7873 char *kwnames[] = {
7874 (char *) "self",(char *) "item",(char *) "textOnly", NULL
7875 };
7876
7877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
093d3ff1
RD
7878 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7879 if (SWIG_arg_fail(1)) SWIG_fail;
7880 {
7881 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7882 if (SWIG_arg_fail(2)) SWIG_fail;
7883 if (arg2 == NULL) {
7884 SWIG_null_ref("wxTreeItemId");
7885 }
7886 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7887 }
7888 if (obj2) {
093d3ff1
RD
7889 {
7890 arg3 = (bool)(SWIG_As_bool(obj2));
7891 if (SWIG_arg_fail(3)) SWIG_fail;
7892 }
44127b65
RD
7893 }
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = result;
7902 return resultobj;
7903 fail:
7904 return NULL;
7905}
7906
7907
c32bde28 7908static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7909 PyObject *resultobj;
7910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7911 wxTreeItemId *arg2 = 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char *kwnames[] = {
7915 (char *) "self",(char *) "item", NULL
7916 };
7917
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7919 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7920 if (SWIG_arg_fail(1)) SWIG_fail;
7921 {
7922 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7923 if (SWIG_arg_fail(2)) SWIG_fail;
7924 if (arg2 == NULL) {
7925 SWIG_null_ref("wxTreeItemId");
7926 }
7927 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7928 }
7929 {
7930 PyThreadState* __tstate = wxPyBeginAllowThreads();
7931 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
7932
7933 wxPyEndAllowThreads(__tstate);
7934 if (PyErr_Occurred()) SWIG_fail;
7935 }
7936 Py_INCREF(Py_None); resultobj = Py_None;
7937 return resultobj;
7938 fail:
7939 return NULL;
7940}
7941
7942
c32bde28 7943static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7944 PyObject *resultobj;
7945 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7946 wxTreeItemId *arg2 = 0 ;
7947 PyObject * obj0 = 0 ;
7948 PyObject * obj1 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "item", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7954 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7955 if (SWIG_arg_fail(1)) SWIG_fail;
7956 {
7957 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7958 if (SWIG_arg_fail(2)) SWIG_fail;
7959 if (arg2 == NULL) {
7960 SWIG_null_ref("wxTreeItemId");
7961 }
7962 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7963 }
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 (arg1)->Edit((wxTreeItemId const &)*arg2);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 Py_INCREF(Py_None); resultobj = Py_None;
7972 return resultobj;
7973 fail:
7974 return NULL;
7975}
7976
7977
c32bde28 7978static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
7979 PyObject *resultobj;
7980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7981 wxTreeItemId *arg2 = 0 ;
7982 PyObject * obj0 = 0 ;
7983 PyObject * obj1 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "item", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
093d3ff1
RD
7989 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7990 if (SWIG_arg_fail(1)) SWIG_fail;
7991 {
7992 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
7993 if (SWIG_arg_fail(2)) SWIG_fail;
7994 if (arg2 == NULL) {
7995 SWIG_null_ref("wxTreeItemId");
7996 }
7997 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 Py_INCREF(Py_None); resultobj = Py_None;
8007 return resultobj;
8008 fail:
8009 return NULL;
8010}
8011
8012
c32bde28 8013static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8014 PyObject *resultobj;
8015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8016 wxTreeItemId *arg2 = 0 ;
629f3c1b
RD
8017 wxString *arg3 = 0 ;
8018 int arg4 = (int) 0 ;
8019 wxTreeItemId result;
ae8162c8 8020 bool temp3 = false ;
44127b65
RD
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
629f3c1b
RD
8023 PyObject * obj2 = 0 ;
8024 PyObject * obj3 = 0 ;
44127b65 8025 char *kwnames[] = {
629f3c1b 8026 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
44127b65
RD
8027 };
8028
629f3c1b 8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
093d3ff1
RD
8030 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8031 if (SWIG_arg_fail(1)) SWIG_fail;
8032 {
8033 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_EXCEPTION | 0);
8034 if (SWIG_arg_fail(2)) SWIG_fail;
8035 if (arg2 == NULL) {
8036 SWIG_null_ref("wxTreeItemId");
8037 }
8038 if (SWIG_arg_fail(2)) SWIG_fail;
44127b65
RD
8039 }
8040 {
629f3c1b
RD
8041 arg3 = wxString_in_helper(obj2);
8042 if (arg3 == NULL) SWIG_fail;
ae8162c8 8043 temp3 = true;
44127b65 8044 }
629f3c1b 8045 if (obj3) {
093d3ff1
RD
8046 {
8047 arg4 = (int)(SWIG_As_int(obj3));
8048 if (SWIG_arg_fail(4)) SWIG_fail;
8049 }
8edf1c75 8050 }
44127b65
RD
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
629f3c1b 8053 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
44127b65
RD
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
629f3c1b
RD
8058 {
8059 wxTreeItemId * resultptr;
093d3ff1 8060 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
629f3c1b
RD
8061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8062 }
8063 {
8064 if (temp3)
8065 delete arg3;
8066 }
44127b65
RD
8067 return resultobj;
8068 fail:
629f3c1b
RD
8069 {
8070 if (temp3)
8071 delete arg3;
8072 }
44127b65
RD
8073 return NULL;
8074}
8075
8076
c32bde28 8077static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8078 PyObject *resultobj;
8079 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8080 wxWindow *result;
8081 PyObject * obj0 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetHeaderWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
8087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
412d302d 8097 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
8098 }
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
c32bde28 8105static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
44127b65
RD
8106 PyObject *resultobj;
8107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
412d302d 8108 wxScrolledWindow *result;
44127b65
RD
8109 PyObject * obj0 = 0 ;
8110 char *kwnames[] = {
8111 (char *) "self", NULL
8112 };
8113
8114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
093d3ff1
RD
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
44127b65
RD
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 8119 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
44127b65
RD
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 {
412d302d 8125 resultobj = wxPyMake_wxObject(result, 0);
44127b65
RD
8126 }
8127 return resultobj;
8128 fail:
8129 return NULL;
8130}
8131
8132
c32bde28 8133static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
44127b65
RD
8134 PyObject *obj;
8135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8136 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeListCtrl, obj);
8137 Py_INCREF(obj);
8138 return Py_BuildValue((char *)"");
8139}
6260902d
RD
8140static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxWindow *arg1 = (wxWindow *) 0 ;
4002a6cc
RD
8143 int arg2 = (int) -1 ;
8144 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8145 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
6260902d
RD
8146 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8147 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8148 wxSize const &arg5_defvalue = wxDefaultSize ;
8149 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8150 long arg6 = (long) 0 ;
8151 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
8152 wxString *arg7 = (wxString *) &arg7_defvalue ;
8153 wxStaticPicture *result;
8154 wxPoint temp4 ;
8155 wxSize temp5 ;
8156 bool temp7 = false ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 PyObject * obj2 = 0 ;
8160 PyObject * obj3 = 0 ;
8161 PyObject * obj4 = 0 ;
8162 PyObject * obj5 = 0 ;
8163 PyObject * obj6 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8166 };
8167
4002a6cc 8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6260902d
RD
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
4002a6cc
RD
8171 if (obj1) {
8172 {
8173 arg2 = (int)(SWIG_As_int(obj1));
8174 if (SWIG_arg_fail(2)) SWIG_fail;
8175 }
6260902d 8176 }
4002a6cc
RD
8177 if (obj2) {
8178 {
8179 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8180 if (SWIG_arg_fail(3)) SWIG_fail;
8181 if (arg3 == NULL) {
8182 SWIG_null_ref("wxBitmap");
8183 }
8184 if (SWIG_arg_fail(3)) SWIG_fail;
6260902d 8185 }
6260902d
RD
8186 }
8187 if (obj3) {
8188 {
8189 arg4 = &temp4;
8190 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8191 }
8192 }
8193 if (obj4) {
8194 {
8195 arg5 = &temp5;
8196 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8197 }
8198 }
8199 if (obj5) {
8200 {
8201 arg6 = (long)(SWIG_As_long(obj5));
8202 if (SWIG_arg_fail(6)) SWIG_fail;
8203 }
8204 }
8205 if (obj6) {
8206 {
8207 arg7 = wxString_in_helper(obj6);
8208 if (arg7 == NULL) SWIG_fail;
8209 temp7 = true;
8210 }
8211 }
8212 {
8213 if (!wxPyCheckForApp()) SWIG_fail;
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8221 {
8222 if (temp7)
8223 delete arg7;
8224 }
8225 return resultobj;
8226 fail:
8227 {
8228 if (temp7)
8229 delete arg7;
8230 }
8231 return NULL;
8232}
8233
8234
8235static PyObject *_wrap_new_PreStaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxStaticPicture *result;
8238 char *kwnames[] = {
8239 NULL
8240 };
8241
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticPicture",kwnames)) goto fail;
8243 {
8244 if (!wxPyCheckForApp()) SWIG_fail;
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 result = (wxStaticPicture *)new wxStaticPicture();
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticPicture, 1);
8252 return resultobj;
8253 fail:
8254 return NULL;
8255}
8256
8257
8258static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8261 wxWindow *arg2 = (wxWindow *) 0 ;
4002a6cc
RD
8262 int arg3 = (int) -1 ;
8263 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8264 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
6260902d
RD
8265 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8266 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8267 wxSize const &arg6_defvalue = wxDefaultSize ;
8268 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8269 long arg7 = (long) 0 ;
8270 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
8271 wxString *arg8 = (wxString *) &arg8_defvalue ;
8272 bool result;
8273 wxPoint temp5 ;
8274 wxSize temp6 ;
8275 bool temp8 = false ;
8276 PyObject * obj0 = 0 ;
8277 PyObject * obj1 = 0 ;
8278 PyObject * obj2 = 0 ;
8279 PyObject * obj3 = 0 ;
8280 PyObject * obj4 = 0 ;
8281 PyObject * obj5 = 0 ;
8282 PyObject * obj6 = 0 ;
8283 PyObject * obj7 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8286 };
8287
4002a6cc 8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
6260902d
RD
8289 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8290 if (SWIG_arg_fail(1)) SWIG_fail;
8291 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8292 if (SWIG_arg_fail(2)) SWIG_fail;
4002a6cc
RD
8293 if (obj2) {
8294 {
8295 arg3 = (int)(SWIG_As_int(obj2));
8296 if (SWIG_arg_fail(3)) SWIG_fail;
8297 }
6260902d 8298 }
4002a6cc
RD
8299 if (obj3) {
8300 {
8301 SWIG_Python_ConvertPtr(obj3, (void **)&arg4, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8302 if (SWIG_arg_fail(4)) SWIG_fail;
8303 if (arg4 == NULL) {
8304 SWIG_null_ref("wxBitmap");
8305 }
8306 if (SWIG_arg_fail(4)) SWIG_fail;
6260902d 8307 }
6260902d
RD
8308 }
8309 if (obj4) {
8310 {
8311 arg5 = &temp5;
8312 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8313 }
8314 }
8315 if (obj5) {
8316 {
8317 arg6 = &temp6;
8318 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8319 }
8320 }
8321 if (obj6) {
8322 {
8323 arg7 = (long)(SWIG_As_long(obj6));
8324 if (SWIG_arg_fail(7)) SWIG_fail;
8325 }
8326 }
8327 if (obj7) {
8328 {
8329 arg8 = wxString_in_helper(obj7);
8330 if (arg8 == NULL) SWIG_fail;
8331 temp8 = true;
8332 }
8333 }
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 {
8342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8343 }
8344 {
8345 if (temp8)
8346 delete arg8;
8347 }
8348 return resultobj;
8349 fail:
8350 {
8351 if (temp8)
8352 delete arg8;
8353 }
8354 return NULL;
8355}
8356
8357
8358static PyObject *_wrap_StaticPicture_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj;
8360 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8361 wxBitmap *arg2 = 0 ;
8362 PyObject * obj0 = 0 ;
8363 PyObject * obj1 = 0 ;
8364 char *kwnames[] = {
8365 (char *) "self",(char *) "bmp", NULL
8366 };
8367
8368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
8369 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8370 if (SWIG_arg_fail(1)) SWIG_fail;
8371 {
8372 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxBitmap, SWIG_POINTER_EXCEPTION | 0);
8373 if (SWIG_arg_fail(2)) SWIG_fail;
8374 if (arg2 == NULL) {
8375 SWIG_null_ref("wxBitmap");
8376 }
8377 if (SWIG_arg_fail(2)) SWIG_fail;
8378 }
8379 {
8380 PyThreadState* __tstate = wxPyBeginAllowThreads();
8381 (arg1)->SetBitmap((wxBitmap const &)*arg2);
8382
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 Py_INCREF(Py_None); resultobj = Py_None;
8387 return resultobj;
8388 fail:
8389 return NULL;
8390}
8391
8392
8393static PyObject *_wrap_StaticPicture_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8396 wxBitmap result;
8397 PyObject * obj0 = 0 ;
8398 char *kwnames[] = {
8399 (char *) "self", NULL
8400 };
8401
8402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetBitmap",kwnames,&obj0)) goto fail;
8403 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8404 if (SWIG_arg_fail(1)) SWIG_fail;
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = ((wxStaticPicture const *)arg1)->GetBitmap();
8408
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 {
8413 wxBitmap * resultptr;
8414 resultptr = new wxBitmap((wxBitmap &)(result));
8415 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
8416 }
8417 return resultobj;
8418 fail:
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_StaticPicture_SetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8426 wxIcon *arg2 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char *kwnames[] = {
8430 (char *) "self",(char *) "icon", NULL
8431 };
8432
8433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) goto fail;
8434 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8435 if (SWIG_arg_fail(1)) SWIG_fail;
8436 {
8437 SWIG_Python_ConvertPtr(obj1, (void **)&arg2, SWIGTYPE_p_wxIcon, SWIG_POINTER_EXCEPTION | 0);
8438 if (SWIG_arg_fail(2)) SWIG_fail;
8439 if (arg2 == NULL) {
8440 SWIG_null_ref("wxIcon");
8441 }
8442 if (SWIG_arg_fail(2)) SWIG_fail;
8443 }
8444 {
8445 PyThreadState* __tstate = wxPyBeginAllowThreads();
8446 (arg1)->SetIcon((wxIcon const &)*arg2);
8447
8448 wxPyEndAllowThreads(__tstate);
8449 if (PyErr_Occurred()) SWIG_fail;
8450 }
8451 Py_INCREF(Py_None); resultobj = Py_None;
8452 return resultobj;
8453 fail:
8454 return NULL;
8455}
8456
8457
8458static PyObject *_wrap_StaticPicture_GetIcon(PyObject *, PyObject *args, PyObject *kwargs) {
8459 PyObject *resultobj;
8460 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8461 wxIcon result;
8462 PyObject * obj0 = 0 ;
8463 char *kwnames[] = {
8464 (char *) "self", NULL
8465 };
8466
8467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetIcon",kwnames,&obj0)) goto fail;
8468 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8469 if (SWIG_arg_fail(1)) SWIG_fail;
8470 {
8471 PyThreadState* __tstate = wxPyBeginAllowThreads();
8472 result = ((wxStaticPicture const *)arg1)->GetIcon();
8473
8474 wxPyEndAllowThreads(__tstate);
8475 if (PyErr_Occurred()) SWIG_fail;
8476 }
8477 {
8478 wxIcon * resultptr;
8479 resultptr = new wxIcon((wxIcon &)(result));
8480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxIcon, 1);
8481 }
8482 return resultobj;
8483 fail:
8484 return NULL;
8485}
8486
8487
8488static PyObject *_wrap_StaticPicture_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8489 PyObject *resultobj;
8490 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8491 int arg2 ;
8492 PyObject * obj0 = 0 ;
8493 PyObject * obj1 = 0 ;
8494 char *kwnames[] = {
8495 (char *) "self",(char *) "align", NULL
8496 };
8497
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
8499 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8500 if (SWIG_arg_fail(1)) SWIG_fail;
8501 {
8502 arg2 = (int)(SWIG_As_int(obj1));
8503 if (SWIG_arg_fail(2)) SWIG_fail;
8504 }
8505 {
8506 PyThreadState* __tstate = wxPyBeginAllowThreads();
8507 (arg1)->SetAlignment(arg2);
8508
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 Py_INCREF(Py_None); resultobj = Py_None;
8513 return resultobj;
8514 fail:
8515 return NULL;
8516}
8517
8518
8519static PyObject *_wrap_StaticPicture_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj;
8521 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8522 int result;
8523 PyObject * obj0 = 0 ;
8524 char *kwnames[] = {
8525 (char *) "self", NULL
8526 };
8527
8528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetAlignment",kwnames,&obj0)) goto fail;
8529 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8530 if (SWIG_arg_fail(1)) SWIG_fail;
8531 {
8532 PyThreadState* __tstate = wxPyBeginAllowThreads();
8533 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
8534
8535 wxPyEndAllowThreads(__tstate);
8536 if (PyErr_Occurred()) SWIG_fail;
8537 }
8538 {
8539 resultobj = SWIG_From_int((int)(result));
8540 }
8541 return resultobj;
8542 fail:
8543 return NULL;
8544}
8545
8546
8547static PyObject *_wrap_StaticPicture_SetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8548 PyObject *resultobj;
8549 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8550 int arg2 ;
8551 PyObject * obj0 = 0 ;
8552 PyObject * obj1 = 0 ;
8553 char *kwnames[] = {
8554 (char *) "self",(char *) "scale", NULL
8555 };
8556
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) goto fail;
8558 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8559 if (SWIG_arg_fail(1)) SWIG_fail;
8560 {
8561 arg2 = (int)(SWIG_As_int(obj1));
8562 if (SWIG_arg_fail(2)) SWIG_fail;
8563 }
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 (arg1)->SetScale(arg2);
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
8571 Py_INCREF(Py_None); resultobj = Py_None;
8572 return resultobj;
8573 fail:
8574 return NULL;
8575}
8576
8577
8578static PyObject *_wrap_StaticPicture_GetScale(PyObject *, PyObject *args, PyObject *kwargs) {
8579 PyObject *resultobj;
8580 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8581 int result;
8582 PyObject * obj0 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetScale",kwnames,&obj0)) goto fail;
8588 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8589 if (SWIG_arg_fail(1)) SWIG_fail;
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 result = (int)((wxStaticPicture const *)arg1)->GetScale();
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 {
8598 resultobj = SWIG_From_int((int)(result));
8599 }
8600 return resultobj;
8601 fail:
8602 return NULL;
8603}
8604
8605
8606static PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8607 PyObject *resultobj;
8608 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8609 float arg2 ;
8610 float arg3 ;
8611 PyObject * obj0 = 0 ;
8612 PyObject * obj1 = 0 ;
8613 PyObject * obj2 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "sx",(char *) "sy", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
8619 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8620 if (SWIG_arg_fail(1)) SWIG_fail;
8621 {
8622 arg2 = (float)(SWIG_As_float(obj1));
8623 if (SWIG_arg_fail(2)) SWIG_fail;
8624 }
8625 {
8626 arg3 = (float)(SWIG_As_float(obj2));
8627 if (SWIG_arg_fail(3)) SWIG_fail;
8628 }
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 (arg1)->SetCustomScale(arg2,arg3);
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 Py_INCREF(Py_None); resultobj = Py_None;
8637 return resultobj;
8638 fail:
8639 return NULL;
8640}
8641
8642
8643static PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *, PyObject *args, PyObject *kwargs) {
8644 PyObject *resultobj;
8645 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8646 float *arg2 = (float *) 0 ;
8647 float *arg3 = (float *) 0 ;
8648 float temp2 ;
8649 int res2 = 0 ;
8650 float temp3 ;
8651 int res3 = 0 ;
8652 PyObject * obj0 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "self", NULL
8655 };
8656
8657 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8658 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticPicture_GetCustomScale",kwnames,&obj0)) goto fail;
8660 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_EXCEPTION | 0);
8661 if (SWIG_arg_fail(1)) SWIG_fail;
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 Py_INCREF(Py_None); resultobj = Py_None;
8670 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8671 SWIG_From_float((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, 0)));
8672 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8673 SWIG_From_float((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, 0)));
8674 return resultobj;
8675 fail:
8676 return NULL;
8677}
8678
8679
8680static PyObject * StaticPicture_swigregister(PyObject *, PyObject *args) {
8681 PyObject *obj;
8682 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8683 SWIG_TypeClientData(SWIGTYPE_p_wxStaticPicture, obj);
8684 Py_INCREF(obj);
8685 return Py_BuildValue((char *)"");
8686}
44127b65 8687static PyMethodDef SwigMethods[] = {
093d3ff1
RD
8688 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8689 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
8690 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
8691 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
8692 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8693 { (char *)"new_PreDynamicSashWindow", (PyCFunction) _wrap_new_PreDynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8694 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8695 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8696 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
8697 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
8698 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
8699 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8700 { (char *)"EditableListBox_GetStrings", (PyCFunction) _wrap_EditableListBox_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
8701 { (char *)"EditableListBox_GetListCtrl", (PyCFunction) _wrap_EditableListBox_GetListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8702 { (char *)"EditableListBox_GetDelButton", (PyCFunction) _wrap_EditableListBox_GetDelButton, METH_VARARGS | METH_KEYWORDS, NULL},
8703 { (char *)"EditableListBox_GetNewButton", (PyCFunction) _wrap_EditableListBox_GetNewButton, METH_VARARGS | METH_KEYWORDS, NULL},
8704 { (char *)"EditableListBox_GetUpButton", (PyCFunction) _wrap_EditableListBox_GetUpButton, METH_VARARGS | METH_KEYWORDS, NULL},
8705 { (char *)"EditableListBox_GetDownButton", (PyCFunction) _wrap_EditableListBox_GetDownButton, METH_VARARGS | METH_KEYWORDS, NULL},
8706 { (char *)"EditableListBox_GetEditButton", (PyCFunction) _wrap_EditableListBox_GetEditButton, METH_VARARGS | METH_KEYWORDS, NULL},
8707 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
8708 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8709 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_VARARGS | METH_KEYWORDS, NULL},
8710 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_VARARGS | METH_KEYWORDS, NULL},
8711 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8712 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
8713 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8714 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8715 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
8716 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8717 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8718 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8719 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8720 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
8721 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8722 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
8723 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8724 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
8725 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8726 { (char *)"new_PreLEDNumberCtrl", (PyCFunction) _wrap_new_PreLEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8727 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8728 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8729 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_GetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8730 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction) _wrap_LEDNumberCtrl_GetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8731 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8732 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
8733 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
8734 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
8735 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8736 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction) _wrap_TreeListColumnInfo_GetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8737 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8738 { (char *)"TreeListColumnInfo_GetText", (PyCFunction) _wrap_TreeListColumnInfo_GetText, METH_VARARGS | METH_KEYWORDS, NULL},
8739 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction) _wrap_TreeListColumnInfo_GetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8740 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_GetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8741 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction) _wrap_TreeListColumnInfo_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8742 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
8743 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8744 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
8745 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
8746 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
8747 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8748 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
8749 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8750 { (char *)"new_PreTreeListCtrl", (PyCFunction) _wrap_new_PreTreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
8751 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8752 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8753 { (char *)"TreeListCtrl_GetCount", (PyCFunction) _wrap_TreeListCtrl_GetCount, METH_VARARGS | METH_KEYWORDS, NULL},
8754 { (char *)"TreeListCtrl_GetIndent", (PyCFunction) _wrap_TreeListCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8755 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
8756 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_GetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8757 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
8758 { (char *)"TreeListCtrl_GetImageList", (PyCFunction) _wrap_TreeListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8759 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction) _wrap_TreeListCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8760 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_GetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8761 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8762 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8763 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8764 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8765 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8766 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
8767 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8768 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8769 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8770 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
8771 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8772 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction) _wrap_TreeListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS, NULL},
8773 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8774 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
8775 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8776 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction) _wrap_TreeListCtrl_GetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8777 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8778 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
8779 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8780 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8781 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8782 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8783 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8784 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
8785 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
8786 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
8787 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8788 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8789 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
8790 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
8791 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8792 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
8793 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8794 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
8795 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8796 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8797 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8798 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8799 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8800 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
8801 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
8802 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
8803 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
8804 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8805 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8806 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
8807 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
8808 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
8809 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
8810 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction) _wrap_TreeListCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS, NULL},
8811 { (char *)"TreeListCtrl_GetSelection", (PyCFunction) _wrap_TreeListCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL},
8812 { (char *)"TreeListCtrl_GetSelections", (PyCFunction) _wrap_TreeListCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS, NULL},
8813 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
8814 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
8815 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
8816 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
8817 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8818 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
8819 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
8820 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8821 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8822 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
8823 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
8824 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
8825 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
8826 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
8827 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
8828 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
8829 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8830 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS, NULL},
8831 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
8832 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
8833 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
8834 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
8835 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
8836 { (char *)"TreeListCtrl_Unselect", (PyCFunction) _wrap_TreeListCtrl_Unselect, METH_VARARGS | METH_KEYWORDS, NULL},
8837 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction) _wrap_TreeListCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8838 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
8839 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
8840 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
8841 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
8842 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
8843 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
8844 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
8845 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
8846 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
8847 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
8848 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction) _wrap_TreeListCtrl_GetHeaderWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8849 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction) _wrap_TreeListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS, NULL},
8850 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
6260902d
RD
8851 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
8852 { (char *)"new_PreStaticPicture", (PyCFunction) _wrap_new_PreStaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
8853 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
8854 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
8855 { (char *)"StaticPicture_GetBitmap", (PyCFunction) _wrap_StaticPicture_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
8856 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
8857 { (char *)"StaticPicture_GetIcon", (PyCFunction) _wrap_StaticPicture_GetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
8858 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8859 { (char *)"StaticPicture_GetAlignment", (PyCFunction) _wrap_StaticPicture_GetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
8860 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
8861 { (char *)"StaticPicture_GetScale", (PyCFunction) _wrap_StaticPicture_GetScale, METH_VARARGS | METH_KEYWORDS, NULL},
8862 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
8863 { (char *)"StaticPicture_GetCustomScale", (PyCFunction) _wrap_StaticPicture_GetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
8864 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
c32bde28 8865 { NULL, NULL, 0, NULL }
44127b65
RD
8866};
8867
8868
8869/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8870
8871static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
8872 return (void *)((wxValidator *) ((wxPyValidator *) x));
8873}
8874static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
8875 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
8876}
8877static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
8878 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
8879}
a2482628
RD
8880static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
8881 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8882}
44127b65
RD
8883static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
8884 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8885}
8886static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
8887 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
8888}
8889static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
8890 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
8891}
8892static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
8893 return (void *)((wxPanel *) ((wxPyPanel *) x));
8894}
8895static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
8896 return (void *)((wxPanel *) ((wxEditableListBox *) x));
8897}
8898static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
8899 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
8900}
8901static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
8902 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
8903}
8904static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
8905 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8906}
8907static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
8908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
8909}
8910static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
8911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
8912}
8913static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
8914 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
8915}
8916static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
8917 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
8918}
8919static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
8920 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8921}
8922static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
8923 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
8924}
8925static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
8926 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
8927}
ae8162c8
RD
8928static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
8929 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
8930}
8ac8dba0
RD
8931static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
8932 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
8933}
44127b65
RD
8934static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
8935 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
8936}
8937static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
8938 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
8939}
8940static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
8941 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
8942}
44127b65
RD
8943static void *_p_wxControlTo_p_wxWindow(void *x) {
8944 return (void *)((wxWindow *) ((wxControl *) x));
8945}
a2482628
RD
8946static void *_p_wxPyControlTo_p_wxWindow(void *x) {
8947 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
8948}
44127b65
RD
8949static void *_p_wxGaugeTo_p_wxWindow(void *x) {
8950 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
8951}
8952static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
8953 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
8954}
8955static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
8956 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
8957}
8958static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
8959 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
8960}
8961static void *_p_wxChoiceTo_p_wxWindow(void *x) {
8962 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
8963}
8964static void *_p_wxListViewTo_p_wxWindow(void *x) {
8965 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
8966}
8967static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
8968 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
8969}
8970static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 8971 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
8972}
8973static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
8974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
8975}
ae8162c8 8976static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 8977 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 8978}
44127b65
RD
8979static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
8980 return (void *)((wxWindow *) ((wxPyWindow *) x));
8981}
8982static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
8983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
8984}
8985static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 8986 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
8987}
8988static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
8989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
8990}
8991static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
8992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
8993}
8994static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
8995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
8996}
8997static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
8998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
8999}
c1cb24a4
RD
9000static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
9001 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9002}
44127b65
RD
9003static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9005}
9006static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9007 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9008}
9009static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9010 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9011}
9012static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9013 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9014}
9015static void *_p_wxSliderTo_p_wxWindow(void *x) {
9016 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9017}
9018static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9019 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9020}
8ac8dba0
RD
9021static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9022 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9023}
44127b65
RD
9024static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9025 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9026}
9027static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9028 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9029}
9030static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9031 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9032}
9033static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9034 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9035}
9036static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9037 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9038}
44127b65
RD
9039static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9040 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9041}
9042static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9043 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9044}
9045static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9046 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9047}
9048static void *_p_wxButtonTo_p_wxWindow(void *x) {
9049 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9050}
9051static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9052 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9053}
9054static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9055 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9056}
9057static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9058 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9059}
9060static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9061 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9062}
9063static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9065}
9066static void *_p_wxFrameTo_p_wxWindow(void *x) {
9067 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9068}
9069static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9070 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9071}
9072static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9073 return (void *)((wxWindow *) ((wxStatusBar *) x));
9074}
9075static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9076 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9077}
6260902d
RD
9078static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9079 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9080}
a2482628
RD
9081static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9082 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9083}
c1cb24a4
RD
9084static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9085 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9086}
44127b65
RD
9087static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9088 return (void *)((wxWindow *) ((wxSashWindow *) x));
9089}
9090static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9091 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9092}
9093static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9094 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9095}
9096static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9097 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9098}
9099static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9100 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9101}
9102static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9103 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9104}
9105static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9106 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9107}
9108static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9109 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9110}
9111static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9112 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
9113}
9114static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9115 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9116}
44127b65
RD
9117static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9118 return (void *)((wxWindow *) ((wxMenuBar *) x));
9119}
9120static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9121 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9122}
9123static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9124 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9125}
9126static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9127 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9128}
9129static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9130 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9131}
44127b65
RD
9132static void *_p_wxDialogTo_p_wxWindow(void *x) {
9133 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9134}
9135static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9137}
9138static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9140}
9141static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9142 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9143}
9144static void *_p_wxPanelTo_p_wxWindow(void *x) {
9145 return (void *)((wxWindow *) ((wxPanel *) x));
9146}
9147static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9148 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9149}
9150static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9151 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9152}
9153static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9154 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9155}
53aa7709
RD
9156static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9157 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9158}
44127b65
RD
9159static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9160 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9161}
9162static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9163 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9164}
9165static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9166 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9167}
a2482628
RD
9168static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9169 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9170}
44127b65
RD
9171static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9172 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9173}
9174static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9175 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9176}
8ac8dba0
RD
9177static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9178 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
9179}
9180static void *_p_wxToolBarTo_p_wxControl(void *x) {
9181 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9182}
9183static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9184 return (void *)((wxControl *) ((wxToggleButton *) x));
9185}
9186static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9187 return (void *)((wxControl *) ((wxRadioButton *) x));
9188}
9189static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9190 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9191}
9192static void *_p_wxPyControlTo_p_wxControl(void *x) {
9193 return (void *)((wxControl *) ((wxPyControl *) x));
9194}
9195static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9196 return (void *)((wxControl *) ((wxToolBarBase *) x));
9197}
9198static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9199 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9200}
9201static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9202 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9203}
9204static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9205 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9206}
9207static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9208 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9209}
9210static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9211 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9212}
9213static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9214 return (void *)((wxControl *) ((wxScrollBar *) x));
9215}
9216static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9217 return (void *)((wxControl *) ((wxControlWithItems *) x));
9218}
9219static void *_p_wxGaugeTo_p_wxControl(void *x) {
9220 return (void *)((wxControl *) ((wxGauge *) x));
9221}
9222static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9223 return (void *)((wxControl *) ((wxStaticLine *) x));
9224}
ae8162c8 9225static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 9226 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 9227}
44127b65 9228static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 9229 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 9230}
44127b65
RD
9231static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9232 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9233}
ae8162c8
RD
9234static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9235 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9236}
44127b65
RD
9237static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9238 return (void *)((wxControl *) ((wxCheckBox *) x));
9239}
9240static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9241 return (void *)((wxControl *) ((wxRadioBox *) x));
9242}
9243static void *_p_wxChoiceTo_p_wxControl(void *x) {
9244 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9245}
9246static void *_p_wxListBoxTo_p_wxControl(void *x) {
9247 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9248}
9249static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9250 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9251}
9252static void *_p_wxListViewTo_p_wxControl(void *x) {
9253 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9254}
9255static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 9256 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
9257}
9258static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9259 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9260}
9261static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9262 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9263}
9264static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9265 return (void *)((wxControl *) ((wxStaticText *) x));
9266}
9267static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9268 return (void *)((wxControl *) ((wxStaticBox *) x));
9269}
9270static void *_p_wxSliderTo_p_wxControl(void *x) {
9271 return (void *)((wxControl *) ((wxSlider *) x));
9272}
9273static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9274 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9275}
9276static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9277 return (void *)((wxControl *) ((wxSpinButton *) x));
9278}
9279static void *_p_wxButtonTo_p_wxControl(void *x) {
9280 return (void *)((wxControl *) ((wxButton *) x));
9281}
9282static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9283 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9284}
53aa7709
RD
9285static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9286 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9287}
6260902d
RD
9288static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9289 return (void *)((wxControl *) ((wxStaticPicture *) x));
9290}
44127b65
RD
9291static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9292 return (void *)((wxControl *) ((wxTextCtrl *) x));
9293}
4cf4100f
RD
9294static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9295 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9296}
44127b65
RD
9297static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9298 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9299}
9300static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9301 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9302}
9303static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9304 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9305}
9306static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9307 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9308}
9309static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9310 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9311}
8ac8dba0
RD
9312static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9313 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9314}
44127b65
RD
9315static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9316 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9317}
9318static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9319 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9320}
9321static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9322 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9323}
9324static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9325 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9326}
9327static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9329}
9330static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9331 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9332}
9333static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9334 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9335}
44127b65
RD
9336static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9337 return (void *)((wxEvent *) ((wxPyEvent *) x));
9338}
9339static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9341}
9342static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9343 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9344}
9345static void *_p_wxListEventTo_p_wxEvent(void *x) {
9346 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9347}
9348static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9349 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9350}
9351static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9352 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9353}
9354static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 9355 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
9356}
9357static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 9358 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 9359}
ae8162c8 9360static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 9361 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 9362}
44127b65
RD
9363static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9364 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9365}
9366static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9367 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9368}
9369static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9370 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9371}
9372static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9373 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9374}
9375static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9376 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9377}
9378static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9379 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9380}
9381static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9382 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9383}
9384static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9385 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9386}
9387static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9388 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9389}
53aa7709
RD
9390static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9392}
44127b65
RD
9393static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9394 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9395}
9396static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9397 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9398}
9399static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9401}
9402static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9403 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9404}
9405static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9406 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9407}
9408static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9409 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9410}
9411static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9412 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9413}
9414static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9415 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9416}
9417static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9418 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9419}
9420static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9422}
9423static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9425}
9426static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9427 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9428}
9429static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9430 return (void *)((wxEvent *) ((wxShowEvent *) x));
9431}
9432static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9433 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9434}
9435static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9437}
9438static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9439 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9440}
9441static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9442 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9443}
9444static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9445 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9446}
9447static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9448 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9449}
9450static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9451 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9452}
83448d71
RD
9453static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9454 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9455}
44127b65
RD
9456static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9458}
9459static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9461}
9462static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9464}
9465static void *_p_wxEventTo_p_wxObject(void *x) {
9466 return (void *)((wxObject *) ((wxEvent *) x));
9467}
44127b65
RD
9468static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9470}
9471static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9472 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9473}
9474static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9475 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9476}
9477static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9479}
9480static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9482}
9483static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9485}
9486static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9487 return (void *)((wxObject *) ((wxMenuItem *) x));
9488}
9489static void *_p_wxImageTo_p_wxObject(void *x) {
9490 return (void *)((wxObject *) ((wxImage *) x));
9491}
9492static void *_p_wxPySizerTo_p_wxObject(void *x) {
9493 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9494}
9495static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9497}
9498static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9499 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9500}
9501static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
9503}
84f85550
RD
9504static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9505 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
9506}
9507static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9508 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9509}
9510static void *_p_wxPyAppTo_p_wxObject(void *x) {
9511 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9512}
9513static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 9514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
9515}
9516static void *_p_wxListItemTo_p_wxObject(void *x) {
9517 return (void *)((wxObject *) ((wxListItem *) x));
9518}
ae8162c8 9519static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0
RD
9520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9521}
9522static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
ae8162c8 9524}
44127b65
RD
9525static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
9526 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
9527}
9528static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9530}
9531static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9533}
9534static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9536}
9537static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9539}
9540static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9541 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9542}
9543static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9545}
9546static void *_p_wxValidatorTo_p_wxObject(void *x) {
9547 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9548}
9549static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9550 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9551}
9552static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9553 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9554}
9555static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9556 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9557}
9558static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9559 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9560}
53aa7709
RD
9561static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9563}
44127b65
RD
9564static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9565 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9566}
44127b65
RD
9567static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9569}
9570static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9572}
9573static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9574 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9575}
9576static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9577 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9578}
9579static void *_p_wxPrinterTo_p_wxObject(void *x) {
9580 return (void *)((wxObject *) ((wxPrinter *) x));
9581}
9582static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9584}
9585static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9587}
9588static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9589 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9590}
9591static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9593}
9594static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9595 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9596}
9597static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9598 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9599}
9600static void *_p_wxControlTo_p_wxObject(void *x) {
9601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9602}
9603static void *_p_wxPyControlTo_p_wxObject(void *x) {
9604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9605}
9606static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9607 return (void *)((wxObject *) ((wxContextHelp *) x));
9608}
9609static void *_p_wxColourDataTo_p_wxObject(void *x) {
9610 return (void *)((wxObject *) ((wxColourData *) x));
9611}
9612static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9613 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9614}
9615static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9616 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9617}
9618static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9619 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9620}
9621static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9622 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9623}
9624static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9625 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9626}
9627static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9628 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9629}
9630static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9631 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9632}
9633static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9634 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9635}
53aa7709
RD
9636static void *_p_wxDateEventTo_p_wxObject(void *x) {
9637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9638}
44127b65
RD
9639static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9641}
9642static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9643 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9644}
9645static void *_p_wxListEventTo_p_wxObject(void *x) {
9646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9647}
9648static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9650}
9651static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9652 return (void *)((wxObject *) ((wxPyPrintout *) x));
9653}
9654static void *_p_wxGaugeTo_p_wxObject(void *x) {
9655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9656}
9657static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9659}
51b83b37
RD
9660static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9661 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9662}
44127b65
RD
9663static void *_p_wxChoiceTo_p_wxObject(void *x) {
9664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9665}
9666static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9668}
9669static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9671}
9672static void *_p_wxButtonTo_p_wxObject(void *x) {
9673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9674}
9675static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9677}
9678static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9679 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9680}
9681static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9682 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9683}
9684static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9686}
9687static void *_p_wxSashEventTo_p_wxObject(void *x) {
9688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9689}
9690static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9692}
9693static void *_p_wxListBoxTo_p_wxObject(void *x) {
9694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9695}
9696static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9698}
9699static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9701}
9702static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9703 return (void *)((wxObject *) ((wxPrintData *) x));
9704}
9705static void *_p_wxFontDataTo_p_wxObject(void *x) {
9706 return (void *)((wxObject *) ((wxFontData *) x));
9707}
9708static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9710}
9711static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9713}
9714static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 9715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
9716}
9717static void *_p_wxFrameTo_p_wxObject(void *x) {
9718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9719}
9720static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9722}
9723static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
9724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
9725}
9726static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9727 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9728}
9729static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
9730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9731}
9732static void *_p_wxFileSystemTo_p_wxObject(void *x) {
9733 return (void *)((wxObject *) ((wxFileSystem *) x));
9734}
9735static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
9736 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
9737}
9738static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
9739 return (void *)((wxObject *) ((wxPrintPreview *) x));
9740}
9741static void *_p_wxListViewTo_p_wxObject(void *x) {
9742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9743}
9744static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
9745 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
9746}
9747static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
9748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
9749}
9750static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
9751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9752}
9753static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
9754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
9755}
9756static void *_p_wxSizerTo_p_wxObject(void *x) {
9757 return (void *)((wxObject *) ((wxSizer *) x));
9758}
9759static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
9760 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
9761}
9762static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
9763 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
9764}
9765static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
9766 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
9767}
9768static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
9769 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
9770}
9771static void *_p_wxPaintEventTo_p_wxObject(void *x) {
9772 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
9773}
9774static void *_p_wxFSFileTo_p_wxObject(void *x) {
9775 return (void *)((wxObject *) ((wxFSFile *) x));
9776}
9777static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
9778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9779}
9780static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
9781 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
9782}
9783static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
9784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
9785}
9786static void *_p_wxMenuTo_p_wxObject(void *x) {
9787 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
9788}
9789static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
9790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
9791}
9792static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
9793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
9794}
9795static void *_p_wxSizerItemTo_p_wxObject(void *x) {
9796 return (void *)((wxObject *) ((wxSizerItem *) x));
9797}
9798static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
9799 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
9800}
9801static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
c1cb24a4 9802 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
9803}
9804static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 9805 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
9806}
9807static void *_p_wxFontDialogTo_p_wxObject(void *x) {
9808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9809}
9810static void *_p_wxDirDialogTo_p_wxObject(void *x) {
9811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9812}
9813static void *_p_wxColourDialogTo_p_wxObject(void *x) {
9814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9815}
9816static void *_p_wxDialogTo_p_wxObject(void *x) {
9817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
9818}
9819static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
9820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
9821}
9822static void *_p_wxPyEventTo_p_wxObject(void *x) {
9823 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
9824}
9825static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
9826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
9827}
9828static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
9829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9830}
6260902d
RD
9831static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
9832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
9833}
44127b65
RD
9834static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
9835 return (void *)((wxObject *) ((wxEvtHandler *) x));
9836}
9837static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
9838 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
9839}
9840static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
9841 return (void *)((wxObject *) ((wxImageHandler *) x));
9842}
9843static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
9844 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
9845}
9846static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
9847 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
9848}
9849static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
9850 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
9851}
9852static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
9853 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
9854}
9855static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
9856 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
9857}
9858static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
9859 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
9860}
9861static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
9862 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
9863}
9864static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
9865 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9866}
9867static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
9868 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
9869}
9870static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
9871 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
9872}
9873static void *_p_wxShowEventTo_p_wxObject(void *x) {
9874 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
9875}
a2482628
RD
9876static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
9877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9878}
44127b65
RD
9879static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
9880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
9881}
9882static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
9883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
9884}
9885static void *_p_wxTipWindowTo_p_wxObject(void *x) {
9886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
9887}
9888static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
9889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9890}
9891static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
9892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
9893}
9894static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
9895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
9896}
9897static void *_p_wxSashWindowTo_p_wxObject(void *x) {
9898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
9899}
9900static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
9901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
9902}
9903static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
9904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
9905}
9906static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
9907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
9908}
44127b65
RD
9909static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
9910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
9911}
41f1cec7
RD
9912static void *_p_wxWindowTo_p_wxObject(void *x) {
9913 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
9914}
44127b65
RD
9915static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
9916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
9917}
9918static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
9919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
9920}
9921static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
9922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9923}
9924static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
9925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9926}
9927static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
9928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
9929}
44127b65 9930static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 9931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 9932}
83448d71 9933static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 9934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
83448d71 9935}
ae8162c8 9936static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 9937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 9938}
44127b65
RD
9939static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
9940 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
9941}
9942static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
9943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9944}
9945static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
9946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9947}
9948static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
9949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9950}
c1cb24a4
RD
9951static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
9952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9953}
44127b65
RD
9954static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
9955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9956}
9957static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
9958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9959}
9960static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
9961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9962}
9963static void *_p_wxFileDialogTo_p_wxObject(void *x) {
9964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9965}
9966static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
9967 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
9968}
9969static void *_p_wxSliderTo_p_wxObject(void *x) {
9970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
9971}
9972static void *_p_wxPyWindowTo_p_wxObject(void *x) {
9973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
9974}
53aa7709
RD
9975static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
9976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
9977}
44127b65
RD
9978static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
9979 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
9980}
9981static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
9982 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9983}
9984static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
9985 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
9986}
9987static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
9988 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
9989}
9990static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
9991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
9992}
9993static void *_p_wxHelpEventTo_p_wxObject(void *x) {
9994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
9995}
9996static void *_p_wxPanelTo_p_wxObject(void *x) {
9997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
9998}
83448d71
RD
9999static void *_p_wxSpinEventTo_p_wxObject(void *x) {
10000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
10001}
44127b65
RD
10002static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10003 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10004}
10005static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10006 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10007}
10008static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10009 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10010}
10011static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10013}
10014static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10016}
10017static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10018 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10019}
10020static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10022}
10023static void *_p_wxToolBarTo_p_wxObject(void *x) {
10024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10025}
10026static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10028}
10029static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10030 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10031}
10032static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10033 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10034}
10035static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10036 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10037}
10038static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10040}
10041static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10043}
10044static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10046}
10047static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10049}
10050static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10052}
10053static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10055}
10056static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10057 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10058}
10059static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10060 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10061}
84f85550
RD
10062static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10063 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
10064}
10065static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10067}
10068static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10070}
10071static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10073}
10074static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10076}
10077static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10079}
10080static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10082}
10083static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10085}
10086static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10088}
10089static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10091}
8ac8dba0
RD
10092static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10093 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10094}
44127b65
RD
10095static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10097}
10098static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10100}
10101static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10103}
10104static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10106}
10107static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10109}
10110static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 10111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
10112}
10113static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10115}
ae8162c8 10116static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 10117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 10118}
44127b65
RD
10119static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10121}
10122static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10124}
10125static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 10126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
10127}
10128static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10130}
10131static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10133}
10134static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10136}
10137static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10139}
10140static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10142}
10143static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10145}
10146static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10148}
c1cb24a4
RD
10149static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10151}
44127b65
RD
10152static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10154}
10155static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10157}
10158static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10159 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10160}
8ac8dba0
RD
10161static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10163}
44127b65
RD
10164static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10166}
10167static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10169}
10170static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10172}
10173static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10174 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10175}
10176static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10178}
44127b65
RD
10179static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10181}
10182static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10184}
10185static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10187}
10188static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10190}
10191static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10193}
10194static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10196}
10197static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10199}
10200static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
10202}
10203static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10205}
10206static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10208}
10209static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10211}
10212static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10213 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10214}
10215static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10217}
6260902d
RD
10218static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10220}
a2482628
RD
10221static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10223}
44127b65
RD
10224static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10225 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10226}
10227static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10229}
10230static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10232}
10233static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10234 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10235}
10236static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10237 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10238}
10239static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10240 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10241}
10242static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10243 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10244}
10245static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10246 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10247}
10248static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10250}
10251static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10252 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10253}
10254static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10255 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
10256}
10257static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10258 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10259}
10260static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10261 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10262}
10263static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10265}
10266static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10267 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10268}
10269static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10270 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10271}
10272static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10273 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10274}
10275static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10276 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10277}
c1cb24a4
RD
10278static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10280}
44127b65
RD
10281static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10283}
10284static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10286}
10287static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10289}
44127b65
RD
10290static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10291 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10292}
10293static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10294 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10295}
10296static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10298}
10299static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10300 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10301}
10302static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10303 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10304}
53aa7709
RD
10305static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10307}
44127b65
RD
10308static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10310}
10311static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10313}
10314static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10315 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10316}
10317static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10318 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10319}
10320static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10321 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10322}
10323static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10324 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10325}
10326static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10327 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10328}
10329static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10330 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10331}
44127b65
RD
10332static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10333 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10334}
10335static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10336 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10337}
10338static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10339 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10340}
10341static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10342 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10343}
10344static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10345 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10346}
10347static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 10348 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
10349}
10350static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 10351 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 10352}
ae8162c8 10353static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 10354 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 10355}
53aa7709
RD
10356static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10357 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10358}
44127b65
RD
10359static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10360 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10361}
10362static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10363 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10364}
10365static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10366 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10367}
8ac8dba0
RD
10368static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10369 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10370}
44127b65
RD
10371static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10372 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10373}
83448d71
RD
10374static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10375 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10376}
44127b65
RD
10377static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10378 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10379}
10380static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10381 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10382}
10383static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10384 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10385}
10386static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10387 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10388}
10389static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10390 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10391}
2f4c0a16 10392static 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 10393static 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}};
093d3ff1
RD
10394static 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}};
10395static 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 10396static 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 10397static 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}};
093d3ff1 10398static 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 10399static 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}};
093d3ff1
RD
10400static 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}};
10401static 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}};
10402static 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}};
10403static 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}};
10404static 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}};
10405static 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 10406static 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}};
093d3ff1
RD
10407static 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}};
10408static 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}};
10409static 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 10410static 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}};
093d3ff1
RD
10411static 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}};
10412static 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 10413static 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
10414static 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}};
10415static 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}};
093d3ff1
RD
10416static 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}};
10417static 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}};
10418static 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}};
10419static 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 10420static 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}};
093d3ff1
RD
10421static 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}};
10422static 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}};
10423static 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}};
10424static 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}};
10425static 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 10426static 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}};
093d3ff1
RD
10427static 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}};
10428static 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}};
10429static 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 10430static 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}};
093d3ff1 10431static 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 10432static 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 10433static 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}};
093d3ff1 10434static 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 10435static 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}};
093d3ff1 10436static 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
10437
10438static swig_type_info *swig_types_initial[] = {
44127b65 10439_swigt__p_wxColour,
44127b65 10440_swigt__p_wxTreeListColumnInfo,
093d3ff1
RD
10441_swigt__p_form_ops_t,
10442_swigt__p_wxDuplexMode,
44127b65 10443_swigt__p_wxValidator,
8edf1c75 10444_swigt__p_char,
093d3ff1 10445_swigt__p_wxPanel,
44127b65 10446_swigt__p_wxDynamicSashUnifyEvent,
093d3ff1
RD
10447_swigt__p_wxDynamicSashSplitEvent,
10448_swigt__p_wxLEDNumberCtrl,
10449_swigt__p_wxSplitterScrolledWindow,
10450_swigt__p_wxThinSplitterWindow,
10451_swigt__p_wxPyTreeCompanionWindow,
10452_swigt__p_wxDynamicSashWindow,
10453_swigt__p_wxWindow,
10454_swigt__p_wxSplitterWindow,
10455_swigt__p_wxScrolledWindow,
10456_swigt__p_wxFont,
44127b65 10457_swigt__p_wxControl,
093d3ff1
RD
10458_swigt__p_wxPyListCtrl,
10459_swigt__p_wxPyTreeListCtrl,
44127b65 10460_swigt__p_wxEvent,
093d3ff1 10461_swigt__p_wxObject,
6260902d 10462_swigt__p_wxBitmap,
093d3ff1
RD
10463_swigt__p_wxScrollBar,
10464_swigt__p_wxPaperSize,
10465_swigt__p_unsigned_int,
10466_swigt__unsigned_int,
10467_swigt__p_wxEvtHandler,
10468_swigt__p_wxRemotelyScrolledTreeCtrl,
10469_swigt__p_wxPyTreeCtrl,
10470_swigt__p_wxImageList,
10471_swigt__p_unsigned_char,
10472_swigt__p_wxEditableListBox,
6260902d 10473_swigt__p_wxIcon,
093d3ff1
RD
10474_swigt__ptrdiff_t,
10475_swigt__std__ptrdiff_t,
10476_swigt__p_wxArrayString,
10477_swigt__p_wxCommandEvent,
10478_swigt__p_wxTreeItemId,
6260902d 10479_swigt__p_float,
44127b65 10480_swigt__p_int,
093d3ff1 10481_swigt__p_unsigned_long,
6260902d 10482_swigt__p_wxStaticPicture,
093d3ff1 10483_swigt__p_wxPyTreeItemData,
44127b65
RD
104840
10485};
10486
10487
10488/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
10489
10490static swig_const_info swig_const_table[] = {
c32bde28 10491{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
10492
10493#ifdef __cplusplus
10494}
10495#endif
10496
093d3ff1
RD
10497
10498#ifdef __cplusplus
10499extern "C" {
10500#endif
10501
10502 /* Python-specific SWIG API */
10503#define SWIG_newvarlink() SWIG_Python_newvarlink()
10504#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
10505#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
10506
10507 /* -----------------------------------------------------------------------------
10508 * global variable support code.
10509 * ----------------------------------------------------------------------------- */
10510
10511 typedef struct swig_globalvar {
10512 char *name; /* Name of global variable */
10513 PyObject *(*get_attr)(); /* Return the current value */
10514 int (*set_attr)(PyObject *); /* Set the value */
10515 struct swig_globalvar *next;
10516 } swig_globalvar;
10517
10518 typedef struct swig_varlinkobject {
10519 PyObject_HEAD
10520 swig_globalvar *vars;
10521 } swig_varlinkobject;
10522
10523 static PyObject *
10524 swig_varlink_repr(swig_varlinkobject *v) {
10525 v = v;
10526 return PyString_FromString("<Swig global variables>");
10527 }
10528
10529 static int
10530 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int flags) {
10531 swig_globalvar *var;
10532 flags = flags;
10533 fprintf(fp,"Swig global variables { ");
10534 for (var = v->vars; var; var=var->next) {
10535 fprintf(fp,"%s", var->name);
10536 if (var->next) fprintf(fp,", ");
10537 }
10538 fprintf(fp," }\n");
10539 return 0;
10540 }
10541
10542 static PyObject *
10543 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
10544 swig_globalvar *var = v->vars;
10545 while (var) {
10546 if (strcmp(var->name,n) == 0) {
10547 return (*var->get_attr)();
10548 }
10549 var = var->next;
10550 }
10551 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
10552 return NULL;
10553 }
10554
10555 static int
10556 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
10557 swig_globalvar *var = v->vars;
10558 while (var) {
10559 if (strcmp(var->name,n) == 0) {
10560 return (*var->set_attr)(p);
10561 }
10562 var = var->next;
10563 }
10564 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
10565 return 1;
10566 }
10567
10568 static PyTypeObject varlinktype = {
10569 PyObject_HEAD_INIT(0)
10570 0, /* Number of items in variable part (ob_size) */
10571 (char *)"swigvarlink", /* Type name (tp_name) */
10572 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
10573 0, /* Itemsize (tp_itemsize) */
10574 0, /* Deallocator (tp_dealloc) */
10575 (printfunc) swig_varlink_print, /* Print (tp_print) */
10576 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
10577 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
10578 0, /* tp_compare */
10579 (reprfunc) swig_varlink_repr, /* tp_repr */
10580 0, /* tp_as_number */
10581 0, /* tp_as_sequence */
10582 0, /* tp_as_mapping */
10583 0, /* tp_hash */
10584 0, /* tp_call */
10585 0, /* tp_str */
10586 0, /* tp_getattro */
10587 0, /* tp_setattro */
10588 0, /* tp_as_buffer */
10589 0, /* tp_flags */
10590 0, /* tp_doc */
10591#if PY_VERSION_HEX >= 0x02000000
10592 0, /* tp_traverse */
10593 0, /* tp_clear */
10594#endif
10595#if PY_VERSION_HEX >= 0x02010000
10596 0, /* tp_richcompare */
10597 0, /* tp_weaklistoffset */
10598#endif
10599#if PY_VERSION_HEX >= 0x02020000
10600 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
10601#endif
10602#if PY_VERSION_HEX >= 0x02030000
10603 0, /* tp_del */
10604#endif
10605#ifdef COUNT_ALLOCS
10606 0,0,0,0 /* tp_alloc -> tp_next */
10607#endif
10608 };
10609
10610 /* Create a variable linking object for use later */
10611 static PyObject *
10612 SWIG_Python_newvarlink(void) {
10613 swig_varlinkobject *result = 0;
10614 result = PyMem_NEW(swig_varlinkobject,1);
10615 varlinktype.ob_type = &PyType_Type; /* Patch varlinktype into a PyType */
10616 result->ob_type = &varlinktype;
10617 result->vars = 0;
10618 result->ob_refcnt = 0;
10619 Py_XINCREF((PyObject *) result);
10620 return ((PyObject*) result);
10621 }
10622
10623 static void
10624 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
10625 swig_varlinkobject *v;
10626 swig_globalvar *gv;
10627 v= (swig_varlinkobject *) p;
10628 gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
10629 gv->name = (char *) malloc(strlen(name)+1);
10630 strcpy(gv->name,name);
10631 gv->get_attr = get_attr;
10632 gv->set_attr = set_attr;
10633 gv->next = v->vars;
10634 v->vars = gv;
10635 }
10636
10637 /* -----------------------------------------------------------------------------
10638 * constants/methods manipulation
10639 * ----------------------------------------------------------------------------- */
10640
10641 /* Install Constants */
10642 static void
10643 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
10644 PyObject *obj = 0;
10645 size_t i;
10646 for (i = 0; constants[i].type; i++) {
10647 switch(constants[i].type) {
10648 case SWIG_PY_INT:
10649 obj = PyInt_FromLong(constants[i].lvalue);
10650 break;
10651 case SWIG_PY_FLOAT:
10652 obj = PyFloat_FromDouble(constants[i].dvalue);
10653 break;
10654 case SWIG_PY_STRING:
10655 if (constants[i].pvalue) {
10656 obj = PyString_FromString((char *) constants[i].pvalue);
10657 } else {
10658 Py_INCREF(Py_None);
10659 obj = Py_None;
10660 }
10661 break;
10662 case SWIG_PY_POINTER:
10663 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
10664 break;
10665 case SWIG_PY_BINARY:
10666 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
10667 break;
10668 default:
10669 obj = 0;
10670 break;
10671 }
10672 if (obj) {
10673 PyDict_SetItemString(d,constants[i].name,obj);
10674 Py_DECREF(obj);
10675 }
10676 }
10677 }
10678
10679 /* -----------------------------------------------------------------------------*/
10680 /* Fix SwigMethods to carry the callback ptrs when needed */
10681 /* -----------------------------------------------------------------------------*/
10682
10683 static void
10684 SWIG_Python_FixMethods(PyMethodDef *methods,
10685 swig_const_info *const_table,
10686 swig_type_info **types,
10687 swig_type_info **types_initial) {
10688 size_t i;
10689 for (i = 0; methods[i].ml_name; ++i) {
10690 char *c = methods[i].ml_doc;
10691 if (c && (c = strstr(c, "swig_ptr: "))) {
10692 int j;
10693 swig_const_info *ci = 0;
10694 char *name = c + 10;
10695 for (j = 0; const_table[j].type; j++) {
10696 if (strncmp(const_table[j].name, name,
10697 strlen(const_table[j].name)) == 0) {
10698 ci = &(const_table[j]);
10699 break;
10700 }
10701 }
10702 if (ci) {
10703 size_t shift = (ci->ptype) - types;
10704 swig_type_info *ty = types_initial[shift];
10705 size_t ldoc = (c - methods[i].ml_doc);
10706 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
10707 char *ndoc = (char*)malloc(ldoc + lptr + 10);
10708 char *buff = ndoc;
10709 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue: (void *)(ci->lvalue);
10710 strncpy(buff, methods[i].ml_doc, ldoc);
10711 buff += ldoc;
10712 strncpy(buff, "swig_ptr: ", 10);
10713 buff += 10;
10714 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
10715 methods[i].ml_doc = ndoc;
10716 }
10717 }
10718 }
10719 }
10720
10721 /* -----------------------------------------------------------------------------*
10722 * Initialize type list
10723 * -----------------------------------------------------------------------------*/
10724
10725#if PY_MAJOR_VERSION < 2
10726 /* PyModule_AddObject function was introduced in Python 2.0. The following function
10727 is copied out of Python/modsupport.c in python version 2.3.4 */
10728 static int
10729 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
10730 {
10731 PyObject *dict;
10732 if (!PyModule_Check(m)) {
10733 PyErr_SetString(PyExc_TypeError,
10734 "PyModule_AddObject() needs module as first arg");
10735 return -1;
10736 }
10737 if (!o) {
10738 PyErr_SetString(PyExc_TypeError,
10739 "PyModule_AddObject() needs non-NULL value");
10740 return -1;
10741 }
10742
10743 dict = PyModule_GetDict(m);
10744 if (dict == NULL) {
10745 /* Internal error -- modules must have a dict! */
10746 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
10747 PyModule_GetName(m));
10748 return -1;
10749 }
10750 if (PyDict_SetItemString(dict, name, o))
10751 return -1;
10752 Py_DECREF(o);
10753 return 0;
10754 }
10755#endif
10756
10757 static swig_type_info **
10758 SWIG_Python_SetTypeListHandle(swig_type_info **type_list_handle) {
10759 static PyMethodDef swig_empty_runtime_method_table[] = {
10760 {
10761 NULL, NULL, 0, NULL
10762 }
10763 };/* Sentinel */
10764
10765 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
10766 swig_empty_runtime_method_table);
10767 PyObject *pointer = PyCObject_FromVoidPtr((void *) type_list_handle, NULL);
10768 if (pointer && module) {
10769 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
10770 }
10771 return type_list_handle;
10772 }
10773
10774 static swig_type_info **
10775 SWIG_Python_LookupTypePointer(swig_type_info **type_list_handle) {
10776 swig_type_info **type_pointer;
10777
10778 /* first check if module already created */
10779 type_pointer = SWIG_Python_GetTypeListHandle();
10780 if (type_pointer) {
10781 return type_pointer;
10782 } else {
10783 /* create a new module and variable */
10784 return SWIG_Python_SetTypeListHandle(type_list_handle);
10785 }
10786 }
10787
10788#ifdef __cplusplus
10789}
10790#endif
10791
10792/* -----------------------------------------------------------------------------*
10793 * Partial Init method
10794 * -----------------------------------------------------------------------------*/
10795
10796#ifdef SWIG_LINK_RUNTIME
10797#ifdef __cplusplus
10798extern "C"
10799#endif
10800SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
10801#endif
10802
44127b65
RD
10803#ifdef __cplusplus
10804extern "C"
10805#endif
10806SWIGEXPORT(void) SWIG_init(void) {
10807 static PyObject *SWIG_globals = 0;
10808 static int typeinit = 0;
10809 PyObject *m, *d;
10810 int i;
10811 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
093d3ff1
RD
10812
10813 /* Fix SwigMethods to carry the callback ptrs when needed */
10814 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_types_initial);
10815
44127b65
RD
10816 m = Py_InitModule((char *) SWIG_name, SwigMethods);
10817 d = PyModule_GetDict(m);
10818
10819 if (!typeinit) {
093d3ff1
RD
10820#ifdef SWIG_LINK_RUNTIME
10821 swig_type_list_handle = (swig_type_info **) SWIG_ReturnGlobalTypeList(swig_type_list_handle);
10822#else
10823# ifndef SWIG_STATIC_RUNTIME
10824 swig_type_list_handle = SWIG_Python_LookupTypePointer(swig_type_list_handle);
10825# endif
10826#endif
44127b65
RD
10827 for (i = 0; swig_types_initial[i]; i++) {
10828 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
10829 }
10830 typeinit = 1;
10831 }
10832 SWIG_InstallConstants(d,swig_const_table);
10833
d03fd34d
RD
10834 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
10835 SWIG_addvarlink(SWIG_globals,(char*)"DynamicSashNameStr",_wrap_DynamicSashNameStr_get, _wrap_DynamicSashNameStr_set);
10836 SWIG_addvarlink(SWIG_globals,(char*)"EditableListBoxNameStr",_wrap_EditableListBoxNameStr_get, _wrap_EditableListBoxNameStr_set);
10837 SWIG_addvarlink(SWIG_globals,(char*)"TreeListCtrlNameStr",_wrap_TreeListCtrlNameStr_get, _wrap_TreeListCtrlNameStr_set);
6260902d 10838 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
093d3ff1
RD
10839 {
10840 PyDict_SetItemString(d,"DS_MANAGE_SCROLLBARS", SWIG_From_int((int)(wxDS_MANAGE_SCROLLBARS)));
10841 }
10842 {
10843 PyDict_SetItemString(d,"DS_DRAG_CORNER", SWIG_From_int((int)(wxDS_DRAG_CORNER)));
10844 }
396fb509
RD
10845 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
10846 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
093d3ff1
RD
10847 {
10848 PyDict_SetItemString(d,"EL_ALLOW_NEW", SWIG_From_int((int)(wxEL_ALLOW_NEW)));
10849 }
10850 {
10851 PyDict_SetItemString(d,"EL_ALLOW_EDIT", SWIG_From_int((int)(wxEL_ALLOW_EDIT)));
10852 }
10853 {
10854 PyDict_SetItemString(d,"EL_ALLOW_DELETE", SWIG_From_int((int)(wxEL_ALLOW_DELETE)));
10855 }
10856 {
10857 PyDict_SetItemString(d,"LED_ALIGN_LEFT", SWIG_From_int((int)(wxLED_ALIGN_LEFT)));
10858 }
10859 {
10860 PyDict_SetItemString(d,"LED_ALIGN_RIGHT", SWIG_From_int((int)(wxLED_ALIGN_RIGHT)));
10861 }
10862 {
10863 PyDict_SetItemString(d,"LED_ALIGN_CENTER", SWIG_From_int((int)(wxLED_ALIGN_CENTER)));
10864 }
10865 {
10866 PyDict_SetItemString(d,"LED_ALIGN_MASK", SWIG_From_int((int)(wxLED_ALIGN_MASK)));
10867 }
10868 {
10869 PyDict_SetItemString(d,"LED_DRAW_FADED", SWIG_From_int((int)(wxLED_DRAW_FADED)));
10870 }
10871 {
10872 PyDict_SetItemString(d,"TL_ALIGN_LEFT", SWIG_From_int((int)(wxTL_ALIGN_LEFT)));
10873 }
10874 {
10875 PyDict_SetItemString(d,"TL_ALIGN_RIGHT", SWIG_From_int((int)(wxTL_ALIGN_RIGHT)));
10876 }
10877 {
10878 PyDict_SetItemString(d,"TL_ALIGN_CENTER", SWIG_From_int((int)(wxTL_ALIGN_CENTER)));
10879 }
10880 {
10881 PyDict_SetItemString(d,"TREE_HITTEST_ONITEMCOLUMN", SWIG_From_int((int)(wxTREE_HITTEST_ONITEMCOLUMN)));
10882 }
10883 {
10884 PyDict_SetItemString(d,"TL_SEARCH_VISIBLE", SWIG_From_int((int)(wxTL_SEARCH_VISIBLE)));
10885 }
10886 {
10887 PyDict_SetItemString(d,"TL_SEARCH_LEVEL", SWIG_From_int((int)(wxTL_SEARCH_LEVEL)));
10888 }
10889 {
10890 PyDict_SetItemString(d,"TL_SEARCH_FULL", SWIG_From_int((int)(wxTL_SEARCH_FULL)));
10891 }
10892 {
10893 PyDict_SetItemString(d,"TL_SEARCH_PARTIAL", SWIG_From_int((int)(wxTL_SEARCH_PARTIAL)));
10894 }
10895 {
10896 PyDict_SetItemString(d,"TL_SEARCH_NOCASE", SWIG_From_int((int)(wxTL_SEARCH_NOCASE)));
10897 }
10898 {
10899 PyDict_SetItemString(d,"TR_DONT_ADJUST_MAC", SWIG_From_int((int)(wxTR_DONT_ADJUST_MAC)));
10900 }
6260902d
RD
10901 {
10902 PyDict_SetItemString(d,"SCALE_HORIZONTAL", SWIG_From_int((int)(wxSCALE_HORIZONTAL)));
10903 }
10904 {
10905 PyDict_SetItemString(d,"SCALE_VERTICAL", SWIG_From_int((int)(wxSCALE_VERTICAL)));
10906 }
10907 {
10908 PyDict_SetItemString(d,"SCALE_UNIFORM", SWIG_From_int((int)(wxSCALE_UNIFORM)));
10909 }
10910 {
10911 PyDict_SetItemString(d,"SCALE_CUSTOM", SWIG_From_int((int)(wxSCALE_CUSTOM)));
10912 }
44127b65
RD
10913
10914
10915 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
10916 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
10917
10918}
10919