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