]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
committed aupdated patch that adds support for
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.24
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12
13 #ifdef __cplusplus
14 template<class T> class SwigValueWrapper {
15 T *tt;
16 public:
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; }
24 private:
25 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
26 };
27 #endif
28
29
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
37
38
39 #include <Python.h>
40
41 /***********************************************************************
42 * swigrun.swg
43 *
44 * This file contains generic CAPI SWIG runtime support for pointer
45 * type checking.
46 *
47 ************************************************************************/
48
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"
52
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)
58 #else
59 #define SWIG_TYPE_TABLE_NAME
60 #endif
61
62 #include <string.h>
63
64 #ifndef SWIGINLINE
65 #if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
66 # define SWIGINLINE inline
67 #else
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
85 #endif
86
87 #ifdef __cplusplus
88 extern "C" {
89 #endif
90
91 typedef void *(*swig_converter_func)(void *);
92 typedef struct swig_type_info *(*swig_dycast_func)(void **);
93
94 typedef struct swig_type_info {
95 const char *name;
96 swig_converter_func converter;
97 const char *str;
98 void *clientdata;
99 swig_dycast_func dcast;
100 struct swig_type_info *next;
101 struct swig_type_info *prev;
102 } swig_type_info;
103
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 */
111 SWIGRUNTIME int
112 SWIG_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 */
125 SWIGRUNTIME int
126 SWIG_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 */
143 SWIGRUNTIME swig_type_info *
144 SWIG_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 */
194 SWIGRUNTIME swig_type_info *
195 SWIG_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 }
218
219 /*
220 Cast a pointer up an inheritance hierarchy
221 */
222 SWIGRUNTIMEINLINE void *
223 SWIG_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 */
230 SWIGRUNTIME swig_type_info *
231 SWIG_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 */
244 SWIGRUNTIMEINLINE const char *
245 SWIG_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 */
253 SWIGRUNTIME const char *
254 SWIG_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 */
273 SWIGRUNTIME swig_type_info *
274 SWIG_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 }
283
284 /*
285 Set the clientdata field for a type
286 */
287 SWIGRUNTIME void
288 SWIG_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 */
310 SWIGRUNTIME char *
311 SWIG_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 */
327 SWIGRUNTIME const char *
328 SWIG_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 */
358 SWIGRUNTIME void
359 SWIG_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 */
379 SWIGRUNTIME char *
380 SWIG_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
390 SWIGRUNTIME const char *
391 SWIG_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
403 SWIGRUNTIME char *
404 SWIG_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
418 SWIGRUNTIME const char *
419 SWIG_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 }
430
431 #ifdef __cplusplus
432 }
433 #endif
434
435 /***********************************************************************
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.
441 *
442 * Author : David Beazley (beazley@cs.uchicago.edu)
443 *
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.
448 ************************************************************************/
449
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
461 #ifdef __cplusplus
462 extern "C" {
463 #endif
464
465
466 /*************************************************************************/
467
468
469 /* The static type info list */
470
471 static swig_type_info *swig_type_list = 0;
472 static swig_type_info **swig_type_list_handle = &swig_type_list;
473
474
475 /* Register a type mapping with the type-checking */
476 static swig_type_info *
477 SWIG_TypeRegister(swig_type_info *ti) {
478 return SWIG_TypeRegisterTL(swig_type_list_handle, ti);
479 }
480
481 /* Search for a swig_type_info structure */
482 static swig_type_info *
483 SWIG_TypeQuery(const char *name) {
484 return SWIG_TypeQueryTL(*swig_type_list_handle, name);
485 }
486
487 /* Set the clientdata field for a type */
488 static void
489 SWIG_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 */
498 static void
499 SWIG_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
512 extern "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 */
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
559 /* Constant information structure */
560 typedef 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
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
592 /* Common SWIG API */
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)
596
597
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)
601
602
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
614
615 /* Flags for pointer conversion */
616 #define SWIG_POINTER_EXCEPTION 0x1
617 #define SWIG_POINTER_DISOWN 0x2
618
619
620 #ifdef __cplusplus
621 extern "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
638 typedef struct {
639 PyObject_HEAD
640 void *ptr;
641 const char *desc;
642 } PySwigObject;
643
644 /* Declarations for objects of type PySwigObject */
645
646 SWIGRUNTIME int
647 PySwigObject_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
658 SWIGRUNTIME PyObject *
659 PySwigObject_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
666 SWIGRUNTIME PyObject *
667 PySwigObject_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
674 SWIGRUNTIME PyObject *
675 PySwigObject_long(PySwigObject *v)
676 {
677 return PyLong_FromUnsignedLong((unsigned long) v->ptr);
678 }
679
680 SWIGRUNTIME PyObject *
681 PySwigObject_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
692 SWIGRUNTIME PyObject *
693 PySwigObject_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
700 SWIGRUNTIME int
701 PySwigObject_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
713 SWIGRUNTIME void
714 PySwigObject_dealloc(PySwigObject *self)
715 {
716 PyObject_DEL(self);
717 }
718
719 SWIGRUNTIME PyTypeObject*
720 PySwigObject_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 */
795 #endif
796 };
797
798 PySwigObject_Type = tmp;
799 type_init = 1;
800 }
801
802 return &PySwigObject_Type;
803 }
804
805 SWIGRUNTIME PyObject *
806 PySwigObject_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 }
814
815 SWIGRUNTIMEINLINE void *
816 PySwigObject_AsVoidPtr(PyObject *self)
817 {
818 return ((PySwigObject *)self)->ptr;
819 }
820
821 SWIGRUNTIMEINLINE const char *
822 PySwigObject_GetDesc(PyObject *self)
823 {
824 return ((PySwigObject *)self)->desc;
825 }
826
827 SWIGRUNTIMEINLINE int
828 PySwigObject_Check(PyObject *op) {
829 return ((op)->ob_type == PySwigObject_GetType())
830 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
831 }
832
833 /* -----------------------------------------------------------------------------
834 * Implements a simple Swig Packed type, and use it instead of string
835 * ----------------------------------------------------------------------------- */
836
837 typedef struct {
838 PyObject_HEAD
839 void *pack;
840 const char *desc;
841 size_t size;
842 } PySwigPacked;
843
844 SWIGRUNTIME int
845 PySwigPacked_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
858 SWIGRUNTIME PyObject *
859 PySwigPacked_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 }
868
869 SWIGRUNTIME PyObject *
870 PySwigPacked_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
880 SWIGRUNTIME int
881 PySwigPacked_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
894 SWIGRUNTIME void
895 PySwigPacked_dealloc(PySwigPacked *self)
896 {
897 free(self->pack);
898 PyObject_DEL(self);
899 }
900
901 SWIGRUNTIME PyTypeObject*
902 PySwigPacked_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
959 SWIGRUNTIME PyObject *
960 PySwigPacked_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
975 SWIGRUNTIMEINLINE const char *
976 PySwigPacked_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
984 SWIGRUNTIMEINLINE const char *
985 PySwigPacked_GetDesc(PyObject *self)
986 {
987 return ((PySwigPacked *)self)->desc;
988 }
989
990 SWIGRUNTIMEINLINE int
991 PySwigPacked_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
1014 SWIGRUNTIME void
1015 SWIG_Python_TypeError(const char *type, PyObject *obj)
1016 {
1017 if (type) {
1018 #if defined(SWIG_COBJECT_TYPES)
1019 if (PySwigObject_Check(obj)) {
1020 const char *otype = (const char *) PySwigObject_GetDesc(obj);
1021 if (otype) {
1022 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
1023 type, otype);
1024 return;
1025 }
1026 } else
1027 #endif
1028 {
1029 const char *otype = (obj ? obj->ob_type->tp_name : 0);
1030 if (otype) {
1031 PyObject *str = PyObject_Str(obj);
1032 const char *cstr = str ? PyString_AsString(str) : 0;
1033 if (cstr) {
1034 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
1035 type, otype, cstr);
1036 } else {
1037 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
1038 type, otype);
1039 }
1040 if (str)
1041 Py_DECREF(str);
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
1051 SWIGRUNTIMEINLINE void
1052 SWIG_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
1061 SWIGRUNTIME int
1062 SWIG_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
1086 SWIGRUNTIME int
1087 SWIG_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 */
1105 SWIGRUNTIME int
1106 SWIG_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
1157 type_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
1172 type_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 */
1198 SWIGRUNTIME void *
1199 SWIG_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 */
1212 SWIGRUNTIME int
1213 SWIG_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
1232 type_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 */
1245 SWIGRUNTIME PyObject *
1246 SWIG_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
1278 SWIGRUNTIME PyObject *
1279 SWIG_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
1302 void *SWIG_ReturnGlobalTypeList(void *);
1303 #endif
1304
1305 SWIGRUNTIME swig_type_info **
1306 SWIG_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 */
1327 SWIGRUNTIMEINLINE swig_type_info *
1328 SWIG_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
1334
1335 #ifdef __cplusplus
1336 }
1337 #endif
1338
1339
1340 /* -------- TYPES TABLE (BEGIN) -------- */
1341
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]
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]
1387 static swig_type_info *swig_types[46];
1388
1389 /* -------- TYPES TABLE (END) -------- */
1390
1391
1392 /*-----------------------------------------------
1393 @(target):= _gizmos.so
1394 ------------------------------------------------*/
1395 #define SWIG_init init_gizmos
1396
1397 #define SWIG_name "_gizmos"
1398
1399 #include "wx/wxPython/wxPython.h"
1400 #include "wx/wxPython/pyclasses.h"
1401
1402 #include <wx/gizmos/dynamicsash.h>
1403 #include <wx/gizmos/editlbox.h>
1404 #include <wx/gizmos/splittree.h>
1405 #include <wx/gizmos/ledctrl.h>
1406 #include <wx/gizmos/statpict.h>
1407
1408 #include <wx/listctrl.h>
1409 #include <wx/treectrl.h>
1410 #include <wx/imaglist.h>
1411
1412 #include "wx/treelistctrl.h"
1413 #include "wx/wxPython/pytree.h"
1414
1415
1416 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
1417 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
1418 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
1419 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
1420 static const wxString wxPyEmptyString(wxEmptyString);
1421
1422 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1423 #define SWIG_From_int PyInt_FromLong
1424 /*@@*/
1425
1426
1427 #include <limits.h>
1428
1429
1430 SWIGINTERN int
1431 SWIG_CheckLongInRange(long value, long min_value, long max_value,
1432 const char *errmsg)
1433 {
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);
1446 }
1447 return 0;
1448 }
1449 return 1;
1450 }
1451
1452
1453 SWIGINTERN int
1454 SWIG_AsVal_long(PyObject* obj, long* val)
1455 {
1456 if (PyNumber_Check(obj)) {
1457 if (val) *val = PyInt_AsLong(obj);
1458 return 1;
1459 }
1460 else {
1461 SWIG_type_error("number", obj);
1462 }
1463 return 0;
1464 }
1465
1466
1467 #if INT_MAX != LONG_MAX
1468 SWIGINTERN int
1469 SWIG_AsVal_int(PyObject *obj, int *val)
1470 {
1471 const char* errmsg = val ? "int" : (char*)0;
1472 long v;
1473 if (SWIG_AsVal_long(obj, &v)) {
1474 if (SWIG_CheckLongInRange(v, INT_MIN,INT_MAX, errmsg)) {
1475 if (val) *val = (int)(v);
1476 return 1;
1477 } else {
1478 return 0;
1479 }
1480 } else {
1481 PyErr_Clear();
1482 }
1483 if (val) {
1484 SWIG_type_error(errmsg, obj);
1485 }
1486 return 0;
1487 }
1488 #else
1489 SWIGINTERNSHORT int
1490 SWIG_AsVal_int(PyObject *obj, int *val)
1491 {
1492 return SWIG_AsVal_long(obj,(long*)val);
1493 }
1494 #endif
1495
1496
1497 SWIGINTERNSHORT int
1498 SWIG_As_int(PyObject* obj)
1499 {
1500 int v;
1501 if (!SWIG_AsVal_int(obj, &v)) {
1502 /*
1503 this is needed to make valgrind/purify happier.
1504 */
1505 memset((void*)&v, 0, sizeof(int));
1506 }
1507 return v;
1508 }
1509
1510
1511 SWIGINTERNSHORT long
1512 SWIG_As_long(PyObject* obj)
1513 {
1514 long v;
1515 if (!SWIG_AsVal_long(obj, &v)) {
1516 /*
1517 this is needed to make valgrind/purify happier.
1518 */
1519 memset((void*)&v, 0, sizeof(long));
1520 }
1521 return v;
1522 }
1523
1524
1525 SWIGINTERNSHORT int
1526 SWIG_Check_int(PyObject* obj)
1527 {
1528 return SWIG_AsVal_int(obj, (int*)0);
1529 }
1530
1531
1532 SWIGINTERNSHORT int
1533 SWIG_Check_long(PyObject* obj)
1534 {
1535 return SWIG_AsVal_long(obj, (long*)0);
1536 }
1537
1538 static PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
1539 wxArrayString strings;
1540 self->GetStrings(strings);
1541 return wxArrayString2PyList_helper(strings);
1542 }
1543
1544 typedef wxTreeCtrl wxPyTreeCtrl;
1545
1546
1547 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
1548 {
1549 public:
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;
1559 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1560 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
1561 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
1562 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
1563 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
1564 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
1565 Py_DECREF(dcobj);
1566 Py_DECREF(idobj);
1567 Py_DECREF(recobj);
1568 }
1569 wxPyEndBlockThreads(blocked);
1570 if (! found)
1571 wxTreeCompanionWindow::DrawItem(dc, id, rect);
1572 }
1573
1574 PYPRIVATE;
1575 };
1576
1577
1578 SWIGINTERN int
1579 SWIG_AsVal_bool(PyObject *obj, bool *val)
1580 {
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)) {
1591 if (val) *val = res ? true : false;
1592 return 1;
1593 } else {
1594 PyErr_Clear();
1595 }
1596 if (val) {
1597 SWIG_type_error("bool", obj);
1598 }
1599 return 0;
1600 }
1601
1602
1603 SWIGINTERNSHORT bool
1604 SWIG_As_bool(PyObject* obj)
1605 {
1606 bool v;
1607 if (!SWIG_AsVal_bool(obj, &v)) {
1608 /*
1609 this is needed to make valgrind/purify happier.
1610 */
1611 memset((void*)&v, 0, sizeof(bool));
1612 }
1613 return v;
1614 }
1615
1616
1617 SWIGINTERNSHORT int
1618 SWIG_Check_bool(PyObject* obj)
1619 {
1620 return SWIG_AsVal_bool(obj, (bool*)0);
1621 }
1622
1623
1624 SWIGINTERN int
1625 SWIG_AsVal_unsigned_SS_long(PyObject* obj, unsigned long* val)
1626 {
1627 long v = 0;
1628 if (SWIG_AsVal_long(obj, &v) && v < 0) {
1629 SWIG_type_error("unsigned number", obj);
1630 }
1631 else if (val)
1632 *val = (unsigned long)v;
1633 return 1;
1634 }
1635
1636
1637 SWIGINTERNSHORT unsigned long
1638 SWIG_As_unsigned_SS_long(PyObject* obj)
1639 {
1640 unsigned long v;
1641 if (!SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1642 /*
1643 this is needed to make valgrind/purify happier.
1644 */
1645 memset((void*)&v, 0, sizeof(unsigned long));
1646 }
1647 return v;
1648 }
1649
1650
1651 SWIGINTERNSHORT int
1652 SWIG_Check_unsigned_SS_long(PyObject* obj)
1653 {
1654 return SWIG_AsVal_unsigned_SS_long(obj, (unsigned long*)0);
1655 }
1656
1657
1658 SWIGINTERNSHORT PyObject*
1659 SWIG_From_unsigned_SS_long(unsigned long value)
1660 {
1661 return (value > LONG_MAX) ?
1662 PyLong_FromUnsignedLong(value)
1663 : PyInt_FromLong((long)(value));
1664 }
1665
1666 // C++ version of Python aware control
1667 class wxPyTreeListCtrl : public wxTreeListCtrl {
1668 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
1669 public:
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;
1683 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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 }
1691 wxPyEndBlockThreads(blocked);
1692 if (! found)
1693 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
1694 return rval;
1695 }
1696 PYPRIVATE;
1697 };
1698
1699 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
1700
1701
1702
1703 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1704 #define SWIG_From_long PyInt_FromLong
1705 /*@@*/
1706
1707
1708 #if UINT_MAX < LONG_MAX
1709 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1710 #define SWIG_From_unsigned_SS_int SWIG_From_long
1711 /*@@*/
1712 #else
1713 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1714 #define SWIG_From_unsigned_SS_int SWIG_From_unsigned_SS_long
1715 /*@@*/
1716 #endif
1717
1718
1719 SWIGINTERNSHORT int
1720 SWIG_CheckUnsignedLongInRange(unsigned long value,
1721 unsigned long max_value,
1722 const char *errmsg)
1723 {
1724 if (value > max_value) {
1725 if (errmsg) {
1726 PyErr_Format(PyExc_OverflowError,
1727 "value %lu is greater than '%s' minimum %lu",
1728 value, errmsg, max_value);
1729 }
1730 return 0;
1731 }
1732 return 1;
1733 }
1734
1735
1736 #if UINT_MAX != ULONG_MAX
1737 SWIGINTERN int
1738 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1739 {
1740 const char* errmsg = val ? "unsigned int" : (char*)0;
1741 unsigned long v;
1742 if (SWIG_AsVal_unsigned_SS_long(obj, &v)) {
1743 if (SWIG_CheckUnsignedLongInRange(v, INT_MAX, errmsg)) {
1744 if (val) *val = (unsigned int)(v);
1745 return 1;
1746 }
1747 } else {
1748 PyErr_Clear();
1749 }
1750 if (val) {
1751 SWIG_type_error(errmsg, obj);
1752 }
1753 return 0;
1754 }
1755 #else
1756 SWIGINTERNSHORT unsigned int
1757 SWIG_AsVal_unsigned_SS_int(PyObject *obj, unsigned int *val)
1758 {
1759 return SWIG_AsVal_unsigned_SS_long(obj,(unsigned long *)val);
1760 }
1761 #endif
1762
1763
1764 SWIGINTERNSHORT unsigned int
1765 SWIG_As_unsigned_SS_int(PyObject* obj)
1766 {
1767 unsigned int v;
1768 if (!SWIG_AsVal_unsigned_SS_int(obj, &v)) {
1769 /*
1770 this is needed to make valgrind/purify happier.
1771 */
1772 memset((void*)&v, 0, sizeof(unsigned int));
1773 }
1774 return v;
1775 }
1776
1777
1778 SWIGINTERNSHORT int
1779 SWIG_Check_unsigned_SS_int(PyObject* obj)
1780 {
1781 return SWIG_AsVal_unsigned_SS_int(obj, (unsigned int*)0);
1782 }
1783
1784 static wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
1785 if (column < 0) column = self->GetMainColumn();
1786 return self->GetItemText(item, column);
1787 }
1788 static int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
1789 if (column < 0) column = self->GetMainColumn();
1790 return self->GetItemImage(item, column, which);
1791 }
1792 static void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
1793 if (column < 0) column = self->GetMainColumn();
1794 self->SetItemText(item, column, text);
1795 }
1796 static void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
1797 if (column < 0) column = self->GetMainColumn();
1798 self->SetItemImage(item, column, image, which);
1799 }
1800 static wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
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 }
1809 static void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
1810 data->SetId(item); // set the id
1811 self->SetItemData(item, data);
1812 }
1813 static PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
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 }
1822 static void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
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 }
1831 static PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
1832 wxPyBlock_t blocked = wxPyBeginBlockThreads();
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));
1839 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
1840 PyList_Append(rval, item);
1841 }
1842 wxPyEndBlockThreads(blocked);
1843 return rval;
1844 }
1845 static PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
1846 void* cookie = 0;
1847 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
1848 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1849 PyObject* tup = PyTuple_New(2);
1850 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1851 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1852 wxPyEndBlockThreads(blocked);
1853 return tup;
1854 }
1855 static PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
1856 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
1857 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1858 PyObject* tup = PyTuple_New(2);
1859 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
1860 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
1861 wxPyEndBlockThreads(blocked);
1862 return tup;
1863 }
1864
1865 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
1866 PyObject* o2;
1867 PyObject* o3;
1868
1869 if (!target) {
1870 target = o;
1871 } else if (target == Py_None) {
1872 Py_DECREF(Py_None);
1873 target = o;
1874 } else {
1875 if (!PyTuple_Check(target)) {
1876 o2 = target;
1877 target = PyTuple_New(1);
1878 PyTuple_SetItem(target, 0, o2);
1879 }
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;
1889 }
1890
1891
1892 static PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
1893 wxRect rect;
1894 if (self->GetBoundingRect(item, rect, textOnly)) {
1895 wxPyBlock_t blocked = wxPyBeginBlockThreads();
1896 wxRect* r = new wxRect(rect);
1897 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
1898 wxPyEndBlockThreads(blocked);
1899 return val;
1900 }
1901 else {
1902 RETURN_NONE();
1903 }
1904 }
1905
1906 #include <float.h>
1907 SWIGINTERN 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
1930 SWIGINTERN int
1931 SWIG_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
1944 SWIGINTERN 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
1966 SWIGINTERNSHORT float
1967 SWIG_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
1980 SWIGINTERNSHORT int
1981 SWIG_Check_float(PyObject* obj)
1982 {
1983 return SWIG_AsVal_float(obj, (float*)0);
1984 }
1985
1986
1987 /*@/opt/swig/share/swig/1.3.24/python/pymacros.swg,66,SWIG_define@*/
1988 #define SWIG_From_float PyFloat_FromDouble
1989 /*@@*/
1990
1991
1992 #ifdef __cplusplus
1993 extern "C" {
1994 #endif
1995 static int _wrap_DynamicSashNameStr_set(PyObject *) {
1996 PyErr_SetString(PyExc_TypeError,"Variable DynamicSashNameStr is read-only.");
1997 return 1;
1998 }
1999
2000
2001 static PyObject *_wrap_DynamicSashNameStr_get(void) {
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
2015 static int _wrap_EditableListBoxNameStr_set(PyObject *) {
2016 PyErr_SetString(PyExc_TypeError,"Variable EditableListBoxNameStr is read-only.");
2017 return 1;
2018 }
2019
2020
2021 static PyObject *_wrap_EditableListBoxNameStr_get(void) {
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
2035 static int _wrap_TreeListCtrlNameStr_set(PyObject *) {
2036 PyErr_SetString(PyExc_TypeError,"Variable TreeListCtrlNameStr is read-only.");
2037 return 1;
2038 }
2039
2040
2041 static PyObject *_wrap_TreeListCtrlNameStr_get(void) {
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
2055 static int _wrap_StaticPictureNameStr_set(PyObject *) {
2056 PyErr_SetString(PyExc_TypeError,"Variable StaticPictureNameStr is read-only.");
2057 return 1;
2058 }
2059
2060
2061 static 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
2075 static PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2085 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2086 if (SWIG_arg_fail(1)) SWIG_fail;
2087 {
2088 PyThreadState* __tstate = wxPyBeginAllowThreads();
2089 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
2090
2091 wxPyEndAllowThreads(__tstate);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashSplitEvent, 1);
2095 return resultobj;
2096 fail:
2097 return NULL;
2098 }
2099
2100
2101 static PyObject * DynamicSashSplitEvent_swigregister(PyObject *, PyObject *args) {
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 }
2108 static PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2118 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxObject, SWIG_POINTER_EXCEPTION | 0);
2119 if (SWIG_arg_fail(1)) SWIG_fail;
2120 {
2121 PyThreadState* __tstate = wxPyBeginAllowThreads();
2122 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
2123
2124 wxPyEndAllowThreads(__tstate);
2125 if (PyErr_Occurred()) SWIG_fail;
2126 }
2127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, 1);
2128 return resultobj;
2129 fail:
2130 return NULL;
2131 }
2132
2133
2134 static PyObject * DynamicSashUnifyEvent_swigregister(PyObject *, PyObject *args) {
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 }
2141 static PyObject *_wrap_new_DynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxWindow *arg1 = (wxWindow *) 0 ;
2144 int arg2 = (int) -1 ;
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 ;
2155 bool temp6 = false ;
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158 PyObject * obj2 = 0 ;
2159 PyObject * obj3 = 0 ;
2160 PyObject * obj4 = 0 ;
2161 PyObject * obj5 = 0 ;
2162 char *kwnames[] = {
2163 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2164 };
2165
2166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2167 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2168 if (SWIG_arg_fail(1)) SWIG_fail;
2169 if (obj1) {
2170 {
2171 arg2 = (int)(SWIG_As_int(obj1));
2172 if (SWIG_arg_fail(2)) SWIG_fail;
2173 }
2174 }
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 }
2187 if (obj4) {
2188 {
2189 arg5 = (long)(SWIG_As_long(obj4));
2190 if (SWIG_arg_fail(5)) SWIG_fail;
2191 }
2192 }
2193 if (obj5) {
2194 {
2195 arg6 = wxString_in_helper(obj5);
2196 if (arg6 == NULL) SWIG_fail;
2197 temp6 = true;
2198 }
2199 }
2200 {
2201 if (!wxPyCheckForApp()) SWIG_fail;
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);
2206 if (PyErr_Occurred()) SWIG_fail;
2207 }
2208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
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
2223 static PyObject *_wrap_new_PreDynamicSashWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
2232 if (!wxPyCheckForApp()) SWIG_fail;
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDynamicSashWindow, 1);
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_DynamicSashWindow_Create(PyObject *, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
2249 wxWindow *arg2 = (wxWindow *) 0 ;
2250 int arg3 = (int) -1 ;
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 ;
2261 bool temp7 = false ;
2262 PyObject * obj0 = 0 ;
2263 PyObject * obj1 = 0 ;
2264 PyObject * obj2 = 0 ;
2265 PyObject * obj3 = 0 ;
2266 PyObject * obj4 = 0 ;
2267 PyObject * obj5 = 0 ;
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
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
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;
2278 if (obj2) {
2279 {
2280 arg3 = (int)(SWIG_As_int(obj2));
2281 if (SWIG_arg_fail(3)) SWIG_fail;
2282 }
2283 }
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 }
2296 if (obj5) {
2297 {
2298 arg6 = (long)(SWIG_As_long(obj5));
2299 if (SWIG_arg_fail(6)) SWIG_fail;
2300 }
2301 }
2302 if (obj6) {
2303 {
2304 arg7 = wxString_in_helper(obj6);
2305 if (arg7 == NULL) SWIG_fail;
2306 temp7 = true;
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 }
2316 {
2317 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2318 }
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
2333 static PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
2356 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2357 return resultobj;
2358 fail:
2359 return NULL;
2360 }
2361
2362
2363 static PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
2386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollBar, 0);
2387 return resultobj;
2388 fail:
2389 return NULL;
2390 }
2391
2392
2393 static PyObject * DynamicSashWindow_swigregister(PyObject *, PyObject *args) {
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 }
2400 static PyObject *_wrap_new_EditableListBox(PyObject *, PyObject *args, PyObject *kwargs) {
2401 PyObject *resultobj;
2402 wxWindow *arg1 = (wxWindow *) 0 ;
2403 int arg2 = (int) -1 ;
2404 wxString const &arg3_defvalue = wxPyEmptyString ;
2405 wxString *arg3 = (wxString *) &arg3_defvalue ;
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;
2414 bool temp3 = false ;
2415 wxPoint temp4 ;
2416 wxSize temp5 ;
2417 bool temp7 = false ;
2418 PyObject * obj0 = 0 ;
2419 PyObject * obj1 = 0 ;
2420 PyObject * obj2 = 0 ;
2421 PyObject * obj3 = 0 ;
2422 PyObject * obj4 = 0 ;
2423 PyObject * obj5 = 0 ;
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
2429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2430 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
2431 if (SWIG_arg_fail(1)) SWIG_fail;
2432 if (obj1) {
2433 {
2434 arg2 = (int)(SWIG_As_int(obj1));
2435 if (SWIG_arg_fail(2)) SWIG_fail;
2436 }
2437 }
2438 if (obj2) {
2439 {
2440 arg3 = wxString_in_helper(obj2);
2441 if (arg3 == NULL) SWIG_fail;
2442 temp3 = true;
2443 }
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 }
2457 if (obj5) {
2458 {
2459 arg6 = (long)(SWIG_As_long(obj5));
2460 if (SWIG_arg_fail(6)) SWIG_fail;
2461 }
2462 }
2463 if (obj6) {
2464 {
2465 arg7 = wxString_in_helper(obj6);
2466 if (arg7 == NULL) SWIG_fail;
2467 temp7 = true;
2468 }
2469 }
2470 {
2471 if (!wxPyCheckForApp()) SWIG_fail;
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);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEditableListBox, 1);
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
2501 static PyObject *_wrap_EditableListBox_SetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
2502 PyObject *resultobj;
2503 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2504 wxArrayString *arg2 = 0 ;
2505 bool temp2 = false ;
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;
2513 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2514 if (SWIG_arg_fail(1)) SWIG_fail;
2515 {
2516 if (! PySequence_Check(obj1)) {
2517 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
2518 SWIG_fail;
2519 }
2520 arg2 = new wxArrayString;
2521 temp2 = true;
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
2530 if (PyErr_Occurred()) SWIG_fail;
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 {
2545 if (temp2) delete arg2;
2546 }
2547 return resultobj;
2548 fail:
2549 {
2550 if (temp2) delete arg2;
2551 }
2552 return NULL;
2553 }
2554
2555
2556 static PyObject *_wrap_EditableListBox_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2566 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2567 if (SWIG_arg_fail(1)) SWIG_fail;
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
2582 static PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
2585 wxPyListCtrl *result;
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;
2592 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2593 if (SWIG_arg_fail(1)) SWIG_fail;
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyListCtrl, 0);
2602 return resultobj;
2603 fail:
2604 return NULL;
2605 }
2606
2607
2608 static PyObject *_wrap_EditableListBox_GetDelButton(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2618 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2619 if (SWIG_arg_fail(1)) SWIG_fail;
2620 {
2621 PyThreadState* __tstate = wxPyBeginAllowThreads();
2622 result = (wxBitmapButton *)(arg1)->GetDelButton();
2623
2624 wxPyEndAllowThreads(__tstate);
2625 if (PyErr_Occurred()) SWIG_fail;
2626 }
2627 {
2628 resultobj = wxPyMake_wxObject(result, 0);
2629 }
2630 return resultobj;
2631 fail:
2632 return NULL;
2633 }
2634
2635
2636 static PyObject *_wrap_EditableListBox_GetNewButton(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2646 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2647 if (SWIG_arg_fail(1)) SWIG_fail;
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = (wxBitmapButton *)(arg1)->GetNewButton();
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 {
2656 resultobj = wxPyMake_wxObject(result, 0);
2657 }
2658 return resultobj;
2659 fail:
2660 return NULL;
2661 }
2662
2663
2664 static PyObject *_wrap_EditableListBox_GetUpButton(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2674 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2675 if (SWIG_arg_fail(1)) SWIG_fail;
2676 {
2677 PyThreadState* __tstate = wxPyBeginAllowThreads();
2678 result = (wxBitmapButton *)(arg1)->GetUpButton();
2679
2680 wxPyEndAllowThreads(__tstate);
2681 if (PyErr_Occurred()) SWIG_fail;
2682 }
2683 {
2684 resultobj = wxPyMake_wxObject(result, 0);
2685 }
2686 return resultobj;
2687 fail:
2688 return NULL;
2689 }
2690
2691
2692 static PyObject *_wrap_EditableListBox_GetDownButton(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2702 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2703 if (SWIG_arg_fail(1)) SWIG_fail;
2704 {
2705 PyThreadState* __tstate = wxPyBeginAllowThreads();
2706 result = (wxBitmapButton *)(arg1)->GetDownButton();
2707
2708 wxPyEndAllowThreads(__tstate);
2709 if (PyErr_Occurred()) SWIG_fail;
2710 }
2711 {
2712 resultobj = wxPyMake_wxObject(result, 0);
2713 }
2714 return resultobj;
2715 fail:
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_EditableListBox_GetEditButton(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2730 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_EXCEPTION | 0);
2731 if (SWIG_arg_fail(1)) SWIG_fail;
2732 {
2733 PyThreadState* __tstate = wxPyBeginAllowThreads();
2734 result = (wxBitmapButton *)(arg1)->GetEditButton();
2735
2736 wxPyEndAllowThreads(__tstate);
2737 if (PyErr_Occurred()) SWIG_fail;
2738 }
2739 {
2740 resultobj = wxPyMake_wxObject(result, 0);
2741 }
2742 return resultobj;
2743 fail:
2744 return NULL;
2745 }
2746
2747
2748 static PyObject * EditableListBox_swigregister(PyObject *, PyObject *args) {
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 }
2755 static PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
2768 PyObject * obj1 = 0 ;
2769 PyObject * obj2 = 0 ;
2770 PyObject * obj3 = 0 ;
2771 PyObject * obj4 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
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 }
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 }
2795 if (obj4) {
2796 {
2797 arg5 = (long)(SWIG_As_long(obj4));
2798 if (SWIG_arg_fail(5)) SWIG_fail;
2799 }
2800 }
2801 {
2802 if (!wxPyCheckForApp()) SWIG_fail;
2803 PyThreadState* __tstate = wxPyBeginAllowThreads();
2804 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
2805
2806 wxPyEndAllowThreads(__tstate);
2807 if (PyErr_Occurred()) SWIG_fail;
2808 }
2809 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 1);
2810 return resultobj;
2811 fail:
2812 return NULL;
2813 }
2814
2815
2816 static PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2825 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2826 if (SWIG_arg_fail(1)) SWIG_fail;
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
2841 static PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2850 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2851 if (SWIG_arg_fail(1)) SWIG_fail;
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
2866 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2876 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2877 if (SWIG_arg_fail(1)) SWIG_fail;
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
2886 resultobj = wxPyMake_wxObject(result, 0);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891 }
2892
2893
2894 static PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
2897 int arg2 ;
2898 int arg3 ;
2899 PyObject * obj0 = 0 ;
2900 PyObject * obj1 = 0 ;
2901 PyObject * obj2 = 0 ;
2902 char *kwnames[] = {
2903 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
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
2931 static PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
2960 static PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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;
2970 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_EXCEPTION | 0);
2971 if (SWIG_arg_fail(1)) SWIG_fail;
2972 {
2973 PyThreadState* __tstate = wxPyBeginAllowThreads();
2974 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
2975
2976 wxPyEndAllowThreads(__tstate);
2977 if (PyErr_Occurred()) SWIG_fail;
2978 }
2979 {
2980 resultobj = wxPyMake_wxObject(result, 0);
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject * RemotelyScrolledTreeCtrl_swigregister(PyObject *, PyObject *args) {
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 }
2995 static PyObject *_wrap_new_TreeCompanionWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3008 PyObject * obj1 = 0 ;
3009 PyObject * obj2 = 0 ;
3010 PyObject * obj3 = 0 ;
3011 PyObject * obj4 = 0 ;
3012 char *kwnames[] = {
3013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3017 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3018 if (SWIG_arg_fail(1)) SWIG_fail;
3019 if (obj1) {
3020 {
3021 arg2 = (int)(SWIG_As_int(obj1));
3022 if (SWIG_arg_fail(2)) SWIG_fail;
3023 }
3024 }
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 }
3037 if (obj4) {
3038 {
3039 arg5 = (long)(SWIG_As_long(obj4));
3040 if (SWIG_arg_fail(5)) SWIG_fail;
3041 }
3042 }
3043 {
3044 if (!wxPyCheckForApp()) SWIG_fail;
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3047
3048 wxPyEndAllowThreads(__tstate);
3049 if (PyErr_Occurred()) SWIG_fail;
3050 }
3051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeCompanionWindow, 1);
3052 return resultobj;
3053 fail:
3054 return NULL;
3055 }
3056
3057
3058 static PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3071 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3072 if (SWIG_arg_fail(1)) SWIG_fail;
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
3089 static PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3099 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_EXCEPTION | 0);
3100 if (SWIG_arg_fail(1)) SWIG_fail;
3101 {
3102 PyThreadState* __tstate = wxPyBeginAllowThreads();
3103 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
3104
3105 wxPyEndAllowThreads(__tstate);
3106 if (PyErr_Occurred()) SWIG_fail;
3107 }
3108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0);
3109 return resultobj;
3110 fail:
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
3144 static PyObject * TreeCompanionWindow_swigregister(PyObject *, PyObject *args) {
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 }
3151 static PyObject *_wrap_new_ThinSplitterWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3164 PyObject * obj1 = 0 ;
3165 PyObject * obj2 = 0 ;
3166 PyObject * obj3 = 0 ;
3167 PyObject * obj4 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3173 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3174 if (SWIG_arg_fail(1)) SWIG_fail;
3175 if (obj1) {
3176 {
3177 arg2 = (int)(SWIG_As_int(obj1));
3178 if (SWIG_arg_fail(2)) SWIG_fail;
3179 }
3180 }
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 }
3193 if (obj4) {
3194 {
3195 arg5 = (long)(SWIG_As_long(obj4));
3196 if (SWIG_arg_fail(5)) SWIG_fail;
3197 }
3198 }
3199 {
3200 if (!wxPyCheckForApp()) SWIG_fail;
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxThinSplitterWindow, 1);
3208 return resultobj;
3209 fail:
3210 return NULL;
3211 }
3212
3213
3214 static PyObject * ThinSplitterWindow_swigregister(PyObject *, PyObject *args) {
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 }
3221 static PyObject *_wrap_new_SplitterScrolledWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3234 PyObject * obj1 = 0 ;
3235 PyObject * obj2 = 0 ;
3236 PyObject * obj3 = 0 ;
3237 PyObject * obj4 = 0 ;
3238 char *kwnames[] = {
3239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3240 };
3241
3242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3243 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3244 if (SWIG_arg_fail(1)) SWIG_fail;
3245 if (obj1) {
3246 {
3247 arg2 = (int)(SWIG_As_int(obj1));
3248 if (SWIG_arg_fail(2)) SWIG_fail;
3249 }
3250 }
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 }
3263 if (obj4) {
3264 {
3265 arg5 = (long)(SWIG_As_long(obj4));
3266 if (SWIG_arg_fail(5)) SWIG_fail;
3267 }
3268 }
3269 {
3270 if (!wxPyCheckForApp()) SWIG_fail;
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSplitterScrolledWindow, 1);
3278 return resultobj;
3279 fail:
3280 return NULL;
3281 }
3282
3283
3284 static PyObject * SplitterScrolledWindow_swigregister(PyObject *, PyObject *args) {
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 }
3291 static PyObject *_wrap_new_LEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3304 PyObject * obj1 = 0 ;
3305 PyObject * obj2 = 0 ;
3306 PyObject * obj3 = 0 ;
3307 PyObject * obj4 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3313 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
3314 if (SWIG_arg_fail(1)) SWIG_fail;
3315 if (obj1) {
3316 {
3317 arg2 = (int)(SWIG_As_int(obj1));
3318 if (SWIG_arg_fail(2)) SWIG_fail;
3319 }
3320 }
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 }
3333 if (obj4) {
3334 {
3335 arg5 = (long)(SWIG_As_long(obj4));
3336 if (SWIG_arg_fail(5)) SWIG_fail;
3337 }
3338 }
3339 {
3340 if (!wxPyCheckForApp()) SWIG_fail;
3341 PyThreadState* __tstate = wxPyBeginAllowThreads();
3342 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
3343
3344 wxPyEndAllowThreads(__tstate);
3345 if (PyErr_Occurred()) SWIG_fail;
3346 }
3347 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3348 return resultobj;
3349 fail:
3350 return NULL;
3351 }
3352
3353
3354 static PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
3363 if (!wxPyCheckForApp()) SWIG_fail;
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLEDNumberCtrl, 1);
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 static PyObject *_wrap_LEDNumberCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3392 PyObject * obj2 = 0 ;
3393 PyObject * obj3 = 0 ;
3394 PyObject * obj4 = 0 ;
3395 PyObject * obj5 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
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;
3405 if (obj2) {
3406 {
3407 arg3 = (int)(SWIG_As_int(obj2));
3408 if (SWIG_arg_fail(3)) SWIG_fail;
3409 }
3410 }
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 }
3423 if (obj5) {
3424 {
3425 arg6 = (long)(SWIG_As_long(obj5));
3426 if (SWIG_arg_fail(6)) SWIG_fail;
3427 }
3428 }
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 }
3436 {
3437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3438 }
3439 return resultobj;
3440 fail:
3441 return NULL;
3442 }
3443
3444
3445 static PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3446 PyObject *resultobj;
3447 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3448 wxLEDValueAlign result;
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;
3455 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3456 if (SWIG_arg_fail(1)) SWIG_fail;
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
3459 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 resultobj = SWIG_From_int((result));
3465 return resultobj;
3466 fail:
3467 return NULL;
3468 }
3469
3470
3471 static PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3481 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3482 if (SWIG_arg_fail(1)) SWIG_fail;
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
3490 {
3491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3492 }
3493 return resultobj;
3494 fail:
3495 return NULL;
3496 }
3497
3498
3499 static PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3509 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3510 if (SWIG_arg_fail(1)) SWIG_fail;
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 }
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 }
3528 return resultobj;
3529 fail:
3530 return NULL;
3531 }
3532
3533
3534 static PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3535 PyObject *resultobj;
3536 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3537 wxLEDValueAlign arg2 ;
3538 bool arg3 = (bool) true ;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj1 = 0 ;
3541 PyObject * obj2 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
3553 if (obj2) {
3554 {
3555 arg3 = (bool)(SWIG_As_bool(obj2));
3556 if (SWIG_arg_fail(3)) SWIG_fail;
3557 }
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
3573 static PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
3592 if (obj2) {
3593 {
3594 arg3 = (bool)(SWIG_As_bool(obj2));
3595 if (SWIG_arg_fail(3)) SWIG_fail;
3596 }
3597 }
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
3612 static PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
3615 wxString *arg2 = 0 ;
3616 bool arg3 = (bool) true ;
3617 bool temp2 = false ;
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;
3626 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_EXCEPTION | 0);
3627 if (SWIG_arg_fail(1)) SWIG_fail;
3628 {
3629 arg2 = wxString_in_helper(obj1);
3630 if (arg2 == NULL) SWIG_fail;
3631 temp2 = true;
3632 }
3633 if (obj2) {
3634 {
3635 arg3 = (bool)(SWIG_As_bool(obj2));
3636 if (SWIG_arg_fail(3)) SWIG_fail;
3637 }
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
3661 static PyObject * LEDNumberCtrl_swigregister(PyObject *, PyObject *args) {
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 }
3668 static PyObject *_wrap_new_TreeListColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
3674 bool arg4 = (bool) true ;
3675 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
3676 wxTreeListColumnInfo *result;
3677 bool temp1 = false ;
3678 PyObject * obj0 = 0 ;
3679 PyObject * obj1 = 0 ;
3680 PyObject * obj2 = 0 ;
3681 PyObject * obj3 = 0 ;
3682 PyObject * obj4 = 0 ;
3683 char *kwnames[] = {
3684 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
3685 };
3686
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3688 if (obj0) {
3689 {
3690 arg1 = wxString_in_helper(obj0);
3691 if (arg1 == NULL) SWIG_fail;
3692 temp1 = true;
3693 }
3694 }
3695 if (obj1) {
3696 {
3697 arg2 = (int)(SWIG_As_int(obj1));
3698 if (SWIG_arg_fail(2)) SWIG_fail;
3699 }
3700 }
3701 if (obj2) {
3702 {
3703 arg3 = (size_t)(SWIG_As_unsigned_SS_long(obj2));
3704 if (SWIG_arg_fail(3)) SWIG_fail;
3705 }
3706 }
3707 if (obj3) {
3708 {
3709 arg4 = (bool)(SWIG_As_bool(obj3));
3710 if (SWIG_arg_fail(4)) SWIG_fail;
3711 }
3712 }
3713 if (obj4) {
3714 {
3715 arg5 = (wxTreeListColumnAlign)(SWIG_As_int(obj4));
3716 if (SWIG_arg_fail(5)) SWIG_fail;
3717 }
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,(wxTreeListColumnAlign )arg5);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 1);
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
3741 static PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3751 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3752 if (SWIG_arg_fail(1)) SWIG_fail;
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
3769 static PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3770 PyObject *resultobj;
3771 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3772 wxTreeListColumnAlign result;
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;
3779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3780 if (SWIG_arg_fail(1)) SWIG_fail;
3781 {
3782 PyThreadState* __tstate = wxPyBeginAllowThreads();
3783 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
3784
3785 wxPyEndAllowThreads(__tstate);
3786 if (PyErr_Occurred()) SWIG_fail;
3787 }
3788 resultobj = SWIG_From_int((result));
3789 return resultobj;
3790 fail:
3791 return NULL;
3792 }
3793
3794
3795 static PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3806 if (SWIG_arg_fail(1)) SWIG_fail;
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
3827 static PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3837 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3838 if (SWIG_arg_fail(1)) SWIG_fail;
3839 {
3840 PyThreadState* __tstate = wxPyBeginAllowThreads();
3841 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
3842
3843 wxPyEndAllowThreads(__tstate);
3844 if (PyErr_Occurred()) SWIG_fail;
3845 }
3846 {
3847 resultobj = SWIG_From_int((int)(result));
3848 }
3849 return resultobj;
3850 fail:
3851 return NULL;
3852 }
3853
3854
3855 static PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3865 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3866 if (SWIG_arg_fail(1)) SWIG_fail;
3867 {
3868 PyThreadState* __tstate = wxPyBeginAllowThreads();
3869 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
3870
3871 wxPyEndAllowThreads(__tstate);
3872 if (PyErr_Occurred()) SWIG_fail;
3873 }
3874 {
3875 resultobj = SWIG_From_int((int)(result));
3876 }
3877 return resultobj;
3878 fail:
3879 return NULL;
3880 }
3881
3882
3883 static PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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;
3893 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3894 if (SWIG_arg_fail(1)) SWIG_fail;
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 {
3903 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
3904 }
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
3942 static PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
3943 PyObject *resultobj;
3944 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3945 wxTreeListColumnAlign arg2 ;
3946 PyObject * obj0 = 0 ;
3947 PyObject * obj1 = 0 ;
3948 char *kwnames[] = {
3949 (char *) "self",(char *) "alignment", NULL
3950 };
3951
3952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
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 }
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
3973 static PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
3974 PyObject *resultobj;
3975 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
3976 wxString *arg2 = 0 ;
3977 bool temp2 = false ;
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;
3985 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_EXCEPTION | 0);
3986 if (SWIG_arg_fail(1)) SWIG_fail;
3987 {
3988 arg2 = wxString_in_helper(obj1);
3989 if (arg2 == NULL) SWIG_fail;
3990 temp2 = true;
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
4014 static PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *, PyObject *args, PyObject *kwargs) {
4015 PyObject *resultobj;
4016 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4017 int arg2 ;
4018 PyObject * obj0 = 0 ;
4019 PyObject * obj1 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "self",(char *) "image", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) goto fail;
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 }
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
4045 static PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *, PyObject *args, PyObject *kwargs) {
4046 PyObject *resultobj;
4047 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
4048 int arg2 ;
4049 PyObject * obj0 = 0 ;
4050 PyObject * obj1 = 0 ;
4051 char *kwnames[] = {
4052 (char *) "self",(char *) "image", NULL
4053 };
4054
4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) goto fail;
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 }
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
4076 static PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
4107 static PyObject * TreeListColumnInfo_swigregister(PyObject *, PyObject *args) {
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 }
4114 static PyObject *_wrap_new_TreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
4130 bool temp7 = false ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj1 = 0 ;
4133 PyObject * obj2 = 0 ;
4134 PyObject * obj3 = 0 ;
4135 PyObject * obj4 = 0 ;
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
4142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4143 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
4144 if (SWIG_arg_fail(1)) SWIG_fail;
4145 if (obj1) {
4146 {
4147 arg2 = (int)(SWIG_As_int(obj1));
4148 if (SWIG_arg_fail(2)) SWIG_fail;
4149 }
4150 }
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 }
4163 if (obj4) {
4164 {
4165 arg5 = (long)(SWIG_As_long(obj4));
4166 if (SWIG_arg_fail(5)) SWIG_fail;
4167 }
4168 }
4169 if (obj5) {
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;
4177 }
4178 }
4179 if (obj6) {
4180 {
4181 arg7 = wxString_in_helper(obj6);
4182 if (arg7 == NULL) SWIG_fail;
4183 temp7 = true;
4184 }
4185 }
4186 {
4187 if (!wxPyCheckForApp()) SWIG_fail;
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);
4192 if (PyErr_Occurred()) SWIG_fail;
4193 }
4194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
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
4209 static PyObject *_wrap_new_PreTreeListCtrl(PyObject *, PyObject *args, PyObject *kwargs) {
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 {
4218 if (!wxPyCheckForApp()) SWIG_fail;
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeListCtrl, 1);
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 static PyObject *_wrap_TreeListCtrl_Create(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
4249 bool temp8 = false ;
4250 PyObject * obj0 = 0 ;
4251 PyObject * obj1 = 0 ;
4252 PyObject * obj2 = 0 ;
4253 PyObject * obj3 = 0 ;
4254 PyObject * obj4 = 0 ;
4255 PyObject * obj5 = 0 ;
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
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
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;
4267 if (obj2) {
4268 {
4269 arg3 = (int)(SWIG_As_int(obj2));
4270 if (SWIG_arg_fail(3)) SWIG_fail;
4271 }
4272 }
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 }
4285 if (obj5) {
4286 {
4287 arg6 = (long)(SWIG_As_long(obj5));
4288 if (SWIG_arg_fail(6)) SWIG_fail;
4289 }
4290 }
4291 if (obj6) {
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;
4299 }
4300 }
4301 if (obj7) {
4302 {
4303 arg8 = wxString_in_helper(obj7);
4304 if (arg8 == NULL) SWIG_fail;
4305 temp8 = true;
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 }
4315 {
4316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4317 }
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
4332 static PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4345 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4346 if (SWIG_arg_fail(1)) SWIG_fail;
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
4363 static PyObject *_wrap_TreeListCtrl_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4373 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4374 if (SWIG_arg_fail(1)) SWIG_fail;
4375 {
4376 PyThreadState* __tstate = wxPyBeginAllowThreads();
4377 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
4378
4379 wxPyEndAllowThreads(__tstate);
4380 if (PyErr_Occurred()) SWIG_fail;
4381 }
4382 {
4383 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4384 }
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 static PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4401 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4402 if (SWIG_arg_fail(1)) SWIG_fail;
4403 {
4404 PyThreadState* __tstate = wxPyBeginAllowThreads();
4405 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
4406
4407 wxPyEndAllowThreads(__tstate);
4408 if (PyErr_Occurred()) SWIG_fail;
4409 }
4410 {
4411 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4412 }
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 static PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
4450 static PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4460 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4461 if (SWIG_arg_fail(1)) SWIG_fail;
4462 {
4463 PyThreadState* __tstate = wxPyBeginAllowThreads();
4464 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
4465
4466 wxPyEndAllowThreads(__tstate);
4467 if (PyErr_Occurred()) SWIG_fail;
4468 }
4469 {
4470 resultobj = SWIG_From_unsigned_SS_int((unsigned int)(result));
4471 }
4472 return resultobj;
4473 fail:
4474 return NULL;
4475 }
4476
4477
4478 static PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
4509 static PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4519 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4520 if (SWIG_arg_fail(1)) SWIG_fail;
4521 {
4522 PyThreadState* __tstate = wxPyBeginAllowThreads();
4523 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
4524
4525 wxPyEndAllowThreads(__tstate);
4526 if (PyErr_Occurred()) SWIG_fail;
4527 }
4528 {
4529 resultobj = wxPyMake_wxObject(result, 0);
4530 }
4531 return resultobj;
4532 fail:
4533 return NULL;
4534 }
4535
4536
4537 static PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4547 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4548 if (SWIG_arg_fail(1)) SWIG_fail;
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 {
4557 resultobj = wxPyMake_wxObject(result, 0);
4558 }
4559 return resultobj;
4560 fail:
4561 return NULL;
4562 }
4563
4564
4565 static PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4575 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4576 if (SWIG_arg_fail(1)) SWIG_fail;
4577 {
4578 PyThreadState* __tstate = wxPyBeginAllowThreads();
4579 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
4580
4581 wxPyEndAllowThreads(__tstate);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
4585 resultobj = wxPyMake_wxObject(result, 0);
4586 }
4587 return resultobj;
4588 fail:
4589 return NULL;
4590 }
4591
4592
4593 static PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4622 static PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4651 static PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4680 static PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4709 static PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4738 static PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4767 static PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4770 wxString *arg2 = 0 ;
4771 bool temp2 = false ;
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;
4779 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4780 if (SWIG_arg_fail(1)) SWIG_fail;
4781 {
4782 arg2 = wxString_in_helper(obj1);
4783 if (arg2 == NULL) SWIG_fail;
4784 temp2 = true;
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
4808 static PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4843 static PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *, PyObject *args, PyObject *kwargs) {
4844 PyObject *resultobj;
4845 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
4846 size_t arg2 ;
4847 wxString *arg3 = 0 ;
4848 bool temp3 = false ;
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;
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 }
4863 {
4864 arg3 = wxString_in_helper(obj2);
4865 if (arg3 == NULL) SWIG_fail;
4866 temp3 = true;
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
4890 static PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
4931 static PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
4962 static PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *, PyObject *args, PyObject *kwargs) {
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;
4972 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
4973 if (SWIG_arg_fail(1)) SWIG_fail;
4974 {
4975 PyThreadState* __tstate = wxPyBeginAllowThreads();
4976 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
4977
4978 wxPyEndAllowThreads(__tstate);
4979 if (PyErr_Occurred()) SWIG_fail;
4980 }
4981 {
4982 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
4983 }
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 static PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
5027 static PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
5045 {
5046 PyThreadState* __tstate = wxPyBeginAllowThreads();
5047 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
5048
5049 wxPyEndAllowThreads(__tstate);
5050 if (PyErr_Occurred()) SWIG_fail;
5051 }
5052 {
5053 resultobj = SWIG_From_int((int)(result));
5054 }
5055 return resultobj;
5056 fail:
5057 return NULL;
5058 }
5059
5060
5061 static PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
5092 static PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
5102 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
5103 if (SWIG_arg_fail(1)) SWIG_fail;
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 {
5112 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117 }
5118
5119
5120 static PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
5121 PyObject *resultobj;
5122 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5123 size_t arg2 ;
5124 wxString *arg3 = 0 ;
5125 bool temp3 = false ;
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;
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 }
5140 {
5141 arg3 = wxString_in_helper(obj2);
5142 if (arg3 == NULL) SWIG_fail;
5143 temp3 = true;
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
5167 static PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
5205 static PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
5246 static PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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 }
5274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTreeListColumnInfo, 0);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5284 size_t arg2 ;
5285 wxTreeListColumnAlign arg3 ;
5286 PyObject * obj0 = 0 ;
5287 PyObject * obj1 = 0 ;
5288 PyObject * obj2 = 0 ;
5289 char *kwnames[] = {
5290 (char *) "self",(char *) "column",(char *) "align", NULL
5291 };
5292
5293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
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
5318 static PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj;
5320 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5321 size_t arg2 ;
5322 wxTreeListColumnAlign result;
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;
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 }
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 resultobj = SWIG_From_int((result));
5344 return resultobj;
5345 fail:
5346 return NULL;
5347 }
5348
5349
5350 static PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5353 size_t arg2 ;
5354 int arg3 ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 PyObject * obj2 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "column",(char *) "image", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
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
5387 static PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
5407 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
5408
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
5412 {
5413 resultobj = SWIG_From_int((int)(result));
5414 }
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 static PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
5458 static PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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 }
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
5492 static PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
5500 PyObject * obj2 = 0 ;
5501 char *kwnames[] = {
5502 (char *) "self",(char *) "item",(char *) "column", NULL
5503 };
5504
5505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
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;
5515 }
5516 if (obj2) {
5517 {
5518 arg3 = (int)(SWIG_As_int(obj2));
5519 if (SWIG_arg_fail(3)) SWIG_fail;
5520 }
5521 }
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
5542 static PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5543 PyObject *resultobj;
5544 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5545 wxTreeItemId *arg2 = 0 ;
5546 int arg3 = (int) -1 ;
5547 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5548 int result;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 PyObject * obj2 = 0 ;
5552 PyObject * obj3 = 0 ;
5553 char *kwnames[] = {
5554 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
5555 };
5556
5557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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;
5567 }
5568 if (obj2) {
5569 {
5570 arg3 = (int)(SWIG_As_int(obj2));
5571 if (SWIG_arg_fail(3)) SWIG_fail;
5572 }
5573 }
5574 if (obj3) {
5575 {
5576 arg4 = (wxTreeItemIcon)(SWIG_As_int(obj3));
5577 if (SWIG_arg_fail(4)) SWIG_fail;
5578 }
5579 }
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 }
5587 {
5588 resultobj = SWIG_From_int((int)(result));
5589 }
5590 return resultobj;
5591 fail:
5592 return NULL;
5593 }
5594
5595
5596 static PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *, PyObject *args, PyObject *kwargs) {
5597 PyObject *resultobj;
5598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5599 wxTreeItemId *arg2 = 0 ;
5600 wxString *arg3 = 0 ;
5601 int arg4 = (int) -1 ;
5602 bool temp3 = false ;
5603 PyObject * obj0 = 0 ;
5604 PyObject * obj1 = 0 ;
5605 PyObject * obj2 = 0 ;
5606 PyObject * obj3 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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;
5621 }
5622 {
5623 arg3 = wxString_in_helper(obj2);
5624 if (arg3 == NULL) SWIG_fail;
5625 temp3 = true;
5626 }
5627 if (obj3) {
5628 {
5629 arg4 = (int)(SWIG_As_int(obj3));
5630 if (SWIG_arg_fail(4)) SWIG_fail;
5631 }
5632 }
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
5655 static PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5658 wxTreeItemId *arg2 = 0 ;
5659 int arg3 ;
5660 int arg4 = (int) -1 ;
5661 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
5662 PyObject * obj0 = 0 ;
5663 PyObject * obj1 = 0 ;
5664 PyObject * obj2 = 0 ;
5665 PyObject * obj3 = 0 ;
5666 PyObject * obj4 = 0 ;
5667 char *kwnames[] = {
5668 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
5669 };
5670
5671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
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 }
5686 if (obj3) {
5687 {
5688 arg4 = (int)(SWIG_As_int(obj3));
5689 if (SWIG_arg_fail(4)) SWIG_fail;
5690 }
5691 }
5692 if (obj4) {
5693 {
5694 arg5 = (wxTreeItemIcon)(SWIG_As_int(obj4));
5695 if (SWIG_arg_fail(5)) SWIG_fail;
5696 }
5697 }
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
5712 static PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
5741 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyTreeItemData, 0);
5742 return resultobj;
5743 fail:
5744 return NULL;
5745 }
5746
5747
5748 static PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
5770 }
5771 SWIG_Python_ConvertPtr(obj2, (void **)&arg3, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
5772 if (SWIG_arg_fail(3)) SWIG_fail;
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
5787 static PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
5823 static PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
5861 static PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj;
5863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5864 wxTreeItemId *arg2 = 0 ;
5865 bool arg3 = (bool) true ;
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;
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;
5883 }
5884 if (obj2) {
5885 {
5886 arg3 = (bool)(SWIG_As_bool(obj2));
5887 if (SWIG_arg_fail(3)) SWIG_fail;
5888 }
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
5904 static PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5907 wxTreeItemId *arg2 = 0 ;
5908 bool arg3 = (bool) true ;
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;
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;
5926 }
5927 if (obj2) {
5928 {
5929 arg3 = (bool)(SWIG_As_bool(obj2));
5930 if (SWIG_arg_fail(3)) SWIG_fail;
5931 }
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
5947 static PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
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[] = {
5957 (char *) "self",(char *) "item",(char *) "colour", NULL
5958 };
5959
5960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
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;
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
5989 static PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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[] = {
5999 (char *) "self",(char *) "item",(char *) "colour", NULL
6000 };
6001
6002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
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;
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
6031 static PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
6053 }
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;
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
6076 static PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6105 {
6106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6107 }
6108 return resultobj;
6109 fail:
6110 return NULL;
6111 }
6112
6113
6114 static PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6145 resultptr = new wxColour((wxColour &)(result));
6146 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6147 }
6148 return resultobj;
6149 fail:
6150 return NULL;
6151 }
6152
6153
6154 static PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6185 resultptr = new wxColour((wxColour &)(result));
6186 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
6187 }
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 static PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6225 resultptr = new wxFont((wxFont &)(result));
6226 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
6227 }
6228 return resultobj;
6229 fail:
6230 return NULL;
6231 }
6232
6233
6234 static PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6263 {
6264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6265 }
6266 return resultobj;
6267 fail:
6268 return NULL;
6269 }
6270
6271
6272 static PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6301 {
6302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6303 }
6304 return resultobj;
6305 fail:
6306 return NULL;
6307 }
6308
6309
6310 static PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6339 {
6340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6341 }
6342 return resultobj;
6343 fail:
6344 return NULL;
6345 }
6346
6347
6348 static PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6377 {
6378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6379 }
6380 return resultobj;
6381 fail:
6382 return NULL;
6383 }
6384
6385
6386 static PyObject *_wrap_TreeListCtrl_IsBold(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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 }
6415 {
6416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6417 }
6418 return resultobj;
6419 fail:
6420 return NULL;
6421 }
6422
6423
6424 static PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *, PyObject *args, PyObject *kwargs) {
6425 PyObject *resultobj;
6426 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6427 wxTreeItemId *arg2 = 0 ;
6428 bool arg3 = (bool) true ;
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;
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;
6447 }
6448 if (obj2) {
6449 {
6450 arg3 = (bool)(SWIG_As_bool(obj2));
6451 if (SWIG_arg_fail(3)) SWIG_fail;
6452 }
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 }
6461 {
6462 resultobj = SWIG_From_unsigned_SS_long((unsigned long)(result));
6463 }
6464 return resultobj;
6465 fail:
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6480 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6481 if (SWIG_arg_fail(1)) SWIG_fail;
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;
6491 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6493 }
6494 return resultobj;
6495 fail:
6496 return NULL;
6497 }
6498
6499
6500 static PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6510 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6511 if (SWIG_arg_fail(1)) SWIG_fail;
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;
6521 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6522 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6523 }
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 static PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6540 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6541 if (SWIG_arg_fail(1)) SWIG_fail;
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
6556 static PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
6577 }
6578 {
6579 PyThreadState* __tstate = wxPyBeginAllowThreads();
6580 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
6581
6582 wxPyEndAllowThreads(__tstate);
6583 if (PyErr_Occurred()) SWIG_fail;
6584 }
6585 {
6586 wxTreeItemId * resultptr;
6587 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6589 }
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 static PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
6632 static PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *, PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj;
6634 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6635 wxTreeItemId *arg2 = 0 ;
6636 void *arg3 = (void *) 0 ;
6637 PyObject *result;
6638 PyObject * obj0 = 0 ;
6639 PyObject * obj1 = 0 ;
6640 PyObject * obj2 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "item",(char *) "cookie", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
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 }
6660 }
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
6675 static PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6706 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6708 }
6709 return resultobj;
6710 fail:
6711 return NULL;
6712 }
6713
6714
6715 static PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6746 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6747 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6748 }
6749 return resultobj;
6750 fail:
6751 return NULL;
6752 }
6753
6754
6755 static PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6786 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6787 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6788 }
6789 return resultobj;
6790 fail:
6791 return NULL;
6792 }
6793
6794
6795 static PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6805 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6806 if (SWIG_arg_fail(1)) SWIG_fail;
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;
6816 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6817 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6818 }
6819 return resultobj;
6820 fail:
6821 return NULL;
6822 }
6823
6824
6825 static PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6856 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6857 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6858 }
6859 return resultobj;
6860 fail:
6861 return NULL;
6862 }
6863
6864
6865 static PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6896 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6898 }
6899 return resultobj;
6900 fail:
6901 return NULL;
6902 }
6903
6904
6905 static PyObject *_wrap_TreeListCtrl_GetNext(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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;
6936 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
6938 }
6939 return resultobj;
6940 fail:
6941 return NULL;
6942 }
6943
6944
6945 static PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *, PyObject *args, PyObject *kwargs) {
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;
6953 bool temp2 = false ;
6954 PyObject * obj0 = 0 ;
6955 PyObject * obj1 = 0 ;
6956 PyObject * obj2 = 0 ;
6957 PyObject * obj3 = 0 ;
6958 PyObject * obj4 = 0 ;
6959 char *kwnames[] = {
6960 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
6961 };
6962
6963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6964 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
6965 if (SWIG_arg_fail(1)) SWIG_fail;
6966 {
6967 arg2 = wxString_in_helper(obj1);
6968 if (arg2 == NULL) SWIG_fail;
6969 temp2 = true;
6970 }
6971 if (obj2) {
6972 {
6973 arg3 = (int)(SWIG_As_int(obj2));
6974 if (SWIG_arg_fail(3)) SWIG_fail;
6975 }
6976 }
6977 if (obj3) {
6978 {
6979 arg4 = (int)(SWIG_As_int(obj3));
6980 if (SWIG_arg_fail(4)) SWIG_fail;
6981 }
6982 }
6983 if (obj4) {
6984 SWIG_Python_ConvertPtr(obj4, (void **)&arg5, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
6985 if (SWIG_arg_fail(5)) SWIG_fail;
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;
6996 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
6997 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
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
7013 static PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7022 bool temp3 = false ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 PyObject * obj2 = 0 ;
7026 PyObject * obj3 = 0 ;
7027 PyObject * obj4 = 0 ;
7028 PyObject * obj5 = 0 ;
7029 char *kwnames[] = {
7030 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7031 };
7032
7033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
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;
7043 }
7044 {
7045 arg3 = wxString_in_helper(obj2);
7046 if (arg3 == NULL) SWIG_fail;
7047 temp3 = true;
7048 }
7049 if (obj3) {
7050 {
7051 arg4 = (int)(SWIG_As_int(obj3));
7052 if (SWIG_arg_fail(4)) SWIG_fail;
7053 }
7054 }
7055 if (obj4) {
7056 {
7057 arg5 = (int)(SWIG_As_int(obj4));
7058 if (SWIG_arg_fail(5)) SWIG_fail;
7059 }
7060 }
7061 if (obj5) {
7062 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7063 if (SWIG_arg_fail(6)) SWIG_fail;
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;
7074 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
7075 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
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
7091 static PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7101 bool temp4 = false ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 PyObject * obj2 = 0 ;
7105 PyObject * obj3 = 0 ;
7106 PyObject * obj4 = 0 ;
7107 PyObject * obj5 = 0 ;
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
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
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;
7131 }
7132 {
7133 arg4 = wxString_in_helper(obj3);
7134 if (arg4 == NULL) SWIG_fail;
7135 temp4 = true;
7136 }
7137 if (obj4) {
7138 {
7139 arg5 = (int)(SWIG_As_int(obj4));
7140 if (SWIG_arg_fail(5)) SWIG_fail;
7141 }
7142 }
7143 if (obj5) {
7144 {
7145 arg6 = (int)(SWIG_As_int(obj5));
7146 if (SWIG_arg_fail(6)) SWIG_fail;
7147 }
7148 }
7149 if (obj6) {
7150 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7151 if (SWIG_arg_fail(7)) SWIG_fail;
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;
7162 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
7163 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
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
7179 static PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7189 bool temp4 = false ;
7190 PyObject * obj0 = 0 ;
7191 PyObject * obj1 = 0 ;
7192 PyObject * obj2 = 0 ;
7193 PyObject * obj3 = 0 ;
7194 PyObject * obj4 = 0 ;
7195 PyObject * obj5 = 0 ;
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
7201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
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 }
7216 {
7217 arg4 = wxString_in_helper(obj3);
7218 if (arg4 == NULL) SWIG_fail;
7219 temp4 = true;
7220 }
7221 if (obj4) {
7222 {
7223 arg5 = (int)(SWIG_As_int(obj4));
7224 if (SWIG_arg_fail(5)) SWIG_fail;
7225 }
7226 }
7227 if (obj5) {
7228 {
7229 arg6 = (int)(SWIG_As_int(obj5));
7230 if (SWIG_arg_fail(6)) SWIG_fail;
7231 }
7232 }
7233 if (obj6) {
7234 SWIG_Python_ConvertPtr(obj6, (void **)&arg7, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7235 if (SWIG_arg_fail(7)) SWIG_fail;
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;
7246 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
7247 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
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
7263 static PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7272 bool temp3 = false ;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 PyObject * obj3 = 0 ;
7277 PyObject * obj4 = 0 ;
7278 PyObject * obj5 = 0 ;
7279 char *kwnames[] = {
7280 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
7281 };
7282
7283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
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;
7293 }
7294 {
7295 arg3 = wxString_in_helper(obj2);
7296 if (arg3 == NULL) SWIG_fail;
7297 temp3 = true;
7298 }
7299 if (obj3) {
7300 {
7301 arg4 = (int)(SWIG_As_int(obj3));
7302 if (SWIG_arg_fail(4)) SWIG_fail;
7303 }
7304 }
7305 if (obj4) {
7306 {
7307 arg5 = (int)(SWIG_As_int(obj4));
7308 if (SWIG_arg_fail(5)) SWIG_fail;
7309 }
7310 }
7311 if (obj5) {
7312 SWIG_Python_ConvertPtr(obj5, (void **)&arg6, SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_EXCEPTION | 0);
7313 if (SWIG_arg_fail(6)) SWIG_fail;
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;
7324 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
7325 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
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
7341 static PyObject *_wrap_TreeListCtrl_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7376 static PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7411 static PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7420 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7421 if (SWIG_arg_fail(1)) SWIG_fail;
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
7436 static PyObject *_wrap_TreeListCtrl_Expand(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7471 static PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7506 static PyObject *_wrap_TreeListCtrl_Collapse(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7541 static PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7576 static PyObject *_wrap_TreeListCtrl_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7611 static PyObject *_wrap_TreeListCtrl_Unselect(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7620 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7621 if (SWIG_arg_fail(1)) SWIG_fail;
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
7636 static PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *, PyObject *args, PyObject *kwargs) {
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;
7645 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7646 if (SWIG_arg_fail(1)) SWIG_fail;
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
7661 static PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7664 wxTreeItemId *arg2 = 0 ;
7665 bool arg3 = (bool) true ;
7666 bool arg4 = (bool) false ;
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;
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;
7685 }
7686 if (obj2) {
7687 {
7688 arg3 = (bool)(SWIG_As_bool(obj2));
7689 if (SWIG_arg_fail(3)) SWIG_fail;
7690 }
7691 }
7692 if (obj3) {
7693 {
7694 arg4 = (bool)(SWIG_As_bool(obj3));
7695 if (SWIG_arg_fail(4)) SWIG_fail;
7696 }
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
7712 static PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7715 bool arg2 = (bool) false ;
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;
7723 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7724 if (SWIG_arg_fail(1)) SWIG_fail;
7725 if (obj1) {
7726 {
7727 arg2 = (bool)(SWIG_As_bool(obj1));
7728 if (SWIG_arg_fail(2)) SWIG_fail;
7729 }
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
7745 static PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7780 static PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7815 static PyObject *_wrap_TreeListCtrl_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
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 ;
7824 int res3 = 0 ;
7825 int temp4 ;
7826 int res4 = 0 ;
7827 PyObject * obj0 = 0 ;
7828 PyObject * obj1 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "point", NULL
7831 };
7832
7833 arg3 = &temp3; res3 = SWIG_NEWOBJ;
7834 arg4 = &temp4; res4 = SWIG_NEWOBJ;
7835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
7836 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
7837 if (SWIG_arg_fail(1)) SWIG_fail;
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;
7851 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
7852 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
7853 }
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)));
7858 return resultobj;
7859 fail:
7860 return NULL;
7861 }
7862
7863
7864 static PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *, PyObject *args, PyObject *kwargs) {
7865 PyObject *resultobj;
7866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7867 wxTreeItemId *arg2 = 0 ;
7868 bool arg3 = (bool) false ;
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;
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;
7887 }
7888 if (obj2) {
7889 {
7890 arg3 = (bool)(SWIG_As_bool(obj2));
7891 if (SWIG_arg_fail(3)) SWIG_fail;
7892 }
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
7908 static PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7943 static PyObject *_wrap_TreeListCtrl_Edit(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
7978 static PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *, PyObject *args, PyObject *kwargs) {
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;
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;
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
8013 static PyObject *_wrap_TreeListCtrl_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8016 wxTreeItemId *arg2 = 0 ;
8017 wxString *arg3 = 0 ;
8018 int arg4 = (int) 0 ;
8019 wxTreeItemId result;
8020 bool temp3 = false ;
8021 PyObject * obj0 = 0 ;
8022 PyObject * obj1 = 0 ;
8023 PyObject * obj2 = 0 ;
8024 PyObject * obj3 = 0 ;
8025 char *kwnames[] = {
8026 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
8027 };
8028
8029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
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;
8039 }
8040 {
8041 arg3 = wxString_in_helper(obj2);
8042 if (arg3 == NULL) SWIG_fail;
8043 temp3 = true;
8044 }
8045 if (obj3) {
8046 {
8047 arg4 = (int)(SWIG_As_int(obj3));
8048 if (SWIG_arg_fail(4)) SWIG_fail;
8049 }
8050 }
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 {
8059 wxTreeItemId * resultptr;
8060 resultptr = new wxTreeItemId((wxTreeItemId &)(result));
8061 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxTreeItemId, 1);
8062 }
8063 {
8064 if (temp3)
8065 delete arg3;
8066 }
8067 return resultobj;
8068 fail:
8069 {
8070 if (temp3)
8071 delete arg3;
8072 }
8073 return NULL;
8074 }
8075
8076
8077 static PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *, PyObject *args, PyObject *kwargs) {
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;
8087 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8088 if (SWIG_arg_fail(1)) SWIG_fail;
8089 {
8090 PyThreadState* __tstate = wxPyBeginAllowThreads();
8091 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
8092
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 resultobj = wxPyMake_wxObject(result, 0);
8098 }
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 static PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8108 wxScrolledWindow *result;
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;
8115 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_EXCEPTION | 0);
8116 if (SWIG_arg_fail(1)) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 {
8125 resultobj = wxPyMake_wxObject(result, 0);
8126 }
8127 return resultobj;
8128 fail:
8129 return NULL;
8130 }
8131
8132
8133 static PyObject * TreeListCtrl_swigregister(PyObject *, PyObject *args) {
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 }
8140 static PyObject *_wrap_new_StaticPicture(PyObject *, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxWindow *arg1 = (wxWindow *) 0 ;
8143 int arg2 = (int) -1 ;
8144 wxBitmap const &arg3_defvalue = wxNullBitmap ;
8145 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
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
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8169 SWIG_Python_ConvertPtr(obj0, (void **)&arg1, SWIGTYPE_p_wxWindow, SWIG_POINTER_EXCEPTION | 0);
8170 if (SWIG_arg_fail(1)) SWIG_fail;
8171 if (obj1) {
8172 {
8173 arg2 = (int)(SWIG_As_int(obj1));
8174 if (SWIG_arg_fail(2)) SWIG_fail;
8175 }
8176 }
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;
8185 }
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
8235 static 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
8258 static PyObject *_wrap_StaticPicture_Create(PyObject *, PyObject *args, PyObject *kwargs) {
8259 PyObject *resultobj;
8260 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
8261 wxWindow *arg2 = (wxWindow *) 0 ;
8262 int arg3 = (int) -1 ;
8263 wxBitmap const &arg4_defvalue = wxNullBitmap ;
8264 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
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
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
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;
8293 if (obj2) {
8294 {
8295 arg3 = (int)(SWIG_As_int(obj2));
8296 if (SWIG_arg_fail(3)) SWIG_fail;
8297 }
8298 }
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;
8307 }
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
8358 static 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
8393 static 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
8423 static 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
8458 static 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
8488 static 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
8519 static 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
8547 static 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
8578 static 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
8606 static 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
8643 static 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
8680 static 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 }
8687 static PyMethodDef SwigMethods[] = {
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},
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},
8865 { NULL, NULL, 0, NULL }
8866 };
8867
8868
8869 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
8870
8871 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
8872 return (void *)((wxValidator *) ((wxPyValidator *) x));
8873 }
8874 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
8875 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
8876 }
8877 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
8878 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
8879 }
8880 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
8881 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
8882 }
8883 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
8884 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
8885 }
8886 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
8887 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
8888 }
8889 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
8890 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
8891 }
8892 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
8893 return (void *)((wxPanel *) ((wxPyPanel *) x));
8894 }
8895 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
8896 return (void *)((wxPanel *) ((wxEditableListBox *) x));
8897 }
8898 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
8899 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
8900 }
8901 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
8902 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
8903 }
8904 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
8905 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
8906 }
8907 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
8908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
8909 }
8910 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
8911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
8912 }
8913 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
8914 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
8915 }
8916 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
8917 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
8918 }
8919 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
8920 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
8921 }
8922 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
8923 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
8924 }
8925 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
8926 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
8927 }
8928 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
8929 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
8930 }
8931 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
8932 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
8933 }
8934 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
8935 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
8936 }
8937 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
8938 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
8939 }
8940 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
8941 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
8942 }
8943 static void *_p_wxControlTo_p_wxWindow(void *x) {
8944 return (void *)((wxWindow *) ((wxControl *) x));
8945 }
8946 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
8947 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
8948 }
8949 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
8950 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
8951 }
8952 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
8953 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
8954 }
8955 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
8956 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
8957 }
8958 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
8959 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
8960 }
8961 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
8962 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
8963 }
8964 static void *_p_wxListViewTo_p_wxWindow(void *x) {
8965 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
8966 }
8967 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
8968 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
8969 }
8970 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8971 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
8972 }
8973 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
8974 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
8975 }
8976 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8977 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
8978 }
8979 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
8980 return (void *)((wxWindow *) ((wxPyWindow *) x));
8981 }
8982 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
8983 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
8984 }
8985 static void *_p_wxListbookTo_p_wxWindow(void *x) {
8986 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
8987 }
8988 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
8989 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
8990 }
8991 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
8992 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
8993 }
8994 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
8995 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
8996 }
8997 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
8998 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
8999 }
9000 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
9001 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9002 }
9003 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
9004 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9005 }
9006 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
9007 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9008 }
9009 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
9010 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9011 }
9012 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
9013 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
9014 }
9015 static void *_p_wxSliderTo_p_wxWindow(void *x) {
9016 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
9017 }
9018 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
9019 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
9020 }
9021 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
9022 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
9023 }
9024 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
9025 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9026 }
9027 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
9028 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9029 }
9030 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
9031 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9032 }
9033 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
9034 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9035 }
9036 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
9037 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
9038 }
9039 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
9040 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
9041 }
9042 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
9043 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
9044 }
9045 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
9046 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
9047 }
9048 static void *_p_wxButtonTo_p_wxWindow(void *x) {
9049 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
9050 }
9051 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
9052 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9053 }
9054 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
9055 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
9056 }
9057 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
9058 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
9059 }
9060 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
9061 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
9062 }
9063 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
9064 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9065 }
9066 static void *_p_wxFrameTo_p_wxWindow(void *x) {
9067 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
9068 }
9069 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
9070 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
9071 }
9072 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
9073 return (void *)((wxWindow *) ((wxStatusBar *) x));
9074 }
9075 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
9076 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
9077 }
9078 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
9079 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
9080 }
9081 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
9082 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9083 }
9084 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
9085 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
9086 }
9087 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
9088 return (void *)((wxWindow *) ((wxSashWindow *) x));
9089 }
9090 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
9091 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
9092 }
9093 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
9094 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
9095 }
9096 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
9097 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
9098 }
9099 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
9100 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
9101 }
9102 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
9103 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
9104 }
9105 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
9106 return (void *)((wxWindow *) ((wxPopupWindow *) x));
9107 }
9108 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
9109 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9110 }
9111 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
9112 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9113 }
9114 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
9115 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
9116 }
9117 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
9118 return (void *)((wxWindow *) ((wxMenuBar *) x));
9119 }
9120 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
9121 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
9122 }
9123 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
9124 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
9125 }
9126 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
9127 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9128 }
9129 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
9130 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9131 }
9132 static void *_p_wxDialogTo_p_wxWindow(void *x) {
9133 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
9134 }
9135 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
9136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9137 }
9138 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
9139 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9140 }
9141 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
9142 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9143 }
9144 static void *_p_wxPanelTo_p_wxWindow(void *x) {
9145 return (void *)((wxWindow *) ((wxPanel *) x));
9146 }
9147 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
9148 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
9149 }
9150 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
9151 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9152 }
9153 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
9154 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
9155 }
9156 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
9157 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
9158 }
9159 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
9160 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
9161 }
9162 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
9163 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
9164 }
9165 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
9166 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9167 }
9168 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
9169 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9170 }
9171 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
9172 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9173 }
9174 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
9175 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
9176 }
9177 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
9178 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
9179 }
9180 static void *_p_wxToolBarTo_p_wxControl(void *x) {
9181 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
9182 }
9183 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
9184 return (void *)((wxControl *) ((wxToggleButton *) x));
9185 }
9186 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
9187 return (void *)((wxControl *) ((wxRadioButton *) x));
9188 }
9189 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
9190 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
9191 }
9192 static void *_p_wxPyControlTo_p_wxControl(void *x) {
9193 return (void *)((wxControl *) ((wxPyControl *) x));
9194 }
9195 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
9196 return (void *)((wxControl *) ((wxToolBarBase *) x));
9197 }
9198 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
9199 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9200 }
9201 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
9202 return (void *)((wxControl *) ((wxPyListCtrl *) x));
9203 }
9204 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
9205 return (void *)((wxControl *) ((wxComboBox *) x));
9206 }
9207 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
9208 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
9209 }
9210 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
9211 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
9212 }
9213 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
9214 return (void *)((wxControl *) ((wxScrollBar *) x));
9215 }
9216 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
9217 return (void *)((wxControl *) ((wxControlWithItems *) x));
9218 }
9219 static void *_p_wxGaugeTo_p_wxControl(void *x) {
9220 return (void *)((wxControl *) ((wxGauge *) x));
9221 }
9222 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
9223 return (void *)((wxControl *) ((wxStaticLine *) x));
9224 }
9225 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
9226 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
9227 }
9228 static void *_p_wxListbookTo_p_wxControl(void *x) {
9229 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
9230 }
9231 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
9232 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
9233 }
9234 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
9235 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9236 }
9237 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
9238 return (void *)((wxControl *) ((wxCheckBox *) x));
9239 }
9240 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
9241 return (void *)((wxControl *) ((wxRadioBox *) x));
9242 }
9243 static void *_p_wxChoiceTo_p_wxControl(void *x) {
9244 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
9245 }
9246 static void *_p_wxListBoxTo_p_wxControl(void *x) {
9247 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
9248 }
9249 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
9250 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9251 }
9252 static void *_p_wxListViewTo_p_wxControl(void *x) {
9253 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
9254 }
9255 static void *_p_wxNotebookTo_p_wxControl(void *x) {
9256 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
9257 }
9258 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
9259 return (void *)((wxControl *) ((wxStaticBitmap *) x));
9260 }
9261 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
9262 return (void *)((wxControl *) ((wxSpinCtrl *) x));
9263 }
9264 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
9265 return (void *)((wxControl *) ((wxStaticText *) x));
9266 }
9267 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
9268 return (void *)((wxControl *) ((wxStaticBox *) x));
9269 }
9270 static void *_p_wxSliderTo_p_wxControl(void *x) {
9271 return (void *)((wxControl *) ((wxSlider *) x));
9272 }
9273 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
9274 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9275 }
9276 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
9277 return (void *)((wxControl *) ((wxSpinButton *) x));
9278 }
9279 static void *_p_wxButtonTo_p_wxControl(void *x) {
9280 return (void *)((wxControl *) ((wxButton *) x));
9281 }
9282 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
9283 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
9284 }
9285 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
9286 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
9287 }
9288 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
9289 return (void *)((wxControl *) ((wxStaticPicture *) x));
9290 }
9291 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
9292 return (void *)((wxControl *) ((wxTextCtrl *) x));
9293 }
9294 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
9295 return (void *)((wxPyListCtrl *) ((wxListView *) x));
9296 }
9297 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
9298 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
9299 }
9300 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
9301 return (void *)((wxEvent *) ((wxMenuEvent *) x));
9302 }
9303 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
9304 return (void *)((wxEvent *) ((wxCloseEvent *) x));
9305 }
9306 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
9307 return (void *)((wxEvent *) ((wxMouseEvent *) x));
9308 }
9309 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
9310 return (void *)((wxEvent *) ((wxEraseEvent *) x));
9311 }
9312 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
9313 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9314 }
9315 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
9316 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9317 }
9318 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
9319 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
9320 }
9321 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
9322 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9323 }
9324 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
9325 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
9326 }
9327 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
9328 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
9329 }
9330 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
9331 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
9332 }
9333 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
9334 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
9335 }
9336 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
9337 return (void *)((wxEvent *) ((wxPyEvent *) x));
9338 }
9339 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
9340 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
9341 }
9342 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
9343 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
9344 }
9345 static void *_p_wxListEventTo_p_wxEvent(void *x) {
9346 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9347 }
9348 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
9349 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9350 }
9351 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
9352 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9353 }
9354 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
9355 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
9356 }
9357 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
9358 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
9359 }
9360 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
9361 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
9362 }
9363 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
9364 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
9365 }
9366 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
9367 return (void *)((wxEvent *) ((wxIdleEvent *) x));
9368 }
9369 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
9370 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
9371 }
9372 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
9373 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
9374 }
9375 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
9376 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
9377 }
9378 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
9379 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
9380 }
9381 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
9382 return (void *)((wxEvent *) ((wxActivateEvent *) x));
9383 }
9384 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
9385 return (void *)((wxEvent *) ((wxSizeEvent *) x));
9386 }
9387 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
9388 return (void *)((wxEvent *) ((wxMoveEvent *) x));
9389 }
9390 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
9391 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
9392 }
9393 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
9394 return (void *)((wxEvent *) ((wxPaintEvent *) x));
9395 }
9396 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
9397 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
9398 }
9399 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
9400 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
9401 }
9402 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
9403 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
9404 }
9405 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
9406 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
9407 }
9408 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
9409 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9410 }
9411 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
9412 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
9413 }
9414 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
9415 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
9416 }
9417 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
9418 return (void *)((wxEvent *) ((wxFocusEvent *) x));
9419 }
9420 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
9421 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
9422 }
9423 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
9424 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
9425 }
9426 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
9427 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9428 }
9429 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
9430 return (void *)((wxEvent *) ((wxShowEvent *) x));
9431 }
9432 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
9433 return (void *)((wxEvent *) ((wxCommandEvent *) x));
9434 }
9435 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
9436 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
9437 }
9438 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
9439 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9440 }
9441 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
9442 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
9443 }
9444 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
9445 return (void *)((wxEvent *) ((wxKeyEvent *) x));
9446 }
9447 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
9448 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
9449 }
9450 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
9451 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
9452 }
9453 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
9454 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
9455 }
9456 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
9457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
9458 }
9459 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
9460 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
9461 }
9462 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
9463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
9464 }
9465 static void *_p_wxEventTo_p_wxObject(void *x) {
9466 return (void *)((wxObject *) ((wxEvent *) x));
9467 }
9468 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
9469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
9470 }
9471 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
9472 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
9473 }
9474 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
9475 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
9476 }
9477 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
9478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
9479 }
9480 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
9481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
9482 }
9483 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
9484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
9485 }
9486 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
9487 return (void *)((wxObject *) ((wxMenuItem *) x));
9488 }
9489 static void *_p_wxImageTo_p_wxObject(void *x) {
9490 return (void *)((wxObject *) ((wxImage *) x));
9491 }
9492 static void *_p_wxPySizerTo_p_wxObject(void *x) {
9493 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
9494 }
9495 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
9496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
9497 }
9498 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
9499 return (void *)((wxObject *) ((wxGenericDragImage *) x));
9500 }
9501 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
9502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
9503 }
9504 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
9505 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
9506 }
9507 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
9508 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
9509 }
9510 static void *_p_wxPyAppTo_p_wxObject(void *x) {
9511 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
9512 }
9513 static void *_p_wxNotebookTo_p_wxObject(void *x) {
9514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
9515 }
9516 static void *_p_wxListItemTo_p_wxObject(void *x) {
9517 return (void *)((wxObject *) ((wxListItem *) x));
9518 }
9519 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
9520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
9521 }
9522 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
9523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
9524 }
9525 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
9526 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
9527 }
9528 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
9529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
9530 }
9531 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
9532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
9533 }
9534 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
9535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
9536 }
9537 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
9538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
9539 }
9540 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
9541 return (void *)((wxObject *) ((wxFindReplaceData *) x));
9542 }
9543 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
9544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
9545 }
9546 static void *_p_wxValidatorTo_p_wxObject(void *x) {
9547 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
9548 }
9549 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
9550 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
9551 }
9552 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
9553 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
9554 }
9555 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
9556 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
9557 }
9558 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
9559 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
9560 }
9561 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
9562 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
9563 }
9564 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
9565 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
9566 }
9567 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
9568 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
9569 }
9570 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
9571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
9572 }
9573 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
9574 return (void *)((wxObject *) ((wxPrintDialogData *) x));
9575 }
9576 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
9577 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
9578 }
9579 static void *_p_wxPrinterTo_p_wxObject(void *x) {
9580 return (void *)((wxObject *) ((wxPrinter *) x));
9581 }
9582 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
9583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
9584 }
9585 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
9586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
9587 }
9588 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
9589 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
9590 }
9591 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
9592 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
9593 }
9594 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
9595 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
9596 }
9597 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
9598 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
9599 }
9600 static void *_p_wxControlTo_p_wxObject(void *x) {
9601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
9602 }
9603 static void *_p_wxPyControlTo_p_wxObject(void *x) {
9604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
9605 }
9606 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
9607 return (void *)((wxObject *) ((wxContextHelp *) x));
9608 }
9609 static void *_p_wxColourDataTo_p_wxObject(void *x) {
9610 return (void *)((wxObject *) ((wxColourData *) x));
9611 }
9612 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
9613 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
9614 }
9615 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
9616 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
9617 }
9618 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
9619 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
9620 }
9621 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
9622 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
9623 }
9624 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
9625 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
9626 }
9627 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
9628 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
9629 }
9630 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
9631 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
9632 }
9633 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
9634 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
9635 }
9636 static void *_p_wxDateEventTo_p_wxObject(void *x) {
9637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
9638 }
9639 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
9640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
9641 }
9642 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
9643 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
9644 }
9645 static void *_p_wxListEventTo_p_wxObject(void *x) {
9646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
9647 }
9648 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
9649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
9650 }
9651 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
9652 return (void *)((wxObject *) ((wxPyPrintout *) x));
9653 }
9654 static void *_p_wxGaugeTo_p_wxObject(void *x) {
9655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
9656 }
9657 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
9658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
9659 }
9660 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
9661 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
9662 }
9663 static void *_p_wxChoiceTo_p_wxObject(void *x) {
9664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
9665 }
9666 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
9667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
9668 }
9669 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
9670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
9671 }
9672 static void *_p_wxButtonTo_p_wxObject(void *x) {
9673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
9674 }
9675 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
9676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
9677 }
9678 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
9679 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
9680 }
9681 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
9682 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
9683 }
9684 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
9685 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
9686 }
9687 static void *_p_wxSashEventTo_p_wxObject(void *x) {
9688 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
9689 }
9690 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
9691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
9692 }
9693 static void *_p_wxListBoxTo_p_wxObject(void *x) {
9694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
9695 }
9696 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
9697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
9698 }
9699 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
9700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
9701 }
9702 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
9703 return (void *)((wxObject *) ((wxPrintData *) x));
9704 }
9705 static void *_p_wxFontDataTo_p_wxObject(void *x) {
9706 return (void *)((wxObject *) ((wxFontData *) x));
9707 }
9708 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
9709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
9710 }
9711 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
9712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
9713 }
9714 static void *_p_wxListbookTo_p_wxObject(void *x) {
9715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
9716 }
9717 static void *_p_wxFrameTo_p_wxObject(void *x) {
9718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
9719 }
9720 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
9721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
9722 }
9723 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
9724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
9725 }
9726 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
9727 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
9728 }
9729 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
9730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
9731 }
9732 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
9733 return (void *)((wxObject *) ((wxFileSystem *) x));
9734 }
9735 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
9736 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
9737 }
9738 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
9739 return (void *)((wxObject *) ((wxPrintPreview *) x));
9740 }
9741 static void *_p_wxListViewTo_p_wxObject(void *x) {
9742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
9743 }
9744 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
9745 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
9746 }
9747 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
9748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
9749 }
9750 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
9751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
9752 }
9753 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
9754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
9755 }
9756 static void *_p_wxSizerTo_p_wxObject(void *x) {
9757 return (void *)((wxObject *) ((wxSizer *) x));
9758 }
9759 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
9760 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
9761 }
9762 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
9763 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
9764 }
9765 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
9766 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
9767 }
9768 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
9769 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
9770 }
9771 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
9772 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
9773 }
9774 static void *_p_wxFSFileTo_p_wxObject(void *x) {
9775 return (void *)((wxObject *) ((wxFSFile *) x));
9776 }
9777 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
9778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
9779 }
9780 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
9781 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
9782 }
9783 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
9784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
9785 }
9786 static void *_p_wxMenuTo_p_wxObject(void *x) {
9787 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
9788 }
9789 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
9790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
9791 }
9792 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
9793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
9794 }
9795 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
9796 return (void *)((wxObject *) ((wxSizerItem *) x));
9797 }
9798 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
9799 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
9800 }
9801 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
9802 return (void *)((wxObject *) ((wxPrintDialog *) x));
9803 }
9804 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
9805 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
9806 }
9807 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
9808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
9809 }
9810 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
9811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
9812 }
9813 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
9814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
9815 }
9816 static void *_p_wxDialogTo_p_wxObject(void *x) {
9817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
9818 }
9819 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
9820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
9821 }
9822 static void *_p_wxPyEventTo_p_wxObject(void *x) {
9823 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
9824 }
9825 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
9826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
9827 }
9828 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
9829 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
9830 }
9831 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
9832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
9833 }
9834 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
9835 return (void *)((wxObject *) ((wxEvtHandler *) x));
9836 }
9837 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
9838 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
9839 }
9840 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
9841 return (void *)((wxObject *) ((wxImageHandler *) x));
9842 }
9843 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
9844 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
9845 }
9846 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
9847 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
9848 }
9849 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
9850 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
9851 }
9852 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
9853 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
9854 }
9855 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
9856 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
9857 }
9858 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
9859 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
9860 }
9861 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
9862 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
9863 }
9864 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
9865 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
9866 }
9867 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
9868 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
9869 }
9870 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
9871 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
9872 }
9873 static void *_p_wxShowEventTo_p_wxObject(void *x) {
9874 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
9875 }
9876 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
9877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
9878 }
9879 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
9880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
9881 }
9882 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
9883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
9884 }
9885 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
9886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
9887 }
9888 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
9889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
9890 }
9891 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
9892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
9893 }
9894 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
9895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
9896 }
9897 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
9898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
9899 }
9900 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
9901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
9902 }
9903 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
9904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
9905 }
9906 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
9907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
9908 }
9909 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
9910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
9911 }
9912 static void *_p_wxWindowTo_p_wxObject(void *x) {
9913 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
9914 }
9915 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
9916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
9917 }
9918 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
9919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
9920 }
9921 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
9922 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
9923 }
9924 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
9925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
9926 }
9927 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
9928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
9929 }
9930 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
9931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
9932 }
9933 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
9934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
9935 }
9936 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
9937 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
9938 }
9939 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
9940 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
9941 }
9942 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
9943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
9944 }
9945 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
9946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
9947 }
9948 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
9949 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
9950 }
9951 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
9952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
9953 }
9954 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
9955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
9956 }
9957 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
9958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
9959 }
9960 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
9961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
9962 }
9963 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
9964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
9965 }
9966 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
9967 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
9968 }
9969 static void *_p_wxSliderTo_p_wxObject(void *x) {
9970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
9971 }
9972 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
9973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
9974 }
9975 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
9976 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
9977 }
9978 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
9979 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
9980 }
9981 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
9982 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
9983 }
9984 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
9985 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
9986 }
9987 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
9988 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
9989 }
9990 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
9991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
9992 }
9993 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
9994 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
9995 }
9996 static void *_p_wxPanelTo_p_wxObject(void *x) {
9997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
9998 }
9999 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
10000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
10001 }
10002 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
10003 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
10004 }
10005 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
10006 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
10007 }
10008 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
10009 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
10010 }
10011 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
10012 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
10013 }
10014 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
10015 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10016 }
10017 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
10018 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
10019 }
10020 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
10021 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
10022 }
10023 static void *_p_wxToolBarTo_p_wxObject(void *x) {
10024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10025 }
10026 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
10027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
10028 }
10029 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
10030 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
10031 }
10032 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
10033 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
10034 }
10035 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
10036 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
10037 }
10038 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
10039 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10040 }
10041 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
10042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
10043 }
10044 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
10045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
10046 }
10047 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
10048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
10049 }
10050 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
10051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
10052 }
10053 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
10054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
10055 }
10056 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
10057 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10058 }
10059 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
10060 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
10061 }
10062 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
10063 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
10064 }
10065 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
10066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
10067 }
10068 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
10069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
10070 }
10071 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
10072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
10073 }
10074 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
10075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
10076 }
10077 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
10078 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
10079 }
10080 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
10081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
10082 }
10083 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
10084 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
10085 }
10086 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
10087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
10088 }
10089 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
10090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
10091 }
10092 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
10093 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
10094 }
10095 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
10096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
10097 }
10098 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
10099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
10100 }
10101 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
10102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
10103 }
10104 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
10105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
10106 }
10107 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
10108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
10109 }
10110 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
10111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
10112 }
10113 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
10114 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
10115 }
10116 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
10117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
10118 }
10119 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
10120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
10121 }
10122 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
10123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
10124 }
10125 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
10126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
10127 }
10128 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
10129 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
10130 }
10131 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
10132 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
10133 }
10134 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
10135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
10136 }
10137 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
10138 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
10139 }
10140 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
10141 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
10142 }
10143 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
10144 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
10145 }
10146 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
10147 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
10148 }
10149 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
10150 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
10151 }
10152 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
10153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
10154 }
10155 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
10156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
10157 }
10158 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
10159 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
10160 }
10161 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
10162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
10163 }
10164 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
10165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
10166 }
10167 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
10168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
10169 }
10170 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
10171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
10172 }
10173 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
10174 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
10175 }
10176 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
10177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
10178 }
10179 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
10180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
10181 }
10182 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
10183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
10184 }
10185 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
10186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
10187 }
10188 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
10189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
10190 }
10191 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
10192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
10193 }
10194 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
10195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
10196 }
10197 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
10198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
10199 }
10200 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
10201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
10202 }
10203 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
10204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
10205 }
10206 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
10207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
10208 }
10209 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
10210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
10211 }
10212 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
10213 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
10214 }
10215 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
10216 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
10217 }
10218 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
10219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
10220 }
10221 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
10222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
10223 }
10224 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
10225 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
10226 }
10227 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
10228 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
10229 }
10230 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
10231 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
10232 }
10233 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
10234 return (void *)((wxEvtHandler *) ((wxWindow *) x));
10235 }
10236 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
10237 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
10238 }
10239 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
10240 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
10241 }
10242 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
10243 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
10244 }
10245 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
10246 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
10247 }
10248 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
10249 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
10250 }
10251 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
10252 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
10253 }
10254 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
10255 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
10256 }
10257 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
10258 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
10259 }
10260 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
10261 return (void *)((wxEvtHandler *) ((wxMenu *) x));
10262 }
10263 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
10264 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
10265 }
10266 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
10267 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
10268 }
10269 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
10270 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
10271 }
10272 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
10273 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
10274 }
10275 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
10276 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
10277 }
10278 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
10279 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
10280 }
10281 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
10282 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
10283 }
10284 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
10285 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
10286 }
10287 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
10288 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
10289 }
10290 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
10291 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
10292 }
10293 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
10294 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
10295 }
10296 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
10297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
10298 }
10299 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
10300 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
10301 }
10302 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
10303 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
10304 }
10305 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
10306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
10307 }
10308 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
10309 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
10310 }
10311 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
10312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
10313 }
10314 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
10315 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
10316 }
10317 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
10318 return (void *)((wxEvtHandler *) ((wxValidator *) x));
10319 }
10320 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
10321 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
10322 }
10323 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
10324 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
10325 }
10326 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
10327 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
10328 }
10329 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
10330 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
10331 }
10332 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
10333 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
10334 }
10335 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
10336 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
10337 }
10338 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
10339 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
10340 }
10341 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
10342 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
10343 }
10344 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
10345 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
10346 }
10347 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
10348 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
10349 }
10350 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
10351 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
10352 }
10353 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
10354 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
10355 }
10356 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
10357 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
10358 }
10359 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
10360 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
10361 }
10362 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
10363 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
10364 }
10365 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
10366 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
10367 }
10368 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
10369 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
10370 }
10371 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
10372 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
10373 }
10374 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
10375 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
10376 }
10377 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
10378 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
10379 }
10380 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
10381 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
10382 }
10383 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
10384 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
10385 }
10386 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
10387 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
10388 }
10389 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
10390 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
10391 }
10392 static 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}};
10393 static 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}};
10394 static 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}};
10395 static 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}};
10396 static 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}};
10397 static 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}};
10398 static 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}};
10399 static 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}};
10400 static 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}};
10401 static 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}};
10402 static 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}};
10403 static 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}};
10404 static 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}};
10405 static 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}};
10406 static 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}};
10407 static 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}};
10408 static 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}};
10409 static 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}};
10410 static 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}};
10411 static 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}};
10412 static 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}};
10413 static 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}};
10414 static 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}};
10415 static 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}};
10416 static 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}};
10417 static 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}};
10418 static 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}};
10419 static 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}};
10420 static 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}};
10421 static 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}};
10422 static 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}};
10423 static 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}};
10424 static 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}};
10425 static 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}};
10426 static 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}};
10427 static 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}};
10428 static 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}};
10429 static 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}};
10430 static 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}};
10431 static 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}};
10432 static 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}};
10433 static 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}};
10434 static 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}};
10435 static 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}};
10436 static 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}};
10437
10438 static swig_type_info *swig_types_initial[] = {
10439 _swigt__p_wxColour,
10440 _swigt__p_wxTreeListColumnInfo,
10441 _swigt__p_form_ops_t,
10442 _swigt__p_wxDuplexMode,
10443 _swigt__p_wxValidator,
10444 _swigt__p_char,
10445 _swigt__p_wxPanel,
10446 _swigt__p_wxDynamicSashUnifyEvent,
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,
10457 _swigt__p_wxControl,
10458 _swigt__p_wxPyListCtrl,
10459 _swigt__p_wxPyTreeListCtrl,
10460 _swigt__p_wxEvent,
10461 _swigt__p_wxObject,
10462 _swigt__p_wxBitmap,
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,
10473 _swigt__p_wxIcon,
10474 _swigt__ptrdiff_t,
10475 _swigt__std__ptrdiff_t,
10476 _swigt__p_wxArrayString,
10477 _swigt__p_wxCommandEvent,
10478 _swigt__p_wxTreeItemId,
10479 _swigt__p_float,
10480 _swigt__p_int,
10481 _swigt__p_unsigned_long,
10482 _swigt__p_wxStaticPicture,
10483 _swigt__p_wxPyTreeItemData,
10484 0
10485 };
10486
10487
10488 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
10489
10490 static swig_const_info swig_const_table[] = {
10491 {0, 0, 0, 0.0, 0, 0}};
10492
10493 #ifdef __cplusplus
10494 }
10495 #endif
10496
10497
10498 #ifdef __cplusplus
10499 extern "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
10798 extern "C"
10799 #endif
10800 SWIGEXPORT(void *) SWIG_ReturnGlobalTypeList(void *);
10801 #endif
10802
10803 #ifdef __cplusplus
10804 extern "C"
10805 #endif
10806 SWIGEXPORT(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();
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
10816 m = Py_InitModule((char *) SWIG_name, SwigMethods);
10817 d = PyModule_GetDict(m);
10818
10819 if (!typeinit) {
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
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
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);
10838 SWIG_addvarlink(SWIG_globals,(char*)"StaticPictureNameStr",_wrap_StaticPictureNameStr_get, _wrap_StaticPictureNameStr_set);
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 }
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));
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 }
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 }
10913
10914
10915 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
10916 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
10917
10918 }
10919