]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_float swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2487 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxChoice swig_types[23]
2490 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2491 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxCollapsiblePane swig_types[28]
2495 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourData swig_types[31]
2498 #define SWIGTYPE_p_wxColourDialog swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDialog swig_types[44]
2511 #define SWIGTYPE_p_wxDirDialog swig_types[45]
2512 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDropFilesEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDuplexMode swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[51]
2518 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[52]
2519 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[53]
2520 #define SWIGTYPE_p_wxEditableListBox swig_types[54]
2521 #define SWIGTYPE_p_wxEraseEvent swig_types[55]
2522 #define SWIGTYPE_p_wxEvent swig_types[56]
2523 #define SWIGTYPE_p_wxEventBlocker swig_types[57]
2524 #define SWIGTYPE_p_wxEvtHandler swig_types[58]
2525 #define SWIGTYPE_p_wxFSFile swig_types[59]
2526 #define SWIGTYPE_p_wxFileDialog swig_types[60]
2527 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[62]
2529 #define SWIGTYPE_p_wxFileSystem swig_types[63]
2530 #define SWIGTYPE_p_wxFindDialogEvent swig_types[64]
2531 #define SWIGTYPE_p_wxFindReplaceData swig_types[65]
2532 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[66]
2533 #define SWIGTYPE_p_wxFlexGridSizer swig_types[67]
2534 #define SWIGTYPE_p_wxFocusEvent swig_types[68]
2535 #define SWIGTYPE_p_wxFont swig_types[69]
2536 #define SWIGTYPE_p_wxFontData swig_types[70]
2537 #define SWIGTYPE_p_wxFontDialog swig_types[71]
2538 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[72]
2539 #define SWIGTYPE_p_wxFontPickerEvent swig_types[73]
2540 #define SWIGTYPE_p_wxFrame swig_types[74]
2541 #define SWIGTYPE_p_wxGBSizerItem swig_types[75]
2542 #define SWIGTYPE_p_wxGIFHandler swig_types[76]
2543 #define SWIGTYPE_p_wxGauge swig_types[77]
2544 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[78]
2545 #define SWIGTYPE_p_wxGenericDragImage swig_types[79]
2546 #define SWIGTYPE_p_wxGridBagSizer swig_types[80]
2547 #define SWIGTYPE_p_wxGridSizer swig_types[81]
2548 #define SWIGTYPE_p_wxHelpEvent swig_types[82]
2549 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[83]
2550 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[84]
2551 #define SWIGTYPE_p_wxICOHandler swig_types[85]
2552 #define SWIGTYPE_p_wxIcon swig_types[86]
2553 #define SWIGTYPE_p_wxIconizeEvent swig_types[87]
2554 #define SWIGTYPE_p_wxIdleEvent swig_types[88]
2555 #define SWIGTYPE_p_wxImage swig_types[89]
2556 #define SWIGTYPE_p_wxImageHandler swig_types[90]
2557 #define SWIGTYPE_p_wxImageList swig_types[91]
2558 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[92]
2559 #define SWIGTYPE_p_wxInitDialogEvent swig_types[93]
2560 #define SWIGTYPE_p_wxJPEGHandler swig_types[94]
2561 #define SWIGTYPE_p_wxKeyEvent swig_types[95]
2562 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[96]
2563 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[97]
2564 #define SWIGTYPE_p_wxLayoutConstraints swig_types[98]
2565 #define SWIGTYPE_p_wxListBox swig_types[99]
2566 #define SWIGTYPE_p_wxListEvent swig_types[100]
2567 #define SWIGTYPE_p_wxListItem swig_types[101]
2568 #define SWIGTYPE_p_wxListView swig_types[102]
2569 #define SWIGTYPE_p_wxListbook swig_types[103]
2570 #define SWIGTYPE_p_wxListbookEvent swig_types[104]
2571 #define SWIGTYPE_p_wxMDIChildFrame swig_types[105]
2572 #define SWIGTYPE_p_wxMDIClientWindow swig_types[106]
2573 #define SWIGTYPE_p_wxMDIParentFrame swig_types[107]
2574 #define SWIGTYPE_p_wxMaximizeEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenu swig_types[109]
2576 #define SWIGTYPE_p_wxMenuBar swig_types[110]
2577 #define SWIGTYPE_p_wxMenuEvent swig_types[111]
2578 #define SWIGTYPE_p_wxMenuItem swig_types[112]
2579 #define SWIGTYPE_p_wxMessageDialog swig_types[113]
2580 #define SWIGTYPE_p_wxMiniFrame swig_types[114]
2581 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[116]
2583 #define SWIGTYPE_p_wxMouseEvent swig_types[117]
2584 #define SWIGTYPE_p_wxMoveEvent swig_types[118]
2585 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[119]
2586 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNcPaintEvent swig_types[121]
2588 #define SWIGTYPE_p_wxNotebook swig_types[122]
2589 #define SWIGTYPE_p_wxNotebookEvent swig_types[123]
2590 #define SWIGTYPE_p_wxNotifyEvent swig_types[124]
2591 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[125]
2592 #define SWIGTYPE_p_wxObject swig_types[126]
2593 #define SWIGTYPE_p_wxPCXHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPNGHandler swig_types[128]
2595 #define SWIGTYPE_p_wxPNMHandler swig_types[129]
2596 #define SWIGTYPE_p_wxPageSetupDialog swig_types[130]
2597 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[131]
2598 #define SWIGTYPE_p_wxPaintEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[133]
2600 #define SWIGTYPE_p_wxPanel swig_types[134]
2601 #define SWIGTYPE_p_wxPaperSize swig_types[135]
2602 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[136]
2603 #define SWIGTYPE_p_wxPickerBase swig_types[137]
2604 #define SWIGTYPE_p_wxPopupWindow swig_types[138]
2605 #define SWIGTYPE_p_wxPreviewCanvas swig_types[139]
2606 #define SWIGTYPE_p_wxPreviewControlBar swig_types[140]
2607 #define SWIGTYPE_p_wxPreviewFrame swig_types[141]
2608 #define SWIGTYPE_p_wxPrintData swig_types[142]
2609 #define SWIGTYPE_p_wxPrintDialog swig_types[143]
2610 #define SWIGTYPE_p_wxPrintDialogData swig_types[144]
2611 #define SWIGTYPE_p_wxPrintPreview swig_types[145]
2612 #define SWIGTYPE_p_wxPrinter swig_types[146]
2613 #define SWIGTYPE_p_wxProgressDialog swig_types[147]
2614 #define SWIGTYPE_p_wxPyApp swig_types[148]
2615 #define SWIGTYPE_p_wxPyCommandEvent swig_types[149]
2616 #define SWIGTYPE_p_wxPyControl swig_types[150]
2617 #define SWIGTYPE_p_wxPyEvent swig_types[151]
2618 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[152]
2619 #define SWIGTYPE_p_wxPyImageHandler swig_types[153]
2620 #define SWIGTYPE_p_wxPyListCtrl swig_types[154]
2621 #define SWIGTYPE_p_wxPyPanel swig_types[155]
2622 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[156]
2623 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[157]
2624 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[158]
2625 #define SWIGTYPE_p_wxPyPrintPreview swig_types[159]
2626 #define SWIGTYPE_p_wxPyPrintout swig_types[160]
2627 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPySizer swig_types[162]
2629 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[164]
2631 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[165]
2632 #define SWIGTYPE_p_wxPyTreeItemData swig_types[166]
2633 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[167]
2634 #define SWIGTYPE_p_wxPyVListBox swig_types[168]
2635 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[169]
2636 #define SWIGTYPE_p_wxPyValidator swig_types[170]
2637 #define SWIGTYPE_p_wxPyWindow swig_types[171]
2638 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[172]
2639 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[173]
2640 #define SWIGTYPE_p_wxRadioBox swig_types[174]
2641 #define SWIGTYPE_p_wxRadioButton swig_types[175]
2642 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[176]
2643 #define SWIGTYPE_p_wxSashEvent swig_types[177]
2644 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[178]
2645 #define SWIGTYPE_p_wxSashWindow swig_types[179]
2646 #define SWIGTYPE_p_wxScrollBar swig_types[180]
2647 #define SWIGTYPE_p_wxScrollEvent swig_types[181]
2648 #define SWIGTYPE_p_wxScrollWinEvent swig_types[182]
2649 #define SWIGTYPE_p_wxScrolledWindow swig_types[183]
2650 #define SWIGTYPE_p_wxSearchCtrl swig_types[184]
2651 #define SWIGTYPE_p_wxSetCursorEvent swig_types[185]
2652 #define SWIGTYPE_p_wxShowEvent swig_types[186]
2653 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[187]
2654 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[188]
2655 #define SWIGTYPE_p_wxSizeEvent swig_types[189]
2656 #define SWIGTYPE_p_wxSizer swig_types[190]
2657 #define SWIGTYPE_p_wxSizerItem swig_types[191]
2658 #define SWIGTYPE_p_wxSlider swig_types[192]
2659 #define SWIGTYPE_p_wxSpinButton swig_types[193]
2660 #define SWIGTYPE_p_wxSpinCtrl swig_types[194]
2661 #define SWIGTYPE_p_wxSpinEvent swig_types[195]
2662 #define SWIGTYPE_p_wxSplashScreen swig_types[196]
2663 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[197]
2664 #define SWIGTYPE_p_wxSplitterEvent swig_types[198]
2665 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[199]
2666 #define SWIGTYPE_p_wxSplitterWindow swig_types[200]
2667 #define SWIGTYPE_p_wxStaticBitmap swig_types[201]
2668 #define SWIGTYPE_p_wxStaticBox swig_types[202]
2669 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[203]
2670 #define SWIGTYPE_p_wxStaticLine swig_types[204]
2671 #define SWIGTYPE_p_wxStaticPicture swig_types[205]
2672 #define SWIGTYPE_p_wxStaticText swig_types[206]
2673 #define SWIGTYPE_p_wxStatusBar swig_types[207]
2674 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[208]
2675 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[209]
2676 #define SWIGTYPE_p_wxTGAHandler swig_types[210]
2677 #define SWIGTYPE_p_wxTIFFHandler swig_types[211]
2678 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[212]
2679 #define SWIGTYPE_p_wxTextCtrl swig_types[213]
2680 #define SWIGTYPE_p_wxTextEntryDialog swig_types[214]
2681 #define SWIGTYPE_p_wxTextUrlEvent swig_types[215]
2682 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[216]
2683 #define SWIGTYPE_p_wxTipWindow swig_types[217]
2684 #define SWIGTYPE_p_wxToggleButton swig_types[218]
2685 #define SWIGTYPE_p_wxToolBar swig_types[219]
2686 #define SWIGTYPE_p_wxToolBarBase swig_types[220]
2687 #define SWIGTYPE_p_wxToolBarToolBase swig_types[221]
2688 #define SWIGTYPE_p_wxToolbook swig_types[222]
2689 #define SWIGTYPE_p_wxToolbookEvent swig_types[223]
2690 #define SWIGTYPE_p_wxTopLevelWindow swig_types[224]
2691 #define SWIGTYPE_p_wxTreeEvent swig_types[225]
2692 #define SWIGTYPE_p_wxTreeItemId swig_types[226]
2693 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[227]
2694 #define SWIGTYPE_p_wxTreebook swig_types[228]
2695 #define SWIGTYPE_p_wxTreebookEvent swig_types[229]
2696 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[230]
2697 #define SWIGTYPE_p_wxValidator swig_types[231]
2698 #define SWIGTYPE_p_wxWindow swig_types[232]
2699 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[233]
2700 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[234]
2701 #define SWIGTYPE_p_wxXPMHandler swig_types[235]
2702 static swig_type_info *swig_types[237];
2703 static swig_module_info swig_module = {swig_types, 236, 0, 0, 0, 0};
2704 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2705 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2706
2707 /* -------- TYPES TABLE (END) -------- */
2708
2709 #if (PY_VERSION_HEX <= 0x02000000)
2710 # if !defined(SWIG_PYTHON_CLASSIC)
2711 # error "This python version requires to use swig with the '-classic' option"
2712 # endif
2713 #endif
2714 #if (PY_VERSION_HEX <= 0x02020000)
2715 # error "This python version requires to use swig with the '-nomodern' option"
2716 #endif
2717 #if (PY_VERSION_HEX <= 0x02020000)
2718 # error "This python version requires to use swig with the '-nomodernargs' option"
2719 #endif
2720 #ifndef METH_O
2721 # error "This python version requires to use swig with the '-nofastunpack' option"
2722 #endif
2723
2724 /*-----------------------------------------------
2725 @(target):= _gizmos.so
2726 ------------------------------------------------*/
2727 #define SWIG_init init_gizmos
2728
2729 #define SWIG_name "_gizmos"
2730
2731 #define SWIGVERSION 0x010329
2732
2733
2734 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2735 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2736
2737
2738 #include <stdexcept>
2739
2740
2741 namespace swig {
2742 class PyObject_ptr {
2743 protected:
2744 PyObject *_obj;
2745
2746 public:
2747 PyObject_ptr() :_obj(0)
2748 {
2749 }
2750
2751 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2752 {
2753 Py_XINCREF(_obj);
2754 }
2755
2756 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2757 {
2758 if (initial_ref) Py_XINCREF(_obj);
2759 }
2760
2761 PyObject_ptr & operator=(const PyObject_ptr& item)
2762 {
2763 Py_XINCREF(item._obj);
2764 Py_XDECREF(_obj);
2765 _obj = item._obj;
2766 return *this;
2767 }
2768
2769 ~PyObject_ptr()
2770 {
2771 Py_XDECREF(_obj);
2772 }
2773
2774 operator PyObject *() const
2775 {
2776 return _obj;
2777 }
2778
2779 PyObject *operator->() const
2780 {
2781 return _obj;
2782 }
2783 };
2784 }
2785
2786
2787 namespace swig {
2788 struct PyObject_var : PyObject_ptr {
2789 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2790
2791 PyObject_var & operator = (PyObject* obj)
2792 {
2793 Py_XDECREF(_obj);
2794 _obj = obj;
2795 return *this;
2796 }
2797 };
2798 }
2799
2800
2801 #include "wx/wxPython/wxPython.h"
2802 #include "wx/wxPython/pyclasses.h"
2803
2804 #include <wx/gizmos/dynamicsash.h>
2805 #include <wx/gizmos/editlbox.h>
2806 #include <wx/gizmos/splittree.h>
2807 #include <wx/gizmos/ledctrl.h>
2808 #include <wx/gizmos/statpict.h>
2809
2810 #include <wx/listctrl.h>
2811 #include <wx/treectrl.h>
2812 #include <wx/imaglist.h>
2813
2814
2815 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2816 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2817 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2818 static const wxString wxPyEmptyString(wxEmptyString);
2819
2820 #define SWIG_From_long PyInt_FromLong
2821
2822
2823 SWIGINTERNINLINE PyObject *
2824 SWIG_From_int (int value)
2825 {
2826 return SWIG_From_long (value);
2827 }
2828
2829
2830 #include <limits.h>
2831 #ifndef LLONG_MIN
2832 # define LLONG_MIN LONG_LONG_MIN
2833 #endif
2834 #ifndef LLONG_MAX
2835 # define LLONG_MAX LONG_LONG_MAX
2836 #endif
2837 #ifndef ULLONG_MAX
2838 # define ULLONG_MAX ULONG_LONG_MAX
2839 #endif
2840
2841
2842 SWIGINTERN int
2843 SWIG_AsVal_long (PyObject* obj, long* val)
2844 {
2845 if (PyNumber_Check(obj)) {
2846 if (val) *val = PyInt_AsLong(obj);
2847 return SWIG_OK;
2848 }
2849 return SWIG_TypeError;
2850 }
2851
2852
2853 SWIGINTERN int
2854 SWIG_AsVal_int (PyObject * obj, int *val)
2855 {
2856 long v;
2857 int res = SWIG_AsVal_long (obj, &v);
2858 if (SWIG_IsOK(res)) {
2859 if ((v < INT_MIN || v > INT_MAX)) {
2860 return SWIG_OverflowError;
2861 } else {
2862 if (val) *val = static_cast< int >(v);
2863 }
2864 }
2865 return res;
2866 }
2867
2868 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2869 wxArrayString strings;
2870 self->GetStrings(strings);
2871 return wxArrayString2PyList_helper(strings);
2872 }
2873
2874 typedef wxTreeCtrl wxPyTreeCtrl;
2875
2876
2877 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2878 {
2879 public:
2880 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2881 const wxPoint& pos = wxDefaultPosition,
2882 const wxSize& size = wxDefaultSize,
2883 long style = 0)
2884 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2885
2886
2887 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2888 bool found;
2889 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2890 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2891 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2892 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2893 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2894 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2895 Py_DECREF(dcobj);
2896 Py_DECREF(idobj);
2897 Py_DECREF(recobj);
2898 }
2899 wxPyEndBlockThreads(blocked);
2900 if (! found)
2901 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2902 }
2903
2904 PYPRIVATE;
2905 };
2906
2907
2908 SWIGINTERN int
2909 SWIG_AsVal_bool (PyObject *obj, bool *val)
2910 {
2911 if (obj == Py_True) {
2912 if (val) *val = true;
2913 return SWIG_OK;
2914 } else if (obj == Py_False) {
2915 if (val) *val = false;
2916 return SWIG_OK;
2917 } else {
2918 long v = 0;
2919 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2920 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2921 return res;
2922 }
2923 }
2924
2925
2926 #include "wx/treelistctrl.h"
2927 #include "wx/wxPython/pytree.h"
2928
2929
2930 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2931
2932 SWIGINTERNINLINE PyObject*
2933 SWIG_From_unsigned_SS_long (unsigned long value)
2934 {
2935 return (value > LONG_MAX) ?
2936 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2937 }
2938
2939
2940 SWIGINTERNINLINE PyObject *
2941 SWIG_From_size_t (size_t value)
2942 {
2943 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2944 }
2945
2946
2947 SWIGINTERN int
2948 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2949 {
2950 long v = 0;
2951 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2952 return SWIG_TypeError;
2953 }
2954 else if (val)
2955 *val = (unsigned long)v;
2956 return SWIG_OK;
2957 }
2958
2959
2960 SWIGINTERNINLINE int
2961 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2962 {
2963 unsigned long v;
2964 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2965 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2966 return res;
2967 }
2968
2969 // C++ version of Python aware control
2970 class wxPyTreeListCtrl : public wxTreeListCtrl {
2971 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2972 public:
2973 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2974 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2975 const wxPoint& pos,
2976 const wxSize& size,
2977 long style,
2978 const wxValidator &validator,
2979 const wxString& name) :
2980 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2981
2982 virtual int OnCompareItems(const wxTreeItemId& item1,
2983 const wxTreeItemId& item2) {
2984 int rval = 0;
2985 bool found;
2986 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2987 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2988 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2989 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2990 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2991 Py_DECREF(o1);
2992 Py_DECREF(o2);
2993 }
2994 wxPyEndBlockThreads(blocked);
2995 if (! found)
2996 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2997 return rval;
2998 }
2999
3000 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
3001 wxString rval;
3002 bool found;
3003 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3004 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
3005 PyObject* ro;
3006 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3007 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3008 Py_DECREF(itemo);
3009 if (ro) {
3010 rval = Py2wxString(ro);
3011 Py_DECREF(ro);
3012 }
3013 }
3014 wxPyEndBlockThreads(blocked);
3015 if (! found)
3016 rval = wxTreeListCtrl::OnGetItemText(item, column);
3017 return rval;
3018 }
3019
3020 PYPRIVATE;
3021 };
3022
3023 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3024
3025
3026
3027 SWIGINTERNINLINE PyObject *
3028 SWIG_From_unsigned_SS_int (unsigned int value)
3029 {
3030 return SWIG_From_unsigned_SS_long (value);
3031 }
3032
3033
3034 SWIGINTERN int
3035 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3036 {
3037 unsigned long v;
3038 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3039 if (SWIG_IsOK(res)) {
3040 if ((v > UINT_MAX)) {
3041 return SWIG_OverflowError;
3042 } else {
3043 if (val) *val = static_cast< unsigned int >(v);
3044 }
3045 }
3046 return res;
3047 }
3048
3049 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3050 if (column < 0) column = self->GetMainColumn();
3051 return self->GetItemText(item, column);
3052 }
3053 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3054 if (column < 0) column = self->GetMainColumn();
3055 return self->GetItemImage(item, column, which);
3056 }
3057 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3058 if (column < 0) column = self->GetMainColumn();
3059 self->SetItemText(item, column, text);
3060 }
3061 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3062 if (column < 0) column = self->GetMainColumn();
3063 self->SetItemImage(item, column, image, which);
3064 }
3065 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3066 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3067 if (data == NULL) {
3068 data = new wxPyTreeItemData();
3069 data->SetId(item); // set the id
3070 self->SetItemData(item, data);
3071 }
3072 return data;
3073 }
3074 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3075 data->SetId(item); // set the id
3076 self->SetItemData(item, data);
3077 }
3078 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3079 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3080 if (data == NULL) {
3081 data = new wxPyTreeItemData();
3082 data->SetId(item); // set the id
3083 self->SetItemData(item, data);
3084 }
3085 return data->GetData();
3086 }
3087 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3088 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3089 if (data == NULL) {
3090 data = new wxPyTreeItemData(obj);
3091 data->SetId(item); // set the id
3092 self->SetItemData(item, data);
3093 } else
3094 data->SetData(obj);
3095 }
3096 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3097 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3098 PyObject* rval = PyList_New(0);
3099 wxArrayTreeItemIds array;
3100 size_t num, x;
3101 num = self->GetSelections(array);
3102 for (x=0; x < num; x++) {
3103 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3104 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3105 PyList_Append(rval, item);
3106 Py_DECREF(item);
3107 }
3108 wxPyEndBlockThreads(blocked);
3109 return rval;
3110 }
3111 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3112 void* cookie = 0;
3113 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3114 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3115 PyObject* tup = PyTuple_New(2);
3116 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3117 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3118 wxPyEndBlockThreads(blocked);
3119 return tup;
3120 }
3121 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3122 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3123 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3124 PyObject* tup = PyTuple_New(2);
3125 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3126 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3127 wxPyEndBlockThreads(blocked);
3128 return tup;
3129 }
3130 SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3131 void* cookie = 0;
3132 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3133 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3134 PyObject* tup = PyTuple_New(2);
3135 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3136 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3137 wxPyEndBlockThreads(blocked);
3138 return tup;
3139 }
3140 SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3141 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3142 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3143 PyObject* tup = PyTuple_New(2);
3144 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3145 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3146 wxPyEndBlockThreads(blocked);
3147 return tup;
3148 }
3149 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3150 wxRect rect;
3151 if (self->GetBoundingRect(item, rect, textOnly)) {
3152 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3153 wxRect* r = new wxRect(rect);
3154 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3155 wxPyEndBlockThreads(blocked);
3156 return val;
3157 }
3158 else {
3159 RETURN_NONE();
3160 }
3161 }
3162 SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3163 if (column < 0) column = self->GetMainColumn();
3164 self->EditLabel(item, column);
3165 }
3166
3167 #include <float.h>
3168
3169
3170 SWIGINTERN int
3171 SWIG_AsVal_double (PyObject *obj, double* val)
3172 {
3173 if (PyNumber_Check(obj)) {
3174 if (val) *val = PyFloat_AsDouble(obj);
3175 return SWIG_OK;
3176 }
3177 return SWIG_TypeError;
3178 }
3179
3180
3181 SWIGINTERN int
3182 SWIG_AsVal_float (PyObject * obj, float *val)
3183 {
3184 double v;
3185 int res = SWIG_AsVal_double (obj, &v);
3186 if (SWIG_IsOK(res)) {
3187 if ((v < -FLT_MAX || v > FLT_MAX)) {
3188 return SWIG_OverflowError;
3189 } else {
3190 if (val) *val = static_cast< float >(v);
3191 }
3192 }
3193 return res;
3194 }
3195
3196
3197 #define SWIG_From_double PyFloat_FromDouble
3198
3199
3200 SWIGINTERNINLINE PyObject *
3201 SWIG_From_float (float value)
3202 {
3203 return SWIG_From_double (value);
3204 }
3205
3206 #ifdef __cplusplus
3207 extern "C" {
3208 #endif
3209 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3210 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3211 return 1;
3212 }
3213
3214
3215 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3216 PyObject *pyobj = 0;
3217
3218 {
3219 #if wxUSE_UNICODE
3220 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3221 #else
3222 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3223 #endif
3224 }
3225 return pyobj;
3226 }
3227
3228
3229 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3230 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3231 return 1;
3232 }
3233
3234
3235 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3236 PyObject *pyobj = 0;
3237
3238 {
3239 #if wxUSE_UNICODE
3240 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3241 #else
3242 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3243 #endif
3244 }
3245 return pyobj;
3246 }
3247
3248
3249 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3250 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3251 return 1;
3252 }
3253
3254
3255 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3256 PyObject *pyobj = 0;
3257
3258 {
3259 #if wxUSE_UNICODE
3260 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3261 #else
3262 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3263 #endif
3264 }
3265 return pyobj;
3266 }
3267
3268
3269 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj = 0;
3271 wxObject *arg1 = (wxObject *) 0 ;
3272 wxDynamicSashSplitEvent *result = 0 ;
3273 void *argp1 = 0 ;
3274 int res1 = 0 ;
3275 PyObject * obj0 = 0 ;
3276 char * kwnames[] = {
3277 (char *) "target", NULL
3278 };
3279
3280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3282 if (!SWIG_IsOK(res1)) {
3283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3284 }
3285 arg1 = reinterpret_cast< wxObject * >(argp1);
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3289 wxPyEndAllowThreads(__tstate);
3290 if (PyErr_Occurred()) SWIG_fail;
3291 }
3292 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3293 return resultobj;
3294 fail:
3295 return NULL;
3296 }
3297
3298
3299 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3300 PyObject *obj;
3301 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3302 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3303 return SWIG_Py_Void();
3304 }
3305
3306 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3307 return SWIG_Python_InitShadowInstance(args);
3308 }
3309
3310 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj = 0;
3312 wxObject *arg1 = (wxObject *) 0 ;
3313 wxDynamicSashUnifyEvent *result = 0 ;
3314 void *argp1 = 0 ;
3315 int res1 = 0 ;
3316 PyObject * obj0 = 0 ;
3317 char * kwnames[] = {
3318 (char *) "target", NULL
3319 };
3320
3321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3323 if (!SWIG_IsOK(res1)) {
3324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3325 }
3326 arg1 = reinterpret_cast< wxObject * >(argp1);
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3341 PyObject *obj;
3342 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3343 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3344 return SWIG_Py_Void();
3345 }
3346
3347 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3348 return SWIG_Python_InitShadowInstance(args);
3349 }
3350
3351 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3352 PyObject *resultobj = 0;
3353 wxWindow *arg1 = (wxWindow *) 0 ;
3354 int arg2 = (int) -1 ;
3355 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3356 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3357 wxSize const &arg4_defvalue = wxDefaultSize ;
3358 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3359 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3360 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3361 wxString *arg6 = (wxString *) &arg6_defvalue ;
3362 wxDynamicSashWindow *result = 0 ;
3363 void *argp1 = 0 ;
3364 int res1 = 0 ;
3365 int val2 ;
3366 int ecode2 = 0 ;
3367 wxPoint temp3 ;
3368 wxSize temp4 ;
3369 long val5 ;
3370 int ecode5 = 0 ;
3371 bool temp6 = false ;
3372 PyObject * obj0 = 0 ;
3373 PyObject * obj1 = 0 ;
3374 PyObject * obj2 = 0 ;
3375 PyObject * obj3 = 0 ;
3376 PyObject * obj4 = 0 ;
3377 PyObject * obj5 = 0 ;
3378 char * kwnames[] = {
3379 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3380 };
3381
3382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3384 if (!SWIG_IsOK(res1)) {
3385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3386 }
3387 arg1 = reinterpret_cast< wxWindow * >(argp1);
3388 if (obj1) {
3389 ecode2 = SWIG_AsVal_int(obj1, &val2);
3390 if (!SWIG_IsOK(ecode2)) {
3391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3392 }
3393 arg2 = static_cast< int >(val2);
3394 }
3395 if (obj2) {
3396 {
3397 arg3 = &temp3;
3398 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3399 }
3400 }
3401 if (obj3) {
3402 {
3403 arg4 = &temp4;
3404 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3405 }
3406 }
3407 if (obj4) {
3408 ecode5 = SWIG_AsVal_long(obj4, &val5);
3409 if (!SWIG_IsOK(ecode5)) {
3410 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3411 }
3412 arg5 = static_cast< long >(val5);
3413 }
3414 if (obj5) {
3415 {
3416 arg6 = wxString_in_helper(obj5);
3417 if (arg6 == NULL) SWIG_fail;
3418 temp6 = true;
3419 }
3420 }
3421 {
3422 if (!wxPyCheckForApp()) SWIG_fail;
3423 PyThreadState* __tstate = wxPyBeginAllowThreads();
3424 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3425 wxPyEndAllowThreads(__tstate);
3426 if (PyErr_Occurred()) SWIG_fail;
3427 }
3428 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3429 {
3430 if (temp6)
3431 delete arg6;
3432 }
3433 return resultobj;
3434 fail:
3435 {
3436 if (temp6)
3437 delete arg6;
3438 }
3439 return NULL;
3440 }
3441
3442
3443 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3444 PyObject *resultobj = 0;
3445 wxDynamicSashWindow *result = 0 ;
3446
3447 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3448 {
3449 if (!wxPyCheckForApp()) SWIG_fail;
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3456 return resultobj;
3457 fail:
3458 return NULL;
3459 }
3460
3461
3462 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj = 0;
3464 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3465 wxWindow *arg2 = (wxWindow *) 0 ;
3466 int arg3 = (int) -1 ;
3467 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3468 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3469 wxSize const &arg5_defvalue = wxDefaultSize ;
3470 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3471 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3472 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3473 wxString *arg7 = (wxString *) &arg7_defvalue ;
3474 bool result;
3475 void *argp1 = 0 ;
3476 int res1 = 0 ;
3477 void *argp2 = 0 ;
3478 int res2 = 0 ;
3479 int val3 ;
3480 int ecode3 = 0 ;
3481 wxPoint temp4 ;
3482 wxSize temp5 ;
3483 long val6 ;
3484 int ecode6 = 0 ;
3485 bool temp7 = false ;
3486 PyObject * obj0 = 0 ;
3487 PyObject * obj1 = 0 ;
3488 PyObject * obj2 = 0 ;
3489 PyObject * obj3 = 0 ;
3490 PyObject * obj4 = 0 ;
3491 PyObject * obj5 = 0 ;
3492 PyObject * obj6 = 0 ;
3493 char * kwnames[] = {
3494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3495 };
3496
3497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3499 if (!SWIG_IsOK(res1)) {
3500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3501 }
3502 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3503 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3504 if (!SWIG_IsOK(res2)) {
3505 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3506 }
3507 arg2 = reinterpret_cast< wxWindow * >(argp2);
3508 if (obj2) {
3509 ecode3 = SWIG_AsVal_int(obj2, &val3);
3510 if (!SWIG_IsOK(ecode3)) {
3511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3512 }
3513 arg3 = static_cast< int >(val3);
3514 }
3515 if (obj3) {
3516 {
3517 arg4 = &temp4;
3518 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3519 }
3520 }
3521 if (obj4) {
3522 {
3523 arg5 = &temp5;
3524 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3525 }
3526 }
3527 if (obj5) {
3528 ecode6 = SWIG_AsVal_long(obj5, &val6);
3529 if (!SWIG_IsOK(ecode6)) {
3530 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3531 }
3532 arg6 = static_cast< long >(val6);
3533 }
3534 if (obj6) {
3535 {
3536 arg7 = wxString_in_helper(obj6);
3537 if (arg7 == NULL) SWIG_fail;
3538 temp7 = true;
3539 }
3540 }
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3549 }
3550 {
3551 if (temp7)
3552 delete arg7;
3553 }
3554 return resultobj;
3555 fail:
3556 {
3557 if (temp7)
3558 delete arg7;
3559 }
3560 return NULL;
3561 }
3562
3563
3564 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj = 0;
3566 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3567 wxWindow *arg2 = (wxWindow *) 0 ;
3568 wxScrollBar *result = 0 ;
3569 void *argp1 = 0 ;
3570 int res1 = 0 ;
3571 void *argp2 = 0 ;
3572 int res2 = 0 ;
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
3575 char * kwnames[] = {
3576 (char *) "self",(char *) "child", NULL
3577 };
3578
3579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3581 if (!SWIG_IsOK(res1)) {
3582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3583 }
3584 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3585 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3586 if (!SWIG_IsOK(res2)) {
3587 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3588 }
3589 arg2 = reinterpret_cast< wxWindow * >(argp2);
3590 {
3591 PyThreadState* __tstate = wxPyBeginAllowThreads();
3592 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3593 wxPyEndAllowThreads(__tstate);
3594 if (PyErr_Occurred()) SWIG_fail;
3595 }
3596 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3597 return resultobj;
3598 fail:
3599 return NULL;
3600 }
3601
3602
3603 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3604 PyObject *resultobj = 0;
3605 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3606 wxWindow *arg2 = (wxWindow *) 0 ;
3607 wxScrollBar *result = 0 ;
3608 void *argp1 = 0 ;
3609 int res1 = 0 ;
3610 void *argp2 = 0 ;
3611 int res2 = 0 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 char * kwnames[] = {
3615 (char *) "self",(char *) "child", NULL
3616 };
3617
3618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3620 if (!SWIG_IsOK(res1)) {
3621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3622 }
3623 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3624 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3625 if (!SWIG_IsOK(res2)) {
3626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3627 }
3628 arg2 = reinterpret_cast< wxWindow * >(argp2);
3629 {
3630 PyThreadState* __tstate = wxPyBeginAllowThreads();
3631 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3636 return resultobj;
3637 fail:
3638 return NULL;
3639 }
3640
3641
3642 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3643 PyObject *obj;
3644 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3645 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3646 return SWIG_Py_Void();
3647 }
3648
3649 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3650 return SWIG_Python_InitShadowInstance(args);
3651 }
3652
3653 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3654 PyObject *resultobj = 0;
3655 wxWindow *arg1 = (wxWindow *) 0 ;
3656 int arg2 = (int) -1 ;
3657 wxString const &arg3_defvalue = wxPyEmptyString ;
3658 wxString *arg3 = (wxString *) &arg3_defvalue ;
3659 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3660 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3661 wxSize const &arg5_defvalue = wxDefaultSize ;
3662 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3663 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3664 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3665 wxString *arg7 = (wxString *) &arg7_defvalue ;
3666 wxEditableListBox *result = 0 ;
3667 void *argp1 = 0 ;
3668 int res1 = 0 ;
3669 int val2 ;
3670 int ecode2 = 0 ;
3671 bool temp3 = false ;
3672 wxPoint temp4 ;
3673 wxSize temp5 ;
3674 long val6 ;
3675 int ecode6 = 0 ;
3676 bool temp7 = false ;
3677 PyObject * obj0 = 0 ;
3678 PyObject * obj1 = 0 ;
3679 PyObject * obj2 = 0 ;
3680 PyObject * obj3 = 0 ;
3681 PyObject * obj4 = 0 ;
3682 PyObject * obj5 = 0 ;
3683 PyObject * obj6 = 0 ;
3684 char * kwnames[] = {
3685 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3686 };
3687
3688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3690 if (!SWIG_IsOK(res1)) {
3691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3692 }
3693 arg1 = reinterpret_cast< wxWindow * >(argp1);
3694 if (obj1) {
3695 ecode2 = SWIG_AsVal_int(obj1, &val2);
3696 if (!SWIG_IsOK(ecode2)) {
3697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3698 }
3699 arg2 = static_cast< int >(val2);
3700 }
3701 if (obj2) {
3702 {
3703 arg3 = wxString_in_helper(obj2);
3704 if (arg3 == NULL) SWIG_fail;
3705 temp3 = true;
3706 }
3707 }
3708 if (obj3) {
3709 {
3710 arg4 = &temp4;
3711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3712 }
3713 }
3714 if (obj4) {
3715 {
3716 arg5 = &temp5;
3717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3718 }
3719 }
3720 if (obj5) {
3721 ecode6 = SWIG_AsVal_long(obj5, &val6);
3722 if (!SWIG_IsOK(ecode6)) {
3723 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3724 }
3725 arg6 = static_cast< long >(val6);
3726 }
3727 if (obj6) {
3728 {
3729 arg7 = wxString_in_helper(obj6);
3730 if (arg7 == NULL) SWIG_fail;
3731 temp7 = true;
3732 }
3733 }
3734 {
3735 if (!wxPyCheckForApp()) SWIG_fail;
3736 PyThreadState* __tstate = wxPyBeginAllowThreads();
3737 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3738 wxPyEndAllowThreads(__tstate);
3739 if (PyErr_Occurred()) SWIG_fail;
3740 }
3741 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3742 {
3743 if (temp3)
3744 delete arg3;
3745 }
3746 {
3747 if (temp7)
3748 delete arg7;
3749 }
3750 return resultobj;
3751 fail:
3752 {
3753 if (temp3)
3754 delete arg3;
3755 }
3756 {
3757 if (temp7)
3758 delete arg7;
3759 }
3760 return NULL;
3761 }
3762
3763
3764 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3765 PyObject *resultobj = 0;
3766 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3767 wxArrayString *arg2 = 0 ;
3768 void *argp1 = 0 ;
3769 int res1 = 0 ;
3770 bool temp2 = false ;
3771 PyObject * obj0 = 0 ;
3772 PyObject * obj1 = 0 ;
3773 char * kwnames[] = {
3774 (char *) "self",(char *) "strings", NULL
3775 };
3776
3777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3779 if (!SWIG_IsOK(res1)) {
3780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3781 }
3782 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3783 {
3784 if (! PySequence_Check(obj1)) {
3785 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3786 SWIG_fail;
3787 }
3788 arg2 = new wxArrayString;
3789 temp2 = true;
3790 int i, len=PySequence_Length(obj1);
3791 for (i=0; i<len; i++) {
3792 PyObject* item = PySequence_GetItem(obj1, i);
3793 wxString* s = wxString_in_helper(item);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 arg2->Add(*s);
3796 delete s;
3797 Py_DECREF(item);
3798 }
3799 }
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 (arg1)->SetStrings((wxArrayString const &)*arg2);
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 resultobj = SWIG_Py_Void();
3807 {
3808 if (temp2) delete arg2;
3809 }
3810 return resultobj;
3811 fail:
3812 {
3813 if (temp2) delete arg2;
3814 }
3815 return NULL;
3816 }
3817
3818
3819 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3820 PyObject *resultobj = 0;
3821 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3822 PyObject *result = 0 ;
3823 void *argp1 = 0 ;
3824 int res1 = 0 ;
3825 PyObject *swig_obj[1] ;
3826
3827 if (!args) SWIG_fail;
3828 swig_obj[0] = args;
3829 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3830 if (!SWIG_IsOK(res1)) {
3831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3832 }
3833 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3834 {
3835 PyThreadState* __tstate = wxPyBeginAllowThreads();
3836 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 resultobj = result;
3841 return resultobj;
3842 fail:
3843 return NULL;
3844 }
3845
3846
3847 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3848 PyObject *resultobj = 0;
3849 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3850 wxPyListCtrl *result = 0 ;
3851 void *argp1 = 0 ;
3852 int res1 = 0 ;
3853 PyObject *swig_obj[1] ;
3854
3855 if (!args) SWIG_fail;
3856 swig_obj[0] = args;
3857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3858 if (!SWIG_IsOK(res1)) {
3859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3860 }
3861 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3862 {
3863 PyThreadState* __tstate = wxPyBeginAllowThreads();
3864 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3865 wxPyEndAllowThreads(__tstate);
3866 if (PyErr_Occurred()) SWIG_fail;
3867 }
3868 {
3869 resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0);
3870 }
3871 return resultobj;
3872 fail:
3873 return NULL;
3874 }
3875
3876
3877 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3878 PyObject *resultobj = 0;
3879 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3880 wxBitmapButton *result = 0 ;
3881 void *argp1 = 0 ;
3882 int res1 = 0 ;
3883 PyObject *swig_obj[1] ;
3884
3885 if (!args) SWIG_fail;
3886 swig_obj[0] = args;
3887 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3888 if (!SWIG_IsOK(res1)) {
3889 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3890 }
3891 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxBitmapButton *)(arg1)->GetDelButton();
3895 wxPyEndAllowThreads(__tstate);
3896 if (PyErr_Occurred()) SWIG_fail;
3897 }
3898 {
3899 resultobj = wxPyMake_wxObject(result, 0);
3900 }
3901 return resultobj;
3902 fail:
3903 return NULL;
3904 }
3905
3906
3907 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3908 PyObject *resultobj = 0;
3909 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3910 wxBitmapButton *result = 0 ;
3911 void *argp1 = 0 ;
3912 int res1 = 0 ;
3913 PyObject *swig_obj[1] ;
3914
3915 if (!args) SWIG_fail;
3916 swig_obj[0] = args;
3917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3918 if (!SWIG_IsOK(res1)) {
3919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3920 }
3921 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 result = (wxBitmapButton *)(arg1)->GetNewButton();
3925 wxPyEndAllowThreads(__tstate);
3926 if (PyErr_Occurred()) SWIG_fail;
3927 }
3928 {
3929 resultobj = wxPyMake_wxObject(result, 0);
3930 }
3931 return resultobj;
3932 fail:
3933 return NULL;
3934 }
3935
3936
3937 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3938 PyObject *resultobj = 0;
3939 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3940 wxBitmapButton *result = 0 ;
3941 void *argp1 = 0 ;
3942 int res1 = 0 ;
3943 PyObject *swig_obj[1] ;
3944
3945 if (!args) SWIG_fail;
3946 swig_obj[0] = args;
3947 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3948 if (!SWIG_IsOK(res1)) {
3949 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3950 }
3951 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (wxBitmapButton *)(arg1)->GetUpButton();
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 {
3959 resultobj = wxPyMake_wxObject(result, 0);
3960 }
3961 return resultobj;
3962 fail:
3963 return NULL;
3964 }
3965
3966
3967 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3968 PyObject *resultobj = 0;
3969 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3970 wxBitmapButton *result = 0 ;
3971 void *argp1 = 0 ;
3972 int res1 = 0 ;
3973 PyObject *swig_obj[1] ;
3974
3975 if (!args) SWIG_fail;
3976 swig_obj[0] = args;
3977 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3978 if (!SWIG_IsOK(res1)) {
3979 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3980 }
3981 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3982 {
3983 PyThreadState* __tstate = wxPyBeginAllowThreads();
3984 result = (wxBitmapButton *)(arg1)->GetDownButton();
3985 wxPyEndAllowThreads(__tstate);
3986 if (PyErr_Occurred()) SWIG_fail;
3987 }
3988 {
3989 resultobj = wxPyMake_wxObject(result, 0);
3990 }
3991 return resultobj;
3992 fail:
3993 return NULL;
3994 }
3995
3996
3997 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3998 PyObject *resultobj = 0;
3999 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
4000 wxBitmapButton *result = 0 ;
4001 void *argp1 = 0 ;
4002 int res1 = 0 ;
4003 PyObject *swig_obj[1] ;
4004
4005 if (!args) SWIG_fail;
4006 swig_obj[0] = args;
4007 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4008 if (!SWIG_IsOK(res1)) {
4009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4010 }
4011 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4012 {
4013 PyThreadState* __tstate = wxPyBeginAllowThreads();
4014 result = (wxBitmapButton *)(arg1)->GetEditButton();
4015 wxPyEndAllowThreads(__tstate);
4016 if (PyErr_Occurred()) SWIG_fail;
4017 }
4018 {
4019 resultobj = wxPyMake_wxObject(result, 0);
4020 }
4021 return resultobj;
4022 fail:
4023 return NULL;
4024 }
4025
4026
4027 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4028 PyObject *obj;
4029 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4030 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4031 return SWIG_Py_Void();
4032 }
4033
4034 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4035 return SWIG_Python_InitShadowInstance(args);
4036 }
4037
4038 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4039 PyObject *resultobj = 0;
4040 wxWindow *arg1 = (wxWindow *) 0 ;
4041 int arg2 ;
4042 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4043 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4044 wxSize const &arg4_defvalue = wxDefaultSize ;
4045 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4046 long arg5 = (long) wxTR_HAS_BUTTONS ;
4047 wxRemotelyScrolledTreeCtrl *result = 0 ;
4048 void *argp1 = 0 ;
4049 int res1 = 0 ;
4050 int val2 ;
4051 int ecode2 = 0 ;
4052 wxPoint temp3 ;
4053 wxSize temp4 ;
4054 long val5 ;
4055 int ecode5 = 0 ;
4056 PyObject * obj0 = 0 ;
4057 PyObject * obj1 = 0 ;
4058 PyObject * obj2 = 0 ;
4059 PyObject * obj3 = 0 ;
4060 PyObject * obj4 = 0 ;
4061 char * kwnames[] = {
4062 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4063 };
4064
4065 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4066 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4067 if (!SWIG_IsOK(res1)) {
4068 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 }
4070 arg1 = reinterpret_cast< wxWindow * >(argp1);
4071 ecode2 = SWIG_AsVal_int(obj1, &val2);
4072 if (!SWIG_IsOK(ecode2)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4074 }
4075 arg2 = static_cast< int >(val2);
4076 if (obj2) {
4077 {
4078 arg3 = &temp3;
4079 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4080 }
4081 }
4082 if (obj3) {
4083 {
4084 arg4 = &temp4;
4085 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4086 }
4087 }
4088 if (obj4) {
4089 ecode5 = SWIG_AsVal_long(obj4, &val5);
4090 if (!SWIG_IsOK(ecode5)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4092 }
4093 arg5 = static_cast< long >(val5);
4094 }
4095 {
4096 if (!wxPyCheckForApp()) SWIG_fail;
4097 PyThreadState* __tstate = wxPyBeginAllowThreads();
4098 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4103 return resultobj;
4104 fail:
4105 return NULL;
4106 }
4107
4108
4109 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4110 PyObject *resultobj = 0;
4111 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4112 void *argp1 = 0 ;
4113 int res1 = 0 ;
4114 PyObject *swig_obj[1] ;
4115
4116 if (!args) SWIG_fail;
4117 swig_obj[0] = args;
4118 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4119 if (!SWIG_IsOK(res1)) {
4120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4121 }
4122 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 (arg1)->HideVScrollbar();
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_Py_Void();
4130 return resultobj;
4131 fail:
4132 return NULL;
4133 }
4134
4135
4136 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4137 PyObject *resultobj = 0;
4138 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4139 void *argp1 = 0 ;
4140 int res1 = 0 ;
4141 PyObject *swig_obj[1] ;
4142
4143 if (!args) SWIG_fail;
4144 swig_obj[0] = args;
4145 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4146 if (!SWIG_IsOK(res1)) {
4147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4148 }
4149 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 (arg1)->AdjustRemoteScrollbars();
4153 wxPyEndAllowThreads(__tstate);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 }
4156 resultobj = SWIG_Py_Void();
4157 return resultobj;
4158 fail:
4159 return NULL;
4160 }
4161
4162
4163 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4164 PyObject *resultobj = 0;
4165 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4166 wxScrolledWindow *result = 0 ;
4167 void *argp1 = 0 ;
4168 int res1 = 0 ;
4169 PyObject *swig_obj[1] ;
4170
4171 if (!args) SWIG_fail;
4172 swig_obj[0] = args;
4173 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4174 if (!SWIG_IsOK(res1)) {
4175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4176 }
4177 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4178 {
4179 PyThreadState* __tstate = wxPyBeginAllowThreads();
4180 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 {
4185 resultobj = wxPyMake_wxObject(result, 0);
4186 }
4187 return resultobj;
4188 fail:
4189 return NULL;
4190 }
4191
4192
4193 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4194 PyObject *resultobj = 0;
4195 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4196 int arg2 ;
4197 int arg3 ;
4198 void *argp1 = 0 ;
4199 int res1 = 0 ;
4200 int val2 ;
4201 int ecode2 = 0 ;
4202 int val3 ;
4203 int ecode3 = 0 ;
4204 PyObject * obj0 = 0 ;
4205 PyObject * obj1 = 0 ;
4206 PyObject * obj2 = 0 ;
4207 char * kwnames[] = {
4208 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4209 };
4210
4211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4213 if (!SWIG_IsOK(res1)) {
4214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4215 }
4216 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4217 ecode2 = SWIG_AsVal_int(obj1, &val2);
4218 if (!SWIG_IsOK(ecode2)) {
4219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4220 }
4221 arg2 = static_cast< int >(val2);
4222 ecode3 = SWIG_AsVal_int(obj2, &val3);
4223 if (!SWIG_IsOK(ecode3)) {
4224 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4225 }
4226 arg3 = static_cast< int >(val3);
4227 {
4228 PyThreadState* __tstate = wxPyBeginAllowThreads();
4229 (arg1)->ScrollToLine(arg2,arg3);
4230 wxPyEndAllowThreads(__tstate);
4231 if (PyErr_Occurred()) SWIG_fail;
4232 }
4233 resultobj = SWIG_Py_Void();
4234 return resultobj;
4235 fail:
4236 return NULL;
4237 }
4238
4239
4240 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4241 PyObject *resultobj = 0;
4242 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4243 wxWindow *arg2 = (wxWindow *) 0 ;
4244 void *argp1 = 0 ;
4245 int res1 = 0 ;
4246 void *argp2 = 0 ;
4247 int res2 = 0 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char * kwnames[] = {
4251 (char *) "self",(char *) "companion", NULL
4252 };
4253
4254 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4255 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4256 if (!SWIG_IsOK(res1)) {
4257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4258 }
4259 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4260 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4261 if (!SWIG_IsOK(res2)) {
4262 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4263 }
4264 arg2 = reinterpret_cast< wxWindow * >(argp2);
4265 {
4266 PyThreadState* __tstate = wxPyBeginAllowThreads();
4267 (arg1)->SetCompanionWindow(arg2);
4268 wxPyEndAllowThreads(__tstate);
4269 if (PyErr_Occurred()) SWIG_fail;
4270 }
4271 resultobj = SWIG_Py_Void();
4272 return resultobj;
4273 fail:
4274 return NULL;
4275 }
4276
4277
4278 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4279 PyObject *resultobj = 0;
4280 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4281 wxWindow *result = 0 ;
4282 void *argp1 = 0 ;
4283 int res1 = 0 ;
4284 PyObject *swig_obj[1] ;
4285
4286 if (!args) SWIG_fail;
4287 swig_obj[0] = args;
4288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4289 if (!SWIG_IsOK(res1)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4291 }
4292 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4296 wxPyEndAllowThreads(__tstate);
4297 if (PyErr_Occurred()) SWIG_fail;
4298 }
4299 {
4300 resultobj = wxPyMake_wxObject(result, 0);
4301 }
4302 return resultobj;
4303 fail:
4304 return NULL;
4305 }
4306
4307
4308 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4309 PyObject *obj;
4310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4311 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4312 return SWIG_Py_Void();
4313 }
4314
4315 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4316 return SWIG_Python_InitShadowInstance(args);
4317 }
4318
4319 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj = 0;
4321 wxWindow *arg1 = (wxWindow *) 0 ;
4322 int arg2 = (int) -1 ;
4323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4325 wxSize const &arg4_defvalue = wxDefaultSize ;
4326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4327 long arg5 = (long) 0 ;
4328 wxPyTreeCompanionWindow *result = 0 ;
4329 void *argp1 = 0 ;
4330 int res1 = 0 ;
4331 int val2 ;
4332 int ecode2 = 0 ;
4333 wxPoint temp3 ;
4334 wxSize temp4 ;
4335 long val5 ;
4336 int ecode5 = 0 ;
4337 PyObject * obj0 = 0 ;
4338 PyObject * obj1 = 0 ;
4339 PyObject * obj2 = 0 ;
4340 PyObject * obj3 = 0 ;
4341 PyObject * obj4 = 0 ;
4342 char * kwnames[] = {
4343 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4344 };
4345
4346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4348 if (!SWIG_IsOK(res1)) {
4349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4350 }
4351 arg1 = reinterpret_cast< wxWindow * >(argp1);
4352 if (obj1) {
4353 ecode2 = SWIG_AsVal_int(obj1, &val2);
4354 if (!SWIG_IsOK(ecode2)) {
4355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4356 }
4357 arg2 = static_cast< int >(val2);
4358 }
4359 if (obj2) {
4360 {
4361 arg3 = &temp3;
4362 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4363 }
4364 }
4365 if (obj3) {
4366 {
4367 arg4 = &temp4;
4368 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4369 }
4370 }
4371 if (obj4) {
4372 ecode5 = SWIG_AsVal_long(obj4, &val5);
4373 if (!SWIG_IsOK(ecode5)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4375 }
4376 arg5 = static_cast< long >(val5);
4377 }
4378 {
4379 if (!wxPyCheckForApp()) SWIG_fail;
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4386 return resultobj;
4387 fail:
4388 return NULL;
4389 }
4390
4391
4392 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj = 0;
4394 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4395 PyObject *arg2 = (PyObject *) 0 ;
4396 PyObject *arg3 = (PyObject *) 0 ;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 PyObject * obj0 = 0 ;
4400 PyObject * obj1 = 0 ;
4401 PyObject * obj2 = 0 ;
4402 char * kwnames[] = {
4403 (char *) "self",(char *) "self",(char *) "_class", NULL
4404 };
4405
4406 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4407 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4408 if (!SWIG_IsOK(res1)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4410 }
4411 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4412 arg2 = obj1;
4413 arg3 = obj2;
4414 {
4415 PyThreadState* __tstate = wxPyBeginAllowThreads();
4416 (arg1)->_setCallbackInfo(arg2,arg3);
4417 wxPyEndAllowThreads(__tstate);
4418 if (PyErr_Occurred()) SWIG_fail;
4419 }
4420 resultobj = SWIG_Py_Void();
4421 return resultobj;
4422 fail:
4423 return NULL;
4424 }
4425
4426
4427 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4428 PyObject *resultobj = 0;
4429 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4430 wxRemotelyScrolledTreeCtrl *result = 0 ;
4431 void *argp1 = 0 ;
4432 int res1 = 0 ;
4433 PyObject *swig_obj[1] ;
4434
4435 if (!args) SWIG_fail;
4436 swig_obj[0] = args;
4437 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4438 if (!SWIG_IsOK(res1)) {
4439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4440 }
4441 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4442 {
4443 PyThreadState* __tstate = wxPyBeginAllowThreads();
4444 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4445 wxPyEndAllowThreads(__tstate);
4446 if (PyErr_Occurred()) SWIG_fail;
4447 }
4448 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4449 return resultobj;
4450 fail:
4451 return NULL;
4452 }
4453
4454
4455 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4456 PyObject *resultobj = 0;
4457 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4458 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4459 void *argp1 = 0 ;
4460 int res1 = 0 ;
4461 void *argp2 = 0 ;
4462 int res2 = 0 ;
4463 PyObject * obj0 = 0 ;
4464 PyObject * obj1 = 0 ;
4465 char * kwnames[] = {
4466 (char *) "self",(char *) "treeCtrl", NULL
4467 };
4468
4469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4471 if (!SWIG_IsOK(res1)) {
4472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4473 }
4474 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4475 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4476 if (!SWIG_IsOK(res2)) {
4477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4478 }
4479 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 (arg1)->SetTreeCtrl(arg2);
4483 wxPyEndAllowThreads(__tstate);
4484 if (PyErr_Occurred()) SWIG_fail;
4485 }
4486 resultobj = SWIG_Py_Void();
4487 return resultobj;
4488 fail:
4489 return NULL;
4490 }
4491
4492
4493 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4494 PyObject *obj;
4495 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4496 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4497 return SWIG_Py_Void();
4498 }
4499
4500 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4501 return SWIG_Python_InitShadowInstance(args);
4502 }
4503
4504 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj = 0;
4506 wxWindow *arg1 = (wxWindow *) 0 ;
4507 int arg2 = (int) -1 ;
4508 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4509 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4510 wxSize const &arg4_defvalue = wxDefaultSize ;
4511 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4512 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4513 wxThinSplitterWindow *result = 0 ;
4514 void *argp1 = 0 ;
4515 int res1 = 0 ;
4516 int val2 ;
4517 int ecode2 = 0 ;
4518 wxPoint temp3 ;
4519 wxSize temp4 ;
4520 long val5 ;
4521 int ecode5 = 0 ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4524 PyObject * obj2 = 0 ;
4525 PyObject * obj3 = 0 ;
4526 PyObject * obj4 = 0 ;
4527 char * kwnames[] = {
4528 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4529 };
4530
4531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4533 if (!SWIG_IsOK(res1)) {
4534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4535 }
4536 arg1 = reinterpret_cast< wxWindow * >(argp1);
4537 if (obj1) {
4538 ecode2 = SWIG_AsVal_int(obj1, &val2);
4539 if (!SWIG_IsOK(ecode2)) {
4540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4541 }
4542 arg2 = static_cast< int >(val2);
4543 }
4544 if (obj2) {
4545 {
4546 arg3 = &temp3;
4547 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4548 }
4549 }
4550 if (obj3) {
4551 {
4552 arg4 = &temp4;
4553 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4554 }
4555 }
4556 if (obj4) {
4557 ecode5 = SWIG_AsVal_long(obj4, &val5);
4558 if (!SWIG_IsOK(ecode5)) {
4559 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4560 }
4561 arg5 = static_cast< long >(val5);
4562 }
4563 {
4564 if (!wxPyCheckForApp()) SWIG_fail;
4565 PyThreadState* __tstate = wxPyBeginAllowThreads();
4566 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4567 wxPyEndAllowThreads(__tstate);
4568 if (PyErr_Occurred()) SWIG_fail;
4569 }
4570 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4571 return resultobj;
4572 fail:
4573 return NULL;
4574 }
4575
4576
4577 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4578 PyObject *obj;
4579 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4580 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4581 return SWIG_Py_Void();
4582 }
4583
4584 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4585 return SWIG_Python_InitShadowInstance(args);
4586 }
4587
4588 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4589 PyObject *resultobj = 0;
4590 wxWindow *arg1 = (wxWindow *) 0 ;
4591 int arg2 = (int) -1 ;
4592 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4593 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4594 wxSize const &arg4_defvalue = wxDefaultSize ;
4595 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4596 long arg5 = (long) 0 ;
4597 wxSplitterScrolledWindow *result = 0 ;
4598 void *argp1 = 0 ;
4599 int res1 = 0 ;
4600 int val2 ;
4601 int ecode2 = 0 ;
4602 wxPoint temp3 ;
4603 wxSize temp4 ;
4604 long val5 ;
4605 int ecode5 = 0 ;
4606 PyObject * obj0 = 0 ;
4607 PyObject * obj1 = 0 ;
4608 PyObject * obj2 = 0 ;
4609 PyObject * obj3 = 0 ;
4610 PyObject * obj4 = 0 ;
4611 char * kwnames[] = {
4612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4613 };
4614
4615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4617 if (!SWIG_IsOK(res1)) {
4618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4619 }
4620 arg1 = reinterpret_cast< wxWindow * >(argp1);
4621 if (obj1) {
4622 ecode2 = SWIG_AsVal_int(obj1, &val2);
4623 if (!SWIG_IsOK(ecode2)) {
4624 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4625 }
4626 arg2 = static_cast< int >(val2);
4627 }
4628 if (obj2) {
4629 {
4630 arg3 = &temp3;
4631 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4632 }
4633 }
4634 if (obj3) {
4635 {
4636 arg4 = &temp4;
4637 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4638 }
4639 }
4640 if (obj4) {
4641 ecode5 = SWIG_AsVal_long(obj4, &val5);
4642 if (!SWIG_IsOK(ecode5)) {
4643 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4644 }
4645 arg5 = static_cast< long >(val5);
4646 }
4647 {
4648 if (!wxPyCheckForApp()) SWIG_fail;
4649 PyThreadState* __tstate = wxPyBeginAllowThreads();
4650 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4651 wxPyEndAllowThreads(__tstate);
4652 if (PyErr_Occurred()) SWIG_fail;
4653 }
4654 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4655 return resultobj;
4656 fail:
4657 return NULL;
4658 }
4659
4660
4661 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4662 PyObject *obj;
4663 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4664 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4665 return SWIG_Py_Void();
4666 }
4667
4668 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4669 return SWIG_Python_InitShadowInstance(args);
4670 }
4671
4672 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj = 0;
4674 wxWindow *arg1 = (wxWindow *) 0 ;
4675 int arg2 = (int) -1 ;
4676 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4677 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4678 wxSize const &arg4_defvalue = wxDefaultSize ;
4679 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4680 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4681 wxLEDNumberCtrl *result = 0 ;
4682 void *argp1 = 0 ;
4683 int res1 = 0 ;
4684 int val2 ;
4685 int ecode2 = 0 ;
4686 wxPoint temp3 ;
4687 wxSize temp4 ;
4688 long val5 ;
4689 int ecode5 = 0 ;
4690 PyObject * obj0 = 0 ;
4691 PyObject * obj1 = 0 ;
4692 PyObject * obj2 = 0 ;
4693 PyObject * obj3 = 0 ;
4694 PyObject * obj4 = 0 ;
4695 char * kwnames[] = {
4696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4697 };
4698
4699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4701 if (!SWIG_IsOK(res1)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4703 }
4704 arg1 = reinterpret_cast< wxWindow * >(argp1);
4705 if (obj1) {
4706 ecode2 = SWIG_AsVal_int(obj1, &val2);
4707 if (!SWIG_IsOK(ecode2)) {
4708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4709 }
4710 arg2 = static_cast< int >(val2);
4711 }
4712 if (obj2) {
4713 {
4714 arg3 = &temp3;
4715 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4716 }
4717 }
4718 if (obj3) {
4719 {
4720 arg4 = &temp4;
4721 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4722 }
4723 }
4724 if (obj4) {
4725 ecode5 = SWIG_AsVal_long(obj4, &val5);
4726 if (!SWIG_IsOK(ecode5)) {
4727 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4728 }
4729 arg5 = static_cast< long >(val5);
4730 }
4731 {
4732 if (!wxPyCheckForApp()) SWIG_fail;
4733 PyThreadState* __tstate = wxPyBeginAllowThreads();
4734 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4735 wxPyEndAllowThreads(__tstate);
4736 if (PyErr_Occurred()) SWIG_fail;
4737 }
4738 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4739 return resultobj;
4740 fail:
4741 return NULL;
4742 }
4743
4744
4745 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4746 PyObject *resultobj = 0;
4747 wxLEDNumberCtrl *result = 0 ;
4748
4749 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4750 {
4751 if (!wxPyCheckForApp()) SWIG_fail;
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4758 return resultobj;
4759 fail:
4760 return NULL;
4761 }
4762
4763
4764 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj = 0;
4766 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4767 wxWindow *arg2 = (wxWindow *) 0 ;
4768 int arg3 = (int) -1 ;
4769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4771 wxSize const &arg5_defvalue = wxDefaultSize ;
4772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4773 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4774 bool result;
4775 void *argp1 = 0 ;
4776 int res1 = 0 ;
4777 void *argp2 = 0 ;
4778 int res2 = 0 ;
4779 int val3 ;
4780 int ecode3 = 0 ;
4781 wxPoint temp4 ;
4782 wxSize temp5 ;
4783 long val6 ;
4784 int ecode6 = 0 ;
4785 PyObject * obj0 = 0 ;
4786 PyObject * obj1 = 0 ;
4787 PyObject * obj2 = 0 ;
4788 PyObject * obj3 = 0 ;
4789 PyObject * obj4 = 0 ;
4790 PyObject * obj5 = 0 ;
4791 char * kwnames[] = {
4792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4793 };
4794
4795 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4796 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4797 if (!SWIG_IsOK(res1)) {
4798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4799 }
4800 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4801 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4802 if (!SWIG_IsOK(res2)) {
4803 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4804 }
4805 arg2 = reinterpret_cast< wxWindow * >(argp2);
4806 if (obj2) {
4807 ecode3 = SWIG_AsVal_int(obj2, &val3);
4808 if (!SWIG_IsOK(ecode3)) {
4809 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4810 }
4811 arg3 = static_cast< int >(val3);
4812 }
4813 if (obj3) {
4814 {
4815 arg4 = &temp4;
4816 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4817 }
4818 }
4819 if (obj4) {
4820 {
4821 arg5 = &temp5;
4822 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4823 }
4824 }
4825 if (obj5) {
4826 ecode6 = SWIG_AsVal_long(obj5, &val6);
4827 if (!SWIG_IsOK(ecode6)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4829 }
4830 arg6 = static_cast< long >(val6);
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4835 wxPyEndAllowThreads(__tstate);
4836 if (PyErr_Occurred()) SWIG_fail;
4837 }
4838 {
4839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4840 }
4841 return resultobj;
4842 fail:
4843 return NULL;
4844 }
4845
4846
4847 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4848 PyObject *resultobj = 0;
4849 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4850 wxLEDValueAlign result;
4851 void *argp1 = 0 ;
4852 int res1 = 0 ;
4853 PyObject *swig_obj[1] ;
4854
4855 if (!args) SWIG_fail;
4856 swig_obj[0] = args;
4857 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4858 if (!SWIG_IsOK(res1)) {
4859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4860 }
4861 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4862 {
4863 PyThreadState* __tstate = wxPyBeginAllowThreads();
4864 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 resultobj = SWIG_From_int(static_cast< int >(result));
4869 return resultobj;
4870 fail:
4871 return NULL;
4872 }
4873
4874
4875 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4876 PyObject *resultobj = 0;
4877 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4878 bool result;
4879 void *argp1 = 0 ;
4880 int res1 = 0 ;
4881 PyObject *swig_obj[1] ;
4882
4883 if (!args) SWIG_fail;
4884 swig_obj[0] = args;
4885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4886 if (!SWIG_IsOK(res1)) {
4887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4888 }
4889 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 {
4897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4898 }
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4906 PyObject *resultobj = 0;
4907 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4908 wxString *result = 0 ;
4909 void *argp1 = 0 ;
4910 int res1 = 0 ;
4911 PyObject *swig_obj[1] ;
4912
4913 if (!args) SWIG_fail;
4914 swig_obj[0] = args;
4915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4916 if (!SWIG_IsOK(res1)) {
4917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4918 }
4919 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4920 {
4921 PyThreadState* __tstate = wxPyBeginAllowThreads();
4922 {
4923 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4924 result = (wxString *) &_result_ref;
4925 }
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 {
4930 #if wxUSE_UNICODE
4931 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4932 #else
4933 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4934 #endif
4935 }
4936 return resultobj;
4937 fail:
4938 return NULL;
4939 }
4940
4941
4942 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj = 0;
4944 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4945 wxLEDValueAlign arg2 ;
4946 bool arg3 = (bool) true ;
4947 void *argp1 = 0 ;
4948 int res1 = 0 ;
4949 int val2 ;
4950 int ecode2 = 0 ;
4951 bool val3 ;
4952 int ecode3 = 0 ;
4953 PyObject * obj0 = 0 ;
4954 PyObject * obj1 = 0 ;
4955 PyObject * obj2 = 0 ;
4956 char * kwnames[] = {
4957 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4958 };
4959
4960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4962 if (!SWIG_IsOK(res1)) {
4963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4964 }
4965 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4966 ecode2 = SWIG_AsVal_int(obj1, &val2);
4967 if (!SWIG_IsOK(ecode2)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4969 }
4970 arg2 = static_cast< wxLEDValueAlign >(val2);
4971 if (obj2) {
4972 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4973 if (!SWIG_IsOK(ecode3)) {
4974 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4975 }
4976 arg3 = static_cast< bool >(val3);
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 (arg1)->SetAlignment(arg2,arg3);
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
4984 resultobj = SWIG_Py_Void();
4985 return resultobj;
4986 fail:
4987 return NULL;
4988 }
4989
4990
4991 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj = 0;
4993 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4994 bool arg2 ;
4995 bool arg3 = (bool) true ;
4996 void *argp1 = 0 ;
4997 int res1 = 0 ;
4998 bool val2 ;
4999 int ecode2 = 0 ;
5000 bool val3 ;
5001 int ecode3 = 0 ;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 PyObject * obj2 = 0 ;
5005 char * kwnames[] = {
5006 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5007 };
5008
5009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5011 if (!SWIG_IsOK(res1)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5013 }
5014 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5015 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5016 if (!SWIG_IsOK(ecode2)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5018 }
5019 arg2 = static_cast< bool >(val2);
5020 if (obj2) {
5021 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5022 if (!SWIG_IsOK(ecode3)) {
5023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5024 }
5025 arg3 = static_cast< bool >(val3);
5026 }
5027 {
5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
5029 (arg1)->SetDrawFaded(arg2,arg3);
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 resultobj = SWIG_Py_Void();
5034 return resultobj;
5035 fail:
5036 return NULL;
5037 }
5038
5039
5040 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5041 PyObject *resultobj = 0;
5042 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5043 wxString *arg2 = 0 ;
5044 bool arg3 = (bool) true ;
5045 void *argp1 = 0 ;
5046 int res1 = 0 ;
5047 bool temp2 = false ;
5048 bool val3 ;
5049 int ecode3 = 0 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 PyObject * obj2 = 0 ;
5053 char * kwnames[] = {
5054 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5055 };
5056
5057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5059 if (!SWIG_IsOK(res1)) {
5060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5061 }
5062 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5063 {
5064 arg2 = wxString_in_helper(obj1);
5065 if (arg2 == NULL) SWIG_fail;
5066 temp2 = true;
5067 }
5068 if (obj2) {
5069 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5070 if (!SWIG_IsOK(ecode3)) {
5071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5072 }
5073 arg3 = static_cast< bool >(val3);
5074 }
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 (arg1)->SetValue((wxString const &)*arg2,arg3);
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
5081 resultobj = SWIG_Py_Void();
5082 {
5083 if (temp2)
5084 delete arg2;
5085 }
5086 return resultobj;
5087 fail:
5088 {
5089 if (temp2)
5090 delete arg2;
5091 }
5092 return NULL;
5093 }
5094
5095
5096 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5097 PyObject *obj;
5098 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5099 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5100 return SWIG_Py_Void();
5101 }
5102
5103 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5104 return SWIG_Python_InitShadowInstance(args);
5105 }
5106
5107 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5108 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5109 return 1;
5110 }
5111
5112
5113 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5114 PyObject *pyobj = 0;
5115
5116 {
5117 #if wxUSE_UNICODE
5118 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5119 #else
5120 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5121 #endif
5122 }
5123 return pyobj;
5124 }
5125
5126
5127 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5128 PyObject *resultobj = 0;
5129 wxString const &arg1_defvalue = wxPyEmptyString ;
5130 wxString *arg1 = (wxString *) &arg1_defvalue ;
5131 int arg2 = (int) DEFAULT_COL_WIDTH ;
5132 int arg3 = (int) wxALIGN_LEFT ;
5133 int arg4 = (int) -1 ;
5134 bool arg5 = (bool) true ;
5135 bool arg6 = (bool) false ;
5136 wxTreeListColumnInfo *result = 0 ;
5137 bool temp1 = false ;
5138 int val2 ;
5139 int ecode2 = 0 ;
5140 int val3 ;
5141 int ecode3 = 0 ;
5142 int val4 ;
5143 int ecode4 = 0 ;
5144 bool val5 ;
5145 int ecode5 = 0 ;
5146 bool val6 ;
5147 int ecode6 = 0 ;
5148 PyObject * obj0 = 0 ;
5149 PyObject * obj1 = 0 ;
5150 PyObject * obj2 = 0 ;
5151 PyObject * obj3 = 0 ;
5152 PyObject * obj4 = 0 ;
5153 PyObject * obj5 = 0 ;
5154 char * kwnames[] = {
5155 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5156 };
5157
5158 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
5159 if (obj0) {
5160 {
5161 arg1 = wxString_in_helper(obj0);
5162 if (arg1 == NULL) SWIG_fail;
5163 temp1 = true;
5164 }
5165 }
5166 if (obj1) {
5167 ecode2 = SWIG_AsVal_int(obj1, &val2);
5168 if (!SWIG_IsOK(ecode2)) {
5169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5170 }
5171 arg2 = static_cast< int >(val2);
5172 }
5173 if (obj2) {
5174 ecode3 = SWIG_AsVal_int(obj2, &val3);
5175 if (!SWIG_IsOK(ecode3)) {
5176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5177 }
5178 arg3 = static_cast< int >(val3);
5179 }
5180 if (obj3) {
5181 ecode4 = SWIG_AsVal_int(obj3, &val4);
5182 if (!SWIG_IsOK(ecode4)) {
5183 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5184 }
5185 arg4 = static_cast< int >(val4);
5186 }
5187 if (obj4) {
5188 ecode5 = SWIG_AsVal_bool(obj4, &val5);
5189 if (!SWIG_IsOK(ecode5)) {
5190 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5191 }
5192 arg5 = static_cast< bool >(val5);
5193 }
5194 if (obj5) {
5195 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5196 if (!SWIG_IsOK(ecode6)) {
5197 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5198 }
5199 arg6 = static_cast< bool >(val6);
5200 }
5201 {
5202 PyThreadState* __tstate = wxPyBeginAllowThreads();
5203 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5208 {
5209 if (temp1)
5210 delete arg1;
5211 }
5212 return resultobj;
5213 fail:
5214 {
5215 if (temp1)
5216 delete arg1;
5217 }
5218 return NULL;
5219 }
5220
5221
5222 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5223 PyObject *resultobj = 0;
5224 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5225 void *argp1 = 0 ;
5226 int res1 = 0 ;
5227 PyObject *swig_obj[1] ;
5228
5229 if (!args) SWIG_fail;
5230 swig_obj[0] = args;
5231 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5232 if (!SWIG_IsOK(res1)) {
5233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5234 }
5235 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 delete arg1;
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 resultobj = SWIG_Py_Void();
5244 return resultobj;
5245 fail:
5246 return NULL;
5247 }
5248
5249
5250 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5251 PyObject *resultobj = 0;
5252 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5253 int result;
5254 void *argp1 = 0 ;
5255 int res1 = 0 ;
5256 PyObject *swig_obj[1] ;
5257
5258 if (!args) SWIG_fail;
5259 swig_obj[0] = args;
5260 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5261 if (!SWIG_IsOK(res1)) {
5262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5263 }
5264 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5265 {
5266 PyThreadState* __tstate = wxPyBeginAllowThreads();
5267 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5268 wxPyEndAllowThreads(__tstate);
5269 if (PyErr_Occurred()) SWIG_fail;
5270 }
5271 resultobj = SWIG_From_int(static_cast< int >(result));
5272 return resultobj;
5273 fail:
5274 return NULL;
5275 }
5276
5277
5278 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5279 PyObject *resultobj = 0;
5280 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5281 wxString result;
5282 void *argp1 = 0 ;
5283 int res1 = 0 ;
5284 PyObject *swig_obj[1] ;
5285
5286 if (!args) SWIG_fail;
5287 swig_obj[0] = args;
5288 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5289 if (!SWIG_IsOK(res1)) {
5290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5291 }
5292 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 {
5300 #if wxUSE_UNICODE
5301 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5302 #else
5303 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5304 #endif
5305 }
5306 return resultobj;
5307 fail:
5308 return NULL;
5309 }
5310
5311
5312 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5313 PyObject *resultobj = 0;
5314 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5315 int result;
5316 void *argp1 = 0 ;
5317 int res1 = 0 ;
5318 PyObject *swig_obj[1] ;
5319
5320 if (!args) SWIG_fail;
5321 swig_obj[0] = args;
5322 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5323 if (!SWIG_IsOK(res1)) {
5324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5325 }
5326 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5327 {
5328 PyThreadState* __tstate = wxPyBeginAllowThreads();
5329 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5330 wxPyEndAllowThreads(__tstate);
5331 if (PyErr_Occurred()) SWIG_fail;
5332 }
5333 resultobj = SWIG_From_int(static_cast< int >(result));
5334 return resultobj;
5335 fail:
5336 return NULL;
5337 }
5338
5339
5340 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5341 PyObject *resultobj = 0;
5342 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5343 int result;
5344 void *argp1 = 0 ;
5345 int res1 = 0 ;
5346 PyObject *swig_obj[1] ;
5347
5348 if (!args) SWIG_fail;
5349 swig_obj[0] = args;
5350 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5351 if (!SWIG_IsOK(res1)) {
5352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5353 }
5354 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5355 {
5356 PyThreadState* __tstate = wxPyBeginAllowThreads();
5357 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = SWIG_From_int(static_cast< int >(result));
5362 return resultobj;
5363 fail:
5364 return NULL;
5365 }
5366
5367
5368 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5369 PyObject *resultobj = 0;
5370 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5371 size_t result;
5372 void *argp1 = 0 ;
5373 int res1 = 0 ;
5374 PyObject *swig_obj[1] ;
5375
5376 if (!args) SWIG_fail;
5377 swig_obj[0] = args;
5378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5379 if (!SWIG_IsOK(res1)) {
5380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5381 }
5382 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5390 return resultobj;
5391 fail:
5392 return NULL;
5393 }
5394
5395
5396 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5397 PyObject *resultobj = 0;
5398 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5399 bool result;
5400 void *argp1 = 0 ;
5401 int res1 = 0 ;
5402 PyObject *swig_obj[1] ;
5403
5404 if (!args) SWIG_fail;
5405 swig_obj[0] = args;
5406 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5407 if (!SWIG_IsOK(res1)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5409 }
5410 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
5414 wxPyEndAllowThreads(__tstate);
5415 if (PyErr_Occurred()) SWIG_fail;
5416 }
5417 {
5418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5419 }
5420 return resultobj;
5421 fail:
5422 return NULL;
5423 }
5424
5425
5426 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5427 PyObject *resultobj = 0;
5428 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5429 bool result;
5430 void *argp1 = 0 ;
5431 int res1 = 0 ;
5432 PyObject *swig_obj[1] ;
5433
5434 if (!args) SWIG_fail;
5435 swig_obj[0] = args;
5436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5437 if (!SWIG_IsOK(res1)) {
5438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5439 }
5440 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5444 wxPyEndAllowThreads(__tstate);
5445 if (PyErr_Occurred()) SWIG_fail;
5446 }
5447 {
5448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5449 }
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj = 0;
5458 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5459 int arg2 ;
5460 void *argp1 = 0 ;
5461 int res1 = 0 ;
5462 int val2 ;
5463 int ecode2 = 0 ;
5464 PyObject * obj0 = 0 ;
5465 PyObject * obj1 = 0 ;
5466 char * kwnames[] = {
5467 (char *) "self",(char *) "alignment", NULL
5468 };
5469
5470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5472 if (!SWIG_IsOK(res1)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5474 }
5475 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5476 ecode2 = SWIG_AsVal_int(obj1, &val2);
5477 if (!SWIG_IsOK(ecode2)) {
5478 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5479 }
5480 arg2 = static_cast< int >(val2);
5481 {
5482 PyThreadState* __tstate = wxPyBeginAllowThreads();
5483 (arg1)->SetAlignment(arg2);
5484 wxPyEndAllowThreads(__tstate);
5485 if (PyErr_Occurred()) SWIG_fail;
5486 }
5487 resultobj = SWIG_Py_Void();
5488 return resultobj;
5489 fail:
5490 return NULL;
5491 }
5492
5493
5494 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5495 PyObject *resultobj = 0;
5496 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5497 wxString *arg2 = 0 ;
5498 void *argp1 = 0 ;
5499 int res1 = 0 ;
5500 bool temp2 = false ;
5501 PyObject * obj0 = 0 ;
5502 PyObject * obj1 = 0 ;
5503 char * kwnames[] = {
5504 (char *) "self",(char *) "text", NULL
5505 };
5506
5507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5509 if (!SWIG_IsOK(res1)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5511 }
5512 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5513 {
5514 arg2 = wxString_in_helper(obj1);
5515 if (arg2 == NULL) SWIG_fail;
5516 temp2 = true;
5517 }
5518 {
5519 PyThreadState* __tstate = wxPyBeginAllowThreads();
5520 (arg1)->SetText((wxString const &)*arg2);
5521 wxPyEndAllowThreads(__tstate);
5522 if (PyErr_Occurred()) SWIG_fail;
5523 }
5524 resultobj = SWIG_Py_Void();
5525 {
5526 if (temp2)
5527 delete arg2;
5528 }
5529 return resultobj;
5530 fail:
5531 {
5532 if (temp2)
5533 delete arg2;
5534 }
5535 return NULL;
5536 }
5537
5538
5539 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5540 PyObject *resultobj = 0;
5541 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5542 int arg2 ;
5543 void *argp1 = 0 ;
5544 int res1 = 0 ;
5545 int val2 ;
5546 int ecode2 = 0 ;
5547 PyObject * obj0 = 0 ;
5548 PyObject * obj1 = 0 ;
5549 char * kwnames[] = {
5550 (char *) "self",(char *) "image", NULL
5551 };
5552
5553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5555 if (!SWIG_IsOK(res1)) {
5556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5557 }
5558 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5559 ecode2 = SWIG_AsVal_int(obj1, &val2);
5560 if (!SWIG_IsOK(ecode2)) {
5561 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5562 }
5563 arg2 = static_cast< int >(val2);
5564 {
5565 PyThreadState* __tstate = wxPyBeginAllowThreads();
5566 (arg1)->SetImage(arg2);
5567 wxPyEndAllowThreads(__tstate);
5568 if (PyErr_Occurred()) SWIG_fail;
5569 }
5570 resultobj = SWIG_Py_Void();
5571 return resultobj;
5572 fail:
5573 return NULL;
5574 }
5575
5576
5577 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5578 PyObject *resultobj = 0;
5579 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5580 int arg2 ;
5581 void *argp1 = 0 ;
5582 int res1 = 0 ;
5583 int val2 ;
5584 int ecode2 = 0 ;
5585 PyObject * obj0 = 0 ;
5586 PyObject * obj1 = 0 ;
5587 char * kwnames[] = {
5588 (char *) "self",(char *) "image", NULL
5589 };
5590
5591 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5592 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5593 if (!SWIG_IsOK(res1)) {
5594 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5595 }
5596 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5597 ecode2 = SWIG_AsVal_int(obj1, &val2);
5598 if (!SWIG_IsOK(ecode2)) {
5599 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5600 }
5601 arg2 = static_cast< int >(val2);
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetSelectedImage(arg2);
5605 wxPyEndAllowThreads(__tstate);
5606 if (PyErr_Occurred()) SWIG_fail;
5607 }
5608 resultobj = SWIG_Py_Void();
5609 return resultobj;
5610 fail:
5611 return NULL;
5612 }
5613
5614
5615 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5616 PyObject *resultobj = 0;
5617 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5618 size_t arg2 ;
5619 void *argp1 = 0 ;
5620 int res1 = 0 ;
5621 size_t val2 ;
5622 int ecode2 = 0 ;
5623 PyObject * obj0 = 0 ;
5624 PyObject * obj1 = 0 ;
5625 char * kwnames[] = {
5626 (char *) "self",(char *) "with", NULL
5627 };
5628
5629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5631 if (!SWIG_IsOK(res1)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5633 }
5634 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5635 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5636 if (!SWIG_IsOK(ecode2)) {
5637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5638 }
5639 arg2 = static_cast< size_t >(val2);
5640 {
5641 PyThreadState* __tstate = wxPyBeginAllowThreads();
5642 (arg1)->SetWidth(arg2);
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = SWIG_Py_Void();
5647 return resultobj;
5648 fail:
5649 return NULL;
5650 }
5651
5652
5653 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj = 0;
5655 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5656 bool arg2 ;
5657 void *argp1 = 0 ;
5658 int res1 = 0 ;
5659 bool val2 ;
5660 int ecode2 = 0 ;
5661 PyObject * obj0 = 0 ;
5662 PyObject * obj1 = 0 ;
5663 char * kwnames[] = {
5664 (char *) "self",(char *) "edit", NULL
5665 };
5666
5667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5669 if (!SWIG_IsOK(res1)) {
5670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5671 }
5672 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5673 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5674 if (!SWIG_IsOK(ecode2)) {
5675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5676 }
5677 arg2 = static_cast< bool >(val2);
5678 {
5679 PyThreadState* __tstate = wxPyBeginAllowThreads();
5680 (arg1)->SetEditable(arg2);
5681 wxPyEndAllowThreads(__tstate);
5682 if (PyErr_Occurred()) SWIG_fail;
5683 }
5684 resultobj = SWIG_Py_Void();
5685 return resultobj;
5686 fail:
5687 return NULL;
5688 }
5689
5690
5691 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5692 PyObject *resultobj = 0;
5693 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5694 bool arg2 ;
5695 void *argp1 = 0 ;
5696 int res1 = 0 ;
5697 bool val2 ;
5698 int ecode2 = 0 ;
5699 PyObject * obj0 = 0 ;
5700 PyObject * obj1 = 0 ;
5701 char * kwnames[] = {
5702 (char *) "self",(char *) "shown", NULL
5703 };
5704
5705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5707 if (!SWIG_IsOK(res1)) {
5708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5709 }
5710 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5711 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5712 if (!SWIG_IsOK(ecode2)) {
5713 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5714 }
5715 arg2 = static_cast< bool >(val2);
5716 {
5717 PyThreadState* __tstate = wxPyBeginAllowThreads();
5718 (arg1)->SetShown(arg2);
5719 wxPyEndAllowThreads(__tstate);
5720 if (PyErr_Occurred()) SWIG_fail;
5721 }
5722 resultobj = SWIG_Py_Void();
5723 return resultobj;
5724 fail:
5725 return NULL;
5726 }
5727
5728
5729 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5730 PyObject *obj;
5731 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5732 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5733 return SWIG_Py_Void();
5734 }
5735
5736 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5737 return SWIG_Python_InitShadowInstance(args);
5738 }
5739
5740 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5741 PyObject *resultobj = 0;
5742 wxWindow *arg1 = (wxWindow *) 0 ;
5743 int arg2 = (int) -1 ;
5744 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5745 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5746 wxSize const &arg4_defvalue = wxDefaultSize ;
5747 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5748 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5749 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5750 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5751 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5752 wxString *arg7 = (wxString *) &arg7_defvalue ;
5753 wxPyTreeListCtrl *result = 0 ;
5754 void *argp1 = 0 ;
5755 int res1 = 0 ;
5756 int val2 ;
5757 int ecode2 = 0 ;
5758 wxPoint temp3 ;
5759 wxSize temp4 ;
5760 long val5 ;
5761 int ecode5 = 0 ;
5762 void *argp6 = 0 ;
5763 int res6 = 0 ;
5764 bool temp7 = false ;
5765 PyObject * obj0 = 0 ;
5766 PyObject * obj1 = 0 ;
5767 PyObject * obj2 = 0 ;
5768 PyObject * obj3 = 0 ;
5769 PyObject * obj4 = 0 ;
5770 PyObject * obj5 = 0 ;
5771 PyObject * obj6 = 0 ;
5772 char * kwnames[] = {
5773 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5774 };
5775
5776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res1)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5780 }
5781 arg1 = reinterpret_cast< wxWindow * >(argp1);
5782 if (obj1) {
5783 ecode2 = SWIG_AsVal_int(obj1, &val2);
5784 if (!SWIG_IsOK(ecode2)) {
5785 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5786 }
5787 arg2 = static_cast< int >(val2);
5788 }
5789 if (obj2) {
5790 {
5791 arg3 = &temp3;
5792 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5793 }
5794 }
5795 if (obj3) {
5796 {
5797 arg4 = &temp4;
5798 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5799 }
5800 }
5801 if (obj4) {
5802 ecode5 = SWIG_AsVal_long(obj4, &val5);
5803 if (!SWIG_IsOK(ecode5)) {
5804 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5805 }
5806 arg5 = static_cast< long >(val5);
5807 }
5808 if (obj5) {
5809 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5810 if (!SWIG_IsOK(res6)) {
5811 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5812 }
5813 if (!argp6) {
5814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5815 }
5816 arg6 = reinterpret_cast< wxValidator * >(argp6);
5817 }
5818 if (obj6) {
5819 {
5820 arg7 = wxString_in_helper(obj6);
5821 if (arg7 == NULL) SWIG_fail;
5822 temp7 = true;
5823 }
5824 }
5825 {
5826 if (!wxPyCheckForApp()) SWIG_fail;
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5833 {
5834 if (temp7)
5835 delete arg7;
5836 }
5837 return resultobj;
5838 fail:
5839 {
5840 if (temp7)
5841 delete arg7;
5842 }
5843 return NULL;
5844 }
5845
5846
5847 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5848 PyObject *resultobj = 0;
5849 wxPyTreeListCtrl *result = 0 ;
5850
5851 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5852 {
5853 if (!wxPyCheckForApp()) SWIG_fail;
5854 PyThreadState* __tstate = wxPyBeginAllowThreads();
5855 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
5859 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5860 return resultobj;
5861 fail:
5862 return NULL;
5863 }
5864
5865
5866 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj = 0;
5868 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5869 wxWindow *arg2 = (wxWindow *) 0 ;
5870 int arg3 = (int) -1 ;
5871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5873 wxSize const &arg5_defvalue = wxDefaultSize ;
5874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5875 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5876 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5877 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5878 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5879 wxString *arg8 = (wxString *) &arg8_defvalue ;
5880 bool result;
5881 void *argp1 = 0 ;
5882 int res1 = 0 ;
5883 void *argp2 = 0 ;
5884 int res2 = 0 ;
5885 int val3 ;
5886 int ecode3 = 0 ;
5887 wxPoint temp4 ;
5888 wxSize temp5 ;
5889 long val6 ;
5890 int ecode6 = 0 ;
5891 void *argp7 = 0 ;
5892 int res7 = 0 ;
5893 bool temp8 = false ;
5894 PyObject * obj0 = 0 ;
5895 PyObject * obj1 = 0 ;
5896 PyObject * obj2 = 0 ;
5897 PyObject * obj3 = 0 ;
5898 PyObject * obj4 = 0 ;
5899 PyObject * obj5 = 0 ;
5900 PyObject * obj6 = 0 ;
5901 PyObject * obj7 = 0 ;
5902 char * kwnames[] = {
5903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5904 };
5905
5906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5908 if (!SWIG_IsOK(res1)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5910 }
5911 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5912 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5913 if (!SWIG_IsOK(res2)) {
5914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5915 }
5916 arg2 = reinterpret_cast< wxWindow * >(argp2);
5917 if (obj2) {
5918 ecode3 = SWIG_AsVal_int(obj2, &val3);
5919 if (!SWIG_IsOK(ecode3)) {
5920 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5921 }
5922 arg3 = static_cast< int >(val3);
5923 }
5924 if (obj3) {
5925 {
5926 arg4 = &temp4;
5927 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5928 }
5929 }
5930 if (obj4) {
5931 {
5932 arg5 = &temp5;
5933 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5934 }
5935 }
5936 if (obj5) {
5937 ecode6 = SWIG_AsVal_long(obj5, &val6);
5938 if (!SWIG_IsOK(ecode6)) {
5939 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5940 }
5941 arg6 = static_cast< long >(val6);
5942 }
5943 if (obj6) {
5944 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5945 if (!SWIG_IsOK(res7)) {
5946 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5947 }
5948 if (!argp7) {
5949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5950 }
5951 arg7 = reinterpret_cast< wxValidator * >(argp7);
5952 }
5953 if (obj7) {
5954 {
5955 arg8 = wxString_in_helper(obj7);
5956 if (arg8 == NULL) SWIG_fail;
5957 temp8 = true;
5958 }
5959 }
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 {
5967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5968 }
5969 {
5970 if (temp8)
5971 delete arg8;
5972 }
5973 return resultobj;
5974 fail:
5975 {
5976 if (temp8)
5977 delete arg8;
5978 }
5979 return NULL;
5980 }
5981
5982
5983 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj = 0;
5985 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5986 PyObject *arg2 = (PyObject *) 0 ;
5987 PyObject *arg3 = (PyObject *) 0 ;
5988 void *argp1 = 0 ;
5989 int res1 = 0 ;
5990 PyObject * obj0 = 0 ;
5991 PyObject * obj1 = 0 ;
5992 PyObject * obj2 = 0 ;
5993 char * kwnames[] = {
5994 (char *) "self",(char *) "self",(char *) "_class", NULL
5995 };
5996
5997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5999 if (!SWIG_IsOK(res1)) {
6000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6001 }
6002 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6003 arg2 = obj1;
6004 arg3 = obj2;
6005 {
6006 PyThreadState* __tstate = wxPyBeginAllowThreads();
6007 (arg1)->_setCallbackInfo(arg2,arg3);
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
6011 resultobj = SWIG_Py_Void();
6012 return resultobj;
6013 fail:
6014 return NULL;
6015 }
6016
6017
6018 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6019 PyObject *resultobj = 0;
6020 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6021 size_t result;
6022 void *argp1 = 0 ;
6023 int res1 = 0 ;
6024 PyObject *swig_obj[1] ;
6025
6026 if (!args) SWIG_fail;
6027 swig_obj[0] = args;
6028 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6029 if (!SWIG_IsOK(res1)) {
6030 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6031 }
6032 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6033 {
6034 PyThreadState* __tstate = wxPyBeginAllowThreads();
6035 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6036 wxPyEndAllowThreads(__tstate);
6037 if (PyErr_Occurred()) SWIG_fail;
6038 }
6039 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6040 return resultobj;
6041 fail:
6042 return NULL;
6043 }
6044
6045
6046 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6047 PyObject *resultobj = 0;
6048 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6049 unsigned int result;
6050 void *argp1 = 0 ;
6051 int res1 = 0 ;
6052 PyObject *swig_obj[1] ;
6053
6054 if (!args) SWIG_fail;
6055 swig_obj[0] = args;
6056 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6057 if (!SWIG_IsOK(res1)) {
6058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6059 }
6060 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6064 wxPyEndAllowThreads(__tstate);
6065 if (PyErr_Occurred()) SWIG_fail;
6066 }
6067 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6068 return resultobj;
6069 fail:
6070 return NULL;
6071 }
6072
6073
6074 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6075 PyObject *resultobj = 0;
6076 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6077 unsigned int arg2 ;
6078 void *argp1 = 0 ;
6079 int res1 = 0 ;
6080 unsigned int val2 ;
6081 int ecode2 = 0 ;
6082 PyObject * obj0 = 0 ;
6083 PyObject * obj1 = 0 ;
6084 char * kwnames[] = {
6085 (char *) "self",(char *) "indent", NULL
6086 };
6087
6088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6090 if (!SWIG_IsOK(res1)) {
6091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6092 }
6093 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6094 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6095 if (!SWIG_IsOK(ecode2)) {
6096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6097 }
6098 arg2 = static_cast< unsigned int >(val2);
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 (arg1)->SetIndent(arg2);
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
6105 resultobj = SWIG_Py_Void();
6106 return resultobj;
6107 fail:
6108 return NULL;
6109 }
6110
6111
6112 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6113 PyObject *resultobj = 0;
6114 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6115 unsigned int result;
6116 void *argp1 = 0 ;
6117 int res1 = 0 ;
6118 PyObject *swig_obj[1] ;
6119
6120 if (!args) SWIG_fail;
6121 swig_obj[0] = args;
6122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6123 if (!SWIG_IsOK(res1)) {
6124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6125 }
6126 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6127 {
6128 PyThreadState* __tstate = wxPyBeginAllowThreads();
6129 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6134 return resultobj;
6135 fail:
6136 return NULL;
6137 }
6138
6139
6140 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj = 0;
6142 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6143 unsigned int arg2 ;
6144 void *argp1 = 0 ;
6145 int res1 = 0 ;
6146 unsigned int val2 ;
6147 int ecode2 = 0 ;
6148 PyObject * obj0 = 0 ;
6149 PyObject * obj1 = 0 ;
6150 char * kwnames[] = {
6151 (char *) "self",(char *) "spacing", NULL
6152 };
6153
6154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6156 if (!SWIG_IsOK(res1)) {
6157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6158 }
6159 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6160 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6161 if (!SWIG_IsOK(ecode2)) {
6162 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6163 }
6164 arg2 = static_cast< unsigned int >(val2);
6165 {
6166 PyThreadState* __tstate = wxPyBeginAllowThreads();
6167 (arg1)->SetLineSpacing(arg2);
6168 wxPyEndAllowThreads(__tstate);
6169 if (PyErr_Occurred()) SWIG_fail;
6170 }
6171 resultobj = SWIG_Py_Void();
6172 return resultobj;
6173 fail:
6174 return NULL;
6175 }
6176
6177
6178 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6179 PyObject *resultobj = 0;
6180 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6181 wxImageList *result = 0 ;
6182 void *argp1 = 0 ;
6183 int res1 = 0 ;
6184 PyObject *swig_obj[1] ;
6185
6186 if (!args) SWIG_fail;
6187 swig_obj[0] = args;
6188 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6189 if (!SWIG_IsOK(res1)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6191 }
6192 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6193 {
6194 PyThreadState* __tstate = wxPyBeginAllowThreads();
6195 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6196 wxPyEndAllowThreads(__tstate);
6197 if (PyErr_Occurred()) SWIG_fail;
6198 }
6199 {
6200 resultobj = wxPyMake_wxObject(result, (bool)0);
6201 }
6202 return resultobj;
6203 fail:
6204 return NULL;
6205 }
6206
6207
6208 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6209 PyObject *resultobj = 0;
6210 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6211 wxImageList *result = 0 ;
6212 void *argp1 = 0 ;
6213 int res1 = 0 ;
6214 PyObject *swig_obj[1] ;
6215
6216 if (!args) SWIG_fail;
6217 swig_obj[0] = args;
6218 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6219 if (!SWIG_IsOK(res1)) {
6220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6221 }
6222 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6223 {
6224 PyThreadState* __tstate = wxPyBeginAllowThreads();
6225 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6226 wxPyEndAllowThreads(__tstate);
6227 if (PyErr_Occurred()) SWIG_fail;
6228 }
6229 {
6230 resultobj = wxPyMake_wxObject(result, (bool)0);
6231 }
6232 return resultobj;
6233 fail:
6234 return NULL;
6235 }
6236
6237
6238 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6239 PyObject *resultobj = 0;
6240 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6241 wxImageList *result = 0 ;
6242 void *argp1 = 0 ;
6243 int res1 = 0 ;
6244 PyObject *swig_obj[1] ;
6245
6246 if (!args) SWIG_fail;
6247 swig_obj[0] = args;
6248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6249 if (!SWIG_IsOK(res1)) {
6250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6251 }
6252 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 {
6260 resultobj = wxPyMake_wxObject(result, (bool)0);
6261 }
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj = 0;
6270 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6271 wxImageList *arg2 = (wxImageList *) 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 void *argp2 = 0 ;
6275 int res2 = 0 ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char * kwnames[] = {
6279 (char *) "self",(char *) "imageList", NULL
6280 };
6281
6282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6284 if (!SWIG_IsOK(res1)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6286 }
6287 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6288 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6289 if (!SWIG_IsOK(res2)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6291 }
6292 arg2 = reinterpret_cast< wxImageList * >(argp2);
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 (arg1)->SetImageList(arg2);
6296 wxPyEndAllowThreads(__tstate);
6297 if (PyErr_Occurred()) SWIG_fail;
6298 }
6299 resultobj = SWIG_Py_Void();
6300 return resultobj;
6301 fail:
6302 return NULL;
6303 }
6304
6305
6306 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6307 PyObject *resultobj = 0;
6308 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6309 wxImageList *arg2 = (wxImageList *) 0 ;
6310 void *argp1 = 0 ;
6311 int res1 = 0 ;
6312 void *argp2 = 0 ;
6313 int res2 = 0 ;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 char * kwnames[] = {
6317 (char *) "self",(char *) "imageList", NULL
6318 };
6319
6320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6322 if (!SWIG_IsOK(res1)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6324 }
6325 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6326 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6327 if (!SWIG_IsOK(res2)) {
6328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6329 }
6330 arg2 = reinterpret_cast< wxImageList * >(argp2);
6331 {
6332 PyThreadState* __tstate = wxPyBeginAllowThreads();
6333 (arg1)->SetStateImageList(arg2);
6334 wxPyEndAllowThreads(__tstate);
6335 if (PyErr_Occurred()) SWIG_fail;
6336 }
6337 resultobj = SWIG_Py_Void();
6338 return resultobj;
6339 fail:
6340 return NULL;
6341 }
6342
6343
6344 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6345 PyObject *resultobj = 0;
6346 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6347 wxImageList *arg2 = (wxImageList *) 0 ;
6348 void *argp1 = 0 ;
6349 int res1 = 0 ;
6350 void *argp2 = 0 ;
6351 int res2 = 0 ;
6352 PyObject * obj0 = 0 ;
6353 PyObject * obj1 = 0 ;
6354 char * kwnames[] = {
6355 (char *) "self",(char *) "imageList", NULL
6356 };
6357
6358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6360 if (!SWIG_IsOK(res1)) {
6361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6362 }
6363 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6364 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6365 if (!SWIG_IsOK(res2)) {
6366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6367 }
6368 arg2 = reinterpret_cast< wxImageList * >(argp2);
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetButtonsImageList(arg2);
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_Py_Void();
6376 return resultobj;
6377 fail:
6378 return NULL;
6379 }
6380
6381
6382 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6383 PyObject *resultobj = 0;
6384 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6385 wxImageList *arg2 = (wxImageList *) 0 ;
6386 void *argp1 = 0 ;
6387 int res1 = 0 ;
6388 int res2 = 0 ;
6389 PyObject * obj0 = 0 ;
6390 PyObject * obj1 = 0 ;
6391 char * kwnames[] = {
6392 (char *) "self",(char *) "imageList", NULL
6393 };
6394
6395 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6396 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6397 if (!SWIG_IsOK(res1)) {
6398 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6399 }
6400 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6401 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6402 if (!SWIG_IsOK(res2)) {
6403 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6404 }
6405 {
6406 PyThreadState* __tstate = wxPyBeginAllowThreads();
6407 (arg1)->AssignImageList(arg2);
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 resultobj = SWIG_Py_Void();
6412 return resultobj;
6413 fail:
6414 return NULL;
6415 }
6416
6417
6418 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj = 0;
6420 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6421 wxImageList *arg2 = (wxImageList *) 0 ;
6422 void *argp1 = 0 ;
6423 int res1 = 0 ;
6424 int res2 = 0 ;
6425 PyObject * obj0 = 0 ;
6426 PyObject * obj1 = 0 ;
6427 char * kwnames[] = {
6428 (char *) "self",(char *) "imageList", NULL
6429 };
6430
6431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6433 if (!SWIG_IsOK(res1)) {
6434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6435 }
6436 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6437 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6438 if (!SWIG_IsOK(res2)) {
6439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6440 }
6441 {
6442 PyThreadState* __tstate = wxPyBeginAllowThreads();
6443 (arg1)->AssignStateImageList(arg2);
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = SWIG_Py_Void();
6448 return resultobj;
6449 fail:
6450 return NULL;
6451 }
6452
6453
6454 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6455 PyObject *resultobj = 0;
6456 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6457 wxImageList *arg2 = (wxImageList *) 0 ;
6458 void *argp1 = 0 ;
6459 int res1 = 0 ;
6460 int res2 = 0 ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char * kwnames[] = {
6464 (char *) "self",(char *) "imageList", NULL
6465 };
6466
6467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6469 if (!SWIG_IsOK(res1)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6471 }
6472 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6473 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6474 if (!SWIG_IsOK(res2)) {
6475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6476 }
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 (arg1)->AssignButtonsImageList(arg2);
6480 wxPyEndAllowThreads(__tstate);
6481 if (PyErr_Occurred()) SWIG_fail;
6482 }
6483 resultobj = SWIG_Py_Void();
6484 return resultobj;
6485 fail:
6486 return NULL;
6487 }
6488
6489
6490 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6491 PyObject *resultobj = 0;
6492 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6493 wxString *arg2 = 0 ;
6494 int arg3 = (int) DEFAULT_COL_WIDTH ;
6495 int arg4 = (int) wxALIGN_LEFT ;
6496 int arg5 = (int) -1 ;
6497 bool arg6 = (bool) true ;
6498 bool arg7 = (bool) false ;
6499 void *argp1 = 0 ;
6500 int res1 = 0 ;
6501 bool temp2 = false ;
6502 int val3 ;
6503 int ecode3 = 0 ;
6504 int val4 ;
6505 int ecode4 = 0 ;
6506 int val5 ;
6507 int ecode5 = 0 ;
6508 bool val6 ;
6509 int ecode6 = 0 ;
6510 bool val7 ;
6511 int ecode7 = 0 ;
6512 PyObject * obj0 = 0 ;
6513 PyObject * obj1 = 0 ;
6514 PyObject * obj2 = 0 ;
6515 PyObject * obj3 = 0 ;
6516 PyObject * obj4 = 0 ;
6517 PyObject * obj5 = 0 ;
6518 PyObject * obj6 = 0 ;
6519 char * kwnames[] = {
6520 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6521 };
6522
6523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6525 if (!SWIG_IsOK(res1)) {
6526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6527 }
6528 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6529 {
6530 arg2 = wxString_in_helper(obj1);
6531 if (arg2 == NULL) SWIG_fail;
6532 temp2 = true;
6533 }
6534 if (obj2) {
6535 ecode3 = SWIG_AsVal_int(obj2, &val3);
6536 if (!SWIG_IsOK(ecode3)) {
6537 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6538 }
6539 arg3 = static_cast< int >(val3);
6540 }
6541 if (obj3) {
6542 ecode4 = SWIG_AsVal_int(obj3, &val4);
6543 if (!SWIG_IsOK(ecode4)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6545 }
6546 arg4 = static_cast< int >(val4);
6547 }
6548 if (obj4) {
6549 ecode5 = SWIG_AsVal_int(obj4, &val5);
6550 if (!SWIG_IsOK(ecode5)) {
6551 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6552 }
6553 arg5 = static_cast< int >(val5);
6554 }
6555 if (obj5) {
6556 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6557 if (!SWIG_IsOK(ecode6)) {
6558 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6559 }
6560 arg6 = static_cast< bool >(val6);
6561 }
6562 if (obj6) {
6563 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6564 if (!SWIG_IsOK(ecode7)) {
6565 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6566 }
6567 arg7 = static_cast< bool >(val7);
6568 }
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
6572 wxPyEndAllowThreads(__tstate);
6573 if (PyErr_Occurred()) SWIG_fail;
6574 }
6575 resultobj = SWIG_Py_Void();
6576 {
6577 if (temp2)
6578 delete arg2;
6579 }
6580 return resultobj;
6581 fail:
6582 {
6583 if (temp2)
6584 delete arg2;
6585 }
6586 return NULL;
6587 }
6588
6589
6590 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6591 PyObject *resultobj = 0;
6592 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6593 wxTreeListColumnInfo *arg2 = 0 ;
6594 void *argp1 = 0 ;
6595 int res1 = 0 ;
6596 void *argp2 = 0 ;
6597 int res2 = 0 ;
6598 PyObject * obj0 = 0 ;
6599 PyObject * obj1 = 0 ;
6600 char * kwnames[] = {
6601 (char *) "self",(char *) "col", NULL
6602 };
6603
6604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6606 if (!SWIG_IsOK(res1)) {
6607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6608 }
6609 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6611 if (!SWIG_IsOK(res2)) {
6612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6613 }
6614 if (!argp2) {
6615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6616 }
6617 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6618 {
6619 PyThreadState* __tstate = wxPyBeginAllowThreads();
6620 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6621 wxPyEndAllowThreads(__tstate);
6622 if (PyErr_Occurred()) SWIG_fail;
6623 }
6624 resultobj = SWIG_Py_Void();
6625 return resultobj;
6626 fail:
6627 return NULL;
6628 }
6629
6630
6631 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj = 0;
6633 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6634 int arg2 ;
6635 wxString *arg3 = 0 ;
6636 int arg4 = (int) DEFAULT_COL_WIDTH ;
6637 int arg5 = (int) wxALIGN_LEFT ;
6638 int arg6 = (int) -1 ;
6639 bool arg7 = (bool) true ;
6640 bool arg8 = (bool) false ;
6641 void *argp1 = 0 ;
6642 int res1 = 0 ;
6643 int val2 ;
6644 int ecode2 = 0 ;
6645 bool temp3 = false ;
6646 int val4 ;
6647 int ecode4 = 0 ;
6648 int val5 ;
6649 int ecode5 = 0 ;
6650 int val6 ;
6651 int ecode6 = 0 ;
6652 bool val7 ;
6653 int ecode7 = 0 ;
6654 bool val8 ;
6655 int ecode8 = 0 ;
6656 PyObject * obj0 = 0 ;
6657 PyObject * obj1 = 0 ;
6658 PyObject * obj2 = 0 ;
6659 PyObject * obj3 = 0 ;
6660 PyObject * obj4 = 0 ;
6661 PyObject * obj5 = 0 ;
6662 PyObject * obj6 = 0 ;
6663 PyObject * obj7 = 0 ;
6664 char * kwnames[] = {
6665 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6666 };
6667
6668 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6669 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6670 if (!SWIG_IsOK(res1)) {
6671 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6672 }
6673 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6674 ecode2 = SWIG_AsVal_int(obj1, &val2);
6675 if (!SWIG_IsOK(ecode2)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6677 }
6678 arg2 = static_cast< int >(val2);
6679 {
6680 arg3 = wxString_in_helper(obj2);
6681 if (arg3 == NULL) SWIG_fail;
6682 temp3 = true;
6683 }
6684 if (obj3) {
6685 ecode4 = SWIG_AsVal_int(obj3, &val4);
6686 if (!SWIG_IsOK(ecode4)) {
6687 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6688 }
6689 arg4 = static_cast< int >(val4);
6690 }
6691 if (obj4) {
6692 ecode5 = SWIG_AsVal_int(obj4, &val5);
6693 if (!SWIG_IsOK(ecode5)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6695 }
6696 arg5 = static_cast< int >(val5);
6697 }
6698 if (obj5) {
6699 ecode6 = SWIG_AsVal_int(obj5, &val6);
6700 if (!SWIG_IsOK(ecode6)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6702 }
6703 arg6 = static_cast< int >(val6);
6704 }
6705 if (obj6) {
6706 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6707 if (!SWIG_IsOK(ecode7)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6709 }
6710 arg7 = static_cast< bool >(val7);
6711 }
6712 if (obj7) {
6713 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6714 if (!SWIG_IsOK(ecode8)) {
6715 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6716 }
6717 arg8 = static_cast< bool >(val8);
6718 }
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = SWIG_Py_Void();
6726 {
6727 if (temp3)
6728 delete arg3;
6729 }
6730 return resultobj;
6731 fail:
6732 {
6733 if (temp3)
6734 delete arg3;
6735 }
6736 return NULL;
6737 }
6738
6739
6740 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6741 PyObject *resultobj = 0;
6742 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6743 size_t arg2 ;
6744 wxTreeListColumnInfo *arg3 = 0 ;
6745 void *argp1 = 0 ;
6746 int res1 = 0 ;
6747 size_t val2 ;
6748 int ecode2 = 0 ;
6749 void *argp3 = 0 ;
6750 int res3 = 0 ;
6751 PyObject * obj0 = 0 ;
6752 PyObject * obj1 = 0 ;
6753 PyObject * obj2 = 0 ;
6754 char * kwnames[] = {
6755 (char *) "self",(char *) "before",(char *) "col", NULL
6756 };
6757
6758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6760 if (!SWIG_IsOK(res1)) {
6761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6762 }
6763 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6764 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6765 if (!SWIG_IsOK(ecode2)) {
6766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6767 }
6768 arg2 = static_cast< size_t >(val2);
6769 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6770 if (!SWIG_IsOK(res3)) {
6771 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6772 }
6773 if (!argp3) {
6774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6775 }
6776 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6777 {
6778 PyThreadState* __tstate = wxPyBeginAllowThreads();
6779 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6780 wxPyEndAllowThreads(__tstate);
6781 if (PyErr_Occurred()) SWIG_fail;
6782 }
6783 resultobj = SWIG_Py_Void();
6784 return resultobj;
6785 fail:
6786 return NULL;
6787 }
6788
6789
6790 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6791 PyObject *resultobj = 0;
6792 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6793 size_t arg2 ;
6794 void *argp1 = 0 ;
6795 int res1 = 0 ;
6796 size_t val2 ;
6797 int ecode2 = 0 ;
6798 PyObject * obj0 = 0 ;
6799 PyObject * obj1 = 0 ;
6800 char * kwnames[] = {
6801 (char *) "self",(char *) "column", NULL
6802 };
6803
6804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6806 if (!SWIG_IsOK(res1)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6808 }
6809 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6810 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6811 if (!SWIG_IsOK(ecode2)) {
6812 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6813 }
6814 arg2 = static_cast< size_t >(val2);
6815 {
6816 PyThreadState* __tstate = wxPyBeginAllowThreads();
6817 (arg1)->RemoveColumn(arg2);
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 resultobj = SWIG_Py_Void();
6822 return resultobj;
6823 fail:
6824 return NULL;
6825 }
6826
6827
6828 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6829 PyObject *resultobj = 0;
6830 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6831 size_t result;
6832 void *argp1 = 0 ;
6833 int res1 = 0 ;
6834 PyObject *swig_obj[1] ;
6835
6836 if (!args) SWIG_fail;
6837 swig_obj[0] = args;
6838 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6839 if (!SWIG_IsOK(res1)) {
6840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6841 }
6842 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6850 return resultobj;
6851 fail:
6852 return NULL;
6853 }
6854
6855
6856 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj = 0;
6858 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6859 size_t arg2 ;
6860 void *argp1 = 0 ;
6861 int res1 = 0 ;
6862 size_t val2 ;
6863 int ecode2 = 0 ;
6864 PyObject * obj0 = 0 ;
6865 PyObject * obj1 = 0 ;
6866 char * kwnames[] = {
6867 (char *) "self",(char *) "column", NULL
6868 };
6869
6870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6872 if (!SWIG_IsOK(res1)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6874 }
6875 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6876 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6877 if (!SWIG_IsOK(ecode2)) {
6878 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6879 }
6880 arg2 = static_cast< size_t >(val2);
6881 {
6882 PyThreadState* __tstate = wxPyBeginAllowThreads();
6883 (arg1)->SetMainColumn(arg2);
6884 wxPyEndAllowThreads(__tstate);
6885 if (PyErr_Occurred()) SWIG_fail;
6886 }
6887 resultobj = SWIG_Py_Void();
6888 return resultobj;
6889 fail:
6890 return NULL;
6891 }
6892
6893
6894 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6895 PyObject *resultobj = 0;
6896 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6897 size_t result;
6898 void *argp1 = 0 ;
6899 int res1 = 0 ;
6900 PyObject *swig_obj[1] ;
6901
6902 if (!args) SWIG_fail;
6903 swig_obj[0] = args;
6904 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6905 if (!SWIG_IsOK(res1)) {
6906 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6907 }
6908 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6909 {
6910 PyThreadState* __tstate = wxPyBeginAllowThreads();
6911 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6912 wxPyEndAllowThreads(__tstate);
6913 if (PyErr_Occurred()) SWIG_fail;
6914 }
6915 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6916 return resultobj;
6917 fail:
6918 return NULL;
6919 }
6920
6921
6922 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6923 PyObject *resultobj = 0;
6924 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6925 int arg2 ;
6926 wxTreeListColumnInfo *arg3 = 0 ;
6927 void *argp1 = 0 ;
6928 int res1 = 0 ;
6929 int val2 ;
6930 int ecode2 = 0 ;
6931 void *argp3 = 0 ;
6932 int res3 = 0 ;
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 PyObject * obj2 = 0 ;
6936 char * kwnames[] = {
6937 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6938 };
6939
6940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6942 if (!SWIG_IsOK(res1)) {
6943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6944 }
6945 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6946 ecode2 = SWIG_AsVal_int(obj1, &val2);
6947 if (!SWIG_IsOK(ecode2)) {
6948 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6949 }
6950 arg2 = static_cast< int >(val2);
6951 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6952 if (!SWIG_IsOK(res3)) {
6953 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6954 }
6955 if (!argp3) {
6956 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6957 }
6958 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6959 {
6960 PyThreadState* __tstate = wxPyBeginAllowThreads();
6961 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6962 wxPyEndAllowThreads(__tstate);
6963 if (PyErr_Occurred()) SWIG_fail;
6964 }
6965 resultobj = SWIG_Py_Void();
6966 return resultobj;
6967 fail:
6968 return NULL;
6969 }
6970
6971
6972 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj = 0;
6974 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6975 int arg2 ;
6976 wxTreeListColumnInfo *result = 0 ;
6977 void *argp1 = 0 ;
6978 int res1 = 0 ;
6979 int val2 ;
6980 int ecode2 = 0 ;
6981 PyObject * obj0 = 0 ;
6982 PyObject * obj1 = 0 ;
6983 char * kwnames[] = {
6984 (char *) "self",(char *) "column", NULL
6985 };
6986
6987 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6988 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6989 if (!SWIG_IsOK(res1)) {
6990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6991 }
6992 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6993 ecode2 = SWIG_AsVal_int(obj1, &val2);
6994 if (!SWIG_IsOK(ecode2)) {
6995 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6996 }
6997 arg2 = static_cast< int >(val2);
6998 {
6999 PyThreadState* __tstate = wxPyBeginAllowThreads();
7000 {
7001 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
7002 result = (wxTreeListColumnInfo *) &_result_ref;
7003 }
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
7008 return resultobj;
7009 fail:
7010 return NULL;
7011 }
7012
7013
7014 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7015 PyObject *resultobj = 0;
7016 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7017 int arg2 ;
7018 wxString *arg3 = 0 ;
7019 void *argp1 = 0 ;
7020 int res1 = 0 ;
7021 int val2 ;
7022 int ecode2 = 0 ;
7023 bool temp3 = false ;
7024 PyObject * obj0 = 0 ;
7025 PyObject * obj1 = 0 ;
7026 PyObject * obj2 = 0 ;
7027 char * kwnames[] = {
7028 (char *) "self",(char *) "column",(char *) "text", NULL
7029 };
7030
7031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7033 if (!SWIG_IsOK(res1)) {
7034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7035 }
7036 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7037 ecode2 = SWIG_AsVal_int(obj1, &val2);
7038 if (!SWIG_IsOK(ecode2)) {
7039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7040 }
7041 arg2 = static_cast< int >(val2);
7042 {
7043 arg3 = wxString_in_helper(obj2);
7044 if (arg3 == NULL) SWIG_fail;
7045 temp3 = true;
7046 }
7047 {
7048 PyThreadState* __tstate = wxPyBeginAllowThreads();
7049 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7050 wxPyEndAllowThreads(__tstate);
7051 if (PyErr_Occurred()) SWIG_fail;
7052 }
7053 resultobj = SWIG_Py_Void();
7054 {
7055 if (temp3)
7056 delete arg3;
7057 }
7058 return resultobj;
7059 fail:
7060 {
7061 if (temp3)
7062 delete arg3;
7063 }
7064 return NULL;
7065 }
7066
7067
7068 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7069 PyObject *resultobj = 0;
7070 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7071 int arg2 ;
7072 wxString result;
7073 void *argp1 = 0 ;
7074 int res1 = 0 ;
7075 int val2 ;
7076 int ecode2 = 0 ;
7077 PyObject * obj0 = 0 ;
7078 PyObject * obj1 = 0 ;
7079 char * kwnames[] = {
7080 (char *) "self",(char *) "column", NULL
7081 };
7082
7083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7085 if (!SWIG_IsOK(res1)) {
7086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7087 }
7088 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7089 ecode2 = SWIG_AsVal_int(obj1, &val2);
7090 if (!SWIG_IsOK(ecode2)) {
7091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7092 }
7093 arg2 = static_cast< int >(val2);
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7097 wxPyEndAllowThreads(__tstate);
7098 if (PyErr_Occurred()) SWIG_fail;
7099 }
7100 {
7101 #if wxUSE_UNICODE
7102 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7103 #else
7104 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7105 #endif
7106 }
7107 return resultobj;
7108 fail:
7109 return NULL;
7110 }
7111
7112
7113 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj = 0;
7115 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7116 int arg2 ;
7117 int arg3 ;
7118 void *argp1 = 0 ;
7119 int res1 = 0 ;
7120 int val2 ;
7121 int ecode2 = 0 ;
7122 int val3 ;
7123 int ecode3 = 0 ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 PyObject * obj2 = 0 ;
7127 char * kwnames[] = {
7128 (char *) "self",(char *) "column",(char *) "width", NULL
7129 };
7130
7131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7133 if (!SWIG_IsOK(res1)) {
7134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7135 }
7136 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7137 ecode2 = SWIG_AsVal_int(obj1, &val2);
7138 if (!SWIG_IsOK(ecode2)) {
7139 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7140 }
7141 arg2 = static_cast< int >(val2);
7142 ecode3 = SWIG_AsVal_int(obj2, &val3);
7143 if (!SWIG_IsOK(ecode3)) {
7144 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7145 }
7146 arg3 = static_cast< int >(val3);
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 (arg1)->SetColumnWidth(arg2,arg3);
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 resultobj = SWIG_Py_Void();
7154 return resultobj;
7155 fail:
7156 return NULL;
7157 }
7158
7159
7160 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7161 PyObject *resultobj = 0;
7162 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7163 int arg2 ;
7164 int result;
7165 void *argp1 = 0 ;
7166 int res1 = 0 ;
7167 int val2 ;
7168 int ecode2 = 0 ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char * kwnames[] = {
7172 (char *) "self",(char *) "column", NULL
7173 };
7174
7175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7177 if (!SWIG_IsOK(res1)) {
7178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7179 }
7180 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7181 ecode2 = SWIG_AsVal_int(obj1, &val2);
7182 if (!SWIG_IsOK(ecode2)) {
7183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7184 }
7185 arg2 = static_cast< int >(val2);
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
7189 wxPyEndAllowThreads(__tstate);
7190 if (PyErr_Occurred()) SWIG_fail;
7191 }
7192 resultobj = SWIG_From_int(static_cast< int >(result));
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj = 0;
7201 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7202 int arg2 ;
7203 int arg3 ;
7204 void *argp1 = 0 ;
7205 int res1 = 0 ;
7206 int val2 ;
7207 int ecode2 = 0 ;
7208 int val3 ;
7209 int ecode3 = 0 ;
7210 PyObject * obj0 = 0 ;
7211 PyObject * obj1 = 0 ;
7212 PyObject * obj2 = 0 ;
7213 char * kwnames[] = {
7214 (char *) "self",(char *) "column",(char *) "flag", NULL
7215 };
7216
7217 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7218 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7219 if (!SWIG_IsOK(res1)) {
7220 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7221 }
7222 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7223 ecode2 = SWIG_AsVal_int(obj1, &val2);
7224 if (!SWIG_IsOK(ecode2)) {
7225 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7226 }
7227 arg2 = static_cast< int >(val2);
7228 ecode3 = SWIG_AsVal_int(obj2, &val3);
7229 if (!SWIG_IsOK(ecode3)) {
7230 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7231 }
7232 arg3 = static_cast< int >(val3);
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetColumnAlignment(arg2,arg3);
7236 wxPyEndAllowThreads(__tstate);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
7239 resultobj = SWIG_Py_Void();
7240 return resultobj;
7241 fail:
7242 return NULL;
7243 }
7244
7245
7246 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7247 PyObject *resultobj = 0;
7248 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7249 int arg2 ;
7250 int result;
7251 void *argp1 = 0 ;
7252 int res1 = 0 ;
7253 int val2 ;
7254 int ecode2 = 0 ;
7255 PyObject * obj0 = 0 ;
7256 PyObject * obj1 = 0 ;
7257 char * kwnames[] = {
7258 (char *) "self",(char *) "column", NULL
7259 };
7260
7261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7263 if (!SWIG_IsOK(res1)) {
7264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7265 }
7266 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7267 ecode2 = SWIG_AsVal_int(obj1, &val2);
7268 if (!SWIG_IsOK(ecode2)) {
7269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7270 }
7271 arg2 = static_cast< int >(val2);
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = SWIG_From_int(static_cast< int >(result));
7279 return resultobj;
7280 fail:
7281 return NULL;
7282 }
7283
7284
7285 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj = 0;
7287 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7288 int arg2 ;
7289 int arg3 ;
7290 void *argp1 = 0 ;
7291 int res1 = 0 ;
7292 int val2 ;
7293 int ecode2 = 0 ;
7294 int val3 ;
7295 int ecode3 = 0 ;
7296 PyObject * obj0 = 0 ;
7297 PyObject * obj1 = 0 ;
7298 PyObject * obj2 = 0 ;
7299 char * kwnames[] = {
7300 (char *) "self",(char *) "column",(char *) "image", NULL
7301 };
7302
7303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7305 if (!SWIG_IsOK(res1)) {
7306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7307 }
7308 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7309 ecode2 = SWIG_AsVal_int(obj1, &val2);
7310 if (!SWIG_IsOK(ecode2)) {
7311 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7312 }
7313 arg2 = static_cast< int >(val2);
7314 ecode3 = SWIG_AsVal_int(obj2, &val3);
7315 if (!SWIG_IsOK(ecode3)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7317 }
7318 arg3 = static_cast< int >(val3);
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 (arg1)->SetColumnImage(arg2,arg3);
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 resultobj = SWIG_Py_Void();
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj = 0;
7334 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7335 int arg2 ;
7336 int result;
7337 void *argp1 = 0 ;
7338 int res1 = 0 ;
7339 int val2 ;
7340 int ecode2 = 0 ;
7341 PyObject * obj0 = 0 ;
7342 PyObject * obj1 = 0 ;
7343 char * kwnames[] = {
7344 (char *) "self",(char *) "column", NULL
7345 };
7346
7347 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7348 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7349 if (!SWIG_IsOK(res1)) {
7350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7351 }
7352 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7353 ecode2 = SWIG_AsVal_int(obj1, &val2);
7354 if (!SWIG_IsOK(ecode2)) {
7355 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7356 }
7357 arg2 = static_cast< int >(val2);
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7361 wxPyEndAllowThreads(__tstate);
7362 if (PyErr_Occurred()) SWIG_fail;
7363 }
7364 resultobj = SWIG_From_int(static_cast< int >(result));
7365 return resultobj;
7366 fail:
7367 return NULL;
7368 }
7369
7370
7371 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7372 PyObject *resultobj = 0;
7373 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7374 int arg2 ;
7375 bool arg3 = (bool) true ;
7376 void *argp1 = 0 ;
7377 int res1 = 0 ;
7378 int val2 ;
7379 int ecode2 = 0 ;
7380 bool val3 ;
7381 int ecode3 = 0 ;
7382 PyObject * obj0 = 0 ;
7383 PyObject * obj1 = 0 ;
7384 PyObject * obj2 = 0 ;
7385 char * kwnames[] = {
7386 (char *) "self",(char *) "column",(char *) "shown", NULL
7387 };
7388
7389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7391 if (!SWIG_IsOK(res1)) {
7392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7393 }
7394 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7395 ecode2 = SWIG_AsVal_int(obj1, &val2);
7396 if (!SWIG_IsOK(ecode2)) {
7397 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7398 }
7399 arg2 = static_cast< int >(val2);
7400 if (obj2) {
7401 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7402 if (!SWIG_IsOK(ecode3)) {
7403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7404 }
7405 arg3 = static_cast< bool >(val3);
7406 }
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->SetColumnShown(arg2,arg3);
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 resultobj = SWIG_Py_Void();
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj = 0;
7422 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7423 int arg2 ;
7424 bool result;
7425 void *argp1 = 0 ;
7426 int res1 = 0 ;
7427 int val2 ;
7428 int ecode2 = 0 ;
7429 PyObject * obj0 = 0 ;
7430 PyObject * obj1 = 0 ;
7431 char * kwnames[] = {
7432 (char *) "self",(char *) "column", NULL
7433 };
7434
7435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7437 if (!SWIG_IsOK(res1)) {
7438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7439 }
7440 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7441 ecode2 = SWIG_AsVal_int(obj1, &val2);
7442 if (!SWIG_IsOK(ecode2)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7444 }
7445 arg2 = static_cast< int >(val2);
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
7452 {
7453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7454 }
7455 return resultobj;
7456 fail:
7457 return NULL;
7458 }
7459
7460
7461 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7462 PyObject *resultobj = 0;
7463 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7464 int arg2 ;
7465 bool arg3 = (bool) true ;
7466 void *argp1 = 0 ;
7467 int res1 = 0 ;
7468 int val2 ;
7469 int ecode2 = 0 ;
7470 bool val3 ;
7471 int ecode3 = 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 PyObject * obj2 = 0 ;
7475 char * kwnames[] = {
7476 (char *) "self",(char *) "column",(char *) "edit", NULL
7477 };
7478
7479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7481 if (!SWIG_IsOK(res1)) {
7482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7483 }
7484 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7485 ecode2 = SWIG_AsVal_int(obj1, &val2);
7486 if (!SWIG_IsOK(ecode2)) {
7487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7488 }
7489 arg2 = static_cast< int >(val2);
7490 if (obj2) {
7491 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7492 if (!SWIG_IsOK(ecode3)) {
7493 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7494 }
7495 arg3 = static_cast< bool >(val3);
7496 }
7497 {
7498 PyThreadState* __tstate = wxPyBeginAllowThreads();
7499 (arg1)->SetColumnEditable(arg2,arg3);
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 resultobj = SWIG_Py_Void();
7504 return resultobj;
7505 fail:
7506 return NULL;
7507 }
7508
7509
7510 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7511 PyObject *resultobj = 0;
7512 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7513 int arg2 ;
7514 bool result;
7515 void *argp1 = 0 ;
7516 int res1 = 0 ;
7517 int val2 ;
7518 int ecode2 = 0 ;
7519 PyObject * obj0 = 0 ;
7520 PyObject * obj1 = 0 ;
7521 char * kwnames[] = {
7522 (char *) "self",(char *) "column", NULL
7523 };
7524
7525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7527 if (!SWIG_IsOK(res1)) {
7528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7529 }
7530 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7531 ecode2 = SWIG_AsVal_int(obj1, &val2);
7532 if (!SWIG_IsOK(ecode2)) {
7533 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7534 }
7535 arg2 = static_cast< int >(val2);
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 {
7543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7544 }
7545 return resultobj;
7546 fail:
7547 return NULL;
7548 }
7549
7550
7551 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7552 PyObject *resultobj = 0;
7553 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7554 wxTreeItemId *arg2 = 0 ;
7555 int arg3 = (int) -1 ;
7556 wxString result;
7557 void *argp1 = 0 ;
7558 int res1 = 0 ;
7559 void *argp2 = 0 ;
7560 int res2 = 0 ;
7561 int val3 ;
7562 int ecode3 = 0 ;
7563 PyObject * obj0 = 0 ;
7564 PyObject * obj1 = 0 ;
7565 PyObject * obj2 = 0 ;
7566 char * kwnames[] = {
7567 (char *) "self",(char *) "item",(char *) "column", NULL
7568 };
7569
7570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7572 if (!SWIG_IsOK(res1)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7574 }
7575 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7576 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7577 if (!SWIG_IsOK(res2)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7579 }
7580 if (!argp2) {
7581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7582 }
7583 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7584 if (obj2) {
7585 ecode3 = SWIG_AsVal_int(obj2, &val3);
7586 if (!SWIG_IsOK(ecode3)) {
7587 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7588 }
7589 arg3 = static_cast< int >(val3);
7590 }
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7594 wxPyEndAllowThreads(__tstate);
7595 if (PyErr_Occurred()) SWIG_fail;
7596 }
7597 {
7598 #if wxUSE_UNICODE
7599 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7600 #else
7601 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7602 #endif
7603 }
7604 return resultobj;
7605 fail:
7606 return NULL;
7607 }
7608
7609
7610 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj = 0;
7612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7613 wxTreeItemId *arg2 = 0 ;
7614 int arg3 = (int) -1 ;
7615 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7616 int result;
7617 void *argp1 = 0 ;
7618 int res1 = 0 ;
7619 void *argp2 = 0 ;
7620 int res2 = 0 ;
7621 int val3 ;
7622 int ecode3 = 0 ;
7623 int val4 ;
7624 int ecode4 = 0 ;
7625 PyObject * obj0 = 0 ;
7626 PyObject * obj1 = 0 ;
7627 PyObject * obj2 = 0 ;
7628 PyObject * obj3 = 0 ;
7629 char * kwnames[] = {
7630 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7631 };
7632
7633 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7634 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7635 if (!SWIG_IsOK(res1)) {
7636 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7637 }
7638 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7639 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7640 if (!SWIG_IsOK(res2)) {
7641 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7642 }
7643 if (!argp2) {
7644 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7645 }
7646 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7647 if (obj2) {
7648 ecode3 = SWIG_AsVal_int(obj2, &val3);
7649 if (!SWIG_IsOK(ecode3)) {
7650 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7651 }
7652 arg3 = static_cast< int >(val3);
7653 }
7654 if (obj3) {
7655 ecode4 = SWIG_AsVal_int(obj3, &val4);
7656 if (!SWIG_IsOK(ecode4)) {
7657 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7658 }
7659 arg4 = static_cast< wxTreeItemIcon >(val4);
7660 }
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7664 wxPyEndAllowThreads(__tstate);
7665 if (PyErr_Occurred()) SWIG_fail;
7666 }
7667 resultobj = SWIG_From_int(static_cast< int >(result));
7668 return resultobj;
7669 fail:
7670 return NULL;
7671 }
7672
7673
7674 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7675 PyObject *resultobj = 0;
7676 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7677 wxTreeItemId *arg2 = 0 ;
7678 wxString *arg3 = 0 ;
7679 int arg4 = (int) -1 ;
7680 void *argp1 = 0 ;
7681 int res1 = 0 ;
7682 void *argp2 = 0 ;
7683 int res2 = 0 ;
7684 bool temp3 = false ;
7685 int val4 ;
7686 int ecode4 = 0 ;
7687 PyObject * obj0 = 0 ;
7688 PyObject * obj1 = 0 ;
7689 PyObject * obj2 = 0 ;
7690 PyObject * obj3 = 0 ;
7691 char * kwnames[] = {
7692 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7693 };
7694
7695 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7696 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7697 if (!SWIG_IsOK(res1)) {
7698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7699 }
7700 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7701 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7702 if (!SWIG_IsOK(res2)) {
7703 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7704 }
7705 if (!argp2) {
7706 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7707 }
7708 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7709 {
7710 arg3 = wxString_in_helper(obj2);
7711 if (arg3 == NULL) SWIG_fail;
7712 temp3 = true;
7713 }
7714 if (obj3) {
7715 ecode4 = SWIG_AsVal_int(obj3, &val4);
7716 if (!SWIG_IsOK(ecode4)) {
7717 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7718 }
7719 arg4 = static_cast< int >(val4);
7720 }
7721 {
7722 PyThreadState* __tstate = wxPyBeginAllowThreads();
7723 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7724 wxPyEndAllowThreads(__tstate);
7725 if (PyErr_Occurred()) SWIG_fail;
7726 }
7727 resultobj = SWIG_Py_Void();
7728 {
7729 if (temp3)
7730 delete arg3;
7731 }
7732 return resultobj;
7733 fail:
7734 {
7735 if (temp3)
7736 delete arg3;
7737 }
7738 return NULL;
7739 }
7740
7741
7742 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj = 0;
7744 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7745 wxTreeItemId *arg2 = 0 ;
7746 int arg3 ;
7747 int arg4 = (int) -1 ;
7748 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7749 void *argp1 = 0 ;
7750 int res1 = 0 ;
7751 void *argp2 = 0 ;
7752 int res2 = 0 ;
7753 int val3 ;
7754 int ecode3 = 0 ;
7755 int val4 ;
7756 int ecode4 = 0 ;
7757 int val5 ;
7758 int ecode5 = 0 ;
7759 PyObject * obj0 = 0 ;
7760 PyObject * obj1 = 0 ;
7761 PyObject * obj2 = 0 ;
7762 PyObject * obj3 = 0 ;
7763 PyObject * obj4 = 0 ;
7764 char * kwnames[] = {
7765 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7766 };
7767
7768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7770 if (!SWIG_IsOK(res1)) {
7771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7772 }
7773 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7774 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7775 if (!SWIG_IsOK(res2)) {
7776 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7777 }
7778 if (!argp2) {
7779 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7780 }
7781 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7782 ecode3 = SWIG_AsVal_int(obj2, &val3);
7783 if (!SWIG_IsOK(ecode3)) {
7784 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7785 }
7786 arg3 = static_cast< int >(val3);
7787 if (obj3) {
7788 ecode4 = SWIG_AsVal_int(obj3, &val4);
7789 if (!SWIG_IsOK(ecode4)) {
7790 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7791 }
7792 arg4 = static_cast< int >(val4);
7793 }
7794 if (obj4) {
7795 ecode5 = SWIG_AsVal_int(obj4, &val5);
7796 if (!SWIG_IsOK(ecode5)) {
7797 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7798 }
7799 arg5 = static_cast< wxTreeItemIcon >(val5);
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_Py_Void();
7808 return resultobj;
7809 fail:
7810 return NULL;
7811 }
7812
7813
7814 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj = 0;
7816 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7817 wxTreeItemId *arg2 = 0 ;
7818 wxPyTreeItemData *result = 0 ;
7819 void *argp1 = 0 ;
7820 int res1 = 0 ;
7821 void *argp2 = 0 ;
7822 int res2 = 0 ;
7823 PyObject * obj0 = 0 ;
7824 PyObject * obj1 = 0 ;
7825 char * kwnames[] = {
7826 (char *) "self",(char *) "item", NULL
7827 };
7828
7829 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7830 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7831 if (!SWIG_IsOK(res1)) {
7832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7833 }
7834 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7835 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7836 if (!SWIG_IsOK(res2)) {
7837 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7838 }
7839 if (!argp2) {
7840 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7841 }
7842 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7843 {
7844 PyThreadState* __tstate = wxPyBeginAllowThreads();
7845 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7846 wxPyEndAllowThreads(__tstate);
7847 if (PyErr_Occurred()) SWIG_fail;
7848 }
7849 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7850 return resultobj;
7851 fail:
7852 return NULL;
7853 }
7854
7855
7856 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7857 PyObject *resultobj = 0;
7858 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7859 wxTreeItemId *arg2 = 0 ;
7860 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7861 void *argp1 = 0 ;
7862 int res1 = 0 ;
7863 void *argp2 = 0 ;
7864 int res2 = 0 ;
7865 int res3 = 0 ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 PyObject * obj2 = 0 ;
7869 char * kwnames[] = {
7870 (char *) "self",(char *) "item",(char *) "data", NULL
7871 };
7872
7873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7875 if (!SWIG_IsOK(res1)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7877 }
7878 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7880 if (!SWIG_IsOK(res2)) {
7881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7882 }
7883 if (!argp2) {
7884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7885 }
7886 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7887 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7888 if (!SWIG_IsOK(res3)) {
7889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 resultobj = SWIG_Py_Void();
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj = 0;
7906 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7907 wxTreeItemId *arg2 = 0 ;
7908 PyObject *result = 0 ;
7909 void *argp1 = 0 ;
7910 int res1 = 0 ;
7911 void *argp2 = 0 ;
7912 int res2 = 0 ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char * kwnames[] = {
7916 (char *) "self",(char *) "item", NULL
7917 };
7918
7919 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7920 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7921 if (!SWIG_IsOK(res1)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7923 }
7924 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7925 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7926 if (!SWIG_IsOK(res2)) {
7927 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7928 }
7929 if (!argp2) {
7930 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7931 }
7932 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7933 {
7934 PyThreadState* __tstate = wxPyBeginAllowThreads();
7935 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 resultobj = result;
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj = 0;
7948 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7949 wxTreeItemId *arg2 = 0 ;
7950 PyObject *arg3 = (PyObject *) 0 ;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 void *argp2 = 0 ;
7954 int res2 = 0 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 PyObject * obj2 = 0 ;
7958 char * kwnames[] = {
7959 (char *) "self",(char *) "item",(char *) "obj", NULL
7960 };
7961
7962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7964 if (!SWIG_IsOK(res1)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7966 }
7967 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7968 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7969 if (!SWIG_IsOK(res2)) {
7970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7971 }
7972 if (!argp2) {
7973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7974 }
7975 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7976 arg3 = obj2;
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7980 wxPyEndAllowThreads(__tstate);
7981 if (PyErr_Occurred()) SWIG_fail;
7982 }
7983 resultobj = SWIG_Py_Void();
7984 return resultobj;
7985 fail:
7986 return NULL;
7987 }
7988
7989
7990 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj = 0;
7992 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7993 wxTreeItemId *arg2 = 0 ;
7994 bool result;
7995 void *argp1 = 0 ;
7996 int res1 = 0 ;
7997 void *argp2 = 0 ;
7998 int res2 = 0 ;
7999 PyObject * obj0 = 0 ;
8000 PyObject * obj1 = 0 ;
8001 char * kwnames[] = {
8002 (char *) "self",(char *) "item", NULL
8003 };
8004
8005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
8006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8007 if (!SWIG_IsOK(res1)) {
8008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8009 }
8010 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8011 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8012 if (!SWIG_IsOK(res2)) {
8013 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8014 }
8015 if (!argp2) {
8016 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8017 }
8018 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8019 {
8020 PyThreadState* __tstate = wxPyBeginAllowThreads();
8021 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
8022 wxPyEndAllowThreads(__tstate);
8023 if (PyErr_Occurred()) SWIG_fail;
8024 }
8025 {
8026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8027 }
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj = 0;
8036 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8037 wxTreeItemId *arg2 = 0 ;
8038 wxColour result;
8039 void *argp1 = 0 ;
8040 int res1 = 0 ;
8041 void *argp2 = 0 ;
8042 int res2 = 0 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 char * kwnames[] = {
8046 (char *) "self",(char *) "item", NULL
8047 };
8048
8049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8051 if (!SWIG_IsOK(res1)) {
8052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8053 }
8054 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8055 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8056 if (!SWIG_IsOK(res2)) {
8057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8058 }
8059 if (!argp2) {
8060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8061 }
8062 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj = 0;
8078 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8079 wxTreeItemId *arg2 = 0 ;
8080 wxColour result;
8081 void *argp1 = 0 ;
8082 int res1 = 0 ;
8083 void *argp2 = 0 ;
8084 int res2 = 0 ;
8085 PyObject * obj0 = 0 ;
8086 PyObject * obj1 = 0 ;
8087 char * kwnames[] = {
8088 (char *) "self",(char *) "item", NULL
8089 };
8090
8091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8093 if (!SWIG_IsOK(res1)) {
8094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8095 }
8096 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8097 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8098 if (!SWIG_IsOK(res2)) {
8099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8100 }
8101 if (!argp2) {
8102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8103 }
8104 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8112 return resultobj;
8113 fail:
8114 return NULL;
8115 }
8116
8117
8118 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj = 0;
8120 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8121 wxTreeItemId *arg2 = 0 ;
8122 wxFont result;
8123 void *argp1 = 0 ;
8124 int res1 = 0 ;
8125 void *argp2 = 0 ;
8126 int res2 = 0 ;
8127 PyObject * obj0 = 0 ;
8128 PyObject * obj1 = 0 ;
8129 char * kwnames[] = {
8130 (char *) "self",(char *) "item", NULL
8131 };
8132
8133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8135 if (!SWIG_IsOK(res1)) {
8136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8137 }
8138 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8139 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8140 if (!SWIG_IsOK(res2)) {
8141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8142 }
8143 if (!argp2) {
8144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8145 }
8146 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
8153 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj = 0;
8162 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8163 wxTreeItemId *arg2 = 0 ;
8164 bool arg3 = (bool) true ;
8165 void *argp1 = 0 ;
8166 int res1 = 0 ;
8167 void *argp2 = 0 ;
8168 int res2 = 0 ;
8169 bool val3 ;
8170 int ecode3 = 0 ;
8171 PyObject * obj0 = 0 ;
8172 PyObject * obj1 = 0 ;
8173 PyObject * obj2 = 0 ;
8174 char * kwnames[] = {
8175 (char *) "self",(char *) "item",(char *) "has", NULL
8176 };
8177
8178 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8179 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8180 if (!SWIG_IsOK(res1)) {
8181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8182 }
8183 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8184 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8185 if (!SWIG_IsOK(res2)) {
8186 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8187 }
8188 if (!argp2) {
8189 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8190 }
8191 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8192 if (obj2) {
8193 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8194 if (!SWIG_IsOK(ecode3)) {
8195 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8196 }
8197 arg3 = static_cast< bool >(val3);
8198 }
8199 {
8200 PyThreadState* __tstate = wxPyBeginAllowThreads();
8201 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = SWIG_Py_Void();
8206 return resultobj;
8207 fail:
8208 return NULL;
8209 }
8210
8211
8212 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj = 0;
8214 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8215 wxTreeItemId *arg2 = 0 ;
8216 bool arg3 = (bool) true ;
8217 void *argp1 = 0 ;
8218 int res1 = 0 ;
8219 void *argp2 = 0 ;
8220 int res2 = 0 ;
8221 bool val3 ;
8222 int ecode3 = 0 ;
8223 PyObject * obj0 = 0 ;
8224 PyObject * obj1 = 0 ;
8225 PyObject * obj2 = 0 ;
8226 char * kwnames[] = {
8227 (char *) "self",(char *) "item",(char *) "bold", NULL
8228 };
8229
8230 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8231 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8232 if (!SWIG_IsOK(res1)) {
8233 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8234 }
8235 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8236 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8237 if (!SWIG_IsOK(res2)) {
8238 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8239 }
8240 if (!argp2) {
8241 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8242 }
8243 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8244 if (obj2) {
8245 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8246 if (!SWIG_IsOK(ecode3)) {
8247 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8248 }
8249 arg3 = static_cast< bool >(val3);
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 resultobj = SWIG_Py_Void();
8258 return resultobj;
8259 fail:
8260 return NULL;
8261 }
8262
8263
8264 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8265 PyObject *resultobj = 0;
8266 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8267 wxTreeItemId *arg2 = 0 ;
8268 wxColour *arg3 = 0 ;
8269 void *argp1 = 0 ;
8270 int res1 = 0 ;
8271 void *argp2 = 0 ;
8272 int res2 = 0 ;
8273 wxColour temp3 ;
8274 PyObject * obj0 = 0 ;
8275 PyObject * obj1 = 0 ;
8276 PyObject * obj2 = 0 ;
8277 char * kwnames[] = {
8278 (char *) "self",(char *) "item",(char *) "colour", NULL
8279 };
8280
8281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8283 if (!SWIG_IsOK(res1)) {
8284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8285 }
8286 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8288 if (!SWIG_IsOK(res2)) {
8289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8290 }
8291 if (!argp2) {
8292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8293 }
8294 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8295 {
8296 arg3 = &temp3;
8297 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8298 }
8299 {
8300 PyThreadState* __tstate = wxPyBeginAllowThreads();
8301 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8302 wxPyEndAllowThreads(__tstate);
8303 if (PyErr_Occurred()) SWIG_fail;
8304 }
8305 resultobj = SWIG_Py_Void();
8306 return resultobj;
8307 fail:
8308 return NULL;
8309 }
8310
8311
8312 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8313 PyObject *resultobj = 0;
8314 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8315 wxTreeItemId *arg2 = 0 ;
8316 wxColour *arg3 = 0 ;
8317 void *argp1 = 0 ;
8318 int res1 = 0 ;
8319 void *argp2 = 0 ;
8320 int res2 = 0 ;
8321 wxColour temp3 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 PyObject * obj2 = 0 ;
8325 char * kwnames[] = {
8326 (char *) "self",(char *) "item",(char *) "colour", NULL
8327 };
8328
8329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8331 if (!SWIG_IsOK(res1)) {
8332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8333 }
8334 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8335 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8336 if (!SWIG_IsOK(res2)) {
8337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8338 }
8339 if (!argp2) {
8340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8341 }
8342 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8343 {
8344 arg3 = &temp3;
8345 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8346 }
8347 {
8348 PyThreadState* __tstate = wxPyBeginAllowThreads();
8349 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8350 wxPyEndAllowThreads(__tstate);
8351 if (PyErr_Occurred()) SWIG_fail;
8352 }
8353 resultobj = SWIG_Py_Void();
8354 return resultobj;
8355 fail:
8356 return NULL;
8357 }
8358
8359
8360 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8361 PyObject *resultobj = 0;
8362 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8363 wxTreeItemId *arg2 = 0 ;
8364 wxFont *arg3 = 0 ;
8365 void *argp1 = 0 ;
8366 int res1 = 0 ;
8367 void *argp2 = 0 ;
8368 int res2 = 0 ;
8369 void *argp3 = 0 ;
8370 int res3 = 0 ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj1 = 0 ;
8373 PyObject * obj2 = 0 ;
8374 char * kwnames[] = {
8375 (char *) "self",(char *) "item",(char *) "font", NULL
8376 };
8377
8378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8380 if (!SWIG_IsOK(res1)) {
8381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8382 }
8383 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8384 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8385 if (!SWIG_IsOK(res2)) {
8386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8387 }
8388 if (!argp2) {
8389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8390 }
8391 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8392 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8393 if (!SWIG_IsOK(res3)) {
8394 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8395 }
8396 if (!argp3) {
8397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8398 }
8399 arg3 = reinterpret_cast< wxFont * >(argp3);
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
8403 wxPyEndAllowThreads(__tstate);
8404 if (PyErr_Occurred()) SWIG_fail;
8405 }
8406 resultobj = SWIG_Py_Void();
8407 return resultobj;
8408 fail:
8409 return NULL;
8410 }
8411
8412
8413 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8414 PyObject *resultobj = 0;
8415 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8416 wxTreeItemId *arg2 = 0 ;
8417 bool result;
8418 void *argp1 = 0 ;
8419 int res1 = 0 ;
8420 void *argp2 = 0 ;
8421 int res2 = 0 ;
8422 PyObject * obj0 = 0 ;
8423 PyObject * obj1 = 0 ;
8424 char * kwnames[] = {
8425 (char *) "self",(char *) "item", NULL
8426 };
8427
8428 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8429 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8430 if (!SWIG_IsOK(res1)) {
8431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8432 }
8433 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8434 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8435 if (!SWIG_IsOK(res2)) {
8436 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8437 }
8438 if (!argp2) {
8439 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8440 }
8441 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
8448 {
8449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8450 }
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8458 PyObject *resultobj = 0;
8459 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8460 wxTreeItemId *arg2 = 0 ;
8461 bool result;
8462 void *argp1 = 0 ;
8463 int res1 = 0 ;
8464 void *argp2 = 0 ;
8465 int res2 = 0 ;
8466 PyObject * obj0 = 0 ;
8467 PyObject * obj1 = 0 ;
8468 char * kwnames[] = {
8469 (char *) "self",(char *) "item", NULL
8470 };
8471
8472 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8473 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8474 if (!SWIG_IsOK(res1)) {
8475 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8476 }
8477 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8478 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8479 if (!SWIG_IsOK(res2)) {
8480 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8481 }
8482 if (!argp2) {
8483 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8484 }
8485 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8486 {
8487 PyThreadState* __tstate = wxPyBeginAllowThreads();
8488 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
8489 wxPyEndAllowThreads(__tstate);
8490 if (PyErr_Occurred()) SWIG_fail;
8491 }
8492 {
8493 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8494 }
8495 return resultobj;
8496 fail:
8497 return NULL;
8498 }
8499
8500
8501 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj = 0;
8503 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8504 wxTreeItemId *arg2 = 0 ;
8505 bool result;
8506 void *argp1 = 0 ;
8507 int res1 = 0 ;
8508 void *argp2 = 0 ;
8509 int res2 = 0 ;
8510 PyObject * obj0 = 0 ;
8511 PyObject * obj1 = 0 ;
8512 char * kwnames[] = {
8513 (char *) "self",(char *) "item", NULL
8514 };
8515
8516 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8517 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8518 if (!SWIG_IsOK(res1)) {
8519 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8520 }
8521 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8522 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8523 if (!SWIG_IsOK(res2)) {
8524 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8525 }
8526 if (!argp2) {
8527 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8528 }
8529 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8530 {
8531 PyThreadState* __tstate = wxPyBeginAllowThreads();
8532 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8533 wxPyEndAllowThreads(__tstate);
8534 if (PyErr_Occurred()) SWIG_fail;
8535 }
8536 {
8537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8538 }
8539 return resultobj;
8540 fail:
8541 return NULL;
8542 }
8543
8544
8545 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8546 PyObject *resultobj = 0;
8547 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8548 wxTreeItemId *arg2 = 0 ;
8549 bool result;
8550 void *argp1 = 0 ;
8551 int res1 = 0 ;
8552 void *argp2 = 0 ;
8553 int res2 = 0 ;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 char * kwnames[] = {
8557 (char *) "self",(char *) "item", NULL
8558 };
8559
8560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8562 if (!SWIG_IsOK(res1)) {
8563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8564 }
8565 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8566 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8567 if (!SWIG_IsOK(res2)) {
8568 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8569 }
8570 if (!argp2) {
8571 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8572 }
8573 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 {
8581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8582 }
8583 return resultobj;
8584 fail:
8585 return NULL;
8586 }
8587
8588
8589 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj = 0;
8591 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8592 wxTreeItemId *arg2 = 0 ;
8593 bool result;
8594 void *argp1 = 0 ;
8595 int res1 = 0 ;
8596 void *argp2 = 0 ;
8597 int res2 = 0 ;
8598 PyObject * obj0 = 0 ;
8599 PyObject * obj1 = 0 ;
8600 char * kwnames[] = {
8601 (char *) "self",(char *) "item", NULL
8602 };
8603
8604 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8605 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8606 if (!SWIG_IsOK(res1)) {
8607 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8608 }
8609 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8610 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8611 if (!SWIG_IsOK(res2)) {
8612 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8613 }
8614 if (!argp2) {
8615 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8616 }
8617 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8621 wxPyEndAllowThreads(__tstate);
8622 if (PyErr_Occurred()) SWIG_fail;
8623 }
8624 {
8625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8626 }
8627 return resultobj;
8628 fail:
8629 return NULL;
8630 }
8631
8632
8633 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8634 PyObject *resultobj = 0;
8635 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8636 wxTreeItemId *arg2 = 0 ;
8637 bool arg3 = (bool) true ;
8638 size_t result;
8639 void *argp1 = 0 ;
8640 int res1 = 0 ;
8641 void *argp2 = 0 ;
8642 int res2 = 0 ;
8643 bool val3 ;
8644 int ecode3 = 0 ;
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 PyObject * obj2 = 0 ;
8648 char * kwnames[] = {
8649 (char *) "self",(char *) "item",(char *) "recursively", NULL
8650 };
8651
8652 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8653 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8654 if (!SWIG_IsOK(res1)) {
8655 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8656 }
8657 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8658 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8659 if (!SWIG_IsOK(res2)) {
8660 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8661 }
8662 if (!argp2) {
8663 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8664 }
8665 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8666 if (obj2) {
8667 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8668 if (!SWIG_IsOK(ecode3)) {
8669 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8670 }
8671 arg3 = static_cast< bool >(val3);
8672 }
8673 {
8674 PyThreadState* __tstate = wxPyBeginAllowThreads();
8675 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8676 wxPyEndAllowThreads(__tstate);
8677 if (PyErr_Occurred()) SWIG_fail;
8678 }
8679 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8680 return resultobj;
8681 fail:
8682 return NULL;
8683 }
8684
8685
8686 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8687 PyObject *resultobj = 0;
8688 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8689 wxTreeItemId result;
8690 void *argp1 = 0 ;
8691 int res1 = 0 ;
8692 PyObject *swig_obj[1] ;
8693
8694 if (!args) SWIG_fail;
8695 swig_obj[0] = args;
8696 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8697 if (!SWIG_IsOK(res1)) {
8698 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8699 }
8700 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8708 return resultobj;
8709 fail:
8710 return NULL;
8711 }
8712
8713
8714 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8715 PyObject *resultobj = 0;
8716 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8717 wxTreeItemId result;
8718 void *argp1 = 0 ;
8719 int res1 = 0 ;
8720 PyObject *swig_obj[1] ;
8721
8722 if (!args) SWIG_fail;
8723 swig_obj[0] = args;
8724 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8727 }
8728 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8732 wxPyEndAllowThreads(__tstate);
8733 if (PyErr_Occurred()) SWIG_fail;
8734 }
8735 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8736 return resultobj;
8737 fail:
8738 return NULL;
8739 }
8740
8741
8742 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8743 PyObject *resultobj = 0;
8744 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8745 PyObject *result = 0 ;
8746 void *argp1 = 0 ;
8747 int res1 = 0 ;
8748 PyObject *swig_obj[1] ;
8749
8750 if (!args) SWIG_fail;
8751 swig_obj[0] = args;
8752 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8753 if (!SWIG_IsOK(res1)) {
8754 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8755 }
8756 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 resultobj = result;
8764 return resultobj;
8765 fail:
8766 return NULL;
8767 }
8768
8769
8770 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8771 PyObject *resultobj = 0;
8772 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8773 wxTreeItemId *arg2 = 0 ;
8774 wxTreeItemId result;
8775 void *argp1 = 0 ;
8776 int res1 = 0 ;
8777 void *argp2 = 0 ;
8778 int res2 = 0 ;
8779 PyObject * obj0 = 0 ;
8780 PyObject * obj1 = 0 ;
8781 char * kwnames[] = {
8782 (char *) "self",(char *) "item", NULL
8783 };
8784
8785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8787 if (!SWIG_IsOK(res1)) {
8788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8789 }
8790 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8791 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8792 if (!SWIG_IsOK(res2)) {
8793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8794 }
8795 if (!argp2) {
8796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8797 }
8798 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8799 {
8800 PyThreadState* __tstate = wxPyBeginAllowThreads();
8801 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8802 wxPyEndAllowThreads(__tstate);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 }
8805 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8806 return resultobj;
8807 fail:
8808 return NULL;
8809 }
8810
8811
8812 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8813 PyObject *resultobj = 0;
8814 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8815 wxTreeItemId *arg2 = 0 ;
8816 PyObject *result = 0 ;
8817 void *argp1 = 0 ;
8818 int res1 = 0 ;
8819 void *argp2 = 0 ;
8820 int res2 = 0 ;
8821 PyObject * obj0 = 0 ;
8822 PyObject * obj1 = 0 ;
8823 char * kwnames[] = {
8824 (char *) "self",(char *) "item", NULL
8825 };
8826
8827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8829 if (!SWIG_IsOK(res1)) {
8830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8831 }
8832 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8834 if (!SWIG_IsOK(res2)) {
8835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8836 }
8837 if (!argp2) {
8838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8839 }
8840 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8841 {
8842 PyThreadState* __tstate = wxPyBeginAllowThreads();
8843 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8844 wxPyEndAllowThreads(__tstate);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 }
8847 resultobj = result;
8848 return resultobj;
8849 fail:
8850 return NULL;
8851 }
8852
8853
8854 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8855 PyObject *resultobj = 0;
8856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8857 wxTreeItemId *arg2 = 0 ;
8858 void *arg3 = (void *) 0 ;
8859 PyObject *result = 0 ;
8860 void *argp1 = 0 ;
8861 int res1 = 0 ;
8862 void *argp2 = 0 ;
8863 int res2 = 0 ;
8864 int res3 ;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char * kwnames[] = {
8869 (char *) "self",(char *) "item",(char *) "cookie", NULL
8870 };
8871
8872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8874 if (!SWIG_IsOK(res1)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8876 }
8877 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8878 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8879 if (!SWIG_IsOK(res2)) {
8880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8881 }
8882 if (!argp2) {
8883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8884 }
8885 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8886 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8887 if (!SWIG_IsOK(res3)) {
8888 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = result;
8897 return resultobj;
8898 fail:
8899 return NULL;
8900 }
8901
8902
8903 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8904 PyObject *resultobj = 0;
8905 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8906 wxTreeItemId *arg2 = 0 ;
8907 PyObject *result = 0 ;
8908 void *argp1 = 0 ;
8909 int res1 = 0 ;
8910 void *argp2 = 0 ;
8911 int res2 = 0 ;
8912 PyObject * obj0 = 0 ;
8913 PyObject * obj1 = 0 ;
8914 char * kwnames[] = {
8915 (char *) "self",(char *) "item", NULL
8916 };
8917
8918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8920 if (!SWIG_IsOK(res1)) {
8921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8922 }
8923 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8925 if (!SWIG_IsOK(res2)) {
8926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8927 }
8928 if (!argp2) {
8929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8930 }
8931 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = result;
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj = 0;
8947 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8948 wxTreeItemId *arg2 = 0 ;
8949 void *arg3 = (void *) 0 ;
8950 PyObject *result = 0 ;
8951 void *argp1 = 0 ;
8952 int res1 = 0 ;
8953 void *argp2 = 0 ;
8954 int res2 = 0 ;
8955 int res3 ;
8956 PyObject * obj0 = 0 ;
8957 PyObject * obj1 = 0 ;
8958 PyObject * obj2 = 0 ;
8959 char * kwnames[] = {
8960 (char *) "self",(char *) "item",(char *) "cookie", NULL
8961 };
8962
8963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8965 if (!SWIG_IsOK(res1)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8967 }
8968 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8969 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8970 if (!SWIG_IsOK(res2)) {
8971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8972 }
8973 if (!argp2) {
8974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8975 }
8976 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8977 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8978 if (!SWIG_IsOK(res3)) {
8979 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8980 }
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8984 wxPyEndAllowThreads(__tstate);
8985 if (PyErr_Occurred()) SWIG_fail;
8986 }
8987 resultobj = result;
8988 return resultobj;
8989 fail:
8990 return NULL;
8991 }
8992
8993
8994 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8995 PyObject *resultobj = 0;
8996 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8997 wxTreeItemId *arg2 = 0 ;
8998 wxTreeItemId result;
8999 void *argp1 = 0 ;
9000 int res1 = 0 ;
9001 void *argp2 = 0 ;
9002 int res2 = 0 ;
9003 PyObject * obj0 = 0 ;
9004 PyObject * obj1 = 0 ;
9005 char * kwnames[] = {
9006 (char *) "self",(char *) "item", NULL
9007 };
9008
9009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9011 if (!SWIG_IsOK(res1)) {
9012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9013 }
9014 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9015 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9016 if (!SWIG_IsOK(res2)) {
9017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9018 }
9019 if (!argp2) {
9020 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9021 }
9022 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9023 {
9024 PyThreadState* __tstate = wxPyBeginAllowThreads();
9025 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj = 0;
9038 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9039 wxTreeItemId *arg2 = 0 ;
9040 wxTreeItemId result;
9041 void *argp1 = 0 ;
9042 int res1 = 0 ;
9043 void *argp2 = 0 ;
9044 int res2 = 0 ;
9045 PyObject * obj0 = 0 ;
9046 PyObject * obj1 = 0 ;
9047 char * kwnames[] = {
9048 (char *) "self",(char *) "item", NULL
9049 };
9050
9051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9053 if (!SWIG_IsOK(res1)) {
9054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9055 }
9056 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9058 if (!SWIG_IsOK(res2)) {
9059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9060 }
9061 if (!argp2) {
9062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9063 }
9064 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9068 wxPyEndAllowThreads(__tstate);
9069 if (PyErr_Occurred()) SWIG_fail;
9070 }
9071 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9072 return resultobj;
9073 fail:
9074 return NULL;
9075 }
9076
9077
9078 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9079 PyObject *resultobj = 0;
9080 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9081 wxTreeItemId *arg2 = 0 ;
9082 wxTreeItemId result;
9083 void *argp1 = 0 ;
9084 int res1 = 0 ;
9085 void *argp2 = 0 ;
9086 int res2 = 0 ;
9087 PyObject * obj0 = 0 ;
9088 PyObject * obj1 = 0 ;
9089 char * kwnames[] = {
9090 (char *) "self",(char *) "item", NULL
9091 };
9092
9093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9095 if (!SWIG_IsOK(res1)) {
9096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9097 }
9098 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9100 if (!SWIG_IsOK(res2)) {
9101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9102 }
9103 if (!argp2) {
9104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9105 }
9106 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9107 {
9108 PyThreadState* __tstate = wxPyBeginAllowThreads();
9109 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9110 wxPyEndAllowThreads(__tstate);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 }
9113 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9114 return resultobj;
9115 fail:
9116 return NULL;
9117 }
9118
9119
9120 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj = 0;
9122 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9123 wxTreeItemId *arg2 = 0 ;
9124 wxTreeItemId result;
9125 void *argp1 = 0 ;
9126 int res1 = 0 ;
9127 void *argp2 = 0 ;
9128 int res2 = 0 ;
9129 PyObject * obj0 = 0 ;
9130 PyObject * obj1 = 0 ;
9131 char * kwnames[] = {
9132 (char *) "self",(char *) "item", NULL
9133 };
9134
9135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
9136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9137 if (!SWIG_IsOK(res1)) {
9138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9139 }
9140 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9142 if (!SWIG_IsOK(res2)) {
9143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9144 }
9145 if (!argp2) {
9146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9147 }
9148 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9149 {
9150 PyThreadState* __tstate = wxPyBeginAllowThreads();
9151 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
9155 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9156 return resultobj;
9157 fail:
9158 return NULL;
9159 }
9160
9161
9162 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9163 PyObject *resultobj = 0;
9164 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9165 wxTreeItemId result;
9166 void *argp1 = 0 ;
9167 int res1 = 0 ;
9168 PyObject *swig_obj[1] ;
9169
9170 if (!args) SWIG_fail;
9171 swig_obj[0] = args;
9172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9173 if (!SWIG_IsOK(res1)) {
9174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9175 }
9176 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9177 {
9178 PyThreadState* __tstate = wxPyBeginAllowThreads();
9179 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
9183 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9184 return resultobj;
9185 fail:
9186 return NULL;
9187 }
9188
9189
9190 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9191 PyObject *resultobj = 0;
9192 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9193 wxTreeItemId *arg2 = 0 ;
9194 wxTreeItemId result;
9195 void *argp1 = 0 ;
9196 int res1 = 0 ;
9197 void *argp2 = 0 ;
9198 int res2 = 0 ;
9199 PyObject * obj0 = 0 ;
9200 PyObject * obj1 = 0 ;
9201 char * kwnames[] = {
9202 (char *) "self",(char *) "item", NULL
9203 };
9204
9205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9207 if (!SWIG_IsOK(res1)) {
9208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9209 }
9210 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9211 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9212 if (!SWIG_IsOK(res2)) {
9213 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9214 }
9215 if (!argp2) {
9216 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9217 }
9218 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9219 {
9220 PyThreadState* __tstate = wxPyBeginAllowThreads();
9221 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9226 return resultobj;
9227 fail:
9228 return NULL;
9229 }
9230
9231
9232 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj = 0;
9234 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9235 wxTreeItemId *arg2 = 0 ;
9236 wxTreeItemId result;
9237 void *argp1 = 0 ;
9238 int res1 = 0 ;
9239 void *argp2 = 0 ;
9240 int res2 = 0 ;
9241 PyObject * obj0 = 0 ;
9242 PyObject * obj1 = 0 ;
9243 char * kwnames[] = {
9244 (char *) "self",(char *) "item", NULL
9245 };
9246
9247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9249 if (!SWIG_IsOK(res1)) {
9250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9251 }
9252 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9253 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9254 if (!SWIG_IsOK(res2)) {
9255 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9256 }
9257 if (!argp2) {
9258 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9259 }
9260 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9261 {
9262 PyThreadState* __tstate = wxPyBeginAllowThreads();
9263 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
9264 wxPyEndAllowThreads(__tstate);
9265 if (PyErr_Occurred()) SWIG_fail;
9266 }
9267 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9268 return resultobj;
9269 fail:
9270 return NULL;
9271 }
9272
9273
9274 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9275 PyObject *resultobj = 0;
9276 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9277 bool arg2 = (bool) false ;
9278 wxTreeItemId result;
9279 void *argp1 = 0 ;
9280 int res1 = 0 ;
9281 bool val2 ;
9282 int ecode2 = 0 ;
9283 PyObject * obj0 = 0 ;
9284 PyObject * obj1 = 0 ;
9285 char * kwnames[] = {
9286 (char *) "self",(char *) "fullRow", NULL
9287 };
9288
9289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
9290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9291 if (!SWIG_IsOK(res1)) {
9292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9293 }
9294 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9295 if (obj1) {
9296 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9297 if (!SWIG_IsOK(ecode2)) {
9298 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9299 }
9300 arg2 = static_cast< bool >(val2);
9301 }
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9309 return resultobj;
9310 fail:
9311 return NULL;
9312 }
9313
9314
9315 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9316 PyObject *resultobj = 0;
9317 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9318 wxTreeItemId *arg2 = 0 ;
9319 bool arg3 = (bool) false ;
9320 wxTreeItemId result;
9321 void *argp1 = 0 ;
9322 int res1 = 0 ;
9323 void *argp2 = 0 ;
9324 int res2 = 0 ;
9325 bool val3 ;
9326 int ecode3 = 0 ;
9327 PyObject * obj0 = 0 ;
9328 PyObject * obj1 = 0 ;
9329 PyObject * obj2 = 0 ;
9330 char * kwnames[] = {
9331 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9332 };
9333
9334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9336 if (!SWIG_IsOK(res1)) {
9337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9338 }
9339 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9340 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9341 if (!SWIG_IsOK(res2)) {
9342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9343 }
9344 if (!argp2) {
9345 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9346 }
9347 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9348 if (obj2) {
9349 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9350 if (!SWIG_IsOK(ecode3)) {
9351 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9352 }
9353 arg3 = static_cast< bool >(val3);
9354 }
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj = 0;
9370 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9371 wxTreeItemId *arg2 = 0 ;
9372 bool arg3 = (bool) false ;
9373 wxTreeItemId result;
9374 void *argp1 = 0 ;
9375 int res1 = 0 ;
9376 void *argp2 = 0 ;
9377 int res2 = 0 ;
9378 bool val3 ;
9379 int ecode3 = 0 ;
9380 PyObject * obj0 = 0 ;
9381 PyObject * obj1 = 0 ;
9382 PyObject * obj2 = 0 ;
9383 char * kwnames[] = {
9384 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9385 };
9386
9387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9389 if (!SWIG_IsOK(res1)) {
9390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9391 }
9392 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9393 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9394 if (!SWIG_IsOK(res2)) {
9395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9396 }
9397 if (!argp2) {
9398 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9399 }
9400 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9401 if (obj2) {
9402 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9403 if (!SWIG_IsOK(ecode3)) {
9404 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9405 }
9406 arg3 = static_cast< bool >(val3);
9407 }
9408 {
9409 PyThreadState* __tstate = wxPyBeginAllowThreads();
9410 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
9411 wxPyEndAllowThreads(__tstate);
9412 if (PyErr_Occurred()) SWIG_fail;
9413 }
9414 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9415 return resultobj;
9416 fail:
9417 return NULL;
9418 }
9419
9420
9421 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9422 PyObject *resultobj = 0;
9423 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9424 wxString *arg2 = 0 ;
9425 int arg3 = (int) -1 ;
9426 int arg4 = (int) -1 ;
9427 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9428 wxTreeItemId result;
9429 void *argp1 = 0 ;
9430 int res1 = 0 ;
9431 bool temp2 = false ;
9432 int val3 ;
9433 int ecode3 = 0 ;
9434 int val4 ;
9435 int ecode4 = 0 ;
9436 int res5 = 0 ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 PyObject * obj2 = 0 ;
9440 PyObject * obj3 = 0 ;
9441 PyObject * obj4 = 0 ;
9442 char * kwnames[] = {
9443 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9444 };
9445
9446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9448 if (!SWIG_IsOK(res1)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9450 }
9451 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9452 {
9453 arg2 = wxString_in_helper(obj1);
9454 if (arg2 == NULL) SWIG_fail;
9455 temp2 = true;
9456 }
9457 if (obj2) {
9458 ecode3 = SWIG_AsVal_int(obj2, &val3);
9459 if (!SWIG_IsOK(ecode3)) {
9460 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9461 }
9462 arg3 = static_cast< int >(val3);
9463 }
9464 if (obj3) {
9465 ecode4 = SWIG_AsVal_int(obj3, &val4);
9466 if (!SWIG_IsOK(ecode4)) {
9467 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9468 }
9469 arg4 = static_cast< int >(val4);
9470 }
9471 if (obj4) {
9472 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9473 if (!SWIG_IsOK(res5)) {
9474 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9475 }
9476 }
9477 {
9478 PyThreadState* __tstate = wxPyBeginAllowThreads();
9479 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9480 wxPyEndAllowThreads(__tstate);
9481 if (PyErr_Occurred()) SWIG_fail;
9482 }
9483 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9484 {
9485 if (temp2)
9486 delete arg2;
9487 }
9488 return resultobj;
9489 fail:
9490 {
9491 if (temp2)
9492 delete arg2;
9493 }
9494 return NULL;
9495 }
9496
9497
9498 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj = 0;
9500 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9501 wxTreeItemId *arg2 = 0 ;
9502 wxString *arg3 = 0 ;
9503 int arg4 = (int) -1 ;
9504 int arg5 = (int) -1 ;
9505 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9506 wxTreeItemId result;
9507 void *argp1 = 0 ;
9508 int res1 = 0 ;
9509 void *argp2 = 0 ;
9510 int res2 = 0 ;
9511 bool temp3 = false ;
9512 int val4 ;
9513 int ecode4 = 0 ;
9514 int val5 ;
9515 int ecode5 = 0 ;
9516 int res6 = 0 ;
9517 PyObject * obj0 = 0 ;
9518 PyObject * obj1 = 0 ;
9519 PyObject * obj2 = 0 ;
9520 PyObject * obj3 = 0 ;
9521 PyObject * obj4 = 0 ;
9522 PyObject * obj5 = 0 ;
9523 char * kwnames[] = {
9524 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9525 };
9526
9527 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9528 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9529 if (!SWIG_IsOK(res1)) {
9530 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9531 }
9532 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9533 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9534 if (!SWIG_IsOK(res2)) {
9535 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9536 }
9537 if (!argp2) {
9538 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9539 }
9540 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9541 {
9542 arg3 = wxString_in_helper(obj2);
9543 if (arg3 == NULL) SWIG_fail;
9544 temp3 = true;
9545 }
9546 if (obj3) {
9547 ecode4 = SWIG_AsVal_int(obj3, &val4);
9548 if (!SWIG_IsOK(ecode4)) {
9549 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9550 }
9551 arg4 = static_cast< int >(val4);
9552 }
9553 if (obj4) {
9554 ecode5 = SWIG_AsVal_int(obj4, &val5);
9555 if (!SWIG_IsOK(ecode5)) {
9556 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9557 }
9558 arg5 = static_cast< int >(val5);
9559 }
9560 if (obj5) {
9561 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9562 if (!SWIG_IsOK(res6)) {
9563 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9564 }
9565 }
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9569 wxPyEndAllowThreads(__tstate);
9570 if (PyErr_Occurred()) SWIG_fail;
9571 }
9572 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9573 {
9574 if (temp3)
9575 delete arg3;
9576 }
9577 return resultobj;
9578 fail:
9579 {
9580 if (temp3)
9581 delete arg3;
9582 }
9583 return NULL;
9584 }
9585
9586
9587 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9588 PyObject *resultobj = 0;
9589 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9590 wxTreeItemId *arg2 = 0 ;
9591 wxTreeItemId *arg3 = 0 ;
9592 wxString *arg4 = 0 ;
9593 int arg5 = (int) -1 ;
9594 int arg6 = (int) -1 ;
9595 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9596 wxTreeItemId result;
9597 void *argp1 = 0 ;
9598 int res1 = 0 ;
9599 void *argp2 = 0 ;
9600 int res2 = 0 ;
9601 void *argp3 = 0 ;
9602 int res3 = 0 ;
9603 bool temp4 = false ;
9604 int val5 ;
9605 int ecode5 = 0 ;
9606 int val6 ;
9607 int ecode6 = 0 ;
9608 int res7 = 0 ;
9609 PyObject * obj0 = 0 ;
9610 PyObject * obj1 = 0 ;
9611 PyObject * obj2 = 0 ;
9612 PyObject * obj3 = 0 ;
9613 PyObject * obj4 = 0 ;
9614 PyObject * obj5 = 0 ;
9615 PyObject * obj6 = 0 ;
9616 char * kwnames[] = {
9617 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9618 };
9619
9620 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9621 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9622 if (!SWIG_IsOK(res1)) {
9623 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9624 }
9625 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9626 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9627 if (!SWIG_IsOK(res2)) {
9628 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9629 }
9630 if (!argp2) {
9631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9632 }
9633 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9634 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9635 if (!SWIG_IsOK(res3)) {
9636 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9637 }
9638 if (!argp3) {
9639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9640 }
9641 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9642 {
9643 arg4 = wxString_in_helper(obj3);
9644 if (arg4 == NULL) SWIG_fail;
9645 temp4 = true;
9646 }
9647 if (obj4) {
9648 ecode5 = SWIG_AsVal_int(obj4, &val5);
9649 if (!SWIG_IsOK(ecode5)) {
9650 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9651 }
9652 arg5 = static_cast< int >(val5);
9653 }
9654 if (obj5) {
9655 ecode6 = SWIG_AsVal_int(obj5, &val6);
9656 if (!SWIG_IsOK(ecode6)) {
9657 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9658 }
9659 arg6 = static_cast< int >(val6);
9660 }
9661 if (obj6) {
9662 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9663 if (!SWIG_IsOK(res7)) {
9664 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9665 }
9666 }
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9674 {
9675 if (temp4)
9676 delete arg4;
9677 }
9678 return resultobj;
9679 fail:
9680 {
9681 if (temp4)
9682 delete arg4;
9683 }
9684 return NULL;
9685 }
9686
9687
9688 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9689 PyObject *resultobj = 0;
9690 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9691 wxTreeItemId *arg2 = 0 ;
9692 size_t arg3 ;
9693 wxString *arg4 = 0 ;
9694 int arg5 = (int) -1 ;
9695 int arg6 = (int) -1 ;
9696 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9697 wxTreeItemId result;
9698 void *argp1 = 0 ;
9699 int res1 = 0 ;
9700 void *argp2 = 0 ;
9701 int res2 = 0 ;
9702 size_t val3 ;
9703 int ecode3 = 0 ;
9704 bool temp4 = false ;
9705 int val5 ;
9706 int ecode5 = 0 ;
9707 int val6 ;
9708 int ecode6 = 0 ;
9709 int res7 = 0 ;
9710 PyObject * obj0 = 0 ;
9711 PyObject * obj1 = 0 ;
9712 PyObject * obj2 = 0 ;
9713 PyObject * obj3 = 0 ;
9714 PyObject * obj4 = 0 ;
9715 PyObject * obj5 = 0 ;
9716 PyObject * obj6 = 0 ;
9717 char * kwnames[] = {
9718 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9719 };
9720
9721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9723 if (!SWIG_IsOK(res1)) {
9724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9725 }
9726 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9728 if (!SWIG_IsOK(res2)) {
9729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9730 }
9731 if (!argp2) {
9732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9733 }
9734 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9735 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9736 if (!SWIG_IsOK(ecode3)) {
9737 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9738 }
9739 arg3 = static_cast< size_t >(val3);
9740 {
9741 arg4 = wxString_in_helper(obj3);
9742 if (arg4 == NULL) SWIG_fail;
9743 temp4 = true;
9744 }
9745 if (obj4) {
9746 ecode5 = SWIG_AsVal_int(obj4, &val5);
9747 if (!SWIG_IsOK(ecode5)) {
9748 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9749 }
9750 arg5 = static_cast< int >(val5);
9751 }
9752 if (obj5) {
9753 ecode6 = SWIG_AsVal_int(obj5, &val6);
9754 if (!SWIG_IsOK(ecode6)) {
9755 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9756 }
9757 arg6 = static_cast< int >(val6);
9758 }
9759 if (obj6) {
9760 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9761 if (!SWIG_IsOK(res7)) {
9762 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9763 }
9764 }
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9768 wxPyEndAllowThreads(__tstate);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9772 {
9773 if (temp4)
9774 delete arg4;
9775 }
9776 return resultobj;
9777 fail:
9778 {
9779 if (temp4)
9780 delete arg4;
9781 }
9782 return NULL;
9783 }
9784
9785
9786 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj = 0;
9788 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9789 wxTreeItemId *arg2 = 0 ;
9790 wxString *arg3 = 0 ;
9791 int arg4 = (int) -1 ;
9792 int arg5 = (int) -1 ;
9793 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9794 wxTreeItemId result;
9795 void *argp1 = 0 ;
9796 int res1 = 0 ;
9797 void *argp2 = 0 ;
9798 int res2 = 0 ;
9799 bool temp3 = false ;
9800 int val4 ;
9801 int ecode4 = 0 ;
9802 int val5 ;
9803 int ecode5 = 0 ;
9804 int res6 = 0 ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9807 PyObject * obj2 = 0 ;
9808 PyObject * obj3 = 0 ;
9809 PyObject * obj4 = 0 ;
9810 PyObject * obj5 = 0 ;
9811 char * kwnames[] = {
9812 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9813 };
9814
9815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9817 if (!SWIG_IsOK(res1)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9819 }
9820 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9822 if (!SWIG_IsOK(res2)) {
9823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9824 }
9825 if (!argp2) {
9826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9827 }
9828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9829 {
9830 arg3 = wxString_in_helper(obj2);
9831 if (arg3 == NULL) SWIG_fail;
9832 temp3 = true;
9833 }
9834 if (obj3) {
9835 ecode4 = SWIG_AsVal_int(obj3, &val4);
9836 if (!SWIG_IsOK(ecode4)) {
9837 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9838 }
9839 arg4 = static_cast< int >(val4);
9840 }
9841 if (obj4) {
9842 ecode5 = SWIG_AsVal_int(obj4, &val5);
9843 if (!SWIG_IsOK(ecode5)) {
9844 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9845 }
9846 arg5 = static_cast< int >(val5);
9847 }
9848 if (obj5) {
9849 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9850 if (!SWIG_IsOK(res6)) {
9851 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9852 }
9853 }
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
9860 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9861 {
9862 if (temp3)
9863 delete arg3;
9864 }
9865 return resultobj;
9866 fail:
9867 {
9868 if (temp3)
9869 delete arg3;
9870 }
9871 return NULL;
9872 }
9873
9874
9875 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9876 PyObject *resultobj = 0;
9877 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9878 wxTreeItemId *arg2 = 0 ;
9879 void *argp1 = 0 ;
9880 int res1 = 0 ;
9881 void *argp2 = 0 ;
9882 int res2 = 0 ;
9883 PyObject * obj0 = 0 ;
9884 PyObject * obj1 = 0 ;
9885 char * kwnames[] = {
9886 (char *) "self",(char *) "item", NULL
9887 };
9888
9889 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9890 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9891 if (!SWIG_IsOK(res1)) {
9892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9893 }
9894 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9895 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9896 if (!SWIG_IsOK(res2)) {
9897 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9898 }
9899 if (!argp2) {
9900 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9901 }
9902 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9903 {
9904 PyThreadState* __tstate = wxPyBeginAllowThreads();
9905 (arg1)->Delete((wxTreeItemId const &)*arg2);
9906 wxPyEndAllowThreads(__tstate);
9907 if (PyErr_Occurred()) SWIG_fail;
9908 }
9909 resultobj = SWIG_Py_Void();
9910 return resultobj;
9911 fail:
9912 return NULL;
9913 }
9914
9915
9916 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9917 PyObject *resultobj = 0;
9918 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9919 wxTreeItemId *arg2 = 0 ;
9920 void *argp1 = 0 ;
9921 int res1 = 0 ;
9922 void *argp2 = 0 ;
9923 int res2 = 0 ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 char * kwnames[] = {
9927 (char *) "self",(char *) "item", NULL
9928 };
9929
9930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9932 if (!SWIG_IsOK(res1)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9934 }
9935 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9937 if (!SWIG_IsOK(res2)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9939 }
9940 if (!argp2) {
9941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9942 }
9943 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9944 {
9945 PyThreadState* __tstate = wxPyBeginAllowThreads();
9946 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9947 wxPyEndAllowThreads(__tstate);
9948 if (PyErr_Occurred()) SWIG_fail;
9949 }
9950 resultobj = SWIG_Py_Void();
9951 return resultobj;
9952 fail:
9953 return NULL;
9954 }
9955
9956
9957 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9958 PyObject *resultobj = 0;
9959 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9960 void *argp1 = 0 ;
9961 int res1 = 0 ;
9962 PyObject *swig_obj[1] ;
9963
9964 if (!args) SWIG_fail;
9965 swig_obj[0] = args;
9966 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9967 if (!SWIG_IsOK(res1)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9969 }
9970 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 (arg1)->DeleteRoot();
9974 wxPyEndAllowThreads(__tstate);
9975 if (PyErr_Occurred()) SWIG_fail;
9976 }
9977 resultobj = SWIG_Py_Void();
9978 return resultobj;
9979 fail:
9980 return NULL;
9981 }
9982
9983
9984 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9985 PyObject *resultobj = 0;
9986 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9987 wxTreeItemId *arg2 = 0 ;
9988 void *argp1 = 0 ;
9989 int res1 = 0 ;
9990 void *argp2 = 0 ;
9991 int res2 = 0 ;
9992 PyObject * obj0 = 0 ;
9993 PyObject * obj1 = 0 ;
9994 char * kwnames[] = {
9995 (char *) "self",(char *) "item", NULL
9996 };
9997
9998 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9999 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10000 if (!SWIG_IsOK(res1)) {
10001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10002 }
10003 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10004 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10005 if (!SWIG_IsOK(res2)) {
10006 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10007 }
10008 if (!argp2) {
10009 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10010 }
10011 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10012 {
10013 PyThreadState* __tstate = wxPyBeginAllowThreads();
10014 (arg1)->Expand((wxTreeItemId const &)*arg2);
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 resultobj = SWIG_Py_Void();
10019 return resultobj;
10020 fail:
10021 return NULL;
10022 }
10023
10024
10025 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj = 0;
10027 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10028 wxTreeItemId *arg2 = 0 ;
10029 void *argp1 = 0 ;
10030 int res1 = 0 ;
10031 void *argp2 = 0 ;
10032 int res2 = 0 ;
10033 PyObject * obj0 = 0 ;
10034 PyObject * obj1 = 0 ;
10035 char * kwnames[] = {
10036 (char *) "self",(char *) "item", NULL
10037 };
10038
10039 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10040 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10041 if (!SWIG_IsOK(res1)) {
10042 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10043 }
10044 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10045 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10046 if (!SWIG_IsOK(res2)) {
10047 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10048 }
10049 if (!argp2) {
10050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10051 }
10052 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10053 {
10054 PyThreadState* __tstate = wxPyBeginAllowThreads();
10055 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10056 wxPyEndAllowThreads(__tstate);
10057 if (PyErr_Occurred()) SWIG_fail;
10058 }
10059 resultobj = SWIG_Py_Void();
10060 return resultobj;
10061 fail:
10062 return NULL;
10063 }
10064
10065
10066 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj = 0;
10068 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10069 wxTreeItemId *arg2 = 0 ;
10070 void *argp1 = 0 ;
10071 int res1 = 0 ;
10072 void *argp2 = 0 ;
10073 int res2 = 0 ;
10074 PyObject * obj0 = 0 ;
10075 PyObject * obj1 = 0 ;
10076 char * kwnames[] = {
10077 (char *) "self",(char *) "item", NULL
10078 };
10079
10080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10082 if (!SWIG_IsOK(res1)) {
10083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10084 }
10085 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10086 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10087 if (!SWIG_IsOK(res2)) {
10088 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10089 }
10090 if (!argp2) {
10091 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10092 }
10093 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 resultobj = SWIG_Py_Void();
10101 return resultobj;
10102 fail:
10103 return NULL;
10104 }
10105
10106
10107 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10108 PyObject *resultobj = 0;
10109 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10110 wxTreeItemId *arg2 = 0 ;
10111 void *argp1 = 0 ;
10112 int res1 = 0 ;
10113 void *argp2 = 0 ;
10114 int res2 = 0 ;
10115 PyObject * obj0 = 0 ;
10116 PyObject * obj1 = 0 ;
10117 char * kwnames[] = {
10118 (char *) "self",(char *) "item", NULL
10119 };
10120
10121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10123 if (!SWIG_IsOK(res1)) {
10124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10125 }
10126 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10128 if (!SWIG_IsOK(res2)) {
10129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10130 }
10131 if (!argp2) {
10132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10133 }
10134 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = SWIG_Py_Void();
10142 return resultobj;
10143 fail:
10144 return NULL;
10145 }
10146
10147
10148 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10149 PyObject *resultobj = 0;
10150 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10151 wxTreeItemId *arg2 = 0 ;
10152 void *argp1 = 0 ;
10153 int res1 = 0 ;
10154 void *argp2 = 0 ;
10155 int res2 = 0 ;
10156 PyObject * obj0 = 0 ;
10157 PyObject * obj1 = 0 ;
10158 char * kwnames[] = {
10159 (char *) "self",(char *) "item", NULL
10160 };
10161
10162 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10163 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10164 if (!SWIG_IsOK(res1)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10166 }
10167 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10168 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10169 if (!SWIG_IsOK(res2)) {
10170 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10171 }
10172 if (!argp2) {
10173 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10174 }
10175 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10176 {
10177 PyThreadState* __tstate = wxPyBeginAllowThreads();
10178 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10179 wxPyEndAllowThreads(__tstate);
10180 if (PyErr_Occurred()) SWIG_fail;
10181 }
10182 resultobj = SWIG_Py_Void();
10183 return resultobj;
10184 fail:
10185 return NULL;
10186 }
10187
10188
10189 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10190 PyObject *resultobj = 0;
10191 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10192 void *argp1 = 0 ;
10193 int res1 = 0 ;
10194 PyObject *swig_obj[1] ;
10195
10196 if (!args) SWIG_fail;
10197 swig_obj[0] = args;
10198 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10199 if (!SWIG_IsOK(res1)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10201 }
10202 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10203 {
10204 PyThreadState* __tstate = wxPyBeginAllowThreads();
10205 (arg1)->Unselect();
10206 wxPyEndAllowThreads(__tstate);
10207 if (PyErr_Occurred()) SWIG_fail;
10208 }
10209 resultobj = SWIG_Py_Void();
10210 return resultobj;
10211 fail:
10212 return NULL;
10213 }
10214
10215
10216 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10217 PyObject *resultobj = 0;
10218 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10219 void *argp1 = 0 ;
10220 int res1 = 0 ;
10221 PyObject *swig_obj[1] ;
10222
10223 if (!args) SWIG_fail;
10224 swig_obj[0] = args;
10225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10226 if (!SWIG_IsOK(res1)) {
10227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10228 }
10229 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 (arg1)->UnselectAll();
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 resultobj = SWIG_Py_Void();
10237 return resultobj;
10238 fail:
10239 return NULL;
10240 }
10241
10242
10243 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj = 0;
10245 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10246 wxTreeItemId *arg2 = 0 ;
10247 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10248 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10249 bool arg4 = (bool) true ;
10250 void *argp1 = 0 ;
10251 int res1 = 0 ;
10252 void *argp2 = 0 ;
10253 int res2 = 0 ;
10254 void *argp3 = 0 ;
10255 int res3 = 0 ;
10256 bool val4 ;
10257 int ecode4 = 0 ;
10258 PyObject * obj0 = 0 ;
10259 PyObject * obj1 = 0 ;
10260 PyObject * obj2 = 0 ;
10261 PyObject * obj3 = 0 ;
10262 char * kwnames[] = {
10263 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10264 };
10265
10266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10268 if (!SWIG_IsOK(res1)) {
10269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10270 }
10271 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10272 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10273 if (!SWIG_IsOK(res2)) {
10274 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10275 }
10276 if (!argp2) {
10277 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10278 }
10279 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10280 if (obj2) {
10281 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10282 if (!SWIG_IsOK(res3)) {
10283 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10284 }
10285 if (!argp3) {
10286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10287 }
10288 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
10289 }
10290 if (obj3) {
10291 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10292 if (!SWIG_IsOK(ecode4)) {
10293 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10294 }
10295 arg4 = static_cast< bool >(val4);
10296 }
10297 {
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = SWIG_Py_Void();
10304 return resultobj;
10305 fail:
10306 return NULL;
10307 }
10308
10309
10310 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10311 PyObject *resultobj = 0;
10312 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10313 void *argp1 = 0 ;
10314 int res1 = 0 ;
10315 PyObject *swig_obj[1] ;
10316
10317 if (!args) SWIG_fail;
10318 swig_obj[0] = args;
10319 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10320 if (!SWIG_IsOK(res1)) {
10321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10322 }
10323 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10324 {
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 (arg1)->SelectAll();
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_Py_Void();
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj = 0;
10339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10340 wxTreeItemId *arg2 = 0 ;
10341 void *argp1 = 0 ;
10342 int res1 = 0 ;
10343 void *argp2 = 0 ;
10344 int res2 = 0 ;
10345 PyObject * obj0 = 0 ;
10346 PyObject * obj1 = 0 ;
10347 char * kwnames[] = {
10348 (char *) "self",(char *) "item", NULL
10349 };
10350
10351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10353 if (!SWIG_IsOK(res1)) {
10354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10355 }
10356 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10357 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10358 if (!SWIG_IsOK(res2)) {
10359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10360 }
10361 if (!argp2) {
10362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10363 }
10364 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10368 wxPyEndAllowThreads(__tstate);
10369 if (PyErr_Occurred()) SWIG_fail;
10370 }
10371 resultobj = SWIG_Py_Void();
10372 return resultobj;
10373 fail:
10374 return NULL;
10375 }
10376
10377
10378 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10379 PyObject *resultobj = 0;
10380 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10381 wxTreeItemId *arg2 = 0 ;
10382 void *argp1 = 0 ;
10383 int res1 = 0 ;
10384 void *argp2 = 0 ;
10385 int res2 = 0 ;
10386 PyObject * obj0 = 0 ;
10387 PyObject * obj1 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "item", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10396 }
10397 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10398 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10399 if (!SWIG_IsOK(res2)) {
10400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10401 }
10402 if (!argp2) {
10403 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10404 }
10405 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 resultobj = SWIG_Py_Void();
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj = 0;
10421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10422 wxPoint *arg2 = 0 ;
10423 int *arg3 = 0 ;
10424 int *arg4 = 0 ;
10425 wxTreeItemId result;
10426 void *argp1 = 0 ;
10427 int res1 = 0 ;
10428 wxPoint temp2 ;
10429 int temp3 ;
10430 int res3 = SWIG_TMPOBJ ;
10431 int temp4 ;
10432 int res4 = SWIG_TMPOBJ ;
10433 PyObject * obj0 = 0 ;
10434 PyObject * obj1 = 0 ;
10435 char * kwnames[] = {
10436 (char *) "self",(char *) "point", NULL
10437 };
10438
10439 arg3 = &temp3;
10440 arg4 = &temp4;
10441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10443 if (!SWIG_IsOK(res1)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10445 }
10446 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10447 {
10448 arg2 = &temp2;
10449 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10450 }
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10454 wxPyEndAllowThreads(__tstate);
10455 if (PyErr_Occurred()) SWIG_fail;
10456 }
10457 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10458 if (SWIG_IsTmpObj(res3)) {
10459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10460 } else {
10461 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10463 }
10464 if (SWIG_IsTmpObj(res4)) {
10465 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10466 } else {
10467 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10468 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10469 }
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj = 0;
10478 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10479 wxTreeItemId *arg2 = 0 ;
10480 bool arg3 = (bool) false ;
10481 PyObject *result = 0 ;
10482 void *argp1 = 0 ;
10483 int res1 = 0 ;
10484 void *argp2 = 0 ;
10485 int res2 = 0 ;
10486 bool val3 ;
10487 int ecode3 = 0 ;
10488 PyObject * obj0 = 0 ;
10489 PyObject * obj1 = 0 ;
10490 PyObject * obj2 = 0 ;
10491 char * kwnames[] = {
10492 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10493 };
10494
10495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10497 if (!SWIG_IsOK(res1)) {
10498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10499 }
10500 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10501 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10502 if (!SWIG_IsOK(res2)) {
10503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10504 }
10505 if (!argp2) {
10506 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10507 }
10508 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10509 if (obj2) {
10510 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10511 if (!SWIG_IsOK(ecode3)) {
10512 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10513 }
10514 arg3 = static_cast< bool >(val3);
10515 }
10516 {
10517 PyThreadState* __tstate = wxPyBeginAllowThreads();
10518 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10519 wxPyEndAllowThreads(__tstate);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 }
10522 resultobj = result;
10523 return resultobj;
10524 fail:
10525 return NULL;
10526 }
10527
10528
10529 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10530 PyObject *resultobj = 0;
10531 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10532 wxTreeItemId *arg2 = 0 ;
10533 int arg3 = (int) -1 ;
10534 void *argp1 = 0 ;
10535 int res1 = 0 ;
10536 void *argp2 = 0 ;
10537 int res2 = 0 ;
10538 int val3 ;
10539 int ecode3 = 0 ;
10540 PyObject * obj0 = 0 ;
10541 PyObject * obj1 = 0 ;
10542 PyObject * obj2 = 0 ;
10543 char * kwnames[] = {
10544 (char *) "self",(char *) "item",(char *) "column", NULL
10545 };
10546
10547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10549 if (!SWIG_IsOK(res1)) {
10550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10551 }
10552 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10554 if (!SWIG_IsOK(res2)) {
10555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10556 }
10557 if (!argp2) {
10558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10559 }
10560 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10561 if (obj2) {
10562 ecode3 = SWIG_AsVal_int(obj2, &val3);
10563 if (!SWIG_IsOK(ecode3)) {
10564 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10565 }
10566 arg3 = static_cast< int >(val3);
10567 }
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = SWIG_Py_Void();
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj = 0;
10583 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10584 wxTreeItemId *arg2 = 0 ;
10585 void *argp1 = 0 ;
10586 int res1 = 0 ;
10587 void *argp2 = 0 ;
10588 int res2 = 0 ;
10589 PyObject * obj0 = 0 ;
10590 PyObject * obj1 = 0 ;
10591 char * kwnames[] = {
10592 (char *) "self",(char *) "item", NULL
10593 };
10594
10595 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10596 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10597 if (!SWIG_IsOK(res1)) {
10598 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10599 }
10600 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10601 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10602 if (!SWIG_IsOK(res2)) {
10603 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10604 }
10605 if (!argp2) {
10606 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10607 }
10608 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 resultobj = SWIG_Py_Void();
10616 return resultobj;
10617 fail:
10618 return NULL;
10619 }
10620
10621
10622 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10623 PyObject *resultobj = 0;
10624 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10625 wxTreeItemId *arg2 = 0 ;
10626 wxString *arg3 = 0 ;
10627 int arg4 = (int) 0 ;
10628 wxTreeItemId result;
10629 void *argp1 = 0 ;
10630 int res1 = 0 ;
10631 void *argp2 = 0 ;
10632 int res2 = 0 ;
10633 bool temp3 = false ;
10634 int val4 ;
10635 int ecode4 = 0 ;
10636 PyObject * obj0 = 0 ;
10637 PyObject * obj1 = 0 ;
10638 PyObject * obj2 = 0 ;
10639 PyObject * obj3 = 0 ;
10640 char * kwnames[] = {
10641 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10642 };
10643
10644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10646 if (!SWIG_IsOK(res1)) {
10647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10648 }
10649 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10651 if (!SWIG_IsOK(res2)) {
10652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10653 }
10654 if (!argp2) {
10655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10656 }
10657 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10658 {
10659 arg3 = wxString_in_helper(obj2);
10660 if (arg3 == NULL) SWIG_fail;
10661 temp3 = true;
10662 }
10663 if (obj3) {
10664 ecode4 = SWIG_AsVal_int(obj3, &val4);
10665 if (!SWIG_IsOK(ecode4)) {
10666 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10667 }
10668 arg4 = static_cast< int >(val4);
10669 }
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10673 wxPyEndAllowThreads(__tstate);
10674 if (PyErr_Occurred()) SWIG_fail;
10675 }
10676 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10677 {
10678 if (temp3)
10679 delete arg3;
10680 }
10681 return resultobj;
10682 fail:
10683 {
10684 if (temp3)
10685 delete arg3;
10686 }
10687 return NULL;
10688 }
10689
10690
10691 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10692 PyObject *resultobj = 0;
10693 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10694 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10695 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10696 void *argp1 = 0 ;
10697 int res1 = 0 ;
10698 void *argp2 = 0 ;
10699 int res2 = 0 ;
10700 PyObject * obj0 = 0 ;
10701 PyObject * obj1 = 0 ;
10702 char * kwnames[] = {
10703 (char *) "self",(char *) "item", NULL
10704 };
10705
10706 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10707 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10708 if (!SWIG_IsOK(res1)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10710 }
10711 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10712 if (obj1) {
10713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10714 if (!SWIG_IsOK(res2)) {
10715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10716 }
10717 if (!argp2) {
10718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10719 }
10720 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10721 }
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = SWIG_Py_Void();
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10736 PyObject *resultobj = 0;
10737 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10738 wxWindow *result = 0 ;
10739 void *argp1 = 0 ;
10740 int res1 = 0 ;
10741 PyObject *swig_obj[1] ;
10742
10743 if (!args) SWIG_fail;
10744 swig_obj[0] = args;
10745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10746 if (!SWIG_IsOK(res1)) {
10747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10748 }
10749 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10750 {
10751 PyThreadState* __tstate = wxPyBeginAllowThreads();
10752 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
10756 {
10757 resultobj = wxPyMake_wxObject(result, 0);
10758 }
10759 return resultobj;
10760 fail:
10761 return NULL;
10762 }
10763
10764
10765 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10766 PyObject *resultobj = 0;
10767 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10768 wxScrolledWindow *result = 0 ;
10769 void *argp1 = 0 ;
10770 int res1 = 0 ;
10771 PyObject *swig_obj[1] ;
10772
10773 if (!args) SWIG_fail;
10774 swig_obj[0] = args;
10775 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10776 if (!SWIG_IsOK(res1)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10778 }
10779 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10780 {
10781 PyThreadState* __tstate = wxPyBeginAllowThreads();
10782 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 {
10787 resultobj = wxPyMake_wxObject(result, 0);
10788 }
10789 return resultobj;
10790 fail:
10791 return NULL;
10792 }
10793
10794
10795 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10796 PyObject *obj;
10797 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10799 return SWIG_Py_Void();
10800 }
10801
10802 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10803 return SWIG_Python_InitShadowInstance(args);
10804 }
10805
10806 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10807 PyObject *resultobj = 0;
10808 wxWindow *arg1 = (wxWindow *) 0 ;
10809 int arg2 = (int) -1 ;
10810 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10811 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10814 wxSize const &arg5_defvalue = wxDefaultSize ;
10815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10816 long arg6 = (long) 0 ;
10817 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10818 wxString *arg7 = (wxString *) &arg7_defvalue ;
10819 wxStaticPicture *result = 0 ;
10820 void *argp1 = 0 ;
10821 int res1 = 0 ;
10822 int val2 ;
10823 int ecode2 = 0 ;
10824 void *argp3 = 0 ;
10825 int res3 = 0 ;
10826 wxPoint temp4 ;
10827 wxSize temp5 ;
10828 long val6 ;
10829 int ecode6 = 0 ;
10830 bool temp7 = false ;
10831 PyObject * obj0 = 0 ;
10832 PyObject * obj1 = 0 ;
10833 PyObject * obj2 = 0 ;
10834 PyObject * obj3 = 0 ;
10835 PyObject * obj4 = 0 ;
10836 PyObject * obj5 = 0 ;
10837 PyObject * obj6 = 0 ;
10838 char * kwnames[] = {
10839 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10840 };
10841
10842 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10843 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10844 if (!SWIG_IsOK(res1)) {
10845 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10846 }
10847 arg1 = reinterpret_cast< wxWindow * >(argp1);
10848 if (obj1) {
10849 ecode2 = SWIG_AsVal_int(obj1, &val2);
10850 if (!SWIG_IsOK(ecode2)) {
10851 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10852 }
10853 arg2 = static_cast< int >(val2);
10854 }
10855 if (obj2) {
10856 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10857 if (!SWIG_IsOK(res3)) {
10858 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10859 }
10860 if (!argp3) {
10861 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10862 }
10863 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10864 }
10865 if (obj3) {
10866 {
10867 arg4 = &temp4;
10868 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10869 }
10870 }
10871 if (obj4) {
10872 {
10873 arg5 = &temp5;
10874 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10875 }
10876 }
10877 if (obj5) {
10878 ecode6 = SWIG_AsVal_long(obj5, &val6);
10879 if (!SWIG_IsOK(ecode6)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10881 }
10882 arg6 = static_cast< long >(val6);
10883 }
10884 if (obj6) {
10885 {
10886 arg7 = wxString_in_helper(obj6);
10887 if (arg7 == NULL) SWIG_fail;
10888 temp7 = true;
10889 }
10890 }
10891 {
10892 if (!wxPyCheckForApp()) SWIG_fail;
10893 PyThreadState* __tstate = wxPyBeginAllowThreads();
10894 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10899 {
10900 if (temp7)
10901 delete arg7;
10902 }
10903 return resultobj;
10904 fail:
10905 {
10906 if (temp7)
10907 delete arg7;
10908 }
10909 return NULL;
10910 }
10911
10912
10913 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10914 PyObject *resultobj = 0;
10915 wxStaticPicture *result = 0 ;
10916
10917 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10918 {
10919 if (!wxPyCheckForApp()) SWIG_fail;
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (wxStaticPicture *)new wxStaticPicture();
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10926 return resultobj;
10927 fail:
10928 return NULL;
10929 }
10930
10931
10932 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10933 PyObject *resultobj = 0;
10934 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10935 wxWindow *arg2 = (wxWindow *) 0 ;
10936 int arg3 = (int) -1 ;
10937 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10938 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10939 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10940 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10941 wxSize const &arg6_defvalue = wxDefaultSize ;
10942 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10943 long arg7 = (long) 0 ;
10944 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10945 wxString *arg8 = (wxString *) &arg8_defvalue ;
10946 bool result;
10947 void *argp1 = 0 ;
10948 int res1 = 0 ;
10949 void *argp2 = 0 ;
10950 int res2 = 0 ;
10951 int val3 ;
10952 int ecode3 = 0 ;
10953 void *argp4 = 0 ;
10954 int res4 = 0 ;
10955 wxPoint temp5 ;
10956 wxSize temp6 ;
10957 long val7 ;
10958 int ecode7 = 0 ;
10959 bool temp8 = false ;
10960 PyObject * obj0 = 0 ;
10961 PyObject * obj1 = 0 ;
10962 PyObject * obj2 = 0 ;
10963 PyObject * obj3 = 0 ;
10964 PyObject * obj4 = 0 ;
10965 PyObject * obj5 = 0 ;
10966 PyObject * obj6 = 0 ;
10967 PyObject * obj7 = 0 ;
10968 char * kwnames[] = {
10969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10970 };
10971
10972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10974 if (!SWIG_IsOK(res1)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10976 }
10977 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10978 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10979 if (!SWIG_IsOK(res2)) {
10980 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10981 }
10982 arg2 = reinterpret_cast< wxWindow * >(argp2);
10983 if (obj2) {
10984 ecode3 = SWIG_AsVal_int(obj2, &val3);
10985 if (!SWIG_IsOK(ecode3)) {
10986 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10987 }
10988 arg3 = static_cast< int >(val3);
10989 }
10990 if (obj3) {
10991 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10992 if (!SWIG_IsOK(res4)) {
10993 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10994 }
10995 if (!argp4) {
10996 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10997 }
10998 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10999 }
11000 if (obj4) {
11001 {
11002 arg5 = &temp5;
11003 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11004 }
11005 }
11006 if (obj5) {
11007 {
11008 arg6 = &temp6;
11009 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11010 }
11011 }
11012 if (obj6) {
11013 ecode7 = SWIG_AsVal_long(obj6, &val7);
11014 if (!SWIG_IsOK(ecode7)) {
11015 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11016 }
11017 arg7 = static_cast< long >(val7);
11018 }
11019 if (obj7) {
11020 {
11021 arg8 = wxString_in_helper(obj7);
11022 if (arg8 == NULL) SWIG_fail;
11023 temp8 = true;
11024 }
11025 }
11026 {
11027 PyThreadState* __tstate = wxPyBeginAllowThreads();
11028 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11029 wxPyEndAllowThreads(__tstate);
11030 if (PyErr_Occurred()) SWIG_fail;
11031 }
11032 {
11033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11034 }
11035 {
11036 if (temp8)
11037 delete arg8;
11038 }
11039 return resultobj;
11040 fail:
11041 {
11042 if (temp8)
11043 delete arg8;
11044 }
11045 return NULL;
11046 }
11047
11048
11049 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11050 PyObject *resultobj = 0;
11051 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11052 wxBitmap *arg2 = 0 ;
11053 void *argp1 = 0 ;
11054 int res1 = 0 ;
11055 void *argp2 = 0 ;
11056 int res2 = 0 ;
11057 PyObject * obj0 = 0 ;
11058 PyObject * obj1 = 0 ;
11059 char * kwnames[] = {
11060 (char *) "self",(char *) "bmp", NULL
11061 };
11062
11063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11065 if (!SWIG_IsOK(res1)) {
11066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11067 }
11068 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11069 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11070 if (!SWIG_IsOK(res2)) {
11071 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11072 }
11073 if (!argp2) {
11074 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11075 }
11076 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11080 wxPyEndAllowThreads(__tstate);
11081 if (PyErr_Occurred()) SWIG_fail;
11082 }
11083 resultobj = SWIG_Py_Void();
11084 return resultobj;
11085 fail:
11086 return NULL;
11087 }
11088
11089
11090 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11091 PyObject *resultobj = 0;
11092 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11093 wxBitmap result;
11094 void *argp1 = 0 ;
11095 int res1 = 0 ;
11096 PyObject *swig_obj[1] ;
11097
11098 if (!args) SWIG_fail;
11099 swig_obj[0] = args;
11100 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11101 if (!SWIG_IsOK(res1)) {
11102 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11103 }
11104 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11119 PyObject *resultobj = 0;
11120 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11121 wxIcon *arg2 = 0 ;
11122 void *argp1 = 0 ;
11123 int res1 = 0 ;
11124 void *argp2 = 0 ;
11125 int res2 = 0 ;
11126 PyObject * obj0 = 0 ;
11127 PyObject * obj1 = 0 ;
11128 char * kwnames[] = {
11129 (char *) "self",(char *) "icon", NULL
11130 };
11131
11132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11134 if (!SWIG_IsOK(res1)) {
11135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11136 }
11137 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11138 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11139 if (!SWIG_IsOK(res2)) {
11140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11141 }
11142 if (!argp2) {
11143 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11144 }
11145 arg2 = reinterpret_cast< wxIcon * >(argp2);
11146 {
11147 PyThreadState* __tstate = wxPyBeginAllowThreads();
11148 (arg1)->SetIcon((wxIcon const &)*arg2);
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = SWIG_Py_Void();
11153 return resultobj;
11154 fail:
11155 return NULL;
11156 }
11157
11158
11159 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11160 PyObject *resultobj = 0;
11161 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11162 wxIcon result;
11163 void *argp1 = 0 ;
11164 int res1 = 0 ;
11165 PyObject *swig_obj[1] ;
11166
11167 if (!args) SWIG_fail;
11168 swig_obj[0] = args;
11169 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11170 if (!SWIG_IsOK(res1)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11172 }
11173 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11174 {
11175 PyThreadState* __tstate = wxPyBeginAllowThreads();
11176 result = ((wxStaticPicture const *)arg1)->GetIcon();
11177 wxPyEndAllowThreads(__tstate);
11178 if (PyErr_Occurred()) SWIG_fail;
11179 }
11180 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11181 return resultobj;
11182 fail:
11183 return NULL;
11184 }
11185
11186
11187 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11188 PyObject *resultobj = 0;
11189 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11190 int arg2 ;
11191 void *argp1 = 0 ;
11192 int res1 = 0 ;
11193 int val2 ;
11194 int ecode2 = 0 ;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char * kwnames[] = {
11198 (char *) "self",(char *) "align", NULL
11199 };
11200
11201 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11202 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11203 if (!SWIG_IsOK(res1)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11205 }
11206 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11207 ecode2 = SWIG_AsVal_int(obj1, &val2);
11208 if (!SWIG_IsOK(ecode2)) {
11209 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11210 }
11211 arg2 = static_cast< int >(val2);
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 (arg1)->SetAlignment(arg2);
11215 wxPyEndAllowThreads(__tstate);
11216 if (PyErr_Occurred()) SWIG_fail;
11217 }
11218 resultobj = SWIG_Py_Void();
11219 return resultobj;
11220 fail:
11221 return NULL;
11222 }
11223
11224
11225 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11226 PyObject *resultobj = 0;
11227 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11228 int result;
11229 void *argp1 = 0 ;
11230 int res1 = 0 ;
11231 PyObject *swig_obj[1] ;
11232
11233 if (!args) SWIG_fail;
11234 swig_obj[0] = args;
11235 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11236 if (!SWIG_IsOK(res1)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11238 }
11239 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11240 {
11241 PyThreadState* __tstate = wxPyBeginAllowThreads();
11242 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 resultobj = SWIG_From_int(static_cast< int >(result));
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj = 0;
11255 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11256 int arg2 ;
11257 void *argp1 = 0 ;
11258 int res1 = 0 ;
11259 int val2 ;
11260 int ecode2 = 0 ;
11261 PyObject * obj0 = 0 ;
11262 PyObject * obj1 = 0 ;
11263 char * kwnames[] = {
11264 (char *) "self",(char *) "scale", NULL
11265 };
11266
11267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11269 if (!SWIG_IsOK(res1)) {
11270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11271 }
11272 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11273 ecode2 = SWIG_AsVal_int(obj1, &val2);
11274 if (!SWIG_IsOK(ecode2)) {
11275 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11276 }
11277 arg2 = static_cast< int >(val2);
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 (arg1)->SetScale(arg2);
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_Py_Void();
11285 return resultobj;
11286 fail:
11287 return NULL;
11288 }
11289
11290
11291 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11292 PyObject *resultobj = 0;
11293 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11294 int result;
11295 void *argp1 = 0 ;
11296 int res1 = 0 ;
11297 PyObject *swig_obj[1] ;
11298
11299 if (!args) SWIG_fail;
11300 swig_obj[0] = args;
11301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11302 if (!SWIG_IsOK(res1)) {
11303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11304 }
11305 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
11312 resultobj = SWIG_From_int(static_cast< int >(result));
11313 return resultobj;
11314 fail:
11315 return NULL;
11316 }
11317
11318
11319 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11320 PyObject *resultobj = 0;
11321 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11322 float arg2 ;
11323 float arg3 ;
11324 void *argp1 = 0 ;
11325 int res1 = 0 ;
11326 float val2 ;
11327 int ecode2 = 0 ;
11328 float val3 ;
11329 int ecode3 = 0 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 PyObject * obj2 = 0 ;
11333 char * kwnames[] = {
11334 (char *) "self",(char *) "sx",(char *) "sy", NULL
11335 };
11336
11337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11339 if (!SWIG_IsOK(res1)) {
11340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11341 }
11342 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11343 ecode2 = SWIG_AsVal_float(obj1, &val2);
11344 if (!SWIG_IsOK(ecode2)) {
11345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11346 }
11347 arg2 = static_cast< float >(val2);
11348 ecode3 = SWIG_AsVal_float(obj2, &val3);
11349 if (!SWIG_IsOK(ecode3)) {
11350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11351 }
11352 arg3 = static_cast< float >(val3);
11353 {
11354 PyThreadState* __tstate = wxPyBeginAllowThreads();
11355 (arg1)->SetCustomScale(arg2,arg3);
11356 wxPyEndAllowThreads(__tstate);
11357 if (PyErr_Occurred()) SWIG_fail;
11358 }
11359 resultobj = SWIG_Py_Void();
11360 return resultobj;
11361 fail:
11362 return NULL;
11363 }
11364
11365
11366 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11367 PyObject *resultobj = 0;
11368 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11369 float *arg2 = (float *) 0 ;
11370 float *arg3 = (float *) 0 ;
11371 void *argp1 = 0 ;
11372 int res1 = 0 ;
11373 float temp2 ;
11374 int res2 = SWIG_TMPOBJ ;
11375 float temp3 ;
11376 int res3 = SWIG_TMPOBJ ;
11377 PyObject *swig_obj[1] ;
11378
11379 arg2 = &temp2;
11380 arg3 = &temp3;
11381 if (!args) SWIG_fail;
11382 swig_obj[0] = args;
11383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11384 if (!SWIG_IsOK(res1)) {
11385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11386 }
11387 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11388 {
11389 PyThreadState* __tstate = wxPyBeginAllowThreads();
11390 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11391 wxPyEndAllowThreads(__tstate);
11392 if (PyErr_Occurred()) SWIG_fail;
11393 }
11394 resultobj = SWIG_Py_Void();
11395 if (SWIG_IsTmpObj(res2)) {
11396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11397 } else {
11398 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11400 }
11401 if (SWIG_IsTmpObj(res3)) {
11402 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11403 } else {
11404 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11405 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11406 }
11407 return resultobj;
11408 fail:
11409 return NULL;
11410 }
11411
11412
11413 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11414 PyObject *obj;
11415 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11416 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11417 return SWIG_Py_Void();
11418 }
11419
11420 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11421 return SWIG_Python_InitShadowInstance(args);
11422 }
11423
11424 static PyMethodDef SwigMethods[] = {
11425 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11426 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
11427 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
11428 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11429 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
11430 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
11431 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11432 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
11433 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11434 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11435 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11436 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
11437 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
11438 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11439 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
11440 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11441 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11442 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11443 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11444 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11445 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11446 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
11447 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
11448 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
11449 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11450 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11451 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11452 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
11453 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11454 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11455 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
11456 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
11457 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
11458 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11459 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11460 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
11461 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11462 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
11463 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
11464 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11465 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
11466 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
11467 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11468 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
11469 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
11470 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11471 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
11472 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11473 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11474 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11475 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
11476 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11477 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11478 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11479 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
11480 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
11481 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11482 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
11483 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11484 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11485 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11486 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11487 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
11488 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11489 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
11490 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11491 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11492 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11493 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11494 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11495 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11496 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
11497 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
11498 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
11499 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11500 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
11501 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11502 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11503 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11504 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
11505 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11506 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
11507 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11508 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11509 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11510 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
11511 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11517 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11518 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11519 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11521 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11522 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
11523 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
11525 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11530 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11551 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11557 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11563 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11564 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
11565 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11574 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11575 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11580 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11581 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11582 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11583 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11586 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11587 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
11588 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11589 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11590 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11591 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11592 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11593 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11594 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11595 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11596 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
11597 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11598 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11599 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11600 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11601 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11602 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11603 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11604 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
11605 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11606 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11607 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11608 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11609 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11610 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11611 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11612 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11613 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11614 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11615 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11616 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11617 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11618 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11619 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11620 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11621 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11622 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11623 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11624 { NULL, NULL, 0, NULL }
11625 };
11626
11627
11628 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11629
11630 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11631 return (void *)((wxValidator *) ((wxPyValidator *) x));
11632 }
11633 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11634 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11635 }
11636 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11637 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11638 }
11639 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11640 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11641 }
11642 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11643 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11644 }
11645 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11646 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11647 }
11648 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11649 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11650 }
11651 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
11652 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11653 }
11654 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11655 return (void *)((wxPanel *) ((wxPyPanel *) x));
11656 }
11657 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11658 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11659 }
11660 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11661 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11662 }
11663 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11664 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11665 }
11666 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11667 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11668 }
11669 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11670 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11671 }
11672 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11673 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11674 }
11675 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11676 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11677 }
11678 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11679 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11680 }
11681 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11682 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11683 }
11684 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11685 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11686 }
11687 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11688 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11689 }
11690 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
11691 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
11692 }
11693 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11694 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11695 }
11696 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11697 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11698 }
11699 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11700 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11701 }
11702 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11703 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11704 }
11705 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11706 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11707 }
11708 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11709 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11710 }
11711 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11712 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11713 }
11714 static void *_p_wxControlTo_p_wxWindow(void *x) {
11715 return (void *)((wxWindow *) ((wxControl *) x));
11716 }
11717 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11718 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11719 }
11720 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11721 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11722 }
11723 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11724 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11725 }
11726 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11727 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11728 }
11729 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11730 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11731 }
11732 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11733 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11734 }
11735 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11736 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11737 }
11738 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11739 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11740 }
11741 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11742 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11743 }
11744 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11745 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11746 }
11747 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11748 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11749 }
11750 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11751 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11752 }
11753 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11754 return (void *)((wxWindow *) ((wxPyWindow *) x));
11755 }
11756 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11758 }
11759 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11760 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11761 }
11762 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11764 }
11765 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11767 }
11768 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11770 }
11771 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11772 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11773 }
11774 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11775 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11776 }
11777 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11778 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11779 }
11780 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11781 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11782 }
11783 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11785 }
11786 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11788 }
11789 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11790 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11791 }
11792 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11793 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11794 }
11795 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11796 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11797 }
11798 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11799 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11800 }
11801 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11802 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11803 }
11804 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11805 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11806 }
11807 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11808 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11809 }
11810 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11811 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11812 }
11813 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
11814 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11815 }
11816 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11817 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11818 }
11819 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11820 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11821 }
11822 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11823 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11824 }
11825 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11826 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11827 }
11828 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11829 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11830 }
11831 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11832 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11833 }
11834 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11835 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11836 }
11837 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11838 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11839 }
11840 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11841 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11842 }
11843 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11844 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11845 }
11846 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11847 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11848 }
11849 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11850 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11851 }
11852 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11853 return (void *)((wxWindow *) ((wxStatusBar *) x));
11854 }
11855 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11856 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11857 }
11858 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11859 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11860 }
11861 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11862 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11863 }
11864 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11865 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11866 }
11867 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11868 return (void *)((wxWindow *) ((wxSashWindow *) x));
11869 }
11870 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11871 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11872 }
11873 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11874 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11875 }
11876 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11877 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11878 }
11879 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11880 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11881 }
11882 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11883 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11884 }
11885 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11886 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11887 }
11888 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11889 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11890 }
11891 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11892 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11893 }
11894 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11895 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11896 }
11897 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11898 return (void *)((wxWindow *) ((wxMenuBar *) x));
11899 }
11900 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11901 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11902 }
11903 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11904 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11905 }
11906 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11907 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11908 }
11909 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11910 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11911 }
11912 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11913 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11914 }
11915 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11916 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11917 }
11918 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11919 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11920 }
11921 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11922 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11923 }
11924 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11925 return (void *)((wxWindow *) ((wxPanel *) x));
11926 }
11927 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
11928 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
11929 }
11930 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11931 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11932 }
11933 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11934 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11935 }
11936 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11937 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11938 }
11939 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11940 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11941 }
11942 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11943 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11944 }
11945 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11946 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11947 }
11948 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11949 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11950 }
11951 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11952 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11953 }
11954 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11955 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11956 }
11957 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11958 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11959 }
11960 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11961 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11962 }
11963 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11964 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11965 }
11966 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11967 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11968 }
11969 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11970 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11971 }
11972 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11973 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11974 }
11975 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
11976 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
11977 }
11978 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11979 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11980 }
11981 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11982 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11983 }
11984 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11985 return (void *)((wxControl *) ((wxPickerBase *) x));
11986 }
11987 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11988 return (void *)((wxControl *) ((wxToggleButton *) x));
11989 }
11990 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11991 return (void *)((wxControl *) ((wxRadioButton *) x));
11992 }
11993 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
11994 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
11995 }
11996 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11997 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11998 }
11999 static void *_p_wxToolbookTo_p_wxControl(void *x) {
12000 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
12001 }
12002 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
12003 return (void *)((wxControl *) ((wxToolBarBase *) x));
12004 }
12005 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
12006 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12007 }
12008 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
12009 return (void *)((wxControl *) ((wxPyListCtrl *) x));
12010 }
12011 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
12012 return (void *)((wxControl *) ((wxComboBox *) x));
12013 }
12014 static void *_p_wxPyControlTo_p_wxControl(void *x) {
12015 return (void *)((wxControl *) ((wxPyControl *) x));
12016 }
12017 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
12018 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
12019 }
12020 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
12021 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
12022 }
12023 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
12024 return (void *)((wxControl *) ((wxScrollBar *) x));
12025 }
12026 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12027 return (void *)((wxControl *) ((wxControlWithItems *) x));
12028 }
12029 static void *_p_wxGaugeTo_p_wxControl(void *x) {
12030 return (void *)((wxControl *) ((wxGauge *) x));
12031 }
12032 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12033 return (void *)((wxControl *) ((wxStaticLine *) x));
12034 }
12035 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
12036 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
12037 }
12038 static void *_p_wxListbookTo_p_wxControl(void *x) {
12039 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
12040 }
12041 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12042 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12043 }
12044 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12045 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12046 }
12047 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12048 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12049 }
12050 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12051 return (void *)((wxControl *) ((wxCheckBox *) x));
12052 }
12053 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12054 return (void *)((wxControl *) ((wxRadioBox *) x));
12055 }
12056 static void *_p_wxChoiceTo_p_wxControl(void *x) {
12057 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12058 }
12059 static void *_p_wxListBoxTo_p_wxControl(void *x) {
12060 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12061 }
12062 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12063 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12064 }
12065 static void *_p_wxListViewTo_p_wxControl(void *x) {
12066 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12067 }
12068 static void *_p_wxNotebookTo_p_wxControl(void *x) {
12069 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
12070 }
12071 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12072 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12073 }
12074 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12075 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12076 }
12077 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12078 return (void *)((wxControl *) ((wxStaticText *) x));
12079 }
12080 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12081 return (void *)((wxControl *) ((wxStaticBox *) x));
12082 }
12083 static void *_p_wxSliderTo_p_wxControl(void *x) {
12084 return (void *)((wxControl *) ((wxSlider *) x));
12085 }
12086 static void *_p_wxTreebookTo_p_wxControl(void *x) {
12087 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
12088 }
12089 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12090 return (void *)((wxControl *) ((wxSpinButton *) x));
12091 }
12092 static void *_p_wxButtonTo_p_wxControl(void *x) {
12093 return (void *)((wxControl *) ((wxButton *) x));
12094 }
12095 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12096 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12097 }
12098 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12099 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12100 }
12101 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12102 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12103 }
12104 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12105 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12106 }
12107 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12108 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12109 }
12110 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12111 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12112 }
12113 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12114 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12115 }
12116 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12117 return (void *)((wxControl *) ((wxStaticPicture *) x));
12118 }
12119 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12120 return (void *)((wxControl *) ((wxTextCtrl *) x));
12121 }
12122 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12123 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12124 }
12125 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12126 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12127 }
12128 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12129 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12130 }
12131 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12132 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12133 }
12134 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12135 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12136 }
12137 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12138 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12139 }
12140 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12141 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12142 }
12143 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12144 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12145 }
12146 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12147 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12148 }
12149 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12150 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12151 }
12152 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12153 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12154 }
12155 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12156 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12157 }
12158 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12159 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12160 }
12161 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12162 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12163 }
12164 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12166 }
12167 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12168 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12169 }
12170 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12171 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12172 }
12173 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12174 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12175 }
12176 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12177 return (void *)((wxEvent *) ((wxPyEvent *) x));
12178 }
12179 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12180 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12181 }
12182 static void *_p_wxListEventTo_p_wxEvent(void *x) {
12183 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12184 }
12185 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12186 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12187 }
12188 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12190 }
12191 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
12192 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12193 }
12194 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
12195 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12196 }
12197 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
12198 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12199 }
12200 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12201 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12202 }
12203 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12204 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12205 }
12206 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12207 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12208 }
12209 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12210 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12211 }
12212 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12213 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12214 }
12215 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12216 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12217 }
12218 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12219 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12220 }
12221 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12222 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12223 }
12224 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12225 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12226 }
12227 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12228 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12229 }
12230 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12231 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12232 }
12233 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12234 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12235 }
12236 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
12237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12238 }
12239 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12240 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12241 }
12242 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12243 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12244 }
12245 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12247 }
12248 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12250 }
12251 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12252 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12253 }
12254 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12255 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12256 }
12257 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12258 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12259 }
12260 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12261 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12262 }
12263 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12265 }
12266 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12267 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12268 }
12269 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12270 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12271 }
12272 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12273 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12274 }
12275 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12276 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12277 }
12278 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12279 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12280 }
12281 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12282 return (void *)((wxEvent *) ((wxShowEvent *) x));
12283 }
12284 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12285 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12286 }
12287 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12288 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12289 }
12290 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12291 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12292 }
12293 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12294 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12295 }
12296 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12297 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12298 }
12299 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12300 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12301 }
12302 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12303 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12304 }
12305 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12306 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12307 }
12308 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12310 }
12311 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12312 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12313 }
12314 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12316 }
12317 static void *_p_wxEventTo_p_wxObject(void *x) {
12318 return (void *)((wxObject *) ((wxEvent *) x));
12319 }
12320 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12321 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12322 }
12323 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12324 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12325 }
12326 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12327 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12328 }
12329 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12331 }
12332 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12333 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12334 }
12335 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12337 }
12338 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12339 return (void *)((wxObject *) ((wxMenuItem *) x));
12340 }
12341 static void *_p_wxImageTo_p_wxObject(void *x) {
12342 return (void *)((wxObject *) ((wxImage *) x));
12343 }
12344 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12345 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12346 }
12347 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12349 }
12350 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12351 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12352 }
12353 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12355 }
12356 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12357 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12358 }
12359 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12360 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12361 }
12362 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12363 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12364 }
12365 static void *_p_wxTreebookTo_p_wxObject(void *x) {
12366 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12367 }
12368 static void *_p_wxNotebookTo_p_wxObject(void *x) {
12369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12370 }
12371 static void *_p_wxListItemTo_p_wxObject(void *x) {
12372 return (void *)((wxObject *) ((wxListItem *) x));
12373 }
12374 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
12375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12376 }
12377 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12378 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12379 }
12380 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12381 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12382 }
12383 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12385 }
12386 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12388 }
12389 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12391 }
12392 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12393 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12394 }
12395 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12396 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12397 }
12398 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12399 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12400 }
12401 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12402 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12403 }
12404 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12405 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12406 }
12407 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12408 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12409 }
12410 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12411 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12412 }
12413 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12414 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12415 }
12416 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12417 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12418 }
12419 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12420 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12421 }
12422 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12423 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12424 }
12425 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12426 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12427 }
12428 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12429 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12430 }
12431 static void *_p_wxPrinterTo_p_wxObject(void *x) {
12432 return (void *)((wxObject *) ((wxPrinter *) x));
12433 }
12434 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12435 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12436 }
12437 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12438 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12439 }
12440 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
12441 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
12442 }
12443 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12444 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12445 }
12446 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12447 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12448 }
12449 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12450 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12451 }
12452 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
12453 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
12454 }
12455 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12456 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12457 }
12458 static void *_p_wxControlTo_p_wxObject(void *x) {
12459 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12460 }
12461 static void *_p_wxPyControlTo_p_wxObject(void *x) {
12462 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12463 }
12464 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12465 return (void *)((wxObject *) ((wxContextHelp *) x));
12466 }
12467 static void *_p_wxColourDataTo_p_wxObject(void *x) {
12468 return (void *)((wxObject *) ((wxColourData *) x));
12469 }
12470 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12471 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12472 }
12473 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12474 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12475 }
12476 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12477 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12478 }
12479 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12480 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12481 }
12482 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12483 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12484 }
12485 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12486 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12487 }
12488 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12489 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12490 }
12491 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12492 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12493 }
12494 static void *_p_wxDateEventTo_p_wxObject(void *x) {
12495 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12496 }
12497 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
12498 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12499 }
12500 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12502 }
12503 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12504 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12505 }
12506 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12507 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12508 }
12509 static void *_p_wxListEventTo_p_wxObject(void *x) {
12510 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12511 }
12512 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12514 }
12515 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12516 return (void *)((wxObject *) ((wxPyPrintout *) x));
12517 }
12518 static void *_p_wxGaugeTo_p_wxObject(void *x) {
12519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12520 }
12521 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12523 }
12524 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12525 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12526 }
12527 static void *_p_wxChoiceTo_p_wxObject(void *x) {
12528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12529 }
12530 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12531 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12532 }
12533 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12534 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12535 }
12536 static void *_p_wxButtonTo_p_wxObject(void *x) {
12537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12538 }
12539 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12541 }
12542 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12543 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12544 }
12545 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12546 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12547 }
12548 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12550 }
12551 static void *_p_wxSashEventTo_p_wxObject(void *x) {
12552 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12553 }
12554 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12555 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12556 }
12557 static void *_p_wxListBoxTo_p_wxObject(void *x) {
12558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12559 }
12560 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
12561 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
12562 }
12563 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12564 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12565 }
12566 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12567 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12568 }
12569 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12570 return (void *)((wxObject *) ((wxPrintData *) x));
12571 }
12572 static void *_p_wxFontDataTo_p_wxObject(void *x) {
12573 return (void *)((wxObject *) ((wxFontData *) x));
12574 }
12575 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12577 }
12578 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12580 }
12581 static void *_p_wxListbookTo_p_wxObject(void *x) {
12582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12583 }
12584 static void *_p_wxFrameTo_p_wxObject(void *x) {
12585 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12586 }
12587 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12589 }
12590 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12591 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12592 }
12593 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12594 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12595 }
12596 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12597 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12598 }
12599 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12600 return (void *)((wxObject *) ((wxFileSystem *) x));
12601 }
12602 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12603 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12604 }
12605 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12606 return (void *)((wxObject *) ((wxPrintPreview *) x));
12607 }
12608 static void *_p_wxListViewTo_p_wxObject(void *x) {
12609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12610 }
12611 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12612 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12613 }
12614 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12615 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12616 }
12617 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12618 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12619 }
12620 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12621 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12622 }
12623 static void *_p_wxSizerTo_p_wxObject(void *x) {
12624 return (void *)((wxObject *) ((wxSizer *) x));
12625 }
12626 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12627 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12628 }
12629 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12630 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12631 }
12632 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12633 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12634 }
12635 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12636 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12637 }
12638 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12639 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12640 }
12641 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12643 }
12644 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12645 return (void *)((wxObject *) ((wxFSFile *) x));
12646 }
12647 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12648 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12649 }
12650 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12651 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12652 }
12653 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12654 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12655 }
12656 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12658 }
12659 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12660 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12661 }
12662 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12664 }
12665 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12667 }
12668 static void *_p_wxMenuTo_p_wxObject(void *x) {
12669 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12670 }
12671 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12672 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12673 }
12674 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12675 return (void *)((wxObject *) ((wxSizerItem *) x));
12676 }
12677 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12678 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12679 }
12680 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12681 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12682 }
12683 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12684 return (void *)((wxObject *) ((wxPrintDialog *) x));
12685 }
12686 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12687 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12688 }
12689 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12691 }
12692 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12693 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12694 }
12695 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12697 }
12698 static void *_p_wxDialogTo_p_wxObject(void *x) {
12699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12700 }
12701 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12702 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12703 }
12704 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12705 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12706 }
12707 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12709 }
12710 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12712 }
12713 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12715 }
12716 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12717 return (void *)((wxObject *) ((wxEvtHandler *) x));
12718 }
12719 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
12720 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
12721 }
12722 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12723 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12724 }
12725 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12726 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12727 }
12728 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12729 return (void *)((wxObject *) ((wxImageHandler *) x));
12730 }
12731 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12732 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12733 }
12734 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12735 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12736 }
12737 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12738 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12739 }
12740 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12741 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12742 }
12743 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12744 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12745 }
12746 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12747 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12748 }
12749 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12750 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12751 }
12752 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12753 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12754 }
12755 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12756 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12757 }
12758 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12759 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12760 }
12761 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12762 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12763 }
12764 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12766 }
12767 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12769 }
12770 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12772 }
12773 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12775 }
12776 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12778 }
12779 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12781 }
12782 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12784 }
12785 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12787 }
12788 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12790 }
12791 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12793 }
12794 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12796 }
12797 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12799 }
12800 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12802 }
12803 static void *_p_wxWindowTo_p_wxObject(void *x) {
12804 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12805 }
12806 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12808 }
12809 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12811 }
12812 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12814 }
12815 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12817 }
12818 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12820 }
12821 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12823 }
12824 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12826 }
12827 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12828 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12829 }
12830 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12831 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12832 }
12833 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12835 }
12836 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12838 }
12839 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12841 }
12842 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12844 }
12845 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12847 }
12848 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12850 }
12851 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12853 }
12854 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12856 }
12857 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12859 }
12860 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12862 }
12863 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12864 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12865 }
12866 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12868 }
12869 static void *_p_wxSliderTo_p_wxObject(void *x) {
12870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12871 }
12872 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12874 }
12875 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12877 }
12878 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12880 }
12881 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12883 }
12884 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12886 }
12887 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12888 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12889 }
12890 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12891 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12892 }
12893 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12894 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12895 }
12896 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12897 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12898 }
12899 static void *_p_wxEventBlockerTo_p_wxObject(void *x) {
12900 return (void *)((wxObject *) (wxEvtHandler *) ((wxEventBlocker *) x));
12901 }
12902 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12904 }
12905 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12907 }
12908 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12909 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12910 }
12911 static void *_p_wxPanelTo_p_wxObject(void *x) {
12912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12913 }
12914 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12915 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12916 }
12917 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12918 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12919 }
12920 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12921 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12922 }
12923 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12924 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12925 }
12926 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12928 }
12929 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12931 }
12932 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12933 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12934 }
12935 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12936 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12937 }
12938 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12940 }
12941 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12943 }
12944 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12946 }
12947 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12949 }
12950 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12951 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12952 }
12953 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12954 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12955 }
12956 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12958 }
12959 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12961 }
12962 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12964 }
12965 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12966 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12967 }
12968 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12969 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12970 }
12971 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x) {
12972 return (void *)((wxEvtHandler *) ((wxEventBlocker *) x));
12973 }
12974 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12976 }
12977 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12979 }
12980 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12982 }
12983 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12984 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12985 }
12986 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
12987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
12988 }
12989 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12990 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12991 }
12992 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12994 }
12995 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12997 }
12998 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
13000 }
13001 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
13002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
13003 }
13004 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
13005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
13006 }
13007 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13008 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13009 }
13010 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
13011 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
13012 }
13013 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13014 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13015 }
13016 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
13017 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
13018 }
13019 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
13020 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
13021 }
13022 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
13023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
13024 }
13025 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
13026 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
13027 }
13028 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
13029 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
13030 }
13031 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
13032 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
13033 }
13034 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
13035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
13036 }
13037 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
13038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
13039 }
13040 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
13041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
13042 }
13043 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
13044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
13045 }
13046 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13047 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13048 }
13049 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
13050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
13051 }
13052 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13053 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13054 }
13055 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13056 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13057 }
13058 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13059 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13060 }
13061 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13062 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13063 }
13064 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13065 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13066 }
13067 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13068 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13069 }
13070 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13071 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13072 }
13073 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13074 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13075 }
13076 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13077 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13078 }
13079 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13080 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13081 }
13082 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13083 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13084 }
13085 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
13086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
13087 }
13088 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13089 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13090 }
13091 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13093 }
13094 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13096 }
13097 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13099 }
13100 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13102 }
13103 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13105 }
13106 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13108 }
13109 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13110 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13111 }
13112 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
13113 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
13114 }
13115 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13116 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13117 }
13118 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13120 }
13121 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13123 }
13124 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13126 }
13127 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13129 }
13130 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13132 }
13133 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13135 }
13136 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13138 }
13139 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13141 }
13142 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13143 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13144 }
13145 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13146 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13147 }
13148 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13149 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13150 }
13151 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13153 }
13154 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13155 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13156 }
13157 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13158 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13159 }
13160 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13161 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13162 }
13163 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13164 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13165 }
13166 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13167 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13168 }
13169 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13170 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13171 }
13172 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13173 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13174 }
13175 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13177 }
13178 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13179 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13180 }
13181 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13182 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13183 }
13184 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13185 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13186 }
13187 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13188 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13189 }
13190 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13191 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13192 }
13193 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13194 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13195 }
13196 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13197 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13198 }
13199 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13200 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13201 }
13202 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13203 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13204 }
13205 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13206 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13207 }
13208 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13209 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13210 }
13211 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13212 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13213 }
13214 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13215 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13216 }
13217 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13218 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13219 }
13220 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13221 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13222 }
13223 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13224 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13225 }
13226 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13227 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13228 }
13229 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13230 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13231 }
13232 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
13233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
13234 }
13235 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13236 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13237 }
13238 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13240 }
13241 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13242 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13243 }
13244 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13245 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13246 }
13247 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13249 }
13250 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13252 }
13253 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13254 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13255 }
13256 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13258 }
13259 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13261 }
13262 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13264 }
13265 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13267 }
13268 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13269 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13270 }
13271 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13272 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13273 }
13274 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13275 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13276 }
13277 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13278 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13279 }
13280 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13281 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13282 }
13283 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13284 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13285 }
13286 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13287 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13288 }
13289 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13290 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13291 }
13292 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13293 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13294 }
13295 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13296 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13297 }
13298 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13299 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13300 }
13301 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13302 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13303 }
13304 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13305 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13306 }
13307 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13308 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13309 }
13310 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13311 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13312 }
13313 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13314 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13315 }
13316 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13317 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13318 }
13319 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
13320 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
13321 }
13322 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
13323 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
13324 }
13325 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
13326 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
13327 }
13328 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13329 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13330 }
13331 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13332 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13333 }
13334 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13335 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13336 }
13337 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13338 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13339 }
13340 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13341 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13342 }
13343 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
13344 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
13345 }
13346 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13347 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13348 }
13349 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13350 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13351 }
13352 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13353 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13354 }
13355 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13356 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13357 }
13358 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13359 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13360 }
13361 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13362 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13363 }
13364 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13365 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13366 }
13367 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13368 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13369 }
13370 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13371 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13372 }
13373 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13374 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13375 static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13376 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13377 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13378 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13379 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13380 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13381 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13382 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13383 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13384 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13385 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13386 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13387 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13388 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13389 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13390 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13391 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13392 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13393 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13394 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13395 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13396 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13397 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13398 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13399 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13400 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13401 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13402 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13403 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13404 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13405 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0};
13406 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13407 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13408 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13409 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13410 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13411 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13412 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13413 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13414 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0};
13415 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13416 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
13417 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13418 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13419 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13420 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", 0, 0, 0, 0, 0};
13421 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13422 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13423 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13424 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
13425 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13426 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13427 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13428 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13429 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13430 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13431 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13432 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
13433 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13434 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13435 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13436 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13437 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13438 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13439 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13440 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13441 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13442 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13443 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13444 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13445 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13446 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13447 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13448 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13449 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13450 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13451 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13452 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13453 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13454 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13455 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13456 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13457 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13458 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13459 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13460 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13461 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13462 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13463 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13464 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13465 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13466 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13467 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13468 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13469 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13470 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13471 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13472 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13473 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13474 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13475 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13476 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13477 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13478 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13479 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13480 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13481 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13482 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13483 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13484 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13485 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13486 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13487 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13488 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13489 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13490 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13491 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13492 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13493 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13494 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13495 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13496 static swig_type_info _swigt__p_wxEventBlocker = {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
13497 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13498 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13499 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13500 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13501 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13502 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13503 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13504 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13505 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13506 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13507 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13508 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13509 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13510 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13511 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13512 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13513 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13514 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13515 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
13516 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13517 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13518 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13519 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13520 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13521 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13522 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13523 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13524 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13525 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13526 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13527 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13528 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13529 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13530 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13531 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13532 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13533 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13534 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13535 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13536 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13537 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13538 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13539 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13540 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13541 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13542 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13543 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13544 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13545 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13546 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13547 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13548 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13549 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13550 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13551 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13552 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13553 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13554 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13555 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13556 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13557 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13558 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13559 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13560 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13561 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13562 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13563 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13564 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13565 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13566 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13567 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13568 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13569 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13570 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13571 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13572 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13573 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13574 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13575 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13576 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13577 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13578 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13579 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13580 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13581 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13582 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13583 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13584 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13585 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13586 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13587 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13588 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13589 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13590 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
13591 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13592 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13593 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13594 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13595 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13596 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13597 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13598 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13599 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13600 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13601 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13602 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13603 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13604 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13605 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13606 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13607 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13608 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13609
13610 static swig_type_info *swig_type_initial[] = {
13611 &_swigt__p_char,
13612 &_swigt__p_float,
13613 &_swigt__p_form_ops_t,
13614 &_swigt__p_int,
13615 &_swigt__p_unsigned_char,
13616 &_swigt__p_unsigned_int,
13617 &_swigt__p_unsigned_long,
13618 &_swigt__p_wxANIHandler,
13619 &_swigt__p_wxAcceleratorTable,
13620 &_swigt__p_wxActivateEvent,
13621 &_swigt__p_wxArrayString,
13622 &_swigt__p_wxBMPHandler,
13623 &_swigt__p_wxBitmap,
13624 &_swigt__p_wxBitmapButton,
13625 &_swigt__p_wxBookCtrlBase,
13626 &_swigt__p_wxBookCtrlBaseEvent,
13627 &_swigt__p_wxBoxSizer,
13628 &_swigt__p_wxButton,
13629 &_swigt__p_wxCURHandler,
13630 &_swigt__p_wxCalculateLayoutEvent,
13631 &_swigt__p_wxCheckBox,
13632 &_swigt__p_wxCheckListBox,
13633 &_swigt__p_wxChildFocusEvent,
13634 &_swigt__p_wxChoice,
13635 &_swigt__p_wxChoicebook,
13636 &_swigt__p_wxChoicebookEvent,
13637 &_swigt__p_wxClipboardTextEvent,
13638 &_swigt__p_wxCloseEvent,
13639 &_swigt__p_wxCollapsiblePane,
13640 &_swigt__p_wxCollapsiblePaneEvent,
13641 &_swigt__p_wxColour,
13642 &_swigt__p_wxColourData,
13643 &_swigt__p_wxColourDialog,
13644 &_swigt__p_wxColourPickerCtrl,
13645 &_swigt__p_wxColourPickerEvent,
13646 &_swigt__p_wxComboBox,
13647 &_swigt__p_wxCommandEvent,
13648 &_swigt__p_wxContextHelp,
13649 &_swigt__p_wxContextHelpButton,
13650 &_swigt__p_wxContextMenuEvent,
13651 &_swigt__p_wxControl,
13652 &_swigt__p_wxControlWithItems,
13653 &_swigt__p_wxDateEvent,
13654 &_swigt__p_wxDatePickerCtrl,
13655 &_swigt__p_wxDialog,
13656 &_swigt__p_wxDirDialog,
13657 &_swigt__p_wxDirFilterListCtrl,
13658 &_swigt__p_wxDirPickerCtrl,
13659 &_swigt__p_wxDisplayChangedEvent,
13660 &_swigt__p_wxDropFilesEvent,
13661 &_swigt__p_wxDuplexMode,
13662 &_swigt__p_wxDynamicSashSplitEvent,
13663 &_swigt__p_wxDynamicSashUnifyEvent,
13664 &_swigt__p_wxDynamicSashWindow,
13665 &_swigt__p_wxEditableListBox,
13666 &_swigt__p_wxEraseEvent,
13667 &_swigt__p_wxEvent,
13668 &_swigt__p_wxEventBlocker,
13669 &_swigt__p_wxEvtHandler,
13670 &_swigt__p_wxFSFile,
13671 &_swigt__p_wxFileDialog,
13672 &_swigt__p_wxFileDirPickerEvent,
13673 &_swigt__p_wxFilePickerCtrl,
13674 &_swigt__p_wxFileSystem,
13675 &_swigt__p_wxFindDialogEvent,
13676 &_swigt__p_wxFindReplaceData,
13677 &_swigt__p_wxFindReplaceDialog,
13678 &_swigt__p_wxFlexGridSizer,
13679 &_swigt__p_wxFocusEvent,
13680 &_swigt__p_wxFont,
13681 &_swigt__p_wxFontData,
13682 &_swigt__p_wxFontDialog,
13683 &_swigt__p_wxFontPickerCtrl,
13684 &_swigt__p_wxFontPickerEvent,
13685 &_swigt__p_wxFrame,
13686 &_swigt__p_wxGBSizerItem,
13687 &_swigt__p_wxGIFHandler,
13688 &_swigt__p_wxGauge,
13689 &_swigt__p_wxGenericDirCtrl,
13690 &_swigt__p_wxGenericDragImage,
13691 &_swigt__p_wxGridBagSizer,
13692 &_swigt__p_wxGridSizer,
13693 &_swigt__p_wxHelpEvent,
13694 &_swigt__p_wxHyperlinkCtrl,
13695 &_swigt__p_wxHyperlinkEvent,
13696 &_swigt__p_wxICOHandler,
13697 &_swigt__p_wxIcon,
13698 &_swigt__p_wxIconizeEvent,
13699 &_swigt__p_wxIdleEvent,
13700 &_swigt__p_wxImage,
13701 &_swigt__p_wxImageHandler,
13702 &_swigt__p_wxImageList,
13703 &_swigt__p_wxIndividualLayoutConstraint,
13704 &_swigt__p_wxInitDialogEvent,
13705 &_swigt__p_wxJPEGHandler,
13706 &_swigt__p_wxKeyEvent,
13707 &_swigt__p_wxLEDNumberCtrl,
13708 &_swigt__p_wxLayoutAlgorithm,
13709 &_swigt__p_wxLayoutConstraints,
13710 &_swigt__p_wxListBox,
13711 &_swigt__p_wxListEvent,
13712 &_swigt__p_wxListItem,
13713 &_swigt__p_wxListView,
13714 &_swigt__p_wxListbook,
13715 &_swigt__p_wxListbookEvent,
13716 &_swigt__p_wxMDIChildFrame,
13717 &_swigt__p_wxMDIClientWindow,
13718 &_swigt__p_wxMDIParentFrame,
13719 &_swigt__p_wxMaximizeEvent,
13720 &_swigt__p_wxMenu,
13721 &_swigt__p_wxMenuBar,
13722 &_swigt__p_wxMenuEvent,
13723 &_swigt__p_wxMenuItem,
13724 &_swigt__p_wxMessageDialog,
13725 &_swigt__p_wxMiniFrame,
13726 &_swigt__p_wxMouseCaptureChangedEvent,
13727 &_swigt__p_wxMouseCaptureLostEvent,
13728 &_swigt__p_wxMouseEvent,
13729 &_swigt__p_wxMoveEvent,
13730 &_swigt__p_wxMultiChoiceDialog,
13731 &_swigt__p_wxNavigationKeyEvent,
13732 &_swigt__p_wxNcPaintEvent,
13733 &_swigt__p_wxNotebook,
13734 &_swigt__p_wxNotebookEvent,
13735 &_swigt__p_wxNotifyEvent,
13736 &_swigt__p_wxNumberEntryDialog,
13737 &_swigt__p_wxObject,
13738 &_swigt__p_wxPCXHandler,
13739 &_swigt__p_wxPNGHandler,
13740 &_swigt__p_wxPNMHandler,
13741 &_swigt__p_wxPageSetupDialog,
13742 &_swigt__p_wxPageSetupDialogData,
13743 &_swigt__p_wxPaintEvent,
13744 &_swigt__p_wxPaletteChangedEvent,
13745 &_swigt__p_wxPanel,
13746 &_swigt__p_wxPaperSize,
13747 &_swigt__p_wxPasswordEntryDialog,
13748 &_swigt__p_wxPickerBase,
13749 &_swigt__p_wxPopupWindow,
13750 &_swigt__p_wxPreviewCanvas,
13751 &_swigt__p_wxPreviewControlBar,
13752 &_swigt__p_wxPreviewFrame,
13753 &_swigt__p_wxPrintData,
13754 &_swigt__p_wxPrintDialog,
13755 &_swigt__p_wxPrintDialogData,
13756 &_swigt__p_wxPrintPreview,
13757 &_swigt__p_wxPrinter,
13758 &_swigt__p_wxProgressDialog,
13759 &_swigt__p_wxPyApp,
13760 &_swigt__p_wxPyCommandEvent,
13761 &_swigt__p_wxPyControl,
13762 &_swigt__p_wxPyEvent,
13763 &_swigt__p_wxPyHtmlListBox,
13764 &_swigt__p_wxPyImageHandler,
13765 &_swigt__p_wxPyListCtrl,
13766 &_swigt__p_wxPyPanel,
13767 &_swigt__p_wxPyPopupTransientWindow,
13768 &_swigt__p_wxPyPreviewControlBar,
13769 &_swigt__p_wxPyPreviewFrame,
13770 &_swigt__p_wxPyPrintPreview,
13771 &_swigt__p_wxPyPrintout,
13772 &_swigt__p_wxPyScrolledWindow,
13773 &_swigt__p_wxPySizer,
13774 &_swigt__p_wxPyTaskBarIcon,
13775 &_swigt__p_wxPyTreeCompanionWindow,
13776 &_swigt__p_wxPyTreeCtrl,
13777 &_swigt__p_wxPyTreeItemData,
13778 &_swigt__p_wxPyTreeListCtrl,
13779 &_swigt__p_wxPyVListBox,
13780 &_swigt__p_wxPyVScrolledWindow,
13781 &_swigt__p_wxPyValidator,
13782 &_swigt__p_wxPyWindow,
13783 &_swigt__p_wxQueryLayoutInfoEvent,
13784 &_swigt__p_wxQueryNewPaletteEvent,
13785 &_swigt__p_wxRadioBox,
13786 &_swigt__p_wxRadioButton,
13787 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13788 &_swigt__p_wxSashEvent,
13789 &_swigt__p_wxSashLayoutWindow,
13790 &_swigt__p_wxSashWindow,
13791 &_swigt__p_wxScrollBar,
13792 &_swigt__p_wxScrollEvent,
13793 &_swigt__p_wxScrollWinEvent,
13794 &_swigt__p_wxScrolledWindow,
13795 &_swigt__p_wxSearchCtrl,
13796 &_swigt__p_wxSetCursorEvent,
13797 &_swigt__p_wxShowEvent,
13798 &_swigt__p_wxSimpleHtmlListBox,
13799 &_swigt__p_wxSingleChoiceDialog,
13800 &_swigt__p_wxSizeEvent,
13801 &_swigt__p_wxSizer,
13802 &_swigt__p_wxSizerItem,
13803 &_swigt__p_wxSlider,
13804 &_swigt__p_wxSpinButton,
13805 &_swigt__p_wxSpinCtrl,
13806 &_swigt__p_wxSpinEvent,
13807 &_swigt__p_wxSplashScreen,
13808 &_swigt__p_wxSplashScreenWindow,
13809 &_swigt__p_wxSplitterEvent,
13810 &_swigt__p_wxSplitterScrolledWindow,
13811 &_swigt__p_wxSplitterWindow,
13812 &_swigt__p_wxStaticBitmap,
13813 &_swigt__p_wxStaticBox,
13814 &_swigt__p_wxStaticBoxSizer,
13815 &_swigt__p_wxStaticLine,
13816 &_swigt__p_wxStaticPicture,
13817 &_swigt__p_wxStaticText,
13818 &_swigt__p_wxStatusBar,
13819 &_swigt__p_wxStdDialogButtonSizer,
13820 &_swigt__p_wxSysColourChangedEvent,
13821 &_swigt__p_wxTGAHandler,
13822 &_swigt__p_wxTIFFHandler,
13823 &_swigt__p_wxTaskBarIconEvent,
13824 &_swigt__p_wxTextCtrl,
13825 &_swigt__p_wxTextEntryDialog,
13826 &_swigt__p_wxTextUrlEvent,
13827 &_swigt__p_wxThinSplitterWindow,
13828 &_swigt__p_wxTipWindow,
13829 &_swigt__p_wxToggleButton,
13830 &_swigt__p_wxToolBar,
13831 &_swigt__p_wxToolBarBase,
13832 &_swigt__p_wxToolBarToolBase,
13833 &_swigt__p_wxToolbook,
13834 &_swigt__p_wxToolbookEvent,
13835 &_swigt__p_wxTopLevelWindow,
13836 &_swigt__p_wxTreeEvent,
13837 &_swigt__p_wxTreeItemId,
13838 &_swigt__p_wxTreeListColumnInfo,
13839 &_swigt__p_wxTreebook,
13840 &_swigt__p_wxTreebookEvent,
13841 &_swigt__p_wxUpdateUIEvent,
13842 &_swigt__p_wxValidator,
13843 &_swigt__p_wxWindow,
13844 &_swigt__p_wxWindowCreateEvent,
13845 &_swigt__p_wxWindowDestroyEvent,
13846 &_swigt__p_wxXPMHandler,
13847 };
13848
13849 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13850 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13851 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13852 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13853 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13854 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13855 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13856 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13857 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13858 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13859 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13860 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13861 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13862 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13863 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13864 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13865 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13866 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13867 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13868 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13869 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13870 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13871 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13872 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13873 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13874 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13875 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13876 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13877 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13878 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13879 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13880 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
13881 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13882 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13883 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13884 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13885 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13886 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13887 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13888 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
13889 static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
13890 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13891 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13892 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13893 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13894 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13895 static swig_cast_info _swigc__p_wxSearchCtrl[] = {{&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
13896 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13897 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13898 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13899 static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13900 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13901 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13902 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13903 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13904 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13905 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13906 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13907 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13908 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13909 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13910 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13911 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13912 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13913 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13914 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13915 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13916 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13917 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13918 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13919 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13920 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13921 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13922 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13923 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13924 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13925 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13926 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13927 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13928 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13929 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13930 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13931 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13932 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13933 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13934 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13935 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13936 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13937 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13938 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13939 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13940 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13941 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13942 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13943 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13944 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13945 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13946 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13947 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13948 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13949 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13950 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13951 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13952 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13953 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13954 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13955 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13956 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13957 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13958 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13959 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13960 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13961 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13962 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13963 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13964 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13965 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13966 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13967 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13968 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13969 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13970 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13971 static swig_cast_info _swigc__p_wxEventBlocker[] = {{&_swigt__p_wxEventBlocker, 0, 0, 0},{0, 0, 0, 0}};
13972 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13973 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13974 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13975 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13976 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13977 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13978 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13979 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13980 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13981 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13982 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13983 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13984 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13985 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13986 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13987 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13988 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13989 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13990 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13991 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13992 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13993 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13994 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13995 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13996 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13997 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13998 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13999 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
14000 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
14001 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
14002 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
14003 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
14004 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14005 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
14006 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
14007 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
14008 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
14009 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
14010 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
14011 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
14012 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
14013 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
14014 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
14015 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
14016 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
14017 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
14018 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
14019 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
14020 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
14021 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
14022 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
14023 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
14024 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
14025 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
14026 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
14027 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
14028 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
14029 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
14030 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14031 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14032 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
14033 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
14034 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
14035 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
14036 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
14037 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
14038 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
14039 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
14040 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14041 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14042 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
14043 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14044 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14045 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
14046 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
14047 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
14048 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14049 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14050 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
14051 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
14052 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
14053 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
14054 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
14055 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
14056 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
14057 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
14058 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
14059 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
14060 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
14061 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14062 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14063 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
14064 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
14065 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
14066 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
14067 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEventBlocker, _p_wxEventBlockerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
14068 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
14069 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
14070 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
14071 static swig_cast_info _swigc__p_wxPyTreeCtrl[] = { {&_swigt__p_wxPyTreeCtrl, 0, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl, 0, 0},{0, 0, 0, 0}};
14072 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
14073 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
14074 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
14075 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
14076 static swig_cast_info _swigc__p_wxScrolledWindow[] = { {&_swigt__p_wxScrolledWindow, 0, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxScrolledWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxScrolledWindow, 0, 0},{0, 0, 0, 0}};
14077 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14078 static swig_cast_info _swigc__p_wxSplitterWindow[] = { {&_swigt__p_wxSplitterWindow, 0, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxSplitterWindow, 0, 0},{0, 0, 0, 0}};
14079 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14080 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14081 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14082 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14083 static swig_cast_info _swigc__p_wxValidator[] = { {&_swigt__p_wxValidator, 0, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxValidator, 0, 0},{0, 0, 0, 0}};
14084 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSearchCtrl, _p_wxSearchCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
14085
14086 static swig_cast_info *swig_cast_initial[] = {
14087 _swigc__p_char,
14088 _swigc__p_float,
14089 _swigc__p_form_ops_t,
14090 _swigc__p_int,
14091 _swigc__p_unsigned_char,
14092 _swigc__p_unsigned_int,
14093 _swigc__p_unsigned_long,
14094 _swigc__p_wxANIHandler,
14095 _swigc__p_wxAcceleratorTable,
14096 _swigc__p_wxActivateEvent,
14097 _swigc__p_wxArrayString,
14098 _swigc__p_wxBMPHandler,
14099 _swigc__p_wxBitmap,
14100 _swigc__p_wxBitmapButton,
14101 _swigc__p_wxBookCtrlBase,
14102 _swigc__p_wxBookCtrlBaseEvent,
14103 _swigc__p_wxBoxSizer,
14104 _swigc__p_wxButton,
14105 _swigc__p_wxCURHandler,
14106 _swigc__p_wxCalculateLayoutEvent,
14107 _swigc__p_wxCheckBox,
14108 _swigc__p_wxCheckListBox,
14109 _swigc__p_wxChildFocusEvent,
14110 _swigc__p_wxChoice,
14111 _swigc__p_wxChoicebook,
14112 _swigc__p_wxChoicebookEvent,
14113 _swigc__p_wxClipboardTextEvent,
14114 _swigc__p_wxCloseEvent,
14115 _swigc__p_wxCollapsiblePane,
14116 _swigc__p_wxCollapsiblePaneEvent,
14117 _swigc__p_wxColour,
14118 _swigc__p_wxColourData,
14119 _swigc__p_wxColourDialog,
14120 _swigc__p_wxColourPickerCtrl,
14121 _swigc__p_wxColourPickerEvent,
14122 _swigc__p_wxComboBox,
14123 _swigc__p_wxCommandEvent,
14124 _swigc__p_wxContextHelp,
14125 _swigc__p_wxContextHelpButton,
14126 _swigc__p_wxContextMenuEvent,
14127 _swigc__p_wxControl,
14128 _swigc__p_wxControlWithItems,
14129 _swigc__p_wxDateEvent,
14130 _swigc__p_wxDatePickerCtrl,
14131 _swigc__p_wxDialog,
14132 _swigc__p_wxDirDialog,
14133 _swigc__p_wxDirFilterListCtrl,
14134 _swigc__p_wxDirPickerCtrl,
14135 _swigc__p_wxDisplayChangedEvent,
14136 _swigc__p_wxDropFilesEvent,
14137 _swigc__p_wxDuplexMode,
14138 _swigc__p_wxDynamicSashSplitEvent,
14139 _swigc__p_wxDynamicSashUnifyEvent,
14140 _swigc__p_wxDynamicSashWindow,
14141 _swigc__p_wxEditableListBox,
14142 _swigc__p_wxEraseEvent,
14143 _swigc__p_wxEvent,
14144 _swigc__p_wxEventBlocker,
14145 _swigc__p_wxEvtHandler,
14146 _swigc__p_wxFSFile,
14147 _swigc__p_wxFileDialog,
14148 _swigc__p_wxFileDirPickerEvent,
14149 _swigc__p_wxFilePickerCtrl,
14150 _swigc__p_wxFileSystem,
14151 _swigc__p_wxFindDialogEvent,
14152 _swigc__p_wxFindReplaceData,
14153 _swigc__p_wxFindReplaceDialog,
14154 _swigc__p_wxFlexGridSizer,
14155 _swigc__p_wxFocusEvent,
14156 _swigc__p_wxFont,
14157 _swigc__p_wxFontData,
14158 _swigc__p_wxFontDialog,
14159 _swigc__p_wxFontPickerCtrl,
14160 _swigc__p_wxFontPickerEvent,
14161 _swigc__p_wxFrame,
14162 _swigc__p_wxGBSizerItem,
14163 _swigc__p_wxGIFHandler,
14164 _swigc__p_wxGauge,
14165 _swigc__p_wxGenericDirCtrl,
14166 _swigc__p_wxGenericDragImage,
14167 _swigc__p_wxGridBagSizer,
14168 _swigc__p_wxGridSizer,
14169 _swigc__p_wxHelpEvent,
14170 _swigc__p_wxHyperlinkCtrl,
14171 _swigc__p_wxHyperlinkEvent,
14172 _swigc__p_wxICOHandler,
14173 _swigc__p_wxIcon,
14174 _swigc__p_wxIconizeEvent,
14175 _swigc__p_wxIdleEvent,
14176 _swigc__p_wxImage,
14177 _swigc__p_wxImageHandler,
14178 _swigc__p_wxImageList,
14179 _swigc__p_wxIndividualLayoutConstraint,
14180 _swigc__p_wxInitDialogEvent,
14181 _swigc__p_wxJPEGHandler,
14182 _swigc__p_wxKeyEvent,
14183 _swigc__p_wxLEDNumberCtrl,
14184 _swigc__p_wxLayoutAlgorithm,
14185 _swigc__p_wxLayoutConstraints,
14186 _swigc__p_wxListBox,
14187 _swigc__p_wxListEvent,
14188 _swigc__p_wxListItem,
14189 _swigc__p_wxListView,
14190 _swigc__p_wxListbook,
14191 _swigc__p_wxListbookEvent,
14192 _swigc__p_wxMDIChildFrame,
14193 _swigc__p_wxMDIClientWindow,
14194 _swigc__p_wxMDIParentFrame,
14195 _swigc__p_wxMaximizeEvent,
14196 _swigc__p_wxMenu,
14197 _swigc__p_wxMenuBar,
14198 _swigc__p_wxMenuEvent,
14199 _swigc__p_wxMenuItem,
14200 _swigc__p_wxMessageDialog,
14201 _swigc__p_wxMiniFrame,
14202 _swigc__p_wxMouseCaptureChangedEvent,
14203 _swigc__p_wxMouseCaptureLostEvent,
14204 _swigc__p_wxMouseEvent,
14205 _swigc__p_wxMoveEvent,
14206 _swigc__p_wxMultiChoiceDialog,
14207 _swigc__p_wxNavigationKeyEvent,
14208 _swigc__p_wxNcPaintEvent,
14209 _swigc__p_wxNotebook,
14210 _swigc__p_wxNotebookEvent,
14211 _swigc__p_wxNotifyEvent,
14212 _swigc__p_wxNumberEntryDialog,
14213 _swigc__p_wxObject,
14214 _swigc__p_wxPCXHandler,
14215 _swigc__p_wxPNGHandler,
14216 _swigc__p_wxPNMHandler,
14217 _swigc__p_wxPageSetupDialog,
14218 _swigc__p_wxPageSetupDialogData,
14219 _swigc__p_wxPaintEvent,
14220 _swigc__p_wxPaletteChangedEvent,
14221 _swigc__p_wxPanel,
14222 _swigc__p_wxPaperSize,
14223 _swigc__p_wxPasswordEntryDialog,
14224 _swigc__p_wxPickerBase,
14225 _swigc__p_wxPopupWindow,
14226 _swigc__p_wxPreviewCanvas,
14227 _swigc__p_wxPreviewControlBar,
14228 _swigc__p_wxPreviewFrame,
14229 _swigc__p_wxPrintData,
14230 _swigc__p_wxPrintDialog,
14231 _swigc__p_wxPrintDialogData,
14232 _swigc__p_wxPrintPreview,
14233 _swigc__p_wxPrinter,
14234 _swigc__p_wxProgressDialog,
14235 _swigc__p_wxPyApp,
14236 _swigc__p_wxPyCommandEvent,
14237 _swigc__p_wxPyControl,
14238 _swigc__p_wxPyEvent,
14239 _swigc__p_wxPyHtmlListBox,
14240 _swigc__p_wxPyImageHandler,
14241 _swigc__p_wxPyListCtrl,
14242 _swigc__p_wxPyPanel,
14243 _swigc__p_wxPyPopupTransientWindow,
14244 _swigc__p_wxPyPreviewControlBar,
14245 _swigc__p_wxPyPreviewFrame,
14246 _swigc__p_wxPyPrintPreview,
14247 _swigc__p_wxPyPrintout,
14248 _swigc__p_wxPyScrolledWindow,
14249 _swigc__p_wxPySizer,
14250 _swigc__p_wxPyTaskBarIcon,
14251 _swigc__p_wxPyTreeCompanionWindow,
14252 _swigc__p_wxPyTreeCtrl,
14253 _swigc__p_wxPyTreeItemData,
14254 _swigc__p_wxPyTreeListCtrl,
14255 _swigc__p_wxPyVListBox,
14256 _swigc__p_wxPyVScrolledWindow,
14257 _swigc__p_wxPyValidator,
14258 _swigc__p_wxPyWindow,
14259 _swigc__p_wxQueryLayoutInfoEvent,
14260 _swigc__p_wxQueryNewPaletteEvent,
14261 _swigc__p_wxRadioBox,
14262 _swigc__p_wxRadioButton,
14263 _swigc__p_wxRemotelyScrolledTreeCtrl,
14264 _swigc__p_wxSashEvent,
14265 _swigc__p_wxSashLayoutWindow,
14266 _swigc__p_wxSashWindow,
14267 _swigc__p_wxScrollBar,
14268 _swigc__p_wxScrollEvent,
14269 _swigc__p_wxScrollWinEvent,
14270 _swigc__p_wxScrolledWindow,
14271 _swigc__p_wxSearchCtrl,
14272 _swigc__p_wxSetCursorEvent,
14273 _swigc__p_wxShowEvent,
14274 _swigc__p_wxSimpleHtmlListBox,
14275 _swigc__p_wxSingleChoiceDialog,
14276 _swigc__p_wxSizeEvent,
14277 _swigc__p_wxSizer,
14278 _swigc__p_wxSizerItem,
14279 _swigc__p_wxSlider,
14280 _swigc__p_wxSpinButton,
14281 _swigc__p_wxSpinCtrl,
14282 _swigc__p_wxSpinEvent,
14283 _swigc__p_wxSplashScreen,
14284 _swigc__p_wxSplashScreenWindow,
14285 _swigc__p_wxSplitterEvent,
14286 _swigc__p_wxSplitterScrolledWindow,
14287 _swigc__p_wxSplitterWindow,
14288 _swigc__p_wxStaticBitmap,
14289 _swigc__p_wxStaticBox,
14290 _swigc__p_wxStaticBoxSizer,
14291 _swigc__p_wxStaticLine,
14292 _swigc__p_wxStaticPicture,
14293 _swigc__p_wxStaticText,
14294 _swigc__p_wxStatusBar,
14295 _swigc__p_wxStdDialogButtonSizer,
14296 _swigc__p_wxSysColourChangedEvent,
14297 _swigc__p_wxTGAHandler,
14298 _swigc__p_wxTIFFHandler,
14299 _swigc__p_wxTaskBarIconEvent,
14300 _swigc__p_wxTextCtrl,
14301 _swigc__p_wxTextEntryDialog,
14302 _swigc__p_wxTextUrlEvent,
14303 _swigc__p_wxThinSplitterWindow,
14304 _swigc__p_wxTipWindow,
14305 _swigc__p_wxToggleButton,
14306 _swigc__p_wxToolBar,
14307 _swigc__p_wxToolBarBase,
14308 _swigc__p_wxToolBarToolBase,
14309 _swigc__p_wxToolbook,
14310 _swigc__p_wxToolbookEvent,
14311 _swigc__p_wxTopLevelWindow,
14312 _swigc__p_wxTreeEvent,
14313 _swigc__p_wxTreeItemId,
14314 _swigc__p_wxTreeListColumnInfo,
14315 _swigc__p_wxTreebook,
14316 _swigc__p_wxTreebookEvent,
14317 _swigc__p_wxUpdateUIEvent,
14318 _swigc__p_wxValidator,
14319 _swigc__p_wxWindow,
14320 _swigc__p_wxWindowCreateEvent,
14321 _swigc__p_wxWindowDestroyEvent,
14322 _swigc__p_wxXPMHandler,
14323 };
14324
14325
14326 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14327
14328 static swig_const_info swig_const_table[] = {
14329 {0, 0, 0, 0.0, 0, 0}};
14330
14331 #ifdef __cplusplus
14332 }
14333 #endif
14334 /* -----------------------------------------------------------------------------
14335 * Type initialization:
14336 * This problem is tough by the requirement that no dynamic
14337 * memory is used. Also, since swig_type_info structures store pointers to
14338 * swig_cast_info structures and swig_cast_info structures store pointers back
14339 * to swig_type_info structures, we need some lookup code at initialization.
14340 * The idea is that swig generates all the structures that are needed.
14341 * The runtime then collects these partially filled structures.
14342 * The SWIG_InitializeModule function takes these initial arrays out of
14343 * swig_module, and does all the lookup, filling in the swig_module.types
14344 * array with the correct data and linking the correct swig_cast_info
14345 * structures together.
14346 *
14347 * The generated swig_type_info structures are assigned staticly to an initial
14348 * array. We just loop though that array, and handle each type individually.
14349 * First we lookup if this type has been already loaded, and if so, use the
14350 * loaded structure instead of the generated one. Then we have to fill in the
14351 * cast linked list. The cast data is initially stored in something like a
14352 * two-dimensional array. Each row corresponds to a type (there are the same
14353 * number of rows as there are in the swig_type_initial array). Each entry in
14354 * a column is one of the swig_cast_info structures for that type.
14355 * The cast_initial array is actually an array of arrays, because each row has
14356 * a variable number of columns. So to actually build the cast linked list,
14357 * we find the array of casts associated with the type, and loop through it
14358 * adding the casts to the list. The one last trick we need to do is making
14359 * sure the type pointer in the swig_cast_info struct is correct.
14360 *
14361 * First off, we lookup the cast->type name to see if it is already loaded.
14362 * There are three cases to handle:
14363 * 1) If the cast->type has already been loaded AND the type we are adding
14364 * casting info to has not been loaded (it is in this module), THEN we
14365 * replace the cast->type pointer with the type pointer that has already
14366 * been loaded.
14367 * 2) If BOTH types (the one we are adding casting info to, and the
14368 * cast->type) are loaded, THEN the cast info has already been loaded by
14369 * the previous module so we just ignore it.
14370 * 3) Finally, if cast->type has not already been loaded, then we add that
14371 * swig_cast_info to the linked list (because the cast->type) pointer will
14372 * be correct.
14373 * ----------------------------------------------------------------------------- */
14374
14375 #ifdef __cplusplus
14376 extern "C" {
14377 #if 0
14378 } /* c-mode */
14379 #endif
14380 #endif
14381
14382 #if 0
14383 #define SWIGRUNTIME_DEBUG
14384 #endif
14385
14386 SWIGRUNTIME void
14387 SWIG_InitializeModule(void *clientdata) {
14388 size_t i;
14389 swig_module_info *module_head;
14390 static int init_run = 0;
14391
14392 clientdata = clientdata;
14393
14394 if (init_run) return;
14395 init_run = 1;
14396
14397 /* Initialize the swig_module */
14398 swig_module.type_initial = swig_type_initial;
14399 swig_module.cast_initial = swig_cast_initial;
14400
14401 /* Try and load any already created modules */
14402 module_head = SWIG_GetModule(clientdata);
14403 if (module_head) {
14404 swig_module.next = module_head->next;
14405 module_head->next = &swig_module;
14406 } else {
14407 /* This is the first module loaded */
14408 swig_module.next = &swig_module;
14409 SWIG_SetModule(clientdata, &swig_module);
14410 }
14411
14412 /* Now work on filling in swig_module.types */
14413 #ifdef SWIGRUNTIME_DEBUG
14414 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
14415 #endif
14416 for (i = 0; i < swig_module.size; ++i) {
14417 swig_type_info *type = 0;
14418 swig_type_info *ret;
14419 swig_cast_info *cast;
14420
14421 #ifdef SWIGRUNTIME_DEBUG
14422 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14423 #endif
14424
14425 /* if there is another module already loaded */
14426 if (swig_module.next != &swig_module) {
14427 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14428 }
14429 if (type) {
14430 /* Overwrite clientdata field */
14431 #ifdef SWIGRUNTIME_DEBUG
14432 printf("SWIG_InitializeModule: found type %s\n", type->name);
14433 #endif
14434 if (swig_module.type_initial[i]->clientdata) {
14435 type->clientdata = swig_module.type_initial[i]->clientdata;
14436 #ifdef SWIGRUNTIME_DEBUG
14437 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14438 #endif
14439 }
14440 } else {
14441 type = swig_module.type_initial[i];
14442 }
14443
14444 /* Insert casting types */
14445 cast = swig_module.cast_initial[i];
14446 while (cast->type) {
14447 /* Don't need to add information already in the list */
14448 ret = 0;
14449 #ifdef SWIGRUNTIME_DEBUG
14450 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14451 #endif
14452 if (swig_module.next != &swig_module) {
14453 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14454 #ifdef SWIGRUNTIME_DEBUG
14455 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14456 #endif
14457 }
14458 if (ret) {
14459 if (type == swig_module.type_initial[i]) {
14460 #ifdef SWIGRUNTIME_DEBUG
14461 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14462 #endif
14463 cast->type = ret;
14464 ret = 0;
14465 } else {
14466 /* Check for casting already in the list */
14467 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14468 #ifdef SWIGRUNTIME_DEBUG
14469 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14470 #endif
14471 if (!ocast) ret = 0;
14472 }
14473 }
14474
14475 if (!ret) {
14476 #ifdef SWIGRUNTIME_DEBUG
14477 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14478 #endif
14479 if (type->cast) {
14480 type->cast->prev = cast;
14481 cast->next = type->cast;
14482 }
14483 type->cast = cast;
14484 }
14485 cast++;
14486 }
14487 /* Set entry in modules->types array equal to the type */
14488 swig_module.types[i] = type;
14489 }
14490 swig_module.types[i] = 0;
14491
14492 #ifdef SWIGRUNTIME_DEBUG
14493 printf("**** SWIG_InitializeModule: Cast List ******\n");
14494 for (i = 0; i < swig_module.size; ++i) {
14495 int j = 0;
14496 swig_cast_info *cast = swig_module.cast_initial[i];
14497 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14498 while (cast->type) {
14499 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14500 cast++;
14501 ++j;
14502 }
14503 printf("---- Total casts: %d\n",j);
14504 }
14505 printf("**** SWIG_InitializeModule: Cast List ******\n");
14506 #endif
14507 }
14508
14509 /* This function will propagate the clientdata field of type to
14510 * any new swig_type_info structures that have been added into the list
14511 * of equivalent types. It is like calling
14512 * SWIG_TypeClientData(type, clientdata) a second time.
14513 */
14514 SWIGRUNTIME void
14515 SWIG_PropagateClientData(void) {
14516 size_t i;
14517 swig_cast_info *equiv;
14518 static int init_run = 0;
14519
14520 if (init_run) return;
14521 init_run = 1;
14522
14523 for (i = 0; i < swig_module.size; i++) {
14524 if (swig_module.types[i]->clientdata) {
14525 equiv = swig_module.types[i]->cast;
14526 while (equiv) {
14527 if (!equiv->converter) {
14528 if (equiv->type && !equiv->type->clientdata)
14529 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14530 }
14531 equiv = equiv->next;
14532 }
14533 }
14534 }
14535 }
14536
14537 #ifdef __cplusplus
14538 #if 0
14539 {
14540 /* c-mode */
14541 #endif
14542 }
14543 #endif
14544
14545
14546
14547 #ifdef __cplusplus
14548 extern "C" {
14549 #endif
14550
14551 /* Python-specific SWIG API */
14552 #define SWIG_newvarlink() SWIG_Python_newvarlink()
14553 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14554 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14555
14556 /* -----------------------------------------------------------------------------
14557 * global variable support code.
14558 * ----------------------------------------------------------------------------- */
14559
14560 typedef struct swig_globalvar {
14561 char *name; /* Name of global variable */
14562 PyObject *(*get_attr)(void); /* Return the current value */
14563 int (*set_attr)(PyObject *); /* Set the value */
14564 struct swig_globalvar *next;
14565 } swig_globalvar;
14566
14567 typedef struct swig_varlinkobject {
14568 PyObject_HEAD
14569 swig_globalvar *vars;
14570 } swig_varlinkobject;
14571
14572 SWIGINTERN PyObject *
14573 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14574 return PyString_FromString("<Swig global variables>");
14575 }
14576
14577 SWIGINTERN PyObject *
14578 swig_varlink_str(swig_varlinkobject *v) {
14579 PyObject *str = PyString_FromString("(");
14580 swig_globalvar *var;
14581 for (var = v->vars; var; var=var->next) {
14582 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14583 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14584 }
14585 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14586 return str;
14587 }
14588
14589 SWIGINTERN int
14590 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14591 PyObject *str = swig_varlink_str(v);
14592 fprintf(fp,"Swig global variables ");
14593 fprintf(fp,"%s\n", PyString_AsString(str));
14594 Py_DECREF(str);
14595 return 0;
14596 }
14597
14598 SWIGINTERN void
14599 swig_varlink_dealloc(swig_varlinkobject *v) {
14600 swig_globalvar *var = v->vars;
14601 while (var) {
14602 swig_globalvar *n = var->next;
14603 free(var->name);
14604 free(var);
14605 var = n;
14606 }
14607 }
14608
14609 SWIGINTERN PyObject *
14610 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14611 PyObject *res = NULL;
14612 swig_globalvar *var = v->vars;
14613 while (var) {
14614 if (strcmp(var->name,n) == 0) {
14615 res = (*var->get_attr)();
14616 break;
14617 }
14618 var = var->next;
14619 }
14620 if (res == NULL && !PyErr_Occurred()) {
14621 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14622 }
14623 return res;
14624 }
14625
14626 SWIGINTERN int
14627 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14628 int res = 1;
14629 swig_globalvar *var = v->vars;
14630 while (var) {
14631 if (strcmp(var->name,n) == 0) {
14632 res = (*var->set_attr)(p);
14633 break;
14634 }
14635 var = var->next;
14636 }
14637 if (res == 1 && !PyErr_Occurred()) {
14638 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14639 }
14640 return res;
14641 }
14642
14643 SWIGINTERN PyTypeObject*
14644 swig_varlink_type(void) {
14645 static char varlink__doc__[] = "Swig var link object";
14646 static PyTypeObject varlink_type;
14647 static int type_init = 0;
14648 if (!type_init) {
14649 const PyTypeObject tmp
14650 = {
14651 PyObject_HEAD_INIT(NULL)
14652 0, /* Number of items in variable part (ob_size) */
14653 (char *)"swigvarlink", /* Type name (tp_name) */
14654 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14655 0, /* Itemsize (tp_itemsize) */
14656 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14657 (printfunc) swig_varlink_print, /* Print (tp_print) */
14658 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14659 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14660 0, /* tp_compare */
14661 (reprfunc) swig_varlink_repr, /* tp_repr */
14662 0, /* tp_as_number */
14663 0, /* tp_as_sequence */
14664 0, /* tp_as_mapping */
14665 0, /* tp_hash */
14666 0, /* tp_call */
14667 (reprfunc)swig_varlink_str, /* tp_str */
14668 0, /* tp_getattro */
14669 0, /* tp_setattro */
14670 0, /* tp_as_buffer */
14671 0, /* tp_flags */
14672 varlink__doc__, /* tp_doc */
14673 0, /* tp_traverse */
14674 0, /* tp_clear */
14675 0, /* tp_richcompare */
14676 0, /* tp_weaklistoffset */
14677 #if PY_VERSION_HEX >= 0x02020000
14678 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14679 #endif
14680 #if PY_VERSION_HEX >= 0x02030000
14681 0, /* tp_del */
14682 #endif
14683 #ifdef COUNT_ALLOCS
14684 0,0,0,0 /* tp_alloc -> tp_next */
14685 #endif
14686 };
14687 varlink_type = tmp;
14688 varlink_type.ob_type = &PyType_Type;
14689 type_init = 1;
14690 }
14691 return &varlink_type;
14692 }
14693
14694 /* Create a variable linking object for use later */
14695 SWIGINTERN PyObject *
14696 SWIG_Python_newvarlink(void) {
14697 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14698 if (result) {
14699 result->vars = 0;
14700 }
14701 return ((PyObject*) result);
14702 }
14703
14704 SWIGINTERN void
14705 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14706 swig_varlinkobject *v = (swig_varlinkobject *) p;
14707 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14708 if (gv) {
14709 size_t size = strlen(name)+1;
14710 gv->name = (char *)malloc(size);
14711 if (gv->name) {
14712 strncpy(gv->name,name,size);
14713 gv->get_attr = get_attr;
14714 gv->set_attr = set_attr;
14715 gv->next = v->vars;
14716 }
14717 }
14718 v->vars = gv;
14719 }
14720
14721 SWIGINTERN PyObject *
14722 SWIG_globals() {
14723 static PyObject *_SWIG_globals = 0;
14724 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14725 return _SWIG_globals;
14726 }
14727
14728 /* -----------------------------------------------------------------------------
14729 * constants/methods manipulation
14730 * ----------------------------------------------------------------------------- */
14731
14732 /* Install Constants */
14733 SWIGINTERN void
14734 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14735 PyObject *obj = 0;
14736 size_t i;
14737 for (i = 0; constants[i].type; ++i) {
14738 switch(constants[i].type) {
14739 case SWIG_PY_POINTER:
14740 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14741 break;
14742 case SWIG_PY_BINARY:
14743 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14744 break;
14745 default:
14746 obj = 0;
14747 break;
14748 }
14749 if (obj) {
14750 PyDict_SetItemString(d, constants[i].name, obj);
14751 Py_DECREF(obj);
14752 }
14753 }
14754 }
14755
14756 /* -----------------------------------------------------------------------------*/
14757 /* Fix SwigMethods to carry the callback ptrs when needed */
14758 /* -----------------------------------------------------------------------------*/
14759
14760 SWIGINTERN void
14761 SWIG_Python_FixMethods(PyMethodDef *methods,
14762 swig_const_info *const_table,
14763 swig_type_info **types,
14764 swig_type_info **types_initial) {
14765 size_t i;
14766 for (i = 0; methods[i].ml_name; ++i) {
14767 const char *c = methods[i].ml_doc;
14768 if (c && (c = strstr(c, "swig_ptr: "))) {
14769 int j;
14770 swig_const_info *ci = 0;
14771 const char *name = c + 10;
14772 for (j = 0; const_table[j].type; ++j) {
14773 if (strncmp(const_table[j].name, name,
14774 strlen(const_table[j].name)) == 0) {
14775 ci = &(const_table[j]);
14776 break;
14777 }
14778 }
14779 if (ci) {
14780 size_t shift = (ci->ptype) - types;
14781 swig_type_info *ty = types_initial[shift];
14782 size_t ldoc = (c - methods[i].ml_doc);
14783 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14784 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14785 if (ndoc) {
14786 char *buff = ndoc;
14787 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14788 if (ptr) {
14789 strncpy(buff, methods[i].ml_doc, ldoc);
14790 buff += ldoc;
14791 strncpy(buff, "swig_ptr: ", 10);
14792 buff += 10;
14793 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14794 methods[i].ml_doc = ndoc;
14795 }
14796 }
14797 }
14798 }
14799 }
14800 }
14801
14802 #ifdef __cplusplus
14803 }
14804 #endif
14805
14806 /* -----------------------------------------------------------------------------*
14807 * Partial Init method
14808 * -----------------------------------------------------------------------------*/
14809
14810 #ifdef __cplusplus
14811 extern "C"
14812 #endif
14813 SWIGEXPORT void SWIG_init(void) {
14814 PyObject *m, *d;
14815
14816 /* Fix SwigMethods to carry the callback ptrs when needed */
14817 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14818
14819 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14820 d = PyModule_GetDict(m);
14821
14822 SWIG_InitializeModule(0);
14823 SWIG_InstallConstants(d,swig_const_table);
14824
14825
14826 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14827 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14828 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14829 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14830 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14831 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14832 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14833 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14834 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14835 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14836 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14837 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14838 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14839 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14840 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14841 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14842 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14843 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14844 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14845 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14846 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14847 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14848 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14849 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14850 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
14851 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14852 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14853 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14854
14855 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14856
14857 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14858 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14859 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14860 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14861
14862 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14863
14864 }
14865