]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / 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_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourData swig_types[29]
2496 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508 #define SWIGTYPE_p_wxDialog swig_types[42]
2509 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2510 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvent swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2524 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2527 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532 #define SWIGTYPE_p_wxFont swig_types[66]
2533 #define SWIGTYPE_p_wxFontData swig_types[67]
2534 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2535 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537 #define SWIGTYPE_p_wxFrame swig_types[71]
2538 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540 #define SWIGTYPE_p_wxGauge swig_types[74]
2541 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2545 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2549 #define SWIGTYPE_p_wxIcon swig_types[83]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552 #define SWIGTYPE_p_wxImage swig_types[86]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2554 #define SWIGTYPE_p_wxImageList swig_types[88]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562 #define SWIGTYPE_p_wxListBox swig_types[96]
2563 #define SWIGTYPE_p_wxListEvent swig_types[97]
2564 #define SWIGTYPE_p_wxListItem swig_types[98]
2565 #define SWIGTYPE_p_wxListView swig_types[99]
2566 #define SWIGTYPE_p_wxListbook swig_types[100]
2567 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572 #define SWIGTYPE_p_wxMenu swig_types[106]
2573 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2574 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2576 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMoveEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115]
2582 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116]
2583 #define SWIGTYPE_p_wxNcPaintEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNotebook swig_types[118]
2585 #define SWIGTYPE_p_wxNotebookEvent swig_types[119]
2586 #define SWIGTYPE_p_wxNotifyEvent swig_types[120]
2587 #define SWIGTYPE_p_wxObject swig_types[121]
2588 #define SWIGTYPE_p_wxPCXHandler swig_types[122]
2589 #define SWIGTYPE_p_wxPNGHandler swig_types[123]
2590 #define SWIGTYPE_p_wxPNMHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPageSetupDialog swig_types[125]
2592 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[126]
2593 #define SWIGTYPE_p_wxPaintEvent swig_types[127]
2594 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[128]
2595 #define SWIGTYPE_p_wxPanel swig_types[129]
2596 #define SWIGTYPE_p_wxPaperSize swig_types[130]
2597 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[131]
2598 #define SWIGTYPE_p_wxPickerBase swig_types[132]
2599 #define SWIGTYPE_p_wxPopupWindow swig_types[133]
2600 #define SWIGTYPE_p_wxPreviewCanvas swig_types[134]
2601 #define SWIGTYPE_p_wxPreviewControlBar swig_types[135]
2602 #define SWIGTYPE_p_wxPreviewFrame swig_types[136]
2603 #define SWIGTYPE_p_wxPrintData swig_types[137]
2604 #define SWIGTYPE_p_wxPrintDialog swig_types[138]
2605 #define SWIGTYPE_p_wxPrintDialogData swig_types[139]
2606 #define SWIGTYPE_p_wxPrintPreview swig_types[140]
2607 #define SWIGTYPE_p_wxPrinter swig_types[141]
2608 #define SWIGTYPE_p_wxProgressDialog swig_types[142]
2609 #define SWIGTYPE_p_wxPyApp swig_types[143]
2610 #define SWIGTYPE_p_wxPyCommandEvent swig_types[144]
2611 #define SWIGTYPE_p_wxPyControl swig_types[145]
2612 #define SWIGTYPE_p_wxPyEvent swig_types[146]
2613 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[147]
2614 #define SWIGTYPE_p_wxPyImageHandler swig_types[148]
2615 #define SWIGTYPE_p_wxPyListCtrl swig_types[149]
2616 #define SWIGTYPE_p_wxPyPanel swig_types[150]
2617 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
2618 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
2619 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
2620 #define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
2621 #define SWIGTYPE_p_wxPyPrintout swig_types[155]
2622 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
2623 #define SWIGTYPE_p_wxPySizer swig_types[157]
2624 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
2625 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[159]
2626 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[160]
2627 #define SWIGTYPE_p_wxPyTreeItemData swig_types[161]
2628 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxPyVListBox swig_types[163]
2630 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[164]
2631 #define SWIGTYPE_p_wxPyValidator swig_types[165]
2632 #define SWIGTYPE_p_wxPyWindow swig_types[166]
2633 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[167]
2634 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[168]
2635 #define SWIGTYPE_p_wxRadioBox swig_types[169]
2636 #define SWIGTYPE_p_wxRadioButton swig_types[170]
2637 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[171]
2638 #define SWIGTYPE_p_wxSashEvent swig_types[172]
2639 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[173]
2640 #define SWIGTYPE_p_wxSashWindow swig_types[174]
2641 #define SWIGTYPE_p_wxScrollBar swig_types[175]
2642 #define SWIGTYPE_p_wxScrollEvent swig_types[176]
2643 #define SWIGTYPE_p_wxScrollWinEvent swig_types[177]
2644 #define SWIGTYPE_p_wxScrolledWindow swig_types[178]
2645 #define SWIGTYPE_p_wxSetCursorEvent swig_types[179]
2646 #define SWIGTYPE_p_wxShowEvent swig_types[180]
2647 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[181]
2648 #define SWIGTYPE_p_wxSizeEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSizer swig_types[183]
2650 #define SWIGTYPE_p_wxSizerItem swig_types[184]
2651 #define SWIGTYPE_p_wxSlider swig_types[185]
2652 #define SWIGTYPE_p_wxSpinButton swig_types[186]
2653 #define SWIGTYPE_p_wxSpinCtrl swig_types[187]
2654 #define SWIGTYPE_p_wxSpinEvent swig_types[188]
2655 #define SWIGTYPE_p_wxSplashScreen swig_types[189]
2656 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[190]
2657 #define SWIGTYPE_p_wxSplitterEvent swig_types[191]
2658 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[192]
2659 #define SWIGTYPE_p_wxSplitterWindow swig_types[193]
2660 #define SWIGTYPE_p_wxStaticBitmap swig_types[194]
2661 #define SWIGTYPE_p_wxStaticBox swig_types[195]
2662 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[196]
2663 #define SWIGTYPE_p_wxStaticLine swig_types[197]
2664 #define SWIGTYPE_p_wxStaticPicture swig_types[198]
2665 #define SWIGTYPE_p_wxStaticText swig_types[199]
2666 #define SWIGTYPE_p_wxStatusBar swig_types[200]
2667 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[201]
2668 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[202]
2669 #define SWIGTYPE_p_wxTIFFHandler swig_types[203]
2670 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[204]
2671 #define SWIGTYPE_p_wxTextCtrl swig_types[205]
2672 #define SWIGTYPE_p_wxTextEntryDialog swig_types[206]
2673 #define SWIGTYPE_p_wxTextUrlEvent swig_types[207]
2674 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[208]
2675 #define SWIGTYPE_p_wxTipWindow swig_types[209]
2676 #define SWIGTYPE_p_wxToggleButton swig_types[210]
2677 #define SWIGTYPE_p_wxToolBar swig_types[211]
2678 #define SWIGTYPE_p_wxToolBarBase swig_types[212]
2679 #define SWIGTYPE_p_wxToolBarToolBase swig_types[213]
2680 #define SWIGTYPE_p_wxToolbook swig_types[214]
2681 #define SWIGTYPE_p_wxToolbookEvent swig_types[215]
2682 #define SWIGTYPE_p_wxTopLevelWindow swig_types[216]
2683 #define SWIGTYPE_p_wxTreeEvent swig_types[217]
2684 #define SWIGTYPE_p_wxTreeItemId swig_types[218]
2685 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[219]
2686 #define SWIGTYPE_p_wxTreebook swig_types[220]
2687 #define SWIGTYPE_p_wxTreebookEvent swig_types[221]
2688 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[222]
2689 #define SWIGTYPE_p_wxValidator swig_types[223]
2690 #define SWIGTYPE_p_wxWindow swig_types[224]
2691 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[225]
2692 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[226]
2693 #define SWIGTYPE_p_wxXPMHandler swig_types[227]
2694 static swig_type_info *swig_types[229];
2695 static swig_module_info swig_module = {swig_types, 228, 0, 0, 0, 0};
2696 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2697 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2698
2699 /* -------- TYPES TABLE (END) -------- */
2700
2701 #if (PY_VERSION_HEX <= 0x02000000)
2702 # if !defined(SWIG_PYTHON_CLASSIC)
2703 # error "This python version requires to use swig with the '-classic' option"
2704 # endif
2705 #endif
2706 #if (PY_VERSION_HEX <= 0x02020000)
2707 # error "This python version requires to use swig with the '-nomodern' option"
2708 #endif
2709 #if (PY_VERSION_HEX <= 0x02020000)
2710 # error "This python version requires to use swig with the '-nomodernargs' option"
2711 #endif
2712 #ifndef METH_O
2713 # error "This python version requires to use swig with the '-nofastunpack' option"
2714 #endif
2715
2716 /*-----------------------------------------------
2717 @(target):= _gizmos.so
2718 ------------------------------------------------*/
2719 #define SWIG_init init_gizmos
2720
2721 #define SWIG_name "_gizmos"
2722
2723 #define SWIGVERSION 0x010329
2724
2725
2726 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2727 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2728
2729
2730 #include <stdexcept>
2731
2732
2733 namespace swig {
2734 class PyObject_ptr {
2735 protected:
2736 PyObject *_obj;
2737
2738 public:
2739 PyObject_ptr() :_obj(0)
2740 {
2741 }
2742
2743 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2744 {
2745 Py_XINCREF(_obj);
2746 }
2747
2748 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2749 {
2750 if (initial_ref) Py_XINCREF(_obj);
2751 }
2752
2753 PyObject_ptr & operator=(const PyObject_ptr& item)
2754 {
2755 Py_XINCREF(item._obj);
2756 Py_XDECREF(_obj);
2757 _obj = item._obj;
2758 return *this;
2759 }
2760
2761 ~PyObject_ptr()
2762 {
2763 Py_XDECREF(_obj);
2764 }
2765
2766 operator PyObject *() const
2767 {
2768 return _obj;
2769 }
2770
2771 PyObject *operator->() const
2772 {
2773 return _obj;
2774 }
2775 };
2776 }
2777
2778
2779 namespace swig {
2780 struct PyObject_var : PyObject_ptr {
2781 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2782
2783 PyObject_var & operator = (PyObject* obj)
2784 {
2785 Py_XDECREF(_obj);
2786 _obj = obj;
2787 return *this;
2788 }
2789 };
2790 }
2791
2792
2793 #include "wx/wxPython/wxPython.h"
2794 #include "wx/wxPython/pyclasses.h"
2795
2796 #include <wx/gizmos/dynamicsash.h>
2797 #include <wx/gizmos/editlbox.h>
2798 #include <wx/gizmos/splittree.h>
2799 #include <wx/gizmos/ledctrl.h>
2800 #include <wx/gizmos/statpict.h>
2801
2802 #include <wx/listctrl.h>
2803 #include <wx/treectrl.h>
2804 #include <wx/imaglist.h>
2805
2806 #include "wx/treelistctrl.h"
2807 #include "wx/wxPython/pytree.h"
2808
2809
2810 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2811 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2812 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2813 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2814 static const wxString wxPyEmptyString(wxEmptyString);
2815
2816 #define SWIG_From_long PyInt_FromLong
2817
2818
2819 SWIGINTERNINLINE PyObject *
2820 SWIG_From_int (int value)
2821 {
2822 return SWIG_From_long (value);
2823 }
2824
2825
2826 #include <limits.h>
2827 #ifndef LLONG_MIN
2828 # define LLONG_MIN LONG_LONG_MIN
2829 #endif
2830 #ifndef LLONG_MAX
2831 # define LLONG_MAX LONG_LONG_MAX
2832 #endif
2833 #ifndef ULLONG_MAX
2834 # define ULLONG_MAX ULONG_LONG_MAX
2835 #endif
2836
2837
2838 SWIGINTERN int
2839 SWIG_AsVal_long (PyObject* obj, long* val)
2840 {
2841 if (PyNumber_Check(obj)) {
2842 if (val) *val = PyInt_AsLong(obj);
2843 return SWIG_OK;
2844 }
2845 return SWIG_TypeError;
2846 }
2847
2848
2849 SWIGINTERN int
2850 SWIG_AsVal_int (PyObject * obj, int *val)
2851 {
2852 long v;
2853 int res = SWIG_AsVal_long (obj, &v);
2854 if (SWIG_IsOK(res)) {
2855 if ((v < INT_MIN || v > INT_MAX)) {
2856 return SWIG_OverflowError;
2857 } else {
2858 if (val) *val = static_cast< int >(v);
2859 }
2860 }
2861 return res;
2862 }
2863
2864 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2865 wxArrayString strings;
2866 self->GetStrings(strings);
2867 return wxArrayString2PyList_helper(strings);
2868 }
2869
2870 typedef wxTreeCtrl wxPyTreeCtrl;
2871
2872
2873 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2874 {
2875 public:
2876 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2877 const wxPoint& pos = wxDefaultPosition,
2878 const wxSize& size = wxDefaultSize,
2879 long style = 0)
2880 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2881
2882
2883 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2884 bool found;
2885 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2886 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2887 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2888 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2889 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2890 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2891 Py_DECREF(dcobj);
2892 Py_DECREF(idobj);
2893 Py_DECREF(recobj);
2894 }
2895 wxPyEndBlockThreads(blocked);
2896 if (! found)
2897 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2898 }
2899
2900 PYPRIVATE;
2901 };
2902
2903
2904 SWIGINTERN int
2905 SWIG_AsVal_bool (PyObject *obj, bool *val)
2906 {
2907 if (obj == Py_True) {
2908 if (val) *val = true;
2909 return SWIG_OK;
2910 } else if (obj == Py_False) {
2911 if (val) *val = false;
2912 return SWIG_OK;
2913 } else {
2914 long v = 0;
2915 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2916 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2917 return res;
2918 }
2919 }
2920
2921
2922 SWIGINTERN int
2923 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2924 {
2925 long v = 0;
2926 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2927 return SWIG_TypeError;
2928 }
2929 else if (val)
2930 *val = (unsigned long)v;
2931 return SWIG_OK;
2932 }
2933
2934
2935 SWIGINTERNINLINE int
2936 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2937 {
2938 unsigned long v;
2939 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2940 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2941 return res;
2942 }
2943
2944
2945 SWIGINTERNINLINE PyObject*
2946 SWIG_From_unsigned_SS_long (unsigned long value)
2947 {
2948 return (value > LONG_MAX) ?
2949 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2950 }
2951
2952
2953 SWIGINTERNINLINE PyObject *
2954 SWIG_From_size_t (size_t value)
2955 {
2956 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2957 }
2958
2959 // C++ version of Python aware control
2960 class wxPyTreeListCtrl : public wxTreeListCtrl {
2961 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2962 public:
2963 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2964 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2965 const wxPoint& pos,
2966 const wxSize& size,
2967 long style,
2968 const wxValidator &validator,
2969 const wxString& name) :
2970 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2971
2972 int OnCompareItems(const wxTreeItemId& item1,
2973 const wxTreeItemId& item2) {
2974 int rval = 0;
2975 bool found;
2976 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2977 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2978 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2979 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2980 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2981 Py_DECREF(o1);
2982 Py_DECREF(o2);
2983 }
2984 wxPyEndBlockThreads(blocked);
2985 if (! found)
2986 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2987 return rval;
2988 }
2989 PYPRIVATE;
2990 };
2991
2992 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2993
2994
2995
2996 SWIGINTERNINLINE PyObject *
2997 SWIG_From_unsigned_SS_int (unsigned int value)
2998 {
2999 return SWIG_From_unsigned_SS_long (value);
3000 }
3001
3002
3003 SWIGINTERN int
3004 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3005 {
3006 unsigned long v;
3007 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3008 if (SWIG_IsOK(res)) {
3009 if ((v > UINT_MAX)) {
3010 return SWIG_OverflowError;
3011 } else {
3012 if (val) *val = static_cast< unsigned int >(v);
3013 }
3014 }
3015 return res;
3016 }
3017
3018 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3019 if (column < 0) column = self->GetMainColumn();
3020 return self->GetItemText(item, column);
3021 }
3022 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3023 if (column < 0) column = self->GetMainColumn();
3024 return self->GetItemImage(item, column, which);
3025 }
3026 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3027 if (column < 0) column = self->GetMainColumn();
3028 self->SetItemText(item, column, text);
3029 }
3030 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3031 if (column < 0) column = self->GetMainColumn();
3032 self->SetItemImage(item, column, image, which);
3033 }
3034 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3035 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3036 if (data == NULL) {
3037 data = new wxPyTreeItemData();
3038 data->SetId(item); // set the id
3039 self->SetItemData(item, data);
3040 }
3041 return data;
3042 }
3043 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3044 data->SetId(item); // set the id
3045 self->SetItemData(item, data);
3046 }
3047 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3048 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3049 if (data == NULL) {
3050 data = new wxPyTreeItemData();
3051 data->SetId(item); // set the id
3052 self->SetItemData(item, data);
3053 }
3054 return data->GetData();
3055 }
3056 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3057 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3058 if (data == NULL) {
3059 data = new wxPyTreeItemData(obj);
3060 data->SetId(item); // set the id
3061 self->SetItemData(item, data);
3062 } else
3063 data->SetData(obj);
3064 }
3065 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3066 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3067 PyObject* rval = PyList_New(0);
3068 wxArrayTreeItemIds array;
3069 size_t num, x;
3070 num = self->GetSelections(array);
3071 for (x=0; x < num; x++) {
3072 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3073 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3074 PyList_Append(rval, item);
3075 Py_DECREF(item);
3076 }
3077 wxPyEndBlockThreads(blocked);
3078 return rval;
3079 }
3080 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3081 void* cookie = 0;
3082 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3083 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3084 PyObject* tup = PyTuple_New(2);
3085 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3086 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3087 wxPyEndBlockThreads(blocked);
3088 return tup;
3089 }
3090 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3091 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3093 PyObject* tup = PyTuple_New(2);
3094 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3095 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3096 wxPyEndBlockThreads(blocked);
3097 return tup;
3098 }
3099 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3100 wxRect rect;
3101 if (self->GetBoundingRect(item, rect, textOnly)) {
3102 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3103 wxRect* r = new wxRect(rect);
3104 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3105 wxPyEndBlockThreads(blocked);
3106 return val;
3107 }
3108 else {
3109 RETURN_NONE();
3110 }
3111 }
3112
3113 #include <float.h>
3114
3115
3116 SWIGINTERN int
3117 SWIG_AsVal_double (PyObject *obj, double* val)
3118 {
3119 if (PyNumber_Check(obj)) {
3120 if (val) *val = PyFloat_AsDouble(obj);
3121 return SWIG_OK;
3122 }
3123 return SWIG_TypeError;
3124 }
3125
3126
3127 SWIGINTERN int
3128 SWIG_AsVal_float (PyObject * obj, float *val)
3129 {
3130 double v;
3131 int res = SWIG_AsVal_double (obj, &v);
3132 if (SWIG_IsOK(res)) {
3133 if ((v < -FLT_MAX || v > FLT_MAX)) {
3134 return SWIG_OverflowError;
3135 } else {
3136 if (val) *val = static_cast< float >(v);
3137 }
3138 }
3139 return res;
3140 }
3141
3142
3143 #define SWIG_From_double PyFloat_FromDouble
3144
3145
3146 SWIGINTERNINLINE PyObject *
3147 SWIG_From_float (float value)
3148 {
3149 return SWIG_From_double (value);
3150 }
3151
3152 #ifdef __cplusplus
3153 extern "C" {
3154 #endif
3155 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3156 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3157 return 1;
3158 }
3159
3160
3161 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3162 PyObject *pyobj = 0;
3163
3164 {
3165 #if wxUSE_UNICODE
3166 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3167 #else
3168 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3169 #endif
3170 }
3171 return pyobj;
3172 }
3173
3174
3175 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3176 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3177 return 1;
3178 }
3179
3180
3181 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3182 PyObject *pyobj = 0;
3183
3184 {
3185 #if wxUSE_UNICODE
3186 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3187 #else
3188 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3189 #endif
3190 }
3191 return pyobj;
3192 }
3193
3194
3195 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3196 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3197 return 1;
3198 }
3199
3200
3201 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3202 PyObject *pyobj = 0;
3203
3204 {
3205 #if wxUSE_UNICODE
3206 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3207 #else
3208 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3209 #endif
3210 }
3211 return pyobj;
3212 }
3213
3214
3215 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3216 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3217 return 1;
3218 }
3219
3220
3221 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3222 PyObject *pyobj = 0;
3223
3224 {
3225 #if wxUSE_UNICODE
3226 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3227 #else
3228 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3229 #endif
3230 }
3231 return pyobj;
3232 }
3233
3234
3235 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3236 PyObject *resultobj = 0;
3237 wxObject *arg1 = (wxObject *) 0 ;
3238 wxDynamicSashSplitEvent *result = 0 ;
3239 void *argp1 = 0 ;
3240 int res1 = 0 ;
3241 PyObject * obj0 = 0 ;
3242 char * kwnames[] = {
3243 (char *) "target", NULL
3244 };
3245
3246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3248 if (!SWIG_IsOK(res1)) {
3249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3250 }
3251 arg1 = reinterpret_cast< wxObject * >(argp1);
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3266 PyObject *obj;
3267 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3268 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3269 return SWIG_Py_Void();
3270 }
3271
3272 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3273 return SWIG_Python_InitShadowInstance(args);
3274 }
3275
3276 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3277 PyObject *resultobj = 0;
3278 wxObject *arg1 = (wxObject *) 0 ;
3279 wxDynamicSashUnifyEvent *result = 0 ;
3280 void *argp1 = 0 ;
3281 int res1 = 0 ;
3282 PyObject * obj0 = 0 ;
3283 char * kwnames[] = {
3284 (char *) "target", NULL
3285 };
3286
3287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3289 if (!SWIG_IsOK(res1)) {
3290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3291 }
3292 arg1 = reinterpret_cast< wxObject * >(argp1);
3293 {
3294 PyThreadState* __tstate = wxPyBeginAllowThreads();
3295 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3300 return resultobj;
3301 fail:
3302 return NULL;
3303 }
3304
3305
3306 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3307 PyObject *obj;
3308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3309 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3310 return SWIG_Py_Void();
3311 }
3312
3313 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3314 return SWIG_Python_InitShadowInstance(args);
3315 }
3316
3317 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj = 0;
3319 wxWindow *arg1 = (wxWindow *) 0 ;
3320 int arg2 = (int) -1 ;
3321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3323 wxSize const &arg4_defvalue = wxDefaultSize ;
3324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3325 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3326 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3327 wxString *arg6 = (wxString *) &arg6_defvalue ;
3328 wxDynamicSashWindow *result = 0 ;
3329 void *argp1 = 0 ;
3330 int res1 = 0 ;
3331 int val2 ;
3332 int ecode2 = 0 ;
3333 wxPoint temp3 ;
3334 wxSize temp4 ;
3335 long val5 ;
3336 int ecode5 = 0 ;
3337 bool temp6 = false ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 PyObject * obj2 = 0 ;
3341 PyObject * obj3 = 0 ;
3342 PyObject * obj4 = 0 ;
3343 PyObject * obj5 = 0 ;
3344 char * kwnames[] = {
3345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3346 };
3347
3348 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3349 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3350 if (!SWIG_IsOK(res1)) {
3351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3352 }
3353 arg1 = reinterpret_cast< wxWindow * >(argp1);
3354 if (obj1) {
3355 ecode2 = SWIG_AsVal_int(obj1, &val2);
3356 if (!SWIG_IsOK(ecode2)) {
3357 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3358 }
3359 arg2 = static_cast< int >(val2);
3360 }
3361 if (obj2) {
3362 {
3363 arg3 = &temp3;
3364 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3365 }
3366 }
3367 if (obj3) {
3368 {
3369 arg4 = &temp4;
3370 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3371 }
3372 }
3373 if (obj4) {
3374 ecode5 = SWIG_AsVal_long(obj4, &val5);
3375 if (!SWIG_IsOK(ecode5)) {
3376 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3377 }
3378 arg5 = static_cast< long >(val5);
3379 }
3380 if (obj5) {
3381 {
3382 arg6 = wxString_in_helper(obj5);
3383 if (arg6 == NULL) SWIG_fail;
3384 temp6 = true;
3385 }
3386 }
3387 {
3388 if (!wxPyCheckForApp()) SWIG_fail;
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3391 wxPyEndAllowThreads(__tstate);
3392 if (PyErr_Occurred()) SWIG_fail;
3393 }
3394 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3395 {
3396 if (temp6)
3397 delete arg6;
3398 }
3399 return resultobj;
3400 fail:
3401 {
3402 if (temp6)
3403 delete arg6;
3404 }
3405 return NULL;
3406 }
3407
3408
3409 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3410 PyObject *resultobj = 0;
3411 wxDynamicSashWindow *result = 0 ;
3412
3413 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3414 {
3415 if (!wxPyCheckForApp()) SWIG_fail;
3416 PyThreadState* __tstate = wxPyBeginAllowThreads();
3417 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3418 wxPyEndAllowThreads(__tstate);
3419 if (PyErr_Occurred()) SWIG_fail;
3420 }
3421 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3422 return resultobj;
3423 fail:
3424 return NULL;
3425 }
3426
3427
3428 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3429 PyObject *resultobj = 0;
3430 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3431 wxWindow *arg2 = (wxWindow *) 0 ;
3432 int arg3 = (int) -1 ;
3433 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3434 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3435 wxSize const &arg5_defvalue = wxDefaultSize ;
3436 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3437 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3438 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3439 wxString *arg7 = (wxString *) &arg7_defvalue ;
3440 bool result;
3441 void *argp1 = 0 ;
3442 int res1 = 0 ;
3443 void *argp2 = 0 ;
3444 int res2 = 0 ;
3445 int val3 ;
3446 int ecode3 = 0 ;
3447 wxPoint temp4 ;
3448 wxSize temp5 ;
3449 long val6 ;
3450 int ecode6 = 0 ;
3451 bool temp7 = false ;
3452 PyObject * obj0 = 0 ;
3453 PyObject * obj1 = 0 ;
3454 PyObject * obj2 = 0 ;
3455 PyObject * obj3 = 0 ;
3456 PyObject * obj4 = 0 ;
3457 PyObject * obj5 = 0 ;
3458 PyObject * obj6 = 0 ;
3459 char * kwnames[] = {
3460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3461 };
3462
3463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3465 if (!SWIG_IsOK(res1)) {
3466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3467 }
3468 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3469 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3470 if (!SWIG_IsOK(res2)) {
3471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3472 }
3473 arg2 = reinterpret_cast< wxWindow * >(argp2);
3474 if (obj2) {
3475 ecode3 = SWIG_AsVal_int(obj2, &val3);
3476 if (!SWIG_IsOK(ecode3)) {
3477 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3478 }
3479 arg3 = static_cast< int >(val3);
3480 }
3481 if (obj3) {
3482 {
3483 arg4 = &temp4;
3484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3485 }
3486 }
3487 if (obj4) {
3488 {
3489 arg5 = &temp5;
3490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3491 }
3492 }
3493 if (obj5) {
3494 ecode6 = SWIG_AsVal_long(obj5, &val6);
3495 if (!SWIG_IsOK(ecode6)) {
3496 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3497 }
3498 arg6 = static_cast< long >(val6);
3499 }
3500 if (obj6) {
3501 {
3502 arg7 = wxString_in_helper(obj6);
3503 if (arg7 == NULL) SWIG_fail;
3504 temp7 = true;
3505 }
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3515 }
3516 {
3517 if (temp7)
3518 delete arg7;
3519 }
3520 return resultobj;
3521 fail:
3522 {
3523 if (temp7)
3524 delete arg7;
3525 }
3526 return NULL;
3527 }
3528
3529
3530 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj = 0;
3532 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3533 wxWindow *arg2 = (wxWindow *) 0 ;
3534 wxScrollBar *result = 0 ;
3535 void *argp1 = 0 ;
3536 int res1 = 0 ;
3537 void *argp2 = 0 ;
3538 int res2 = 0 ;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj1 = 0 ;
3541 char * kwnames[] = {
3542 (char *) "self",(char *) "child", NULL
3543 };
3544
3545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3547 if (!SWIG_IsOK(res1)) {
3548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3549 }
3550 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3551 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3552 if (!SWIG_IsOK(res2)) {
3553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3554 }
3555 arg2 = reinterpret_cast< wxWindow * >(argp2);
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3563 return resultobj;
3564 fail:
3565 return NULL;
3566 }
3567
3568
3569 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3570 PyObject *resultobj = 0;
3571 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3572 wxWindow *arg2 = (wxWindow *) 0 ;
3573 wxScrollBar *result = 0 ;
3574 void *argp1 = 0 ;
3575 int res1 = 0 ;
3576 void *argp2 = 0 ;
3577 int res2 = 0 ;
3578 PyObject * obj0 = 0 ;
3579 PyObject * obj1 = 0 ;
3580 char * kwnames[] = {
3581 (char *) "self",(char *) "child", NULL
3582 };
3583
3584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3586 if (!SWIG_IsOK(res1)) {
3587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3588 }
3589 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3590 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3591 if (!SWIG_IsOK(res2)) {
3592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3593 }
3594 arg2 = reinterpret_cast< wxWindow * >(argp2);
3595 {
3596 PyThreadState* __tstate = wxPyBeginAllowThreads();
3597 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3598 wxPyEndAllowThreads(__tstate);
3599 if (PyErr_Occurred()) SWIG_fail;
3600 }
3601 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3602 return resultobj;
3603 fail:
3604 return NULL;
3605 }
3606
3607
3608 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3609 PyObject *obj;
3610 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3611 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3612 return SWIG_Py_Void();
3613 }
3614
3615 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3616 return SWIG_Python_InitShadowInstance(args);
3617 }
3618
3619 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3620 PyObject *resultobj = 0;
3621 wxWindow *arg1 = (wxWindow *) 0 ;
3622 int arg2 = (int) -1 ;
3623 wxString const &arg3_defvalue = wxPyEmptyString ;
3624 wxString *arg3 = (wxString *) &arg3_defvalue ;
3625 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3626 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3627 wxSize const &arg5_defvalue = wxDefaultSize ;
3628 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3629 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3630 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3631 wxString *arg7 = (wxString *) &arg7_defvalue ;
3632 wxEditableListBox *result = 0 ;
3633 void *argp1 = 0 ;
3634 int res1 = 0 ;
3635 int val2 ;
3636 int ecode2 = 0 ;
3637 bool temp3 = false ;
3638 wxPoint temp4 ;
3639 wxSize temp5 ;
3640 long val6 ;
3641 int ecode6 = 0 ;
3642 bool temp7 = false ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj1 = 0 ;
3645 PyObject * obj2 = 0 ;
3646 PyObject * obj3 = 0 ;
3647 PyObject * obj4 = 0 ;
3648 PyObject * obj5 = 0 ;
3649 PyObject * obj6 = 0 ;
3650 char * kwnames[] = {
3651 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3652 };
3653
3654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3656 if (!SWIG_IsOK(res1)) {
3657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3658 }
3659 arg1 = reinterpret_cast< wxWindow * >(argp1);
3660 if (obj1) {
3661 ecode2 = SWIG_AsVal_int(obj1, &val2);
3662 if (!SWIG_IsOK(ecode2)) {
3663 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3664 }
3665 arg2 = static_cast< int >(val2);
3666 }
3667 if (obj2) {
3668 {
3669 arg3 = wxString_in_helper(obj2);
3670 if (arg3 == NULL) SWIG_fail;
3671 temp3 = true;
3672 }
3673 }
3674 if (obj3) {
3675 {
3676 arg4 = &temp4;
3677 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3678 }
3679 }
3680 if (obj4) {
3681 {
3682 arg5 = &temp5;
3683 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3684 }
3685 }
3686 if (obj5) {
3687 ecode6 = SWIG_AsVal_long(obj5, &val6);
3688 if (!SWIG_IsOK(ecode6)) {
3689 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3690 }
3691 arg6 = static_cast< long >(val6);
3692 }
3693 if (obj6) {
3694 {
3695 arg7 = wxString_in_helper(obj6);
3696 if (arg7 == NULL) SWIG_fail;
3697 temp7 = true;
3698 }
3699 }
3700 {
3701 if (!wxPyCheckForApp()) SWIG_fail;
3702 PyThreadState* __tstate = wxPyBeginAllowThreads();
3703 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3708 {
3709 if (temp3)
3710 delete arg3;
3711 }
3712 {
3713 if (temp7)
3714 delete arg7;
3715 }
3716 return resultobj;
3717 fail:
3718 {
3719 if (temp3)
3720 delete arg3;
3721 }
3722 {
3723 if (temp7)
3724 delete arg7;
3725 }
3726 return NULL;
3727 }
3728
3729
3730 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3731 PyObject *resultobj = 0;
3732 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3733 wxArrayString *arg2 = 0 ;
3734 void *argp1 = 0 ;
3735 int res1 = 0 ;
3736 bool temp2 = false ;
3737 PyObject * obj0 = 0 ;
3738 PyObject * obj1 = 0 ;
3739 char * kwnames[] = {
3740 (char *) "self",(char *) "strings", NULL
3741 };
3742
3743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3745 if (!SWIG_IsOK(res1)) {
3746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3747 }
3748 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3749 {
3750 if (! PySequence_Check(obj1)) {
3751 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3752 SWIG_fail;
3753 }
3754 arg2 = new wxArrayString;
3755 temp2 = true;
3756 int i, len=PySequence_Length(obj1);
3757 for (i=0; i<len; i++) {
3758 PyObject* item = PySequence_GetItem(obj1, i);
3759 wxString* s = wxString_in_helper(item);
3760 if (PyErr_Occurred()) SWIG_fail;
3761 arg2->Add(*s);
3762 delete s;
3763 Py_DECREF(item);
3764 }
3765 }
3766 {
3767 PyThreadState* __tstate = wxPyBeginAllowThreads();
3768 (arg1)->SetStrings((wxArrayString const &)*arg2);
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = SWIG_Py_Void();
3773 {
3774 if (temp2) delete arg2;
3775 }
3776 return resultobj;
3777 fail:
3778 {
3779 if (temp2) delete arg2;
3780 }
3781 return NULL;
3782 }
3783
3784
3785 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3786 PyObject *resultobj = 0;
3787 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3788 PyObject *result = 0 ;
3789 void *argp1 = 0 ;
3790 int res1 = 0 ;
3791 PyObject *swig_obj[1] ;
3792
3793 if (!args) SWIG_fail;
3794 swig_obj[0] = args;
3795 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3796 if (!SWIG_IsOK(res1)) {
3797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3798 }
3799 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3800 {
3801 PyThreadState* __tstate = wxPyBeginAllowThreads();
3802 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3803 wxPyEndAllowThreads(__tstate);
3804 if (PyErr_Occurred()) SWIG_fail;
3805 }
3806 resultobj = result;
3807 return resultobj;
3808 fail:
3809 return NULL;
3810 }
3811
3812
3813 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3814 PyObject *resultobj = 0;
3815 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3816 wxPyListCtrl *result = 0 ;
3817 void *argp1 = 0 ;
3818 int res1 = 0 ;
3819 PyObject *swig_obj[1] ;
3820
3821 if (!args) SWIG_fail;
3822 swig_obj[0] = args;
3823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3824 if (!SWIG_IsOK(res1)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3826 }
3827 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3844 wxBitmapButton *result = 0 ;
3845 void *argp1 = 0 ;
3846 int res1 = 0 ;
3847 PyObject *swig_obj[1] ;
3848
3849 if (!args) SWIG_fail;
3850 swig_obj[0] = args;
3851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3852 if (!SWIG_IsOK(res1)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3854 }
3855 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxBitmapButton *)(arg1)->GetDelButton();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 {
3863 resultobj = wxPyMake_wxObject(result, 0);
3864 }
3865 return resultobj;
3866 fail:
3867 return NULL;
3868 }
3869
3870
3871 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3872 PyObject *resultobj = 0;
3873 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3874 wxBitmapButton *result = 0 ;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 PyObject *swig_obj[1] ;
3878
3879 if (!args) SWIG_fail;
3880 swig_obj[0] = args;
3881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3882 if (!SWIG_IsOK(res1)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3884 }
3885 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (wxBitmapButton *)(arg1)->GetNewButton();
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 resultobj = wxPyMake_wxObject(result, 0);
3894 }
3895 return resultobj;
3896 fail:
3897 return NULL;
3898 }
3899
3900
3901 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3902 PyObject *resultobj = 0;
3903 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3904 wxBitmapButton *result = 0 ;
3905 void *argp1 = 0 ;
3906 int res1 = 0 ;
3907 PyObject *swig_obj[1] ;
3908
3909 if (!args) SWIG_fail;
3910 swig_obj[0] = args;
3911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3912 if (!SWIG_IsOK(res1)) {
3913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3914 }
3915 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxBitmapButton *)(arg1)->GetUpButton();
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 resultobj = wxPyMake_wxObject(result, 0);
3924 }
3925 return resultobj;
3926 fail:
3927 return NULL;
3928 }
3929
3930
3931 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3932 PyObject *resultobj = 0;
3933 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3934 wxBitmapButton *result = 0 ;
3935 void *argp1 = 0 ;
3936 int res1 = 0 ;
3937 PyObject *swig_obj[1] ;
3938
3939 if (!args) SWIG_fail;
3940 swig_obj[0] = args;
3941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3942 if (!SWIG_IsOK(res1)) {
3943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3944 }
3945 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 result = (wxBitmapButton *)(arg1)->GetDownButton();
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
3953 resultobj = wxPyMake_wxObject(result, 0);
3954 }
3955 return resultobj;
3956 fail:
3957 return NULL;
3958 }
3959
3960
3961 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3964 wxBitmapButton *result = 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3974 }
3975 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 result = (wxBitmapButton *)(arg1)->GetEditButton();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 {
3983 resultobj = wxPyMake_wxObject(result, 0);
3984 }
3985 return resultobj;
3986 fail:
3987 return NULL;
3988 }
3989
3990
3991 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3992 PyObject *obj;
3993 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3994 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3995 return SWIG_Py_Void();
3996 }
3997
3998 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3999 return SWIG_Python_InitShadowInstance(args);
4000 }
4001
4002 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4003 PyObject *resultobj = 0;
4004 wxWindow *arg1 = (wxWindow *) 0 ;
4005 int arg2 ;
4006 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4007 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4008 wxSize const &arg4_defvalue = wxDefaultSize ;
4009 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4010 long arg5 = (long) wxTR_HAS_BUTTONS ;
4011 wxRemotelyScrolledTreeCtrl *result = 0 ;
4012 void *argp1 = 0 ;
4013 int res1 = 0 ;
4014 int val2 ;
4015 int ecode2 = 0 ;
4016 wxPoint temp3 ;
4017 wxSize temp4 ;
4018 long val5 ;
4019 int ecode5 = 0 ;
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj1 = 0 ;
4022 PyObject * obj2 = 0 ;
4023 PyObject * obj3 = 0 ;
4024 PyObject * obj4 = 0 ;
4025 char * kwnames[] = {
4026 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4027 };
4028
4029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4031 if (!SWIG_IsOK(res1)) {
4032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4033 }
4034 arg1 = reinterpret_cast< wxWindow * >(argp1);
4035 ecode2 = SWIG_AsVal_int(obj1, &val2);
4036 if (!SWIG_IsOK(ecode2)) {
4037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4038 }
4039 arg2 = static_cast< int >(val2);
4040 if (obj2) {
4041 {
4042 arg3 = &temp3;
4043 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4044 }
4045 }
4046 if (obj3) {
4047 {
4048 arg4 = &temp4;
4049 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4050 }
4051 }
4052 if (obj4) {
4053 ecode5 = SWIG_AsVal_long(obj4, &val5);
4054 if (!SWIG_IsOK(ecode5)) {
4055 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4056 }
4057 arg5 = static_cast< long >(val5);
4058 }
4059 {
4060 if (!wxPyCheckForApp()) SWIG_fail;
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4063 wxPyEndAllowThreads(__tstate);
4064 if (PyErr_Occurred()) SWIG_fail;
4065 }
4066 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4067 return resultobj;
4068 fail:
4069 return NULL;
4070 }
4071
4072
4073 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4074 PyObject *resultobj = 0;
4075 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4076 void *argp1 = 0 ;
4077 int res1 = 0 ;
4078 PyObject *swig_obj[1] ;
4079
4080 if (!args) SWIG_fail;
4081 swig_obj[0] = args;
4082 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4083 if (!SWIG_IsOK(res1)) {
4084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4085 }
4086 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 (arg1)->HideVScrollbar();
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_Py_Void();
4094 return resultobj;
4095 fail:
4096 return NULL;
4097 }
4098
4099
4100 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4101 PyObject *resultobj = 0;
4102 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4103 void *argp1 = 0 ;
4104 int res1 = 0 ;
4105 PyObject *swig_obj[1] ;
4106
4107 if (!args) SWIG_fail;
4108 swig_obj[0] = args;
4109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4110 if (!SWIG_IsOK(res1)) {
4111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4112 }
4113 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4114 {
4115 PyThreadState* __tstate = wxPyBeginAllowThreads();
4116 (arg1)->AdjustRemoteScrollbars();
4117 wxPyEndAllowThreads(__tstate);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 }
4120 resultobj = SWIG_Py_Void();
4121 return resultobj;
4122 fail:
4123 return NULL;
4124 }
4125
4126
4127 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4128 PyObject *resultobj = 0;
4129 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4130 wxScrolledWindow *result = 0 ;
4131 void *argp1 = 0 ;
4132 int res1 = 0 ;
4133 PyObject *swig_obj[1] ;
4134
4135 if (!args) SWIG_fail;
4136 swig_obj[0] = args;
4137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4138 if (!SWIG_IsOK(res1)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4140 }
4141 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 {
4149 resultobj = wxPyMake_wxObject(result, 0);
4150 }
4151 return resultobj;
4152 fail:
4153 return NULL;
4154 }
4155
4156
4157 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4158 PyObject *resultobj = 0;
4159 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4160 int arg2 ;
4161 int arg3 ;
4162 void *argp1 = 0 ;
4163 int res1 = 0 ;
4164 int val2 ;
4165 int ecode2 = 0 ;
4166 int val3 ;
4167 int ecode3 = 0 ;
4168 PyObject * obj0 = 0 ;
4169 PyObject * obj1 = 0 ;
4170 PyObject * obj2 = 0 ;
4171 char * kwnames[] = {
4172 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4173 };
4174
4175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4177 if (!SWIG_IsOK(res1)) {
4178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4179 }
4180 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4181 ecode2 = SWIG_AsVal_int(obj1, &val2);
4182 if (!SWIG_IsOK(ecode2)) {
4183 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4184 }
4185 arg2 = static_cast< int >(val2);
4186 ecode3 = SWIG_AsVal_int(obj2, &val3);
4187 if (!SWIG_IsOK(ecode3)) {
4188 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4189 }
4190 arg3 = static_cast< int >(val3);
4191 {
4192 PyThreadState* __tstate = wxPyBeginAllowThreads();
4193 (arg1)->ScrollToLine(arg2,arg3);
4194 wxPyEndAllowThreads(__tstate);
4195 if (PyErr_Occurred()) SWIG_fail;
4196 }
4197 resultobj = SWIG_Py_Void();
4198 return resultobj;
4199 fail:
4200 return NULL;
4201 }
4202
4203
4204 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj = 0;
4206 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4207 wxWindow *arg2 = (wxWindow *) 0 ;
4208 void *argp1 = 0 ;
4209 int res1 = 0 ;
4210 void *argp2 = 0 ;
4211 int res2 = 0 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char * kwnames[] = {
4215 (char *) "self",(char *) "companion", NULL
4216 };
4217
4218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4220 if (!SWIG_IsOK(res1)) {
4221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4222 }
4223 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4224 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4225 if (!SWIG_IsOK(res2)) {
4226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4227 }
4228 arg2 = reinterpret_cast< wxWindow * >(argp2);
4229 {
4230 PyThreadState* __tstate = wxPyBeginAllowThreads();
4231 (arg1)->SetCompanionWindow(arg2);
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
4235 resultobj = SWIG_Py_Void();
4236 return resultobj;
4237 fail:
4238 return NULL;
4239 }
4240
4241
4242 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4243 PyObject *resultobj = 0;
4244 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4245 wxWindow *result = 0 ;
4246 void *argp1 = 0 ;
4247 int res1 = 0 ;
4248 PyObject *swig_obj[1] ;
4249
4250 if (!args) SWIG_fail;
4251 swig_obj[0] = args;
4252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4253 if (!SWIG_IsOK(res1)) {
4254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4255 }
4256 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 {
4264 resultobj = wxPyMake_wxObject(result, 0);
4265 }
4266 return resultobj;
4267 fail:
4268 return NULL;
4269 }
4270
4271
4272 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4273 PyObject *obj;
4274 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4275 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4276 return SWIG_Py_Void();
4277 }
4278
4279 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4280 return SWIG_Python_InitShadowInstance(args);
4281 }
4282
4283 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj = 0;
4285 wxWindow *arg1 = (wxWindow *) 0 ;
4286 int arg2 = (int) -1 ;
4287 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4288 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4289 wxSize const &arg4_defvalue = wxDefaultSize ;
4290 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4291 long arg5 = (long) 0 ;
4292 wxPyTreeCompanionWindow *result = 0 ;
4293 void *argp1 = 0 ;
4294 int res1 = 0 ;
4295 int val2 ;
4296 int ecode2 = 0 ;
4297 wxPoint temp3 ;
4298 wxSize temp4 ;
4299 long val5 ;
4300 int ecode5 = 0 ;
4301 PyObject * obj0 = 0 ;
4302 PyObject * obj1 = 0 ;
4303 PyObject * obj2 = 0 ;
4304 PyObject * obj3 = 0 ;
4305 PyObject * obj4 = 0 ;
4306 char * kwnames[] = {
4307 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4308 };
4309
4310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4312 if (!SWIG_IsOK(res1)) {
4313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4314 }
4315 arg1 = reinterpret_cast< wxWindow * >(argp1);
4316 if (obj1) {
4317 ecode2 = SWIG_AsVal_int(obj1, &val2);
4318 if (!SWIG_IsOK(ecode2)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4320 }
4321 arg2 = static_cast< int >(val2);
4322 }
4323 if (obj2) {
4324 {
4325 arg3 = &temp3;
4326 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4327 }
4328 }
4329 if (obj3) {
4330 {
4331 arg4 = &temp4;
4332 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4333 }
4334 }
4335 if (obj4) {
4336 ecode5 = SWIG_AsVal_long(obj4, &val5);
4337 if (!SWIG_IsOK(ecode5)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4339 }
4340 arg5 = static_cast< long >(val5);
4341 }
4342 {
4343 if (!wxPyCheckForApp()) SWIG_fail;
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4346 wxPyEndAllowThreads(__tstate);
4347 if (PyErr_Occurred()) SWIG_fail;
4348 }
4349 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4350 return resultobj;
4351 fail:
4352 return NULL;
4353 }
4354
4355
4356 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4357 PyObject *resultobj = 0;
4358 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4359 PyObject *arg2 = (PyObject *) 0 ;
4360 PyObject *arg3 = (PyObject *) 0 ;
4361 void *argp1 = 0 ;
4362 int res1 = 0 ;
4363 PyObject * obj0 = 0 ;
4364 PyObject * obj1 = 0 ;
4365 PyObject * obj2 = 0 ;
4366 char * kwnames[] = {
4367 (char *) "self",(char *) "self",(char *) "_class", NULL
4368 };
4369
4370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4372 if (!SWIG_IsOK(res1)) {
4373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4374 }
4375 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4376 arg2 = obj1;
4377 arg3 = obj2;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 (arg1)->_setCallbackInfo(arg2,arg3);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_Py_Void();
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4392 PyObject *resultobj = 0;
4393 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4394 wxRemotelyScrolledTreeCtrl *result = 0 ;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 PyObject *swig_obj[1] ;
4398
4399 if (!args) SWIG_fail;
4400 swig_obj[0] = args;
4401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4402 if (!SWIG_IsOK(res1)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4404 }
4405 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4420 PyObject *resultobj = 0;
4421 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4422 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4423 void *argp1 = 0 ;
4424 int res1 = 0 ;
4425 void *argp2 = 0 ;
4426 int res2 = 0 ;
4427 PyObject * obj0 = 0 ;
4428 PyObject * obj1 = 0 ;
4429 char * kwnames[] = {
4430 (char *) "self",(char *) "treeCtrl", NULL
4431 };
4432
4433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4435 if (!SWIG_IsOK(res1)) {
4436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4437 }
4438 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4439 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4440 if (!SWIG_IsOK(res2)) {
4441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4442 }
4443 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4444 {
4445 PyThreadState* __tstate = wxPyBeginAllowThreads();
4446 (arg1)->SetTreeCtrl(arg2);
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 resultobj = SWIG_Py_Void();
4451 return resultobj;
4452 fail:
4453 return NULL;
4454 }
4455
4456
4457 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4458 PyObject *obj;
4459 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4461 return SWIG_Py_Void();
4462 }
4463
4464 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4465 return SWIG_Python_InitShadowInstance(args);
4466 }
4467
4468 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4469 PyObject *resultobj = 0;
4470 wxWindow *arg1 = (wxWindow *) 0 ;
4471 int arg2 = (int) -1 ;
4472 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4473 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4474 wxSize const &arg4_defvalue = wxDefaultSize ;
4475 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4476 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4477 wxThinSplitterWindow *result = 0 ;
4478 void *argp1 = 0 ;
4479 int res1 = 0 ;
4480 int val2 ;
4481 int ecode2 = 0 ;
4482 wxPoint temp3 ;
4483 wxSize temp4 ;
4484 long val5 ;
4485 int ecode5 = 0 ;
4486 PyObject * obj0 = 0 ;
4487 PyObject * obj1 = 0 ;
4488 PyObject * obj2 = 0 ;
4489 PyObject * obj3 = 0 ;
4490 PyObject * obj4 = 0 ;
4491 char * kwnames[] = {
4492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4493 };
4494
4495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4497 if (!SWIG_IsOK(res1)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4499 }
4500 arg1 = reinterpret_cast< wxWindow * >(argp1);
4501 if (obj1) {
4502 ecode2 = SWIG_AsVal_int(obj1, &val2);
4503 if (!SWIG_IsOK(ecode2)) {
4504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4505 }
4506 arg2 = static_cast< int >(val2);
4507 }
4508 if (obj2) {
4509 {
4510 arg3 = &temp3;
4511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4512 }
4513 }
4514 if (obj3) {
4515 {
4516 arg4 = &temp4;
4517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4518 }
4519 }
4520 if (obj4) {
4521 ecode5 = SWIG_AsVal_long(obj4, &val5);
4522 if (!SWIG_IsOK(ecode5)) {
4523 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4524 }
4525 arg5 = static_cast< long >(val5);
4526 }
4527 {
4528 if (!wxPyCheckForApp()) SWIG_fail;
4529 PyThreadState* __tstate = wxPyBeginAllowThreads();
4530 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4535 return resultobj;
4536 fail:
4537 return NULL;
4538 }
4539
4540
4541 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4542 PyObject *obj;
4543 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4544 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4545 return SWIG_Py_Void();
4546 }
4547
4548 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4549 return SWIG_Python_InitShadowInstance(args);
4550 }
4551
4552 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4553 PyObject *resultobj = 0;
4554 wxWindow *arg1 = (wxWindow *) 0 ;
4555 int arg2 = (int) -1 ;
4556 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4557 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4558 wxSize const &arg4_defvalue = wxDefaultSize ;
4559 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4560 long arg5 = (long) 0 ;
4561 wxSplitterScrolledWindow *result = 0 ;
4562 void *argp1 = 0 ;
4563 int res1 = 0 ;
4564 int val2 ;
4565 int ecode2 = 0 ;
4566 wxPoint temp3 ;
4567 wxSize temp4 ;
4568 long val5 ;
4569 int ecode5 = 0 ;
4570 PyObject * obj0 = 0 ;
4571 PyObject * obj1 = 0 ;
4572 PyObject * obj2 = 0 ;
4573 PyObject * obj3 = 0 ;
4574 PyObject * obj4 = 0 ;
4575 char * kwnames[] = {
4576 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4577 };
4578
4579 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4580 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4581 if (!SWIG_IsOK(res1)) {
4582 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4583 }
4584 arg1 = reinterpret_cast< wxWindow * >(argp1);
4585 if (obj1) {
4586 ecode2 = SWIG_AsVal_int(obj1, &val2);
4587 if (!SWIG_IsOK(ecode2)) {
4588 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4589 }
4590 arg2 = static_cast< int >(val2);
4591 }
4592 if (obj2) {
4593 {
4594 arg3 = &temp3;
4595 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4596 }
4597 }
4598 if (obj3) {
4599 {
4600 arg4 = &temp4;
4601 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4602 }
4603 }
4604 if (obj4) {
4605 ecode5 = SWIG_AsVal_long(obj4, &val5);
4606 if (!SWIG_IsOK(ecode5)) {
4607 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4608 }
4609 arg5 = static_cast< long >(val5);
4610 }
4611 {
4612 if (!wxPyCheckForApp()) SWIG_fail;
4613 PyThreadState* __tstate = wxPyBeginAllowThreads();
4614 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4619 return resultobj;
4620 fail:
4621 return NULL;
4622 }
4623
4624
4625 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4626 PyObject *obj;
4627 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4628 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4629 return SWIG_Py_Void();
4630 }
4631
4632 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4633 return SWIG_Python_InitShadowInstance(args);
4634 }
4635
4636 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4637 PyObject *resultobj = 0;
4638 wxWindow *arg1 = (wxWindow *) 0 ;
4639 int arg2 = (int) -1 ;
4640 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4641 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4642 wxSize const &arg4_defvalue = wxDefaultSize ;
4643 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4644 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4645 wxLEDNumberCtrl *result = 0 ;
4646 void *argp1 = 0 ;
4647 int res1 = 0 ;
4648 int val2 ;
4649 int ecode2 = 0 ;
4650 wxPoint temp3 ;
4651 wxSize temp4 ;
4652 long val5 ;
4653 int ecode5 = 0 ;
4654 PyObject * obj0 = 0 ;
4655 PyObject * obj1 = 0 ;
4656 PyObject * obj2 = 0 ;
4657 PyObject * obj3 = 0 ;
4658 PyObject * obj4 = 0 ;
4659 char * kwnames[] = {
4660 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4661 };
4662
4663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4665 if (!SWIG_IsOK(res1)) {
4666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4667 }
4668 arg1 = reinterpret_cast< wxWindow * >(argp1);
4669 if (obj1) {
4670 ecode2 = SWIG_AsVal_int(obj1, &val2);
4671 if (!SWIG_IsOK(ecode2)) {
4672 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4673 }
4674 arg2 = static_cast< int >(val2);
4675 }
4676 if (obj2) {
4677 {
4678 arg3 = &temp3;
4679 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4680 }
4681 }
4682 if (obj3) {
4683 {
4684 arg4 = &temp4;
4685 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4686 }
4687 }
4688 if (obj4) {
4689 ecode5 = SWIG_AsVal_long(obj4, &val5);
4690 if (!SWIG_IsOK(ecode5)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4692 }
4693 arg5 = static_cast< long >(val5);
4694 }
4695 {
4696 if (!wxPyCheckForApp()) SWIG_fail;
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4699 wxPyEndAllowThreads(__tstate);
4700 if (PyErr_Occurred()) SWIG_fail;
4701 }
4702 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4703 return resultobj;
4704 fail:
4705 return NULL;
4706 }
4707
4708
4709 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4710 PyObject *resultobj = 0;
4711 wxLEDNumberCtrl *result = 0 ;
4712
4713 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4714 {
4715 if (!wxPyCheckForApp()) SWIG_fail;
4716 PyThreadState* __tstate = wxPyBeginAllowThreads();
4717 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4718 wxPyEndAllowThreads(__tstate);
4719 if (PyErr_Occurred()) SWIG_fail;
4720 }
4721 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4722 return resultobj;
4723 fail:
4724 return NULL;
4725 }
4726
4727
4728 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4729 PyObject *resultobj = 0;
4730 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4731 wxWindow *arg2 = (wxWindow *) 0 ;
4732 int arg3 = (int) -1 ;
4733 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4734 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4735 wxSize const &arg5_defvalue = wxDefaultSize ;
4736 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4737 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4738 bool result;
4739 void *argp1 = 0 ;
4740 int res1 = 0 ;
4741 void *argp2 = 0 ;
4742 int res2 = 0 ;
4743 int val3 ;
4744 int ecode3 = 0 ;
4745 wxPoint temp4 ;
4746 wxSize temp5 ;
4747 long val6 ;
4748 int ecode6 = 0 ;
4749 PyObject * obj0 = 0 ;
4750 PyObject * obj1 = 0 ;
4751 PyObject * obj2 = 0 ;
4752 PyObject * obj3 = 0 ;
4753 PyObject * obj4 = 0 ;
4754 PyObject * obj5 = 0 ;
4755 char * kwnames[] = {
4756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4757 };
4758
4759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4761 if (!SWIG_IsOK(res1)) {
4762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4763 }
4764 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4766 if (!SWIG_IsOK(res2)) {
4767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4768 }
4769 arg2 = reinterpret_cast< wxWindow * >(argp2);
4770 if (obj2) {
4771 ecode3 = SWIG_AsVal_int(obj2, &val3);
4772 if (!SWIG_IsOK(ecode3)) {
4773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4774 }
4775 arg3 = static_cast< int >(val3);
4776 }
4777 if (obj3) {
4778 {
4779 arg4 = &temp4;
4780 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4781 }
4782 }
4783 if (obj4) {
4784 {
4785 arg5 = &temp5;
4786 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4787 }
4788 }
4789 if (obj5) {
4790 ecode6 = SWIG_AsVal_long(obj5, &val6);
4791 if (!SWIG_IsOK(ecode6)) {
4792 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4793 }
4794 arg6 = static_cast< long >(val6);
4795 }
4796 {
4797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4798 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4799 wxPyEndAllowThreads(__tstate);
4800 if (PyErr_Occurred()) SWIG_fail;
4801 }
4802 {
4803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4804 }
4805 return resultobj;
4806 fail:
4807 return NULL;
4808 }
4809
4810
4811 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4812 PyObject *resultobj = 0;
4813 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4814 wxLEDValueAlign result;
4815 void *argp1 = 0 ;
4816 int res1 = 0 ;
4817 PyObject *swig_obj[1] ;
4818
4819 if (!args) SWIG_fail;
4820 swig_obj[0] = args;
4821 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4822 if (!SWIG_IsOK(res1)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4824 }
4825 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 resultobj = SWIG_From_int(static_cast< int >(result));
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4840 PyObject *resultobj = 0;
4841 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4842 bool result;
4843 void *argp1 = 0 ;
4844 int res1 = 0 ;
4845 PyObject *swig_obj[1] ;
4846
4847 if (!args) SWIG_fail;
4848 swig_obj[0] = args;
4849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4850 if (!SWIG_IsOK(res1)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4852 }
4853 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 {
4861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4862 }
4863 return resultobj;
4864 fail:
4865 return NULL;
4866 }
4867
4868
4869 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4870 PyObject *resultobj = 0;
4871 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4872 wxString *result = 0 ;
4873 void *argp1 = 0 ;
4874 int res1 = 0 ;
4875 PyObject *swig_obj[1] ;
4876
4877 if (!args) SWIG_fail;
4878 swig_obj[0] = args;
4879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4880 if (!SWIG_IsOK(res1)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4882 }
4883 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 {
4887 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4888 result = (wxString *) &_result_ref;
4889 }
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
4893 {
4894 #if wxUSE_UNICODE
4895 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4896 #else
4897 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4898 #endif
4899 }
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj = 0;
4908 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4909 wxLEDValueAlign arg2 ;
4910 bool arg3 = (bool) true ;
4911 void *argp1 = 0 ;
4912 int res1 = 0 ;
4913 int val2 ;
4914 int ecode2 = 0 ;
4915 bool val3 ;
4916 int ecode3 = 0 ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 PyObject * obj2 = 0 ;
4920 char * kwnames[] = {
4921 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4922 };
4923
4924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4926 if (!SWIG_IsOK(res1)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4928 }
4929 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4930 ecode2 = SWIG_AsVal_int(obj1, &val2);
4931 if (!SWIG_IsOK(ecode2)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4933 }
4934 arg2 = static_cast< wxLEDValueAlign >(val2);
4935 if (obj2) {
4936 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4937 if (!SWIG_IsOK(ecode3)) {
4938 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4939 }
4940 arg3 = static_cast< bool >(val3);
4941 }
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->SetAlignment(arg2,arg3);
4945 wxPyEndAllowThreads(__tstate);
4946 if (PyErr_Occurred()) SWIG_fail;
4947 }
4948 resultobj = SWIG_Py_Void();
4949 return resultobj;
4950 fail:
4951 return NULL;
4952 }
4953
4954
4955 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4956 PyObject *resultobj = 0;
4957 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4958 bool arg2 ;
4959 bool arg3 = (bool) true ;
4960 void *argp1 = 0 ;
4961 int res1 = 0 ;
4962 bool val2 ;
4963 int ecode2 = 0 ;
4964 bool val3 ;
4965 int ecode3 = 0 ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 PyObject * obj2 = 0 ;
4969 char * kwnames[] = {
4970 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4971 };
4972
4973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4975 if (!SWIG_IsOK(res1)) {
4976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4977 }
4978 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4979 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4980 if (!SWIG_IsOK(ecode2)) {
4981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4982 }
4983 arg2 = static_cast< bool >(val2);
4984 if (obj2) {
4985 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4986 if (!SWIG_IsOK(ecode3)) {
4987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4988 }
4989 arg3 = static_cast< bool >(val3);
4990 }
4991 {
4992 PyThreadState* __tstate = wxPyBeginAllowThreads();
4993 (arg1)->SetDrawFaded(arg2,arg3);
4994 wxPyEndAllowThreads(__tstate);
4995 if (PyErr_Occurred()) SWIG_fail;
4996 }
4997 resultobj = SWIG_Py_Void();
4998 return resultobj;
4999 fail:
5000 return NULL;
5001 }
5002
5003
5004 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj = 0;
5006 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5007 wxString *arg2 = 0 ;
5008 bool arg3 = (bool) true ;
5009 void *argp1 = 0 ;
5010 int res1 = 0 ;
5011 bool temp2 = false ;
5012 bool val3 ;
5013 int ecode3 = 0 ;
5014 PyObject * obj0 = 0 ;
5015 PyObject * obj1 = 0 ;
5016 PyObject * obj2 = 0 ;
5017 char * kwnames[] = {
5018 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5019 };
5020
5021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5023 if (!SWIG_IsOK(res1)) {
5024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5025 }
5026 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5027 {
5028 arg2 = wxString_in_helper(obj1);
5029 if (arg2 == NULL) SWIG_fail;
5030 temp2 = true;
5031 }
5032 if (obj2) {
5033 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5034 if (!SWIG_IsOK(ecode3)) {
5035 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5036 }
5037 arg3 = static_cast< bool >(val3);
5038 }
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 (arg1)->SetValue((wxString const &)*arg2,arg3);
5042 wxPyEndAllowThreads(__tstate);
5043 if (PyErr_Occurred()) SWIG_fail;
5044 }
5045 resultobj = SWIG_Py_Void();
5046 {
5047 if (temp2)
5048 delete arg2;
5049 }
5050 return resultobj;
5051 fail:
5052 {
5053 if (temp2)
5054 delete arg2;
5055 }
5056 return NULL;
5057 }
5058
5059
5060 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5061 PyObject *obj;
5062 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5063 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5064 return SWIG_Py_Void();
5065 }
5066
5067 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5068 return SWIG_Python_InitShadowInstance(args);
5069 }
5070
5071 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5072 PyObject *resultobj = 0;
5073 wxString const &arg1_defvalue = wxPyEmptyString ;
5074 wxString *arg1 = (wxString *) &arg1_defvalue ;
5075 int arg2 = (int) -1 ;
5076 size_t arg3 = (size_t) 100 ;
5077 bool arg4 = (bool) true ;
5078 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5079 wxTreeListColumnInfo *result = 0 ;
5080 bool temp1 = false ;
5081 int val2 ;
5082 int ecode2 = 0 ;
5083 size_t val3 ;
5084 int ecode3 = 0 ;
5085 bool val4 ;
5086 int ecode4 = 0 ;
5087 int val5 ;
5088 int ecode5 = 0 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 PyObject * obj2 = 0 ;
5092 PyObject * obj3 = 0 ;
5093 PyObject * obj4 = 0 ;
5094 char * kwnames[] = {
5095 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5096 };
5097
5098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5099 if (obj0) {
5100 {
5101 arg1 = wxString_in_helper(obj0);
5102 if (arg1 == NULL) SWIG_fail;
5103 temp1 = true;
5104 }
5105 }
5106 if (obj1) {
5107 ecode2 = SWIG_AsVal_int(obj1, &val2);
5108 if (!SWIG_IsOK(ecode2)) {
5109 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5110 }
5111 arg2 = static_cast< int >(val2);
5112 }
5113 if (obj2) {
5114 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5115 if (!SWIG_IsOK(ecode3)) {
5116 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5117 }
5118 arg3 = static_cast< size_t >(val3);
5119 }
5120 if (obj3) {
5121 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5122 if (!SWIG_IsOK(ecode4)) {
5123 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5124 }
5125 arg4 = static_cast< bool >(val4);
5126 }
5127 if (obj4) {
5128 ecode5 = SWIG_AsVal_int(obj4, &val5);
5129 if (!SWIG_IsOK(ecode5)) {
5130 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5131 }
5132 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5133 }
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5141 {
5142 if (temp1)
5143 delete arg1;
5144 }
5145 return resultobj;
5146 fail:
5147 {
5148 if (temp1)
5149 delete arg1;
5150 }
5151 return NULL;
5152 }
5153
5154
5155 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5156 PyObject *resultobj = 0;
5157 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5158 void *argp1 = 0 ;
5159 int res1 = 0 ;
5160 PyObject *swig_obj[1] ;
5161
5162 if (!args) SWIG_fail;
5163 swig_obj[0] = args;
5164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5165 if (!SWIG_IsOK(res1)) {
5166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5167 }
5168 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 delete arg1;
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = SWIG_Py_Void();
5177 return resultobj;
5178 fail:
5179 return NULL;
5180 }
5181
5182
5183 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5184 PyObject *resultobj = 0;
5185 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5186 bool result;
5187 void *argp1 = 0 ;
5188 int res1 = 0 ;
5189 PyObject *swig_obj[1] ;
5190
5191 if (!args) SWIG_fail;
5192 swig_obj[0] = args;
5193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5194 if (!SWIG_IsOK(res1)) {
5195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5196 }
5197 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 {
5205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5206 }
5207 return resultobj;
5208 fail:
5209 return NULL;
5210 }
5211
5212
5213 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5214 PyObject *resultobj = 0;
5215 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5216 wxTreeListColumnAlign result;
5217 void *argp1 = 0 ;
5218 int res1 = 0 ;
5219 PyObject *swig_obj[1] ;
5220
5221 if (!args) SWIG_fail;
5222 swig_obj[0] = args;
5223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5224 if (!SWIG_IsOK(res1)) {
5225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5226 }
5227 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 resultobj = SWIG_From_int(static_cast< int >(result));
5235 return resultobj;
5236 fail:
5237 return NULL;
5238 }
5239
5240
5241 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5242 PyObject *resultobj = 0;
5243 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5244 wxString result;
5245 void *argp1 = 0 ;
5246 int res1 = 0 ;
5247 PyObject *swig_obj[1] ;
5248
5249 if (!args) SWIG_fail;
5250 swig_obj[0] = args;
5251 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5252 if (!SWIG_IsOK(res1)) {
5253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5254 }
5255 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5259 wxPyEndAllowThreads(__tstate);
5260 if (PyErr_Occurred()) SWIG_fail;
5261 }
5262 {
5263 #if wxUSE_UNICODE
5264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5265 #else
5266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5267 #endif
5268 }
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5276 PyObject *resultobj = 0;
5277 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5278 int result;
5279 void *argp1 = 0 ;
5280 int res1 = 0 ;
5281 PyObject *swig_obj[1] ;
5282
5283 if (!args) SWIG_fail;
5284 swig_obj[0] = args;
5285 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5286 if (!SWIG_IsOK(res1)) {
5287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5288 }
5289 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5293 wxPyEndAllowThreads(__tstate);
5294 if (PyErr_Occurred()) SWIG_fail;
5295 }
5296 resultobj = SWIG_From_int(static_cast< int >(result));
5297 return resultobj;
5298 fail:
5299 return NULL;
5300 }
5301
5302
5303 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5304 PyObject *resultobj = 0;
5305 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5306 int result;
5307 void *argp1 = 0 ;
5308 int res1 = 0 ;
5309 PyObject *swig_obj[1] ;
5310
5311 if (!args) SWIG_fail;
5312 swig_obj[0] = args;
5313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5314 if (!SWIG_IsOK(res1)) {
5315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5316 }
5317 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5321 wxPyEndAllowThreads(__tstate);
5322 if (PyErr_Occurred()) SWIG_fail;
5323 }
5324 resultobj = SWIG_From_int(static_cast< int >(result));
5325 return resultobj;
5326 fail:
5327 return NULL;
5328 }
5329
5330
5331 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5332 PyObject *resultobj = 0;
5333 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5334 size_t result;
5335 void *argp1 = 0 ;
5336 int res1 = 0 ;
5337 PyObject *swig_obj[1] ;
5338
5339 if (!args) SWIG_fail;
5340 swig_obj[0] = args;
5341 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5342 if (!SWIG_IsOK(res1)) {
5343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5344 }
5345 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5360 PyObject *resultobj = 0;
5361 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5362 bool arg2 ;
5363 void *argp1 = 0 ;
5364 int res1 = 0 ;
5365 bool val2 ;
5366 int ecode2 = 0 ;
5367 PyObject * obj0 = 0 ;
5368 PyObject * obj1 = 0 ;
5369 char * kwnames[] = {
5370 (char *) "self",(char *) "shown", NULL
5371 };
5372
5373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5375 if (!SWIG_IsOK(res1)) {
5376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5377 }
5378 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5379 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5380 if (!SWIG_IsOK(ecode2)) {
5381 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5382 }
5383 arg2 = static_cast< bool >(val2);
5384 {
5385 PyThreadState* __tstate = wxPyBeginAllowThreads();
5386 (arg1)->SetShown(arg2);
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 resultobj = SWIG_Py_Void();
5391 return resultobj;
5392 fail:
5393 return NULL;
5394 }
5395
5396
5397 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj = 0;
5399 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5400 wxTreeListColumnAlign arg2 ;
5401 void *argp1 = 0 ;
5402 int res1 = 0 ;
5403 int val2 ;
5404 int ecode2 = 0 ;
5405 PyObject * obj0 = 0 ;
5406 PyObject * obj1 = 0 ;
5407 char * kwnames[] = {
5408 (char *) "self",(char *) "alignment", NULL
5409 };
5410
5411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5413 if (!SWIG_IsOK(res1)) {
5414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5415 }
5416 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5417 ecode2 = SWIG_AsVal_int(obj1, &val2);
5418 if (!SWIG_IsOK(ecode2)) {
5419 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5420 }
5421 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5422 {
5423 PyThreadState* __tstate = wxPyBeginAllowThreads();
5424 (arg1)->SetAlignment(arg2);
5425 wxPyEndAllowThreads(__tstate);
5426 if (PyErr_Occurred()) SWIG_fail;
5427 }
5428 resultobj = SWIG_Py_Void();
5429 return resultobj;
5430 fail:
5431 return NULL;
5432 }
5433
5434
5435 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj = 0;
5437 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5438 wxString *arg2 = 0 ;
5439 void *argp1 = 0 ;
5440 int res1 = 0 ;
5441 bool temp2 = false ;
5442 PyObject * obj0 = 0 ;
5443 PyObject * obj1 = 0 ;
5444 char * kwnames[] = {
5445 (char *) "self",(char *) "text", NULL
5446 };
5447
5448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5450 if (!SWIG_IsOK(res1)) {
5451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5452 }
5453 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5454 {
5455 arg2 = wxString_in_helper(obj1);
5456 if (arg2 == NULL) SWIG_fail;
5457 temp2 = true;
5458 }
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 (arg1)->SetText((wxString const &)*arg2);
5462 wxPyEndAllowThreads(__tstate);
5463 if (PyErr_Occurred()) SWIG_fail;
5464 }
5465 resultobj = SWIG_Py_Void();
5466 {
5467 if (temp2)
5468 delete arg2;
5469 }
5470 return resultobj;
5471 fail:
5472 {
5473 if (temp2)
5474 delete arg2;
5475 }
5476 return NULL;
5477 }
5478
5479
5480 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj = 0;
5482 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5483 int arg2 ;
5484 void *argp1 = 0 ;
5485 int res1 = 0 ;
5486 int val2 ;
5487 int ecode2 = 0 ;
5488 PyObject * obj0 = 0 ;
5489 PyObject * obj1 = 0 ;
5490 char * kwnames[] = {
5491 (char *) "self",(char *) "image", NULL
5492 };
5493
5494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5496 if (!SWIG_IsOK(res1)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5498 }
5499 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5500 ecode2 = SWIG_AsVal_int(obj1, &val2);
5501 if (!SWIG_IsOK(ecode2)) {
5502 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5503 }
5504 arg2 = static_cast< int >(val2);
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->SetImage(arg2);
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 resultobj = SWIG_Py_Void();
5512 return resultobj;
5513 fail:
5514 return NULL;
5515 }
5516
5517
5518 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj = 0;
5520 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5521 int arg2 ;
5522 void *argp1 = 0 ;
5523 int res1 = 0 ;
5524 int val2 ;
5525 int ecode2 = 0 ;
5526 PyObject * obj0 = 0 ;
5527 PyObject * obj1 = 0 ;
5528 char * kwnames[] = {
5529 (char *) "self",(char *) "image", NULL
5530 };
5531
5532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5534 if (!SWIG_IsOK(res1)) {
5535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5536 }
5537 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5538 ecode2 = SWIG_AsVal_int(obj1, &val2);
5539 if (!SWIG_IsOK(ecode2)) {
5540 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5541 }
5542 arg2 = static_cast< int >(val2);
5543 {
5544 PyThreadState* __tstate = wxPyBeginAllowThreads();
5545 (arg1)->SetSelectedImage(arg2);
5546 wxPyEndAllowThreads(__tstate);
5547 if (PyErr_Occurred()) SWIG_fail;
5548 }
5549 resultobj = SWIG_Py_Void();
5550 return resultobj;
5551 fail:
5552 return NULL;
5553 }
5554
5555
5556 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5557 PyObject *resultobj = 0;
5558 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5559 size_t arg2 ;
5560 void *argp1 = 0 ;
5561 int res1 = 0 ;
5562 size_t val2 ;
5563 int ecode2 = 0 ;
5564 PyObject * obj0 = 0 ;
5565 PyObject * obj1 = 0 ;
5566 char * kwnames[] = {
5567 (char *) "self",(char *) "with", NULL
5568 };
5569
5570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5572 if (!SWIG_IsOK(res1)) {
5573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5574 }
5575 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5576 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5577 if (!SWIG_IsOK(ecode2)) {
5578 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5579 }
5580 arg2 = static_cast< size_t >(val2);
5581 {
5582 PyThreadState* __tstate = wxPyBeginAllowThreads();
5583 (arg1)->SetWidth(arg2);
5584 wxPyEndAllowThreads(__tstate);
5585 if (PyErr_Occurred()) SWIG_fail;
5586 }
5587 resultobj = SWIG_Py_Void();
5588 return resultobj;
5589 fail:
5590 return NULL;
5591 }
5592
5593
5594 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5595 PyObject *obj;
5596 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5597 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5598 return SWIG_Py_Void();
5599 }
5600
5601 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5602 return SWIG_Python_InitShadowInstance(args);
5603 }
5604
5605 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj = 0;
5607 wxWindow *arg1 = (wxWindow *) 0 ;
5608 int arg2 = (int) -1 ;
5609 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5610 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5611 wxSize const &arg4_defvalue = wxDefaultSize ;
5612 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5613 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5614 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5615 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5616 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5617 wxString *arg7 = (wxString *) &arg7_defvalue ;
5618 wxPyTreeListCtrl *result = 0 ;
5619 void *argp1 = 0 ;
5620 int res1 = 0 ;
5621 int val2 ;
5622 int ecode2 = 0 ;
5623 wxPoint temp3 ;
5624 wxSize temp4 ;
5625 long val5 ;
5626 int ecode5 = 0 ;
5627 void *argp6 = 0 ;
5628 int res6 = 0 ;
5629 bool temp7 = false ;
5630 PyObject * obj0 = 0 ;
5631 PyObject * obj1 = 0 ;
5632 PyObject * obj2 = 0 ;
5633 PyObject * obj3 = 0 ;
5634 PyObject * obj4 = 0 ;
5635 PyObject * obj5 = 0 ;
5636 PyObject * obj6 = 0 ;
5637 char * kwnames[] = {
5638 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5639 };
5640
5641 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5642 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5643 if (!SWIG_IsOK(res1)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5645 }
5646 arg1 = reinterpret_cast< wxWindow * >(argp1);
5647 if (obj1) {
5648 ecode2 = SWIG_AsVal_int(obj1, &val2);
5649 if (!SWIG_IsOK(ecode2)) {
5650 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5651 }
5652 arg2 = static_cast< int >(val2);
5653 }
5654 if (obj2) {
5655 {
5656 arg3 = &temp3;
5657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5658 }
5659 }
5660 if (obj3) {
5661 {
5662 arg4 = &temp4;
5663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5664 }
5665 }
5666 if (obj4) {
5667 ecode5 = SWIG_AsVal_long(obj4, &val5);
5668 if (!SWIG_IsOK(ecode5)) {
5669 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5670 }
5671 arg5 = static_cast< long >(val5);
5672 }
5673 if (obj5) {
5674 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5675 if (!SWIG_IsOK(res6)) {
5676 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5677 }
5678 if (!argp6) {
5679 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5680 }
5681 arg6 = reinterpret_cast< wxValidator * >(argp6);
5682 }
5683 if (obj6) {
5684 {
5685 arg7 = wxString_in_helper(obj6);
5686 if (arg7 == NULL) SWIG_fail;
5687 temp7 = true;
5688 }
5689 }
5690 {
5691 if (!wxPyCheckForApp()) SWIG_fail;
5692 PyThreadState* __tstate = wxPyBeginAllowThreads();
5693 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5694 wxPyEndAllowThreads(__tstate);
5695 if (PyErr_Occurred()) SWIG_fail;
5696 }
5697 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5698 {
5699 if (temp7)
5700 delete arg7;
5701 }
5702 return resultobj;
5703 fail:
5704 {
5705 if (temp7)
5706 delete arg7;
5707 }
5708 return NULL;
5709 }
5710
5711
5712 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5713 PyObject *resultobj = 0;
5714 wxPyTreeListCtrl *result = 0 ;
5715
5716 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5717 {
5718 if (!wxPyCheckForApp()) SWIG_fail;
5719 PyThreadState* __tstate = wxPyBeginAllowThreads();
5720 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5721 wxPyEndAllowThreads(__tstate);
5722 if (PyErr_Occurred()) SWIG_fail;
5723 }
5724 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5725 return resultobj;
5726 fail:
5727 return NULL;
5728 }
5729
5730
5731 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5732 PyObject *resultobj = 0;
5733 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5734 wxWindow *arg2 = (wxWindow *) 0 ;
5735 int arg3 = (int) -1 ;
5736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5738 wxSize const &arg5_defvalue = wxDefaultSize ;
5739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5740 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5741 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5742 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5743 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5744 wxString *arg8 = (wxString *) &arg8_defvalue ;
5745 bool result;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 void *argp2 = 0 ;
5749 int res2 = 0 ;
5750 int val3 ;
5751 int ecode3 = 0 ;
5752 wxPoint temp4 ;
5753 wxSize temp5 ;
5754 long val6 ;
5755 int ecode6 = 0 ;
5756 void *argp7 = 0 ;
5757 int res7 = 0 ;
5758 bool temp8 = false ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 PyObject * obj2 = 0 ;
5762 PyObject * obj3 = 0 ;
5763 PyObject * obj4 = 0 ;
5764 PyObject * obj5 = 0 ;
5765 PyObject * obj6 = 0 ;
5766 PyObject * obj7 = 0 ;
5767 char * kwnames[] = {
5768 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5775 }
5776 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5777 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5778 if (!SWIG_IsOK(res2)) {
5779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5780 }
5781 arg2 = reinterpret_cast< wxWindow * >(argp2);
5782 if (obj2) {
5783 ecode3 = SWIG_AsVal_int(obj2, &val3);
5784 if (!SWIG_IsOK(ecode3)) {
5785 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5786 }
5787 arg3 = static_cast< int >(val3);
5788 }
5789 if (obj3) {
5790 {
5791 arg4 = &temp4;
5792 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5793 }
5794 }
5795 if (obj4) {
5796 {
5797 arg5 = &temp5;
5798 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5799 }
5800 }
5801 if (obj5) {
5802 ecode6 = SWIG_AsVal_long(obj5, &val6);
5803 if (!SWIG_IsOK(ecode6)) {
5804 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5805 }
5806 arg6 = static_cast< long >(val6);
5807 }
5808 if (obj6) {
5809 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5810 if (!SWIG_IsOK(res7)) {
5811 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5812 }
5813 if (!argp7) {
5814 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5815 }
5816 arg7 = reinterpret_cast< wxValidator * >(argp7);
5817 }
5818 if (obj7) {
5819 {
5820 arg8 = wxString_in_helper(obj7);
5821 if (arg8 == NULL) SWIG_fail;
5822 temp8 = true;
5823 }
5824 }
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 {
5832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5833 }
5834 {
5835 if (temp8)
5836 delete arg8;
5837 }
5838 return resultobj;
5839 fail:
5840 {
5841 if (temp8)
5842 delete arg8;
5843 }
5844 return NULL;
5845 }
5846
5847
5848 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5849 PyObject *resultobj = 0;
5850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5851 PyObject *arg2 = (PyObject *) 0 ;
5852 PyObject *arg3 = (PyObject *) 0 ;
5853 void *argp1 = 0 ;
5854 int res1 = 0 ;
5855 PyObject * obj0 = 0 ;
5856 PyObject * obj1 = 0 ;
5857 PyObject * obj2 = 0 ;
5858 char * kwnames[] = {
5859 (char *) "self",(char *) "self",(char *) "_class", NULL
5860 };
5861
5862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5864 if (!SWIG_IsOK(res1)) {
5865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5866 }
5867 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5868 arg2 = obj1;
5869 arg3 = obj2;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 (arg1)->_setCallbackInfo(arg2,arg3);
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 resultobj = SWIG_Py_Void();
5877 return resultobj;
5878 fail:
5879 return NULL;
5880 }
5881
5882
5883 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5884 PyObject *resultobj = 0;
5885 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5886 size_t result;
5887 void *argp1 = 0 ;
5888 int res1 = 0 ;
5889 PyObject *swig_obj[1] ;
5890
5891 if (!args) SWIG_fail;
5892 swig_obj[0] = args;
5893 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5894 if (!SWIG_IsOK(res1)) {
5895 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5896 }
5897 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5901 wxPyEndAllowThreads(__tstate);
5902 if (PyErr_Occurred()) SWIG_fail;
5903 }
5904 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5905 return resultobj;
5906 fail:
5907 return NULL;
5908 }
5909
5910
5911 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5912 PyObject *resultobj = 0;
5913 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5914 unsigned int result;
5915 void *argp1 = 0 ;
5916 int res1 = 0 ;
5917 PyObject *swig_obj[1] ;
5918
5919 if (!args) SWIG_fail;
5920 swig_obj[0] = args;
5921 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5922 if (!SWIG_IsOK(res1)) {
5923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5924 }
5925 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5933 return resultobj;
5934 fail:
5935 return NULL;
5936 }
5937
5938
5939 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5940 PyObject *resultobj = 0;
5941 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5942 unsigned int arg2 ;
5943 void *argp1 = 0 ;
5944 int res1 = 0 ;
5945 unsigned int val2 ;
5946 int ecode2 = 0 ;
5947 PyObject * obj0 = 0 ;
5948 PyObject * obj1 = 0 ;
5949 char * kwnames[] = {
5950 (char *) "self",(char *) "indent", NULL
5951 };
5952
5953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5955 if (!SWIG_IsOK(res1)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5957 }
5958 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5959 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5960 if (!SWIG_IsOK(ecode2)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5962 }
5963 arg2 = static_cast< unsigned int >(val2);
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 (arg1)->SetIndent(arg2);
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 resultobj = SWIG_Py_Void();
5971 return resultobj;
5972 fail:
5973 return NULL;
5974 }
5975
5976
5977 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5978 PyObject *resultobj = 0;
5979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5980 unsigned int result;
5981 void *argp1 = 0 ;
5982 int res1 = 0 ;
5983 PyObject *swig_obj[1] ;
5984
5985 if (!args) SWIG_fail;
5986 swig_obj[0] = args;
5987 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5988 if (!SWIG_IsOK(res1)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5990 }
5991 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5992 {
5993 PyThreadState* __tstate = wxPyBeginAllowThreads();
5994 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5995 wxPyEndAllowThreads(__tstate);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5999 return resultobj;
6000 fail:
6001 return NULL;
6002 }
6003
6004
6005 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6006 PyObject *resultobj = 0;
6007 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6008 unsigned int arg2 ;
6009 void *argp1 = 0 ;
6010 int res1 = 0 ;
6011 unsigned int val2 ;
6012 int ecode2 = 0 ;
6013 PyObject * obj0 = 0 ;
6014 PyObject * obj1 = 0 ;
6015 char * kwnames[] = {
6016 (char *) "self",(char *) "spacing", NULL
6017 };
6018
6019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6023 }
6024 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6025 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6026 if (!SWIG_IsOK(ecode2)) {
6027 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6028 }
6029 arg2 = static_cast< unsigned int >(val2);
6030 {
6031 PyThreadState* __tstate = wxPyBeginAllowThreads();
6032 (arg1)->SetLineSpacing(arg2);
6033 wxPyEndAllowThreads(__tstate);
6034 if (PyErr_Occurred()) SWIG_fail;
6035 }
6036 resultobj = SWIG_Py_Void();
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6044 PyObject *resultobj = 0;
6045 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6046 wxImageList *result = 0 ;
6047 void *argp1 = 0 ;
6048 int res1 = 0 ;
6049 PyObject *swig_obj[1] ;
6050
6051 if (!args) SWIG_fail;
6052 swig_obj[0] = args;
6053 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6054 if (!SWIG_IsOK(res1)) {
6055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6056 }
6057 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6061 wxPyEndAllowThreads(__tstate);
6062 if (PyErr_Occurred()) SWIG_fail;
6063 }
6064 {
6065 resultobj = wxPyMake_wxObject(result, (bool)0);
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6074 PyObject *resultobj = 0;
6075 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6076 wxImageList *result = 0 ;
6077 void *argp1 = 0 ;
6078 int res1 = 0 ;
6079 PyObject *swig_obj[1] ;
6080
6081 if (!args) SWIG_fail;
6082 swig_obj[0] = args;
6083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6086 }
6087 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6091 wxPyEndAllowThreads(__tstate);
6092 if (PyErr_Occurred()) SWIG_fail;
6093 }
6094 {
6095 resultobj = wxPyMake_wxObject(result, (bool)0);
6096 }
6097 return resultobj;
6098 fail:
6099 return NULL;
6100 }
6101
6102
6103 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6104 PyObject *resultobj = 0;
6105 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6106 wxImageList *result = 0 ;
6107 void *argp1 = 0 ;
6108 int res1 = 0 ;
6109 PyObject *swig_obj[1] ;
6110
6111 if (!args) SWIG_fail;
6112 swig_obj[0] = args;
6113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6114 if (!SWIG_IsOK(res1)) {
6115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6116 }
6117 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6121 wxPyEndAllowThreads(__tstate);
6122 if (PyErr_Occurred()) SWIG_fail;
6123 }
6124 {
6125 resultobj = wxPyMake_wxObject(result, (bool)0);
6126 }
6127 return resultobj;
6128 fail:
6129 return NULL;
6130 }
6131
6132
6133 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj = 0;
6135 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6136 wxImageList *arg2 = (wxImageList *) 0 ;
6137 void *argp1 = 0 ;
6138 int res1 = 0 ;
6139 void *argp2 = 0 ;
6140 int res2 = 0 ;
6141 PyObject * obj0 = 0 ;
6142 PyObject * obj1 = 0 ;
6143 char * kwnames[] = {
6144 (char *) "self",(char *) "imageList", NULL
6145 };
6146
6147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6149 if (!SWIG_IsOK(res1)) {
6150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6151 }
6152 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6153 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6154 if (!SWIG_IsOK(res2)) {
6155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6156 }
6157 arg2 = reinterpret_cast< wxImageList * >(argp2);
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 (arg1)->SetImageList(arg2);
6161 wxPyEndAllowThreads(__tstate);
6162 if (PyErr_Occurred()) SWIG_fail;
6163 }
6164 resultobj = SWIG_Py_Void();
6165 return resultobj;
6166 fail:
6167 return NULL;
6168 }
6169
6170
6171 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6172 PyObject *resultobj = 0;
6173 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6174 wxImageList *arg2 = (wxImageList *) 0 ;
6175 void *argp1 = 0 ;
6176 int res1 = 0 ;
6177 void *argp2 = 0 ;
6178 int res2 = 0 ;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 char * kwnames[] = {
6182 (char *) "self",(char *) "imageList", NULL
6183 };
6184
6185 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6186 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6189 }
6190 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6191 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6192 if (!SWIG_IsOK(res2)) {
6193 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6194 }
6195 arg2 = reinterpret_cast< wxImageList * >(argp2);
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->SetStateImageList(arg2);
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 resultobj = SWIG_Py_Void();
6203 return resultobj;
6204 fail:
6205 return NULL;
6206 }
6207
6208
6209 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6210 PyObject *resultobj = 0;
6211 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6212 wxImageList *arg2 = (wxImageList *) 0 ;
6213 void *argp1 = 0 ;
6214 int res1 = 0 ;
6215 void *argp2 = 0 ;
6216 int res2 = 0 ;
6217 PyObject * obj0 = 0 ;
6218 PyObject * obj1 = 0 ;
6219 char * kwnames[] = {
6220 (char *) "self",(char *) "imageList", NULL
6221 };
6222
6223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6225 if (!SWIG_IsOK(res1)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6227 }
6228 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6229 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6230 if (!SWIG_IsOK(res2)) {
6231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6232 }
6233 arg2 = reinterpret_cast< wxImageList * >(argp2);
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 (arg1)->SetButtonsImageList(arg2);
6237 wxPyEndAllowThreads(__tstate);
6238 if (PyErr_Occurred()) SWIG_fail;
6239 }
6240 resultobj = SWIG_Py_Void();
6241 return resultobj;
6242 fail:
6243 return NULL;
6244 }
6245
6246
6247 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6248 PyObject *resultobj = 0;
6249 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6250 wxImageList *arg2 = (wxImageList *) 0 ;
6251 void *argp1 = 0 ;
6252 int res1 = 0 ;
6253 int res2 = 0 ;
6254 PyObject * obj0 = 0 ;
6255 PyObject * obj1 = 0 ;
6256 char * kwnames[] = {
6257 (char *) "self",(char *) "imageList", NULL
6258 };
6259
6260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6262 if (!SWIG_IsOK(res1)) {
6263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6264 }
6265 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6266 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6267 if (!SWIG_IsOK(res2)) {
6268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6269 }
6270 {
6271 PyThreadState* __tstate = wxPyBeginAllowThreads();
6272 (arg1)->AssignImageList(arg2);
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 resultobj = SWIG_Py_Void();
6277 return resultobj;
6278 fail:
6279 return NULL;
6280 }
6281
6282
6283 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6284 PyObject *resultobj = 0;
6285 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6286 wxImageList *arg2 = (wxImageList *) 0 ;
6287 void *argp1 = 0 ;
6288 int res1 = 0 ;
6289 int res2 = 0 ;
6290 PyObject * obj0 = 0 ;
6291 PyObject * obj1 = 0 ;
6292 char * kwnames[] = {
6293 (char *) "self",(char *) "imageList", NULL
6294 };
6295
6296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6298 if (!SWIG_IsOK(res1)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6300 }
6301 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6302 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6303 if (!SWIG_IsOK(res2)) {
6304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6305 }
6306 {
6307 PyThreadState* __tstate = wxPyBeginAllowThreads();
6308 (arg1)->AssignStateImageList(arg2);
6309 wxPyEndAllowThreads(__tstate);
6310 if (PyErr_Occurred()) SWIG_fail;
6311 }
6312 resultobj = SWIG_Py_Void();
6313 return resultobj;
6314 fail:
6315 return NULL;
6316 }
6317
6318
6319 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6320 PyObject *resultobj = 0;
6321 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6322 wxImageList *arg2 = (wxImageList *) 0 ;
6323 void *argp1 = 0 ;
6324 int res1 = 0 ;
6325 int res2 = 0 ;
6326 PyObject * obj0 = 0 ;
6327 PyObject * obj1 = 0 ;
6328 char * kwnames[] = {
6329 (char *) "self",(char *) "imageList", NULL
6330 };
6331
6332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6334 if (!SWIG_IsOK(res1)) {
6335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6336 }
6337 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6338 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6339 if (!SWIG_IsOK(res2)) {
6340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 (arg1)->AssignButtonsImageList(arg2);
6345 wxPyEndAllowThreads(__tstate);
6346 if (PyErr_Occurred()) SWIG_fail;
6347 }
6348 resultobj = SWIG_Py_Void();
6349 return resultobj;
6350 fail:
6351 return NULL;
6352 }
6353
6354
6355 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6356 PyObject *resultobj = 0;
6357 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6358 wxString *arg2 = 0 ;
6359 void *argp1 = 0 ;
6360 int res1 = 0 ;
6361 bool temp2 = false ;
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
6364 char * kwnames[] = {
6365 (char *) "self",(char *) "text", NULL
6366 };
6367
6368 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6369 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6370 if (!SWIG_IsOK(res1)) {
6371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6372 }
6373 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6374 {
6375 arg2 = wxString_in_helper(obj1);
6376 if (arg2 == NULL) SWIG_fail;
6377 temp2 = true;
6378 }
6379 {
6380 PyThreadState* __tstate = wxPyBeginAllowThreads();
6381 (arg1)->AddColumn((wxString const &)*arg2);
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = SWIG_Py_Void();
6386 {
6387 if (temp2)
6388 delete arg2;
6389 }
6390 return resultobj;
6391 fail:
6392 {
6393 if (temp2)
6394 delete arg2;
6395 }
6396 return NULL;
6397 }
6398
6399
6400 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6401 PyObject *resultobj = 0;
6402 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6403 wxTreeListColumnInfo *arg2 = 0 ;
6404 void *argp1 = 0 ;
6405 int res1 = 0 ;
6406 void *argp2 = 0 ;
6407 int res2 = 0 ;
6408 PyObject * obj0 = 0 ;
6409 PyObject * obj1 = 0 ;
6410 char * kwnames[] = {
6411 (char *) "self",(char *) "col", NULL
6412 };
6413
6414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6416 if (!SWIG_IsOK(res1)) {
6417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6418 }
6419 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6421 if (!SWIG_IsOK(res2)) {
6422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6423 }
6424 if (!argp2) {
6425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6426 }
6427 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6428 {
6429 PyThreadState* __tstate = wxPyBeginAllowThreads();
6430 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 resultobj = SWIG_Py_Void();
6435 return resultobj;
6436 fail:
6437 return NULL;
6438 }
6439
6440
6441 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6442 PyObject *resultobj = 0;
6443 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6444 size_t arg2 ;
6445 wxString *arg3 = 0 ;
6446 void *argp1 = 0 ;
6447 int res1 = 0 ;
6448 size_t val2 ;
6449 int ecode2 = 0 ;
6450 bool temp3 = false ;
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 PyObject * obj2 = 0 ;
6454 char * kwnames[] = {
6455 (char *) "self",(char *) "before",(char *) "text", NULL
6456 };
6457
6458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6460 if (!SWIG_IsOK(res1)) {
6461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6462 }
6463 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6464 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6465 if (!SWIG_IsOK(ecode2)) {
6466 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6467 }
6468 arg2 = static_cast< size_t >(val2);
6469 {
6470 arg3 = wxString_in_helper(obj2);
6471 if (arg3 == NULL) SWIG_fail;
6472 temp3 = true;
6473 }
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 resultobj = SWIG_Py_Void();
6481 {
6482 if (temp3)
6483 delete arg3;
6484 }
6485 return resultobj;
6486 fail:
6487 {
6488 if (temp3)
6489 delete arg3;
6490 }
6491 return NULL;
6492 }
6493
6494
6495 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj = 0;
6497 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6498 size_t arg2 ;
6499 wxTreeListColumnInfo *arg3 = 0 ;
6500 void *argp1 = 0 ;
6501 int res1 = 0 ;
6502 size_t val2 ;
6503 int ecode2 = 0 ;
6504 void *argp3 = 0 ;
6505 int res3 = 0 ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 PyObject * obj2 = 0 ;
6509 char * kwnames[] = {
6510 (char *) "self",(char *) "before",(char *) "col", NULL
6511 };
6512
6513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6515 if (!SWIG_IsOK(res1)) {
6516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6517 }
6518 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6519 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6520 if (!SWIG_IsOK(ecode2)) {
6521 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6522 }
6523 arg2 = static_cast< size_t >(val2);
6524 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6525 if (!SWIG_IsOK(res3)) {
6526 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6527 }
6528 if (!argp3) {
6529 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6530 }
6531 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6532 {
6533 PyThreadState* __tstate = wxPyBeginAllowThreads();
6534 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6535 wxPyEndAllowThreads(__tstate);
6536 if (PyErr_Occurred()) SWIG_fail;
6537 }
6538 resultobj = SWIG_Py_Void();
6539 return resultobj;
6540 fail:
6541 return NULL;
6542 }
6543
6544
6545 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj = 0;
6547 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6548 size_t arg2 ;
6549 void *argp1 = 0 ;
6550 int res1 = 0 ;
6551 size_t val2 ;
6552 int ecode2 = 0 ;
6553 PyObject * obj0 = 0 ;
6554 PyObject * obj1 = 0 ;
6555 char * kwnames[] = {
6556 (char *) "self",(char *) "column", NULL
6557 };
6558
6559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6561 if (!SWIG_IsOK(res1)) {
6562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6563 }
6564 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6565 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6566 if (!SWIG_IsOK(ecode2)) {
6567 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6568 }
6569 arg2 = static_cast< size_t >(val2);
6570 {
6571 PyThreadState* __tstate = wxPyBeginAllowThreads();
6572 (arg1)->RemoveColumn(arg2);
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 resultobj = SWIG_Py_Void();
6577 return resultobj;
6578 fail:
6579 return NULL;
6580 }
6581
6582
6583 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6584 PyObject *resultobj = 0;
6585 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6586 size_t result;
6587 void *argp1 = 0 ;
6588 int res1 = 0 ;
6589 PyObject *swig_obj[1] ;
6590
6591 if (!args) SWIG_fail;
6592 swig_obj[0] = args;
6593 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6594 if (!SWIG_IsOK(res1)) {
6595 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6596 }
6597 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6601 wxPyEndAllowThreads(__tstate);
6602 if (PyErr_Occurred()) SWIG_fail;
6603 }
6604 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6605 return resultobj;
6606 fail:
6607 return NULL;
6608 }
6609
6610
6611 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6612 PyObject *resultobj = 0;
6613 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6614 size_t arg2 ;
6615 size_t arg3 ;
6616 void *argp1 = 0 ;
6617 int res1 = 0 ;
6618 size_t val2 ;
6619 int ecode2 = 0 ;
6620 size_t val3 ;
6621 int ecode3 = 0 ;
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
6624 PyObject * obj2 = 0 ;
6625 char * kwnames[] = {
6626 (char *) "self",(char *) "column",(char *) "width", NULL
6627 };
6628
6629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6631 if (!SWIG_IsOK(res1)) {
6632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6633 }
6634 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6635 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6636 if (!SWIG_IsOK(ecode2)) {
6637 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6638 }
6639 arg2 = static_cast< size_t >(val2);
6640 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6641 if (!SWIG_IsOK(ecode3)) {
6642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6643 }
6644 arg3 = static_cast< size_t >(val3);
6645 {
6646 PyThreadState* __tstate = wxPyBeginAllowThreads();
6647 (arg1)->SetColumnWidth(arg2,arg3);
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = SWIG_Py_Void();
6652 return resultobj;
6653 fail:
6654 return NULL;
6655 }
6656
6657
6658 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj = 0;
6660 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6661 size_t arg2 ;
6662 int result;
6663 void *argp1 = 0 ;
6664 int res1 = 0 ;
6665 size_t val2 ;
6666 int ecode2 = 0 ;
6667 PyObject * obj0 = 0 ;
6668 PyObject * obj1 = 0 ;
6669 char * kwnames[] = {
6670 (char *) "self",(char *) "column", NULL
6671 };
6672
6673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6675 if (!SWIG_IsOK(res1)) {
6676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6677 }
6678 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6679 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6680 if (!SWIG_IsOK(ecode2)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6682 }
6683 arg2 = static_cast< size_t >(val2);
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6687 wxPyEndAllowThreads(__tstate);
6688 if (PyErr_Occurred()) SWIG_fail;
6689 }
6690 resultobj = SWIG_From_int(static_cast< int >(result));
6691 return resultobj;
6692 fail:
6693 return NULL;
6694 }
6695
6696
6697 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6698 PyObject *resultobj = 0;
6699 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6700 size_t arg2 ;
6701 void *argp1 = 0 ;
6702 int res1 = 0 ;
6703 size_t val2 ;
6704 int ecode2 = 0 ;
6705 PyObject * obj0 = 0 ;
6706 PyObject * obj1 = 0 ;
6707 char * kwnames[] = {
6708 (char *) "self",(char *) "column", NULL
6709 };
6710
6711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6713 if (!SWIG_IsOK(res1)) {
6714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6715 }
6716 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6717 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6718 if (!SWIG_IsOK(ecode2)) {
6719 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6720 }
6721 arg2 = static_cast< size_t >(val2);
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 (arg1)->SetMainColumn(arg2);
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 resultobj = SWIG_Py_Void();
6729 return resultobj;
6730 fail:
6731 return NULL;
6732 }
6733
6734
6735 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6736 PyObject *resultobj = 0;
6737 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6738 size_t result;
6739 void *argp1 = 0 ;
6740 int res1 = 0 ;
6741 PyObject *swig_obj[1] ;
6742
6743 if (!args) SWIG_fail;
6744 swig_obj[0] = args;
6745 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6746 if (!SWIG_IsOK(res1)) {
6747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6748 }
6749 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6750 {
6751 PyThreadState* __tstate = wxPyBeginAllowThreads();
6752 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6757 return resultobj;
6758 fail:
6759 return NULL;
6760 }
6761
6762
6763 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj = 0;
6765 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6766 size_t arg2 ;
6767 wxString *arg3 = 0 ;
6768 void *argp1 = 0 ;
6769 int res1 = 0 ;
6770 size_t val2 ;
6771 int ecode2 = 0 ;
6772 bool temp3 = false ;
6773 PyObject * obj0 = 0 ;
6774 PyObject * obj1 = 0 ;
6775 PyObject * obj2 = 0 ;
6776 char * kwnames[] = {
6777 (char *) "self",(char *) "column",(char *) "text", NULL
6778 };
6779
6780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6782 if (!SWIG_IsOK(res1)) {
6783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6784 }
6785 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6786 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6787 if (!SWIG_IsOK(ecode2)) {
6788 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6789 }
6790 arg2 = static_cast< size_t >(val2);
6791 {
6792 arg3 = wxString_in_helper(obj2);
6793 if (arg3 == NULL) SWIG_fail;
6794 temp3 = true;
6795 }
6796 {
6797 PyThreadState* __tstate = wxPyBeginAllowThreads();
6798 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 resultobj = SWIG_Py_Void();
6803 {
6804 if (temp3)
6805 delete arg3;
6806 }
6807 return resultobj;
6808 fail:
6809 {
6810 if (temp3)
6811 delete arg3;
6812 }
6813 return NULL;
6814 }
6815
6816
6817 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj = 0;
6819 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6820 size_t arg2 ;
6821 wxString result;
6822 void *argp1 = 0 ;
6823 int res1 = 0 ;
6824 size_t val2 ;
6825 int ecode2 = 0 ;
6826 PyObject * obj0 = 0 ;
6827 PyObject * obj1 = 0 ;
6828 char * kwnames[] = {
6829 (char *) "self",(char *) "column", NULL
6830 };
6831
6832 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6833 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6834 if (!SWIG_IsOK(res1)) {
6835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6836 }
6837 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6838 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6839 if (!SWIG_IsOK(ecode2)) {
6840 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6841 }
6842 arg2 = static_cast< size_t >(val2);
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 {
6850 #if wxUSE_UNICODE
6851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6852 #else
6853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6854 #endif
6855 }
6856 return resultobj;
6857 fail:
6858 return NULL;
6859 }
6860
6861
6862 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj = 0;
6864 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6865 size_t arg2 ;
6866 wxTreeListColumnInfo *arg3 = 0 ;
6867 void *argp1 = 0 ;
6868 int res1 = 0 ;
6869 size_t val2 ;
6870 int ecode2 = 0 ;
6871 void *argp3 = 0 ;
6872 int res3 = 0 ;
6873 PyObject * obj0 = 0 ;
6874 PyObject * obj1 = 0 ;
6875 PyObject * obj2 = 0 ;
6876 char * kwnames[] = {
6877 (char *) "self",(char *) "column",(char *) "info", NULL
6878 };
6879
6880 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6881 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6882 if (!SWIG_IsOK(res1)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6884 }
6885 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6886 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6887 if (!SWIG_IsOK(ecode2)) {
6888 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6889 }
6890 arg2 = static_cast< size_t >(val2);
6891 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6892 if (!SWIG_IsOK(res3)) {
6893 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6894 }
6895 if (!argp3) {
6896 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6897 }
6898 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6899 {
6900 PyThreadState* __tstate = wxPyBeginAllowThreads();
6901 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = SWIG_Py_Void();
6906 return resultobj;
6907 fail:
6908 return NULL;
6909 }
6910
6911
6912 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj = 0;
6914 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6915 size_t arg2 ;
6916 wxTreeListColumnInfo *result = 0 ;
6917 void *argp1 = 0 ;
6918 int res1 = 0 ;
6919 size_t val2 ;
6920 int ecode2 = 0 ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 char * kwnames[] = {
6924 (char *) "self",(char *) "column", NULL
6925 };
6926
6927 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6928 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6929 if (!SWIG_IsOK(res1)) {
6930 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6931 }
6932 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6933 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6934 if (!SWIG_IsOK(ecode2)) {
6935 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6936 }
6937 arg2 = static_cast< size_t >(val2);
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 {
6941 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6942 result = (wxTreeListColumnInfo *) &_result_ref;
6943 }
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6948 return resultobj;
6949 fail:
6950 return NULL;
6951 }
6952
6953
6954 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6955 PyObject *resultobj = 0;
6956 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6957 size_t arg2 ;
6958 wxTreeListColumnAlign arg3 ;
6959 void *argp1 = 0 ;
6960 int res1 = 0 ;
6961 size_t val2 ;
6962 int ecode2 = 0 ;
6963 int val3 ;
6964 int ecode3 = 0 ;
6965 PyObject * obj0 = 0 ;
6966 PyObject * obj1 = 0 ;
6967 PyObject * obj2 = 0 ;
6968 char * kwnames[] = {
6969 (char *) "self",(char *) "column",(char *) "align", NULL
6970 };
6971
6972 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6973 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6974 if (!SWIG_IsOK(res1)) {
6975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6976 }
6977 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6978 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6979 if (!SWIG_IsOK(ecode2)) {
6980 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6981 }
6982 arg2 = static_cast< size_t >(val2);
6983 ecode3 = SWIG_AsVal_int(obj2, &val3);
6984 if (!SWIG_IsOK(ecode3)) {
6985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6986 }
6987 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6988 {
6989 PyThreadState* __tstate = wxPyBeginAllowThreads();
6990 (arg1)->SetColumnAlignment(arg2,arg3);
6991 wxPyEndAllowThreads(__tstate);
6992 if (PyErr_Occurred()) SWIG_fail;
6993 }
6994 resultobj = SWIG_Py_Void();
6995 return resultobj;
6996 fail:
6997 return NULL;
6998 }
6999
7000
7001 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7002 PyObject *resultobj = 0;
7003 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7004 size_t arg2 ;
7005 wxTreeListColumnAlign result;
7006 void *argp1 = 0 ;
7007 int res1 = 0 ;
7008 size_t val2 ;
7009 int ecode2 = 0 ;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 char * kwnames[] = {
7013 (char *) "self",(char *) "column", NULL
7014 };
7015
7016 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7017 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7018 if (!SWIG_IsOK(res1)) {
7019 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7020 }
7021 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7022 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7023 if (!SWIG_IsOK(ecode2)) {
7024 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7025 }
7026 arg2 = static_cast< size_t >(val2);
7027 {
7028 PyThreadState* __tstate = wxPyBeginAllowThreads();
7029 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 resultobj = SWIG_From_int(static_cast< int >(result));
7034 return resultobj;
7035 fail:
7036 return NULL;
7037 }
7038
7039
7040 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7041 PyObject *resultobj = 0;
7042 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7043 size_t arg2 ;
7044 int arg3 ;
7045 void *argp1 = 0 ;
7046 int res1 = 0 ;
7047 size_t val2 ;
7048 int ecode2 = 0 ;
7049 int val3 ;
7050 int ecode3 = 0 ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 PyObject * obj2 = 0 ;
7054 char * kwnames[] = {
7055 (char *) "self",(char *) "column",(char *) "image", NULL
7056 };
7057
7058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7060 if (!SWIG_IsOK(res1)) {
7061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7062 }
7063 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7064 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7065 if (!SWIG_IsOK(ecode2)) {
7066 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7067 }
7068 arg2 = static_cast< size_t >(val2);
7069 ecode3 = SWIG_AsVal_int(obj2, &val3);
7070 if (!SWIG_IsOK(ecode3)) {
7071 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7072 }
7073 arg3 = static_cast< int >(val3);
7074 {
7075 PyThreadState* __tstate = wxPyBeginAllowThreads();
7076 (arg1)->SetColumnImage(arg2,arg3);
7077 wxPyEndAllowThreads(__tstate);
7078 if (PyErr_Occurred()) SWIG_fail;
7079 }
7080 resultobj = SWIG_Py_Void();
7081 return resultobj;
7082 fail:
7083 return NULL;
7084 }
7085
7086
7087 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj = 0;
7089 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7090 size_t arg2 ;
7091 int result;
7092 void *argp1 = 0 ;
7093 int res1 = 0 ;
7094 size_t val2 ;
7095 int ecode2 = 0 ;
7096 PyObject * obj0 = 0 ;
7097 PyObject * obj1 = 0 ;
7098 char * kwnames[] = {
7099 (char *) "self",(char *) "column", NULL
7100 };
7101
7102 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7103 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7104 if (!SWIG_IsOK(res1)) {
7105 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7106 }
7107 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7108 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7109 if (!SWIG_IsOK(ecode2)) {
7110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7111 }
7112 arg2 = static_cast< size_t >(val2);
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 resultobj = SWIG_From_int(static_cast< int >(result));
7120 return resultobj;
7121 fail:
7122 return NULL;
7123 }
7124
7125
7126 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj = 0;
7128 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7129 size_t arg2 ;
7130 bool arg3 ;
7131 void *argp1 = 0 ;
7132 int res1 = 0 ;
7133 size_t val2 ;
7134 int ecode2 = 0 ;
7135 bool val3 ;
7136 int ecode3 = 0 ;
7137 PyObject * obj0 = 0 ;
7138 PyObject * obj1 = 0 ;
7139 PyObject * obj2 = 0 ;
7140 char * kwnames[] = {
7141 (char *) "self",(char *) "column",(char *) "shown", NULL
7142 };
7143
7144 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7145 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7146 if (!SWIG_IsOK(res1)) {
7147 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7148 }
7149 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7150 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7151 if (!SWIG_IsOK(ecode2)) {
7152 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7153 }
7154 arg2 = static_cast< size_t >(val2);
7155 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7156 if (!SWIG_IsOK(ecode3)) {
7157 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7158 }
7159 arg3 = static_cast< bool >(val3);
7160 {
7161 PyThreadState* __tstate = wxPyBeginAllowThreads();
7162 (arg1)->ShowColumn(arg2,arg3);
7163 wxPyEndAllowThreads(__tstate);
7164 if (PyErr_Occurred()) SWIG_fail;
7165 }
7166 resultobj = SWIG_Py_Void();
7167 return resultobj;
7168 fail:
7169 return NULL;
7170 }
7171
7172
7173 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7174 PyObject *resultobj = 0;
7175 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7176 size_t arg2 ;
7177 bool result;
7178 void *argp1 = 0 ;
7179 int res1 = 0 ;
7180 size_t val2 ;
7181 int ecode2 = 0 ;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char * kwnames[] = {
7185 (char *) "self",(char *) "column", NULL
7186 };
7187
7188 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7189 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7190 if (!SWIG_IsOK(res1)) {
7191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7192 }
7193 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7194 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7195 if (!SWIG_IsOK(ecode2)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7197 }
7198 arg2 = static_cast< size_t >(val2);
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7207 }
7208 return resultobj;
7209 fail:
7210 return NULL;
7211 }
7212
7213
7214 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7215 PyObject *resultobj = 0;
7216 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7217 wxTreeItemId *arg2 = 0 ;
7218 int arg3 = (int) -1 ;
7219 wxString result;
7220 void *argp1 = 0 ;
7221 int res1 = 0 ;
7222 void *argp2 = 0 ;
7223 int res2 = 0 ;
7224 int val3 ;
7225 int ecode3 = 0 ;
7226 PyObject * obj0 = 0 ;
7227 PyObject * obj1 = 0 ;
7228 PyObject * obj2 = 0 ;
7229 char * kwnames[] = {
7230 (char *) "self",(char *) "item",(char *) "column", NULL
7231 };
7232
7233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7235 if (!SWIG_IsOK(res1)) {
7236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7237 }
7238 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7239 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7240 if (!SWIG_IsOK(res2)) {
7241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7242 }
7243 if (!argp2) {
7244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7245 }
7246 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7247 if (obj2) {
7248 ecode3 = SWIG_AsVal_int(obj2, &val3);
7249 if (!SWIG_IsOK(ecode3)) {
7250 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7251 }
7252 arg3 = static_cast< int >(val3);
7253 }
7254 {
7255 PyThreadState* __tstate = wxPyBeginAllowThreads();
7256 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7257 wxPyEndAllowThreads(__tstate);
7258 if (PyErr_Occurred()) SWIG_fail;
7259 }
7260 {
7261 #if wxUSE_UNICODE
7262 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7263 #else
7264 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7265 #endif
7266 }
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj = 0;
7275 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7276 wxTreeItemId *arg2 = 0 ;
7277 int arg3 = (int) -1 ;
7278 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7279 int result;
7280 void *argp1 = 0 ;
7281 int res1 = 0 ;
7282 void *argp2 = 0 ;
7283 int res2 = 0 ;
7284 int val3 ;
7285 int ecode3 = 0 ;
7286 int val4 ;
7287 int ecode4 = 0 ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 PyObject * obj3 = 0 ;
7292 char * kwnames[] = {
7293 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7294 };
7295
7296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7298 if (!SWIG_IsOK(res1)) {
7299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7300 }
7301 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7302 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7303 if (!SWIG_IsOK(res2)) {
7304 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7305 }
7306 if (!argp2) {
7307 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7308 }
7309 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7310 if (obj2) {
7311 ecode3 = SWIG_AsVal_int(obj2, &val3);
7312 if (!SWIG_IsOK(ecode3)) {
7313 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7314 }
7315 arg3 = static_cast< int >(val3);
7316 }
7317 if (obj3) {
7318 ecode4 = SWIG_AsVal_int(obj3, &val4);
7319 if (!SWIG_IsOK(ecode4)) {
7320 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7321 }
7322 arg4 = static_cast< wxTreeItemIcon >(val4);
7323 }
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7327 wxPyEndAllowThreads(__tstate);
7328 if (PyErr_Occurred()) SWIG_fail;
7329 }
7330 resultobj = SWIG_From_int(static_cast< int >(result));
7331 return resultobj;
7332 fail:
7333 return NULL;
7334 }
7335
7336
7337 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7338 PyObject *resultobj = 0;
7339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7340 wxTreeItemId *arg2 = 0 ;
7341 wxString *arg3 = 0 ;
7342 int arg4 = (int) -1 ;
7343 void *argp1 = 0 ;
7344 int res1 = 0 ;
7345 void *argp2 = 0 ;
7346 int res2 = 0 ;
7347 bool temp3 = false ;
7348 int val4 ;
7349 int ecode4 = 0 ;
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 PyObject * obj2 = 0 ;
7353 PyObject * obj3 = 0 ;
7354 char * kwnames[] = {
7355 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7356 };
7357
7358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7360 if (!SWIG_IsOK(res1)) {
7361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7362 }
7363 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7364 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7365 if (!SWIG_IsOK(res2)) {
7366 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7367 }
7368 if (!argp2) {
7369 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7370 }
7371 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7372 {
7373 arg3 = wxString_in_helper(obj2);
7374 if (arg3 == NULL) SWIG_fail;
7375 temp3 = true;
7376 }
7377 if (obj3) {
7378 ecode4 = SWIG_AsVal_int(obj3, &val4);
7379 if (!SWIG_IsOK(ecode4)) {
7380 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7381 }
7382 arg4 = static_cast< int >(val4);
7383 }
7384 {
7385 PyThreadState* __tstate = wxPyBeginAllowThreads();
7386 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 resultobj = SWIG_Py_Void();
7391 {
7392 if (temp3)
7393 delete arg3;
7394 }
7395 return resultobj;
7396 fail:
7397 {
7398 if (temp3)
7399 delete arg3;
7400 }
7401 return NULL;
7402 }
7403
7404
7405 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj = 0;
7407 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7408 wxTreeItemId *arg2 = 0 ;
7409 int arg3 ;
7410 int arg4 = (int) -1 ;
7411 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7412 void *argp1 = 0 ;
7413 int res1 = 0 ;
7414 void *argp2 = 0 ;
7415 int res2 = 0 ;
7416 int val3 ;
7417 int ecode3 = 0 ;
7418 int val4 ;
7419 int ecode4 = 0 ;
7420 int val5 ;
7421 int ecode5 = 0 ;
7422 PyObject * obj0 = 0 ;
7423 PyObject * obj1 = 0 ;
7424 PyObject * obj2 = 0 ;
7425 PyObject * obj3 = 0 ;
7426 PyObject * obj4 = 0 ;
7427 char * kwnames[] = {
7428 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7429 };
7430
7431 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7432 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7433 if (!SWIG_IsOK(res1)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7435 }
7436 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7437 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7438 if (!SWIG_IsOK(res2)) {
7439 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7440 }
7441 if (!argp2) {
7442 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7443 }
7444 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7445 ecode3 = SWIG_AsVal_int(obj2, &val3);
7446 if (!SWIG_IsOK(ecode3)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7448 }
7449 arg3 = static_cast< int >(val3);
7450 if (obj3) {
7451 ecode4 = SWIG_AsVal_int(obj3, &val4);
7452 if (!SWIG_IsOK(ecode4)) {
7453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7454 }
7455 arg4 = static_cast< int >(val4);
7456 }
7457 if (obj4) {
7458 ecode5 = SWIG_AsVal_int(obj4, &val5);
7459 if (!SWIG_IsOK(ecode5)) {
7460 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7461 }
7462 arg5 = static_cast< wxTreeItemIcon >(val5);
7463 }
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 resultobj = SWIG_Py_Void();
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj = 0;
7479 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7480 wxTreeItemId *arg2 = 0 ;
7481 wxPyTreeItemData *result = 0 ;
7482 void *argp1 = 0 ;
7483 int res1 = 0 ;
7484 void *argp2 = 0 ;
7485 int res2 = 0 ;
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
7488 char * kwnames[] = {
7489 (char *) "self",(char *) "item", NULL
7490 };
7491
7492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7494 if (!SWIG_IsOK(res1)) {
7495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7496 }
7497 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7498 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7499 if (!SWIG_IsOK(res2)) {
7500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7501 }
7502 if (!argp2) {
7503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7504 }
7505 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj = 0;
7521 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7522 wxTreeItemId *arg2 = 0 ;
7523 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7524 void *argp1 = 0 ;
7525 int res1 = 0 ;
7526 void *argp2 = 0 ;
7527 int res2 = 0 ;
7528 int res3 = 0 ;
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
7531 PyObject * obj2 = 0 ;
7532 char * kwnames[] = {
7533 (char *) "self",(char *) "item",(char *) "data", NULL
7534 };
7535
7536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7538 if (!SWIG_IsOK(res1)) {
7539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7540 }
7541 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7542 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7543 if (!SWIG_IsOK(res2)) {
7544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7545 }
7546 if (!argp2) {
7547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7548 }
7549 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7550 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7551 if (!SWIG_IsOK(res3)) {
7552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7553 }
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 resultobj = SWIG_Py_Void();
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj = 0;
7569 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7570 wxTreeItemId *arg2 = 0 ;
7571 PyObject *result = 0 ;
7572 void *argp1 = 0 ;
7573 int res1 = 0 ;
7574 void *argp2 = 0 ;
7575 int res2 = 0 ;
7576 PyObject * obj0 = 0 ;
7577 PyObject * obj1 = 0 ;
7578 char * kwnames[] = {
7579 (char *) "self",(char *) "item", NULL
7580 };
7581
7582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7584 if (!SWIG_IsOK(res1)) {
7585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7586 }
7587 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7588 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7589 if (!SWIG_IsOK(res2)) {
7590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7591 }
7592 if (!argp2) {
7593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7594 }
7595 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7596 {
7597 PyThreadState* __tstate = wxPyBeginAllowThreads();
7598 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7599 wxPyEndAllowThreads(__tstate);
7600 if (PyErr_Occurred()) SWIG_fail;
7601 }
7602 resultobj = result;
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj = 0;
7611 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7612 wxTreeItemId *arg2 = 0 ;
7613 PyObject *arg3 = (PyObject *) 0 ;
7614 void *argp1 = 0 ;
7615 int res1 = 0 ;
7616 void *argp2 = 0 ;
7617 int res2 = 0 ;
7618 PyObject * obj0 = 0 ;
7619 PyObject * obj1 = 0 ;
7620 PyObject * obj2 = 0 ;
7621 char * kwnames[] = {
7622 (char *) "self",(char *) "item",(char *) "obj", NULL
7623 };
7624
7625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7627 if (!SWIG_IsOK(res1)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7629 }
7630 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7632 if (!SWIG_IsOK(res2)) {
7633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7634 }
7635 if (!argp2) {
7636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7637 }
7638 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7639 arg3 = obj2;
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7643 wxPyEndAllowThreads(__tstate);
7644 if (PyErr_Occurred()) SWIG_fail;
7645 }
7646 resultobj = SWIG_Py_Void();
7647 return resultobj;
7648 fail:
7649 return NULL;
7650 }
7651
7652
7653 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7654 PyObject *resultobj = 0;
7655 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7656 wxTreeItemId *arg2 = 0 ;
7657 bool arg3 = (bool) true ;
7658 void *argp1 = 0 ;
7659 int res1 = 0 ;
7660 void *argp2 = 0 ;
7661 int res2 = 0 ;
7662 bool val3 ;
7663 int ecode3 = 0 ;
7664 PyObject * obj0 = 0 ;
7665 PyObject * obj1 = 0 ;
7666 PyObject * obj2 = 0 ;
7667 char * kwnames[] = {
7668 (char *) "self",(char *) "item",(char *) "has", NULL
7669 };
7670
7671 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7672 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7673 if (!SWIG_IsOK(res1)) {
7674 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7675 }
7676 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7677 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7678 if (!SWIG_IsOK(res2)) {
7679 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7680 }
7681 if (!argp2) {
7682 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7683 }
7684 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7685 if (obj2) {
7686 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7687 if (!SWIG_IsOK(ecode3)) {
7688 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7689 }
7690 arg3 = static_cast< bool >(val3);
7691 }
7692 {
7693 PyThreadState* __tstate = wxPyBeginAllowThreads();
7694 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7695 wxPyEndAllowThreads(__tstate);
7696 if (PyErr_Occurred()) SWIG_fail;
7697 }
7698 resultobj = SWIG_Py_Void();
7699 return resultobj;
7700 fail:
7701 return NULL;
7702 }
7703
7704
7705 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7706 PyObject *resultobj = 0;
7707 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7708 wxTreeItemId *arg2 = 0 ;
7709 bool arg3 = (bool) true ;
7710 void *argp1 = 0 ;
7711 int res1 = 0 ;
7712 void *argp2 = 0 ;
7713 int res2 = 0 ;
7714 bool val3 ;
7715 int ecode3 = 0 ;
7716 PyObject * obj0 = 0 ;
7717 PyObject * obj1 = 0 ;
7718 PyObject * obj2 = 0 ;
7719 char * kwnames[] = {
7720 (char *) "self",(char *) "item",(char *) "bold", NULL
7721 };
7722
7723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7725 if (!SWIG_IsOK(res1)) {
7726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7727 }
7728 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7729 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7730 if (!SWIG_IsOK(res2)) {
7731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7732 }
7733 if (!argp2) {
7734 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7735 }
7736 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7737 if (obj2) {
7738 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7739 if (!SWIG_IsOK(ecode3)) {
7740 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7741 }
7742 arg3 = static_cast< bool >(val3);
7743 }
7744 {
7745 PyThreadState* __tstate = wxPyBeginAllowThreads();
7746 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7747 wxPyEndAllowThreads(__tstate);
7748 if (PyErr_Occurred()) SWIG_fail;
7749 }
7750 resultobj = SWIG_Py_Void();
7751 return resultobj;
7752 fail:
7753 return NULL;
7754 }
7755
7756
7757 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7758 PyObject *resultobj = 0;
7759 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7760 wxTreeItemId *arg2 = 0 ;
7761 wxColour *arg3 = 0 ;
7762 void *argp1 = 0 ;
7763 int res1 = 0 ;
7764 void *argp2 = 0 ;
7765 int res2 = 0 ;
7766 wxColour temp3 ;
7767 PyObject * obj0 = 0 ;
7768 PyObject * obj1 = 0 ;
7769 PyObject * obj2 = 0 ;
7770 char * kwnames[] = {
7771 (char *) "self",(char *) "item",(char *) "colour", NULL
7772 };
7773
7774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7776 if (!SWIG_IsOK(res1)) {
7777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7778 }
7779 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7780 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7781 if (!SWIG_IsOK(res2)) {
7782 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7783 }
7784 if (!argp2) {
7785 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7786 }
7787 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7788 {
7789 arg3 = &temp3;
7790 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7795 wxPyEndAllowThreads(__tstate);
7796 if (PyErr_Occurred()) SWIG_fail;
7797 }
7798 resultobj = SWIG_Py_Void();
7799 return resultobj;
7800 fail:
7801 return NULL;
7802 }
7803
7804
7805 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj = 0;
7807 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7808 wxTreeItemId *arg2 = 0 ;
7809 wxColour *arg3 = 0 ;
7810 void *argp1 = 0 ;
7811 int res1 = 0 ;
7812 void *argp2 = 0 ;
7813 int res2 = 0 ;
7814 wxColour temp3 ;
7815 PyObject * obj0 = 0 ;
7816 PyObject * obj1 = 0 ;
7817 PyObject * obj2 = 0 ;
7818 char * kwnames[] = {
7819 (char *) "self",(char *) "item",(char *) "colour", NULL
7820 };
7821
7822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7824 if (!SWIG_IsOK(res1)) {
7825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7826 }
7827 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7828 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7829 if (!SWIG_IsOK(res2)) {
7830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7831 }
7832 if (!argp2) {
7833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7834 }
7835 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7836 {
7837 arg3 = &temp3;
7838 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7839 }
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7843 wxPyEndAllowThreads(__tstate);
7844 if (PyErr_Occurred()) SWIG_fail;
7845 }
7846 resultobj = SWIG_Py_Void();
7847 return resultobj;
7848 fail:
7849 return NULL;
7850 }
7851
7852
7853 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7854 PyObject *resultobj = 0;
7855 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7856 wxTreeItemId *arg2 = 0 ;
7857 wxFont *arg3 = 0 ;
7858 void *argp1 = 0 ;
7859 int res1 = 0 ;
7860 void *argp2 = 0 ;
7861 int res2 = 0 ;
7862 void *argp3 = 0 ;
7863 int res3 = 0 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 PyObject * obj2 = 0 ;
7867 char * kwnames[] = {
7868 (char *) "self",(char *) "item",(char *) "font", NULL
7869 };
7870
7871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7873 if (!SWIG_IsOK(res1)) {
7874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7875 }
7876 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7877 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7878 if (!SWIG_IsOK(res2)) {
7879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7880 }
7881 if (!argp2) {
7882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7883 }
7884 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7885 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7886 if (!SWIG_IsOK(res3)) {
7887 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7888 }
7889 if (!argp3) {
7890 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7891 }
7892 arg3 = reinterpret_cast< wxFont * >(argp3);
7893 {
7894 PyThreadState* __tstate = wxPyBeginAllowThreads();
7895 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = SWIG_Py_Void();
7900 return resultobj;
7901 fail:
7902 return NULL;
7903 }
7904
7905
7906 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj = 0;
7908 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7909 wxTreeItemId *arg2 = 0 ;
7910 bool result;
7911 void *argp1 = 0 ;
7912 int res1 = 0 ;
7913 void *argp2 = 0 ;
7914 int res2 = 0 ;
7915 PyObject * obj0 = 0 ;
7916 PyObject * obj1 = 0 ;
7917 char * kwnames[] = {
7918 (char *) "self",(char *) "item", NULL
7919 };
7920
7921 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7922 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7923 if (!SWIG_IsOK(res1)) {
7924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7925 }
7926 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7927 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7928 if (!SWIG_IsOK(res2)) {
7929 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7930 }
7931 if (!argp2) {
7932 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7933 }
7934 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7935 {
7936 PyThreadState* __tstate = wxPyBeginAllowThreads();
7937 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7938 wxPyEndAllowThreads(__tstate);
7939 if (PyErr_Occurred()) SWIG_fail;
7940 }
7941 {
7942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7943 }
7944 return resultobj;
7945 fail:
7946 return NULL;
7947 }
7948
7949
7950 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj = 0;
7952 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7953 wxTreeItemId *arg2 = 0 ;
7954 wxColour result;
7955 void *argp1 = 0 ;
7956 int res1 = 0 ;
7957 void *argp2 = 0 ;
7958 int res2 = 0 ;
7959 PyObject * obj0 = 0 ;
7960 PyObject * obj1 = 0 ;
7961 char * kwnames[] = {
7962 (char *) "self",(char *) "item", NULL
7963 };
7964
7965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7967 if (!SWIG_IsOK(res1)) {
7968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7969 }
7970 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7971 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7972 if (!SWIG_IsOK(res2)) {
7973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7974 }
7975 if (!argp2) {
7976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7977 }
7978 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7979 {
7980 PyThreadState* __tstate = wxPyBeginAllowThreads();
7981 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7986 return resultobj;
7987 fail:
7988 return NULL;
7989 }
7990
7991
7992 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj = 0;
7994 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7995 wxTreeItemId *arg2 = 0 ;
7996 wxColour result;
7997 void *argp1 = 0 ;
7998 int res1 = 0 ;
7999 void *argp2 = 0 ;
8000 int res2 = 0 ;
8001 PyObject * obj0 = 0 ;
8002 PyObject * obj1 = 0 ;
8003 char * kwnames[] = {
8004 (char *) "self",(char *) "item", NULL
8005 };
8006
8007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8009 if (!SWIG_IsOK(res1)) {
8010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8011 }
8012 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8013 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8014 if (!SWIG_IsOK(res2)) {
8015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8016 }
8017 if (!argp2) {
8018 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8019 }
8020 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8021 {
8022 PyThreadState* __tstate = wxPyBeginAllowThreads();
8023 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8024 wxPyEndAllowThreads(__tstate);
8025 if (PyErr_Occurred()) SWIG_fail;
8026 }
8027 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8028 return resultobj;
8029 fail:
8030 return NULL;
8031 }
8032
8033
8034 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8035 PyObject *resultobj = 0;
8036 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8037 wxTreeItemId *arg2 = 0 ;
8038 wxFont 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_GetItemFont",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_GetItemFont" "', 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_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8058 }
8059 if (!argp2) {
8060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8061 }
8062 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8063 {
8064 PyThreadState* __tstate = wxPyBeginAllowThreads();
8065 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8070 return resultobj;
8071 fail:
8072 return NULL;
8073 }
8074
8075
8076 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj = 0;
8078 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8079 wxTreeItemId *arg2 = 0 ;
8080 bool 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_IsVisible",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_IsVisible" "', 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_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8100 }
8101 if (!argp2) {
8102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8103 }
8104 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8105 {
8106 PyThreadState* __tstate = wxPyBeginAllowThreads();
8107 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 {
8112 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8113 }
8114 return resultobj;
8115 fail:
8116 return NULL;
8117 }
8118
8119
8120 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8121 PyObject *resultobj = 0;
8122 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8123 wxTreeItemId *arg2 = 0 ;
8124 bool result;
8125 void *argp1 = 0 ;
8126 int res1 = 0 ;
8127 void *argp2 = 0 ;
8128 int res2 = 0 ;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 char * kwnames[] = {
8132 (char *) "self",(char *) "item", NULL
8133 };
8134
8135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8137 if (!SWIG_IsOK(res1)) {
8138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8139 }
8140 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8141 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8142 if (!SWIG_IsOK(res2)) {
8143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8144 }
8145 if (!argp2) {
8146 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8147 }
8148 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
8155 {
8156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8157 }
8158 return resultobj;
8159 fail:
8160 return NULL;
8161 }
8162
8163
8164 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8165 PyObject *resultobj = 0;
8166 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8167 wxTreeItemId *arg2 = 0 ;
8168 bool result;
8169 void *argp1 = 0 ;
8170 int res1 = 0 ;
8171 void *argp2 = 0 ;
8172 int res2 = 0 ;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 char * kwnames[] = {
8176 (char *) "self",(char *) "item", NULL
8177 };
8178
8179 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8180 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8181 if (!SWIG_IsOK(res1)) {
8182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8183 }
8184 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8185 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8186 if (!SWIG_IsOK(res2)) {
8187 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8188 }
8189 if (!argp2) {
8190 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8191 }
8192 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
8195 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 {
8200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8201 }
8202 return resultobj;
8203 fail:
8204 return NULL;
8205 }
8206
8207
8208 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8209 PyObject *resultobj = 0;
8210 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8211 wxTreeItemId *arg2 = 0 ;
8212 bool result;
8213 void *argp1 = 0 ;
8214 int res1 = 0 ;
8215 void *argp2 = 0 ;
8216 int res2 = 0 ;
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
8219 char * kwnames[] = {
8220 (char *) "self",(char *) "item", NULL
8221 };
8222
8223 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8224 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8225 if (!SWIG_IsOK(res1)) {
8226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8227 }
8228 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8229 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8230 if (!SWIG_IsOK(res2)) {
8231 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8232 }
8233 if (!argp2) {
8234 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8235 }
8236 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 {
8244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8245 }
8246 return resultobj;
8247 fail:
8248 return NULL;
8249 }
8250
8251
8252 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj = 0;
8254 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8255 wxTreeItemId *arg2 = 0 ;
8256 bool result;
8257 void *argp1 = 0 ;
8258 int res1 = 0 ;
8259 void *argp2 = 0 ;
8260 int res2 = 0 ;
8261 PyObject * obj0 = 0 ;
8262 PyObject * obj1 = 0 ;
8263 char * kwnames[] = {
8264 (char *) "self",(char *) "item", NULL
8265 };
8266
8267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8269 if (!SWIG_IsOK(res1)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8271 }
8272 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8273 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8274 if (!SWIG_IsOK(res2)) {
8275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8276 }
8277 if (!argp2) {
8278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8279 }
8280 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8284 wxPyEndAllowThreads(__tstate);
8285 if (PyErr_Occurred()) SWIG_fail;
8286 }
8287 {
8288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8289 }
8290 return resultobj;
8291 fail:
8292 return NULL;
8293 }
8294
8295
8296 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8297 PyObject *resultobj = 0;
8298 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8299 wxTreeItemId *arg2 = 0 ;
8300 bool arg3 = (bool) true ;
8301 size_t result;
8302 void *argp1 = 0 ;
8303 int res1 = 0 ;
8304 void *argp2 = 0 ;
8305 int res2 = 0 ;
8306 bool val3 ;
8307 int ecode3 = 0 ;
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 PyObject * obj2 = 0 ;
8311 char * kwnames[] = {
8312 (char *) "self",(char *) "item",(char *) "recursively", NULL
8313 };
8314
8315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8317 if (!SWIG_IsOK(res1)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8319 }
8320 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8321 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8322 if (!SWIG_IsOK(res2)) {
8323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8324 }
8325 if (!argp2) {
8326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8327 }
8328 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8329 if (obj2) {
8330 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8331 if (!SWIG_IsOK(ecode3)) {
8332 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8333 }
8334 arg3 = static_cast< bool >(val3);
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8350 PyObject *resultobj = 0;
8351 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8352 wxTreeItemId result;
8353 void *argp1 = 0 ;
8354 int res1 = 0 ;
8355 PyObject *swig_obj[1] ;
8356
8357 if (!args) SWIG_fail;
8358 swig_obj[0] = args;
8359 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8360 if (!SWIG_IsOK(res1)) {
8361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8362 }
8363 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8367 wxPyEndAllowThreads(__tstate);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 }
8370 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8371 return resultobj;
8372 fail:
8373 return NULL;
8374 }
8375
8376
8377 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8378 PyObject *resultobj = 0;
8379 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8380 wxTreeItemId result;
8381 void *argp1 = 0 ;
8382 int res1 = 0 ;
8383 PyObject *swig_obj[1] ;
8384
8385 if (!args) SWIG_fail;
8386 swig_obj[0] = args;
8387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8388 if (!SWIG_IsOK(res1)) {
8389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8390 }
8391 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8406 PyObject *resultobj = 0;
8407 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8408 PyObject *result = 0 ;
8409 void *argp1 = 0 ;
8410 int res1 = 0 ;
8411 PyObject *swig_obj[1] ;
8412
8413 if (!args) SWIG_fail;
8414 swig_obj[0] = args;
8415 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8416 if (!SWIG_IsOK(res1)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8418 }
8419 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8420 {
8421 PyThreadState* __tstate = wxPyBeginAllowThreads();
8422 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8423 wxPyEndAllowThreads(__tstate);
8424 if (PyErr_Occurred()) SWIG_fail;
8425 }
8426 resultobj = result;
8427 return resultobj;
8428 fail:
8429 return NULL;
8430 }
8431
8432
8433 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8434 PyObject *resultobj = 0;
8435 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8436 wxTreeItemId *arg2 = 0 ;
8437 wxTreeItemId result;
8438 void *argp1 = 0 ;
8439 int res1 = 0 ;
8440 void *argp2 = 0 ;
8441 int res2 = 0 ;
8442 PyObject * obj0 = 0 ;
8443 PyObject * obj1 = 0 ;
8444 char * kwnames[] = {
8445 (char *) "self",(char *) "item", NULL
8446 };
8447
8448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8450 if (!SWIG_IsOK(res1)) {
8451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8452 }
8453 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8454 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8455 if (!SWIG_IsOK(res2)) {
8456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8457 }
8458 if (!argp2) {
8459 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8460 }
8461 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8465 wxPyEndAllowThreads(__tstate);
8466 if (PyErr_Occurred()) SWIG_fail;
8467 }
8468 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8469 return resultobj;
8470 fail:
8471 return NULL;
8472 }
8473
8474
8475 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8476 PyObject *resultobj = 0;
8477 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8478 wxTreeItemId *arg2 = 0 ;
8479 PyObject *result = 0 ;
8480 void *argp1 = 0 ;
8481 int res1 = 0 ;
8482 void *argp2 = 0 ;
8483 int res2 = 0 ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 char * kwnames[] = {
8487 (char *) "self",(char *) "item", NULL
8488 };
8489
8490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8492 if (!SWIG_IsOK(res1)) {
8493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8494 }
8495 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8496 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8497 if (!SWIG_IsOK(res2)) {
8498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8499 }
8500 if (!argp2) {
8501 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8502 }
8503 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8504 {
8505 PyThreadState* __tstate = wxPyBeginAllowThreads();
8506 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8507 wxPyEndAllowThreads(__tstate);
8508 if (PyErr_Occurred()) SWIG_fail;
8509 }
8510 resultobj = result;
8511 return resultobj;
8512 fail:
8513 return NULL;
8514 }
8515
8516
8517 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8518 PyObject *resultobj = 0;
8519 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8520 wxTreeItemId *arg2 = 0 ;
8521 void *arg3 = (void *) 0 ;
8522 PyObject *result = 0 ;
8523 void *argp1 = 0 ;
8524 int res1 = 0 ;
8525 void *argp2 = 0 ;
8526 int res2 = 0 ;
8527 int res3 ;
8528 PyObject * obj0 = 0 ;
8529 PyObject * obj1 = 0 ;
8530 PyObject * obj2 = 0 ;
8531 char * kwnames[] = {
8532 (char *) "self",(char *) "item",(char *) "cookie", NULL
8533 };
8534
8535 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8536 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8537 if (!SWIG_IsOK(res1)) {
8538 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8539 }
8540 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8541 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8542 if (!SWIG_IsOK(res2)) {
8543 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8544 }
8545 if (!argp2) {
8546 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8547 }
8548 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8549 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8550 if (!SWIG_IsOK(res3)) {
8551 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8556 wxPyEndAllowThreads(__tstate);
8557 if (PyErr_Occurred()) SWIG_fail;
8558 }
8559 resultobj = result;
8560 return resultobj;
8561 fail:
8562 return NULL;
8563 }
8564
8565
8566 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8567 PyObject *resultobj = 0;
8568 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8569 wxTreeItemId *arg2 = 0 ;
8570 wxTreeItemId result;
8571 void *argp1 = 0 ;
8572 int res1 = 0 ;
8573 void *argp2 = 0 ;
8574 int res2 = 0 ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 char * kwnames[] = {
8578 (char *) "self",(char *) "item", NULL
8579 };
8580
8581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8583 if (!SWIG_IsOK(res1)) {
8584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8585 }
8586 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8588 if (!SWIG_IsOK(res2)) {
8589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8590 }
8591 if (!argp2) {
8592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8593 }
8594 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8598 wxPyEndAllowThreads(__tstate);
8599 if (PyErr_Occurred()) SWIG_fail;
8600 }
8601 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8602 return resultobj;
8603 fail:
8604 return NULL;
8605 }
8606
8607
8608 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8609 PyObject *resultobj = 0;
8610 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8611 wxTreeItemId *arg2 = 0 ;
8612 wxTreeItemId result;
8613 void *argp1 = 0 ;
8614 int res1 = 0 ;
8615 void *argp2 = 0 ;
8616 int res2 = 0 ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 char * kwnames[] = {
8620 (char *) "self",(char *) "item", NULL
8621 };
8622
8623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8625 if (!SWIG_IsOK(res1)) {
8626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8627 }
8628 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8629 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8630 if (!SWIG_IsOK(res2)) {
8631 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8632 }
8633 if (!argp2) {
8634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8635 }
8636 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
8643 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8644 return resultobj;
8645 fail:
8646 return NULL;
8647 }
8648
8649
8650 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8651 PyObject *resultobj = 0;
8652 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8653 wxTreeItemId *arg2 = 0 ;
8654 wxTreeItemId result;
8655 void *argp1 = 0 ;
8656 int res1 = 0 ;
8657 void *argp2 = 0 ;
8658 int res2 = 0 ;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 char * kwnames[] = {
8662 (char *) "self",(char *) "item", NULL
8663 };
8664
8665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8667 if (!SWIG_IsOK(res1)) {
8668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8669 }
8670 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8671 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8672 if (!SWIG_IsOK(res2)) {
8673 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8674 }
8675 if (!argp2) {
8676 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8677 }
8678 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8679 {
8680 PyThreadState* __tstate = wxPyBeginAllowThreads();
8681 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8682 wxPyEndAllowThreads(__tstate);
8683 if (PyErr_Occurred()) SWIG_fail;
8684 }
8685 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8686 return resultobj;
8687 fail:
8688 return NULL;
8689 }
8690
8691
8692 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8693 PyObject *resultobj = 0;
8694 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8695 wxTreeItemId result;
8696 void *argp1 = 0 ;
8697 int res1 = 0 ;
8698 PyObject *swig_obj[1] ;
8699
8700 if (!args) SWIG_fail;
8701 swig_obj[0] = args;
8702 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8703 if (!SWIG_IsOK(res1)) {
8704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8705 }
8706 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj = 0;
8722 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8723 wxTreeItemId *arg2 = 0 ;
8724 wxTreeItemId result;
8725 void *argp1 = 0 ;
8726 int res1 = 0 ;
8727 void *argp2 = 0 ;
8728 int res2 = 0 ;
8729 PyObject * obj0 = 0 ;
8730 PyObject * obj1 = 0 ;
8731 char * kwnames[] = {
8732 (char *) "self",(char *) "item", NULL
8733 };
8734
8735 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8736 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8737 if (!SWIG_IsOK(res1)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8739 }
8740 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8741 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8742 if (!SWIG_IsOK(res2)) {
8743 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8744 }
8745 if (!argp2) {
8746 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8747 }
8748 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj = 0;
8764 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8765 wxTreeItemId *arg2 = 0 ;
8766 wxTreeItemId result;
8767 void *argp1 = 0 ;
8768 int res1 = 0 ;
8769 void *argp2 = 0 ;
8770 int res2 = 0 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 char * kwnames[] = {
8774 (char *) "self",(char *) "item", NULL
8775 };
8776
8777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8779 if (!SWIG_IsOK(res1)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8781 }
8782 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8784 if (!SWIG_IsOK(res2)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8786 }
8787 if (!argp2) {
8788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8789 }
8790 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj = 0;
8806 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8807 wxTreeItemId *arg2 = 0 ;
8808 wxTreeItemId result;
8809 void *argp1 = 0 ;
8810 int res1 = 0 ;
8811 void *argp2 = 0 ;
8812 int res2 = 0 ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char * kwnames[] = {
8816 (char *) "self",(char *) "item", NULL
8817 };
8818
8819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8821 if (!SWIG_IsOK(res1)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8823 }
8824 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8826 if (!SWIG_IsOK(res2)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8828 }
8829 if (!argp2) {
8830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8831 }
8832 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj = 0;
8848 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8849 wxString *arg2 = 0 ;
8850 int arg3 = (int) -1 ;
8851 int arg4 = (int) -1 ;
8852 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8853 wxTreeItemId result;
8854 void *argp1 = 0 ;
8855 int res1 = 0 ;
8856 bool temp2 = false ;
8857 int val3 ;
8858 int ecode3 = 0 ;
8859 int val4 ;
8860 int ecode4 = 0 ;
8861 int res5 = 0 ;
8862 PyObject * obj0 = 0 ;
8863 PyObject * obj1 = 0 ;
8864 PyObject * obj2 = 0 ;
8865 PyObject * obj3 = 0 ;
8866 PyObject * obj4 = 0 ;
8867 char * kwnames[] = {
8868 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8869 };
8870
8871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8873 if (!SWIG_IsOK(res1)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8875 }
8876 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8877 {
8878 arg2 = wxString_in_helper(obj1);
8879 if (arg2 == NULL) SWIG_fail;
8880 temp2 = true;
8881 }
8882 if (obj2) {
8883 ecode3 = SWIG_AsVal_int(obj2, &val3);
8884 if (!SWIG_IsOK(ecode3)) {
8885 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8886 }
8887 arg3 = static_cast< int >(val3);
8888 }
8889 if (obj3) {
8890 ecode4 = SWIG_AsVal_int(obj3, &val4);
8891 if (!SWIG_IsOK(ecode4)) {
8892 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8893 }
8894 arg4 = static_cast< int >(val4);
8895 }
8896 if (obj4) {
8897 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8898 if (!SWIG_IsOK(res5)) {
8899 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8900 }
8901 }
8902 {
8903 PyThreadState* __tstate = wxPyBeginAllowThreads();
8904 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8905 wxPyEndAllowThreads(__tstate);
8906 if (PyErr_Occurred()) SWIG_fail;
8907 }
8908 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8909 {
8910 if (temp2)
8911 delete arg2;
8912 }
8913 return resultobj;
8914 fail:
8915 {
8916 if (temp2)
8917 delete arg2;
8918 }
8919 return NULL;
8920 }
8921
8922
8923 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj = 0;
8925 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8926 wxTreeItemId *arg2 = 0 ;
8927 wxString *arg3 = 0 ;
8928 int arg4 = (int) -1 ;
8929 int arg5 = (int) -1 ;
8930 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8931 wxTreeItemId result;
8932 void *argp1 = 0 ;
8933 int res1 = 0 ;
8934 void *argp2 = 0 ;
8935 int res2 = 0 ;
8936 bool temp3 = false ;
8937 int val4 ;
8938 int ecode4 = 0 ;
8939 int val5 ;
8940 int ecode5 = 0 ;
8941 int res6 = 0 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 PyObject * obj2 = 0 ;
8945 PyObject * obj3 = 0 ;
8946 PyObject * obj4 = 0 ;
8947 PyObject * obj5 = 0 ;
8948 char * kwnames[] = {
8949 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8950 };
8951
8952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8954 if (!SWIG_IsOK(res1)) {
8955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8956 }
8957 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8958 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8959 if (!SWIG_IsOK(res2)) {
8960 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8961 }
8962 if (!argp2) {
8963 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8964 }
8965 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8966 {
8967 arg3 = wxString_in_helper(obj2);
8968 if (arg3 == NULL) SWIG_fail;
8969 temp3 = true;
8970 }
8971 if (obj3) {
8972 ecode4 = SWIG_AsVal_int(obj3, &val4);
8973 if (!SWIG_IsOK(ecode4)) {
8974 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8975 }
8976 arg4 = static_cast< int >(val4);
8977 }
8978 if (obj4) {
8979 ecode5 = SWIG_AsVal_int(obj4, &val5);
8980 if (!SWIG_IsOK(ecode5)) {
8981 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8982 }
8983 arg5 = static_cast< int >(val5);
8984 }
8985 if (obj5) {
8986 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8987 if (!SWIG_IsOK(res6)) {
8988 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8989 }
8990 }
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8998 {
8999 if (temp3)
9000 delete arg3;
9001 }
9002 return resultobj;
9003 fail:
9004 {
9005 if (temp3)
9006 delete arg3;
9007 }
9008 return NULL;
9009 }
9010
9011
9012 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj = 0;
9014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9015 wxTreeItemId *arg2 = 0 ;
9016 wxTreeItemId *arg3 = 0 ;
9017 wxString *arg4 = 0 ;
9018 int arg5 = (int) -1 ;
9019 int arg6 = (int) -1 ;
9020 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9021 wxTreeItemId result;
9022 void *argp1 = 0 ;
9023 int res1 = 0 ;
9024 void *argp2 = 0 ;
9025 int res2 = 0 ;
9026 void *argp3 = 0 ;
9027 int res3 = 0 ;
9028 bool temp4 = false ;
9029 int val5 ;
9030 int ecode5 = 0 ;
9031 int val6 ;
9032 int ecode6 = 0 ;
9033 int res7 = 0 ;
9034 PyObject * obj0 = 0 ;
9035 PyObject * obj1 = 0 ;
9036 PyObject * obj2 = 0 ;
9037 PyObject * obj3 = 0 ;
9038 PyObject * obj4 = 0 ;
9039 PyObject * obj5 = 0 ;
9040 PyObject * obj6 = 0 ;
9041 char * kwnames[] = {
9042 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9043 };
9044
9045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9047 if (!SWIG_IsOK(res1)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9049 }
9050 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9052 if (!SWIG_IsOK(res2)) {
9053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9054 }
9055 if (!argp2) {
9056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9057 }
9058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9059 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9060 if (!SWIG_IsOK(res3)) {
9061 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9062 }
9063 if (!argp3) {
9064 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9065 }
9066 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9067 {
9068 arg4 = wxString_in_helper(obj3);
9069 if (arg4 == NULL) SWIG_fail;
9070 temp4 = true;
9071 }
9072 if (obj4) {
9073 ecode5 = SWIG_AsVal_int(obj4, &val5);
9074 if (!SWIG_IsOK(ecode5)) {
9075 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9076 }
9077 arg5 = static_cast< int >(val5);
9078 }
9079 if (obj5) {
9080 ecode6 = SWIG_AsVal_int(obj5, &val6);
9081 if (!SWIG_IsOK(ecode6)) {
9082 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9083 }
9084 arg6 = static_cast< int >(val6);
9085 }
9086 if (obj6) {
9087 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9088 if (!SWIG_IsOK(res7)) {
9089 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9090 }
9091 }
9092 {
9093 PyThreadState* __tstate = wxPyBeginAllowThreads();
9094 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
9098 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9099 {
9100 if (temp4)
9101 delete arg4;
9102 }
9103 return resultobj;
9104 fail:
9105 {
9106 if (temp4)
9107 delete arg4;
9108 }
9109 return NULL;
9110 }
9111
9112
9113 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj = 0;
9115 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9116 wxTreeItemId *arg2 = 0 ;
9117 size_t arg3 ;
9118 wxString *arg4 = 0 ;
9119 int arg5 = (int) -1 ;
9120 int arg6 = (int) -1 ;
9121 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9122 wxTreeItemId result;
9123 void *argp1 = 0 ;
9124 int res1 = 0 ;
9125 void *argp2 = 0 ;
9126 int res2 = 0 ;
9127 size_t val3 ;
9128 int ecode3 = 0 ;
9129 bool temp4 = false ;
9130 int val5 ;
9131 int ecode5 = 0 ;
9132 int val6 ;
9133 int ecode6 = 0 ;
9134 int res7 = 0 ;
9135 PyObject * obj0 = 0 ;
9136 PyObject * obj1 = 0 ;
9137 PyObject * obj2 = 0 ;
9138 PyObject * obj3 = 0 ;
9139 PyObject * obj4 = 0 ;
9140 PyObject * obj5 = 0 ;
9141 PyObject * obj6 = 0 ;
9142 char * kwnames[] = {
9143 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9144 };
9145
9146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9148 if (!SWIG_IsOK(res1)) {
9149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9150 }
9151 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9152 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9153 if (!SWIG_IsOK(res2)) {
9154 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9155 }
9156 if (!argp2) {
9157 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9158 }
9159 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9160 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9161 if (!SWIG_IsOK(ecode3)) {
9162 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9163 }
9164 arg3 = static_cast< size_t >(val3);
9165 {
9166 arg4 = wxString_in_helper(obj3);
9167 if (arg4 == NULL) SWIG_fail;
9168 temp4 = true;
9169 }
9170 if (obj4) {
9171 ecode5 = SWIG_AsVal_int(obj4, &val5);
9172 if (!SWIG_IsOK(ecode5)) {
9173 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9174 }
9175 arg5 = static_cast< int >(val5);
9176 }
9177 if (obj5) {
9178 ecode6 = SWIG_AsVal_int(obj5, &val6);
9179 if (!SWIG_IsOK(ecode6)) {
9180 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9181 }
9182 arg6 = static_cast< int >(val6);
9183 }
9184 if (obj6) {
9185 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9186 if (!SWIG_IsOK(res7)) {
9187 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9188 }
9189 }
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9197 {
9198 if (temp4)
9199 delete arg4;
9200 }
9201 return resultobj;
9202 fail:
9203 {
9204 if (temp4)
9205 delete arg4;
9206 }
9207 return NULL;
9208 }
9209
9210
9211 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9212 PyObject *resultobj = 0;
9213 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9214 wxTreeItemId *arg2 = 0 ;
9215 wxString *arg3 = 0 ;
9216 int arg4 = (int) -1 ;
9217 int arg5 = (int) -1 ;
9218 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9219 wxTreeItemId result;
9220 void *argp1 = 0 ;
9221 int res1 = 0 ;
9222 void *argp2 = 0 ;
9223 int res2 = 0 ;
9224 bool temp3 = false ;
9225 int val4 ;
9226 int ecode4 = 0 ;
9227 int val5 ;
9228 int ecode5 = 0 ;
9229 int res6 = 0 ;
9230 PyObject * obj0 = 0 ;
9231 PyObject * obj1 = 0 ;
9232 PyObject * obj2 = 0 ;
9233 PyObject * obj3 = 0 ;
9234 PyObject * obj4 = 0 ;
9235 PyObject * obj5 = 0 ;
9236 char * kwnames[] = {
9237 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9238 };
9239
9240 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9241 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9242 if (!SWIG_IsOK(res1)) {
9243 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9244 }
9245 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9246 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9247 if (!SWIG_IsOK(res2)) {
9248 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9249 }
9250 if (!argp2) {
9251 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9252 }
9253 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9254 {
9255 arg3 = wxString_in_helper(obj2);
9256 if (arg3 == NULL) SWIG_fail;
9257 temp3 = true;
9258 }
9259 if (obj3) {
9260 ecode4 = SWIG_AsVal_int(obj3, &val4);
9261 if (!SWIG_IsOK(ecode4)) {
9262 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9263 }
9264 arg4 = static_cast< int >(val4);
9265 }
9266 if (obj4) {
9267 ecode5 = SWIG_AsVal_int(obj4, &val5);
9268 if (!SWIG_IsOK(ecode5)) {
9269 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9270 }
9271 arg5 = static_cast< int >(val5);
9272 }
9273 if (obj5) {
9274 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9275 if (!SWIG_IsOK(res6)) {
9276 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9277 }
9278 }
9279 {
9280 PyThreadState* __tstate = wxPyBeginAllowThreads();
9281 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9282 wxPyEndAllowThreads(__tstate);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 }
9285 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9286 {
9287 if (temp3)
9288 delete arg3;
9289 }
9290 return resultobj;
9291 fail:
9292 {
9293 if (temp3)
9294 delete arg3;
9295 }
9296 return NULL;
9297 }
9298
9299
9300 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9301 PyObject *resultobj = 0;
9302 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9303 wxTreeItemId *arg2 = 0 ;
9304 void *argp1 = 0 ;
9305 int res1 = 0 ;
9306 void *argp2 = 0 ;
9307 int res2 = 0 ;
9308 PyObject * obj0 = 0 ;
9309 PyObject * obj1 = 0 ;
9310 char * kwnames[] = {
9311 (char *) "self",(char *) "item", NULL
9312 };
9313
9314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9316 if (!SWIG_IsOK(res1)) {
9317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9318 }
9319 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9320 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9321 if (!SWIG_IsOK(res2)) {
9322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9323 }
9324 if (!argp2) {
9325 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9326 }
9327 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9328 {
9329 PyThreadState* __tstate = wxPyBeginAllowThreads();
9330 (arg1)->Delete((wxTreeItemId const &)*arg2);
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = SWIG_Py_Void();
9335 return resultobj;
9336 fail:
9337 return NULL;
9338 }
9339
9340
9341 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9342 PyObject *resultobj = 0;
9343 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9344 wxTreeItemId *arg2 = 0 ;
9345 void *argp1 = 0 ;
9346 int res1 = 0 ;
9347 void *argp2 = 0 ;
9348 int res2 = 0 ;
9349 PyObject * obj0 = 0 ;
9350 PyObject * obj1 = 0 ;
9351 char * kwnames[] = {
9352 (char *) "self",(char *) "item", NULL
9353 };
9354
9355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9357 if (!SWIG_IsOK(res1)) {
9358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9359 }
9360 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9361 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9362 if (!SWIG_IsOK(res2)) {
9363 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9364 }
9365 if (!argp2) {
9366 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9367 }
9368 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9372 wxPyEndAllowThreads(__tstate);
9373 if (PyErr_Occurred()) SWIG_fail;
9374 }
9375 resultobj = SWIG_Py_Void();
9376 return resultobj;
9377 fail:
9378 return NULL;
9379 }
9380
9381
9382 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9383 PyObject *resultobj = 0;
9384 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9385 void *argp1 = 0 ;
9386 int res1 = 0 ;
9387 PyObject *swig_obj[1] ;
9388
9389 if (!args) SWIG_fail;
9390 swig_obj[0] = args;
9391 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9392 if (!SWIG_IsOK(res1)) {
9393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9394 }
9395 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 (arg1)->DeleteAllItems();
9399 wxPyEndAllowThreads(__tstate);
9400 if (PyErr_Occurred()) SWIG_fail;
9401 }
9402 resultobj = SWIG_Py_Void();
9403 return resultobj;
9404 fail:
9405 return NULL;
9406 }
9407
9408
9409 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9410 PyObject *resultobj = 0;
9411 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9412 wxTreeItemId *arg2 = 0 ;
9413 void *argp1 = 0 ;
9414 int res1 = 0 ;
9415 void *argp2 = 0 ;
9416 int res2 = 0 ;
9417 PyObject * obj0 = 0 ;
9418 PyObject * obj1 = 0 ;
9419 char * kwnames[] = {
9420 (char *) "self",(char *) "item", NULL
9421 };
9422
9423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9425 if (!SWIG_IsOK(res1)) {
9426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9427 }
9428 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9429 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9430 if (!SWIG_IsOK(res2)) {
9431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9432 }
9433 if (!argp2) {
9434 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9435 }
9436 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 (arg1)->Expand((wxTreeItemId const &)*arg2);
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
9443 resultobj = SWIG_Py_Void();
9444 return resultobj;
9445 fail:
9446 return NULL;
9447 }
9448
9449
9450 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9451 PyObject *resultobj = 0;
9452 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9453 wxTreeItemId *arg2 = 0 ;
9454 void *argp1 = 0 ;
9455 int res1 = 0 ;
9456 void *argp2 = 0 ;
9457 int res2 = 0 ;
9458 PyObject * obj0 = 0 ;
9459 PyObject * obj1 = 0 ;
9460 char * kwnames[] = {
9461 (char *) "self",(char *) "item", NULL
9462 };
9463
9464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9466 if (!SWIG_IsOK(res1)) {
9467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9468 }
9469 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9470 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9471 if (!SWIG_IsOK(res2)) {
9472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9473 }
9474 if (!argp2) {
9475 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9476 }
9477 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9481 wxPyEndAllowThreads(__tstate);
9482 if (PyErr_Occurred()) SWIG_fail;
9483 }
9484 resultobj = SWIG_Py_Void();
9485 return resultobj;
9486 fail:
9487 return NULL;
9488 }
9489
9490
9491 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9492 PyObject *resultobj = 0;
9493 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9494 wxTreeItemId *arg2 = 0 ;
9495 void *argp1 = 0 ;
9496 int res1 = 0 ;
9497 void *argp2 = 0 ;
9498 int res2 = 0 ;
9499 PyObject * obj0 = 0 ;
9500 PyObject * obj1 = 0 ;
9501 char * kwnames[] = {
9502 (char *) "self",(char *) "item", NULL
9503 };
9504
9505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9507 if (!SWIG_IsOK(res1)) {
9508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9509 }
9510 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9511 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9512 if (!SWIG_IsOK(res2)) {
9513 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9514 }
9515 if (!argp2) {
9516 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9517 }
9518 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9522 wxPyEndAllowThreads(__tstate);
9523 if (PyErr_Occurred()) SWIG_fail;
9524 }
9525 resultobj = SWIG_Py_Void();
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj = 0;
9534 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9535 wxTreeItemId *arg2 = 0 ;
9536 void *argp1 = 0 ;
9537 int res1 = 0 ;
9538 void *argp2 = 0 ;
9539 int res2 = 0 ;
9540 PyObject * obj0 = 0 ;
9541 PyObject * obj1 = 0 ;
9542 char * kwnames[] = {
9543 (char *) "self",(char *) "item", NULL
9544 };
9545
9546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9548 if (!SWIG_IsOK(res1)) {
9549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9550 }
9551 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9552 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9553 if (!SWIG_IsOK(res2)) {
9554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9555 }
9556 if (!argp2) {
9557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9558 }
9559 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 resultobj = SWIG_Py_Void();
9567 return resultobj;
9568 fail:
9569 return NULL;
9570 }
9571
9572
9573 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj = 0;
9575 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9576 wxTreeItemId *arg2 = 0 ;
9577 void *argp1 = 0 ;
9578 int res1 = 0 ;
9579 void *argp2 = 0 ;
9580 int res2 = 0 ;
9581 PyObject * obj0 = 0 ;
9582 PyObject * obj1 = 0 ;
9583 char * kwnames[] = {
9584 (char *) "self",(char *) "item", NULL
9585 };
9586
9587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9589 if (!SWIG_IsOK(res1)) {
9590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9591 }
9592 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9593 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9594 if (!SWIG_IsOK(res2)) {
9595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9596 }
9597 if (!argp2) {
9598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9599 }
9600 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
9607 resultobj = SWIG_Py_Void();
9608 return resultobj;
9609 fail:
9610 return NULL;
9611 }
9612
9613
9614 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9615 PyObject *resultobj = 0;
9616 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9617 void *argp1 = 0 ;
9618 int res1 = 0 ;
9619 PyObject *swig_obj[1] ;
9620
9621 if (!args) SWIG_fail;
9622 swig_obj[0] = args;
9623 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9624 if (!SWIG_IsOK(res1)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9626 }
9627 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 (arg1)->Unselect();
9631 wxPyEndAllowThreads(__tstate);
9632 if (PyErr_Occurred()) SWIG_fail;
9633 }
9634 resultobj = SWIG_Py_Void();
9635 return resultobj;
9636 fail:
9637 return NULL;
9638 }
9639
9640
9641 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9642 PyObject *resultobj = 0;
9643 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9644 void *argp1 = 0 ;
9645 int res1 = 0 ;
9646 PyObject *swig_obj[1] ;
9647
9648 if (!args) SWIG_fail;
9649 swig_obj[0] = args;
9650 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9651 if (!SWIG_IsOK(res1)) {
9652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9653 }
9654 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9655 {
9656 PyThreadState* __tstate = wxPyBeginAllowThreads();
9657 (arg1)->UnselectAll();
9658 wxPyEndAllowThreads(__tstate);
9659 if (PyErr_Occurred()) SWIG_fail;
9660 }
9661 resultobj = SWIG_Py_Void();
9662 return resultobj;
9663 fail:
9664 return NULL;
9665 }
9666
9667
9668 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9669 PyObject *resultobj = 0;
9670 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9671 wxTreeItemId *arg2 = 0 ;
9672 bool arg3 = (bool) true ;
9673 bool arg4 = (bool) false ;
9674 void *argp1 = 0 ;
9675 int res1 = 0 ;
9676 void *argp2 = 0 ;
9677 int res2 = 0 ;
9678 bool val3 ;
9679 int ecode3 = 0 ;
9680 bool val4 ;
9681 int ecode4 = 0 ;
9682 PyObject * obj0 = 0 ;
9683 PyObject * obj1 = 0 ;
9684 PyObject * obj2 = 0 ;
9685 PyObject * obj3 = 0 ;
9686 char * kwnames[] = {
9687 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9688 };
9689
9690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9692 if (!SWIG_IsOK(res1)) {
9693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9694 }
9695 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9697 if (!SWIG_IsOK(res2)) {
9698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9699 }
9700 if (!argp2) {
9701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9702 }
9703 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9704 if (obj2) {
9705 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9706 if (!SWIG_IsOK(ecode3)) {
9707 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9708 }
9709 arg3 = static_cast< bool >(val3);
9710 }
9711 if (obj3) {
9712 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9713 if (!SWIG_IsOK(ecode4)) {
9714 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9715 }
9716 arg4 = static_cast< bool >(val4);
9717 }
9718 {
9719 PyThreadState* __tstate = wxPyBeginAllowThreads();
9720 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9721 wxPyEndAllowThreads(__tstate);
9722 if (PyErr_Occurred()) SWIG_fail;
9723 }
9724 resultobj = SWIG_Py_Void();
9725 return resultobj;
9726 fail:
9727 return NULL;
9728 }
9729
9730
9731 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9732 PyObject *resultobj = 0;
9733 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9734 bool arg2 = (bool) false ;
9735 void *argp1 = 0 ;
9736 int res1 = 0 ;
9737 bool val2 ;
9738 int ecode2 = 0 ;
9739 PyObject * obj0 = 0 ;
9740 PyObject * obj1 = 0 ;
9741 char * kwnames[] = {
9742 (char *) "self",(char *) "extended_select", NULL
9743 };
9744
9745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9747 if (!SWIG_IsOK(res1)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9749 }
9750 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9751 if (obj1) {
9752 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9753 if (!SWIG_IsOK(ecode2)) {
9754 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9755 }
9756 arg2 = static_cast< bool >(val2);
9757 }
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 (arg1)->SelectAll(arg2);
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 resultobj = SWIG_Py_Void();
9765 return resultobj;
9766 fail:
9767 return NULL;
9768 }
9769
9770
9771 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj = 0;
9773 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9774 wxTreeItemId *arg2 = 0 ;
9775 void *argp1 = 0 ;
9776 int res1 = 0 ;
9777 void *argp2 = 0 ;
9778 int res2 = 0 ;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 char * kwnames[] = {
9782 (char *) "self",(char *) "item", NULL
9783 };
9784
9785 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9786 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9787 if (!SWIG_IsOK(res1)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9789 }
9790 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9791 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9792 if (!SWIG_IsOK(res2)) {
9793 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9794 }
9795 if (!argp2) {
9796 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9797 }
9798 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9799 {
9800 PyThreadState* __tstate = wxPyBeginAllowThreads();
9801 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 resultobj = SWIG_Py_Void();
9806 return resultobj;
9807 fail:
9808 return NULL;
9809 }
9810
9811
9812 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj = 0;
9814 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9815 wxTreeItemId *arg2 = 0 ;
9816 void *argp1 = 0 ;
9817 int res1 = 0 ;
9818 void *argp2 = 0 ;
9819 int res2 = 0 ;
9820 PyObject * obj0 = 0 ;
9821 PyObject * obj1 = 0 ;
9822 char * kwnames[] = {
9823 (char *) "self",(char *) "item", NULL
9824 };
9825
9826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9828 if (!SWIG_IsOK(res1)) {
9829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9830 }
9831 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9832 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9833 if (!SWIG_IsOK(res2)) {
9834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9835 }
9836 if (!argp2) {
9837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9838 }
9839 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_Py_Void();
9847 return resultobj;
9848 fail:
9849 return NULL;
9850 }
9851
9852
9853 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9854 PyObject *resultobj = 0;
9855 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9856 wxPoint *arg2 = 0 ;
9857 int *arg3 = 0 ;
9858 int *arg4 = 0 ;
9859 wxTreeItemId result;
9860 void *argp1 = 0 ;
9861 int res1 = 0 ;
9862 wxPoint temp2 ;
9863 int temp3 ;
9864 int res3 = SWIG_TMPOBJ ;
9865 int temp4 ;
9866 int res4 = SWIG_TMPOBJ ;
9867 PyObject * obj0 = 0 ;
9868 PyObject * obj1 = 0 ;
9869 char * kwnames[] = {
9870 (char *) "self",(char *) "point", NULL
9871 };
9872
9873 arg3 = &temp3;
9874 arg4 = &temp4;
9875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9877 if (!SWIG_IsOK(res1)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9879 }
9880 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9881 {
9882 arg2 = &temp2;
9883 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9888 wxPyEndAllowThreads(__tstate);
9889 if (PyErr_Occurred()) SWIG_fail;
9890 }
9891 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9892 if (SWIG_IsTmpObj(res3)) {
9893 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9894 } else {
9895 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9896 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9897 }
9898 if (SWIG_IsTmpObj(res4)) {
9899 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9900 } else {
9901 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9902 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9903 }
9904 return resultobj;
9905 fail:
9906 return NULL;
9907 }
9908
9909
9910 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj = 0;
9912 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9913 wxTreeItemId *arg2 = 0 ;
9914 bool arg3 = (bool) false ;
9915 PyObject *result = 0 ;
9916 void *argp1 = 0 ;
9917 int res1 = 0 ;
9918 void *argp2 = 0 ;
9919 int res2 = 0 ;
9920 bool val3 ;
9921 int ecode3 = 0 ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 PyObject * obj2 = 0 ;
9925 char * kwnames[] = {
9926 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9927 };
9928
9929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9931 if (!SWIG_IsOK(res1)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9933 }
9934 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9935 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9936 if (!SWIG_IsOK(res2)) {
9937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9938 }
9939 if (!argp2) {
9940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9941 }
9942 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9943 if (obj2) {
9944 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9945 if (!SWIG_IsOK(ecode3)) {
9946 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9947 }
9948 arg3 = static_cast< bool >(val3);
9949 }
9950 {
9951 PyThreadState* __tstate = wxPyBeginAllowThreads();
9952 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9953 wxPyEndAllowThreads(__tstate);
9954 if (PyErr_Occurred()) SWIG_fail;
9955 }
9956 resultobj = result;
9957 return resultobj;
9958 fail:
9959 return NULL;
9960 }
9961
9962
9963 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9964 PyObject *resultobj = 0;
9965 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9966 wxTreeItemId *arg2 = 0 ;
9967 void *argp1 = 0 ;
9968 int res1 = 0 ;
9969 void *argp2 = 0 ;
9970 int res2 = 0 ;
9971 PyObject * obj0 = 0 ;
9972 PyObject * obj1 = 0 ;
9973 char * kwnames[] = {
9974 (char *) "self",(char *) "item", NULL
9975 };
9976
9977 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9978 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9979 if (!SWIG_IsOK(res1)) {
9980 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9981 }
9982 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9983 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9984 if (!SWIG_IsOK(res2)) {
9985 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9986 }
9987 if (!argp2) {
9988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9989 }
9990 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9991 {
9992 PyThreadState* __tstate = wxPyBeginAllowThreads();
9993 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9994 wxPyEndAllowThreads(__tstate);
9995 if (PyErr_Occurred()) SWIG_fail;
9996 }
9997 resultobj = SWIG_Py_Void();
9998 return resultobj;
9999 fail:
10000 return NULL;
10001 }
10002
10003
10004 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10005 PyObject *resultobj = 0;
10006 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10007 wxTreeItemId *arg2 = 0 ;
10008 void *argp1 = 0 ;
10009 int res1 = 0 ;
10010 void *argp2 = 0 ;
10011 int res2 = 0 ;
10012 PyObject * obj0 = 0 ;
10013 PyObject * obj1 = 0 ;
10014 char * kwnames[] = {
10015 (char *) "self",(char *) "item", NULL
10016 };
10017
10018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10020 if (!SWIG_IsOK(res1)) {
10021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10022 }
10023 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10024 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10025 if (!SWIG_IsOK(res2)) {
10026 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10027 }
10028 if (!argp2) {
10029 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10030 }
10031 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10032 {
10033 PyThreadState* __tstate = wxPyBeginAllowThreads();
10034 (arg1)->Edit((wxTreeItemId const &)*arg2);
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
10038 resultobj = SWIG_Py_Void();
10039 return resultobj;
10040 fail:
10041 return NULL;
10042 }
10043
10044
10045 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10046 PyObject *resultobj = 0;
10047 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10048 wxTreeItemId *arg2 = 0 ;
10049 void *argp1 = 0 ;
10050 int res1 = 0 ;
10051 void *argp2 = 0 ;
10052 int res2 = 0 ;
10053 PyObject * obj0 = 0 ;
10054 PyObject * obj1 = 0 ;
10055 char * kwnames[] = {
10056 (char *) "self",(char *) "item", NULL
10057 };
10058
10059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10061 if (!SWIG_IsOK(res1)) {
10062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10063 }
10064 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10065 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10066 if (!SWIG_IsOK(res2)) {
10067 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10068 }
10069 if (!argp2) {
10070 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10071 }
10072 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10073 {
10074 PyThreadState* __tstate = wxPyBeginAllowThreads();
10075 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10076 wxPyEndAllowThreads(__tstate);
10077 if (PyErr_Occurred()) SWIG_fail;
10078 }
10079 resultobj = SWIG_Py_Void();
10080 return resultobj;
10081 fail:
10082 return NULL;
10083 }
10084
10085
10086 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj = 0;
10088 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10089 wxTreeItemId *arg2 = 0 ;
10090 wxString *arg3 = 0 ;
10091 int arg4 = (int) 0 ;
10092 wxTreeItemId result;
10093 void *argp1 = 0 ;
10094 int res1 = 0 ;
10095 void *argp2 = 0 ;
10096 int res2 = 0 ;
10097 bool temp3 = false ;
10098 int val4 ;
10099 int ecode4 = 0 ;
10100 PyObject * obj0 = 0 ;
10101 PyObject * obj1 = 0 ;
10102 PyObject * obj2 = 0 ;
10103 PyObject * obj3 = 0 ;
10104 char * kwnames[] = {
10105 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10106 };
10107
10108 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10109 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10110 if (!SWIG_IsOK(res1)) {
10111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10112 }
10113 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10114 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10115 if (!SWIG_IsOK(res2)) {
10116 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10117 }
10118 if (!argp2) {
10119 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10120 }
10121 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10122 {
10123 arg3 = wxString_in_helper(obj2);
10124 if (arg3 == NULL) SWIG_fail;
10125 temp3 = true;
10126 }
10127 if (obj3) {
10128 ecode4 = SWIG_AsVal_int(obj3, &val4);
10129 if (!SWIG_IsOK(ecode4)) {
10130 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10131 }
10132 arg4 = static_cast< int >(val4);
10133 }
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10141 {
10142 if (temp3)
10143 delete arg3;
10144 }
10145 return resultobj;
10146 fail:
10147 {
10148 if (temp3)
10149 delete arg3;
10150 }
10151 return NULL;
10152 }
10153
10154
10155 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10156 PyObject *resultobj = 0;
10157 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10158 wxWindow *result = 0 ;
10159 void *argp1 = 0 ;
10160 int res1 = 0 ;
10161 PyObject *swig_obj[1] ;
10162
10163 if (!args) SWIG_fail;
10164 swig_obj[0] = args;
10165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10166 if (!SWIG_IsOK(res1)) {
10167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10168 }
10169 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 {
10177 resultobj = wxPyMake_wxObject(result, 0);
10178 }
10179 return resultobj;
10180 fail:
10181 return NULL;
10182 }
10183
10184
10185 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10186 PyObject *resultobj = 0;
10187 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10188 wxScrolledWindow *result = 0 ;
10189 void *argp1 = 0 ;
10190 int res1 = 0 ;
10191 PyObject *swig_obj[1] ;
10192
10193 if (!args) SWIG_fail;
10194 swig_obj[0] = args;
10195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10196 if (!SWIG_IsOK(res1)) {
10197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10198 }
10199 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10203 wxPyEndAllowThreads(__tstate);
10204 if (PyErr_Occurred()) SWIG_fail;
10205 }
10206 {
10207 resultobj = wxPyMake_wxObject(result, 0);
10208 }
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10216 PyObject *obj;
10217 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10218 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10219 return SWIG_Py_Void();
10220 }
10221
10222 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10223 return SWIG_Python_InitShadowInstance(args);
10224 }
10225
10226 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj = 0;
10228 wxWindow *arg1 = (wxWindow *) 0 ;
10229 int arg2 = (int) -1 ;
10230 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10231 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10232 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10233 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10234 wxSize const &arg5_defvalue = wxDefaultSize ;
10235 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10236 long arg6 = (long) 0 ;
10237 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10238 wxString *arg7 = (wxString *) &arg7_defvalue ;
10239 wxStaticPicture *result = 0 ;
10240 void *argp1 = 0 ;
10241 int res1 = 0 ;
10242 int val2 ;
10243 int ecode2 = 0 ;
10244 void *argp3 = 0 ;
10245 int res3 = 0 ;
10246 wxPoint temp4 ;
10247 wxSize temp5 ;
10248 long val6 ;
10249 int ecode6 = 0 ;
10250 bool temp7 = false ;
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
10253 PyObject * obj2 = 0 ;
10254 PyObject * obj3 = 0 ;
10255 PyObject * obj4 = 0 ;
10256 PyObject * obj5 = 0 ;
10257 PyObject * obj6 = 0 ;
10258 char * kwnames[] = {
10259 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10260 };
10261
10262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10264 if (!SWIG_IsOK(res1)) {
10265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10266 }
10267 arg1 = reinterpret_cast< wxWindow * >(argp1);
10268 if (obj1) {
10269 ecode2 = SWIG_AsVal_int(obj1, &val2);
10270 if (!SWIG_IsOK(ecode2)) {
10271 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10272 }
10273 arg2 = static_cast< int >(val2);
10274 }
10275 if (obj2) {
10276 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10277 if (!SWIG_IsOK(res3)) {
10278 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10279 }
10280 if (!argp3) {
10281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10282 }
10283 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10284 }
10285 if (obj3) {
10286 {
10287 arg4 = &temp4;
10288 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10289 }
10290 }
10291 if (obj4) {
10292 {
10293 arg5 = &temp5;
10294 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10295 }
10296 }
10297 if (obj5) {
10298 ecode6 = SWIG_AsVal_long(obj5, &val6);
10299 if (!SWIG_IsOK(ecode6)) {
10300 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10301 }
10302 arg6 = static_cast< long >(val6);
10303 }
10304 if (obj6) {
10305 {
10306 arg7 = wxString_in_helper(obj6);
10307 if (arg7 == NULL) SWIG_fail;
10308 temp7 = true;
10309 }
10310 }
10311 {
10312 if (!wxPyCheckForApp()) SWIG_fail;
10313 PyThreadState* __tstate = wxPyBeginAllowThreads();
10314 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10315 wxPyEndAllowThreads(__tstate);
10316 if (PyErr_Occurred()) SWIG_fail;
10317 }
10318 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10319 {
10320 if (temp7)
10321 delete arg7;
10322 }
10323 return resultobj;
10324 fail:
10325 {
10326 if (temp7)
10327 delete arg7;
10328 }
10329 return NULL;
10330 }
10331
10332
10333 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10334 PyObject *resultobj = 0;
10335 wxStaticPicture *result = 0 ;
10336
10337 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10338 {
10339 if (!wxPyCheckForApp()) SWIG_fail;
10340 PyThreadState* __tstate = wxPyBeginAllowThreads();
10341 result = (wxStaticPicture *)new wxStaticPicture();
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10346 return resultobj;
10347 fail:
10348 return NULL;
10349 }
10350
10351
10352 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10353 PyObject *resultobj = 0;
10354 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10355 wxWindow *arg2 = (wxWindow *) 0 ;
10356 int arg3 = (int) -1 ;
10357 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10358 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10359 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10360 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10361 wxSize const &arg6_defvalue = wxDefaultSize ;
10362 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10363 long arg7 = (long) 0 ;
10364 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10365 wxString *arg8 = (wxString *) &arg8_defvalue ;
10366 bool result;
10367 void *argp1 = 0 ;
10368 int res1 = 0 ;
10369 void *argp2 = 0 ;
10370 int res2 = 0 ;
10371 int val3 ;
10372 int ecode3 = 0 ;
10373 void *argp4 = 0 ;
10374 int res4 = 0 ;
10375 wxPoint temp5 ;
10376 wxSize temp6 ;
10377 long val7 ;
10378 int ecode7 = 0 ;
10379 bool temp8 = false ;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
10382 PyObject * obj2 = 0 ;
10383 PyObject * obj3 = 0 ;
10384 PyObject * obj4 = 0 ;
10385 PyObject * obj5 = 0 ;
10386 PyObject * obj6 = 0 ;
10387 PyObject * obj7 = 0 ;
10388 char * kwnames[] = {
10389 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10390 };
10391
10392 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10393 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10394 if (!SWIG_IsOK(res1)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10396 }
10397 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10398 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10399 if (!SWIG_IsOK(res2)) {
10400 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10401 }
10402 arg2 = reinterpret_cast< wxWindow * >(argp2);
10403 if (obj2) {
10404 ecode3 = SWIG_AsVal_int(obj2, &val3);
10405 if (!SWIG_IsOK(ecode3)) {
10406 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10407 }
10408 arg3 = static_cast< int >(val3);
10409 }
10410 if (obj3) {
10411 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10412 if (!SWIG_IsOK(res4)) {
10413 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10414 }
10415 if (!argp4) {
10416 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10417 }
10418 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10419 }
10420 if (obj4) {
10421 {
10422 arg5 = &temp5;
10423 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10424 }
10425 }
10426 if (obj5) {
10427 {
10428 arg6 = &temp6;
10429 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10430 }
10431 }
10432 if (obj6) {
10433 ecode7 = SWIG_AsVal_long(obj6, &val7);
10434 if (!SWIG_IsOK(ecode7)) {
10435 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10436 }
10437 arg7 = static_cast< long >(val7);
10438 }
10439 if (obj7) {
10440 {
10441 arg8 = wxString_in_helper(obj7);
10442 if (arg8 == NULL) SWIG_fail;
10443 temp8 = true;
10444 }
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 {
10453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10454 }
10455 {
10456 if (temp8)
10457 delete arg8;
10458 }
10459 return resultobj;
10460 fail:
10461 {
10462 if (temp8)
10463 delete arg8;
10464 }
10465 return NULL;
10466 }
10467
10468
10469 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj = 0;
10471 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10472 wxBitmap *arg2 = 0 ;
10473 void *argp1 = 0 ;
10474 int res1 = 0 ;
10475 void *argp2 = 0 ;
10476 int res2 = 0 ;
10477 PyObject * obj0 = 0 ;
10478 PyObject * obj1 = 0 ;
10479 char * kwnames[] = {
10480 (char *) "self",(char *) "bmp", NULL
10481 };
10482
10483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10485 if (!SWIG_IsOK(res1)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10487 }
10488 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10489 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10490 if (!SWIG_IsOK(res2)) {
10491 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10492 }
10493 if (!argp2) {
10494 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10495 }
10496 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10497 {
10498 PyThreadState* __tstate = wxPyBeginAllowThreads();
10499 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10500 wxPyEndAllowThreads(__tstate);
10501 if (PyErr_Occurred()) SWIG_fail;
10502 }
10503 resultobj = SWIG_Py_Void();
10504 return resultobj;
10505 fail:
10506 return NULL;
10507 }
10508
10509
10510 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10511 PyObject *resultobj = 0;
10512 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10513 wxBitmap result;
10514 void *argp1 = 0 ;
10515 int res1 = 0 ;
10516 PyObject *swig_obj[1] ;
10517
10518 if (!args) SWIG_fail;
10519 swig_obj[0] = args;
10520 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10521 if (!SWIG_IsOK(res1)) {
10522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10523 }
10524 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10528 wxPyEndAllowThreads(__tstate);
10529 if (PyErr_Occurred()) SWIG_fail;
10530 }
10531 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10532 return resultobj;
10533 fail:
10534 return NULL;
10535 }
10536
10537
10538 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10539 PyObject *resultobj = 0;
10540 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10541 wxIcon *arg2 = 0 ;
10542 void *argp1 = 0 ;
10543 int res1 = 0 ;
10544 void *argp2 = 0 ;
10545 int res2 = 0 ;
10546 PyObject * obj0 = 0 ;
10547 PyObject * obj1 = 0 ;
10548 char * kwnames[] = {
10549 (char *) "self",(char *) "icon", NULL
10550 };
10551
10552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10554 if (!SWIG_IsOK(res1)) {
10555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10556 }
10557 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10558 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10559 if (!SWIG_IsOK(res2)) {
10560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10561 }
10562 if (!argp2) {
10563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10564 }
10565 arg2 = reinterpret_cast< wxIcon * >(argp2);
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 (arg1)->SetIcon((wxIcon const &)*arg2);
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_Py_Void();
10573 return resultobj;
10574 fail:
10575 return NULL;
10576 }
10577
10578
10579 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10580 PyObject *resultobj = 0;
10581 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10582 wxIcon result;
10583 void *argp1 = 0 ;
10584 int res1 = 0 ;
10585 PyObject *swig_obj[1] ;
10586
10587 if (!args) SWIG_fail;
10588 swig_obj[0] = args;
10589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10590 if (!SWIG_IsOK(res1)) {
10591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10592 }
10593 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 result = ((wxStaticPicture const *)arg1)->GetIcon();
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj = 0;
10609 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10610 int arg2 ;
10611 void *argp1 = 0 ;
10612 int res1 = 0 ;
10613 int val2 ;
10614 int ecode2 = 0 ;
10615 PyObject * obj0 = 0 ;
10616 PyObject * obj1 = 0 ;
10617 char * kwnames[] = {
10618 (char *) "self",(char *) "align", NULL
10619 };
10620
10621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10623 if (!SWIG_IsOK(res1)) {
10624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10625 }
10626 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10627 ecode2 = SWIG_AsVal_int(obj1, &val2);
10628 if (!SWIG_IsOK(ecode2)) {
10629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10630 }
10631 arg2 = static_cast< int >(val2);
10632 {
10633 PyThreadState* __tstate = wxPyBeginAllowThreads();
10634 (arg1)->SetAlignment(arg2);
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 resultobj = SWIG_Py_Void();
10639 return resultobj;
10640 fail:
10641 return NULL;
10642 }
10643
10644
10645 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10646 PyObject *resultobj = 0;
10647 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10648 int result;
10649 void *argp1 = 0 ;
10650 int res1 = 0 ;
10651 PyObject *swig_obj[1] ;
10652
10653 if (!args) SWIG_fail;
10654 swig_obj[0] = args;
10655 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10656 if (!SWIG_IsOK(res1)) {
10657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10658 }
10659 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10660 {
10661 PyThreadState* __tstate = wxPyBeginAllowThreads();
10662 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 resultobj = SWIG_From_int(static_cast< int >(result));
10667 return resultobj;
10668 fail:
10669 return NULL;
10670 }
10671
10672
10673 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10674 PyObject *resultobj = 0;
10675 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10676 int arg2 ;
10677 void *argp1 = 0 ;
10678 int res1 = 0 ;
10679 int val2 ;
10680 int ecode2 = 0 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 char * kwnames[] = {
10684 (char *) "self",(char *) "scale", NULL
10685 };
10686
10687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10689 if (!SWIG_IsOK(res1)) {
10690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10691 }
10692 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10693 ecode2 = SWIG_AsVal_int(obj1, &val2);
10694 if (!SWIG_IsOK(ecode2)) {
10695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10696 }
10697 arg2 = static_cast< int >(val2);
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 (arg1)->SetScale(arg2);
10701 wxPyEndAllowThreads(__tstate);
10702 if (PyErr_Occurred()) SWIG_fail;
10703 }
10704 resultobj = SWIG_Py_Void();
10705 return resultobj;
10706 fail:
10707 return NULL;
10708 }
10709
10710
10711 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10712 PyObject *resultobj = 0;
10713 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10714 int result;
10715 void *argp1 = 0 ;
10716 int res1 = 0 ;
10717 PyObject *swig_obj[1] ;
10718
10719 if (!args) SWIG_fail;
10720 swig_obj[0] = args;
10721 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10722 if (!SWIG_IsOK(res1)) {
10723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10724 }
10725 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10729 wxPyEndAllowThreads(__tstate);
10730 if (PyErr_Occurred()) SWIG_fail;
10731 }
10732 resultobj = SWIG_From_int(static_cast< int >(result));
10733 return resultobj;
10734 fail:
10735 return NULL;
10736 }
10737
10738
10739 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj = 0;
10741 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10742 float arg2 ;
10743 float arg3 ;
10744 void *argp1 = 0 ;
10745 int res1 = 0 ;
10746 float val2 ;
10747 int ecode2 = 0 ;
10748 float val3 ;
10749 int ecode3 = 0 ;
10750 PyObject * obj0 = 0 ;
10751 PyObject * obj1 = 0 ;
10752 PyObject * obj2 = 0 ;
10753 char * kwnames[] = {
10754 (char *) "self",(char *) "sx",(char *) "sy", NULL
10755 };
10756
10757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10759 if (!SWIG_IsOK(res1)) {
10760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10761 }
10762 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10763 ecode2 = SWIG_AsVal_float(obj1, &val2);
10764 if (!SWIG_IsOK(ecode2)) {
10765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10766 }
10767 arg2 = static_cast< float >(val2);
10768 ecode3 = SWIG_AsVal_float(obj2, &val3);
10769 if (!SWIG_IsOK(ecode3)) {
10770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10771 }
10772 arg3 = static_cast< float >(val3);
10773 {
10774 PyThreadState* __tstate = wxPyBeginAllowThreads();
10775 (arg1)->SetCustomScale(arg2,arg3);
10776 wxPyEndAllowThreads(__tstate);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 }
10779 resultobj = SWIG_Py_Void();
10780 return resultobj;
10781 fail:
10782 return NULL;
10783 }
10784
10785
10786 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10787 PyObject *resultobj = 0;
10788 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10789 float *arg2 = (float *) 0 ;
10790 float *arg3 = (float *) 0 ;
10791 void *argp1 = 0 ;
10792 int res1 = 0 ;
10793 float temp2 ;
10794 int res2 = SWIG_TMPOBJ ;
10795 float temp3 ;
10796 int res3 = SWIG_TMPOBJ ;
10797 PyObject *swig_obj[1] ;
10798
10799 arg2 = &temp2;
10800 arg3 = &temp3;
10801 if (!args) SWIG_fail;
10802 swig_obj[0] = args;
10803 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10804 if (!SWIG_IsOK(res1)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10806 }
10807 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10808 {
10809 PyThreadState* __tstate = wxPyBeginAllowThreads();
10810 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10811 wxPyEndAllowThreads(__tstate);
10812 if (PyErr_Occurred()) SWIG_fail;
10813 }
10814 resultobj = SWIG_Py_Void();
10815 if (SWIG_IsTmpObj(res2)) {
10816 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10817 } else {
10818 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10819 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10820 }
10821 if (SWIG_IsTmpObj(res3)) {
10822 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10823 } else {
10824 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10825 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10826 }
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10834 PyObject *obj;
10835 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10836 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10837 return SWIG_Py_Void();
10838 }
10839
10840 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10841 return SWIG_Python_InitShadowInstance(args);
10842 }
10843
10844 static PyMethodDef SwigMethods[] = {
10845 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10846 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10847 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10848 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10849 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10850 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10851 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10852 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10853 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10854 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10855 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10856 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10857 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10858 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10859 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10860 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10861 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10862 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10863 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10864 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10865 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10866 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10867 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10868 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10869 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10870 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10871 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10872 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10873 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10874 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10875 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10876 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10877 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10878 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10879 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10880 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10881 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10882 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10883 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10884 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10885 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10886 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10887 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10888 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10889 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10890 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10891 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10892 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10893 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10894 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10895 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10896 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10897 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10900 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10901 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10902 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10903 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10904 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10905 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10906 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10907 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10908 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10909 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10910 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10911 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10912 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10913 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10914 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10915 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10916 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10917 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10918 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10919 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10921 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10922 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10923 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10924 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10925 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10926 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10927 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10928 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10929 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10930 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10931 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10941 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10945 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10965 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10966 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10967 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10976 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10979 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10980 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10981 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10982 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10984 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10988 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10990 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10991 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
10999 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11001 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11002 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11003 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11004 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11005 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11006 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11007 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
11008 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11010 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11013 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11014 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11015 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11016 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11017 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11018 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11019 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11020 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11021 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11022 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11023 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11024 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11025 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11026 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11027 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11028 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11029 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11030 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11031 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11032 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11033 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11034 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11035 { NULL, NULL, 0, NULL }
11036 };
11037
11038
11039 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11040
11041 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11042 return (void *)((wxValidator *) ((wxPyValidator *) x));
11043 }
11044 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11045 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11046 }
11047 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11048 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11049 }
11050 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11051 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11052 }
11053 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11054 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11055 }
11056 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11057 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11058 }
11059 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11060 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11061 }
11062 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11063 return (void *)((wxPanel *) ((wxPyPanel *) x));
11064 }
11065 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11066 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11067 }
11068 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11069 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11070 }
11071 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11072 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11073 }
11074 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11075 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11076 }
11077 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11078 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11079 }
11080 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11081 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11082 }
11083 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11084 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11085 }
11086 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11087 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11088 }
11089 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11090 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11091 }
11092 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11093 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11094 }
11095 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11096 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11097 }
11098 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11099 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11100 }
11101 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11102 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11103 }
11104 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11105 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11106 }
11107 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11108 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11109 }
11110 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11111 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11112 }
11113 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11114 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11115 }
11116 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11117 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11118 }
11119 static void *_p_wxControlTo_p_wxWindow(void *x) {
11120 return (void *)((wxWindow *) ((wxControl *) x));
11121 }
11122 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11123 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11124 }
11125 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11126 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11127 }
11128 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11129 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11130 }
11131 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11132 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11133 }
11134 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11135 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11136 }
11137 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11138 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11139 }
11140 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11141 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11142 }
11143 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11144 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11145 }
11146 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11147 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11148 }
11149 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11150 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11151 }
11152 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11154 }
11155 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11156 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11157 }
11158 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11159 return (void *)((wxWindow *) ((wxPyWindow *) x));
11160 }
11161 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11162 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11163 }
11164 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11165 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11166 }
11167 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11169 }
11170 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11172 }
11173 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11174 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11175 }
11176 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11177 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11178 }
11179 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11180 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11181 }
11182 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11183 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11184 }
11185 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11186 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11187 }
11188 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11189 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11190 }
11191 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11192 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11193 }
11194 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11195 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11196 }
11197 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11198 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11199 }
11200 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11201 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11202 }
11203 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11204 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11205 }
11206 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11207 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11208 }
11209 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11210 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11211 }
11212 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11213 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11214 }
11215 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11216 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11217 }
11218 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11219 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11220 }
11221 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11222 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11223 }
11224 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11225 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11226 }
11227 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11228 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11229 }
11230 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11231 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11232 }
11233 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11234 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11235 }
11236 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11237 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11238 }
11239 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11240 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11241 }
11242 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11243 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11244 }
11245 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11246 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11247 }
11248 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11249 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11250 }
11251 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11252 return (void *)((wxWindow *) ((wxStatusBar *) x));
11253 }
11254 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11255 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11256 }
11257 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11258 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11259 }
11260 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11261 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11262 }
11263 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11264 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11265 }
11266 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11267 return (void *)((wxWindow *) ((wxSashWindow *) x));
11268 }
11269 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11270 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11271 }
11272 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11273 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11274 }
11275 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11276 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11277 }
11278 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11279 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11280 }
11281 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11282 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11283 }
11284 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11285 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11286 }
11287 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11288 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11289 }
11290 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11291 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11292 }
11293 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11294 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11295 }
11296 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11297 return (void *)((wxWindow *) ((wxMenuBar *) x));
11298 }
11299 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11300 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11301 }
11302 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11303 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11304 }
11305 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11306 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11307 }
11308 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11309 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11310 }
11311 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11312 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11313 }
11314 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11315 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11316 }
11317 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11318 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11319 }
11320 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11321 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11322 }
11323 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11324 return (void *)((wxWindow *) ((wxPanel *) x));
11325 }
11326 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11327 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11328 }
11329 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11330 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11331 }
11332 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11333 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11334 }
11335 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11336 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11337 }
11338 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11339 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11340 }
11341 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11342 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11343 }
11344 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11345 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11346 }
11347 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11348 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11349 }
11350 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11351 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11352 }
11353 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11354 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11355 }
11356 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11357 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11358 }
11359 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11360 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11361 }
11362 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11363 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11364 }
11365 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11366 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11367 }
11368 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11369 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11370 }
11371 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11372 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11373 }
11374 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11375 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11376 }
11377 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11378 return (void *)((wxControl *) ((wxPickerBase *) x));
11379 }
11380 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11381 return (void *)((wxControl *) ((wxToggleButton *) x));
11382 }
11383 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11384 return (void *)((wxControl *) ((wxRadioButton *) x));
11385 }
11386 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11387 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11388 }
11389 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11390 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11391 }
11392 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11393 return (void *)((wxControl *) ((wxToolBarBase *) x));
11394 }
11395 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11396 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11397 }
11398 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11399 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11400 }
11401 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11402 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11403 }
11404 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11405 return (void *)((wxControl *) ((wxPyControl *) x));
11406 }
11407 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11408 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11409 }
11410 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11411 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11412 }
11413 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11414 return (void *)((wxControl *) ((wxScrollBar *) x));
11415 }
11416 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11417 return (void *)((wxControl *) ((wxControlWithItems *) x));
11418 }
11419 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11420 return (void *)((wxControl *) ((wxGauge *) x));
11421 }
11422 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11423 return (void *)((wxControl *) ((wxStaticLine *) x));
11424 }
11425 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11426 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11427 }
11428 static void *_p_wxListbookTo_p_wxControl(void *x) {
11429 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11430 }
11431 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
11432 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
11433 }
11434 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11435 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11436 }
11437 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11438 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11439 }
11440 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11441 return (void *)((wxControl *) ((wxCheckBox *) x));
11442 }
11443 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11444 return (void *)((wxControl *) ((wxRadioBox *) x));
11445 }
11446 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11447 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11448 }
11449 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11450 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11451 }
11452 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11453 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11454 }
11455 static void *_p_wxListViewTo_p_wxControl(void *x) {
11456 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11457 }
11458 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11459 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11460 }
11461 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11462 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11463 }
11464 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11465 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11466 }
11467 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11468 return (void *)((wxControl *) ((wxStaticText *) x));
11469 }
11470 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11471 return (void *)((wxControl *) ((wxStaticBox *) x));
11472 }
11473 static void *_p_wxSliderTo_p_wxControl(void *x) {
11474 return (void *)((wxControl *) ((wxSlider *) x));
11475 }
11476 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11477 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11478 }
11479 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11480 return (void *)((wxControl *) ((wxSpinButton *) x));
11481 }
11482 static void *_p_wxButtonTo_p_wxControl(void *x) {
11483 return (void *)((wxControl *) ((wxButton *) x));
11484 }
11485 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11486 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11487 }
11488 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11489 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11490 }
11491 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11492 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11493 }
11494 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
11495 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
11496 }
11497 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
11498 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
11499 }
11500 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
11501 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
11502 }
11503 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
11504 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
11505 }
11506 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11507 return (void *)((wxControl *) ((wxStaticPicture *) x));
11508 }
11509 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11510 return (void *)((wxControl *) ((wxTextCtrl *) x));
11511 }
11512 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11513 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11514 }
11515 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11517 }
11518 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11519 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11520 }
11521 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11522 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11523 }
11524 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11525 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11526 }
11527 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11528 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11529 }
11530 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11531 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11532 }
11533 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11534 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11535 }
11536 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11537 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11538 }
11539 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11540 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11541 }
11542 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
11543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
11544 }
11545 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
11546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
11547 }
11548 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
11549 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
11550 }
11551 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11552 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11553 }
11554 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11556 }
11557 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11558 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11559 }
11560 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11561 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11562 }
11563 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11565 }
11566 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11567 return (void *)((wxEvent *) ((wxPyEvent *) x));
11568 }
11569 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11570 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11571 }
11572 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11573 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11574 }
11575 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11577 }
11578 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11579 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11580 }
11581 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11582 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11583 }
11584 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11585 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11586 }
11587 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11588 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11589 }
11590 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11591 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11592 }
11593 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11594 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11595 }
11596 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11597 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11598 }
11599 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11600 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11601 }
11602 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11603 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11604 }
11605 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11606 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11607 }
11608 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11609 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11610 }
11611 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11612 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11613 }
11614 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11615 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11616 }
11617 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11618 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11619 }
11620 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11621 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11622 }
11623 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11625 }
11626 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11628 }
11629 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11630 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11631 }
11632 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11633 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11634 }
11635 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11636 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11637 }
11638 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11639 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11640 }
11641 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11642 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11643 }
11644 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11645 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11646 }
11647 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11648 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11649 }
11650 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
11651 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
11652 }
11653 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11654 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11655 }
11656 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11657 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11658 }
11659 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11661 }
11662 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11663 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11664 }
11665 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11666 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11667 }
11668 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11669 return (void *)((wxEvent *) ((wxShowEvent *) x));
11670 }
11671 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11672 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11673 }
11674 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11675 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11676 }
11677 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11679 }
11680 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11681 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11682 }
11683 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11684 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11685 }
11686 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11687 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11688 }
11689 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11690 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11691 }
11692 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11693 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11694 }
11695 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11697 }
11698 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11699 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11700 }
11701 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11703 }
11704 static void *_p_wxEventTo_p_wxObject(void *x) {
11705 return (void *)((wxObject *) ((wxEvent *) x));
11706 }
11707 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11708 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11709 }
11710 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11711 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11712 }
11713 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11714 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11715 }
11716 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11718 }
11719 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11721 }
11722 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11724 }
11725 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11726 return (void *)((wxObject *) ((wxMenuItem *) x));
11727 }
11728 static void *_p_wxImageTo_p_wxObject(void *x) {
11729 return (void *)((wxObject *) ((wxImage *) x));
11730 }
11731 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11732 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11733 }
11734 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11736 }
11737 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11738 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11739 }
11740 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11742 }
11743 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11744 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11745 }
11746 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11747 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11748 }
11749 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11750 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11751 }
11752 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11754 }
11755 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11757 }
11758 static void *_p_wxListItemTo_p_wxObject(void *x) {
11759 return (void *)((wxObject *) ((wxListItem *) x));
11760 }
11761 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11762 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11763 }
11764 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11766 }
11767 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11769 }
11770 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11772 }
11773 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11775 }
11776 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11778 }
11779 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11780 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11781 }
11782 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11784 }
11785 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11786 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11787 }
11788 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11789 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11790 }
11791 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11792 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11793 }
11794 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11795 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11796 }
11797 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11798 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11799 }
11800 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11801 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11802 }
11803 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11805 }
11806 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11807 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11808 }
11809 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11811 }
11812 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11813 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11814 }
11815 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11816 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11817 }
11818 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11819 return (void *)((wxObject *) ((wxPrinter *) x));
11820 }
11821 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11823 }
11824 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11826 }
11827 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11828 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11829 }
11830 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11831 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11832 }
11833 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11834 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11835 }
11836 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11837 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11838 }
11839 static void *_p_wxControlTo_p_wxObject(void *x) {
11840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11841 }
11842 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11844 }
11845 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11846 return (void *)((wxObject *) ((wxContextHelp *) x));
11847 }
11848 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11849 return (void *)((wxObject *) ((wxColourData *) x));
11850 }
11851 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11852 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11853 }
11854 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11855 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11856 }
11857 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11858 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11859 }
11860 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11861 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11862 }
11863 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11864 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11865 }
11866 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11867 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11868 }
11869 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11871 }
11872 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11873 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11874 }
11875 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11877 }
11878 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11880 }
11881 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11882 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11883 }
11884 static void *_p_wxListEventTo_p_wxObject(void *x) {
11885 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11886 }
11887 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11888 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11889 }
11890 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11891 return (void *)((wxObject *) ((wxPyPrintout *) x));
11892 }
11893 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11895 }
11896 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11898 }
11899 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11900 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11901 }
11902 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11904 }
11905 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11907 }
11908 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11910 }
11911 static void *_p_wxButtonTo_p_wxObject(void *x) {
11912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11913 }
11914 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11916 }
11917 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11918 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11919 }
11920 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11921 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11922 }
11923 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11924 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11925 }
11926 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11927 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11928 }
11929 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11931 }
11932 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11934 }
11935 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11937 }
11938 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11940 }
11941 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11942 return (void *)((wxObject *) ((wxPrintData *) x));
11943 }
11944 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11945 return (void *)((wxObject *) ((wxFontData *) x));
11946 }
11947 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11949 }
11950 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11952 }
11953 static void *_p_wxListbookTo_p_wxObject(void *x) {
11954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11955 }
11956 static void *_p_wxFrameTo_p_wxObject(void *x) {
11957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11958 }
11959 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11960 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11961 }
11962 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11964 }
11965 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11966 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11967 }
11968 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11970 }
11971 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11972 return (void *)((wxObject *) ((wxFileSystem *) x));
11973 }
11974 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11975 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11976 }
11977 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11978 return (void *)((wxObject *) ((wxPrintPreview *) x));
11979 }
11980 static void *_p_wxListViewTo_p_wxObject(void *x) {
11981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11982 }
11983 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11984 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11985 }
11986 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11988 }
11989 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11991 }
11992 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11994 }
11995 static void *_p_wxSizerTo_p_wxObject(void *x) {
11996 return (void *)((wxObject *) ((wxSizer *) x));
11997 }
11998 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11999 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12000 }
12001 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12002 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12003 }
12004 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12005 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12006 }
12007 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12008 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12009 }
12010 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12011 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12012 }
12013 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12014 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12015 }
12016 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12017 return (void *)((wxObject *) ((wxFSFile *) x));
12018 }
12019 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12021 }
12022 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12023 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12024 }
12025 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12026 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12027 }
12028 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12029 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12030 }
12031 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12033 }
12034 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12035 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12036 }
12037 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12038 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12039 }
12040 static void *_p_wxMenuTo_p_wxObject(void *x) {
12041 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12042 }
12043 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12044 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12045 }
12046 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12047 return (void *)((wxObject *) ((wxSizerItem *) x));
12048 }
12049 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12050 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12051 }
12052 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12054 }
12055 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12056 return (void *)((wxObject *) ((wxPrintDialog *) x));
12057 }
12058 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12059 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12060 }
12061 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12063 }
12064 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12066 }
12067 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12069 }
12070 static void *_p_wxDialogTo_p_wxObject(void *x) {
12071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12072 }
12073 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12074 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12075 }
12076 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12077 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12078 }
12079 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12081 }
12082 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12083 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12084 }
12085 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12087 }
12088 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12089 return (void *)((wxObject *) ((wxEvtHandler *) x));
12090 }
12091 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12092 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12093 }
12094 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12095 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12096 }
12097 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12098 return (void *)((wxObject *) ((wxImageHandler *) x));
12099 }
12100 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12101 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12102 }
12103 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12104 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12105 }
12106 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12107 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12108 }
12109 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12110 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12111 }
12112 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12113 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12114 }
12115 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12116 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12117 }
12118 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12119 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12120 }
12121 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12122 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12123 }
12124 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12125 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12126 }
12127 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12128 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12129 }
12130 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12131 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12132 }
12133 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12135 }
12136 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12138 }
12139 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12141 }
12142 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12144 }
12145 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12147 }
12148 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12150 }
12151 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12153 }
12154 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12156 }
12157 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12159 }
12160 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12162 }
12163 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12165 }
12166 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12168 }
12169 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12171 }
12172 static void *_p_wxWindowTo_p_wxObject(void *x) {
12173 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12174 }
12175 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12177 }
12178 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12179 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12180 }
12181 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12182 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12183 }
12184 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12185 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12186 }
12187 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12189 }
12190 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12191 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12192 }
12193 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12195 }
12196 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12197 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12198 }
12199 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12201 }
12202 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12204 }
12205 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12207 }
12208 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12210 }
12211 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12213 }
12214 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12215 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12216 }
12217 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12219 }
12220 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12222 }
12223 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12225 }
12226 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12228 }
12229 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12230 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12231 }
12232 static void *_p_wxSliderTo_p_wxObject(void *x) {
12233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12234 }
12235 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12236 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12237 }
12238 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12239 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12240 }
12241 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12242 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12243 }
12244 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12246 }
12247 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12249 }
12250 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12252 }
12253 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12254 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12255 }
12256 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12257 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12258 }
12259 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12260 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12261 }
12262 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12263 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12264 }
12265 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12267 }
12268 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12269 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12270 }
12271 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12272 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12273 }
12274 static void *_p_wxPanelTo_p_wxObject(void *x) {
12275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12276 }
12277 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12278 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12279 }
12280 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12281 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12282 }
12283 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12284 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12285 }
12286 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12287 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12288 }
12289 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12291 }
12292 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12294 }
12295 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12296 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12297 }
12298 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12300 }
12301 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12303 }
12304 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12306 }
12307 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12309 }
12310 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12312 }
12313 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12314 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12315 }
12316 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12317 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12318 }
12319 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12321 }
12322 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12324 }
12325 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12326 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12327 }
12328 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12330 }
12331 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12333 }
12334 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12335 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12336 }
12337 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12338 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12339 }
12340 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12341 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12342 }
12343 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12344 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12345 }
12346 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12347 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12348 }
12349 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12351 }
12352 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12354 }
12355 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12356 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12357 }
12358 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12359 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12360 }
12361 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12362 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12363 }
12364 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12365 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12366 }
12367 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12369 }
12370 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12371 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12372 }
12373 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12375 }
12376 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12378 }
12379 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12381 }
12382 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12384 }
12385 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12387 }
12388 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12390 }
12391 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12393 }
12394 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12396 }
12397 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12399 }
12400 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12402 }
12403 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12405 }
12406 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12408 }
12409 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12410 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12411 }
12412 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12413 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12414 }
12415 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12416 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12417 }
12418 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12419 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12420 }
12421 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12422 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12423 }
12424 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12425 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12426 }
12427 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12429 }
12430 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12431 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12432 }
12433 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12434 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12435 }
12436 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12437 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12438 }
12439 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12440 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12441 }
12442 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12443 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12444 }
12445 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12446 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12447 }
12448 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12449 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12450 }
12451 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12452 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12453 }
12454 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12455 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12456 }
12457 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12458 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12459 }
12460 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12461 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12462 }
12463 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12464 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12465 }
12466 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12468 }
12469 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12470 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12471 }
12472 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12473 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12474 }
12475 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12476 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12477 }
12478 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12479 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12480 }
12481 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12482 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12483 }
12484 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12486 }
12487 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12488 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12489 }
12490 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12491 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12492 }
12493 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12495 }
12496 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12497 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12498 }
12499 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12501 }
12502 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12503 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12504 }
12505 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12506 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12507 }
12508 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12510 }
12511 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12512 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12513 }
12514 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12515 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12516 }
12517 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12518 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12519 }
12520 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12521 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12522 }
12523 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12524 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12525 }
12526 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12527 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12528 }
12529 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12530 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12531 }
12532 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12533 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12534 }
12535 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12536 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12537 }
12538 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12539 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12540 }
12541 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12542 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12543 }
12544 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12545 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12546 }
12547 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12548 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12549 }
12550 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12551 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12552 }
12553 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12554 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12555 }
12556 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12557 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12558 }
12559 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12560 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12561 }
12562 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12563 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12564 }
12565 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12566 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12567 }
12568 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12569 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12570 }
12571 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12572 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12573 }
12574 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12576 }
12577 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12578 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12579 }
12580 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12581 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12582 }
12583 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12584 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12585 }
12586 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12587 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12588 }
12589 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12590 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12591 }
12592 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12593 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12594 }
12595 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12596 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12597 }
12598 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
12599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12600 }
12601 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
12602 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12603 }
12604 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
12605 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12606 }
12607 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
12608 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12609 }
12610 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12611 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12612 }
12613 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
12614 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12615 }
12616 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12617 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12618 }
12619 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12620 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12621 }
12622 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12623 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12624 }
12625 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12626 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12627 }
12628 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12629 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12630 }
12631 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12632 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12633 }
12634 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
12635 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
12636 }
12637 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12638 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12639 }
12640 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12641 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12642 }
12643 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
12644 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
12645 }
12646 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
12647 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12648 }
12649 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
12650 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
12651 }
12652 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12653 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12654 }
12655 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12656 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12657 }
12658 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12659 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12660 }
12661 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12662 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12663 }
12664 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12665 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12666 }
12667 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12668 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12669 }
12670 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12671 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12672 }
12673 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12674 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12675 }
12676 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12677 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12678 }
12679 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12680 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12681 }
12682 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12683 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12684 }
12685 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12686 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12687 }
12688 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12689 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12690 }
12691 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12692 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12693 }
12694 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12695 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12696 }
12697 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12698 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12699 }
12700 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12701 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12702 }
12703 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12704 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12705 }
12706 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12707 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12708 }
12709 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12710 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12711 }
12712 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12713 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12714 }
12715 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12716 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12717 }
12718 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12719 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12720 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};
12721 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12722 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12723 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12724 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12725 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12726 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12727 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12728 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12729 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12758 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12798 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12799 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12800 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12801 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12802 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12803 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12804 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12806 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12807 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12808 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12809 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12810 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12811 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12812 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12813 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12814 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12815 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12816 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12817 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12818 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12819 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12820 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12821 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12822 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12823 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12824 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12825 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12826 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12827 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12828 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12829 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12830 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12831 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12832 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12833 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12834 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12835 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12836 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12837 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12838 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12839 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12840 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12841 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12842 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12843 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12844 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12845 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12846 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12847 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12848 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12849 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12850 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12851 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12852 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12853 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12854 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12855 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12856 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12857 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12858 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12859 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12860 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12861 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12862 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12863 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12864 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12865 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12866 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12867 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12868 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12869 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12870 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12871 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12872 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12873 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12874 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12875 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12876 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12877 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12878 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12879 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12880 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12881 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12882 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12883 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12884 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12885 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12886 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12887 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12888 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12889 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12890 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12891 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12892 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12893 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12894 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12895 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12896 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12897 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12898 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12899 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12900 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12901 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12902 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12903 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12904 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12905 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12906 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12907 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12908 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12909 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12910 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12911 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12912 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12913 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12914 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12915 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12916 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12917 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12918 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12919 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12920 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12921 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12922 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12923 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12924 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12925 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12926 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12927 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12928 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12929 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12930 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12931 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12932 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12933 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12934 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12935 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12936 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12937 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12938 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12939 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12940 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12941 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12942 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12943 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12944 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12945 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12946
12947 static swig_type_info *swig_type_initial[] = {
12948 &_swigt__p_char,
12949 &_swigt__p_float,
12950 &_swigt__p_form_ops_t,
12951 &_swigt__p_int,
12952 &_swigt__p_unsigned_char,
12953 &_swigt__p_unsigned_int,
12954 &_swigt__p_unsigned_long,
12955 &_swigt__p_wxANIHandler,
12956 &_swigt__p_wxAcceleratorTable,
12957 &_swigt__p_wxActivateEvent,
12958 &_swigt__p_wxArrayString,
12959 &_swigt__p_wxBMPHandler,
12960 &_swigt__p_wxBitmap,
12961 &_swigt__p_wxBitmapButton,
12962 &_swigt__p_wxBookCtrlBase,
12963 &_swigt__p_wxBookCtrlBaseEvent,
12964 &_swigt__p_wxBoxSizer,
12965 &_swigt__p_wxButton,
12966 &_swigt__p_wxCURHandler,
12967 &_swigt__p_wxCalculateLayoutEvent,
12968 &_swigt__p_wxCheckBox,
12969 &_swigt__p_wxCheckListBox,
12970 &_swigt__p_wxChildFocusEvent,
12971 &_swigt__p_wxChoice,
12972 &_swigt__p_wxChoicebook,
12973 &_swigt__p_wxChoicebookEvent,
12974 &_swigt__p_wxClipboardTextEvent,
12975 &_swigt__p_wxCloseEvent,
12976 &_swigt__p_wxColour,
12977 &_swigt__p_wxColourData,
12978 &_swigt__p_wxColourDialog,
12979 &_swigt__p_wxColourPickerCtrl,
12980 &_swigt__p_wxColourPickerEvent,
12981 &_swigt__p_wxComboBox,
12982 &_swigt__p_wxCommandEvent,
12983 &_swigt__p_wxContextHelp,
12984 &_swigt__p_wxContextHelpButton,
12985 &_swigt__p_wxContextMenuEvent,
12986 &_swigt__p_wxControl,
12987 &_swigt__p_wxControlWithItems,
12988 &_swigt__p_wxDateEvent,
12989 &_swigt__p_wxDatePickerCtrl,
12990 &_swigt__p_wxDialog,
12991 &_swigt__p_wxDirDialog,
12992 &_swigt__p_wxDirFilterListCtrl,
12993 &_swigt__p_wxDirPickerCtrl,
12994 &_swigt__p_wxDisplayChangedEvent,
12995 &_swigt__p_wxDropFilesEvent,
12996 &_swigt__p_wxDuplexMode,
12997 &_swigt__p_wxDynamicSashSplitEvent,
12998 &_swigt__p_wxDynamicSashUnifyEvent,
12999 &_swigt__p_wxDynamicSashWindow,
13000 &_swigt__p_wxEditableListBox,
13001 &_swigt__p_wxEraseEvent,
13002 &_swigt__p_wxEvent,
13003 &_swigt__p_wxEvtHandler,
13004 &_swigt__p_wxFSFile,
13005 &_swigt__p_wxFileDialog,
13006 &_swigt__p_wxFileDirPickerEvent,
13007 &_swigt__p_wxFilePickerCtrl,
13008 &_swigt__p_wxFileSystem,
13009 &_swigt__p_wxFindDialogEvent,
13010 &_swigt__p_wxFindReplaceData,
13011 &_swigt__p_wxFindReplaceDialog,
13012 &_swigt__p_wxFlexGridSizer,
13013 &_swigt__p_wxFocusEvent,
13014 &_swigt__p_wxFont,
13015 &_swigt__p_wxFontData,
13016 &_swigt__p_wxFontDialog,
13017 &_swigt__p_wxFontPickerCtrl,
13018 &_swigt__p_wxFontPickerEvent,
13019 &_swigt__p_wxFrame,
13020 &_swigt__p_wxGBSizerItem,
13021 &_swigt__p_wxGIFHandler,
13022 &_swigt__p_wxGauge,
13023 &_swigt__p_wxGenericDirCtrl,
13024 &_swigt__p_wxGenericDragImage,
13025 &_swigt__p_wxGridBagSizer,
13026 &_swigt__p_wxGridSizer,
13027 &_swigt__p_wxHelpEvent,
13028 &_swigt__p_wxHyperlinkCtrl,
13029 &_swigt__p_wxHyperlinkEvent,
13030 &_swigt__p_wxICOHandler,
13031 &_swigt__p_wxIcon,
13032 &_swigt__p_wxIconizeEvent,
13033 &_swigt__p_wxIdleEvent,
13034 &_swigt__p_wxImage,
13035 &_swigt__p_wxImageHandler,
13036 &_swigt__p_wxImageList,
13037 &_swigt__p_wxIndividualLayoutConstraint,
13038 &_swigt__p_wxInitDialogEvent,
13039 &_swigt__p_wxJPEGHandler,
13040 &_swigt__p_wxKeyEvent,
13041 &_swigt__p_wxLEDNumberCtrl,
13042 &_swigt__p_wxLayoutAlgorithm,
13043 &_swigt__p_wxLayoutConstraints,
13044 &_swigt__p_wxListBox,
13045 &_swigt__p_wxListEvent,
13046 &_swigt__p_wxListItem,
13047 &_swigt__p_wxListView,
13048 &_swigt__p_wxListbook,
13049 &_swigt__p_wxListbookEvent,
13050 &_swigt__p_wxMDIChildFrame,
13051 &_swigt__p_wxMDIClientWindow,
13052 &_swigt__p_wxMDIParentFrame,
13053 &_swigt__p_wxMaximizeEvent,
13054 &_swigt__p_wxMenu,
13055 &_swigt__p_wxMenuBar,
13056 &_swigt__p_wxMenuEvent,
13057 &_swigt__p_wxMenuItem,
13058 &_swigt__p_wxMessageDialog,
13059 &_swigt__p_wxMiniFrame,
13060 &_swigt__p_wxMouseCaptureChangedEvent,
13061 &_swigt__p_wxMouseEvent,
13062 &_swigt__p_wxMoveEvent,
13063 &_swigt__p_wxMultiChoiceDialog,
13064 &_swigt__p_wxNavigationKeyEvent,
13065 &_swigt__p_wxNcPaintEvent,
13066 &_swigt__p_wxNotebook,
13067 &_swigt__p_wxNotebookEvent,
13068 &_swigt__p_wxNotifyEvent,
13069 &_swigt__p_wxObject,
13070 &_swigt__p_wxPCXHandler,
13071 &_swigt__p_wxPNGHandler,
13072 &_swigt__p_wxPNMHandler,
13073 &_swigt__p_wxPageSetupDialog,
13074 &_swigt__p_wxPageSetupDialogData,
13075 &_swigt__p_wxPaintEvent,
13076 &_swigt__p_wxPaletteChangedEvent,
13077 &_swigt__p_wxPanel,
13078 &_swigt__p_wxPaperSize,
13079 &_swigt__p_wxPasswordEntryDialog,
13080 &_swigt__p_wxPickerBase,
13081 &_swigt__p_wxPopupWindow,
13082 &_swigt__p_wxPreviewCanvas,
13083 &_swigt__p_wxPreviewControlBar,
13084 &_swigt__p_wxPreviewFrame,
13085 &_swigt__p_wxPrintData,
13086 &_swigt__p_wxPrintDialog,
13087 &_swigt__p_wxPrintDialogData,
13088 &_swigt__p_wxPrintPreview,
13089 &_swigt__p_wxPrinter,
13090 &_swigt__p_wxProgressDialog,
13091 &_swigt__p_wxPyApp,
13092 &_swigt__p_wxPyCommandEvent,
13093 &_swigt__p_wxPyControl,
13094 &_swigt__p_wxPyEvent,
13095 &_swigt__p_wxPyHtmlListBox,
13096 &_swigt__p_wxPyImageHandler,
13097 &_swigt__p_wxPyListCtrl,
13098 &_swigt__p_wxPyPanel,
13099 &_swigt__p_wxPyPopupTransientWindow,
13100 &_swigt__p_wxPyPreviewControlBar,
13101 &_swigt__p_wxPyPreviewFrame,
13102 &_swigt__p_wxPyPrintPreview,
13103 &_swigt__p_wxPyPrintout,
13104 &_swigt__p_wxPyScrolledWindow,
13105 &_swigt__p_wxPySizer,
13106 &_swigt__p_wxPyTaskBarIcon,
13107 &_swigt__p_wxPyTreeCompanionWindow,
13108 &_swigt__p_wxPyTreeCtrl,
13109 &_swigt__p_wxPyTreeItemData,
13110 &_swigt__p_wxPyTreeListCtrl,
13111 &_swigt__p_wxPyVListBox,
13112 &_swigt__p_wxPyVScrolledWindow,
13113 &_swigt__p_wxPyValidator,
13114 &_swigt__p_wxPyWindow,
13115 &_swigt__p_wxQueryLayoutInfoEvent,
13116 &_swigt__p_wxQueryNewPaletteEvent,
13117 &_swigt__p_wxRadioBox,
13118 &_swigt__p_wxRadioButton,
13119 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13120 &_swigt__p_wxSashEvent,
13121 &_swigt__p_wxSashLayoutWindow,
13122 &_swigt__p_wxSashWindow,
13123 &_swigt__p_wxScrollBar,
13124 &_swigt__p_wxScrollEvent,
13125 &_swigt__p_wxScrollWinEvent,
13126 &_swigt__p_wxScrolledWindow,
13127 &_swigt__p_wxSetCursorEvent,
13128 &_swigt__p_wxShowEvent,
13129 &_swigt__p_wxSingleChoiceDialog,
13130 &_swigt__p_wxSizeEvent,
13131 &_swigt__p_wxSizer,
13132 &_swigt__p_wxSizerItem,
13133 &_swigt__p_wxSlider,
13134 &_swigt__p_wxSpinButton,
13135 &_swigt__p_wxSpinCtrl,
13136 &_swigt__p_wxSpinEvent,
13137 &_swigt__p_wxSplashScreen,
13138 &_swigt__p_wxSplashScreenWindow,
13139 &_swigt__p_wxSplitterEvent,
13140 &_swigt__p_wxSplitterScrolledWindow,
13141 &_swigt__p_wxSplitterWindow,
13142 &_swigt__p_wxStaticBitmap,
13143 &_swigt__p_wxStaticBox,
13144 &_swigt__p_wxStaticBoxSizer,
13145 &_swigt__p_wxStaticLine,
13146 &_swigt__p_wxStaticPicture,
13147 &_swigt__p_wxStaticText,
13148 &_swigt__p_wxStatusBar,
13149 &_swigt__p_wxStdDialogButtonSizer,
13150 &_swigt__p_wxSysColourChangedEvent,
13151 &_swigt__p_wxTIFFHandler,
13152 &_swigt__p_wxTaskBarIconEvent,
13153 &_swigt__p_wxTextCtrl,
13154 &_swigt__p_wxTextEntryDialog,
13155 &_swigt__p_wxTextUrlEvent,
13156 &_swigt__p_wxThinSplitterWindow,
13157 &_swigt__p_wxTipWindow,
13158 &_swigt__p_wxToggleButton,
13159 &_swigt__p_wxToolBar,
13160 &_swigt__p_wxToolBarBase,
13161 &_swigt__p_wxToolBarToolBase,
13162 &_swigt__p_wxToolbook,
13163 &_swigt__p_wxToolbookEvent,
13164 &_swigt__p_wxTopLevelWindow,
13165 &_swigt__p_wxTreeEvent,
13166 &_swigt__p_wxTreeItemId,
13167 &_swigt__p_wxTreeListColumnInfo,
13168 &_swigt__p_wxTreebook,
13169 &_swigt__p_wxTreebookEvent,
13170 &_swigt__p_wxUpdateUIEvent,
13171 &_swigt__p_wxValidator,
13172 &_swigt__p_wxWindow,
13173 &_swigt__p_wxWindowCreateEvent,
13174 &_swigt__p_wxWindowDestroyEvent,
13175 &_swigt__p_wxXPMHandler,
13176 };
13177
13178 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13183 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13184 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13212 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13216 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_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}};
13217 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13223 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13224 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13225 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13226 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13227 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13228 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13232 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13233 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13234 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13235 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13236 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13237 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13238 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13239 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13240 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13241 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13242 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13243 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13244 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13245 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13246 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13247 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13248 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13249 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13250 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13251 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13252 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13253 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13254 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13255 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13256 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13257 static swig_cast_info _swigc__p_wxControl[] = { {&_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_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_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_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}};
13258 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13259 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13260 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13261 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13262 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13263 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13264 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13265 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13266 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13267 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13268 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13269 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13270 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13271 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13272 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13273 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13274 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13275 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13276 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13277 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13278 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13279 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13280 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13281 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13282 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13283 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13284 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13285 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13286 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13287 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13288 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13289 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13290 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13291 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13292 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_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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}};
13293 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13294 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13295 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13296 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13297 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13298 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13299 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13300 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13301 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13302 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13303 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13304 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13305 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13306 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13307 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13308 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13309 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13310 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13311 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13312 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13313 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13314 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13315 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13316 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13317 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13318 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13319 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13320 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13321 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13322 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13323 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13324 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13325 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13326 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13327 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13328 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13329 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13330 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13331 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13332 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13333 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13334 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13335 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_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_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_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_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_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxMDIClientWindow, _p_wxMDIClientWindowTo_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_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}};
13336 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13337 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13338 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13339 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13340 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13341 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13342 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13343 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13344 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13345 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13346 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13347 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13348 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13349 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13350 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13351 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13352 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13353 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13354 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13355 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13356 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13357 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13358 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13359 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13360 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13361 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13362 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13363 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13364 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13365 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13366 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13367 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13368 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13369 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13370 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13371 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13372 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13373 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13374 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13375 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13376 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13377 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13378 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13379 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13380 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13381 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13382 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13383 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13384 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13385 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13386 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13387 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_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_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_wxIconizeEvent, _p_wxIconizeEventTo_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_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_wxStaticText, _p_wxStaticTextTo_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_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_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxMDIClientWindow, _p_wxMDIClientWindowTo_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_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_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_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_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}};
13388 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_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}};
13389 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13390 static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
13391 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13392 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}};
13393 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13394 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13395 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13396 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13397 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}};
13398 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13399 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}};
13400 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13401 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13402 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13403 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13404 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}};
13405 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_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_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_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_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_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_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_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}};
13406
13407 static swig_cast_info *swig_cast_initial[] = {
13408 _swigc__p_char,
13409 _swigc__p_float,
13410 _swigc__p_form_ops_t,
13411 _swigc__p_int,
13412 _swigc__p_unsigned_char,
13413 _swigc__p_unsigned_int,
13414 _swigc__p_unsigned_long,
13415 _swigc__p_wxANIHandler,
13416 _swigc__p_wxAcceleratorTable,
13417 _swigc__p_wxActivateEvent,
13418 _swigc__p_wxArrayString,
13419 _swigc__p_wxBMPHandler,
13420 _swigc__p_wxBitmap,
13421 _swigc__p_wxBitmapButton,
13422 _swigc__p_wxBookCtrlBase,
13423 _swigc__p_wxBookCtrlBaseEvent,
13424 _swigc__p_wxBoxSizer,
13425 _swigc__p_wxButton,
13426 _swigc__p_wxCURHandler,
13427 _swigc__p_wxCalculateLayoutEvent,
13428 _swigc__p_wxCheckBox,
13429 _swigc__p_wxCheckListBox,
13430 _swigc__p_wxChildFocusEvent,
13431 _swigc__p_wxChoice,
13432 _swigc__p_wxChoicebook,
13433 _swigc__p_wxChoicebookEvent,
13434 _swigc__p_wxClipboardTextEvent,
13435 _swigc__p_wxCloseEvent,
13436 _swigc__p_wxColour,
13437 _swigc__p_wxColourData,
13438 _swigc__p_wxColourDialog,
13439 _swigc__p_wxColourPickerCtrl,
13440 _swigc__p_wxColourPickerEvent,
13441 _swigc__p_wxComboBox,
13442 _swigc__p_wxCommandEvent,
13443 _swigc__p_wxContextHelp,
13444 _swigc__p_wxContextHelpButton,
13445 _swigc__p_wxContextMenuEvent,
13446 _swigc__p_wxControl,
13447 _swigc__p_wxControlWithItems,
13448 _swigc__p_wxDateEvent,
13449 _swigc__p_wxDatePickerCtrl,
13450 _swigc__p_wxDialog,
13451 _swigc__p_wxDirDialog,
13452 _swigc__p_wxDirFilterListCtrl,
13453 _swigc__p_wxDirPickerCtrl,
13454 _swigc__p_wxDisplayChangedEvent,
13455 _swigc__p_wxDropFilesEvent,
13456 _swigc__p_wxDuplexMode,
13457 _swigc__p_wxDynamicSashSplitEvent,
13458 _swigc__p_wxDynamicSashUnifyEvent,
13459 _swigc__p_wxDynamicSashWindow,
13460 _swigc__p_wxEditableListBox,
13461 _swigc__p_wxEraseEvent,
13462 _swigc__p_wxEvent,
13463 _swigc__p_wxEvtHandler,
13464 _swigc__p_wxFSFile,
13465 _swigc__p_wxFileDialog,
13466 _swigc__p_wxFileDirPickerEvent,
13467 _swigc__p_wxFilePickerCtrl,
13468 _swigc__p_wxFileSystem,
13469 _swigc__p_wxFindDialogEvent,
13470 _swigc__p_wxFindReplaceData,
13471 _swigc__p_wxFindReplaceDialog,
13472 _swigc__p_wxFlexGridSizer,
13473 _swigc__p_wxFocusEvent,
13474 _swigc__p_wxFont,
13475 _swigc__p_wxFontData,
13476 _swigc__p_wxFontDialog,
13477 _swigc__p_wxFontPickerCtrl,
13478 _swigc__p_wxFontPickerEvent,
13479 _swigc__p_wxFrame,
13480 _swigc__p_wxGBSizerItem,
13481 _swigc__p_wxGIFHandler,
13482 _swigc__p_wxGauge,
13483 _swigc__p_wxGenericDirCtrl,
13484 _swigc__p_wxGenericDragImage,
13485 _swigc__p_wxGridBagSizer,
13486 _swigc__p_wxGridSizer,
13487 _swigc__p_wxHelpEvent,
13488 _swigc__p_wxHyperlinkCtrl,
13489 _swigc__p_wxHyperlinkEvent,
13490 _swigc__p_wxICOHandler,
13491 _swigc__p_wxIcon,
13492 _swigc__p_wxIconizeEvent,
13493 _swigc__p_wxIdleEvent,
13494 _swigc__p_wxImage,
13495 _swigc__p_wxImageHandler,
13496 _swigc__p_wxImageList,
13497 _swigc__p_wxIndividualLayoutConstraint,
13498 _swigc__p_wxInitDialogEvent,
13499 _swigc__p_wxJPEGHandler,
13500 _swigc__p_wxKeyEvent,
13501 _swigc__p_wxLEDNumberCtrl,
13502 _swigc__p_wxLayoutAlgorithm,
13503 _swigc__p_wxLayoutConstraints,
13504 _swigc__p_wxListBox,
13505 _swigc__p_wxListEvent,
13506 _swigc__p_wxListItem,
13507 _swigc__p_wxListView,
13508 _swigc__p_wxListbook,
13509 _swigc__p_wxListbookEvent,
13510 _swigc__p_wxMDIChildFrame,
13511 _swigc__p_wxMDIClientWindow,
13512 _swigc__p_wxMDIParentFrame,
13513 _swigc__p_wxMaximizeEvent,
13514 _swigc__p_wxMenu,
13515 _swigc__p_wxMenuBar,
13516 _swigc__p_wxMenuEvent,
13517 _swigc__p_wxMenuItem,
13518 _swigc__p_wxMessageDialog,
13519 _swigc__p_wxMiniFrame,
13520 _swigc__p_wxMouseCaptureChangedEvent,
13521 _swigc__p_wxMouseEvent,
13522 _swigc__p_wxMoveEvent,
13523 _swigc__p_wxMultiChoiceDialog,
13524 _swigc__p_wxNavigationKeyEvent,
13525 _swigc__p_wxNcPaintEvent,
13526 _swigc__p_wxNotebook,
13527 _swigc__p_wxNotebookEvent,
13528 _swigc__p_wxNotifyEvent,
13529 _swigc__p_wxObject,
13530 _swigc__p_wxPCXHandler,
13531 _swigc__p_wxPNGHandler,
13532 _swigc__p_wxPNMHandler,
13533 _swigc__p_wxPageSetupDialog,
13534 _swigc__p_wxPageSetupDialogData,
13535 _swigc__p_wxPaintEvent,
13536 _swigc__p_wxPaletteChangedEvent,
13537 _swigc__p_wxPanel,
13538 _swigc__p_wxPaperSize,
13539 _swigc__p_wxPasswordEntryDialog,
13540 _swigc__p_wxPickerBase,
13541 _swigc__p_wxPopupWindow,
13542 _swigc__p_wxPreviewCanvas,
13543 _swigc__p_wxPreviewControlBar,
13544 _swigc__p_wxPreviewFrame,
13545 _swigc__p_wxPrintData,
13546 _swigc__p_wxPrintDialog,
13547 _swigc__p_wxPrintDialogData,
13548 _swigc__p_wxPrintPreview,
13549 _swigc__p_wxPrinter,
13550 _swigc__p_wxProgressDialog,
13551 _swigc__p_wxPyApp,
13552 _swigc__p_wxPyCommandEvent,
13553 _swigc__p_wxPyControl,
13554 _swigc__p_wxPyEvent,
13555 _swigc__p_wxPyHtmlListBox,
13556 _swigc__p_wxPyImageHandler,
13557 _swigc__p_wxPyListCtrl,
13558 _swigc__p_wxPyPanel,
13559 _swigc__p_wxPyPopupTransientWindow,
13560 _swigc__p_wxPyPreviewControlBar,
13561 _swigc__p_wxPyPreviewFrame,
13562 _swigc__p_wxPyPrintPreview,
13563 _swigc__p_wxPyPrintout,
13564 _swigc__p_wxPyScrolledWindow,
13565 _swigc__p_wxPySizer,
13566 _swigc__p_wxPyTaskBarIcon,
13567 _swigc__p_wxPyTreeCompanionWindow,
13568 _swigc__p_wxPyTreeCtrl,
13569 _swigc__p_wxPyTreeItemData,
13570 _swigc__p_wxPyTreeListCtrl,
13571 _swigc__p_wxPyVListBox,
13572 _swigc__p_wxPyVScrolledWindow,
13573 _swigc__p_wxPyValidator,
13574 _swigc__p_wxPyWindow,
13575 _swigc__p_wxQueryLayoutInfoEvent,
13576 _swigc__p_wxQueryNewPaletteEvent,
13577 _swigc__p_wxRadioBox,
13578 _swigc__p_wxRadioButton,
13579 _swigc__p_wxRemotelyScrolledTreeCtrl,
13580 _swigc__p_wxSashEvent,
13581 _swigc__p_wxSashLayoutWindow,
13582 _swigc__p_wxSashWindow,
13583 _swigc__p_wxScrollBar,
13584 _swigc__p_wxScrollEvent,
13585 _swigc__p_wxScrollWinEvent,
13586 _swigc__p_wxScrolledWindow,
13587 _swigc__p_wxSetCursorEvent,
13588 _swigc__p_wxShowEvent,
13589 _swigc__p_wxSingleChoiceDialog,
13590 _swigc__p_wxSizeEvent,
13591 _swigc__p_wxSizer,
13592 _swigc__p_wxSizerItem,
13593 _swigc__p_wxSlider,
13594 _swigc__p_wxSpinButton,
13595 _swigc__p_wxSpinCtrl,
13596 _swigc__p_wxSpinEvent,
13597 _swigc__p_wxSplashScreen,
13598 _swigc__p_wxSplashScreenWindow,
13599 _swigc__p_wxSplitterEvent,
13600 _swigc__p_wxSplitterScrolledWindow,
13601 _swigc__p_wxSplitterWindow,
13602 _swigc__p_wxStaticBitmap,
13603 _swigc__p_wxStaticBox,
13604 _swigc__p_wxStaticBoxSizer,
13605 _swigc__p_wxStaticLine,
13606 _swigc__p_wxStaticPicture,
13607 _swigc__p_wxStaticText,
13608 _swigc__p_wxStatusBar,
13609 _swigc__p_wxStdDialogButtonSizer,
13610 _swigc__p_wxSysColourChangedEvent,
13611 _swigc__p_wxTIFFHandler,
13612 _swigc__p_wxTaskBarIconEvent,
13613 _swigc__p_wxTextCtrl,
13614 _swigc__p_wxTextEntryDialog,
13615 _swigc__p_wxTextUrlEvent,
13616 _swigc__p_wxThinSplitterWindow,
13617 _swigc__p_wxTipWindow,
13618 _swigc__p_wxToggleButton,
13619 _swigc__p_wxToolBar,
13620 _swigc__p_wxToolBarBase,
13621 _swigc__p_wxToolBarToolBase,
13622 _swigc__p_wxToolbook,
13623 _swigc__p_wxToolbookEvent,
13624 _swigc__p_wxTopLevelWindow,
13625 _swigc__p_wxTreeEvent,
13626 _swigc__p_wxTreeItemId,
13627 _swigc__p_wxTreeListColumnInfo,
13628 _swigc__p_wxTreebook,
13629 _swigc__p_wxTreebookEvent,
13630 _swigc__p_wxUpdateUIEvent,
13631 _swigc__p_wxValidator,
13632 _swigc__p_wxWindow,
13633 _swigc__p_wxWindowCreateEvent,
13634 _swigc__p_wxWindowDestroyEvent,
13635 _swigc__p_wxXPMHandler,
13636 };
13637
13638
13639 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13640
13641 static swig_const_info swig_const_table[] = {
13642 {0, 0, 0, 0.0, 0, 0}};
13643
13644 #ifdef __cplusplus
13645 }
13646 #endif
13647 /* -----------------------------------------------------------------------------
13648 * Type initialization:
13649 * This problem is tough by the requirement that no dynamic
13650 * memory is used. Also, since swig_type_info structures store pointers to
13651 * swig_cast_info structures and swig_cast_info structures store pointers back
13652 * to swig_type_info structures, we need some lookup code at initialization.
13653 * The idea is that swig generates all the structures that are needed.
13654 * The runtime then collects these partially filled structures.
13655 * The SWIG_InitializeModule function takes these initial arrays out of
13656 * swig_module, and does all the lookup, filling in the swig_module.types
13657 * array with the correct data and linking the correct swig_cast_info
13658 * structures together.
13659 *
13660 * The generated swig_type_info structures are assigned staticly to an initial
13661 * array. We just loop though that array, and handle each type individually.
13662 * First we lookup if this type has been already loaded, and if so, use the
13663 * loaded structure instead of the generated one. Then we have to fill in the
13664 * cast linked list. The cast data is initially stored in something like a
13665 * two-dimensional array. Each row corresponds to a type (there are the same
13666 * number of rows as there are in the swig_type_initial array). Each entry in
13667 * a column is one of the swig_cast_info structures for that type.
13668 * The cast_initial array is actually an array of arrays, because each row has
13669 * a variable number of columns. So to actually build the cast linked list,
13670 * we find the array of casts associated with the type, and loop through it
13671 * adding the casts to the list. The one last trick we need to do is making
13672 * sure the type pointer in the swig_cast_info struct is correct.
13673 *
13674 * First off, we lookup the cast->type name to see if it is already loaded.
13675 * There are three cases to handle:
13676 * 1) If the cast->type has already been loaded AND the type we are adding
13677 * casting info to has not been loaded (it is in this module), THEN we
13678 * replace the cast->type pointer with the type pointer that has already
13679 * been loaded.
13680 * 2) If BOTH types (the one we are adding casting info to, and the
13681 * cast->type) are loaded, THEN the cast info has already been loaded by
13682 * the previous module so we just ignore it.
13683 * 3) Finally, if cast->type has not already been loaded, then we add that
13684 * swig_cast_info to the linked list (because the cast->type) pointer will
13685 * be correct.
13686 * ----------------------------------------------------------------------------- */
13687
13688 #ifdef __cplusplus
13689 extern "C" {
13690 #if 0
13691 } /* c-mode */
13692 #endif
13693 #endif
13694
13695 #if 0
13696 #define SWIGRUNTIME_DEBUG
13697 #endif
13698
13699 SWIGRUNTIME void
13700 SWIG_InitializeModule(void *clientdata) {
13701 size_t i;
13702 swig_module_info *module_head;
13703 static int init_run = 0;
13704
13705 clientdata = clientdata;
13706
13707 if (init_run) return;
13708 init_run = 1;
13709
13710 /* Initialize the swig_module */
13711 swig_module.type_initial = swig_type_initial;
13712 swig_module.cast_initial = swig_cast_initial;
13713
13714 /* Try and load any already created modules */
13715 module_head = SWIG_GetModule(clientdata);
13716 if (module_head) {
13717 swig_module.next = module_head->next;
13718 module_head->next = &swig_module;
13719 } else {
13720 /* This is the first module loaded */
13721 swig_module.next = &swig_module;
13722 SWIG_SetModule(clientdata, &swig_module);
13723 }
13724
13725 /* Now work on filling in swig_module.types */
13726 #ifdef SWIGRUNTIME_DEBUG
13727 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13728 #endif
13729 for (i = 0; i < swig_module.size; ++i) {
13730 swig_type_info *type = 0;
13731 swig_type_info *ret;
13732 swig_cast_info *cast;
13733
13734 #ifdef SWIGRUNTIME_DEBUG
13735 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13736 #endif
13737
13738 /* if there is another module already loaded */
13739 if (swig_module.next != &swig_module) {
13740 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13741 }
13742 if (type) {
13743 /* Overwrite clientdata field */
13744 #ifdef SWIGRUNTIME_DEBUG
13745 printf("SWIG_InitializeModule: found type %s\n", type->name);
13746 #endif
13747 if (swig_module.type_initial[i]->clientdata) {
13748 type->clientdata = swig_module.type_initial[i]->clientdata;
13749 #ifdef SWIGRUNTIME_DEBUG
13750 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13751 #endif
13752 }
13753 } else {
13754 type = swig_module.type_initial[i];
13755 }
13756
13757 /* Insert casting types */
13758 cast = swig_module.cast_initial[i];
13759 while (cast->type) {
13760 /* Don't need to add information already in the list */
13761 ret = 0;
13762 #ifdef SWIGRUNTIME_DEBUG
13763 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13764 #endif
13765 if (swig_module.next != &swig_module) {
13766 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13767 #ifdef SWIGRUNTIME_DEBUG
13768 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13769 #endif
13770 }
13771 if (ret) {
13772 if (type == swig_module.type_initial[i]) {
13773 #ifdef SWIGRUNTIME_DEBUG
13774 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13775 #endif
13776 cast->type = ret;
13777 ret = 0;
13778 } else {
13779 /* Check for casting already in the list */
13780 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13781 #ifdef SWIGRUNTIME_DEBUG
13782 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13783 #endif
13784 if (!ocast) ret = 0;
13785 }
13786 }
13787
13788 if (!ret) {
13789 #ifdef SWIGRUNTIME_DEBUG
13790 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13791 #endif
13792 if (type->cast) {
13793 type->cast->prev = cast;
13794 cast->next = type->cast;
13795 }
13796 type->cast = cast;
13797 }
13798 cast++;
13799 }
13800 /* Set entry in modules->types array equal to the type */
13801 swig_module.types[i] = type;
13802 }
13803 swig_module.types[i] = 0;
13804
13805 #ifdef SWIGRUNTIME_DEBUG
13806 printf("**** SWIG_InitializeModule: Cast List ******\n");
13807 for (i = 0; i < swig_module.size; ++i) {
13808 int j = 0;
13809 swig_cast_info *cast = swig_module.cast_initial[i];
13810 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13811 while (cast->type) {
13812 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13813 cast++;
13814 ++j;
13815 }
13816 printf("---- Total casts: %d\n",j);
13817 }
13818 printf("**** SWIG_InitializeModule: Cast List ******\n");
13819 #endif
13820 }
13821
13822 /* This function will propagate the clientdata field of type to
13823 * any new swig_type_info structures that have been added into the list
13824 * of equivalent types. It is like calling
13825 * SWIG_TypeClientData(type, clientdata) a second time.
13826 */
13827 SWIGRUNTIME void
13828 SWIG_PropagateClientData(void) {
13829 size_t i;
13830 swig_cast_info *equiv;
13831 static int init_run = 0;
13832
13833 if (init_run) return;
13834 init_run = 1;
13835
13836 for (i = 0; i < swig_module.size; i++) {
13837 if (swig_module.types[i]->clientdata) {
13838 equiv = swig_module.types[i]->cast;
13839 while (equiv) {
13840 if (!equiv->converter) {
13841 if (equiv->type && !equiv->type->clientdata)
13842 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13843 }
13844 equiv = equiv->next;
13845 }
13846 }
13847 }
13848 }
13849
13850 #ifdef __cplusplus
13851 #if 0
13852 {
13853 /* c-mode */
13854 #endif
13855 }
13856 #endif
13857
13858
13859
13860 #ifdef __cplusplus
13861 extern "C" {
13862 #endif
13863
13864 /* Python-specific SWIG API */
13865 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13866 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13867 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13868
13869 /* -----------------------------------------------------------------------------
13870 * global variable support code.
13871 * ----------------------------------------------------------------------------- */
13872
13873 typedef struct swig_globalvar {
13874 char *name; /* Name of global variable */
13875 PyObject *(*get_attr)(void); /* Return the current value */
13876 int (*set_attr)(PyObject *); /* Set the value */
13877 struct swig_globalvar *next;
13878 } swig_globalvar;
13879
13880 typedef struct swig_varlinkobject {
13881 PyObject_HEAD
13882 swig_globalvar *vars;
13883 } swig_varlinkobject;
13884
13885 SWIGINTERN PyObject *
13886 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13887 return PyString_FromString("<Swig global variables>");
13888 }
13889
13890 SWIGINTERN PyObject *
13891 swig_varlink_str(swig_varlinkobject *v) {
13892 PyObject *str = PyString_FromString("(");
13893 swig_globalvar *var;
13894 for (var = v->vars; var; var=var->next) {
13895 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13896 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13897 }
13898 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13899 return str;
13900 }
13901
13902 SWIGINTERN int
13903 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13904 PyObject *str = swig_varlink_str(v);
13905 fprintf(fp,"Swig global variables ");
13906 fprintf(fp,"%s\n", PyString_AsString(str));
13907 Py_DECREF(str);
13908 return 0;
13909 }
13910
13911 SWIGINTERN void
13912 swig_varlink_dealloc(swig_varlinkobject *v) {
13913 swig_globalvar *var = v->vars;
13914 while (var) {
13915 swig_globalvar *n = var->next;
13916 free(var->name);
13917 free(var);
13918 var = n;
13919 }
13920 }
13921
13922 SWIGINTERN PyObject *
13923 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13924 PyObject *res = NULL;
13925 swig_globalvar *var = v->vars;
13926 while (var) {
13927 if (strcmp(var->name,n) == 0) {
13928 res = (*var->get_attr)();
13929 break;
13930 }
13931 var = var->next;
13932 }
13933 if (res == NULL && !PyErr_Occurred()) {
13934 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13935 }
13936 return res;
13937 }
13938
13939 SWIGINTERN int
13940 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13941 int res = 1;
13942 swig_globalvar *var = v->vars;
13943 while (var) {
13944 if (strcmp(var->name,n) == 0) {
13945 res = (*var->set_attr)(p);
13946 break;
13947 }
13948 var = var->next;
13949 }
13950 if (res == 1 && !PyErr_Occurred()) {
13951 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13952 }
13953 return res;
13954 }
13955
13956 SWIGINTERN PyTypeObject*
13957 swig_varlink_type(void) {
13958 static char varlink__doc__[] = "Swig var link object";
13959 static PyTypeObject varlink_type;
13960 static int type_init = 0;
13961 if (!type_init) {
13962 const PyTypeObject tmp
13963 = {
13964 PyObject_HEAD_INIT(NULL)
13965 0, /* Number of items in variable part (ob_size) */
13966 (char *)"swigvarlink", /* Type name (tp_name) */
13967 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13968 0, /* Itemsize (tp_itemsize) */
13969 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13970 (printfunc) swig_varlink_print, /* Print (tp_print) */
13971 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13972 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13973 0, /* tp_compare */
13974 (reprfunc) swig_varlink_repr, /* tp_repr */
13975 0, /* tp_as_number */
13976 0, /* tp_as_sequence */
13977 0, /* tp_as_mapping */
13978 0, /* tp_hash */
13979 0, /* tp_call */
13980 (reprfunc)swig_varlink_str, /* tp_str */
13981 0, /* tp_getattro */
13982 0, /* tp_setattro */
13983 0, /* tp_as_buffer */
13984 0, /* tp_flags */
13985 varlink__doc__, /* tp_doc */
13986 0, /* tp_traverse */
13987 0, /* tp_clear */
13988 0, /* tp_richcompare */
13989 0, /* tp_weaklistoffset */
13990 #if PY_VERSION_HEX >= 0x02020000
13991 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13992 #endif
13993 #if PY_VERSION_HEX >= 0x02030000
13994 0, /* tp_del */
13995 #endif
13996 #ifdef COUNT_ALLOCS
13997 0,0,0,0 /* tp_alloc -> tp_next */
13998 #endif
13999 };
14000 varlink_type = tmp;
14001 varlink_type.ob_type = &PyType_Type;
14002 type_init = 1;
14003 }
14004 return &varlink_type;
14005 }
14006
14007 /* Create a variable linking object for use later */
14008 SWIGINTERN PyObject *
14009 SWIG_Python_newvarlink(void) {
14010 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14011 if (result) {
14012 result->vars = 0;
14013 }
14014 return ((PyObject*) result);
14015 }
14016
14017 SWIGINTERN void
14018 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14019 swig_varlinkobject *v = (swig_varlinkobject *) p;
14020 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14021 if (gv) {
14022 size_t size = strlen(name)+1;
14023 gv->name = (char *)malloc(size);
14024 if (gv->name) {
14025 strncpy(gv->name,name,size);
14026 gv->get_attr = get_attr;
14027 gv->set_attr = set_attr;
14028 gv->next = v->vars;
14029 }
14030 }
14031 v->vars = gv;
14032 }
14033
14034 SWIGINTERN PyObject *
14035 SWIG_globals() {
14036 static PyObject *_SWIG_globals = 0;
14037 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14038 return _SWIG_globals;
14039 }
14040
14041 /* -----------------------------------------------------------------------------
14042 * constants/methods manipulation
14043 * ----------------------------------------------------------------------------- */
14044
14045 /* Install Constants */
14046 SWIGINTERN void
14047 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14048 PyObject *obj = 0;
14049 size_t i;
14050 for (i = 0; constants[i].type; ++i) {
14051 switch(constants[i].type) {
14052 case SWIG_PY_POINTER:
14053 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14054 break;
14055 case SWIG_PY_BINARY:
14056 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14057 break;
14058 default:
14059 obj = 0;
14060 break;
14061 }
14062 if (obj) {
14063 PyDict_SetItemString(d, constants[i].name, obj);
14064 Py_DECREF(obj);
14065 }
14066 }
14067 }
14068
14069 /* -----------------------------------------------------------------------------*/
14070 /* Fix SwigMethods to carry the callback ptrs when needed */
14071 /* -----------------------------------------------------------------------------*/
14072
14073 SWIGINTERN void
14074 SWIG_Python_FixMethods(PyMethodDef *methods,
14075 swig_const_info *const_table,
14076 swig_type_info **types,
14077 swig_type_info **types_initial) {
14078 size_t i;
14079 for (i = 0; methods[i].ml_name; ++i) {
14080 const char *c = methods[i].ml_doc;
14081 if (c && (c = strstr(c, "swig_ptr: "))) {
14082 int j;
14083 swig_const_info *ci = 0;
14084 const char *name = c + 10;
14085 for (j = 0; const_table[j].type; ++j) {
14086 if (strncmp(const_table[j].name, name,
14087 strlen(const_table[j].name)) == 0) {
14088 ci = &(const_table[j]);
14089 break;
14090 }
14091 }
14092 if (ci) {
14093 size_t shift = (ci->ptype) - types;
14094 swig_type_info *ty = types_initial[shift];
14095 size_t ldoc = (c - methods[i].ml_doc);
14096 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14097 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14098 if (ndoc) {
14099 char *buff = ndoc;
14100 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14101 if (ptr) {
14102 strncpy(buff, methods[i].ml_doc, ldoc);
14103 buff += ldoc;
14104 strncpy(buff, "swig_ptr: ", 10);
14105 buff += 10;
14106 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14107 methods[i].ml_doc = ndoc;
14108 }
14109 }
14110 }
14111 }
14112 }
14113 }
14114
14115 #ifdef __cplusplus
14116 }
14117 #endif
14118
14119 /* -----------------------------------------------------------------------------*
14120 * Partial Init method
14121 * -----------------------------------------------------------------------------*/
14122
14123 #ifdef __cplusplus
14124 extern "C"
14125 #endif
14126 SWIGEXPORT void SWIG_init(void) {
14127 PyObject *m, *d;
14128
14129 /* Fix SwigMethods to carry the callback ptrs when needed */
14130 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14131
14132 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14133 d = PyModule_GetDict(m);
14134
14135 SWIG_InitializeModule(0);
14136 SWIG_InstallConstants(d,swig_const_table);
14137
14138
14139 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14140 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14141 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14142 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14143 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14144 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14145 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14146 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14147 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14148 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14149 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14150 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14151 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14152 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14153 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14154 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14155 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14156 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
14157 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
14158 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
14159 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14160 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
14161 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14162 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14163 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14164 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14165 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14166 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14167 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14168 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14169 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14170
14171
14172 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14173 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14174
14175 }
14176