]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/mac/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / mac / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_float swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2476 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2477 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2482 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2483 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2485 #define SWIGTYPE_p_wxChoice swig_types[23]
2486 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2487 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2488 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2489 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2490 #define SWIGTYPE_p_wxColour swig_types[28]
2491 #define SWIGTYPE_p_wxColourData swig_types[29]
2492 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2493 #define SWIGTYPE_p_wxComboBox swig_types[31]
2494 #define SWIGTYPE_p_wxCommandEvent swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelp swig_types[33]
2496 #define SWIGTYPE_p_wxContextHelpButton swig_types[34]
2497 #define SWIGTYPE_p_wxContextMenuEvent swig_types[35]
2498 #define SWIGTYPE_p_wxControl swig_types[36]
2499 #define SWIGTYPE_p_wxControlWithItems swig_types[37]
2500 #define SWIGTYPE_p_wxDateEvent swig_types[38]
2501 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[39]
2502 #define SWIGTYPE_p_wxDialog swig_types[40]
2503 #define SWIGTYPE_p_wxDirDialog swig_types[41]
2504 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[42]
2505 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDropFilesEvent swig_types[44]
2507 #define SWIGTYPE_p_wxDuplexMode swig_types[45]
2508 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[48]
2511 #define SWIGTYPE_p_wxEditableListBox swig_types[49]
2512 #define SWIGTYPE_p_wxEraseEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvent swig_types[51]
2514 #define SWIGTYPE_p_wxEvtHandler swig_types[52]
2515 #define SWIGTYPE_p_wxFSFile swig_types[53]
2516 #define SWIGTYPE_p_wxFileDialog swig_types[54]
2517 #define SWIGTYPE_p_wxFileSystem swig_types[55]
2518 #define SWIGTYPE_p_wxFindDialogEvent swig_types[56]
2519 #define SWIGTYPE_p_wxFindReplaceData swig_types[57]
2520 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[58]
2521 #define SWIGTYPE_p_wxFlexGridSizer swig_types[59]
2522 #define SWIGTYPE_p_wxFocusEvent swig_types[60]
2523 #define SWIGTYPE_p_wxFont swig_types[61]
2524 #define SWIGTYPE_p_wxFontData swig_types[62]
2525 #define SWIGTYPE_p_wxFontDialog swig_types[63]
2526 #define SWIGTYPE_p_wxFrame swig_types[64]
2527 #define SWIGTYPE_p_wxGBSizerItem swig_types[65]
2528 #define SWIGTYPE_p_wxGIFHandler swig_types[66]
2529 #define SWIGTYPE_p_wxGauge swig_types[67]
2530 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[68]
2531 #define SWIGTYPE_p_wxGenericDragImage swig_types[69]
2532 #define SWIGTYPE_p_wxGridBagSizer swig_types[70]
2533 #define SWIGTYPE_p_wxGridSizer swig_types[71]
2534 #define SWIGTYPE_p_wxHelpEvent swig_types[72]
2535 #define SWIGTYPE_p_wxICOHandler swig_types[73]
2536 #define SWIGTYPE_p_wxIcon swig_types[74]
2537 #define SWIGTYPE_p_wxIconizeEvent swig_types[75]
2538 #define SWIGTYPE_p_wxIdleEvent swig_types[76]
2539 #define SWIGTYPE_p_wxImage swig_types[77]
2540 #define SWIGTYPE_p_wxImageHandler swig_types[78]
2541 #define SWIGTYPE_p_wxImageList swig_types[79]
2542 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[80]
2543 #define SWIGTYPE_p_wxInitDialogEvent swig_types[81]
2544 #define SWIGTYPE_p_wxJPEGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxKeyEvent swig_types[83]
2546 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[85]
2548 #define SWIGTYPE_p_wxLayoutConstraints swig_types[86]
2549 #define SWIGTYPE_p_wxListBox swig_types[87]
2550 #define SWIGTYPE_p_wxListEvent swig_types[88]
2551 #define SWIGTYPE_p_wxListItem swig_types[89]
2552 #define SWIGTYPE_p_wxListView swig_types[90]
2553 #define SWIGTYPE_p_wxListbook swig_types[91]
2554 #define SWIGTYPE_p_wxListbookEvent swig_types[92]
2555 #define SWIGTYPE_p_wxMDIChildFrame swig_types[93]
2556 #define SWIGTYPE_p_wxMDIClientWindow swig_types[94]
2557 #define SWIGTYPE_p_wxMDIParentFrame swig_types[95]
2558 #define SWIGTYPE_p_wxMaximizeEvent swig_types[96]
2559 #define SWIGTYPE_p_wxMenu swig_types[97]
2560 #define SWIGTYPE_p_wxMenuBar swig_types[98]
2561 #define SWIGTYPE_p_wxMenuEvent swig_types[99]
2562 #define SWIGTYPE_p_wxMenuItem swig_types[100]
2563 #define SWIGTYPE_p_wxMessageDialog swig_types[101]
2564 #define SWIGTYPE_p_wxMiniFrame swig_types[102]
2565 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMouseEvent swig_types[104]
2567 #define SWIGTYPE_p_wxMoveEvent swig_types[105]
2568 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[106]
2569 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxNcPaintEvent swig_types[108]
2571 #define SWIGTYPE_p_wxNotebook swig_types[109]
2572 #define SWIGTYPE_p_wxNotebookEvent swig_types[110]
2573 #define SWIGTYPE_p_wxNotifyEvent swig_types[111]
2574 #define SWIGTYPE_p_wxObject swig_types[112]
2575 #define SWIGTYPE_p_wxPCXHandler swig_types[113]
2576 #define SWIGTYPE_p_wxPNGHandler swig_types[114]
2577 #define SWIGTYPE_p_wxPNMHandler swig_types[115]
2578 #define SWIGTYPE_p_wxPageSetupDialog swig_types[116]
2579 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[117]
2580 #define SWIGTYPE_p_wxPaintEvent swig_types[118]
2581 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[119]
2582 #define SWIGTYPE_p_wxPanel swig_types[120]
2583 #define SWIGTYPE_p_wxPaperSize swig_types[121]
2584 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[122]
2585 #define SWIGTYPE_p_wxPopupWindow swig_types[123]
2586 #define SWIGTYPE_p_wxPreviewCanvas swig_types[124]
2587 #define SWIGTYPE_p_wxPreviewControlBar swig_types[125]
2588 #define SWIGTYPE_p_wxPreviewFrame swig_types[126]
2589 #define SWIGTYPE_p_wxPrintData swig_types[127]
2590 #define SWIGTYPE_p_wxPrintDialog swig_types[128]
2591 #define SWIGTYPE_p_wxPrintDialogData swig_types[129]
2592 #define SWIGTYPE_p_wxPrintPreview swig_types[130]
2593 #define SWIGTYPE_p_wxPrinter swig_types[131]
2594 #define SWIGTYPE_p_wxProgressDialog swig_types[132]
2595 #define SWIGTYPE_p_wxPyApp swig_types[133]
2596 #define SWIGTYPE_p_wxPyCommandEvent swig_types[134]
2597 #define SWIGTYPE_p_wxPyControl swig_types[135]
2598 #define SWIGTYPE_p_wxPyEvent swig_types[136]
2599 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[137]
2600 #define SWIGTYPE_p_wxPyImageHandler swig_types[138]
2601 #define SWIGTYPE_p_wxPyListCtrl swig_types[139]
2602 #define SWIGTYPE_p_wxPyPanel swig_types[140]
2603 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[141]
2604 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[142]
2605 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[143]
2606 #define SWIGTYPE_p_wxPyPrintPreview swig_types[144]
2607 #define SWIGTYPE_p_wxPyPrintout swig_types[145]
2608 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[146]
2609 #define SWIGTYPE_p_wxPySizer swig_types[147]
2610 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[148]
2611 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[149]
2612 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[150]
2613 #define SWIGTYPE_p_wxPyTreeItemData swig_types[151]
2614 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxPyVListBox swig_types[153]
2616 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[154]
2617 #define SWIGTYPE_p_wxPyValidator swig_types[155]
2618 #define SWIGTYPE_p_wxPyWindow swig_types[156]
2619 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[157]
2620 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[158]
2621 #define SWIGTYPE_p_wxRadioBox swig_types[159]
2622 #define SWIGTYPE_p_wxRadioButton swig_types[160]
2623 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[161]
2624 #define SWIGTYPE_p_wxSashEvent swig_types[162]
2625 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[163]
2626 #define SWIGTYPE_p_wxSashWindow swig_types[164]
2627 #define SWIGTYPE_p_wxScrollBar swig_types[165]
2628 #define SWIGTYPE_p_wxScrollEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrollWinEvent swig_types[167]
2630 #define SWIGTYPE_p_wxScrolledWindow swig_types[168]
2631 #define SWIGTYPE_p_wxSetCursorEvent swig_types[169]
2632 #define SWIGTYPE_p_wxShowEvent swig_types[170]
2633 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[171]
2634 #define SWIGTYPE_p_wxSizeEvent swig_types[172]
2635 #define SWIGTYPE_p_wxSizer swig_types[173]
2636 #define SWIGTYPE_p_wxSizerItem swig_types[174]
2637 #define SWIGTYPE_p_wxSlider swig_types[175]
2638 #define SWIGTYPE_p_wxSpinButton swig_types[176]
2639 #define SWIGTYPE_p_wxSpinCtrl swig_types[177]
2640 #define SWIGTYPE_p_wxSpinEvent swig_types[178]
2641 #define SWIGTYPE_p_wxSplashScreen swig_types[179]
2642 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[180]
2643 #define SWIGTYPE_p_wxSplitterEvent swig_types[181]
2644 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[182]
2645 #define SWIGTYPE_p_wxSplitterWindow swig_types[183]
2646 #define SWIGTYPE_p_wxStaticBitmap swig_types[184]
2647 #define SWIGTYPE_p_wxStaticBox swig_types[185]
2648 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[186]
2649 #define SWIGTYPE_p_wxStaticLine swig_types[187]
2650 #define SWIGTYPE_p_wxStaticPicture swig_types[188]
2651 #define SWIGTYPE_p_wxStaticText swig_types[189]
2652 #define SWIGTYPE_p_wxStatusBar swig_types[190]
2653 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[191]
2654 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[192]
2655 #define SWIGTYPE_p_wxTIFFHandler swig_types[193]
2656 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[194]
2657 #define SWIGTYPE_p_wxTextCtrl swig_types[195]
2658 #define SWIGTYPE_p_wxTextEntryDialog swig_types[196]
2659 #define SWIGTYPE_p_wxTextUrlEvent swig_types[197]
2660 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[198]
2661 #define SWIGTYPE_p_wxTipWindow swig_types[199]
2662 #define SWIGTYPE_p_wxToggleButton swig_types[200]
2663 #define SWIGTYPE_p_wxToolBar swig_types[201]
2664 #define SWIGTYPE_p_wxToolBarBase swig_types[202]
2665 #define SWIGTYPE_p_wxToolBarToolBase swig_types[203]
2666 #define SWIGTYPE_p_wxToolbook swig_types[204]
2667 #define SWIGTYPE_p_wxToolbookEvent swig_types[205]
2668 #define SWIGTYPE_p_wxTopLevelWindow swig_types[206]
2669 #define SWIGTYPE_p_wxTreeEvent swig_types[207]
2670 #define SWIGTYPE_p_wxTreeItemId swig_types[208]
2671 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[209]
2672 #define SWIGTYPE_p_wxTreebook swig_types[210]
2673 #define SWIGTYPE_p_wxTreebookEvent swig_types[211]
2674 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[212]
2675 #define SWIGTYPE_p_wxValidator swig_types[213]
2676 #define SWIGTYPE_p_wxWindow swig_types[214]
2677 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[215]
2678 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[216]
2679 #define SWIGTYPE_p_wxXPMHandler swig_types[217]
2680 static swig_type_info *swig_types[219];
2681 static swig_module_info swig_module = {swig_types, 218, 0, 0, 0, 0};
2682 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2683 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2684
2685 /* -------- TYPES TABLE (END) -------- */
2686
2687 #if (PY_VERSION_HEX <= 0x02000000)
2688 # if !defined(SWIG_PYTHON_CLASSIC)
2689 # error "This python version requires to use swig with the '-classic' option"
2690 # endif
2691 #endif
2692 #if (PY_VERSION_HEX <= 0x02020000)
2693 # error "This python version requires to use swig with the '-nomodern' option"
2694 #endif
2695 #if (PY_VERSION_HEX <= 0x02020000)
2696 # error "This python version requires to use swig with the '-nomodernargs' option"
2697 #endif
2698 #ifndef METH_O
2699 # error "This python version requires to use swig with the '-nofastunpack' option"
2700 #endif
2701
2702 /*-----------------------------------------------
2703 @(target):= _gizmos.so
2704 ------------------------------------------------*/
2705 #define SWIG_init init_gizmos
2706
2707 #define SWIG_name "_gizmos"
2708
2709 #define SWIGVERSION 0x010329
2710
2711
2712 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2713 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2714
2715
2716 #include <stdexcept>
2717
2718
2719 namespace swig {
2720 class PyObject_ptr {
2721 protected:
2722 PyObject *_obj;
2723
2724 public:
2725 PyObject_ptr() :_obj(0)
2726 {
2727 }
2728
2729 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2730 {
2731 Py_XINCREF(_obj);
2732 }
2733
2734 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2735 {
2736 if (initial_ref) Py_XINCREF(_obj);
2737 }
2738
2739 PyObject_ptr & operator=(const PyObject_ptr& item)
2740 {
2741 Py_XINCREF(item._obj);
2742 Py_XDECREF(_obj);
2743 _obj = item._obj;
2744 return *this;
2745 }
2746
2747 ~PyObject_ptr()
2748 {
2749 Py_XDECREF(_obj);
2750 }
2751
2752 operator PyObject *() const
2753 {
2754 return _obj;
2755 }
2756
2757 PyObject *operator->() const
2758 {
2759 return _obj;
2760 }
2761 };
2762 }
2763
2764
2765 namespace swig {
2766 struct PyObject_var : PyObject_ptr {
2767 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2768
2769 PyObject_var & operator = (PyObject* obj)
2770 {
2771 Py_XDECREF(_obj);
2772 _obj = obj;
2773 return *this;
2774 }
2775 };
2776 }
2777
2778
2779 #include "wx/wxPython/wxPython.h"
2780 #include "wx/wxPython/pyclasses.h"
2781
2782 #include <wx/gizmos/dynamicsash.h>
2783 #include <wx/gizmos/editlbox.h>
2784 #include <wx/gizmos/splittree.h>
2785 #include <wx/gizmos/ledctrl.h>
2786 #include <wx/gizmos/statpict.h>
2787
2788 #include <wx/listctrl.h>
2789 #include <wx/treectrl.h>
2790 #include <wx/imaglist.h>
2791
2792 #include "wx/treelistctrl.h"
2793 #include "wx/wxPython/pytree.h"
2794
2795
2796 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2797 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2798 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2799 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2800 static const wxString wxPyEmptyString(wxEmptyString);
2801
2802 #define SWIG_From_long PyInt_FromLong
2803
2804
2805 SWIGINTERNINLINE PyObject *
2806 SWIG_From_int (int value)
2807 {
2808 return SWIG_From_long (value);
2809 }
2810
2811
2812 #include <limits.h>
2813 #ifndef LLONG_MIN
2814 # define LLONG_MIN LONG_LONG_MIN
2815 #endif
2816 #ifndef LLONG_MAX
2817 # define LLONG_MAX LONG_LONG_MAX
2818 #endif
2819 #ifndef ULLONG_MAX
2820 # define ULLONG_MAX ULONG_LONG_MAX
2821 #endif
2822
2823
2824 SWIGINTERN int
2825 SWIG_AsVal_long (PyObject* obj, long* val)
2826 {
2827 if (PyNumber_Check(obj)) {
2828 if (val) *val = PyInt_AsLong(obj);
2829 return SWIG_OK;
2830 }
2831 return SWIG_TypeError;
2832 }
2833
2834
2835 SWIGINTERN int
2836 SWIG_AsVal_int (PyObject * obj, int *val)
2837 {
2838 long v;
2839 int res = SWIG_AsVal_long (obj, &v);
2840 if (SWIG_IsOK(res)) {
2841 if ((v < INT_MIN || v > INT_MAX)) {
2842 return SWIG_OverflowError;
2843 } else {
2844 if (val) *val = static_cast< int >(v);
2845 }
2846 }
2847 return res;
2848 }
2849
2850 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2851 wxArrayString strings;
2852 self->GetStrings(strings);
2853 return wxArrayString2PyList_helper(strings);
2854 }
2855
2856 typedef wxTreeCtrl wxPyTreeCtrl;
2857
2858
2859 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2860 {
2861 public:
2862 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2863 const wxPoint& pos = wxDefaultPosition,
2864 const wxSize& size = wxDefaultSize,
2865 long style = 0)
2866 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2867
2868
2869 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2870 bool found;
2871 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2872 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2873 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2874 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2875 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2876 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2877 Py_DECREF(dcobj);
2878 Py_DECREF(idobj);
2879 Py_DECREF(recobj);
2880 }
2881 wxPyEndBlockThreads(blocked);
2882 if (! found)
2883 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2884 }
2885
2886 PYPRIVATE;
2887 };
2888
2889
2890 SWIGINTERN int
2891 SWIG_AsVal_bool (PyObject *obj, bool *val)
2892 {
2893 if (obj == Py_True) {
2894 if (val) *val = true;
2895 return SWIG_OK;
2896 } else if (obj == Py_False) {
2897 if (val) *val = false;
2898 return SWIG_OK;
2899 } else {
2900 long v = 0;
2901 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2902 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2903 return res;
2904 }
2905 }
2906
2907
2908 SWIGINTERN int
2909 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2910 {
2911 long v = 0;
2912 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2913 return SWIG_TypeError;
2914 }
2915 else if (val)
2916 *val = (unsigned long)v;
2917 return SWIG_OK;
2918 }
2919
2920
2921 SWIGINTERNINLINE int
2922 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2923 {
2924 unsigned long v;
2925 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2926 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2927 return res;
2928 }
2929
2930
2931 SWIGINTERNINLINE PyObject*
2932 SWIG_From_unsigned_SS_long (unsigned long value)
2933 {
2934 return (value > LONG_MAX) ?
2935 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2936 }
2937
2938
2939 SWIGINTERNINLINE PyObject *
2940 SWIG_From_size_t (size_t value)
2941 {
2942 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2943 }
2944
2945 // C++ version of Python aware control
2946 class wxPyTreeListCtrl : public wxTreeListCtrl {
2947 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2948 public:
2949 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2950 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2951 const wxPoint& pos,
2952 const wxSize& size,
2953 long style,
2954 const wxValidator &validator,
2955 const wxString& name) :
2956 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2957
2958 int OnCompareItems(const wxTreeItemId& item1,
2959 const wxTreeItemId& item2) {
2960 int rval = 0;
2961 bool found;
2962 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2963 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2964 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2965 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2966 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2967 Py_DECREF(o1);
2968 Py_DECREF(o2);
2969 }
2970 wxPyEndBlockThreads(blocked);
2971 if (! found)
2972 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2973 return rval;
2974 }
2975 PYPRIVATE;
2976 };
2977
2978 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2979
2980
2981
2982 SWIGINTERNINLINE PyObject *
2983 SWIG_From_unsigned_SS_int (unsigned int value)
2984 {
2985 return SWIG_From_unsigned_SS_long (value);
2986 }
2987
2988
2989 SWIGINTERN int
2990 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2991 {
2992 unsigned long v;
2993 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2994 if (SWIG_IsOK(res)) {
2995 if ((v > UINT_MAX)) {
2996 return SWIG_OverflowError;
2997 } else {
2998 if (val) *val = static_cast< unsigned int >(v);
2999 }
3000 }
3001 return res;
3002 }
3003
3004 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3005 if (column < 0) column = self->GetMainColumn();
3006 return self->GetItemText(item, column);
3007 }
3008 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3009 if (column < 0) column = self->GetMainColumn();
3010 return self->GetItemImage(item, column, which);
3011 }
3012 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3013 if (column < 0) column = self->GetMainColumn();
3014 self->SetItemText(item, column, text);
3015 }
3016 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3017 if (column < 0) column = self->GetMainColumn();
3018 self->SetItemImage(item, column, image, which);
3019 }
3020 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3021 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3022 if (data == NULL) {
3023 data = new wxPyTreeItemData();
3024 data->SetId(item); // set the id
3025 self->SetItemData(item, data);
3026 }
3027 return data;
3028 }
3029 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3030 data->SetId(item); // set the id
3031 self->SetItemData(item, data);
3032 }
3033 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3034 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3035 if (data == NULL) {
3036 data = new wxPyTreeItemData();
3037 data->SetId(item); // set the id
3038 self->SetItemData(item, data);
3039 }
3040 return data->GetData();
3041 }
3042 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3043 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3044 if (data == NULL) {
3045 data = new wxPyTreeItemData(obj);
3046 data->SetId(item); // set the id
3047 self->SetItemData(item, data);
3048 } else
3049 data->SetData(obj);
3050 }
3051 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3052 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3053 PyObject* rval = PyList_New(0);
3054 wxArrayTreeItemIds array;
3055 size_t num, x;
3056 num = self->GetSelections(array);
3057 for (x=0; x < num; x++) {
3058 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3059 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3060 PyList_Append(rval, item);
3061 Py_DECREF(item);
3062 }
3063 wxPyEndBlockThreads(blocked);
3064 return rval;
3065 }
3066 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3067 void* cookie = 0;
3068 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3069 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3070 PyObject* tup = PyTuple_New(2);
3071 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3072 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3073 wxPyEndBlockThreads(blocked);
3074 return tup;
3075 }
3076 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3077 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3078 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3079 PyObject* tup = PyTuple_New(2);
3080 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3081 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3082 wxPyEndBlockThreads(blocked);
3083 return tup;
3084 }
3085 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3086 wxRect rect;
3087 if (self->GetBoundingRect(item, rect, textOnly)) {
3088 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3089 wxRect* r = new wxRect(rect);
3090 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3091 wxPyEndBlockThreads(blocked);
3092 return val;
3093 }
3094 else {
3095 RETURN_NONE();
3096 }
3097 }
3098
3099 #include <float.h>
3100
3101
3102 SWIGINTERN int
3103 SWIG_AsVal_double (PyObject *obj, double* val)
3104 {
3105 if (PyNumber_Check(obj)) {
3106 if (val) *val = PyFloat_AsDouble(obj);
3107 return SWIG_OK;
3108 }
3109 return SWIG_TypeError;
3110 }
3111
3112
3113 SWIGINTERN int
3114 SWIG_AsVal_float (PyObject * obj, float *val)
3115 {
3116 double v;
3117 int res = SWIG_AsVal_double (obj, &v);
3118 if (SWIG_IsOK(res)) {
3119 if ((v < -FLT_MAX || v > FLT_MAX)) {
3120 return SWIG_OverflowError;
3121 } else {
3122 if (val) *val = static_cast< float >(v);
3123 }
3124 }
3125 return res;
3126 }
3127
3128
3129 #define SWIG_From_double PyFloat_FromDouble
3130
3131
3132 SWIGINTERNINLINE PyObject *
3133 SWIG_From_float (float value)
3134 {
3135 return SWIG_From_double (value);
3136 }
3137
3138 #ifdef __cplusplus
3139 extern "C" {
3140 #endif
3141 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3142 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3143 return 1;
3144 }
3145
3146
3147 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3148 PyObject *pyobj = 0;
3149
3150 {
3151 #if wxUSE_UNICODE
3152 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3153 #else
3154 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3155 #endif
3156 }
3157 return pyobj;
3158 }
3159
3160
3161 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3162 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3163 return 1;
3164 }
3165
3166
3167 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3168 PyObject *pyobj = 0;
3169
3170 {
3171 #if wxUSE_UNICODE
3172 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3173 #else
3174 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3175 #endif
3176 }
3177 return pyobj;
3178 }
3179
3180
3181 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3182 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3183 return 1;
3184 }
3185
3186
3187 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3188 PyObject *pyobj = 0;
3189
3190 {
3191 #if wxUSE_UNICODE
3192 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3193 #else
3194 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3195 #endif
3196 }
3197 return pyobj;
3198 }
3199
3200
3201 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3202 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3203 return 1;
3204 }
3205
3206
3207 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3208 PyObject *pyobj = 0;
3209
3210 {
3211 #if wxUSE_UNICODE
3212 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3213 #else
3214 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3215 #endif
3216 }
3217 return pyobj;
3218 }
3219
3220
3221 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj = 0;
3223 wxObject *arg1 = (wxObject *) 0 ;
3224 wxDynamicSashSplitEvent *result = 0 ;
3225 void *argp1 = 0 ;
3226 int res1 = 0 ;
3227 PyObject * obj0 = 0 ;
3228 char * kwnames[] = {
3229 (char *) "target", NULL
3230 };
3231
3232 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3233 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3234 if (!SWIG_IsOK(res1)) {
3235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3236 }
3237 arg1 = reinterpret_cast< wxObject * >(argp1);
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3241 wxPyEndAllowThreads(__tstate);
3242 if (PyErr_Occurred()) SWIG_fail;
3243 }
3244 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3245 return resultobj;
3246 fail:
3247 return NULL;
3248 }
3249
3250
3251 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3252 PyObject *obj;
3253 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3254 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3255 return SWIG_Py_Void();
3256 }
3257
3258 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3259 return SWIG_Python_InitShadowInstance(args);
3260 }
3261
3262 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj = 0;
3264 wxObject *arg1 = (wxObject *) 0 ;
3265 wxDynamicSashUnifyEvent *result = 0 ;
3266 void *argp1 = 0 ;
3267 int res1 = 0 ;
3268 PyObject * obj0 = 0 ;
3269 char * kwnames[] = {
3270 (char *) "target", NULL
3271 };
3272
3273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3275 if (!SWIG_IsOK(res1)) {
3276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3277 }
3278 arg1 = reinterpret_cast< wxObject * >(argp1);
3279 {
3280 PyThreadState* __tstate = wxPyBeginAllowThreads();
3281 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3286 return resultobj;
3287 fail:
3288 return NULL;
3289 }
3290
3291
3292 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3293 PyObject *obj;
3294 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3295 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3296 return SWIG_Py_Void();
3297 }
3298
3299 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3300 return SWIG_Python_InitShadowInstance(args);
3301 }
3302
3303 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3304 PyObject *resultobj = 0;
3305 wxWindow *arg1 = (wxWindow *) 0 ;
3306 int arg2 = (int) -1 ;
3307 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3308 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3309 wxSize const &arg4_defvalue = wxDefaultSize ;
3310 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3311 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3312 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3313 wxString *arg6 = (wxString *) &arg6_defvalue ;
3314 wxDynamicSashWindow *result = 0 ;
3315 void *argp1 = 0 ;
3316 int res1 = 0 ;
3317 int val2 ;
3318 int ecode2 = 0 ;
3319 wxPoint temp3 ;
3320 wxSize temp4 ;
3321 long val5 ;
3322 int ecode5 = 0 ;
3323 bool temp6 = false ;
3324 PyObject * obj0 = 0 ;
3325 PyObject * obj1 = 0 ;
3326 PyObject * obj2 = 0 ;
3327 PyObject * obj3 = 0 ;
3328 PyObject * obj4 = 0 ;
3329 PyObject * obj5 = 0 ;
3330 char * kwnames[] = {
3331 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3332 };
3333
3334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3336 if (!SWIG_IsOK(res1)) {
3337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3338 }
3339 arg1 = reinterpret_cast< wxWindow * >(argp1);
3340 if (obj1) {
3341 ecode2 = SWIG_AsVal_int(obj1, &val2);
3342 if (!SWIG_IsOK(ecode2)) {
3343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3344 }
3345 arg2 = static_cast< int >(val2);
3346 }
3347 if (obj2) {
3348 {
3349 arg3 = &temp3;
3350 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3351 }
3352 }
3353 if (obj3) {
3354 {
3355 arg4 = &temp4;
3356 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3357 }
3358 }
3359 if (obj4) {
3360 ecode5 = SWIG_AsVal_long(obj4, &val5);
3361 if (!SWIG_IsOK(ecode5)) {
3362 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3363 }
3364 arg5 = static_cast< long >(val5);
3365 }
3366 if (obj5) {
3367 {
3368 arg6 = wxString_in_helper(obj5);
3369 if (arg6 == NULL) SWIG_fail;
3370 temp6 = true;
3371 }
3372 }
3373 {
3374 if (!wxPyCheckForApp()) SWIG_fail;
3375 PyThreadState* __tstate = wxPyBeginAllowThreads();
3376 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
3380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3381 {
3382 if (temp6)
3383 delete arg6;
3384 }
3385 return resultobj;
3386 fail:
3387 {
3388 if (temp6)
3389 delete arg6;
3390 }
3391 return NULL;
3392 }
3393
3394
3395 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3396 PyObject *resultobj = 0;
3397 wxDynamicSashWindow *result = 0 ;
3398
3399 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3400 {
3401 if (!wxPyCheckForApp()) SWIG_fail;
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3408 return resultobj;
3409 fail:
3410 return NULL;
3411 }
3412
3413
3414 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3415 PyObject *resultobj = 0;
3416 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3417 wxWindow *arg2 = (wxWindow *) 0 ;
3418 int arg3 = (int) -1 ;
3419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3421 wxSize const &arg5_defvalue = wxDefaultSize ;
3422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3423 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3424 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3425 wxString *arg7 = (wxString *) &arg7_defvalue ;
3426 bool result;
3427 void *argp1 = 0 ;
3428 int res1 = 0 ;
3429 void *argp2 = 0 ;
3430 int res2 = 0 ;
3431 int val3 ;
3432 int ecode3 = 0 ;
3433 wxPoint temp4 ;
3434 wxSize temp5 ;
3435 long val6 ;
3436 int ecode6 = 0 ;
3437 bool temp7 = false ;
3438 PyObject * obj0 = 0 ;
3439 PyObject * obj1 = 0 ;
3440 PyObject * obj2 = 0 ;
3441 PyObject * obj3 = 0 ;
3442 PyObject * obj4 = 0 ;
3443 PyObject * obj5 = 0 ;
3444 PyObject * obj6 = 0 ;
3445 char * kwnames[] = {
3446 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3447 };
3448
3449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3451 if (!SWIG_IsOK(res1)) {
3452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3453 }
3454 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3455 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3456 if (!SWIG_IsOK(res2)) {
3457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3458 }
3459 arg2 = reinterpret_cast< wxWindow * >(argp2);
3460 if (obj2) {
3461 ecode3 = SWIG_AsVal_int(obj2, &val3);
3462 if (!SWIG_IsOK(ecode3)) {
3463 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3464 }
3465 arg3 = static_cast< int >(val3);
3466 }
3467 if (obj3) {
3468 {
3469 arg4 = &temp4;
3470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3471 }
3472 }
3473 if (obj4) {
3474 {
3475 arg5 = &temp5;
3476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3477 }
3478 }
3479 if (obj5) {
3480 ecode6 = SWIG_AsVal_long(obj5, &val6);
3481 if (!SWIG_IsOK(ecode6)) {
3482 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3483 }
3484 arg6 = static_cast< long >(val6);
3485 }
3486 if (obj6) {
3487 {
3488 arg7 = wxString_in_helper(obj6);
3489 if (arg7 == NULL) SWIG_fail;
3490 temp7 = true;
3491 }
3492 }
3493 {
3494 PyThreadState* __tstate = wxPyBeginAllowThreads();
3495 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3496 wxPyEndAllowThreads(__tstate);
3497 if (PyErr_Occurred()) SWIG_fail;
3498 }
3499 {
3500 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3501 }
3502 {
3503 if (temp7)
3504 delete arg7;
3505 }
3506 return resultobj;
3507 fail:
3508 {
3509 if (temp7)
3510 delete arg7;
3511 }
3512 return NULL;
3513 }
3514
3515
3516 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3517 PyObject *resultobj = 0;
3518 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3519 wxWindow *arg2 = (wxWindow *) 0 ;
3520 wxScrollBar *result = 0 ;
3521 void *argp1 = 0 ;
3522 int res1 = 0 ;
3523 void *argp2 = 0 ;
3524 int res2 = 0 ;
3525 PyObject * obj0 = 0 ;
3526 PyObject * obj1 = 0 ;
3527 char * kwnames[] = {
3528 (char *) "self",(char *) "child", NULL
3529 };
3530
3531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3533 if (!SWIG_IsOK(res1)) {
3534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3535 }
3536 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3537 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3538 if (!SWIG_IsOK(res2)) {
3539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3540 }
3541 arg2 = reinterpret_cast< wxWindow * >(argp2);
3542 {
3543 PyThreadState* __tstate = wxPyBeginAllowThreads();
3544 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3545 wxPyEndAllowThreads(__tstate);
3546 if (PyErr_Occurred()) SWIG_fail;
3547 }
3548 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3549 return resultobj;
3550 fail:
3551 return NULL;
3552 }
3553
3554
3555 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3556 PyObject *resultobj = 0;
3557 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3558 wxWindow *arg2 = (wxWindow *) 0 ;
3559 wxScrollBar *result = 0 ;
3560 void *argp1 = 0 ;
3561 int res1 = 0 ;
3562 void *argp2 = 0 ;
3563 int res2 = 0 ;
3564 PyObject * obj0 = 0 ;
3565 PyObject * obj1 = 0 ;
3566 char * kwnames[] = {
3567 (char *) "self",(char *) "child", NULL
3568 };
3569
3570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3572 if (!SWIG_IsOK(res1)) {
3573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3574 }
3575 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3576 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3577 if (!SWIG_IsOK(res2)) {
3578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3579 }
3580 arg2 = reinterpret_cast< wxWindow * >(argp2);
3581 {
3582 PyThreadState* __tstate = wxPyBeginAllowThreads();
3583 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3584 wxPyEndAllowThreads(__tstate);
3585 if (PyErr_Occurred()) SWIG_fail;
3586 }
3587 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3588 return resultobj;
3589 fail:
3590 return NULL;
3591 }
3592
3593
3594 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3595 PyObject *obj;
3596 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3597 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3598 return SWIG_Py_Void();
3599 }
3600
3601 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3602 return SWIG_Python_InitShadowInstance(args);
3603 }
3604
3605 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3606 PyObject *resultobj = 0;
3607 wxWindow *arg1 = (wxWindow *) 0 ;
3608 int arg2 = (int) -1 ;
3609 wxString const &arg3_defvalue = wxPyEmptyString ;
3610 wxString *arg3 = (wxString *) &arg3_defvalue ;
3611 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3612 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3613 wxSize const &arg5_defvalue = wxDefaultSize ;
3614 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3615 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3616 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3617 wxString *arg7 = (wxString *) &arg7_defvalue ;
3618 wxEditableListBox *result = 0 ;
3619 void *argp1 = 0 ;
3620 int res1 = 0 ;
3621 int val2 ;
3622 int ecode2 = 0 ;
3623 bool temp3 = false ;
3624 wxPoint temp4 ;
3625 wxSize temp5 ;
3626 long val6 ;
3627 int ecode6 = 0 ;
3628 bool temp7 = false ;
3629 PyObject * obj0 = 0 ;
3630 PyObject * obj1 = 0 ;
3631 PyObject * obj2 = 0 ;
3632 PyObject * obj3 = 0 ;
3633 PyObject * obj4 = 0 ;
3634 PyObject * obj5 = 0 ;
3635 PyObject * obj6 = 0 ;
3636 char * kwnames[] = {
3637 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3638 };
3639
3640 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3641 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3642 if (!SWIG_IsOK(res1)) {
3643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3644 }
3645 arg1 = reinterpret_cast< wxWindow * >(argp1);
3646 if (obj1) {
3647 ecode2 = SWIG_AsVal_int(obj1, &val2);
3648 if (!SWIG_IsOK(ecode2)) {
3649 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3650 }
3651 arg2 = static_cast< int >(val2);
3652 }
3653 if (obj2) {
3654 {
3655 arg3 = wxString_in_helper(obj2);
3656 if (arg3 == NULL) SWIG_fail;
3657 temp3 = true;
3658 }
3659 }
3660 if (obj3) {
3661 {
3662 arg4 = &temp4;
3663 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3664 }
3665 }
3666 if (obj4) {
3667 {
3668 arg5 = &temp5;
3669 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3670 }
3671 }
3672 if (obj5) {
3673 ecode6 = SWIG_AsVal_long(obj5, &val6);
3674 if (!SWIG_IsOK(ecode6)) {
3675 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3676 }
3677 arg6 = static_cast< long >(val6);
3678 }
3679 if (obj6) {
3680 {
3681 arg7 = wxString_in_helper(obj6);
3682 if (arg7 == NULL) SWIG_fail;
3683 temp7 = true;
3684 }
3685 }
3686 {
3687 if (!wxPyCheckForApp()) SWIG_fail;
3688 PyThreadState* __tstate = wxPyBeginAllowThreads();
3689 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3690 wxPyEndAllowThreads(__tstate);
3691 if (PyErr_Occurred()) SWIG_fail;
3692 }
3693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3694 {
3695 if (temp3)
3696 delete arg3;
3697 }
3698 {
3699 if (temp7)
3700 delete arg7;
3701 }
3702 return resultobj;
3703 fail:
3704 {
3705 if (temp3)
3706 delete arg3;
3707 }
3708 {
3709 if (temp7)
3710 delete arg7;
3711 }
3712 return NULL;
3713 }
3714
3715
3716 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3717 PyObject *resultobj = 0;
3718 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3719 wxArrayString *arg2 = 0 ;
3720 void *argp1 = 0 ;
3721 int res1 = 0 ;
3722 bool temp2 = false ;
3723 PyObject * obj0 = 0 ;
3724 PyObject * obj1 = 0 ;
3725 char * kwnames[] = {
3726 (char *) "self",(char *) "strings", NULL
3727 };
3728
3729 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3730 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3731 if (!SWIG_IsOK(res1)) {
3732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3733 }
3734 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3735 {
3736 if (! PySequence_Check(obj1)) {
3737 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3738 SWIG_fail;
3739 }
3740 arg2 = new wxArrayString;
3741 temp2 = true;
3742 int i, len=PySequence_Length(obj1);
3743 for (i=0; i<len; i++) {
3744 PyObject* item = PySequence_GetItem(obj1, i);
3745 wxString* s = wxString_in_helper(item);
3746 if (PyErr_Occurred()) SWIG_fail;
3747 arg2->Add(*s);
3748 delete s;
3749 Py_DECREF(item);
3750 }
3751 }
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 (arg1)->SetStrings((wxArrayString const &)*arg2);
3755 wxPyEndAllowThreads(__tstate);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 }
3758 resultobj = SWIG_Py_Void();
3759 {
3760 if (temp2) delete arg2;
3761 }
3762 return resultobj;
3763 fail:
3764 {
3765 if (temp2) delete arg2;
3766 }
3767 return NULL;
3768 }
3769
3770
3771 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3772 PyObject *resultobj = 0;
3773 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3774 PyObject *result = 0 ;
3775 void *argp1 = 0 ;
3776 int res1 = 0 ;
3777 PyObject *swig_obj[1] ;
3778
3779 if (!args) SWIG_fail;
3780 swig_obj[0] = args;
3781 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3782 if (!SWIG_IsOK(res1)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3784 }
3785 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3789 wxPyEndAllowThreads(__tstate);
3790 if (PyErr_Occurred()) SWIG_fail;
3791 }
3792 resultobj = result;
3793 return resultobj;
3794 fail:
3795 return NULL;
3796 }
3797
3798
3799 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3800 PyObject *resultobj = 0;
3801 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3802 wxPyListCtrl *result = 0 ;
3803 void *argp1 = 0 ;
3804 int res1 = 0 ;
3805 PyObject *swig_obj[1] ;
3806
3807 if (!args) SWIG_fail;
3808 swig_obj[0] = args;
3809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3810 if (!SWIG_IsOK(res1)) {
3811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3812 }
3813 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3817 wxPyEndAllowThreads(__tstate);
3818 if (PyErr_Occurred()) SWIG_fail;
3819 }
3820 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3821 return resultobj;
3822 fail:
3823 return NULL;
3824 }
3825
3826
3827 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3828 PyObject *resultobj = 0;
3829 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3830 wxBitmapButton *result = 0 ;
3831 void *argp1 = 0 ;
3832 int res1 = 0 ;
3833 PyObject *swig_obj[1] ;
3834
3835 if (!args) SWIG_fail;
3836 swig_obj[0] = args;
3837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3838 if (!SWIG_IsOK(res1)) {
3839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3840 }
3841 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (wxBitmapButton *)(arg1)->GetDelButton();
3845 wxPyEndAllowThreads(__tstate);
3846 if (PyErr_Occurred()) SWIG_fail;
3847 }
3848 {
3849 resultobj = wxPyMake_wxObject(result, 0);
3850 }
3851 return resultobj;
3852 fail:
3853 return NULL;
3854 }
3855
3856
3857 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3858 PyObject *resultobj = 0;
3859 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3860 wxBitmapButton *result = 0 ;
3861 void *argp1 = 0 ;
3862 int res1 = 0 ;
3863 PyObject *swig_obj[1] ;
3864
3865 if (!args) SWIG_fail;
3866 swig_obj[0] = args;
3867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3868 if (!SWIG_IsOK(res1)) {
3869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3870 }
3871 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3872 {
3873 PyThreadState* __tstate = wxPyBeginAllowThreads();
3874 result = (wxBitmapButton *)(arg1)->GetNewButton();
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 {
3879 resultobj = wxPyMake_wxObject(result, 0);
3880 }
3881 return resultobj;
3882 fail:
3883 return NULL;
3884 }
3885
3886
3887 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3888 PyObject *resultobj = 0;
3889 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3890 wxBitmapButton *result = 0 ;
3891 void *argp1 = 0 ;
3892 int res1 = 0 ;
3893 PyObject *swig_obj[1] ;
3894
3895 if (!args) SWIG_fail;
3896 swig_obj[0] = args;
3897 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3898 if (!SWIG_IsOK(res1)) {
3899 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3900 }
3901 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (wxBitmapButton *)(arg1)->GetUpButton();
3905 wxPyEndAllowThreads(__tstate);
3906 if (PyErr_Occurred()) SWIG_fail;
3907 }
3908 {
3909 resultobj = wxPyMake_wxObject(result, 0);
3910 }
3911 return resultobj;
3912 fail:
3913 return NULL;
3914 }
3915
3916
3917 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3918 PyObject *resultobj = 0;
3919 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3920 wxBitmapButton *result = 0 ;
3921 void *argp1 = 0 ;
3922 int res1 = 0 ;
3923 PyObject *swig_obj[1] ;
3924
3925 if (!args) SWIG_fail;
3926 swig_obj[0] = args;
3927 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3928 if (!SWIG_IsOK(res1)) {
3929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3930 }
3931 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3932 {
3933 PyThreadState* __tstate = wxPyBeginAllowThreads();
3934 result = (wxBitmapButton *)(arg1)->GetDownButton();
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
3938 {
3939 resultobj = wxPyMake_wxObject(result, 0);
3940 }
3941 return resultobj;
3942 fail:
3943 return NULL;
3944 }
3945
3946
3947 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3948 PyObject *resultobj = 0;
3949 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3950 wxBitmapButton *result = 0 ;
3951 void *argp1 = 0 ;
3952 int res1 = 0 ;
3953 PyObject *swig_obj[1] ;
3954
3955 if (!args) SWIG_fail;
3956 swig_obj[0] = args;
3957 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3958 if (!SWIG_IsOK(res1)) {
3959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3960 }
3961 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (wxBitmapButton *)(arg1)->GetEditButton();
3965 wxPyEndAllowThreads(__tstate);
3966 if (PyErr_Occurred()) SWIG_fail;
3967 }
3968 {
3969 resultobj = wxPyMake_wxObject(result, 0);
3970 }
3971 return resultobj;
3972 fail:
3973 return NULL;
3974 }
3975
3976
3977 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3978 PyObject *obj;
3979 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3980 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3981 return SWIG_Py_Void();
3982 }
3983
3984 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3985 return SWIG_Python_InitShadowInstance(args);
3986 }
3987
3988 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3989 PyObject *resultobj = 0;
3990 wxWindow *arg1 = (wxWindow *) 0 ;
3991 int arg2 ;
3992 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3993 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3994 wxSize const &arg4_defvalue = wxDefaultSize ;
3995 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3996 long arg5 = (long) wxTR_HAS_BUTTONS ;
3997 wxRemotelyScrolledTreeCtrl *result = 0 ;
3998 void *argp1 = 0 ;
3999 int res1 = 0 ;
4000 int val2 ;
4001 int ecode2 = 0 ;
4002 wxPoint temp3 ;
4003 wxSize temp4 ;
4004 long val5 ;
4005 int ecode5 = 0 ;
4006 PyObject * obj0 = 0 ;
4007 PyObject * obj1 = 0 ;
4008 PyObject * obj2 = 0 ;
4009 PyObject * obj3 = 0 ;
4010 PyObject * obj4 = 0 ;
4011 char * kwnames[] = {
4012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4013 };
4014
4015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4017 if (!SWIG_IsOK(res1)) {
4018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4019 }
4020 arg1 = reinterpret_cast< wxWindow * >(argp1);
4021 ecode2 = SWIG_AsVal_int(obj1, &val2);
4022 if (!SWIG_IsOK(ecode2)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4024 }
4025 arg2 = static_cast< int >(val2);
4026 if (obj2) {
4027 {
4028 arg3 = &temp3;
4029 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4030 }
4031 }
4032 if (obj3) {
4033 {
4034 arg4 = &temp4;
4035 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4036 }
4037 }
4038 if (obj4) {
4039 ecode5 = SWIG_AsVal_long(obj4, &val5);
4040 if (!SWIG_IsOK(ecode5)) {
4041 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4042 }
4043 arg5 = static_cast< long >(val5);
4044 }
4045 {
4046 if (!wxPyCheckForApp()) SWIG_fail;
4047 PyThreadState* __tstate = wxPyBeginAllowThreads();
4048 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4049 wxPyEndAllowThreads(__tstate);
4050 if (PyErr_Occurred()) SWIG_fail;
4051 }
4052 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4053 return resultobj;
4054 fail:
4055 return NULL;
4056 }
4057
4058
4059 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4060 PyObject *resultobj = 0;
4061 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4062 void *argp1 = 0 ;
4063 int res1 = 0 ;
4064 PyObject *swig_obj[1] ;
4065
4066 if (!args) SWIG_fail;
4067 swig_obj[0] = args;
4068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4069 if (!SWIG_IsOK(res1)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4071 }
4072 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4073 {
4074 PyThreadState* __tstate = wxPyBeginAllowThreads();
4075 (arg1)->HideVScrollbar();
4076 wxPyEndAllowThreads(__tstate);
4077 if (PyErr_Occurred()) SWIG_fail;
4078 }
4079 resultobj = SWIG_Py_Void();
4080 return resultobj;
4081 fail:
4082 return NULL;
4083 }
4084
4085
4086 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4087 PyObject *resultobj = 0;
4088 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4089 void *argp1 = 0 ;
4090 int res1 = 0 ;
4091 PyObject *swig_obj[1] ;
4092
4093 if (!args) SWIG_fail;
4094 swig_obj[0] = args;
4095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4096 if (!SWIG_IsOK(res1)) {
4097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4098 }
4099 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4100 {
4101 PyThreadState* __tstate = wxPyBeginAllowThreads();
4102 (arg1)->AdjustRemoteScrollbars();
4103 wxPyEndAllowThreads(__tstate);
4104 if (PyErr_Occurred()) SWIG_fail;
4105 }
4106 resultobj = SWIG_Py_Void();
4107 return resultobj;
4108 fail:
4109 return NULL;
4110 }
4111
4112
4113 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4114 PyObject *resultobj = 0;
4115 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4116 wxScrolledWindow *result = 0 ;
4117 void *argp1 = 0 ;
4118 int res1 = 0 ;
4119 PyObject *swig_obj[1] ;
4120
4121 if (!args) SWIG_fail;
4122 swig_obj[0] = args;
4123 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4124 if (!SWIG_IsOK(res1)) {
4125 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4126 }
4127 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4131 wxPyEndAllowThreads(__tstate);
4132 if (PyErr_Occurred()) SWIG_fail;
4133 }
4134 {
4135 resultobj = wxPyMake_wxObject(result, 0);
4136 }
4137 return resultobj;
4138 fail:
4139 return NULL;
4140 }
4141
4142
4143 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4144 PyObject *resultobj = 0;
4145 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4146 int arg2 ;
4147 int arg3 ;
4148 void *argp1 = 0 ;
4149 int res1 = 0 ;
4150 int val2 ;
4151 int ecode2 = 0 ;
4152 int val3 ;
4153 int ecode3 = 0 ;
4154 PyObject * obj0 = 0 ;
4155 PyObject * obj1 = 0 ;
4156 PyObject * obj2 = 0 ;
4157 char * kwnames[] = {
4158 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4159 };
4160
4161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4163 if (!SWIG_IsOK(res1)) {
4164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4165 }
4166 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4167 ecode2 = SWIG_AsVal_int(obj1, &val2);
4168 if (!SWIG_IsOK(ecode2)) {
4169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4170 }
4171 arg2 = static_cast< int >(val2);
4172 ecode3 = SWIG_AsVal_int(obj2, &val3);
4173 if (!SWIG_IsOK(ecode3)) {
4174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4175 }
4176 arg3 = static_cast< int >(val3);
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 (arg1)->ScrollToLine(arg2,arg3);
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 resultobj = SWIG_Py_Void();
4184 return resultobj;
4185 fail:
4186 return NULL;
4187 }
4188
4189
4190 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4191 PyObject *resultobj = 0;
4192 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4193 wxWindow *arg2 = (wxWindow *) 0 ;
4194 void *argp1 = 0 ;
4195 int res1 = 0 ;
4196 void *argp2 = 0 ;
4197 int res2 = 0 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 char * kwnames[] = {
4201 (char *) "self",(char *) "companion", NULL
4202 };
4203
4204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4206 if (!SWIG_IsOK(res1)) {
4207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4208 }
4209 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4210 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4211 if (!SWIG_IsOK(res2)) {
4212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4213 }
4214 arg2 = reinterpret_cast< wxWindow * >(argp2);
4215 {
4216 PyThreadState* __tstate = wxPyBeginAllowThreads();
4217 (arg1)->SetCompanionWindow(arg2);
4218 wxPyEndAllowThreads(__tstate);
4219 if (PyErr_Occurred()) SWIG_fail;
4220 }
4221 resultobj = SWIG_Py_Void();
4222 return resultobj;
4223 fail:
4224 return NULL;
4225 }
4226
4227
4228 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4229 PyObject *resultobj = 0;
4230 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4231 wxWindow *result = 0 ;
4232 void *argp1 = 0 ;
4233 int res1 = 0 ;
4234 PyObject *swig_obj[1] ;
4235
4236 if (!args) SWIG_fail;
4237 swig_obj[0] = args;
4238 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4239 if (!SWIG_IsOK(res1)) {
4240 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4241 }
4242 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4246 wxPyEndAllowThreads(__tstate);
4247 if (PyErr_Occurred()) SWIG_fail;
4248 }
4249 {
4250 resultobj = wxPyMake_wxObject(result, 0);
4251 }
4252 return resultobj;
4253 fail:
4254 return NULL;
4255 }
4256
4257
4258 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4259 PyObject *obj;
4260 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4261 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4262 return SWIG_Py_Void();
4263 }
4264
4265 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4266 return SWIG_Python_InitShadowInstance(args);
4267 }
4268
4269 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj = 0;
4271 wxWindow *arg1 = (wxWindow *) 0 ;
4272 int arg2 = (int) -1 ;
4273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4275 wxSize const &arg4_defvalue = wxDefaultSize ;
4276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4277 long arg5 = (long) 0 ;
4278 wxPyTreeCompanionWindow *result = 0 ;
4279 void *argp1 = 0 ;
4280 int res1 = 0 ;
4281 int val2 ;
4282 int ecode2 = 0 ;
4283 wxPoint temp3 ;
4284 wxSize temp4 ;
4285 long val5 ;
4286 int ecode5 = 0 ;
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj1 = 0 ;
4289 PyObject * obj2 = 0 ;
4290 PyObject * obj3 = 0 ;
4291 PyObject * obj4 = 0 ;
4292 char * kwnames[] = {
4293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4294 };
4295
4296 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4297 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4298 if (!SWIG_IsOK(res1)) {
4299 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4300 }
4301 arg1 = reinterpret_cast< wxWindow * >(argp1);
4302 if (obj1) {
4303 ecode2 = SWIG_AsVal_int(obj1, &val2);
4304 if (!SWIG_IsOK(ecode2)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4306 }
4307 arg2 = static_cast< int >(val2);
4308 }
4309 if (obj2) {
4310 {
4311 arg3 = &temp3;
4312 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4313 }
4314 }
4315 if (obj3) {
4316 {
4317 arg4 = &temp4;
4318 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4319 }
4320 }
4321 if (obj4) {
4322 ecode5 = SWIG_AsVal_long(obj4, &val5);
4323 if (!SWIG_IsOK(ecode5)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4325 }
4326 arg5 = static_cast< long >(val5);
4327 }
4328 {
4329 if (!wxPyCheckForApp()) SWIG_fail;
4330 PyThreadState* __tstate = wxPyBeginAllowThreads();
4331 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4332 wxPyEndAllowThreads(__tstate);
4333 if (PyErr_Occurred()) SWIG_fail;
4334 }
4335 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4336 return resultobj;
4337 fail:
4338 return NULL;
4339 }
4340
4341
4342 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj = 0;
4344 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4345 PyObject *arg2 = (PyObject *) 0 ;
4346 PyObject *arg3 = (PyObject *) 0 ;
4347 void *argp1 = 0 ;
4348 int res1 = 0 ;
4349 PyObject * obj0 = 0 ;
4350 PyObject * obj1 = 0 ;
4351 PyObject * obj2 = 0 ;
4352 char * kwnames[] = {
4353 (char *) "self",(char *) "self",(char *) "_class", NULL
4354 };
4355
4356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4358 if (!SWIG_IsOK(res1)) {
4359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4360 }
4361 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4362 arg2 = obj1;
4363 arg3 = obj2;
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 (arg1)->_setCallbackInfo(arg2,arg3);
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 resultobj = SWIG_Py_Void();
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4378 PyObject *resultobj = 0;
4379 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4380 wxRemotelyScrolledTreeCtrl *result = 0 ;
4381 void *argp1 = 0 ;
4382 int res1 = 0 ;
4383 PyObject *swig_obj[1] ;
4384
4385 if (!args) SWIG_fail;
4386 swig_obj[0] = args;
4387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4388 if (!SWIG_IsOK(res1)) {
4389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4390 }
4391 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4392 {
4393 PyThreadState* __tstate = wxPyBeginAllowThreads();
4394 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4395 wxPyEndAllowThreads(__tstate);
4396 if (PyErr_Occurred()) SWIG_fail;
4397 }
4398 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4399 return resultobj;
4400 fail:
4401 return NULL;
4402 }
4403
4404
4405 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4406 PyObject *resultobj = 0;
4407 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4408 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4409 void *argp1 = 0 ;
4410 int res1 = 0 ;
4411 void *argp2 = 0 ;
4412 int res2 = 0 ;
4413 PyObject * obj0 = 0 ;
4414 PyObject * obj1 = 0 ;
4415 char * kwnames[] = {
4416 (char *) "self",(char *) "treeCtrl", NULL
4417 };
4418
4419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4421 if (!SWIG_IsOK(res1)) {
4422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4423 }
4424 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4425 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4426 if (!SWIG_IsOK(res2)) {
4427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4428 }
4429 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4430 {
4431 PyThreadState* __tstate = wxPyBeginAllowThreads();
4432 (arg1)->SetTreeCtrl(arg2);
4433 wxPyEndAllowThreads(__tstate);
4434 if (PyErr_Occurred()) SWIG_fail;
4435 }
4436 resultobj = SWIG_Py_Void();
4437 return resultobj;
4438 fail:
4439 return NULL;
4440 }
4441
4442
4443 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4444 PyObject *obj;
4445 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4446 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4447 return SWIG_Py_Void();
4448 }
4449
4450 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4451 return SWIG_Python_InitShadowInstance(args);
4452 }
4453
4454 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj = 0;
4456 wxWindow *arg1 = (wxWindow *) 0 ;
4457 int arg2 = (int) -1 ;
4458 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4459 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4460 wxSize const &arg4_defvalue = wxDefaultSize ;
4461 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4462 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4463 wxThinSplitterWindow *result = 0 ;
4464 void *argp1 = 0 ;
4465 int res1 = 0 ;
4466 int val2 ;
4467 int ecode2 = 0 ;
4468 wxPoint temp3 ;
4469 wxSize temp4 ;
4470 long val5 ;
4471 int ecode5 = 0 ;
4472 PyObject * obj0 = 0 ;
4473 PyObject * obj1 = 0 ;
4474 PyObject * obj2 = 0 ;
4475 PyObject * obj3 = 0 ;
4476 PyObject * obj4 = 0 ;
4477 char * kwnames[] = {
4478 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4479 };
4480
4481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4483 if (!SWIG_IsOK(res1)) {
4484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4485 }
4486 arg1 = reinterpret_cast< wxWindow * >(argp1);
4487 if (obj1) {
4488 ecode2 = SWIG_AsVal_int(obj1, &val2);
4489 if (!SWIG_IsOK(ecode2)) {
4490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4491 }
4492 arg2 = static_cast< int >(val2);
4493 }
4494 if (obj2) {
4495 {
4496 arg3 = &temp3;
4497 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4498 }
4499 }
4500 if (obj3) {
4501 {
4502 arg4 = &temp4;
4503 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4504 }
4505 }
4506 if (obj4) {
4507 ecode5 = SWIG_AsVal_long(obj4, &val5);
4508 if (!SWIG_IsOK(ecode5)) {
4509 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4510 }
4511 arg5 = static_cast< long >(val5);
4512 }
4513 {
4514 if (!wxPyCheckForApp()) SWIG_fail;
4515 PyThreadState* __tstate = wxPyBeginAllowThreads();
4516 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4517 wxPyEndAllowThreads(__tstate);
4518 if (PyErr_Occurred()) SWIG_fail;
4519 }
4520 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4521 return resultobj;
4522 fail:
4523 return NULL;
4524 }
4525
4526
4527 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4528 PyObject *obj;
4529 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4530 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4531 return SWIG_Py_Void();
4532 }
4533
4534 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4535 return SWIG_Python_InitShadowInstance(args);
4536 }
4537
4538 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4539 PyObject *resultobj = 0;
4540 wxWindow *arg1 = (wxWindow *) 0 ;
4541 int arg2 = (int) -1 ;
4542 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4543 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4544 wxSize const &arg4_defvalue = wxDefaultSize ;
4545 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4546 long arg5 = (long) 0 ;
4547 wxSplitterScrolledWindow *result = 0 ;
4548 void *argp1 = 0 ;
4549 int res1 = 0 ;
4550 int val2 ;
4551 int ecode2 = 0 ;
4552 wxPoint temp3 ;
4553 wxSize temp4 ;
4554 long val5 ;
4555 int ecode5 = 0 ;
4556 PyObject * obj0 = 0 ;
4557 PyObject * obj1 = 0 ;
4558 PyObject * obj2 = 0 ;
4559 PyObject * obj3 = 0 ;
4560 PyObject * obj4 = 0 ;
4561 char * kwnames[] = {
4562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4563 };
4564
4565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4567 if (!SWIG_IsOK(res1)) {
4568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4569 }
4570 arg1 = reinterpret_cast< wxWindow * >(argp1);
4571 if (obj1) {
4572 ecode2 = SWIG_AsVal_int(obj1, &val2);
4573 if (!SWIG_IsOK(ecode2)) {
4574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4575 }
4576 arg2 = static_cast< int >(val2);
4577 }
4578 if (obj2) {
4579 {
4580 arg3 = &temp3;
4581 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4582 }
4583 }
4584 if (obj3) {
4585 {
4586 arg4 = &temp4;
4587 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4588 }
4589 }
4590 if (obj4) {
4591 ecode5 = SWIG_AsVal_long(obj4, &val5);
4592 if (!SWIG_IsOK(ecode5)) {
4593 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4594 }
4595 arg5 = static_cast< long >(val5);
4596 }
4597 {
4598 if (!wxPyCheckForApp()) SWIG_fail;
4599 PyThreadState* __tstate = wxPyBeginAllowThreads();
4600 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4601 wxPyEndAllowThreads(__tstate);
4602 if (PyErr_Occurred()) SWIG_fail;
4603 }
4604 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4605 return resultobj;
4606 fail:
4607 return NULL;
4608 }
4609
4610
4611 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4612 PyObject *obj;
4613 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4614 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4615 return SWIG_Py_Void();
4616 }
4617
4618 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4619 return SWIG_Python_InitShadowInstance(args);
4620 }
4621
4622 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj = 0;
4624 wxWindow *arg1 = (wxWindow *) 0 ;
4625 int arg2 = (int) -1 ;
4626 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4627 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4628 wxSize const &arg4_defvalue = wxDefaultSize ;
4629 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4630 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4631 wxLEDNumberCtrl *result = 0 ;
4632 void *argp1 = 0 ;
4633 int res1 = 0 ;
4634 int val2 ;
4635 int ecode2 = 0 ;
4636 wxPoint temp3 ;
4637 wxSize temp4 ;
4638 long val5 ;
4639 int ecode5 = 0 ;
4640 PyObject * obj0 = 0 ;
4641 PyObject * obj1 = 0 ;
4642 PyObject * obj2 = 0 ;
4643 PyObject * obj3 = 0 ;
4644 PyObject * obj4 = 0 ;
4645 char * kwnames[] = {
4646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4647 };
4648
4649 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4650 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4651 if (!SWIG_IsOK(res1)) {
4652 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4653 }
4654 arg1 = reinterpret_cast< wxWindow * >(argp1);
4655 if (obj1) {
4656 ecode2 = SWIG_AsVal_int(obj1, &val2);
4657 if (!SWIG_IsOK(ecode2)) {
4658 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4659 }
4660 arg2 = static_cast< int >(val2);
4661 }
4662 if (obj2) {
4663 {
4664 arg3 = &temp3;
4665 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4666 }
4667 }
4668 if (obj3) {
4669 {
4670 arg4 = &temp4;
4671 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4672 }
4673 }
4674 if (obj4) {
4675 ecode5 = SWIG_AsVal_long(obj4, &val5);
4676 if (!SWIG_IsOK(ecode5)) {
4677 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4678 }
4679 arg5 = static_cast< long >(val5);
4680 }
4681 {
4682 if (!wxPyCheckForApp()) SWIG_fail;
4683 PyThreadState* __tstate = wxPyBeginAllowThreads();
4684 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4685 wxPyEndAllowThreads(__tstate);
4686 if (PyErr_Occurred()) SWIG_fail;
4687 }
4688 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4689 return resultobj;
4690 fail:
4691 return NULL;
4692 }
4693
4694
4695 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4696 PyObject *resultobj = 0;
4697 wxLEDNumberCtrl *result = 0 ;
4698
4699 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4700 {
4701 if (!wxPyCheckForApp()) SWIG_fail;
4702 PyThreadState* __tstate = wxPyBeginAllowThreads();
4703 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj = 0;
4716 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4717 wxWindow *arg2 = (wxWindow *) 0 ;
4718 int arg3 = (int) -1 ;
4719 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4720 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4721 wxSize const &arg5_defvalue = wxDefaultSize ;
4722 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4723 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4724 bool result;
4725 void *argp1 = 0 ;
4726 int res1 = 0 ;
4727 void *argp2 = 0 ;
4728 int res2 = 0 ;
4729 int val3 ;
4730 int ecode3 = 0 ;
4731 wxPoint temp4 ;
4732 wxSize temp5 ;
4733 long val6 ;
4734 int ecode6 = 0 ;
4735 PyObject * obj0 = 0 ;
4736 PyObject * obj1 = 0 ;
4737 PyObject * obj2 = 0 ;
4738 PyObject * obj3 = 0 ;
4739 PyObject * obj4 = 0 ;
4740 PyObject * obj5 = 0 ;
4741 char * kwnames[] = {
4742 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4743 };
4744
4745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4747 if (!SWIG_IsOK(res1)) {
4748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4749 }
4750 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4751 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4752 if (!SWIG_IsOK(res2)) {
4753 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4754 }
4755 arg2 = reinterpret_cast< wxWindow * >(argp2);
4756 if (obj2) {
4757 ecode3 = SWIG_AsVal_int(obj2, &val3);
4758 if (!SWIG_IsOK(ecode3)) {
4759 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4760 }
4761 arg3 = static_cast< int >(val3);
4762 }
4763 if (obj3) {
4764 {
4765 arg4 = &temp4;
4766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4767 }
4768 }
4769 if (obj4) {
4770 {
4771 arg5 = &temp5;
4772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4773 }
4774 }
4775 if (obj5) {
4776 ecode6 = SWIG_AsVal_long(obj5, &val6);
4777 if (!SWIG_IsOK(ecode6)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4779 }
4780 arg6 = static_cast< long >(val6);
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 {
4789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4790 }
4791 return resultobj;
4792 fail:
4793 return NULL;
4794 }
4795
4796
4797 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4798 PyObject *resultobj = 0;
4799 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4800 wxLEDValueAlign result;
4801 void *argp1 = 0 ;
4802 int res1 = 0 ;
4803 PyObject *swig_obj[1] ;
4804
4805 if (!args) SWIG_fail;
4806 swig_obj[0] = args;
4807 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4808 if (!SWIG_IsOK(res1)) {
4809 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4810 }
4811 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4812 {
4813 PyThreadState* __tstate = wxPyBeginAllowThreads();
4814 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4815 wxPyEndAllowThreads(__tstate);
4816 if (PyErr_Occurred()) SWIG_fail;
4817 }
4818 resultobj = SWIG_From_int(static_cast< int >(result));
4819 return resultobj;
4820 fail:
4821 return NULL;
4822 }
4823
4824
4825 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4826 PyObject *resultobj = 0;
4827 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4828 bool result;
4829 void *argp1 = 0 ;
4830 int res1 = 0 ;
4831 PyObject *swig_obj[1] ;
4832
4833 if (!args) SWIG_fail;
4834 swig_obj[0] = args;
4835 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4836 if (!SWIG_IsOK(res1)) {
4837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4838 }
4839 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 {
4847 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4848 }
4849 return resultobj;
4850 fail:
4851 return NULL;
4852 }
4853
4854
4855 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4856 PyObject *resultobj = 0;
4857 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4858 wxString *result = 0 ;
4859 void *argp1 = 0 ;
4860 int res1 = 0 ;
4861 PyObject *swig_obj[1] ;
4862
4863 if (!args) SWIG_fail;
4864 swig_obj[0] = args;
4865 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4866 if (!SWIG_IsOK(res1)) {
4867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4868 }
4869 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4870 {
4871 PyThreadState* __tstate = wxPyBeginAllowThreads();
4872 {
4873 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4874 result = (wxString *) &_result_ref;
4875 }
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 {
4880 #if wxUSE_UNICODE
4881 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4882 #else
4883 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4884 #endif
4885 }
4886 return resultobj;
4887 fail:
4888 return NULL;
4889 }
4890
4891
4892 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj = 0;
4894 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4895 wxLEDValueAlign arg2 ;
4896 bool arg3 = (bool) true ;
4897 void *argp1 = 0 ;
4898 int res1 = 0 ;
4899 int val2 ;
4900 int ecode2 = 0 ;
4901 bool val3 ;
4902 int ecode3 = 0 ;
4903 PyObject * obj0 = 0 ;
4904 PyObject * obj1 = 0 ;
4905 PyObject * obj2 = 0 ;
4906 char * kwnames[] = {
4907 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4908 };
4909
4910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4912 if (!SWIG_IsOK(res1)) {
4913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4914 }
4915 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4916 ecode2 = SWIG_AsVal_int(obj1, &val2);
4917 if (!SWIG_IsOK(ecode2)) {
4918 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4919 }
4920 arg2 = static_cast< wxLEDValueAlign >(val2);
4921 if (obj2) {
4922 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4923 if (!SWIG_IsOK(ecode3)) {
4924 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4925 }
4926 arg3 = static_cast< bool >(val3);
4927 }
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 (arg1)->SetAlignment(arg2,arg3);
4931 wxPyEndAllowThreads(__tstate);
4932 if (PyErr_Occurred()) SWIG_fail;
4933 }
4934 resultobj = SWIG_Py_Void();
4935 return resultobj;
4936 fail:
4937 return NULL;
4938 }
4939
4940
4941 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj = 0;
4943 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4944 bool arg2 ;
4945 bool arg3 = (bool) true ;
4946 void *argp1 = 0 ;
4947 int res1 = 0 ;
4948 bool val2 ;
4949 int ecode2 = 0 ;
4950 bool val3 ;
4951 int ecode3 = 0 ;
4952 PyObject * obj0 = 0 ;
4953 PyObject * obj1 = 0 ;
4954 PyObject * obj2 = 0 ;
4955 char * kwnames[] = {
4956 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4957 };
4958
4959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4961 if (!SWIG_IsOK(res1)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4963 }
4964 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4965 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4966 if (!SWIG_IsOK(ecode2)) {
4967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4968 }
4969 arg2 = static_cast< bool >(val2);
4970 if (obj2) {
4971 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4972 if (!SWIG_IsOK(ecode3)) {
4973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4974 }
4975 arg3 = static_cast< bool >(val3);
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 (arg1)->SetDrawFaded(arg2,arg3);
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_Py_Void();
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj = 0;
4992 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4993 wxString *arg2 = 0 ;
4994 bool arg3 = (bool) true ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 bool temp2 = false ;
4998 bool val3 ;
4999 int ecode3 = 0 ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 PyObject * obj2 = 0 ;
5003 char * kwnames[] = {
5004 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5005 };
5006
5007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5009 if (!SWIG_IsOK(res1)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5011 }
5012 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5013 {
5014 arg2 = wxString_in_helper(obj1);
5015 if (arg2 == NULL) SWIG_fail;
5016 temp2 = true;
5017 }
5018 if (obj2) {
5019 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5020 if (!SWIG_IsOK(ecode3)) {
5021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5022 }
5023 arg3 = static_cast< bool >(val3);
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->SetValue((wxString const &)*arg2,arg3);
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_Py_Void();
5032 {
5033 if (temp2)
5034 delete arg2;
5035 }
5036 return resultobj;
5037 fail:
5038 {
5039 if (temp2)
5040 delete arg2;
5041 }
5042 return NULL;
5043 }
5044
5045
5046 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5047 PyObject *obj;
5048 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5049 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5050 return SWIG_Py_Void();
5051 }
5052
5053 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5054 return SWIG_Python_InitShadowInstance(args);
5055 }
5056
5057 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5058 PyObject *resultobj = 0;
5059 wxString const &arg1_defvalue = wxPyEmptyString ;
5060 wxString *arg1 = (wxString *) &arg1_defvalue ;
5061 int arg2 = (int) -1 ;
5062 size_t arg3 = (size_t) 100 ;
5063 bool arg4 = (bool) true ;
5064 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5065 wxTreeListColumnInfo *result = 0 ;
5066 bool temp1 = false ;
5067 int val2 ;
5068 int ecode2 = 0 ;
5069 size_t val3 ;
5070 int ecode3 = 0 ;
5071 bool val4 ;
5072 int ecode4 = 0 ;
5073 int val5 ;
5074 int ecode5 = 0 ;
5075 PyObject * obj0 = 0 ;
5076 PyObject * obj1 = 0 ;
5077 PyObject * obj2 = 0 ;
5078 PyObject * obj3 = 0 ;
5079 PyObject * obj4 = 0 ;
5080 char * kwnames[] = {
5081 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5082 };
5083
5084 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5085 if (obj0) {
5086 {
5087 arg1 = wxString_in_helper(obj0);
5088 if (arg1 == NULL) SWIG_fail;
5089 temp1 = true;
5090 }
5091 }
5092 if (obj1) {
5093 ecode2 = SWIG_AsVal_int(obj1, &val2);
5094 if (!SWIG_IsOK(ecode2)) {
5095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5096 }
5097 arg2 = static_cast< int >(val2);
5098 }
5099 if (obj2) {
5100 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5101 if (!SWIG_IsOK(ecode3)) {
5102 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5103 }
5104 arg3 = static_cast< size_t >(val3);
5105 }
5106 if (obj3) {
5107 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5108 if (!SWIG_IsOK(ecode4)) {
5109 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5110 }
5111 arg4 = static_cast< bool >(val4);
5112 }
5113 if (obj4) {
5114 ecode5 = SWIG_AsVal_int(obj4, &val5);
5115 if (!SWIG_IsOK(ecode5)) {
5116 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5117 }
5118 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5119 }
5120 {
5121 PyThreadState* __tstate = wxPyBeginAllowThreads();
5122 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5123 wxPyEndAllowThreads(__tstate);
5124 if (PyErr_Occurred()) SWIG_fail;
5125 }
5126 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5127 {
5128 if (temp1)
5129 delete arg1;
5130 }
5131 return resultobj;
5132 fail:
5133 {
5134 if (temp1)
5135 delete arg1;
5136 }
5137 return NULL;
5138 }
5139
5140
5141 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5142 PyObject *resultobj = 0;
5143 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5144 void *argp1 = 0 ;
5145 int res1 = 0 ;
5146 PyObject *swig_obj[1] ;
5147
5148 if (!args) SWIG_fail;
5149 swig_obj[0] = args;
5150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5151 if (!SWIG_IsOK(res1)) {
5152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5153 }
5154 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5155 {
5156 PyThreadState* __tstate = wxPyBeginAllowThreads();
5157 delete arg1;
5158
5159 wxPyEndAllowThreads(__tstate);
5160 if (PyErr_Occurred()) SWIG_fail;
5161 }
5162 resultobj = SWIG_Py_Void();
5163 return resultobj;
5164 fail:
5165 return NULL;
5166 }
5167
5168
5169 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5170 PyObject *resultobj = 0;
5171 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5172 bool result;
5173 void *argp1 = 0 ;
5174 int res1 = 0 ;
5175 PyObject *swig_obj[1] ;
5176
5177 if (!args) SWIG_fail;
5178 swig_obj[0] = args;
5179 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5180 if (!SWIG_IsOK(res1)) {
5181 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5182 }
5183 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5184 {
5185 PyThreadState* __tstate = wxPyBeginAllowThreads();
5186 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5187 wxPyEndAllowThreads(__tstate);
5188 if (PyErr_Occurred()) SWIG_fail;
5189 }
5190 {
5191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5192 }
5193 return resultobj;
5194 fail:
5195 return NULL;
5196 }
5197
5198
5199 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5200 PyObject *resultobj = 0;
5201 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5202 wxTreeListColumnAlign result;
5203 void *argp1 = 0 ;
5204 int res1 = 0 ;
5205 PyObject *swig_obj[1] ;
5206
5207 if (!args) SWIG_fail;
5208 swig_obj[0] = args;
5209 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5210 if (!SWIG_IsOK(res1)) {
5211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5212 }
5213 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5214 {
5215 PyThreadState* __tstate = wxPyBeginAllowThreads();
5216 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5217 wxPyEndAllowThreads(__tstate);
5218 if (PyErr_Occurred()) SWIG_fail;
5219 }
5220 resultobj = SWIG_From_int(static_cast< int >(result));
5221 return resultobj;
5222 fail:
5223 return NULL;
5224 }
5225
5226
5227 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5228 PyObject *resultobj = 0;
5229 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5230 wxString result;
5231 void *argp1 = 0 ;
5232 int res1 = 0 ;
5233 PyObject *swig_obj[1] ;
5234
5235 if (!args) SWIG_fail;
5236 swig_obj[0] = args;
5237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5238 if (!SWIG_IsOK(res1)) {
5239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5240 }
5241 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5245 wxPyEndAllowThreads(__tstate);
5246 if (PyErr_Occurred()) SWIG_fail;
5247 }
5248 {
5249 #if wxUSE_UNICODE
5250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5251 #else
5252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5253 #endif
5254 }
5255 return resultobj;
5256 fail:
5257 return NULL;
5258 }
5259
5260
5261 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5262 PyObject *resultobj = 0;
5263 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5264 int result;
5265 void *argp1 = 0 ;
5266 int res1 = 0 ;
5267 PyObject *swig_obj[1] ;
5268
5269 if (!args) SWIG_fail;
5270 swig_obj[0] = args;
5271 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5272 if (!SWIG_IsOK(res1)) {
5273 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5274 }
5275 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5276 {
5277 PyThreadState* __tstate = wxPyBeginAllowThreads();
5278 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 resultobj = SWIG_From_int(static_cast< int >(result));
5283 return resultobj;
5284 fail:
5285 return NULL;
5286 }
5287
5288
5289 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5290 PyObject *resultobj = 0;
5291 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5292 int result;
5293 void *argp1 = 0 ;
5294 int res1 = 0 ;
5295 PyObject *swig_obj[1] ;
5296
5297 if (!args) SWIG_fail;
5298 swig_obj[0] = args;
5299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5300 if (!SWIG_IsOK(res1)) {
5301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5302 }
5303 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5307 wxPyEndAllowThreads(__tstate);
5308 if (PyErr_Occurred()) SWIG_fail;
5309 }
5310 resultobj = SWIG_From_int(static_cast< int >(result));
5311 return resultobj;
5312 fail:
5313 return NULL;
5314 }
5315
5316
5317 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5318 PyObject *resultobj = 0;
5319 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5320 size_t result;
5321 void *argp1 = 0 ;
5322 int res1 = 0 ;
5323 PyObject *swig_obj[1] ;
5324
5325 if (!args) SWIG_fail;
5326 swig_obj[0] = args;
5327 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5328 if (!SWIG_IsOK(res1)) {
5329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5330 }
5331 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5332 {
5333 PyThreadState* __tstate = wxPyBeginAllowThreads();
5334 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5339 return resultobj;
5340 fail:
5341 return NULL;
5342 }
5343
5344
5345 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj = 0;
5347 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5348 bool arg2 ;
5349 void *argp1 = 0 ;
5350 int res1 = 0 ;
5351 bool val2 ;
5352 int ecode2 = 0 ;
5353 PyObject * obj0 = 0 ;
5354 PyObject * obj1 = 0 ;
5355 char * kwnames[] = {
5356 (char *) "self",(char *) "shown", NULL
5357 };
5358
5359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5361 if (!SWIG_IsOK(res1)) {
5362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5363 }
5364 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5365 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5366 if (!SWIG_IsOK(ecode2)) {
5367 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5368 }
5369 arg2 = static_cast< bool >(val2);
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 (arg1)->SetShown(arg2);
5373 wxPyEndAllowThreads(__tstate);
5374 if (PyErr_Occurred()) SWIG_fail;
5375 }
5376 resultobj = SWIG_Py_Void();
5377 return resultobj;
5378 fail:
5379 return NULL;
5380 }
5381
5382
5383 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5384 PyObject *resultobj = 0;
5385 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5386 wxTreeListColumnAlign arg2 ;
5387 void *argp1 = 0 ;
5388 int res1 = 0 ;
5389 int val2 ;
5390 int ecode2 = 0 ;
5391 PyObject * obj0 = 0 ;
5392 PyObject * obj1 = 0 ;
5393 char * kwnames[] = {
5394 (char *) "self",(char *) "alignment", NULL
5395 };
5396
5397 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5398 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5399 if (!SWIG_IsOK(res1)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5401 }
5402 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5403 ecode2 = SWIG_AsVal_int(obj1, &val2);
5404 if (!SWIG_IsOK(ecode2)) {
5405 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5406 }
5407 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5408 {
5409 PyThreadState* __tstate = wxPyBeginAllowThreads();
5410 (arg1)->SetAlignment(arg2);
5411 wxPyEndAllowThreads(__tstate);
5412 if (PyErr_Occurred()) SWIG_fail;
5413 }
5414 resultobj = SWIG_Py_Void();
5415 return resultobj;
5416 fail:
5417 return NULL;
5418 }
5419
5420
5421 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5422 PyObject *resultobj = 0;
5423 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5424 wxString *arg2 = 0 ;
5425 void *argp1 = 0 ;
5426 int res1 = 0 ;
5427 bool temp2 = false ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 char * kwnames[] = {
5431 (char *) "self",(char *) "text", NULL
5432 };
5433
5434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5436 if (!SWIG_IsOK(res1)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5438 }
5439 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5440 {
5441 arg2 = wxString_in_helper(obj1);
5442 if (arg2 == NULL) SWIG_fail;
5443 temp2 = true;
5444 }
5445 {
5446 PyThreadState* __tstate = wxPyBeginAllowThreads();
5447 (arg1)->SetText((wxString const &)*arg2);
5448 wxPyEndAllowThreads(__tstate);
5449 if (PyErr_Occurred()) SWIG_fail;
5450 }
5451 resultobj = SWIG_Py_Void();
5452 {
5453 if (temp2)
5454 delete arg2;
5455 }
5456 return resultobj;
5457 fail:
5458 {
5459 if (temp2)
5460 delete arg2;
5461 }
5462 return NULL;
5463 }
5464
5465
5466 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj = 0;
5468 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5469 int arg2 ;
5470 void *argp1 = 0 ;
5471 int res1 = 0 ;
5472 int val2 ;
5473 int ecode2 = 0 ;
5474 PyObject * obj0 = 0 ;
5475 PyObject * obj1 = 0 ;
5476 char * kwnames[] = {
5477 (char *) "self",(char *) "image", NULL
5478 };
5479
5480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5482 if (!SWIG_IsOK(res1)) {
5483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5484 }
5485 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5486 ecode2 = SWIG_AsVal_int(obj1, &val2);
5487 if (!SWIG_IsOK(ecode2)) {
5488 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5489 }
5490 arg2 = static_cast< int >(val2);
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 (arg1)->SetImage(arg2);
5494 wxPyEndAllowThreads(__tstate);
5495 if (PyErr_Occurred()) SWIG_fail;
5496 }
5497 resultobj = SWIG_Py_Void();
5498 return resultobj;
5499 fail:
5500 return NULL;
5501 }
5502
5503
5504 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5505 PyObject *resultobj = 0;
5506 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5507 int arg2 ;
5508 void *argp1 = 0 ;
5509 int res1 = 0 ;
5510 int val2 ;
5511 int ecode2 = 0 ;
5512 PyObject * obj0 = 0 ;
5513 PyObject * obj1 = 0 ;
5514 char * kwnames[] = {
5515 (char *) "self",(char *) "image", NULL
5516 };
5517
5518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5520 if (!SWIG_IsOK(res1)) {
5521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5522 }
5523 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5524 ecode2 = SWIG_AsVal_int(obj1, &val2);
5525 if (!SWIG_IsOK(ecode2)) {
5526 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5527 }
5528 arg2 = static_cast< int >(val2);
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 (arg1)->SetSelectedImage(arg2);
5532 wxPyEndAllowThreads(__tstate);
5533 if (PyErr_Occurred()) SWIG_fail;
5534 }
5535 resultobj = SWIG_Py_Void();
5536 return resultobj;
5537 fail:
5538 return NULL;
5539 }
5540
5541
5542 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5543 PyObject *resultobj = 0;
5544 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5545 size_t arg2 ;
5546 void *argp1 = 0 ;
5547 int res1 = 0 ;
5548 size_t val2 ;
5549 int ecode2 = 0 ;
5550 PyObject * obj0 = 0 ;
5551 PyObject * obj1 = 0 ;
5552 char * kwnames[] = {
5553 (char *) "self",(char *) "with", NULL
5554 };
5555
5556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5558 if (!SWIG_IsOK(res1)) {
5559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5560 }
5561 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5562 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5563 if (!SWIG_IsOK(ecode2)) {
5564 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5565 }
5566 arg2 = static_cast< size_t >(val2);
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetWidth(arg2);
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 resultobj = SWIG_Py_Void();
5574 return resultobj;
5575 fail:
5576 return NULL;
5577 }
5578
5579
5580 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5581 PyObject *obj;
5582 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5583 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5584 return SWIG_Py_Void();
5585 }
5586
5587 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5588 return SWIG_Python_InitShadowInstance(args);
5589 }
5590
5591 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj = 0;
5593 wxWindow *arg1 = (wxWindow *) 0 ;
5594 int arg2 = (int) -1 ;
5595 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5596 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5597 wxSize const &arg4_defvalue = wxDefaultSize ;
5598 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5599 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5600 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5601 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5602 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5603 wxString *arg7 = (wxString *) &arg7_defvalue ;
5604 wxPyTreeListCtrl *result = 0 ;
5605 void *argp1 = 0 ;
5606 int res1 = 0 ;
5607 int val2 ;
5608 int ecode2 = 0 ;
5609 wxPoint temp3 ;
5610 wxSize temp4 ;
5611 long val5 ;
5612 int ecode5 = 0 ;
5613 void *argp6 = 0 ;
5614 int res6 = 0 ;
5615 bool temp7 = false ;
5616 PyObject * obj0 = 0 ;
5617 PyObject * obj1 = 0 ;
5618 PyObject * obj2 = 0 ;
5619 PyObject * obj3 = 0 ;
5620 PyObject * obj4 = 0 ;
5621 PyObject * obj5 = 0 ;
5622 PyObject * obj6 = 0 ;
5623 char * kwnames[] = {
5624 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5625 };
5626
5627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5629 if (!SWIG_IsOK(res1)) {
5630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5631 }
5632 arg1 = reinterpret_cast< wxWindow * >(argp1);
5633 if (obj1) {
5634 ecode2 = SWIG_AsVal_int(obj1, &val2);
5635 if (!SWIG_IsOK(ecode2)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5637 }
5638 arg2 = static_cast< int >(val2);
5639 }
5640 if (obj2) {
5641 {
5642 arg3 = &temp3;
5643 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5644 }
5645 }
5646 if (obj3) {
5647 {
5648 arg4 = &temp4;
5649 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5650 }
5651 }
5652 if (obj4) {
5653 ecode5 = SWIG_AsVal_long(obj4, &val5);
5654 if (!SWIG_IsOK(ecode5)) {
5655 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5656 }
5657 arg5 = static_cast< long >(val5);
5658 }
5659 if (obj5) {
5660 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5661 if (!SWIG_IsOK(res6)) {
5662 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5663 }
5664 if (!argp6) {
5665 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5666 }
5667 arg6 = reinterpret_cast< wxValidator * >(argp6);
5668 }
5669 if (obj6) {
5670 {
5671 arg7 = wxString_in_helper(obj6);
5672 if (arg7 == NULL) SWIG_fail;
5673 temp7 = true;
5674 }
5675 }
5676 {
5677 if (!wxPyCheckForApp()) SWIG_fail;
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5684 {
5685 if (temp7)
5686 delete arg7;
5687 }
5688 return resultobj;
5689 fail:
5690 {
5691 if (temp7)
5692 delete arg7;
5693 }
5694 return NULL;
5695 }
5696
5697
5698 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5699 PyObject *resultobj = 0;
5700 wxPyTreeListCtrl *result = 0 ;
5701
5702 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5703 {
5704 if (!wxPyCheckForApp()) SWIG_fail;
5705 PyThreadState* __tstate = wxPyBeginAllowThreads();
5706 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5711 return resultobj;
5712 fail:
5713 return NULL;
5714 }
5715
5716
5717 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5718 PyObject *resultobj = 0;
5719 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5720 wxWindow *arg2 = (wxWindow *) 0 ;
5721 int arg3 = (int) -1 ;
5722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5724 wxSize const &arg5_defvalue = wxDefaultSize ;
5725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5726 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5727 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5728 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5729 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5730 wxString *arg8 = (wxString *) &arg8_defvalue ;
5731 bool result;
5732 void *argp1 = 0 ;
5733 int res1 = 0 ;
5734 void *argp2 = 0 ;
5735 int res2 = 0 ;
5736 int val3 ;
5737 int ecode3 = 0 ;
5738 wxPoint temp4 ;
5739 wxSize temp5 ;
5740 long val6 ;
5741 int ecode6 = 0 ;
5742 void *argp7 = 0 ;
5743 int res7 = 0 ;
5744 bool temp8 = false ;
5745 PyObject * obj0 = 0 ;
5746 PyObject * obj1 = 0 ;
5747 PyObject * obj2 = 0 ;
5748 PyObject * obj3 = 0 ;
5749 PyObject * obj4 = 0 ;
5750 PyObject * obj5 = 0 ;
5751 PyObject * obj6 = 0 ;
5752 PyObject * obj7 = 0 ;
5753 char * kwnames[] = {
5754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5755 };
5756
5757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5759 if (!SWIG_IsOK(res1)) {
5760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5761 }
5762 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5763 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5764 if (!SWIG_IsOK(res2)) {
5765 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5766 }
5767 arg2 = reinterpret_cast< wxWindow * >(argp2);
5768 if (obj2) {
5769 ecode3 = SWIG_AsVal_int(obj2, &val3);
5770 if (!SWIG_IsOK(ecode3)) {
5771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5772 }
5773 arg3 = static_cast< int >(val3);
5774 }
5775 if (obj3) {
5776 {
5777 arg4 = &temp4;
5778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5779 }
5780 }
5781 if (obj4) {
5782 {
5783 arg5 = &temp5;
5784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5785 }
5786 }
5787 if (obj5) {
5788 ecode6 = SWIG_AsVal_long(obj5, &val6);
5789 if (!SWIG_IsOK(ecode6)) {
5790 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5791 }
5792 arg6 = static_cast< long >(val6);
5793 }
5794 if (obj6) {
5795 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5796 if (!SWIG_IsOK(res7)) {
5797 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5798 }
5799 if (!argp7) {
5800 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5801 }
5802 arg7 = reinterpret_cast< wxValidator * >(argp7);
5803 }
5804 if (obj7) {
5805 {
5806 arg8 = wxString_in_helper(obj7);
5807 if (arg8 == NULL) SWIG_fail;
5808 temp8 = true;
5809 }
5810 }
5811 {
5812 PyThreadState* __tstate = wxPyBeginAllowThreads();
5813 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 {
5818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5819 }
5820 {
5821 if (temp8)
5822 delete arg8;
5823 }
5824 return resultobj;
5825 fail:
5826 {
5827 if (temp8)
5828 delete arg8;
5829 }
5830 return NULL;
5831 }
5832
5833
5834 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj = 0;
5836 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5837 PyObject *arg2 = (PyObject *) 0 ;
5838 PyObject *arg3 = (PyObject *) 0 ;
5839 void *argp1 = 0 ;
5840 int res1 = 0 ;
5841 PyObject * obj0 = 0 ;
5842 PyObject * obj1 = 0 ;
5843 PyObject * obj2 = 0 ;
5844 char * kwnames[] = {
5845 (char *) "self",(char *) "self",(char *) "_class", NULL
5846 };
5847
5848 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5849 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5850 if (!SWIG_IsOK(res1)) {
5851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5852 }
5853 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5854 arg2 = obj1;
5855 arg3 = obj2;
5856 {
5857 PyThreadState* __tstate = wxPyBeginAllowThreads();
5858 (arg1)->_setCallbackInfo(arg2,arg3);
5859 wxPyEndAllowThreads(__tstate);
5860 if (PyErr_Occurred()) SWIG_fail;
5861 }
5862 resultobj = SWIG_Py_Void();
5863 return resultobj;
5864 fail:
5865 return NULL;
5866 }
5867
5868
5869 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5870 PyObject *resultobj = 0;
5871 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5872 size_t result;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 PyObject *swig_obj[1] ;
5876
5877 if (!args) SWIG_fail;
5878 swig_obj[0] = args;
5879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5880 if (!SWIG_IsOK(res1)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5882 }
5883 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5887 wxPyEndAllowThreads(__tstate);
5888 if (PyErr_Occurred()) SWIG_fail;
5889 }
5890 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5891 return resultobj;
5892 fail:
5893 return NULL;
5894 }
5895
5896
5897 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5898 PyObject *resultobj = 0;
5899 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5900 unsigned int result;
5901 void *argp1 = 0 ;
5902 int res1 = 0 ;
5903 PyObject *swig_obj[1] ;
5904
5905 if (!args) SWIG_fail;
5906 swig_obj[0] = args;
5907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5908 if (!SWIG_IsOK(res1)) {
5909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5910 }
5911 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5915 wxPyEndAllowThreads(__tstate);
5916 if (PyErr_Occurred()) SWIG_fail;
5917 }
5918 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5919 return resultobj;
5920 fail:
5921 return NULL;
5922 }
5923
5924
5925 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5926 PyObject *resultobj = 0;
5927 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5928 unsigned int arg2 ;
5929 void *argp1 = 0 ;
5930 int res1 = 0 ;
5931 unsigned int val2 ;
5932 int ecode2 = 0 ;
5933 PyObject * obj0 = 0 ;
5934 PyObject * obj1 = 0 ;
5935 char * kwnames[] = {
5936 (char *) "self",(char *) "indent", NULL
5937 };
5938
5939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5941 if (!SWIG_IsOK(res1)) {
5942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5943 }
5944 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5945 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5946 if (!SWIG_IsOK(ecode2)) {
5947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5948 }
5949 arg2 = static_cast< unsigned int >(val2);
5950 {
5951 PyThreadState* __tstate = wxPyBeginAllowThreads();
5952 (arg1)->SetIndent(arg2);
5953 wxPyEndAllowThreads(__tstate);
5954 if (PyErr_Occurred()) SWIG_fail;
5955 }
5956 resultobj = SWIG_Py_Void();
5957 return resultobj;
5958 fail:
5959 return NULL;
5960 }
5961
5962
5963 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5964 PyObject *resultobj = 0;
5965 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5966 unsigned int result;
5967 void *argp1 = 0 ;
5968 int res1 = 0 ;
5969 PyObject *swig_obj[1] ;
5970
5971 if (!args) SWIG_fail;
5972 swig_obj[0] = args;
5973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5974 if (!SWIG_IsOK(res1)) {
5975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5976 }
5977 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5978 {
5979 PyThreadState* __tstate = wxPyBeginAllowThreads();
5980 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5981 wxPyEndAllowThreads(__tstate);
5982 if (PyErr_Occurred()) SWIG_fail;
5983 }
5984 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5985 return resultobj;
5986 fail:
5987 return NULL;
5988 }
5989
5990
5991 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5992 PyObject *resultobj = 0;
5993 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5994 unsigned int arg2 ;
5995 void *argp1 = 0 ;
5996 int res1 = 0 ;
5997 unsigned int val2 ;
5998 int ecode2 = 0 ;
5999 PyObject * obj0 = 0 ;
6000 PyObject * obj1 = 0 ;
6001 char * kwnames[] = {
6002 (char *) "self",(char *) "spacing", NULL
6003 };
6004
6005 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6006 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6007 if (!SWIG_IsOK(res1)) {
6008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6009 }
6010 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6011 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6012 if (!SWIG_IsOK(ecode2)) {
6013 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6014 }
6015 arg2 = static_cast< unsigned int >(val2);
6016 {
6017 PyThreadState* __tstate = wxPyBeginAllowThreads();
6018 (arg1)->SetLineSpacing(arg2);
6019 wxPyEndAllowThreads(__tstate);
6020 if (PyErr_Occurred()) SWIG_fail;
6021 }
6022 resultobj = SWIG_Py_Void();
6023 return resultobj;
6024 fail:
6025 return NULL;
6026 }
6027
6028
6029 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6030 PyObject *resultobj = 0;
6031 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6032 wxImageList *result = 0 ;
6033 void *argp1 = 0 ;
6034 int res1 = 0 ;
6035 PyObject *swig_obj[1] ;
6036
6037 if (!args) SWIG_fail;
6038 swig_obj[0] = args;
6039 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6040 if (!SWIG_IsOK(res1)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6042 }
6043 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6047 wxPyEndAllowThreads(__tstate);
6048 if (PyErr_Occurred()) SWIG_fail;
6049 }
6050 {
6051 resultobj = wxPyMake_wxObject(result, (bool)0);
6052 }
6053 return resultobj;
6054 fail:
6055 return NULL;
6056 }
6057
6058
6059 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6060 PyObject *resultobj = 0;
6061 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6062 wxImageList *result = 0 ;
6063 void *argp1 = 0 ;
6064 int res1 = 0 ;
6065 PyObject *swig_obj[1] ;
6066
6067 if (!args) SWIG_fail;
6068 swig_obj[0] = args;
6069 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6070 if (!SWIG_IsOK(res1)) {
6071 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6072 }
6073 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 {
6081 resultobj = wxPyMake_wxObject(result, (bool)0);
6082 }
6083 return resultobj;
6084 fail:
6085 return NULL;
6086 }
6087
6088
6089 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6090 PyObject *resultobj = 0;
6091 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6092 wxImageList *result = 0 ;
6093 void *argp1 = 0 ;
6094 int res1 = 0 ;
6095 PyObject *swig_obj[1] ;
6096
6097 if (!args) SWIG_fail;
6098 swig_obj[0] = args;
6099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6100 if (!SWIG_IsOK(res1)) {
6101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6102 }
6103 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6107 wxPyEndAllowThreads(__tstate);
6108 if (PyErr_Occurred()) SWIG_fail;
6109 }
6110 {
6111 resultobj = wxPyMake_wxObject(result, (bool)0);
6112 }
6113 return resultobj;
6114 fail:
6115 return NULL;
6116 }
6117
6118
6119 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6120 PyObject *resultobj = 0;
6121 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6122 wxImageList *arg2 = (wxImageList *) 0 ;
6123 void *argp1 = 0 ;
6124 int res1 = 0 ;
6125 void *argp2 = 0 ;
6126 int res2 = 0 ;
6127 PyObject * obj0 = 0 ;
6128 PyObject * obj1 = 0 ;
6129 char * kwnames[] = {
6130 (char *) "self",(char *) "imageList", NULL
6131 };
6132
6133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6135 if (!SWIG_IsOK(res1)) {
6136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6137 }
6138 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6139 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6140 if (!SWIG_IsOK(res2)) {
6141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6142 }
6143 arg2 = reinterpret_cast< wxImageList * >(argp2);
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 (arg1)->SetImageList(arg2);
6147 wxPyEndAllowThreads(__tstate);
6148 if (PyErr_Occurred()) SWIG_fail;
6149 }
6150 resultobj = SWIG_Py_Void();
6151 return resultobj;
6152 fail:
6153 return NULL;
6154 }
6155
6156
6157 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6158 PyObject *resultobj = 0;
6159 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6160 wxImageList *arg2 = (wxImageList *) 0 ;
6161 void *argp1 = 0 ;
6162 int res1 = 0 ;
6163 void *argp2 = 0 ;
6164 int res2 = 0 ;
6165 PyObject * obj0 = 0 ;
6166 PyObject * obj1 = 0 ;
6167 char * kwnames[] = {
6168 (char *) "self",(char *) "imageList", NULL
6169 };
6170
6171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6173 if (!SWIG_IsOK(res1)) {
6174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6175 }
6176 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6177 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6178 if (!SWIG_IsOK(res2)) {
6179 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6180 }
6181 arg2 = reinterpret_cast< wxImageList * >(argp2);
6182 {
6183 PyThreadState* __tstate = wxPyBeginAllowThreads();
6184 (arg1)->SetStateImageList(arg2);
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 resultobj = SWIG_Py_Void();
6189 return resultobj;
6190 fail:
6191 return NULL;
6192 }
6193
6194
6195 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6196 PyObject *resultobj = 0;
6197 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6198 wxImageList *arg2 = (wxImageList *) 0 ;
6199 void *argp1 = 0 ;
6200 int res1 = 0 ;
6201 void *argp2 = 0 ;
6202 int res2 = 0 ;
6203 PyObject * obj0 = 0 ;
6204 PyObject * obj1 = 0 ;
6205 char * kwnames[] = {
6206 (char *) "self",(char *) "imageList", NULL
6207 };
6208
6209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6213 }
6214 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6215 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6216 if (!SWIG_IsOK(res2)) {
6217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6218 }
6219 arg2 = reinterpret_cast< wxImageList * >(argp2);
6220 {
6221 PyThreadState* __tstate = wxPyBeginAllowThreads();
6222 (arg1)->SetButtonsImageList(arg2);
6223 wxPyEndAllowThreads(__tstate);
6224 if (PyErr_Occurred()) SWIG_fail;
6225 }
6226 resultobj = SWIG_Py_Void();
6227 return resultobj;
6228 fail:
6229 return NULL;
6230 }
6231
6232
6233 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6234 PyObject *resultobj = 0;
6235 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6236 wxImageList *arg2 = (wxImageList *) 0 ;
6237 void *argp1 = 0 ;
6238 int res1 = 0 ;
6239 int res2 = 0 ;
6240 PyObject * obj0 = 0 ;
6241 PyObject * obj1 = 0 ;
6242 char * kwnames[] = {
6243 (char *) "self",(char *) "imageList", NULL
6244 };
6245
6246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6248 if (!SWIG_IsOK(res1)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6250 }
6251 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6252 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6253 if (!SWIG_IsOK(res2)) {
6254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6255 }
6256 {
6257 PyThreadState* __tstate = wxPyBeginAllowThreads();
6258 (arg1)->AssignImageList(arg2);
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 resultobj = SWIG_Py_Void();
6263 return resultobj;
6264 fail:
6265 return NULL;
6266 }
6267
6268
6269 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6270 PyObject *resultobj = 0;
6271 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6272 wxImageList *arg2 = (wxImageList *) 0 ;
6273 void *argp1 = 0 ;
6274 int res1 = 0 ;
6275 int res2 = 0 ;
6276 PyObject * obj0 = 0 ;
6277 PyObject * obj1 = 0 ;
6278 char * kwnames[] = {
6279 (char *) "self",(char *) "imageList", NULL
6280 };
6281
6282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6284 if (!SWIG_IsOK(res1)) {
6285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6286 }
6287 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6288 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6289 if (!SWIG_IsOK(res2)) {
6290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6291 }
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 (arg1)->AssignStateImageList(arg2);
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 resultobj = SWIG_Py_Void();
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj = 0;
6307 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6308 wxImageList *arg2 = (wxImageList *) 0 ;
6309 void *argp1 = 0 ;
6310 int res1 = 0 ;
6311 int res2 = 0 ;
6312 PyObject * obj0 = 0 ;
6313 PyObject * obj1 = 0 ;
6314 char * kwnames[] = {
6315 (char *) "self",(char *) "imageList", NULL
6316 };
6317
6318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6320 if (!SWIG_IsOK(res1)) {
6321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6322 }
6323 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6324 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6325 if (!SWIG_IsOK(res2)) {
6326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6327 }
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 (arg1)->AssignButtonsImageList(arg2);
6331 wxPyEndAllowThreads(__tstate);
6332 if (PyErr_Occurred()) SWIG_fail;
6333 }
6334 resultobj = SWIG_Py_Void();
6335 return resultobj;
6336 fail:
6337 return NULL;
6338 }
6339
6340
6341 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj = 0;
6343 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6344 wxString *arg2 = 0 ;
6345 void *argp1 = 0 ;
6346 int res1 = 0 ;
6347 bool temp2 = false ;
6348 PyObject * obj0 = 0 ;
6349 PyObject * obj1 = 0 ;
6350 char * kwnames[] = {
6351 (char *) "self",(char *) "text", NULL
6352 };
6353
6354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6356 if (!SWIG_IsOK(res1)) {
6357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6358 }
6359 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6360 {
6361 arg2 = wxString_in_helper(obj1);
6362 if (arg2 == NULL) SWIG_fail;
6363 temp2 = true;
6364 }
6365 {
6366 PyThreadState* __tstate = wxPyBeginAllowThreads();
6367 (arg1)->AddColumn((wxString const &)*arg2);
6368 wxPyEndAllowThreads(__tstate);
6369 if (PyErr_Occurred()) SWIG_fail;
6370 }
6371 resultobj = SWIG_Py_Void();
6372 {
6373 if (temp2)
6374 delete arg2;
6375 }
6376 return resultobj;
6377 fail:
6378 {
6379 if (temp2)
6380 delete arg2;
6381 }
6382 return NULL;
6383 }
6384
6385
6386 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6387 PyObject *resultobj = 0;
6388 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6389 wxTreeListColumnInfo *arg2 = 0 ;
6390 void *argp1 = 0 ;
6391 int res1 = 0 ;
6392 void *argp2 = 0 ;
6393 int res2 = 0 ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 char * kwnames[] = {
6397 (char *) "self",(char *) "col", NULL
6398 };
6399
6400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6402 if (!SWIG_IsOK(res1)) {
6403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6404 }
6405 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6406 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6407 if (!SWIG_IsOK(res2)) {
6408 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6409 }
6410 if (!argp2) {
6411 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6412 }
6413 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6414 {
6415 PyThreadState* __tstate = wxPyBeginAllowThreads();
6416 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6417 wxPyEndAllowThreads(__tstate);
6418 if (PyErr_Occurred()) SWIG_fail;
6419 }
6420 resultobj = SWIG_Py_Void();
6421 return resultobj;
6422 fail:
6423 return NULL;
6424 }
6425
6426
6427 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6428 PyObject *resultobj = 0;
6429 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6430 size_t arg2 ;
6431 wxString *arg3 = 0 ;
6432 void *argp1 = 0 ;
6433 int res1 = 0 ;
6434 size_t val2 ;
6435 int ecode2 = 0 ;
6436 bool temp3 = false ;
6437 PyObject * obj0 = 0 ;
6438 PyObject * obj1 = 0 ;
6439 PyObject * obj2 = 0 ;
6440 char * kwnames[] = {
6441 (char *) "self",(char *) "before",(char *) "text", NULL
6442 };
6443
6444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6446 if (!SWIG_IsOK(res1)) {
6447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6448 }
6449 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6450 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6451 if (!SWIG_IsOK(ecode2)) {
6452 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6453 }
6454 arg2 = static_cast< size_t >(val2);
6455 {
6456 arg3 = wxString_in_helper(obj2);
6457 if (arg3 == NULL) SWIG_fail;
6458 temp3 = true;
6459 }
6460 {
6461 PyThreadState* __tstate = wxPyBeginAllowThreads();
6462 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = SWIG_Py_Void();
6467 {
6468 if (temp3)
6469 delete arg3;
6470 }
6471 return resultobj;
6472 fail:
6473 {
6474 if (temp3)
6475 delete arg3;
6476 }
6477 return NULL;
6478 }
6479
6480
6481 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6482 PyObject *resultobj = 0;
6483 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6484 size_t arg2 ;
6485 wxTreeListColumnInfo *arg3 = 0 ;
6486 void *argp1 = 0 ;
6487 int res1 = 0 ;
6488 size_t val2 ;
6489 int ecode2 = 0 ;
6490 void *argp3 = 0 ;
6491 int res3 = 0 ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 char * kwnames[] = {
6496 (char *) "self",(char *) "before",(char *) "col", NULL
6497 };
6498
6499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6501 if (!SWIG_IsOK(res1)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6503 }
6504 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6505 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6506 if (!SWIG_IsOK(ecode2)) {
6507 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6508 }
6509 arg2 = static_cast< size_t >(val2);
6510 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6511 if (!SWIG_IsOK(res3)) {
6512 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6513 }
6514 if (!argp3) {
6515 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6516 }
6517 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6518 {
6519 PyThreadState* __tstate = wxPyBeginAllowThreads();
6520 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = SWIG_Py_Void();
6525 return resultobj;
6526 fail:
6527 return NULL;
6528 }
6529
6530
6531 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj = 0;
6533 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6534 size_t arg2 ;
6535 void *argp1 = 0 ;
6536 int res1 = 0 ;
6537 size_t val2 ;
6538 int ecode2 = 0 ;
6539 PyObject * obj0 = 0 ;
6540 PyObject * obj1 = 0 ;
6541 char * kwnames[] = {
6542 (char *) "self",(char *) "column", NULL
6543 };
6544
6545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6547 if (!SWIG_IsOK(res1)) {
6548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6549 }
6550 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6551 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6552 if (!SWIG_IsOK(ecode2)) {
6553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6554 }
6555 arg2 = static_cast< size_t >(val2);
6556 {
6557 PyThreadState* __tstate = wxPyBeginAllowThreads();
6558 (arg1)->RemoveColumn(arg2);
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 resultobj = SWIG_Py_Void();
6563 return resultobj;
6564 fail:
6565 return NULL;
6566 }
6567
6568
6569 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6570 PyObject *resultobj = 0;
6571 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6572 size_t result;
6573 void *argp1 = 0 ;
6574 int res1 = 0 ;
6575 PyObject *swig_obj[1] ;
6576
6577 if (!args) SWIG_fail;
6578 swig_obj[0] = args;
6579 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6580 if (!SWIG_IsOK(res1)) {
6581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6582 }
6583 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6587 wxPyEndAllowThreads(__tstate);
6588 if (PyErr_Occurred()) SWIG_fail;
6589 }
6590 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6591 return resultobj;
6592 fail:
6593 return NULL;
6594 }
6595
6596
6597 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6598 PyObject *resultobj = 0;
6599 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6600 size_t arg2 ;
6601 size_t arg3 ;
6602 void *argp1 = 0 ;
6603 int res1 = 0 ;
6604 size_t val2 ;
6605 int ecode2 = 0 ;
6606 size_t val3 ;
6607 int ecode3 = 0 ;
6608 PyObject * obj0 = 0 ;
6609 PyObject * obj1 = 0 ;
6610 PyObject * obj2 = 0 ;
6611 char * kwnames[] = {
6612 (char *) "self",(char *) "column",(char *) "width", NULL
6613 };
6614
6615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6617 if (!SWIG_IsOK(res1)) {
6618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6619 }
6620 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6621 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6622 if (!SWIG_IsOK(ecode2)) {
6623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6624 }
6625 arg2 = static_cast< size_t >(val2);
6626 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6627 if (!SWIG_IsOK(ecode3)) {
6628 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6629 }
6630 arg3 = static_cast< size_t >(val3);
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 (arg1)->SetColumnWidth(arg2,arg3);
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 resultobj = SWIG_Py_Void();
6638 return resultobj;
6639 fail:
6640 return NULL;
6641 }
6642
6643
6644 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6645 PyObject *resultobj = 0;
6646 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6647 size_t arg2 ;
6648 int result;
6649 void *argp1 = 0 ;
6650 int res1 = 0 ;
6651 size_t val2 ;
6652 int ecode2 = 0 ;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 char * kwnames[] = {
6656 (char *) "self",(char *) "column", NULL
6657 };
6658
6659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6661 if (!SWIG_IsOK(res1)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6663 }
6664 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6665 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6666 if (!SWIG_IsOK(ecode2)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6668 }
6669 arg2 = static_cast< size_t >(val2);
6670 {
6671 PyThreadState* __tstate = wxPyBeginAllowThreads();
6672 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6673 wxPyEndAllowThreads(__tstate);
6674 if (PyErr_Occurred()) SWIG_fail;
6675 }
6676 resultobj = SWIG_From_int(static_cast< int >(result));
6677 return resultobj;
6678 fail:
6679 return NULL;
6680 }
6681
6682
6683 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6684 PyObject *resultobj = 0;
6685 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6686 size_t arg2 ;
6687 void *argp1 = 0 ;
6688 int res1 = 0 ;
6689 size_t val2 ;
6690 int ecode2 = 0 ;
6691 PyObject * obj0 = 0 ;
6692 PyObject * obj1 = 0 ;
6693 char * kwnames[] = {
6694 (char *) "self",(char *) "column", NULL
6695 };
6696
6697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6699 if (!SWIG_IsOK(res1)) {
6700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6701 }
6702 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6703 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6704 if (!SWIG_IsOK(ecode2)) {
6705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6706 }
6707 arg2 = static_cast< size_t >(val2);
6708 {
6709 PyThreadState* __tstate = wxPyBeginAllowThreads();
6710 (arg1)->SetMainColumn(arg2);
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 resultobj = SWIG_Py_Void();
6715 return resultobj;
6716 fail:
6717 return NULL;
6718 }
6719
6720
6721 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6722 PyObject *resultobj = 0;
6723 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6724 size_t result;
6725 void *argp1 = 0 ;
6726 int res1 = 0 ;
6727 PyObject *swig_obj[1] ;
6728
6729 if (!args) SWIG_fail;
6730 swig_obj[0] = args;
6731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6732 if (!SWIG_IsOK(res1)) {
6733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6734 }
6735 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6743 return resultobj;
6744 fail:
6745 return NULL;
6746 }
6747
6748
6749 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj = 0;
6751 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6752 size_t arg2 ;
6753 wxString *arg3 = 0 ;
6754 void *argp1 = 0 ;
6755 int res1 = 0 ;
6756 size_t val2 ;
6757 int ecode2 = 0 ;
6758 bool temp3 = false ;
6759 PyObject * obj0 = 0 ;
6760 PyObject * obj1 = 0 ;
6761 PyObject * obj2 = 0 ;
6762 char * kwnames[] = {
6763 (char *) "self",(char *) "column",(char *) "text", NULL
6764 };
6765
6766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6768 if (!SWIG_IsOK(res1)) {
6769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6770 }
6771 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6772 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6773 if (!SWIG_IsOK(ecode2)) {
6774 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6775 }
6776 arg2 = static_cast< size_t >(val2);
6777 {
6778 arg3 = wxString_in_helper(obj2);
6779 if (arg3 == NULL) SWIG_fail;
6780 temp3 = true;
6781 }
6782 {
6783 PyThreadState* __tstate = wxPyBeginAllowThreads();
6784 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6785 wxPyEndAllowThreads(__tstate);
6786 if (PyErr_Occurred()) SWIG_fail;
6787 }
6788 resultobj = SWIG_Py_Void();
6789 {
6790 if (temp3)
6791 delete arg3;
6792 }
6793 return resultobj;
6794 fail:
6795 {
6796 if (temp3)
6797 delete arg3;
6798 }
6799 return NULL;
6800 }
6801
6802
6803 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6804 PyObject *resultobj = 0;
6805 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6806 size_t arg2 ;
6807 wxString result;
6808 void *argp1 = 0 ;
6809 int res1 = 0 ;
6810 size_t val2 ;
6811 int ecode2 = 0 ;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj1 = 0 ;
6814 char * kwnames[] = {
6815 (char *) "self",(char *) "column", NULL
6816 };
6817
6818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6820 if (!SWIG_IsOK(res1)) {
6821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6822 }
6823 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6824 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6825 if (!SWIG_IsOK(ecode2)) {
6826 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6827 }
6828 arg2 = static_cast< size_t >(val2);
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 {
6836 #if wxUSE_UNICODE
6837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6838 #else
6839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6840 #endif
6841 }
6842 return resultobj;
6843 fail:
6844 return NULL;
6845 }
6846
6847
6848 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6849 PyObject *resultobj = 0;
6850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6851 size_t arg2 ;
6852 wxTreeListColumnInfo *arg3 = 0 ;
6853 void *argp1 = 0 ;
6854 int res1 = 0 ;
6855 size_t val2 ;
6856 int ecode2 = 0 ;
6857 void *argp3 = 0 ;
6858 int res3 = 0 ;
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
6861 PyObject * obj2 = 0 ;
6862 char * kwnames[] = {
6863 (char *) "self",(char *) "column",(char *) "info", NULL
6864 };
6865
6866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6868 if (!SWIG_IsOK(res1)) {
6869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6870 }
6871 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6872 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6873 if (!SWIG_IsOK(ecode2)) {
6874 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6875 }
6876 arg2 = static_cast< size_t >(val2);
6877 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6878 if (!SWIG_IsOK(res3)) {
6879 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6880 }
6881 if (!argp3) {
6882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6883 }
6884 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6885 {
6886 PyThreadState* __tstate = wxPyBeginAllowThreads();
6887 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6888 wxPyEndAllowThreads(__tstate);
6889 if (PyErr_Occurred()) SWIG_fail;
6890 }
6891 resultobj = SWIG_Py_Void();
6892 return resultobj;
6893 fail:
6894 return NULL;
6895 }
6896
6897
6898 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6899 PyObject *resultobj = 0;
6900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6901 size_t arg2 ;
6902 wxTreeListColumnInfo *result = 0 ;
6903 void *argp1 = 0 ;
6904 int res1 = 0 ;
6905 size_t val2 ;
6906 int ecode2 = 0 ;
6907 PyObject * obj0 = 0 ;
6908 PyObject * obj1 = 0 ;
6909 char * kwnames[] = {
6910 (char *) "self",(char *) "column", NULL
6911 };
6912
6913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6915 if (!SWIG_IsOK(res1)) {
6916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6917 }
6918 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6919 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6920 if (!SWIG_IsOK(ecode2)) {
6921 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6922 }
6923 arg2 = static_cast< size_t >(val2);
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 {
6927 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6928 result = (wxTreeListColumnInfo *) &_result_ref;
6929 }
6930 wxPyEndAllowThreads(__tstate);
6931 if (PyErr_Occurred()) SWIG_fail;
6932 }
6933 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6934 return resultobj;
6935 fail:
6936 return NULL;
6937 }
6938
6939
6940 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6941 PyObject *resultobj = 0;
6942 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6943 size_t arg2 ;
6944 wxTreeListColumnAlign arg3 ;
6945 void *argp1 = 0 ;
6946 int res1 = 0 ;
6947 size_t val2 ;
6948 int ecode2 = 0 ;
6949 int val3 ;
6950 int ecode3 = 0 ;
6951 PyObject * obj0 = 0 ;
6952 PyObject * obj1 = 0 ;
6953 PyObject * obj2 = 0 ;
6954 char * kwnames[] = {
6955 (char *) "self",(char *) "column",(char *) "align", NULL
6956 };
6957
6958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6960 if (!SWIG_IsOK(res1)) {
6961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6962 }
6963 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6964 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6965 if (!SWIG_IsOK(ecode2)) {
6966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6967 }
6968 arg2 = static_cast< size_t >(val2);
6969 ecode3 = SWIG_AsVal_int(obj2, &val3);
6970 if (!SWIG_IsOK(ecode3)) {
6971 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6972 }
6973 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 (arg1)->SetColumnAlignment(arg2,arg3);
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = SWIG_Py_Void();
6981 return resultobj;
6982 fail:
6983 return NULL;
6984 }
6985
6986
6987 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6988 PyObject *resultobj = 0;
6989 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6990 size_t arg2 ;
6991 wxTreeListColumnAlign result;
6992 void *argp1 = 0 ;
6993 int res1 = 0 ;
6994 size_t val2 ;
6995 int ecode2 = 0 ;
6996 PyObject * obj0 = 0 ;
6997 PyObject * obj1 = 0 ;
6998 char * kwnames[] = {
6999 (char *) "self",(char *) "column", NULL
7000 };
7001
7002 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7003 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7004 if (!SWIG_IsOK(res1)) {
7005 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7006 }
7007 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7008 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7009 if (!SWIG_IsOK(ecode2)) {
7010 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7011 }
7012 arg2 = static_cast< size_t >(val2);
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7016 wxPyEndAllowThreads(__tstate);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 resultobj = SWIG_From_int(static_cast< int >(result));
7020 return resultobj;
7021 fail:
7022 return NULL;
7023 }
7024
7025
7026 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7027 PyObject *resultobj = 0;
7028 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7029 size_t arg2 ;
7030 int arg3 ;
7031 void *argp1 = 0 ;
7032 int res1 = 0 ;
7033 size_t val2 ;
7034 int ecode2 = 0 ;
7035 int val3 ;
7036 int ecode3 = 0 ;
7037 PyObject * obj0 = 0 ;
7038 PyObject * obj1 = 0 ;
7039 PyObject * obj2 = 0 ;
7040 char * kwnames[] = {
7041 (char *) "self",(char *) "column",(char *) "image", NULL
7042 };
7043
7044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7046 if (!SWIG_IsOK(res1)) {
7047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7048 }
7049 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7050 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7051 if (!SWIG_IsOK(ecode2)) {
7052 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7053 }
7054 arg2 = static_cast< size_t >(val2);
7055 ecode3 = SWIG_AsVal_int(obj2, &val3);
7056 if (!SWIG_IsOK(ecode3)) {
7057 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7058 }
7059 arg3 = static_cast< int >(val3);
7060 {
7061 PyThreadState* __tstate = wxPyBeginAllowThreads();
7062 (arg1)->SetColumnImage(arg2,arg3);
7063 wxPyEndAllowThreads(__tstate);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 }
7066 resultobj = SWIG_Py_Void();
7067 return resultobj;
7068 fail:
7069 return NULL;
7070 }
7071
7072
7073 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7074 PyObject *resultobj = 0;
7075 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7076 size_t arg2 ;
7077 int result;
7078 void *argp1 = 0 ;
7079 int res1 = 0 ;
7080 size_t val2 ;
7081 int ecode2 = 0 ;
7082 PyObject * obj0 = 0 ;
7083 PyObject * obj1 = 0 ;
7084 char * kwnames[] = {
7085 (char *) "self",(char *) "column", NULL
7086 };
7087
7088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7090 if (!SWIG_IsOK(res1)) {
7091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7092 }
7093 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7094 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7095 if (!SWIG_IsOK(ecode2)) {
7096 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7097 }
7098 arg2 = static_cast< size_t >(val2);
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7102 wxPyEndAllowThreads(__tstate);
7103 if (PyErr_Occurred()) SWIG_fail;
7104 }
7105 resultobj = SWIG_From_int(static_cast< int >(result));
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj = 0;
7114 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7115 size_t arg2 ;
7116 bool arg3 ;
7117 void *argp1 = 0 ;
7118 int res1 = 0 ;
7119 size_t val2 ;
7120 int ecode2 = 0 ;
7121 bool val3 ;
7122 int ecode3 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 PyObject * obj2 = 0 ;
7126 char * kwnames[] = {
7127 (char *) "self",(char *) "column",(char *) "shown", NULL
7128 };
7129
7130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7132 if (!SWIG_IsOK(res1)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7134 }
7135 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7136 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7137 if (!SWIG_IsOK(ecode2)) {
7138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7139 }
7140 arg2 = static_cast< size_t >(val2);
7141 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7142 if (!SWIG_IsOK(ecode3)) {
7143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7144 }
7145 arg3 = static_cast< bool >(val3);
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->ShowColumn(arg2,arg3);
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 resultobj = SWIG_Py_Void();
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj = 0;
7161 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7162 size_t arg2 ;
7163 bool result;
7164 void *argp1 = 0 ;
7165 int res1 = 0 ;
7166 size_t val2 ;
7167 int ecode2 = 0 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char * kwnames[] = {
7171 (char *) "self",(char *) "column", NULL
7172 };
7173
7174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7176 if (!SWIG_IsOK(res1)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7178 }
7179 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7180 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7181 if (!SWIG_IsOK(ecode2)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7183 }
7184 arg2 = static_cast< size_t >(val2);
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 {
7192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7193 }
7194 return resultobj;
7195 fail:
7196 return NULL;
7197 }
7198
7199
7200 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7201 PyObject *resultobj = 0;
7202 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7203 wxTreeItemId *arg2 = 0 ;
7204 int arg3 = (int) -1 ;
7205 wxString result;
7206 void *argp1 = 0 ;
7207 int res1 = 0 ;
7208 void *argp2 = 0 ;
7209 int res2 = 0 ;
7210 int val3 ;
7211 int ecode3 = 0 ;
7212 PyObject * obj0 = 0 ;
7213 PyObject * obj1 = 0 ;
7214 PyObject * obj2 = 0 ;
7215 char * kwnames[] = {
7216 (char *) "self",(char *) "item",(char *) "column", NULL
7217 };
7218
7219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7221 if (!SWIG_IsOK(res1)) {
7222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7223 }
7224 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7225 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7226 if (!SWIG_IsOK(res2)) {
7227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7228 }
7229 if (!argp2) {
7230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7231 }
7232 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7233 if (obj2) {
7234 ecode3 = SWIG_AsVal_int(obj2, &val3);
7235 if (!SWIG_IsOK(ecode3)) {
7236 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7237 }
7238 arg3 = static_cast< int >(val3);
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 {
7247 #if wxUSE_UNICODE
7248 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7249 #else
7250 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7251 #endif
7252 }
7253 return resultobj;
7254 fail:
7255 return NULL;
7256 }
7257
7258
7259 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7260 PyObject *resultobj = 0;
7261 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7262 wxTreeItemId *arg2 = 0 ;
7263 int arg3 = (int) -1 ;
7264 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7265 int result;
7266 void *argp1 = 0 ;
7267 int res1 = 0 ;
7268 void *argp2 = 0 ;
7269 int res2 = 0 ;
7270 int val3 ;
7271 int ecode3 = 0 ;
7272 int val4 ;
7273 int ecode4 = 0 ;
7274 PyObject * obj0 = 0 ;
7275 PyObject * obj1 = 0 ;
7276 PyObject * obj2 = 0 ;
7277 PyObject * obj3 = 0 ;
7278 char * kwnames[] = {
7279 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7280 };
7281
7282 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7283 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7284 if (!SWIG_IsOK(res1)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7286 }
7287 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7288 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7289 if (!SWIG_IsOK(res2)) {
7290 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7291 }
7292 if (!argp2) {
7293 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7294 }
7295 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7296 if (obj2) {
7297 ecode3 = SWIG_AsVal_int(obj2, &val3);
7298 if (!SWIG_IsOK(ecode3)) {
7299 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7300 }
7301 arg3 = static_cast< int >(val3);
7302 }
7303 if (obj3) {
7304 ecode4 = SWIG_AsVal_int(obj3, &val4);
7305 if (!SWIG_IsOK(ecode4)) {
7306 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7307 }
7308 arg4 = static_cast< wxTreeItemIcon >(val4);
7309 }
7310 {
7311 PyThreadState* __tstate = wxPyBeginAllowThreads();
7312 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7313 wxPyEndAllowThreads(__tstate);
7314 if (PyErr_Occurred()) SWIG_fail;
7315 }
7316 resultobj = SWIG_From_int(static_cast< int >(result));
7317 return resultobj;
7318 fail:
7319 return NULL;
7320 }
7321
7322
7323 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7324 PyObject *resultobj = 0;
7325 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7326 wxTreeItemId *arg2 = 0 ;
7327 wxString *arg3 = 0 ;
7328 int arg4 = (int) -1 ;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 void *argp2 = 0 ;
7332 int res2 = 0 ;
7333 bool temp3 = false ;
7334 int val4 ;
7335 int ecode4 = 0 ;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 PyObject * obj2 = 0 ;
7339 PyObject * obj3 = 0 ;
7340 char * kwnames[] = {
7341 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7342 };
7343
7344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7346 if (!SWIG_IsOK(res1)) {
7347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7348 }
7349 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7350 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7351 if (!SWIG_IsOK(res2)) {
7352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7353 }
7354 if (!argp2) {
7355 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7356 }
7357 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7358 {
7359 arg3 = wxString_in_helper(obj2);
7360 if (arg3 == NULL) SWIG_fail;
7361 temp3 = true;
7362 }
7363 if (obj3) {
7364 ecode4 = SWIG_AsVal_int(obj3, &val4);
7365 if (!SWIG_IsOK(ecode4)) {
7366 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7367 }
7368 arg4 = static_cast< int >(val4);
7369 }
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7373 wxPyEndAllowThreads(__tstate);
7374 if (PyErr_Occurred()) SWIG_fail;
7375 }
7376 resultobj = SWIG_Py_Void();
7377 {
7378 if (temp3)
7379 delete arg3;
7380 }
7381 return resultobj;
7382 fail:
7383 {
7384 if (temp3)
7385 delete arg3;
7386 }
7387 return NULL;
7388 }
7389
7390
7391 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj = 0;
7393 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7394 wxTreeItemId *arg2 = 0 ;
7395 int arg3 ;
7396 int arg4 = (int) -1 ;
7397 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7398 void *argp1 = 0 ;
7399 int res1 = 0 ;
7400 void *argp2 = 0 ;
7401 int res2 = 0 ;
7402 int val3 ;
7403 int ecode3 = 0 ;
7404 int val4 ;
7405 int ecode4 = 0 ;
7406 int val5 ;
7407 int ecode5 = 0 ;
7408 PyObject * obj0 = 0 ;
7409 PyObject * obj1 = 0 ;
7410 PyObject * obj2 = 0 ;
7411 PyObject * obj3 = 0 ;
7412 PyObject * obj4 = 0 ;
7413 char * kwnames[] = {
7414 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7415 };
7416
7417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7419 if (!SWIG_IsOK(res1)) {
7420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7421 }
7422 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7423 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7424 if (!SWIG_IsOK(res2)) {
7425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7426 }
7427 if (!argp2) {
7428 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7429 }
7430 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7431 ecode3 = SWIG_AsVal_int(obj2, &val3);
7432 if (!SWIG_IsOK(ecode3)) {
7433 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7434 }
7435 arg3 = static_cast< int >(val3);
7436 if (obj3) {
7437 ecode4 = SWIG_AsVal_int(obj3, &val4);
7438 if (!SWIG_IsOK(ecode4)) {
7439 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7440 }
7441 arg4 = static_cast< int >(val4);
7442 }
7443 if (obj4) {
7444 ecode5 = SWIG_AsVal_int(obj4, &val5);
7445 if (!SWIG_IsOK(ecode5)) {
7446 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7447 }
7448 arg5 = static_cast< wxTreeItemIcon >(val5);
7449 }
7450 {
7451 PyThreadState* __tstate = wxPyBeginAllowThreads();
7452 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7453 wxPyEndAllowThreads(__tstate);
7454 if (PyErr_Occurred()) SWIG_fail;
7455 }
7456 resultobj = SWIG_Py_Void();
7457 return resultobj;
7458 fail:
7459 return NULL;
7460 }
7461
7462
7463 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7464 PyObject *resultobj = 0;
7465 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7466 wxTreeItemId *arg2 = 0 ;
7467 wxPyTreeItemData *result = 0 ;
7468 void *argp1 = 0 ;
7469 int res1 = 0 ;
7470 void *argp2 = 0 ;
7471 int res2 = 0 ;
7472 PyObject * obj0 = 0 ;
7473 PyObject * obj1 = 0 ;
7474 char * kwnames[] = {
7475 (char *) "self",(char *) "item", NULL
7476 };
7477
7478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7480 if (!SWIG_IsOK(res1)) {
7481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7482 }
7483 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7484 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7485 if (!SWIG_IsOK(res2)) {
7486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7487 }
7488 if (!argp2) {
7489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7490 }
7491 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7499 return resultobj;
7500 fail:
7501 return NULL;
7502 }
7503
7504
7505 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj = 0;
7507 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7508 wxTreeItemId *arg2 = 0 ;
7509 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7510 void *argp1 = 0 ;
7511 int res1 = 0 ;
7512 void *argp2 = 0 ;
7513 int res2 = 0 ;
7514 int res3 = 0 ;
7515 PyObject * obj0 = 0 ;
7516 PyObject * obj1 = 0 ;
7517 PyObject * obj2 = 0 ;
7518 char * kwnames[] = {
7519 (char *) "self",(char *) "item",(char *) "data", NULL
7520 };
7521
7522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7524 if (!SWIG_IsOK(res1)) {
7525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7526 }
7527 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7528 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7529 if (!SWIG_IsOK(res2)) {
7530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7531 }
7532 if (!argp2) {
7533 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7534 }
7535 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7536 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7537 if (!SWIG_IsOK(res3)) {
7538 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7539 }
7540 {
7541 PyThreadState* __tstate = wxPyBeginAllowThreads();
7542 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7543 wxPyEndAllowThreads(__tstate);
7544 if (PyErr_Occurred()) SWIG_fail;
7545 }
7546 resultobj = SWIG_Py_Void();
7547 return resultobj;
7548 fail:
7549 return NULL;
7550 }
7551
7552
7553 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7554 PyObject *resultobj = 0;
7555 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7556 wxTreeItemId *arg2 = 0 ;
7557 PyObject *result = 0 ;
7558 void *argp1 = 0 ;
7559 int res1 = 0 ;
7560 void *argp2 = 0 ;
7561 int res2 = 0 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 char * kwnames[] = {
7565 (char *) "self",(char *) "item", NULL
7566 };
7567
7568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7570 if (!SWIG_IsOK(res1)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7572 }
7573 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7575 if (!SWIG_IsOK(res2)) {
7576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7577 }
7578 if (!argp2) {
7579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7580 }
7581 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7582 {
7583 PyThreadState* __tstate = wxPyBeginAllowThreads();
7584 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 resultobj = result;
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj = 0;
7597 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7598 wxTreeItemId *arg2 = 0 ;
7599 PyObject *arg3 = (PyObject *) 0 ;
7600 void *argp1 = 0 ;
7601 int res1 = 0 ;
7602 void *argp2 = 0 ;
7603 int res2 = 0 ;
7604 PyObject * obj0 = 0 ;
7605 PyObject * obj1 = 0 ;
7606 PyObject * obj2 = 0 ;
7607 char * kwnames[] = {
7608 (char *) "self",(char *) "item",(char *) "obj", NULL
7609 };
7610
7611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7613 if (!SWIG_IsOK(res1)) {
7614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7615 }
7616 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7617 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7618 if (!SWIG_IsOK(res2)) {
7619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7620 }
7621 if (!argp2) {
7622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7623 }
7624 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7625 arg3 = obj2;
7626 {
7627 PyThreadState* __tstate = wxPyBeginAllowThreads();
7628 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7629 wxPyEndAllowThreads(__tstate);
7630 if (PyErr_Occurred()) SWIG_fail;
7631 }
7632 resultobj = SWIG_Py_Void();
7633 return resultobj;
7634 fail:
7635 return NULL;
7636 }
7637
7638
7639 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj = 0;
7641 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7642 wxTreeItemId *arg2 = 0 ;
7643 bool arg3 = (bool) true ;
7644 void *argp1 = 0 ;
7645 int res1 = 0 ;
7646 void *argp2 = 0 ;
7647 int res2 = 0 ;
7648 bool val3 ;
7649 int ecode3 = 0 ;
7650 PyObject * obj0 = 0 ;
7651 PyObject * obj1 = 0 ;
7652 PyObject * obj2 = 0 ;
7653 char * kwnames[] = {
7654 (char *) "self",(char *) "item",(char *) "has", NULL
7655 };
7656
7657 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7658 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7659 if (!SWIG_IsOK(res1)) {
7660 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7661 }
7662 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7663 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7664 if (!SWIG_IsOK(res2)) {
7665 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7666 }
7667 if (!argp2) {
7668 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7669 }
7670 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7671 if (obj2) {
7672 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7673 if (!SWIG_IsOK(ecode3)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7675 }
7676 arg3 = static_cast< bool >(val3);
7677 }
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = SWIG_Py_Void();
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj = 0;
7693 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7694 wxTreeItemId *arg2 = 0 ;
7695 bool arg3 = (bool) true ;
7696 void *argp1 = 0 ;
7697 int res1 = 0 ;
7698 void *argp2 = 0 ;
7699 int res2 = 0 ;
7700 bool val3 ;
7701 int ecode3 = 0 ;
7702 PyObject * obj0 = 0 ;
7703 PyObject * obj1 = 0 ;
7704 PyObject * obj2 = 0 ;
7705 char * kwnames[] = {
7706 (char *) "self",(char *) "item",(char *) "bold", NULL
7707 };
7708
7709 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7710 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7711 if (!SWIG_IsOK(res1)) {
7712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7713 }
7714 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7715 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7716 if (!SWIG_IsOK(res2)) {
7717 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7718 }
7719 if (!argp2) {
7720 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7721 }
7722 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7723 if (obj2) {
7724 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7725 if (!SWIG_IsOK(ecode3)) {
7726 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7727 }
7728 arg3 = static_cast< bool >(val3);
7729 }
7730 {
7731 PyThreadState* __tstate = wxPyBeginAllowThreads();
7732 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 resultobj = SWIG_Py_Void();
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj = 0;
7745 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7746 wxTreeItemId *arg2 = 0 ;
7747 wxColour *arg3 = 0 ;
7748 void *argp1 = 0 ;
7749 int res1 = 0 ;
7750 void *argp2 = 0 ;
7751 int res2 = 0 ;
7752 wxColour temp3 ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 char * kwnames[] = {
7757 (char *) "self",(char *) "item",(char *) "colour", NULL
7758 };
7759
7760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7762 if (!SWIG_IsOK(res1)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7764 }
7765 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7766 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7767 if (!SWIG_IsOK(res2)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7769 }
7770 if (!argp2) {
7771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7772 }
7773 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7774 {
7775 arg3 = &temp3;
7776 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7777 }
7778 {
7779 PyThreadState* __tstate = wxPyBeginAllowThreads();
7780 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7781 wxPyEndAllowThreads(__tstate);
7782 if (PyErr_Occurred()) SWIG_fail;
7783 }
7784 resultobj = SWIG_Py_Void();
7785 return resultobj;
7786 fail:
7787 return NULL;
7788 }
7789
7790
7791 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7792 PyObject *resultobj = 0;
7793 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7794 wxTreeItemId *arg2 = 0 ;
7795 wxColour *arg3 = 0 ;
7796 void *argp1 = 0 ;
7797 int res1 = 0 ;
7798 void *argp2 = 0 ;
7799 int res2 = 0 ;
7800 wxColour temp3 ;
7801 PyObject * obj0 = 0 ;
7802 PyObject * obj1 = 0 ;
7803 PyObject * obj2 = 0 ;
7804 char * kwnames[] = {
7805 (char *) "self",(char *) "item",(char *) "colour", NULL
7806 };
7807
7808 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7809 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7810 if (!SWIG_IsOK(res1)) {
7811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7812 }
7813 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7814 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7815 if (!SWIG_IsOK(res2)) {
7816 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7817 }
7818 if (!argp2) {
7819 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7820 }
7821 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7822 {
7823 arg3 = &temp3;
7824 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7829 wxPyEndAllowThreads(__tstate);
7830 if (PyErr_Occurred()) SWIG_fail;
7831 }
7832 resultobj = SWIG_Py_Void();
7833 return resultobj;
7834 fail:
7835 return NULL;
7836 }
7837
7838
7839 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7840 PyObject *resultobj = 0;
7841 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7842 wxTreeItemId *arg2 = 0 ;
7843 wxFont *arg3 = 0 ;
7844 void *argp1 = 0 ;
7845 int res1 = 0 ;
7846 void *argp2 = 0 ;
7847 int res2 = 0 ;
7848 void *argp3 = 0 ;
7849 int res3 = 0 ;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 PyObject * obj2 = 0 ;
7853 char * kwnames[] = {
7854 (char *) "self",(char *) "item",(char *) "font", NULL
7855 };
7856
7857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7859 if (!SWIG_IsOK(res1)) {
7860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7861 }
7862 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7863 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7864 if (!SWIG_IsOK(res2)) {
7865 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7866 }
7867 if (!argp2) {
7868 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7869 }
7870 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7871 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7872 if (!SWIG_IsOK(res3)) {
7873 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7874 }
7875 if (!argp3) {
7876 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7877 }
7878 arg3 = reinterpret_cast< wxFont * >(argp3);
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7882 wxPyEndAllowThreads(__tstate);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 }
7885 resultobj = SWIG_Py_Void();
7886 return resultobj;
7887 fail:
7888 return NULL;
7889 }
7890
7891
7892 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7893 PyObject *resultobj = 0;
7894 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7895 wxTreeItemId *arg2 = 0 ;
7896 bool result;
7897 void *argp1 = 0 ;
7898 int res1 = 0 ;
7899 void *argp2 = 0 ;
7900 int res2 = 0 ;
7901 PyObject * obj0 = 0 ;
7902 PyObject * obj1 = 0 ;
7903 char * kwnames[] = {
7904 (char *) "self",(char *) "item", NULL
7905 };
7906
7907 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7908 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7909 if (!SWIG_IsOK(res1)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7911 }
7912 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7913 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7914 if (!SWIG_IsOK(res2)) {
7915 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7916 }
7917 if (!argp2) {
7918 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7919 }
7920 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7921 {
7922 PyThreadState* __tstate = wxPyBeginAllowThreads();
7923 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 {
7928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7929 }
7930 return resultobj;
7931 fail:
7932 return NULL;
7933 }
7934
7935
7936 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7937 PyObject *resultobj = 0;
7938 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7939 wxTreeItemId *arg2 = 0 ;
7940 wxColour result;
7941 void *argp1 = 0 ;
7942 int res1 = 0 ;
7943 void *argp2 = 0 ;
7944 int res2 = 0 ;
7945 PyObject * obj0 = 0 ;
7946 PyObject * obj1 = 0 ;
7947 char * kwnames[] = {
7948 (char *) "self",(char *) "item", NULL
7949 };
7950
7951 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7952 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7953 if (!SWIG_IsOK(res1)) {
7954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7955 }
7956 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7957 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7958 if (!SWIG_IsOK(res2)) {
7959 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7960 }
7961 if (!argp2) {
7962 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7963 }
7964 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7972 return resultobj;
7973 fail:
7974 return NULL;
7975 }
7976
7977
7978 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj = 0;
7980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7981 wxTreeItemId *arg2 = 0 ;
7982 wxColour result;
7983 void *argp1 = 0 ;
7984 int res1 = 0 ;
7985 void *argp2 = 0 ;
7986 int res2 = 0 ;
7987 PyObject * obj0 = 0 ;
7988 PyObject * obj1 = 0 ;
7989 char * kwnames[] = {
7990 (char *) "self",(char *) "item", NULL
7991 };
7992
7993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
7994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7995 if (!SWIG_IsOK(res1)) {
7996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7997 }
7998 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7999 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8000 if (!SWIG_IsOK(res2)) {
8001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8002 }
8003 if (!argp2) {
8004 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8005 }
8006 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8010 wxPyEndAllowThreads(__tstate);
8011 if (PyErr_Occurred()) SWIG_fail;
8012 }
8013 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj = 0;
8022 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8023 wxTreeItemId *arg2 = 0 ;
8024 wxFont result;
8025 void *argp1 = 0 ;
8026 int res1 = 0 ;
8027 void *argp2 = 0 ;
8028 int res2 = 0 ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 char * kwnames[] = {
8032 (char *) "self",(char *) "item", NULL
8033 };
8034
8035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8037 if (!SWIG_IsOK(res1)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8039 }
8040 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8042 if (!SWIG_IsOK(res2)) {
8043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8044 }
8045 if (!argp2) {
8046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8047 }
8048 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8065 wxTreeItemId *arg2 = 0 ;
8066 bool result;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 void *argp2 = 0 ;
8070 int res2 = 0 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 char * kwnames[] = {
8074 (char *) "self",(char *) "item", NULL
8075 };
8076
8077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8079 if (!SWIG_IsOK(res1)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8081 }
8082 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8083 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8084 if (!SWIG_IsOK(res2)) {
8085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8086 }
8087 if (!argp2) {
8088 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8089 }
8090 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 {
8098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8099 }
8100 return resultobj;
8101 fail:
8102 return NULL;
8103 }
8104
8105
8106 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8107 PyObject *resultobj = 0;
8108 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8109 wxTreeItemId *arg2 = 0 ;
8110 bool result;
8111 void *argp1 = 0 ;
8112 int res1 = 0 ;
8113 void *argp2 = 0 ;
8114 int res2 = 0 ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 char * kwnames[] = {
8118 (char *) "self",(char *) "item", NULL
8119 };
8120
8121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8123 if (!SWIG_IsOK(res1)) {
8124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8125 }
8126 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8128 if (!SWIG_IsOK(res2)) {
8129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8130 }
8131 if (!argp2) {
8132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8133 }
8134 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8138 wxPyEndAllowThreads(__tstate);
8139 if (PyErr_Occurred()) SWIG_fail;
8140 }
8141 {
8142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8143 }
8144 return resultobj;
8145 fail:
8146 return NULL;
8147 }
8148
8149
8150 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj = 0;
8152 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8153 wxTreeItemId *arg2 = 0 ;
8154 bool result;
8155 void *argp1 = 0 ;
8156 int res1 = 0 ;
8157 void *argp2 = 0 ;
8158 int res2 = 0 ;
8159 PyObject * obj0 = 0 ;
8160 PyObject * obj1 = 0 ;
8161 char * kwnames[] = {
8162 (char *) "self",(char *) "item", NULL
8163 };
8164
8165 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8166 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8167 if (!SWIG_IsOK(res1)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8169 }
8170 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8171 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8172 if (!SWIG_IsOK(res2)) {
8173 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8174 }
8175 if (!argp2) {
8176 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8177 }
8178 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8179 {
8180 PyThreadState* __tstate = wxPyBeginAllowThreads();
8181 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8182 wxPyEndAllowThreads(__tstate);
8183 if (PyErr_Occurred()) SWIG_fail;
8184 }
8185 {
8186 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8187 }
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj = 0;
8196 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8197 wxTreeItemId *arg2 = 0 ;
8198 bool result;
8199 void *argp1 = 0 ;
8200 int res1 = 0 ;
8201 void *argp2 = 0 ;
8202 int res2 = 0 ;
8203 PyObject * obj0 = 0 ;
8204 PyObject * obj1 = 0 ;
8205 char * kwnames[] = {
8206 (char *) "self",(char *) "item", NULL
8207 };
8208
8209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8211 if (!SWIG_IsOK(res1)) {
8212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8213 }
8214 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8215 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8216 if (!SWIG_IsOK(res2)) {
8217 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8218 }
8219 if (!argp2) {
8220 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8221 }
8222 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 {
8230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8231 }
8232 return resultobj;
8233 fail:
8234 return NULL;
8235 }
8236
8237
8238 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8239 PyObject *resultobj = 0;
8240 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8241 wxTreeItemId *arg2 = 0 ;
8242 bool result;
8243 void *argp1 = 0 ;
8244 int res1 = 0 ;
8245 void *argp2 = 0 ;
8246 int res2 = 0 ;
8247 PyObject * obj0 = 0 ;
8248 PyObject * obj1 = 0 ;
8249 char * kwnames[] = {
8250 (char *) "self",(char *) "item", NULL
8251 };
8252
8253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8255 if (!SWIG_IsOK(res1)) {
8256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8257 }
8258 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8259 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8260 if (!SWIG_IsOK(res2)) {
8261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8262 }
8263 if (!argp2) {
8264 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8265 }
8266 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8270 wxPyEndAllowThreads(__tstate);
8271 if (PyErr_Occurred()) SWIG_fail;
8272 }
8273 {
8274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8275 }
8276 return resultobj;
8277 fail:
8278 return NULL;
8279 }
8280
8281
8282 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8283 PyObject *resultobj = 0;
8284 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8285 wxTreeItemId *arg2 = 0 ;
8286 bool arg3 = (bool) true ;
8287 size_t result;
8288 void *argp1 = 0 ;
8289 int res1 = 0 ;
8290 void *argp2 = 0 ;
8291 int res2 = 0 ;
8292 bool val3 ;
8293 int ecode3 = 0 ;
8294 PyObject * obj0 = 0 ;
8295 PyObject * obj1 = 0 ;
8296 PyObject * obj2 = 0 ;
8297 char * kwnames[] = {
8298 (char *) "self",(char *) "item",(char *) "recursively", NULL
8299 };
8300
8301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8303 if (!SWIG_IsOK(res1)) {
8304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8305 }
8306 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8307 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8308 if (!SWIG_IsOK(res2)) {
8309 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8310 }
8311 if (!argp2) {
8312 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8313 }
8314 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8315 if (obj2) {
8316 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8317 if (!SWIG_IsOK(ecode3)) {
8318 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8319 }
8320 arg3 = static_cast< bool >(val3);
8321 }
8322 {
8323 PyThreadState* __tstate = wxPyBeginAllowThreads();
8324 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8325 wxPyEndAllowThreads(__tstate);
8326 if (PyErr_Occurred()) SWIG_fail;
8327 }
8328 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8329 return resultobj;
8330 fail:
8331 return NULL;
8332 }
8333
8334
8335 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8336 PyObject *resultobj = 0;
8337 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8338 wxTreeItemId result;
8339 void *argp1 = 0 ;
8340 int res1 = 0 ;
8341 PyObject *swig_obj[1] ;
8342
8343 if (!args) SWIG_fail;
8344 swig_obj[0] = args;
8345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8346 if (!SWIG_IsOK(res1)) {
8347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8348 }
8349 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8353 wxPyEndAllowThreads(__tstate);
8354 if (PyErr_Occurred()) SWIG_fail;
8355 }
8356 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8357 return resultobj;
8358 fail:
8359 return NULL;
8360 }
8361
8362
8363 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8364 PyObject *resultobj = 0;
8365 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8366 wxTreeItemId result;
8367 void *argp1 = 0 ;
8368 int res1 = 0 ;
8369 PyObject *swig_obj[1] ;
8370
8371 if (!args) SWIG_fail;
8372 swig_obj[0] = args;
8373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8374 if (!SWIG_IsOK(res1)) {
8375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8376 }
8377 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8378 {
8379 PyThreadState* __tstate = wxPyBeginAllowThreads();
8380 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8381 wxPyEndAllowThreads(__tstate);
8382 if (PyErr_Occurred()) SWIG_fail;
8383 }
8384 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8385 return resultobj;
8386 fail:
8387 return NULL;
8388 }
8389
8390
8391 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8392 PyObject *resultobj = 0;
8393 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8394 PyObject *result = 0 ;
8395 void *argp1 = 0 ;
8396 int res1 = 0 ;
8397 PyObject *swig_obj[1] ;
8398
8399 if (!args) SWIG_fail;
8400 swig_obj[0] = args;
8401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8402 if (!SWIG_IsOK(res1)) {
8403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8404 }
8405 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8409 wxPyEndAllowThreads(__tstate);
8410 if (PyErr_Occurred()) SWIG_fail;
8411 }
8412 resultobj = result;
8413 return resultobj;
8414 fail:
8415 return NULL;
8416 }
8417
8418
8419 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8420 PyObject *resultobj = 0;
8421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8422 wxTreeItemId *arg2 = 0 ;
8423 wxTreeItemId result;
8424 void *argp1 = 0 ;
8425 int res1 = 0 ;
8426 void *argp2 = 0 ;
8427 int res2 = 0 ;
8428 PyObject * obj0 = 0 ;
8429 PyObject * obj1 = 0 ;
8430 char * kwnames[] = {
8431 (char *) "self",(char *) "item", NULL
8432 };
8433
8434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8436 if (!SWIG_IsOK(res1)) {
8437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8438 }
8439 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8440 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8441 if (!SWIG_IsOK(res2)) {
8442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8443 }
8444 if (!argp2) {
8445 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8446 }
8447 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8455 return resultobj;
8456 fail:
8457 return NULL;
8458 }
8459
8460
8461 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj = 0;
8463 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8464 wxTreeItemId *arg2 = 0 ;
8465 PyObject *result = 0 ;
8466 void *argp1 = 0 ;
8467 int res1 = 0 ;
8468 void *argp2 = 0 ;
8469 int res2 = 0 ;
8470 PyObject * obj0 = 0 ;
8471 PyObject * obj1 = 0 ;
8472 char * kwnames[] = {
8473 (char *) "self",(char *) "item", NULL
8474 };
8475
8476 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8477 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8478 if (!SWIG_IsOK(res1)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8480 }
8481 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8482 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8483 if (!SWIG_IsOK(res2)) {
8484 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8485 }
8486 if (!argp2) {
8487 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8488 }
8489 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8490 {
8491 PyThreadState* __tstate = wxPyBeginAllowThreads();
8492 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 resultobj = result;
8497 return resultobj;
8498 fail:
8499 return NULL;
8500 }
8501
8502
8503 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8504 PyObject *resultobj = 0;
8505 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8506 wxTreeItemId *arg2 = 0 ;
8507 void *arg3 = (void *) 0 ;
8508 PyObject *result = 0 ;
8509 void *argp1 = 0 ;
8510 int res1 = 0 ;
8511 void *argp2 = 0 ;
8512 int res2 = 0 ;
8513 int res3 ;
8514 PyObject * obj0 = 0 ;
8515 PyObject * obj1 = 0 ;
8516 PyObject * obj2 = 0 ;
8517 char * kwnames[] = {
8518 (char *) "self",(char *) "item",(char *) "cookie", NULL
8519 };
8520
8521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8523 if (!SWIG_IsOK(res1)) {
8524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8525 }
8526 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8528 if (!SWIG_IsOK(res2)) {
8529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8530 }
8531 if (!argp2) {
8532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8533 }
8534 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8535 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8536 if (!SWIG_IsOK(res3)) {
8537 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8538 }
8539 {
8540 PyThreadState* __tstate = wxPyBeginAllowThreads();
8541 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = result;
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj = 0;
8554 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8555 wxTreeItemId *arg2 = 0 ;
8556 wxTreeItemId result;
8557 void *argp1 = 0 ;
8558 int res1 = 0 ;
8559 void *argp2 = 0 ;
8560 int res2 = 0 ;
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 char * kwnames[] = {
8564 (char *) "self",(char *) "item", NULL
8565 };
8566
8567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8569 if (!SWIG_IsOK(res1)) {
8570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8571 }
8572 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8574 if (!SWIG_IsOK(res2)) {
8575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8576 }
8577 if (!argp2) {
8578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8579 }
8580 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8581 {
8582 PyThreadState* __tstate = wxPyBeginAllowThreads();
8583 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8588 return resultobj;
8589 fail:
8590 return NULL;
8591 }
8592
8593
8594 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj = 0;
8596 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8597 wxTreeItemId *arg2 = 0 ;
8598 wxTreeItemId result;
8599 void *argp1 = 0 ;
8600 int res1 = 0 ;
8601 void *argp2 = 0 ;
8602 int res2 = 0 ;
8603 PyObject * obj0 = 0 ;
8604 PyObject * obj1 = 0 ;
8605 char * kwnames[] = {
8606 (char *) "self",(char *) "item", NULL
8607 };
8608
8609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8611 if (!SWIG_IsOK(res1)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8613 }
8614 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8615 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8616 if (!SWIG_IsOK(res2)) {
8617 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8618 }
8619 if (!argp2) {
8620 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8621 }
8622 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8623 {
8624 PyThreadState* __tstate = wxPyBeginAllowThreads();
8625 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8630 return resultobj;
8631 fail:
8632 return NULL;
8633 }
8634
8635
8636 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8637 PyObject *resultobj = 0;
8638 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8639 wxTreeItemId *arg2 = 0 ;
8640 wxTreeItemId result;
8641 void *argp1 = 0 ;
8642 int res1 = 0 ;
8643 void *argp2 = 0 ;
8644 int res2 = 0 ;
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 char * kwnames[] = {
8648 (char *) "self",(char *) "item", NULL
8649 };
8650
8651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8653 if (!SWIG_IsOK(res1)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8655 }
8656 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8658 if (!SWIG_IsOK(res2)) {
8659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8660 }
8661 if (!argp2) {
8662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8663 }
8664 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8679 PyObject *resultobj = 0;
8680 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8681 wxTreeItemId result;
8682 void *argp1 = 0 ;
8683 int res1 = 0 ;
8684 PyObject *swig_obj[1] ;
8685
8686 if (!args) SWIG_fail;
8687 swig_obj[0] = args;
8688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8689 if (!SWIG_IsOK(res1)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8691 }
8692 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8700 return resultobj;
8701 fail:
8702 return NULL;
8703 }
8704
8705
8706 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj = 0;
8708 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8709 wxTreeItemId *arg2 = 0 ;
8710 wxTreeItemId result;
8711 void *argp1 = 0 ;
8712 int res1 = 0 ;
8713 void *argp2 = 0 ;
8714 int res2 = 0 ;
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 char * kwnames[] = {
8718 (char *) "self",(char *) "item", NULL
8719 };
8720
8721 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8722 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8723 if (!SWIG_IsOK(res1)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8725 }
8726 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8727 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8728 if (!SWIG_IsOK(res2)) {
8729 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8730 }
8731 if (!argp2) {
8732 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8733 }
8734 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8735 {
8736 PyThreadState* __tstate = wxPyBeginAllowThreads();
8737 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8738 wxPyEndAllowThreads(__tstate);
8739 if (PyErr_Occurred()) SWIG_fail;
8740 }
8741 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8742 return resultobj;
8743 fail:
8744 return NULL;
8745 }
8746
8747
8748 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8749 PyObject *resultobj = 0;
8750 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8751 wxTreeItemId *arg2 = 0 ;
8752 wxTreeItemId result;
8753 void *argp1 = 0 ;
8754 int res1 = 0 ;
8755 void *argp2 = 0 ;
8756 int res2 = 0 ;
8757 PyObject * obj0 = 0 ;
8758 PyObject * obj1 = 0 ;
8759 char * kwnames[] = {
8760 (char *) "self",(char *) "item", NULL
8761 };
8762
8763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8765 if (!SWIG_IsOK(res1)) {
8766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8767 }
8768 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8769 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8770 if (!SWIG_IsOK(res2)) {
8771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8772 }
8773 if (!argp2) {
8774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8775 }
8776 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8777 {
8778 PyThreadState* __tstate = wxPyBeginAllowThreads();
8779 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8780 wxPyEndAllowThreads(__tstate);
8781 if (PyErr_Occurred()) SWIG_fail;
8782 }
8783 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8784 return resultobj;
8785 fail:
8786 return NULL;
8787 }
8788
8789
8790 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8791 PyObject *resultobj = 0;
8792 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8793 wxTreeItemId *arg2 = 0 ;
8794 wxTreeItemId result;
8795 void *argp1 = 0 ;
8796 int res1 = 0 ;
8797 void *argp2 = 0 ;
8798 int res2 = 0 ;
8799 PyObject * obj0 = 0 ;
8800 PyObject * obj1 = 0 ;
8801 char * kwnames[] = {
8802 (char *) "self",(char *) "item", NULL
8803 };
8804
8805 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8806 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8807 if (!SWIG_IsOK(res1)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8809 }
8810 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8811 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8812 if (!SWIG_IsOK(res2)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8814 }
8815 if (!argp2) {
8816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8817 }
8818 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8819 {
8820 PyThreadState* __tstate = wxPyBeginAllowThreads();
8821 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8826 return resultobj;
8827 fail:
8828 return NULL;
8829 }
8830
8831
8832 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj = 0;
8834 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8835 wxString *arg2 = 0 ;
8836 int arg3 = (int) -1 ;
8837 int arg4 = (int) -1 ;
8838 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8839 wxTreeItemId result;
8840 void *argp1 = 0 ;
8841 int res1 = 0 ;
8842 bool temp2 = false ;
8843 int val3 ;
8844 int ecode3 = 0 ;
8845 int val4 ;
8846 int ecode4 = 0 ;
8847 int res5 = 0 ;
8848 PyObject * obj0 = 0 ;
8849 PyObject * obj1 = 0 ;
8850 PyObject * obj2 = 0 ;
8851 PyObject * obj3 = 0 ;
8852 PyObject * obj4 = 0 ;
8853 char * kwnames[] = {
8854 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8855 };
8856
8857 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8858 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8859 if (!SWIG_IsOK(res1)) {
8860 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8861 }
8862 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8863 {
8864 arg2 = wxString_in_helper(obj1);
8865 if (arg2 == NULL) SWIG_fail;
8866 temp2 = true;
8867 }
8868 if (obj2) {
8869 ecode3 = SWIG_AsVal_int(obj2, &val3);
8870 if (!SWIG_IsOK(ecode3)) {
8871 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8872 }
8873 arg3 = static_cast< int >(val3);
8874 }
8875 if (obj3) {
8876 ecode4 = SWIG_AsVal_int(obj3, &val4);
8877 if (!SWIG_IsOK(ecode4)) {
8878 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8879 }
8880 arg4 = static_cast< int >(val4);
8881 }
8882 if (obj4) {
8883 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8884 if (!SWIG_IsOK(res5)) {
8885 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8886 }
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8895 {
8896 if (temp2)
8897 delete arg2;
8898 }
8899 return resultobj;
8900 fail:
8901 {
8902 if (temp2)
8903 delete arg2;
8904 }
8905 return NULL;
8906 }
8907
8908
8909 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj = 0;
8911 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8912 wxTreeItemId *arg2 = 0 ;
8913 wxString *arg3 = 0 ;
8914 int arg4 = (int) -1 ;
8915 int arg5 = (int) -1 ;
8916 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8917 wxTreeItemId result;
8918 void *argp1 = 0 ;
8919 int res1 = 0 ;
8920 void *argp2 = 0 ;
8921 int res2 = 0 ;
8922 bool temp3 = false ;
8923 int val4 ;
8924 int ecode4 = 0 ;
8925 int val5 ;
8926 int ecode5 = 0 ;
8927 int res6 = 0 ;
8928 PyObject * obj0 = 0 ;
8929 PyObject * obj1 = 0 ;
8930 PyObject * obj2 = 0 ;
8931 PyObject * obj3 = 0 ;
8932 PyObject * obj4 = 0 ;
8933 PyObject * obj5 = 0 ;
8934 char * kwnames[] = {
8935 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8936 };
8937
8938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8940 if (!SWIG_IsOK(res1)) {
8941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8942 }
8943 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8944 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8945 if (!SWIG_IsOK(res2)) {
8946 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8947 }
8948 if (!argp2) {
8949 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8950 }
8951 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8952 {
8953 arg3 = wxString_in_helper(obj2);
8954 if (arg3 == NULL) SWIG_fail;
8955 temp3 = true;
8956 }
8957 if (obj3) {
8958 ecode4 = SWIG_AsVal_int(obj3, &val4);
8959 if (!SWIG_IsOK(ecode4)) {
8960 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8961 }
8962 arg4 = static_cast< int >(val4);
8963 }
8964 if (obj4) {
8965 ecode5 = SWIG_AsVal_int(obj4, &val5);
8966 if (!SWIG_IsOK(ecode5)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8968 }
8969 arg5 = static_cast< int >(val5);
8970 }
8971 if (obj5) {
8972 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8973 if (!SWIG_IsOK(res6)) {
8974 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8975 }
8976 }
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8980 wxPyEndAllowThreads(__tstate);
8981 if (PyErr_Occurred()) SWIG_fail;
8982 }
8983 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8984 {
8985 if (temp3)
8986 delete arg3;
8987 }
8988 return resultobj;
8989 fail:
8990 {
8991 if (temp3)
8992 delete arg3;
8993 }
8994 return NULL;
8995 }
8996
8997
8998 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8999 PyObject *resultobj = 0;
9000 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9001 wxTreeItemId *arg2 = 0 ;
9002 wxTreeItemId *arg3 = 0 ;
9003 wxString *arg4 = 0 ;
9004 int arg5 = (int) -1 ;
9005 int arg6 = (int) -1 ;
9006 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9007 wxTreeItemId result;
9008 void *argp1 = 0 ;
9009 int res1 = 0 ;
9010 void *argp2 = 0 ;
9011 int res2 = 0 ;
9012 void *argp3 = 0 ;
9013 int res3 = 0 ;
9014 bool temp4 = false ;
9015 int val5 ;
9016 int ecode5 = 0 ;
9017 int val6 ;
9018 int ecode6 = 0 ;
9019 int res7 = 0 ;
9020 PyObject * obj0 = 0 ;
9021 PyObject * obj1 = 0 ;
9022 PyObject * obj2 = 0 ;
9023 PyObject * obj3 = 0 ;
9024 PyObject * obj4 = 0 ;
9025 PyObject * obj5 = 0 ;
9026 PyObject * obj6 = 0 ;
9027 char * kwnames[] = {
9028 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9029 };
9030
9031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9033 if (!SWIG_IsOK(res1)) {
9034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9035 }
9036 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9037 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9038 if (!SWIG_IsOK(res2)) {
9039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9040 }
9041 if (!argp2) {
9042 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9043 }
9044 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9045 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9046 if (!SWIG_IsOK(res3)) {
9047 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9048 }
9049 if (!argp3) {
9050 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9051 }
9052 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9053 {
9054 arg4 = wxString_in_helper(obj3);
9055 if (arg4 == NULL) SWIG_fail;
9056 temp4 = true;
9057 }
9058 if (obj4) {
9059 ecode5 = SWIG_AsVal_int(obj4, &val5);
9060 if (!SWIG_IsOK(ecode5)) {
9061 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9062 }
9063 arg5 = static_cast< int >(val5);
9064 }
9065 if (obj5) {
9066 ecode6 = SWIG_AsVal_int(obj5, &val6);
9067 if (!SWIG_IsOK(ecode6)) {
9068 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9069 }
9070 arg6 = static_cast< int >(val6);
9071 }
9072 if (obj6) {
9073 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9074 if (!SWIG_IsOK(res7)) {
9075 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9076 }
9077 }
9078 {
9079 PyThreadState* __tstate = wxPyBeginAllowThreads();
9080 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9085 {
9086 if (temp4)
9087 delete arg4;
9088 }
9089 return resultobj;
9090 fail:
9091 {
9092 if (temp4)
9093 delete arg4;
9094 }
9095 return NULL;
9096 }
9097
9098
9099 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj = 0;
9101 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9102 wxTreeItemId *arg2 = 0 ;
9103 size_t arg3 ;
9104 wxString *arg4 = 0 ;
9105 int arg5 = (int) -1 ;
9106 int arg6 = (int) -1 ;
9107 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9108 wxTreeItemId result;
9109 void *argp1 = 0 ;
9110 int res1 = 0 ;
9111 void *argp2 = 0 ;
9112 int res2 = 0 ;
9113 size_t val3 ;
9114 int ecode3 = 0 ;
9115 bool temp4 = false ;
9116 int val5 ;
9117 int ecode5 = 0 ;
9118 int val6 ;
9119 int ecode6 = 0 ;
9120 int res7 = 0 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 PyObject * obj2 = 0 ;
9124 PyObject * obj3 = 0 ;
9125 PyObject * obj4 = 0 ;
9126 PyObject * obj5 = 0 ;
9127 PyObject * obj6 = 0 ;
9128 char * kwnames[] = {
9129 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9130 };
9131
9132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9134 if (!SWIG_IsOK(res1)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9136 }
9137 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9138 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9139 if (!SWIG_IsOK(res2)) {
9140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9141 }
9142 if (!argp2) {
9143 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9144 }
9145 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9146 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9147 if (!SWIG_IsOK(ecode3)) {
9148 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9149 }
9150 arg3 = static_cast< size_t >(val3);
9151 {
9152 arg4 = wxString_in_helper(obj3);
9153 if (arg4 == NULL) SWIG_fail;
9154 temp4 = true;
9155 }
9156 if (obj4) {
9157 ecode5 = SWIG_AsVal_int(obj4, &val5);
9158 if (!SWIG_IsOK(ecode5)) {
9159 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9160 }
9161 arg5 = static_cast< int >(val5);
9162 }
9163 if (obj5) {
9164 ecode6 = SWIG_AsVal_int(obj5, &val6);
9165 if (!SWIG_IsOK(ecode6)) {
9166 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9167 }
9168 arg6 = static_cast< int >(val6);
9169 }
9170 if (obj6) {
9171 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9172 if (!SWIG_IsOK(res7)) {
9173 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9174 }
9175 }
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9183 {
9184 if (temp4)
9185 delete arg4;
9186 }
9187 return resultobj;
9188 fail:
9189 {
9190 if (temp4)
9191 delete arg4;
9192 }
9193 return NULL;
9194 }
9195
9196
9197 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj = 0;
9199 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9200 wxTreeItemId *arg2 = 0 ;
9201 wxString *arg3 = 0 ;
9202 int arg4 = (int) -1 ;
9203 int arg5 = (int) -1 ;
9204 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9205 wxTreeItemId result;
9206 void *argp1 = 0 ;
9207 int res1 = 0 ;
9208 void *argp2 = 0 ;
9209 int res2 = 0 ;
9210 bool temp3 = false ;
9211 int val4 ;
9212 int ecode4 = 0 ;
9213 int val5 ;
9214 int ecode5 = 0 ;
9215 int res6 = 0 ;
9216 PyObject * obj0 = 0 ;
9217 PyObject * obj1 = 0 ;
9218 PyObject * obj2 = 0 ;
9219 PyObject * obj3 = 0 ;
9220 PyObject * obj4 = 0 ;
9221 PyObject * obj5 = 0 ;
9222 char * kwnames[] = {
9223 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9224 };
9225
9226 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9227 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9228 if (!SWIG_IsOK(res1)) {
9229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9230 }
9231 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9232 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9233 if (!SWIG_IsOK(res2)) {
9234 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9235 }
9236 if (!argp2) {
9237 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9238 }
9239 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9240 {
9241 arg3 = wxString_in_helper(obj2);
9242 if (arg3 == NULL) SWIG_fail;
9243 temp3 = true;
9244 }
9245 if (obj3) {
9246 ecode4 = SWIG_AsVal_int(obj3, &val4);
9247 if (!SWIG_IsOK(ecode4)) {
9248 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9249 }
9250 arg4 = static_cast< int >(val4);
9251 }
9252 if (obj4) {
9253 ecode5 = SWIG_AsVal_int(obj4, &val5);
9254 if (!SWIG_IsOK(ecode5)) {
9255 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9256 }
9257 arg5 = static_cast< int >(val5);
9258 }
9259 if (obj5) {
9260 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9261 if (!SWIG_IsOK(res6)) {
9262 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9263 }
9264 }
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9272 {
9273 if (temp3)
9274 delete arg3;
9275 }
9276 return resultobj;
9277 fail:
9278 {
9279 if (temp3)
9280 delete arg3;
9281 }
9282 return NULL;
9283 }
9284
9285
9286 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9287 PyObject *resultobj = 0;
9288 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9289 wxTreeItemId *arg2 = 0 ;
9290 void *argp1 = 0 ;
9291 int res1 = 0 ;
9292 void *argp2 = 0 ;
9293 int res2 = 0 ;
9294 PyObject * obj0 = 0 ;
9295 PyObject * obj1 = 0 ;
9296 char * kwnames[] = {
9297 (char *) "self",(char *) "item", NULL
9298 };
9299
9300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9302 if (!SWIG_IsOK(res1)) {
9303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9304 }
9305 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9307 if (!SWIG_IsOK(res2)) {
9308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9309 }
9310 if (!argp2) {
9311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9312 }
9313 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 (arg1)->Delete((wxTreeItemId const &)*arg2);
9317 wxPyEndAllowThreads(__tstate);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 }
9320 resultobj = SWIG_Py_Void();
9321 return resultobj;
9322 fail:
9323 return NULL;
9324 }
9325
9326
9327 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9328 PyObject *resultobj = 0;
9329 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9330 wxTreeItemId *arg2 = 0 ;
9331 void *argp1 = 0 ;
9332 int res1 = 0 ;
9333 void *argp2 = 0 ;
9334 int res2 = 0 ;
9335 PyObject * obj0 = 0 ;
9336 PyObject * obj1 = 0 ;
9337 char * kwnames[] = {
9338 (char *) "self",(char *) "item", NULL
9339 };
9340
9341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9343 if (!SWIG_IsOK(res1)) {
9344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9345 }
9346 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9347 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9348 if (!SWIG_IsOK(res2)) {
9349 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9350 }
9351 if (!argp2) {
9352 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9353 }
9354 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 resultobj = SWIG_Py_Void();
9362 return resultobj;
9363 fail:
9364 return NULL;
9365 }
9366
9367
9368 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9369 PyObject *resultobj = 0;
9370 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9371 void *argp1 = 0 ;
9372 int res1 = 0 ;
9373 PyObject *swig_obj[1] ;
9374
9375 if (!args) SWIG_fail;
9376 swig_obj[0] = args;
9377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9378 if (!SWIG_IsOK(res1)) {
9379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9380 }
9381 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9382 {
9383 PyThreadState* __tstate = wxPyBeginAllowThreads();
9384 (arg1)->DeleteAllItems();
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
9388 resultobj = SWIG_Py_Void();
9389 return resultobj;
9390 fail:
9391 return NULL;
9392 }
9393
9394
9395 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9396 PyObject *resultobj = 0;
9397 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9398 wxTreeItemId *arg2 = 0 ;
9399 void *argp1 = 0 ;
9400 int res1 = 0 ;
9401 void *argp2 = 0 ;
9402 int res2 = 0 ;
9403 PyObject * obj0 = 0 ;
9404 PyObject * obj1 = 0 ;
9405 char * kwnames[] = {
9406 (char *) "self",(char *) "item", NULL
9407 };
9408
9409 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9410 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9411 if (!SWIG_IsOK(res1)) {
9412 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9413 }
9414 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9415 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9416 if (!SWIG_IsOK(res2)) {
9417 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9418 }
9419 if (!argp2) {
9420 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9421 }
9422 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 (arg1)->Expand((wxTreeItemId const &)*arg2);
9426 wxPyEndAllowThreads(__tstate);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 resultobj = SWIG_Py_Void();
9430 return resultobj;
9431 fail:
9432 return NULL;
9433 }
9434
9435
9436 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9437 PyObject *resultobj = 0;
9438 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9439 wxTreeItemId *arg2 = 0 ;
9440 void *argp1 = 0 ;
9441 int res1 = 0 ;
9442 void *argp2 = 0 ;
9443 int res2 = 0 ;
9444 PyObject * obj0 = 0 ;
9445 PyObject * obj1 = 0 ;
9446 char * kwnames[] = {
9447 (char *) "self",(char *) "item", NULL
9448 };
9449
9450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9452 if (!SWIG_IsOK(res1)) {
9453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9454 }
9455 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9456 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9457 if (!SWIG_IsOK(res2)) {
9458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9459 }
9460 if (!argp2) {
9461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9462 }
9463 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9464 {
9465 PyThreadState* __tstate = wxPyBeginAllowThreads();
9466 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 resultobj = SWIG_Py_Void();
9471 return resultobj;
9472 fail:
9473 return NULL;
9474 }
9475
9476
9477 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj = 0;
9479 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9480 wxTreeItemId *arg2 = 0 ;
9481 void *argp1 = 0 ;
9482 int res1 = 0 ;
9483 void *argp2 = 0 ;
9484 int res2 = 0 ;
9485 PyObject * obj0 = 0 ;
9486 PyObject * obj1 = 0 ;
9487 char * kwnames[] = {
9488 (char *) "self",(char *) "item", NULL
9489 };
9490
9491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9493 if (!SWIG_IsOK(res1)) {
9494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9495 }
9496 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9497 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9498 if (!SWIG_IsOK(res2)) {
9499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9500 }
9501 if (!argp2) {
9502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9503 }
9504 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9508 wxPyEndAllowThreads(__tstate);
9509 if (PyErr_Occurred()) SWIG_fail;
9510 }
9511 resultobj = SWIG_Py_Void();
9512 return resultobj;
9513 fail:
9514 return NULL;
9515 }
9516
9517
9518 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9519 PyObject *resultobj = 0;
9520 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9521 wxTreeItemId *arg2 = 0 ;
9522 void *argp1 = 0 ;
9523 int res1 = 0 ;
9524 void *argp2 = 0 ;
9525 int res2 = 0 ;
9526 PyObject * obj0 = 0 ;
9527 PyObject * obj1 = 0 ;
9528 char * kwnames[] = {
9529 (char *) "self",(char *) "item", NULL
9530 };
9531
9532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9534 if (!SWIG_IsOK(res1)) {
9535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9536 }
9537 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9538 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9539 if (!SWIG_IsOK(res2)) {
9540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9541 }
9542 if (!argp2) {
9543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9544 }
9545 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9546 {
9547 PyThreadState* __tstate = wxPyBeginAllowThreads();
9548 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9549 wxPyEndAllowThreads(__tstate);
9550 if (PyErr_Occurred()) SWIG_fail;
9551 }
9552 resultobj = SWIG_Py_Void();
9553 return resultobj;
9554 fail:
9555 return NULL;
9556 }
9557
9558
9559 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9560 PyObject *resultobj = 0;
9561 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9562 wxTreeItemId *arg2 = 0 ;
9563 void *argp1 = 0 ;
9564 int res1 = 0 ;
9565 void *argp2 = 0 ;
9566 int res2 = 0 ;
9567 PyObject * obj0 = 0 ;
9568 PyObject * obj1 = 0 ;
9569 char * kwnames[] = {
9570 (char *) "self",(char *) "item", NULL
9571 };
9572
9573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9575 if (!SWIG_IsOK(res1)) {
9576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9577 }
9578 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9579 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9580 if (!SWIG_IsOK(res2)) {
9581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9582 }
9583 if (!argp2) {
9584 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9585 }
9586 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9587 {
9588 PyThreadState* __tstate = wxPyBeginAllowThreads();
9589 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9590 wxPyEndAllowThreads(__tstate);
9591 if (PyErr_Occurred()) SWIG_fail;
9592 }
9593 resultobj = SWIG_Py_Void();
9594 return resultobj;
9595 fail:
9596 return NULL;
9597 }
9598
9599
9600 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9601 PyObject *resultobj = 0;
9602 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9603 void *argp1 = 0 ;
9604 int res1 = 0 ;
9605 PyObject *swig_obj[1] ;
9606
9607 if (!args) SWIG_fail;
9608 swig_obj[0] = args;
9609 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9610 if (!SWIG_IsOK(res1)) {
9611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9612 }
9613 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9614 {
9615 PyThreadState* __tstate = wxPyBeginAllowThreads();
9616 (arg1)->Unselect();
9617 wxPyEndAllowThreads(__tstate);
9618 if (PyErr_Occurred()) SWIG_fail;
9619 }
9620 resultobj = SWIG_Py_Void();
9621 return resultobj;
9622 fail:
9623 return NULL;
9624 }
9625
9626
9627 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9628 PyObject *resultobj = 0;
9629 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9630 void *argp1 = 0 ;
9631 int res1 = 0 ;
9632 PyObject *swig_obj[1] ;
9633
9634 if (!args) SWIG_fail;
9635 swig_obj[0] = args;
9636 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9637 if (!SWIG_IsOK(res1)) {
9638 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9639 }
9640 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->UnselectAll();
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 resultobj = SWIG_Py_Void();
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj = 0;
9656 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9657 wxTreeItemId *arg2 = 0 ;
9658 bool arg3 = (bool) true ;
9659 bool arg4 = (bool) false ;
9660 void *argp1 = 0 ;
9661 int res1 = 0 ;
9662 void *argp2 = 0 ;
9663 int res2 = 0 ;
9664 bool val3 ;
9665 int ecode3 = 0 ;
9666 bool val4 ;
9667 int ecode4 = 0 ;
9668 PyObject * obj0 = 0 ;
9669 PyObject * obj1 = 0 ;
9670 PyObject * obj2 = 0 ;
9671 PyObject * obj3 = 0 ;
9672 char * kwnames[] = {
9673 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9674 };
9675
9676 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9677 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9678 if (!SWIG_IsOK(res1)) {
9679 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9680 }
9681 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9682 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9683 if (!SWIG_IsOK(res2)) {
9684 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9685 }
9686 if (!argp2) {
9687 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9688 }
9689 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9690 if (obj2) {
9691 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9692 if (!SWIG_IsOK(ecode3)) {
9693 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9694 }
9695 arg3 = static_cast< bool >(val3);
9696 }
9697 if (obj3) {
9698 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9699 if (!SWIG_IsOK(ecode4)) {
9700 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9701 }
9702 arg4 = static_cast< bool >(val4);
9703 }
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9707 wxPyEndAllowThreads(__tstate);
9708 if (PyErr_Occurred()) SWIG_fail;
9709 }
9710 resultobj = SWIG_Py_Void();
9711 return resultobj;
9712 fail:
9713 return NULL;
9714 }
9715
9716
9717 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9718 PyObject *resultobj = 0;
9719 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9720 bool arg2 = (bool) false ;
9721 void *argp1 = 0 ;
9722 int res1 = 0 ;
9723 bool val2 ;
9724 int ecode2 = 0 ;
9725 PyObject * obj0 = 0 ;
9726 PyObject * obj1 = 0 ;
9727 char * kwnames[] = {
9728 (char *) "self",(char *) "extended_select", NULL
9729 };
9730
9731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9733 if (!SWIG_IsOK(res1)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9735 }
9736 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9737 if (obj1) {
9738 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9739 if (!SWIG_IsOK(ecode2)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9741 }
9742 arg2 = static_cast< bool >(val2);
9743 }
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 (arg1)->SelectAll(arg2);
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
9750 resultobj = SWIG_Py_Void();
9751 return resultobj;
9752 fail:
9753 return NULL;
9754 }
9755
9756
9757 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9758 PyObject *resultobj = 0;
9759 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9760 wxTreeItemId *arg2 = 0 ;
9761 void *argp1 = 0 ;
9762 int res1 = 0 ;
9763 void *argp2 = 0 ;
9764 int res2 = 0 ;
9765 PyObject * obj0 = 0 ;
9766 PyObject * obj1 = 0 ;
9767 char * kwnames[] = {
9768 (char *) "self",(char *) "item", NULL
9769 };
9770
9771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9773 if (!SWIG_IsOK(res1)) {
9774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9775 }
9776 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9777 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9778 if (!SWIG_IsOK(res2)) {
9779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9780 }
9781 if (!argp2) {
9782 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9783 }
9784 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9788 wxPyEndAllowThreads(__tstate);
9789 if (PyErr_Occurred()) SWIG_fail;
9790 }
9791 resultobj = SWIG_Py_Void();
9792 return resultobj;
9793 fail:
9794 return NULL;
9795 }
9796
9797
9798 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9799 PyObject *resultobj = 0;
9800 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9801 wxTreeItemId *arg2 = 0 ;
9802 void *argp1 = 0 ;
9803 int res1 = 0 ;
9804 void *argp2 = 0 ;
9805 int res2 = 0 ;
9806 PyObject * obj0 = 0 ;
9807 PyObject * obj1 = 0 ;
9808 char * kwnames[] = {
9809 (char *) "self",(char *) "item", NULL
9810 };
9811
9812 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9813 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9814 if (!SWIG_IsOK(res1)) {
9815 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9816 }
9817 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9818 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9819 if (!SWIG_IsOK(res2)) {
9820 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9821 }
9822 if (!argp2) {
9823 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9824 }
9825 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9829 wxPyEndAllowThreads(__tstate);
9830 if (PyErr_Occurred()) SWIG_fail;
9831 }
9832 resultobj = SWIG_Py_Void();
9833 return resultobj;
9834 fail:
9835 return NULL;
9836 }
9837
9838
9839 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj = 0;
9841 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9842 wxPoint *arg2 = 0 ;
9843 int *arg3 = 0 ;
9844 int *arg4 = 0 ;
9845 wxTreeItemId result;
9846 void *argp1 = 0 ;
9847 int res1 = 0 ;
9848 wxPoint temp2 ;
9849 int temp3 ;
9850 int res3 = SWIG_TMPOBJ ;
9851 int temp4 ;
9852 int res4 = SWIG_TMPOBJ ;
9853 PyObject * obj0 = 0 ;
9854 PyObject * obj1 = 0 ;
9855 char * kwnames[] = {
9856 (char *) "self",(char *) "point", NULL
9857 };
9858
9859 arg3 = &temp3;
9860 arg4 = &temp4;
9861 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9862 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9863 if (!SWIG_IsOK(res1)) {
9864 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9865 }
9866 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9867 {
9868 arg2 = &temp2;
9869 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9870 }
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9878 if (SWIG_IsTmpObj(res3)) {
9879 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9880 } else {
9881 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9882 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9883 }
9884 if (SWIG_IsTmpObj(res4)) {
9885 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9886 } else {
9887 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9888 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9889 }
9890 return resultobj;
9891 fail:
9892 return NULL;
9893 }
9894
9895
9896 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj = 0;
9898 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9899 wxTreeItemId *arg2 = 0 ;
9900 bool arg3 = (bool) false ;
9901 PyObject *result = 0 ;
9902 void *argp1 = 0 ;
9903 int res1 = 0 ;
9904 void *argp2 = 0 ;
9905 int res2 = 0 ;
9906 bool val3 ;
9907 int ecode3 = 0 ;
9908 PyObject * obj0 = 0 ;
9909 PyObject * obj1 = 0 ;
9910 PyObject * obj2 = 0 ;
9911 char * kwnames[] = {
9912 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9913 };
9914
9915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9917 if (!SWIG_IsOK(res1)) {
9918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9919 }
9920 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9921 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9922 if (!SWIG_IsOK(res2)) {
9923 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9924 }
9925 if (!argp2) {
9926 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9927 }
9928 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9929 if (obj2) {
9930 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9931 if (!SWIG_IsOK(ecode3)) {
9932 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9933 }
9934 arg3 = static_cast< bool >(val3);
9935 }
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 resultobj = result;
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9950 PyObject *resultobj = 0;
9951 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9952 wxTreeItemId *arg2 = 0 ;
9953 void *argp1 = 0 ;
9954 int res1 = 0 ;
9955 void *argp2 = 0 ;
9956 int res2 = 0 ;
9957 PyObject * obj0 = 0 ;
9958 PyObject * obj1 = 0 ;
9959 char * kwnames[] = {
9960 (char *) "self",(char *) "item", NULL
9961 };
9962
9963 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9964 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9965 if (!SWIG_IsOK(res1)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9967 }
9968 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9969 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9970 if (!SWIG_IsOK(res2)) {
9971 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9972 }
9973 if (!argp2) {
9974 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9975 }
9976 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_Py_Void();
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj = 0;
9992 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9993 wxTreeItemId *arg2 = 0 ;
9994 void *argp1 = 0 ;
9995 int res1 = 0 ;
9996 void *argp2 = 0 ;
9997 int res2 = 0 ;
9998 PyObject * obj0 = 0 ;
9999 PyObject * obj1 = 0 ;
10000 char * kwnames[] = {
10001 (char *) "self",(char *) "item", NULL
10002 };
10003
10004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10006 if (!SWIG_IsOK(res1)) {
10007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10008 }
10009 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10011 if (!SWIG_IsOK(res2)) {
10012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10013 }
10014 if (!argp2) {
10015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10016 }
10017 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10018 {
10019 PyThreadState* __tstate = wxPyBeginAllowThreads();
10020 (arg1)->Edit((wxTreeItemId const &)*arg2);
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 resultobj = SWIG_Py_Void();
10025 return resultobj;
10026 fail:
10027 return NULL;
10028 }
10029
10030
10031 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10032 PyObject *resultobj = 0;
10033 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10034 wxTreeItemId *arg2 = 0 ;
10035 void *argp1 = 0 ;
10036 int res1 = 0 ;
10037 void *argp2 = 0 ;
10038 int res2 = 0 ;
10039 PyObject * obj0 = 0 ;
10040 PyObject * obj1 = 0 ;
10041 char * kwnames[] = {
10042 (char *) "self",(char *) "item", NULL
10043 };
10044
10045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10047 if (!SWIG_IsOK(res1)) {
10048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10049 }
10050 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10052 if (!SWIG_IsOK(res2)) {
10053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10054 }
10055 if (!argp2) {
10056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10057 }
10058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 resultobj = SWIG_Py_Void();
10066 return resultobj;
10067 fail:
10068 return NULL;
10069 }
10070
10071
10072 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj = 0;
10074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10075 wxTreeItemId *arg2 = 0 ;
10076 wxString *arg3 = 0 ;
10077 int arg4 = (int) 0 ;
10078 wxTreeItemId result;
10079 void *argp1 = 0 ;
10080 int res1 = 0 ;
10081 void *argp2 = 0 ;
10082 int res2 = 0 ;
10083 bool temp3 = false ;
10084 int val4 ;
10085 int ecode4 = 0 ;
10086 PyObject * obj0 = 0 ;
10087 PyObject * obj1 = 0 ;
10088 PyObject * obj2 = 0 ;
10089 PyObject * obj3 = 0 ;
10090 char * kwnames[] = {
10091 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10092 };
10093
10094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10095 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10096 if (!SWIG_IsOK(res1)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10098 }
10099 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10100 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10101 if (!SWIG_IsOK(res2)) {
10102 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10103 }
10104 if (!argp2) {
10105 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10106 }
10107 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10108 {
10109 arg3 = wxString_in_helper(obj2);
10110 if (arg3 == NULL) SWIG_fail;
10111 temp3 = true;
10112 }
10113 if (obj3) {
10114 ecode4 = SWIG_AsVal_int(obj3, &val4);
10115 if (!SWIG_IsOK(ecode4)) {
10116 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10117 }
10118 arg4 = static_cast< int >(val4);
10119 }
10120 {
10121 PyThreadState* __tstate = wxPyBeginAllowThreads();
10122 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10123 wxPyEndAllowThreads(__tstate);
10124 if (PyErr_Occurred()) SWIG_fail;
10125 }
10126 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10127 {
10128 if (temp3)
10129 delete arg3;
10130 }
10131 return resultobj;
10132 fail:
10133 {
10134 if (temp3)
10135 delete arg3;
10136 }
10137 return NULL;
10138 }
10139
10140
10141 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10142 PyObject *resultobj = 0;
10143 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10144 wxWindow *result = 0 ;
10145 void *argp1 = 0 ;
10146 int res1 = 0 ;
10147 PyObject *swig_obj[1] ;
10148
10149 if (!args) SWIG_fail;
10150 swig_obj[0] = args;
10151 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10152 if (!SWIG_IsOK(res1)) {
10153 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10154 }
10155 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10156 {
10157 PyThreadState* __tstate = wxPyBeginAllowThreads();
10158 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10159 wxPyEndAllowThreads(__tstate);
10160 if (PyErr_Occurred()) SWIG_fail;
10161 }
10162 {
10163 resultobj = wxPyMake_wxObject(result, 0);
10164 }
10165 return resultobj;
10166 fail:
10167 return NULL;
10168 }
10169
10170
10171 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10172 PyObject *resultobj = 0;
10173 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10174 wxScrolledWindow *result = 0 ;
10175 void *argp1 = 0 ;
10176 int res1 = 0 ;
10177 PyObject *swig_obj[1] ;
10178
10179 if (!args) SWIG_fail;
10180 swig_obj[0] = args;
10181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10182 if (!SWIG_IsOK(res1)) {
10183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10184 }
10185 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10186 {
10187 PyThreadState* __tstate = wxPyBeginAllowThreads();
10188 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10189 wxPyEndAllowThreads(__tstate);
10190 if (PyErr_Occurred()) SWIG_fail;
10191 }
10192 {
10193 resultobj = wxPyMake_wxObject(result, 0);
10194 }
10195 return resultobj;
10196 fail:
10197 return NULL;
10198 }
10199
10200
10201 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10202 PyObject *obj;
10203 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10204 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10205 return SWIG_Py_Void();
10206 }
10207
10208 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10209 return SWIG_Python_InitShadowInstance(args);
10210 }
10211
10212 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10213 PyObject *resultobj = 0;
10214 wxWindow *arg1 = (wxWindow *) 0 ;
10215 int arg2 = (int) -1 ;
10216 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10217 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10218 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10219 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10220 wxSize const &arg5_defvalue = wxDefaultSize ;
10221 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10222 long arg6 = (long) 0 ;
10223 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10224 wxString *arg7 = (wxString *) &arg7_defvalue ;
10225 wxStaticPicture *result = 0 ;
10226 void *argp1 = 0 ;
10227 int res1 = 0 ;
10228 int val2 ;
10229 int ecode2 = 0 ;
10230 void *argp3 = 0 ;
10231 int res3 = 0 ;
10232 wxPoint temp4 ;
10233 wxSize temp5 ;
10234 long val6 ;
10235 int ecode6 = 0 ;
10236 bool temp7 = false ;
10237 PyObject * obj0 = 0 ;
10238 PyObject * obj1 = 0 ;
10239 PyObject * obj2 = 0 ;
10240 PyObject * obj3 = 0 ;
10241 PyObject * obj4 = 0 ;
10242 PyObject * obj5 = 0 ;
10243 PyObject * obj6 = 0 ;
10244 char * kwnames[] = {
10245 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10246 };
10247
10248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10250 if (!SWIG_IsOK(res1)) {
10251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10252 }
10253 arg1 = reinterpret_cast< wxWindow * >(argp1);
10254 if (obj1) {
10255 ecode2 = SWIG_AsVal_int(obj1, &val2);
10256 if (!SWIG_IsOK(ecode2)) {
10257 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10258 }
10259 arg2 = static_cast< int >(val2);
10260 }
10261 if (obj2) {
10262 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10263 if (!SWIG_IsOK(res3)) {
10264 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10265 }
10266 if (!argp3) {
10267 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10268 }
10269 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10270 }
10271 if (obj3) {
10272 {
10273 arg4 = &temp4;
10274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10275 }
10276 }
10277 if (obj4) {
10278 {
10279 arg5 = &temp5;
10280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10281 }
10282 }
10283 if (obj5) {
10284 ecode6 = SWIG_AsVal_long(obj5, &val6);
10285 if (!SWIG_IsOK(ecode6)) {
10286 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10287 }
10288 arg6 = static_cast< long >(val6);
10289 }
10290 if (obj6) {
10291 {
10292 arg7 = wxString_in_helper(obj6);
10293 if (arg7 == NULL) SWIG_fail;
10294 temp7 = true;
10295 }
10296 }
10297 {
10298 if (!wxPyCheckForApp()) SWIG_fail;
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10301 wxPyEndAllowThreads(__tstate);
10302 if (PyErr_Occurred()) SWIG_fail;
10303 }
10304 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10305 {
10306 if (temp7)
10307 delete arg7;
10308 }
10309 return resultobj;
10310 fail:
10311 {
10312 if (temp7)
10313 delete arg7;
10314 }
10315 return NULL;
10316 }
10317
10318
10319 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10320 PyObject *resultobj = 0;
10321 wxStaticPicture *result = 0 ;
10322
10323 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10324 {
10325 if (!wxPyCheckForApp()) SWIG_fail;
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 result = (wxStaticPicture *)new wxStaticPicture();
10328 wxPyEndAllowThreads(__tstate);
10329 if (PyErr_Occurred()) SWIG_fail;
10330 }
10331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10332 return resultobj;
10333 fail:
10334 return NULL;
10335 }
10336
10337
10338 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10339 PyObject *resultobj = 0;
10340 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10341 wxWindow *arg2 = (wxWindow *) 0 ;
10342 int arg3 = (int) -1 ;
10343 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10344 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10345 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10346 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10347 wxSize const &arg6_defvalue = wxDefaultSize ;
10348 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10349 long arg7 = (long) 0 ;
10350 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10351 wxString *arg8 = (wxString *) &arg8_defvalue ;
10352 bool result;
10353 void *argp1 = 0 ;
10354 int res1 = 0 ;
10355 void *argp2 = 0 ;
10356 int res2 = 0 ;
10357 int val3 ;
10358 int ecode3 = 0 ;
10359 void *argp4 = 0 ;
10360 int res4 = 0 ;
10361 wxPoint temp5 ;
10362 wxSize temp6 ;
10363 long val7 ;
10364 int ecode7 = 0 ;
10365 bool temp8 = false ;
10366 PyObject * obj0 = 0 ;
10367 PyObject * obj1 = 0 ;
10368 PyObject * obj2 = 0 ;
10369 PyObject * obj3 = 0 ;
10370 PyObject * obj4 = 0 ;
10371 PyObject * obj5 = 0 ;
10372 PyObject * obj6 = 0 ;
10373 PyObject * obj7 = 0 ;
10374 char * kwnames[] = {
10375 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10376 };
10377
10378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10382 }
10383 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10384 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10385 if (!SWIG_IsOK(res2)) {
10386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10387 }
10388 arg2 = reinterpret_cast< wxWindow * >(argp2);
10389 if (obj2) {
10390 ecode3 = SWIG_AsVal_int(obj2, &val3);
10391 if (!SWIG_IsOK(ecode3)) {
10392 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10393 }
10394 arg3 = static_cast< int >(val3);
10395 }
10396 if (obj3) {
10397 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10398 if (!SWIG_IsOK(res4)) {
10399 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10400 }
10401 if (!argp4) {
10402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10403 }
10404 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10405 }
10406 if (obj4) {
10407 {
10408 arg5 = &temp5;
10409 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10410 }
10411 }
10412 if (obj5) {
10413 {
10414 arg6 = &temp6;
10415 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10416 }
10417 }
10418 if (obj6) {
10419 ecode7 = SWIG_AsVal_long(obj6, &val7);
10420 if (!SWIG_IsOK(ecode7)) {
10421 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10422 }
10423 arg7 = static_cast< long >(val7);
10424 }
10425 if (obj7) {
10426 {
10427 arg8 = wxString_in_helper(obj7);
10428 if (arg8 == NULL) SWIG_fail;
10429 temp8 = true;
10430 }
10431 }
10432 {
10433 PyThreadState* __tstate = wxPyBeginAllowThreads();
10434 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 {
10439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10440 }
10441 {
10442 if (temp8)
10443 delete arg8;
10444 }
10445 return resultobj;
10446 fail:
10447 {
10448 if (temp8)
10449 delete arg8;
10450 }
10451 return NULL;
10452 }
10453
10454
10455 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10456 PyObject *resultobj = 0;
10457 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10458 wxBitmap *arg2 = 0 ;
10459 void *argp1 = 0 ;
10460 int res1 = 0 ;
10461 void *argp2 = 0 ;
10462 int res2 = 0 ;
10463 PyObject * obj0 = 0 ;
10464 PyObject * obj1 = 0 ;
10465 char * kwnames[] = {
10466 (char *) "self",(char *) "bmp", NULL
10467 };
10468
10469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10471 if (!SWIG_IsOK(res1)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10473 }
10474 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10475 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10476 if (!SWIG_IsOK(res2)) {
10477 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10478 }
10479 if (!argp2) {
10480 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10481 }
10482 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10483 {
10484 PyThreadState* __tstate = wxPyBeginAllowThreads();
10485 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 resultobj = SWIG_Py_Void();
10490 return resultobj;
10491 fail:
10492 return NULL;
10493 }
10494
10495
10496 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10497 PyObject *resultobj = 0;
10498 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10499 wxBitmap result;
10500 void *argp1 = 0 ;
10501 int res1 = 0 ;
10502 PyObject *swig_obj[1] ;
10503
10504 if (!args) SWIG_fail;
10505 swig_obj[0] = args;
10506 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10507 if (!SWIG_IsOK(res1)) {
10508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10509 }
10510 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10518 return resultobj;
10519 fail:
10520 return NULL;
10521 }
10522
10523
10524 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj = 0;
10526 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10527 wxIcon *arg2 = 0 ;
10528 void *argp1 = 0 ;
10529 int res1 = 0 ;
10530 void *argp2 = 0 ;
10531 int res2 = 0 ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 char * kwnames[] = {
10535 (char *) "self",(char *) "icon", NULL
10536 };
10537
10538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10540 if (!SWIG_IsOK(res1)) {
10541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10542 }
10543 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10545 if (!SWIG_IsOK(res2)) {
10546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10547 }
10548 if (!argp2) {
10549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10550 }
10551 arg2 = reinterpret_cast< wxIcon * >(argp2);
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 (arg1)->SetIcon((wxIcon const &)*arg2);
10555 wxPyEndAllowThreads(__tstate);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 }
10558 resultobj = SWIG_Py_Void();
10559 return resultobj;
10560 fail:
10561 return NULL;
10562 }
10563
10564
10565 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10566 PyObject *resultobj = 0;
10567 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10568 wxIcon result;
10569 void *argp1 = 0 ;
10570 int res1 = 0 ;
10571 PyObject *swig_obj[1] ;
10572
10573 if (!args) SWIG_fail;
10574 swig_obj[0] = args;
10575 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10576 if (!SWIG_IsOK(res1)) {
10577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10578 }
10579 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10580 {
10581 PyThreadState* __tstate = wxPyBeginAllowThreads();
10582 result = ((wxStaticPicture const *)arg1)->GetIcon();
10583 wxPyEndAllowThreads(__tstate);
10584 if (PyErr_Occurred()) SWIG_fail;
10585 }
10586 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10587 return resultobj;
10588 fail:
10589 return NULL;
10590 }
10591
10592
10593 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10594 PyObject *resultobj = 0;
10595 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10596 int arg2 ;
10597 void *argp1 = 0 ;
10598 int res1 = 0 ;
10599 int val2 ;
10600 int ecode2 = 0 ;
10601 PyObject * obj0 = 0 ;
10602 PyObject * obj1 = 0 ;
10603 char * kwnames[] = {
10604 (char *) "self",(char *) "align", NULL
10605 };
10606
10607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10609 if (!SWIG_IsOK(res1)) {
10610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10611 }
10612 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10613 ecode2 = SWIG_AsVal_int(obj1, &val2);
10614 if (!SWIG_IsOK(ecode2)) {
10615 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10616 }
10617 arg2 = static_cast< int >(val2);
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetAlignment(arg2);
10621 wxPyEndAllowThreads(__tstate);
10622 if (PyErr_Occurred()) SWIG_fail;
10623 }
10624 resultobj = SWIG_Py_Void();
10625 return resultobj;
10626 fail:
10627 return NULL;
10628 }
10629
10630
10631 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10632 PyObject *resultobj = 0;
10633 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10634 int result;
10635 void *argp1 = 0 ;
10636 int res1 = 0 ;
10637 PyObject *swig_obj[1] ;
10638
10639 if (!args) SWIG_fail;
10640 swig_obj[0] = args;
10641 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10642 if (!SWIG_IsOK(res1)) {
10643 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10644 }
10645 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = SWIG_From_int(static_cast< int >(result));
10653 return resultobj;
10654 fail:
10655 return NULL;
10656 }
10657
10658
10659 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj = 0;
10661 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10662 int arg2 ;
10663 void *argp1 = 0 ;
10664 int res1 = 0 ;
10665 int val2 ;
10666 int ecode2 = 0 ;
10667 PyObject * obj0 = 0 ;
10668 PyObject * obj1 = 0 ;
10669 char * kwnames[] = {
10670 (char *) "self",(char *) "scale", NULL
10671 };
10672
10673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10675 if (!SWIG_IsOK(res1)) {
10676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10677 }
10678 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10679 ecode2 = SWIG_AsVal_int(obj1, &val2);
10680 if (!SWIG_IsOK(ecode2)) {
10681 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10682 }
10683 arg2 = static_cast< int >(val2);
10684 {
10685 PyThreadState* __tstate = wxPyBeginAllowThreads();
10686 (arg1)->SetScale(arg2);
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 resultobj = SWIG_Py_Void();
10691 return resultobj;
10692 fail:
10693 return NULL;
10694 }
10695
10696
10697 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10698 PyObject *resultobj = 0;
10699 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10700 int result;
10701 void *argp1 = 0 ;
10702 int res1 = 0 ;
10703 PyObject *swig_obj[1] ;
10704
10705 if (!args) SWIG_fail;
10706 swig_obj[0] = args;
10707 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10708 if (!SWIG_IsOK(res1)) {
10709 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10710 }
10711 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_From_int(static_cast< int >(result));
10719 return resultobj;
10720 fail:
10721 return NULL;
10722 }
10723
10724
10725 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj = 0;
10727 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10728 float arg2 ;
10729 float arg3 ;
10730 void *argp1 = 0 ;
10731 int res1 = 0 ;
10732 float val2 ;
10733 int ecode2 = 0 ;
10734 float val3 ;
10735 int ecode3 = 0 ;
10736 PyObject * obj0 = 0 ;
10737 PyObject * obj1 = 0 ;
10738 PyObject * obj2 = 0 ;
10739 char * kwnames[] = {
10740 (char *) "self",(char *) "sx",(char *) "sy", NULL
10741 };
10742
10743 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10744 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10747 }
10748 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10749 ecode2 = SWIG_AsVal_float(obj1, &val2);
10750 if (!SWIG_IsOK(ecode2)) {
10751 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10752 }
10753 arg2 = static_cast< float >(val2);
10754 ecode3 = SWIG_AsVal_float(obj2, &val3);
10755 if (!SWIG_IsOK(ecode3)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10757 }
10758 arg3 = static_cast< float >(val3);
10759 {
10760 PyThreadState* __tstate = wxPyBeginAllowThreads();
10761 (arg1)->SetCustomScale(arg2,arg3);
10762 wxPyEndAllowThreads(__tstate);
10763 if (PyErr_Occurred()) SWIG_fail;
10764 }
10765 resultobj = SWIG_Py_Void();
10766 return resultobj;
10767 fail:
10768 return NULL;
10769 }
10770
10771
10772 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10773 PyObject *resultobj = 0;
10774 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10775 float *arg2 = (float *) 0 ;
10776 float *arg3 = (float *) 0 ;
10777 void *argp1 = 0 ;
10778 int res1 = 0 ;
10779 float temp2 ;
10780 int res2 = SWIG_TMPOBJ ;
10781 float temp3 ;
10782 int res3 = SWIG_TMPOBJ ;
10783 PyObject *swig_obj[1] ;
10784
10785 arg2 = &temp2;
10786 arg3 = &temp3;
10787 if (!args) SWIG_fail;
10788 swig_obj[0] = args;
10789 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10790 if (!SWIG_IsOK(res1)) {
10791 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10792 }
10793 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10794 {
10795 PyThreadState* __tstate = wxPyBeginAllowThreads();
10796 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = SWIG_Py_Void();
10801 if (SWIG_IsTmpObj(res2)) {
10802 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10803 } else {
10804 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10805 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10806 }
10807 if (SWIG_IsTmpObj(res3)) {
10808 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10809 } else {
10810 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10811 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10812 }
10813 return resultobj;
10814 fail:
10815 return NULL;
10816 }
10817
10818
10819 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10820 PyObject *obj;
10821 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10822 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10823 return SWIG_Py_Void();
10824 }
10825
10826 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10827 return SWIG_Python_InitShadowInstance(args);
10828 }
10829
10830 static PyMethodDef SwigMethods[] = {
10831 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10832 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10833 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10834 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10835 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10836 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10837 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10838 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10839 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10840 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10841 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10842 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10843 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10844 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10845 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10846 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10847 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10848 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10849 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10850 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10851 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10852 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10853 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10854 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10855 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10856 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10857 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10858 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10859 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10860 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10861 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10862 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10863 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10864 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10865 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10866 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10867 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10868 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10869 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10870 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10871 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10872 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10873 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10874 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10875 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10876 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10877 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10878 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10879 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10880 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10881 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10882 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10883 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10884 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10885 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10886 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10887 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10888 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10889 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10890 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10891 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10892 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10893 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10894 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10895 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10896 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10897 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10900 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10901 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10902 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10903 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10904 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10905 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10906 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10907 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10908 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10909 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10910 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10911 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10912 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10913 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10914 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10915 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10916 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10917 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10918 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10919 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10921 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10922 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10923 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10924 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10925 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10926 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10927 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10928 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10929 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10930 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10931 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10941 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10945 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10965 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10966 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10967 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10974 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10976 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10979 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10980 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10981 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10982 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10984 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
10985 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
10988 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
10990 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
10991 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
10992 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
10999 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11001 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11002 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11003 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11004 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11005 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11006 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11007 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11008 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11010 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11011 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11013 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11014 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11015 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11016 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11017 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11018 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11019 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11020 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11021 { NULL, NULL, 0, NULL }
11022 };
11023
11024
11025 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11026
11027 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11028 return (void *)((wxValidator *) ((wxPyValidator *) x));
11029 }
11030 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11031 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11032 }
11033 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11034 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11035 }
11036 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11037 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11038 }
11039 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11040 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11041 }
11042 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11043 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11044 }
11045 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11046 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11047 }
11048 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11049 return (void *)((wxPanel *) ((wxPyPanel *) x));
11050 }
11051 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11052 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11053 }
11054 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11055 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11056 }
11057 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11058 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11059 }
11060 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11061 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11062 }
11063 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11064 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11065 }
11066 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11067 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11068 }
11069 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11070 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11071 }
11072 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11073 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11074 }
11075 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11076 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11077 }
11078 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11079 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11080 }
11081 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11082 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11083 }
11084 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11085 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11086 }
11087 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11088 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11089 }
11090 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11091 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11092 }
11093 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11094 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11095 }
11096 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11097 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11098 }
11099 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11100 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11101 }
11102 static void *_p_wxControlTo_p_wxWindow(void *x) {
11103 return (void *)((wxWindow *) ((wxControl *) x));
11104 }
11105 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11106 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11107 }
11108 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11109 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11110 }
11111 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11112 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11113 }
11114 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11115 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11116 }
11117 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11118 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11119 }
11120 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11121 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11122 }
11123 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11124 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11125 }
11126 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11127 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11128 }
11129 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11130 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11131 }
11132 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11133 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11134 }
11135 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11136 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11137 }
11138 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11139 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11140 }
11141 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11142 return (void *)((wxWindow *) ((wxPyWindow *) x));
11143 }
11144 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11145 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11146 }
11147 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11148 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11149 }
11150 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11151 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11152 }
11153 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11155 }
11156 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11157 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11158 }
11159 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11160 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11161 }
11162 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11164 }
11165 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11166 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11167 }
11168 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11170 }
11171 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11173 }
11174 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11175 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11176 }
11177 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11178 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11179 }
11180 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11181 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11182 }
11183 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11184 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11185 }
11186 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11187 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11188 }
11189 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11190 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11191 }
11192 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11193 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11194 }
11195 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11196 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11197 }
11198 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11199 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11200 }
11201 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11202 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11203 }
11204 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11205 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11206 }
11207 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11208 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11209 }
11210 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11211 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11212 }
11213 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11214 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11215 }
11216 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11217 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11218 }
11219 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11220 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11221 }
11222 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11223 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11224 }
11225 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11227 }
11228 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11229 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11230 }
11231 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11232 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11233 }
11234 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11235 return (void *)((wxWindow *) ((wxStatusBar *) x));
11236 }
11237 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11239 }
11240 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11241 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11242 }
11243 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11244 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11245 }
11246 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11247 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11248 }
11249 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11250 return (void *)((wxWindow *) ((wxSashWindow *) x));
11251 }
11252 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11253 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11254 }
11255 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11256 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11257 }
11258 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11259 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11260 }
11261 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11262 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11263 }
11264 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11265 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11266 }
11267 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11268 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11269 }
11270 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11271 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11272 }
11273 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11274 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
11275 }
11276 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11277 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11278 }
11279 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11280 return (void *)((wxWindow *) ((wxMenuBar *) x));
11281 }
11282 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11283 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11284 }
11285 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11286 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11287 }
11288 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11289 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11290 }
11291 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11292 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11293 }
11294 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11295 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11296 }
11297 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11298 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11299 }
11300 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11301 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11302 }
11303 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11304 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11305 }
11306 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11307 return (void *)((wxWindow *) ((wxPanel *) x));
11308 }
11309 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11310 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11311 }
11312 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11313 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11314 }
11315 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11316 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11317 }
11318 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11319 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11320 }
11321 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11322 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11323 }
11324 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11325 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11326 }
11327 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11328 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11329 }
11330 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11331 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11332 }
11333 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11334 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11335 }
11336 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11337 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11338 }
11339 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11340 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11341 }
11342 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11343 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11344 }
11345 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11346 return (void *)((wxControl *) ((wxToggleButton *) x));
11347 }
11348 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11349 return (void *)((wxControl *) ((wxRadioButton *) x));
11350 }
11351 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11352 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11353 }
11354 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11355 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11356 }
11357 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11358 return (void *)((wxControl *) ((wxToolBarBase *) x));
11359 }
11360 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11361 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11362 }
11363 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11364 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11365 }
11366 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11367 return (void *)((wxControl *) ((wxComboBox *) x));
11368 }
11369 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11370 return (void *)((wxControl *) ((wxPyControl *) x));
11371 }
11372 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11373 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11374 }
11375 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11376 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11377 }
11378 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11379 return (void *)((wxControl *) ((wxScrollBar *) x));
11380 }
11381 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11382 return (void *)((wxControl *) ((wxControlWithItems *) x));
11383 }
11384 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11385 return (void *)((wxControl *) ((wxGauge *) x));
11386 }
11387 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11388 return (void *)((wxControl *) ((wxStaticLine *) x));
11389 }
11390 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11391 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11392 }
11393 static void *_p_wxListbookTo_p_wxControl(void *x) {
11394 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11395 }
11396 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11397 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11398 }
11399 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11400 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11401 }
11402 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11403 return (void *)((wxControl *) ((wxCheckBox *) x));
11404 }
11405 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11406 return (void *)((wxControl *) ((wxRadioBox *) x));
11407 }
11408 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11409 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11410 }
11411 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11412 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11413 }
11414 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11415 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11416 }
11417 static void *_p_wxListViewTo_p_wxControl(void *x) {
11418 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11419 }
11420 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11421 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11422 }
11423 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11424 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11425 }
11426 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11427 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11428 }
11429 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11430 return (void *)((wxControl *) ((wxStaticText *) x));
11431 }
11432 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11433 return (void *)((wxControl *) ((wxStaticBox *) x));
11434 }
11435 static void *_p_wxSliderTo_p_wxControl(void *x) {
11436 return (void *)((wxControl *) ((wxSlider *) x));
11437 }
11438 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11439 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11440 }
11441 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11442 return (void *)((wxControl *) ((wxSpinButton *) x));
11443 }
11444 static void *_p_wxButtonTo_p_wxControl(void *x) {
11445 return (void *)((wxControl *) ((wxButton *) x));
11446 }
11447 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11448 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11449 }
11450 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11451 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11452 }
11453 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11454 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11455 }
11456 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11457 return (void *)((wxControl *) ((wxStaticPicture *) x));
11458 }
11459 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11460 return (void *)((wxControl *) ((wxTextCtrl *) x));
11461 }
11462 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11463 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11464 }
11465 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11466 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11467 }
11468 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11469 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11470 }
11471 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11472 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11473 }
11474 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11475 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11476 }
11477 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11478 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11479 }
11480 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11481 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11482 }
11483 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11484 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11485 }
11486 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11487 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11488 }
11489 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11490 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11491 }
11492 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11493 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11494 }
11495 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11496 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11497 }
11498 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11499 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11500 }
11501 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11502 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11503 }
11504 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11505 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11506 }
11507 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11508 return (void *)((wxEvent *) ((wxPyEvent *) x));
11509 }
11510 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11511 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11512 }
11513 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11514 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11515 }
11516 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11517 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11518 }
11519 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11521 }
11522 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11523 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11524 }
11525 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11526 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11527 }
11528 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11529 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11530 }
11531 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11532 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11533 }
11534 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11535 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11536 }
11537 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11538 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11539 }
11540 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11541 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11542 }
11543 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11544 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11545 }
11546 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11547 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11548 }
11549 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11550 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11551 }
11552 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11553 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11554 }
11555 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11556 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11557 }
11558 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11559 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11560 }
11561 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11562 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11563 }
11564 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11566 }
11567 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11569 }
11570 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11571 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11572 }
11573 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11574 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11575 }
11576 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11577 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11578 }
11579 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11580 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11581 }
11582 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11583 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11584 }
11585 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11586 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11587 }
11588 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11589 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11590 }
11591 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11592 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11593 }
11594 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11595 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11596 }
11597 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11598 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11599 }
11600 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11601 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11602 }
11603 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11604 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11605 }
11606 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11607 return (void *)((wxEvent *) ((wxShowEvent *) x));
11608 }
11609 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11610 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11611 }
11612 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11613 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11614 }
11615 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11616 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11617 }
11618 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11619 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11620 }
11621 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11622 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11623 }
11624 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11625 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11626 }
11627 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11628 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11629 }
11630 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11631 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11632 }
11633 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11635 }
11636 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11637 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11638 }
11639 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11641 }
11642 static void *_p_wxEventTo_p_wxObject(void *x) {
11643 return (void *)((wxObject *) ((wxEvent *) x));
11644 }
11645 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11647 }
11648 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11649 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11650 }
11651 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11652 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11653 }
11654 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11656 }
11657 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11659 }
11660 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11662 }
11663 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11664 return (void *)((wxObject *) ((wxMenuItem *) x));
11665 }
11666 static void *_p_wxImageTo_p_wxObject(void *x) {
11667 return (void *)((wxObject *) ((wxImage *) x));
11668 }
11669 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11670 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11671 }
11672 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11673 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11674 }
11675 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11676 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11677 }
11678 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
11680 }
11681 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11682 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11683 }
11684 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11685 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11686 }
11687 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11688 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11689 }
11690 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11691 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11692 }
11693 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11695 }
11696 static void *_p_wxListItemTo_p_wxObject(void *x) {
11697 return (void *)((wxObject *) ((wxListItem *) x));
11698 }
11699 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11701 }
11702 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11704 }
11705 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11707 }
11708 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11709 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11710 }
11711 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11712 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11713 }
11714 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11715 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11716 }
11717 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11718 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11719 }
11720 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11722 }
11723 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11724 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11725 }
11726 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11727 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11728 }
11729 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11730 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11731 }
11732 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11733 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11734 }
11735 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11736 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11737 }
11738 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11739 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11740 }
11741 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11742 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11743 }
11744 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11745 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11746 }
11747 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11748 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11749 }
11750 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11751 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11752 }
11753 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11754 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11755 }
11756 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11757 return (void *)((wxObject *) ((wxPrinter *) x));
11758 }
11759 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11761 }
11762 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11764 }
11765 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11766 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11767 }
11768 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11769 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11770 }
11771 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11772 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11773 }
11774 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11775 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11776 }
11777 static void *_p_wxControlTo_p_wxObject(void *x) {
11778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11779 }
11780 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11782 }
11783 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11784 return (void *)((wxObject *) ((wxContextHelp *) x));
11785 }
11786 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11787 return (void *)((wxObject *) ((wxColourData *) x));
11788 }
11789 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11790 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11791 }
11792 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11793 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11794 }
11795 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11796 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11797 }
11798 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11799 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11800 }
11801 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11802 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11803 }
11804 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11805 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11806 }
11807 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11809 }
11810 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11811 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11812 }
11813 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11815 }
11816 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11818 }
11819 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11820 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11821 }
11822 static void *_p_wxListEventTo_p_wxObject(void *x) {
11823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11824 }
11825 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11826 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11827 }
11828 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11829 return (void *)((wxObject *) ((wxPyPrintout *) x));
11830 }
11831 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11833 }
11834 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11836 }
11837 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11838 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11839 }
11840 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11842 }
11843 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11845 }
11846 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11848 }
11849 static void *_p_wxButtonTo_p_wxObject(void *x) {
11850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11851 }
11852 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11854 }
11855 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11856 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11857 }
11858 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11859 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11860 }
11861 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11863 }
11864 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11866 }
11867 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11869 }
11870 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11872 }
11873 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11875 }
11876 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11877 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11878 }
11879 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11880 return (void *)((wxObject *) ((wxPrintData *) x));
11881 }
11882 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11883 return (void *)((wxObject *) ((wxFontData *) x));
11884 }
11885 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11887 }
11888 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11890 }
11891 static void *_p_wxListbookTo_p_wxObject(void *x) {
11892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11893 }
11894 static void *_p_wxFrameTo_p_wxObject(void *x) {
11895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11896 }
11897 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11899 }
11900 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11902 }
11903 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11904 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11905 }
11906 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11908 }
11909 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11910 return (void *)((wxObject *) ((wxFileSystem *) x));
11911 }
11912 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11913 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11914 }
11915 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11916 return (void *)((wxObject *) ((wxPrintPreview *) x));
11917 }
11918 static void *_p_wxListViewTo_p_wxObject(void *x) {
11919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11920 }
11921 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11922 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11923 }
11924 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11926 }
11927 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11929 }
11930 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11932 }
11933 static void *_p_wxSizerTo_p_wxObject(void *x) {
11934 return (void *)((wxObject *) ((wxSizer *) x));
11935 }
11936 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11937 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11938 }
11939 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11940 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11941 }
11942 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11943 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11944 }
11945 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11946 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11947 }
11948 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11949 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11950 }
11951 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
11952 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
11953 }
11954 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11955 return (void *)((wxObject *) ((wxFSFile *) x));
11956 }
11957 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11958 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11959 }
11960 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11961 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11962 }
11963 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
11964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
11965 }
11966 static void *_p_wxMenuTo_p_wxObject(void *x) {
11967 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11968 }
11969 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
11970 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
11971 }
11972 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11973 return (void *)((wxObject *) ((wxSizerItem *) x));
11974 }
11975 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11976 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11977 }
11978 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
11979 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
11980 }
11981 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11982 return (void *)((wxObject *) ((wxPrintDialog *) x));
11983 }
11984 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11985 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
11986 }
11987 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11988 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11989 }
11990 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11992 }
11993 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11995 }
11996 static void *_p_wxDialogTo_p_wxObject(void *x) {
11997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11998 }
11999 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12000 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12001 }
12002 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12003 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12004 }
12005 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12006 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12007 }
12008 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12009 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12010 }
12011 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12012 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12013 }
12014 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12015 return (void *)((wxObject *) ((wxEvtHandler *) x));
12016 }
12017 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12018 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12019 }
12020 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12021 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12022 }
12023 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12024 return (void *)((wxObject *) ((wxImageHandler *) x));
12025 }
12026 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12027 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12028 }
12029 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12030 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12031 }
12032 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12033 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12034 }
12035 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12036 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12037 }
12038 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12039 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12040 }
12041 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12042 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12043 }
12044 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12045 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12046 }
12047 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12048 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12049 }
12050 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12051 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12052 }
12053 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12054 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12055 }
12056 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12057 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12058 }
12059 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12061 }
12062 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12063 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12064 }
12065 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12067 }
12068 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
12070 }
12071 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12073 }
12074 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12076 }
12077 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12078 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12079 }
12080 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12081 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12082 }
12083 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12085 }
12086 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12087 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12088 }
12089 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12091 }
12092 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12093 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12094 }
12095 static void *_p_wxWindowTo_p_wxObject(void *x) {
12096 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12097 }
12098 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12099 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12100 }
12101 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12102 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12103 }
12104 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12105 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12106 }
12107 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12109 }
12110 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12112 }
12113 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12114 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12115 }
12116 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12118 }
12119 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12120 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12121 }
12122 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12123 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12124 }
12125 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12126 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12127 }
12128 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12130 }
12131 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12132 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12133 }
12134 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12135 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12136 }
12137 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12139 }
12140 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12142 }
12143 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12145 }
12146 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12148 }
12149 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12151 }
12152 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12153 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12154 }
12155 static void *_p_wxSliderTo_p_wxObject(void *x) {
12156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12157 }
12158 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12160 }
12161 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12163 }
12164 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12165 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12166 }
12167 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12168 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12169 }
12170 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12171 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12172 }
12173 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12174 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12175 }
12176 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12177 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12178 }
12179 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12181 }
12182 static void *_p_wxPanelTo_p_wxObject(void *x) {
12183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12184 }
12185 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12186 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12187 }
12188 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12189 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12190 }
12191 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12192 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12193 }
12194 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12195 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12196 }
12197 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12198 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12199 }
12200 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12201 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12202 }
12203 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12204 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12205 }
12206 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12208 }
12209 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12211 }
12212 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12214 }
12215 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12217 }
12218 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12219 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12220 }
12221 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12222 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12223 }
12224 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12225 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12226 }
12227 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12229 }
12230 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12232 }
12233 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12235 }
12236 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12237 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12238 }
12239 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12240 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12241 }
12242 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12243 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12244 }
12245 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12246 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12247 }
12248 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12249 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12250 }
12251 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12252 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12253 }
12254 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12255 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12256 }
12257 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12258 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12259 }
12260 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12261 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12262 }
12263 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12264 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12265 }
12266 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12267 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12268 }
12269 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12270 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12271 }
12272 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12273 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12274 }
12275 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12276 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12277 }
12278 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12279 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12280 }
12281 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12282 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12283 }
12284 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12285 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12286 }
12287 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12288 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12289 }
12290 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12291 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12292 }
12293 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12294 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12295 }
12296 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12297 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12298 }
12299 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12300 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12301 }
12302 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12303 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12304 }
12305 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12306 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12307 }
12308 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12309 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12310 }
12311 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12312 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12313 }
12314 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12315 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12316 }
12317 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12318 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12319 }
12320 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12321 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12322 }
12323 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12324 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12325 }
12326 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12327 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12328 }
12329 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12330 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12331 }
12332 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12333 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12334 }
12335 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12337 }
12338 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12340 }
12341 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12342 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12343 }
12344 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12345 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12346 }
12347 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12348 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12349 }
12350 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12351 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12352 }
12353 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12354 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12355 }
12356 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12358 }
12359 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12361 }
12362 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12364 }
12365 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12366 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12367 }
12368 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12369 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12370 }
12371 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12372 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12373 }
12374 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12376 }
12377 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12378 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12379 }
12380 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12382 }
12383 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12384 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12385 }
12386 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12387 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12388 }
12389 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12390 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12391 }
12392 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12394 }
12395 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
12397 }
12398 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12399 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12400 }
12401 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12402 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12403 }
12404 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12406 }
12407 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12408 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12409 }
12410 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12412 }
12413 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12415 }
12416 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12417 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12418 }
12419 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12420 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12421 }
12422 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12423 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12424 }
12425 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12426 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12427 }
12428 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12429 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12430 }
12431 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12432 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12433 }
12434 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12435 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12436 }
12437 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12438 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12439 }
12440 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12441 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12442 }
12443 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12444 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12445 }
12446 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12447 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12448 }
12449 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
12451 }
12452 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12453 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12454 }
12455 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12456 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12457 }
12458 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12459 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12460 }
12461 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12462 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12463 }
12464 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12465 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12466 }
12467 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12468 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12469 }
12470 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12472 }
12473 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12474 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12475 }
12476 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12478 }
12479 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12481 }
12482 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12483 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12484 }
12485 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12487 }
12488 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12489 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12490 }
12491 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12493 }
12494 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12495 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12496 }
12497 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12498 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12499 }
12500 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12502 }
12503 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12504 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12505 }
12506 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12507 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12508 }
12509 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12510 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12511 }
12512 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12513 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12514 }
12515 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12516 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12517 }
12518 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12519 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12520 }
12521 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12522 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12523 }
12524 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12525 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12526 }
12527 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12528 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12529 }
12530 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12531 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12532 }
12533 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12534 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12535 }
12536 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12537 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12538 }
12539 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12540 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12541 }
12542 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12543 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12544 }
12545 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12546 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12547 }
12548 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12549 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12550 }
12551 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12552 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12553 }
12554 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12555 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12556 }
12557 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12558 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12559 }
12560 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12561 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12562 }
12563 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12564 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12565 }
12566 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12567 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12568 }
12569 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12570 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12571 }
12572 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12573 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12574 }
12575 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12576 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12577 }
12578 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12579 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12580 }
12581 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12582 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12583 }
12584 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12585 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12586 }
12587 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12588 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12589 }
12590 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12591 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12592 }
12593 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12594 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12595 }
12596 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12597 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12598 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};
12599 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12600 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12601 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12602 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12603 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12604 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12605 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12606 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12607 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12608 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12609 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12610 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12611 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12612 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12613 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12614 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12615 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12616 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12617 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12618 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12619 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12620 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12621 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12622 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12623 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12624 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12625 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12626 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12627 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12628 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12629 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12630 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12631 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12632 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12633 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12634 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12635 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12636 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12637 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12638 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12639 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12640 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12641 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12642 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12643 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12644 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12645 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12646 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12647 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12648 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12649 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12650 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12651 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12652 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12653 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12654 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12655 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12656 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12657 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12658 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12659 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12660 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12661 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12662 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12663 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12664 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12665 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12666 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12667 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12668 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12669 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12670 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12671 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12672 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12674 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12678 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12679 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12682 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12683 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12691 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12692 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12693 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12694 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12695 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12696 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12697 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12702 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12720 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12721 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12745 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12746 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12747 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12748 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12749 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12797 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12798 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12799 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12800 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12801 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12802 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12803 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12804 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12805 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12806 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12807 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12808 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12809 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12810 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12811 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12812 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12813 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12814
12815 static swig_type_info *swig_type_initial[] = {
12816 &_swigt__p_char,
12817 &_swigt__p_float,
12818 &_swigt__p_form_ops_t,
12819 &_swigt__p_int,
12820 &_swigt__p_unsigned_char,
12821 &_swigt__p_unsigned_int,
12822 &_swigt__p_unsigned_long,
12823 &_swigt__p_wxANIHandler,
12824 &_swigt__p_wxAcceleratorTable,
12825 &_swigt__p_wxActivateEvent,
12826 &_swigt__p_wxArrayString,
12827 &_swigt__p_wxBMPHandler,
12828 &_swigt__p_wxBitmap,
12829 &_swigt__p_wxBitmapButton,
12830 &_swigt__p_wxBookCtrlBase,
12831 &_swigt__p_wxBookCtrlBaseEvent,
12832 &_swigt__p_wxBoxSizer,
12833 &_swigt__p_wxButton,
12834 &_swigt__p_wxCURHandler,
12835 &_swigt__p_wxCalculateLayoutEvent,
12836 &_swigt__p_wxCheckBox,
12837 &_swigt__p_wxCheckListBox,
12838 &_swigt__p_wxChildFocusEvent,
12839 &_swigt__p_wxChoice,
12840 &_swigt__p_wxChoicebook,
12841 &_swigt__p_wxChoicebookEvent,
12842 &_swigt__p_wxClipboardTextEvent,
12843 &_swigt__p_wxCloseEvent,
12844 &_swigt__p_wxColour,
12845 &_swigt__p_wxColourData,
12846 &_swigt__p_wxColourDialog,
12847 &_swigt__p_wxComboBox,
12848 &_swigt__p_wxCommandEvent,
12849 &_swigt__p_wxContextHelp,
12850 &_swigt__p_wxContextHelpButton,
12851 &_swigt__p_wxContextMenuEvent,
12852 &_swigt__p_wxControl,
12853 &_swigt__p_wxControlWithItems,
12854 &_swigt__p_wxDateEvent,
12855 &_swigt__p_wxDatePickerCtrl,
12856 &_swigt__p_wxDialog,
12857 &_swigt__p_wxDirDialog,
12858 &_swigt__p_wxDirFilterListCtrl,
12859 &_swigt__p_wxDisplayChangedEvent,
12860 &_swigt__p_wxDropFilesEvent,
12861 &_swigt__p_wxDuplexMode,
12862 &_swigt__p_wxDynamicSashSplitEvent,
12863 &_swigt__p_wxDynamicSashUnifyEvent,
12864 &_swigt__p_wxDynamicSashWindow,
12865 &_swigt__p_wxEditableListBox,
12866 &_swigt__p_wxEraseEvent,
12867 &_swigt__p_wxEvent,
12868 &_swigt__p_wxEvtHandler,
12869 &_swigt__p_wxFSFile,
12870 &_swigt__p_wxFileDialog,
12871 &_swigt__p_wxFileSystem,
12872 &_swigt__p_wxFindDialogEvent,
12873 &_swigt__p_wxFindReplaceData,
12874 &_swigt__p_wxFindReplaceDialog,
12875 &_swigt__p_wxFlexGridSizer,
12876 &_swigt__p_wxFocusEvent,
12877 &_swigt__p_wxFont,
12878 &_swigt__p_wxFontData,
12879 &_swigt__p_wxFontDialog,
12880 &_swigt__p_wxFrame,
12881 &_swigt__p_wxGBSizerItem,
12882 &_swigt__p_wxGIFHandler,
12883 &_swigt__p_wxGauge,
12884 &_swigt__p_wxGenericDirCtrl,
12885 &_swigt__p_wxGenericDragImage,
12886 &_swigt__p_wxGridBagSizer,
12887 &_swigt__p_wxGridSizer,
12888 &_swigt__p_wxHelpEvent,
12889 &_swigt__p_wxICOHandler,
12890 &_swigt__p_wxIcon,
12891 &_swigt__p_wxIconizeEvent,
12892 &_swigt__p_wxIdleEvent,
12893 &_swigt__p_wxImage,
12894 &_swigt__p_wxImageHandler,
12895 &_swigt__p_wxImageList,
12896 &_swigt__p_wxIndividualLayoutConstraint,
12897 &_swigt__p_wxInitDialogEvent,
12898 &_swigt__p_wxJPEGHandler,
12899 &_swigt__p_wxKeyEvent,
12900 &_swigt__p_wxLEDNumberCtrl,
12901 &_swigt__p_wxLayoutAlgorithm,
12902 &_swigt__p_wxLayoutConstraints,
12903 &_swigt__p_wxListBox,
12904 &_swigt__p_wxListEvent,
12905 &_swigt__p_wxListItem,
12906 &_swigt__p_wxListView,
12907 &_swigt__p_wxListbook,
12908 &_swigt__p_wxListbookEvent,
12909 &_swigt__p_wxMDIChildFrame,
12910 &_swigt__p_wxMDIClientWindow,
12911 &_swigt__p_wxMDIParentFrame,
12912 &_swigt__p_wxMaximizeEvent,
12913 &_swigt__p_wxMenu,
12914 &_swigt__p_wxMenuBar,
12915 &_swigt__p_wxMenuEvent,
12916 &_swigt__p_wxMenuItem,
12917 &_swigt__p_wxMessageDialog,
12918 &_swigt__p_wxMiniFrame,
12919 &_swigt__p_wxMouseCaptureChangedEvent,
12920 &_swigt__p_wxMouseEvent,
12921 &_swigt__p_wxMoveEvent,
12922 &_swigt__p_wxMultiChoiceDialog,
12923 &_swigt__p_wxNavigationKeyEvent,
12924 &_swigt__p_wxNcPaintEvent,
12925 &_swigt__p_wxNotebook,
12926 &_swigt__p_wxNotebookEvent,
12927 &_swigt__p_wxNotifyEvent,
12928 &_swigt__p_wxObject,
12929 &_swigt__p_wxPCXHandler,
12930 &_swigt__p_wxPNGHandler,
12931 &_swigt__p_wxPNMHandler,
12932 &_swigt__p_wxPageSetupDialog,
12933 &_swigt__p_wxPageSetupDialogData,
12934 &_swigt__p_wxPaintEvent,
12935 &_swigt__p_wxPaletteChangedEvent,
12936 &_swigt__p_wxPanel,
12937 &_swigt__p_wxPaperSize,
12938 &_swigt__p_wxPasswordEntryDialog,
12939 &_swigt__p_wxPopupWindow,
12940 &_swigt__p_wxPreviewCanvas,
12941 &_swigt__p_wxPreviewControlBar,
12942 &_swigt__p_wxPreviewFrame,
12943 &_swigt__p_wxPrintData,
12944 &_swigt__p_wxPrintDialog,
12945 &_swigt__p_wxPrintDialogData,
12946 &_swigt__p_wxPrintPreview,
12947 &_swigt__p_wxPrinter,
12948 &_swigt__p_wxProgressDialog,
12949 &_swigt__p_wxPyApp,
12950 &_swigt__p_wxPyCommandEvent,
12951 &_swigt__p_wxPyControl,
12952 &_swigt__p_wxPyEvent,
12953 &_swigt__p_wxPyHtmlListBox,
12954 &_swigt__p_wxPyImageHandler,
12955 &_swigt__p_wxPyListCtrl,
12956 &_swigt__p_wxPyPanel,
12957 &_swigt__p_wxPyPopupTransientWindow,
12958 &_swigt__p_wxPyPreviewControlBar,
12959 &_swigt__p_wxPyPreviewFrame,
12960 &_swigt__p_wxPyPrintPreview,
12961 &_swigt__p_wxPyPrintout,
12962 &_swigt__p_wxPyScrolledWindow,
12963 &_swigt__p_wxPySizer,
12964 &_swigt__p_wxPyTaskBarIcon,
12965 &_swigt__p_wxPyTreeCompanionWindow,
12966 &_swigt__p_wxPyTreeCtrl,
12967 &_swigt__p_wxPyTreeItemData,
12968 &_swigt__p_wxPyTreeListCtrl,
12969 &_swigt__p_wxPyVListBox,
12970 &_swigt__p_wxPyVScrolledWindow,
12971 &_swigt__p_wxPyValidator,
12972 &_swigt__p_wxPyWindow,
12973 &_swigt__p_wxQueryLayoutInfoEvent,
12974 &_swigt__p_wxQueryNewPaletteEvent,
12975 &_swigt__p_wxRadioBox,
12976 &_swigt__p_wxRadioButton,
12977 &_swigt__p_wxRemotelyScrolledTreeCtrl,
12978 &_swigt__p_wxSashEvent,
12979 &_swigt__p_wxSashLayoutWindow,
12980 &_swigt__p_wxSashWindow,
12981 &_swigt__p_wxScrollBar,
12982 &_swigt__p_wxScrollEvent,
12983 &_swigt__p_wxScrollWinEvent,
12984 &_swigt__p_wxScrolledWindow,
12985 &_swigt__p_wxSetCursorEvent,
12986 &_swigt__p_wxShowEvent,
12987 &_swigt__p_wxSingleChoiceDialog,
12988 &_swigt__p_wxSizeEvent,
12989 &_swigt__p_wxSizer,
12990 &_swigt__p_wxSizerItem,
12991 &_swigt__p_wxSlider,
12992 &_swigt__p_wxSpinButton,
12993 &_swigt__p_wxSpinCtrl,
12994 &_swigt__p_wxSpinEvent,
12995 &_swigt__p_wxSplashScreen,
12996 &_swigt__p_wxSplashScreenWindow,
12997 &_swigt__p_wxSplitterEvent,
12998 &_swigt__p_wxSplitterScrolledWindow,
12999 &_swigt__p_wxSplitterWindow,
13000 &_swigt__p_wxStaticBitmap,
13001 &_swigt__p_wxStaticBox,
13002 &_swigt__p_wxStaticBoxSizer,
13003 &_swigt__p_wxStaticLine,
13004 &_swigt__p_wxStaticPicture,
13005 &_swigt__p_wxStaticText,
13006 &_swigt__p_wxStatusBar,
13007 &_swigt__p_wxStdDialogButtonSizer,
13008 &_swigt__p_wxSysColourChangedEvent,
13009 &_swigt__p_wxTIFFHandler,
13010 &_swigt__p_wxTaskBarIconEvent,
13011 &_swigt__p_wxTextCtrl,
13012 &_swigt__p_wxTextEntryDialog,
13013 &_swigt__p_wxTextUrlEvent,
13014 &_swigt__p_wxThinSplitterWindow,
13015 &_swigt__p_wxTipWindow,
13016 &_swigt__p_wxToggleButton,
13017 &_swigt__p_wxToolBar,
13018 &_swigt__p_wxToolBarBase,
13019 &_swigt__p_wxToolBarToolBase,
13020 &_swigt__p_wxToolbook,
13021 &_swigt__p_wxToolbookEvent,
13022 &_swigt__p_wxTopLevelWindow,
13023 &_swigt__p_wxTreeEvent,
13024 &_swigt__p_wxTreeItemId,
13025 &_swigt__p_wxTreeListColumnInfo,
13026 &_swigt__p_wxTreebook,
13027 &_swigt__p_wxTreebookEvent,
13028 &_swigt__p_wxUpdateUIEvent,
13029 &_swigt__p_wxValidator,
13030 &_swigt__p_wxWindow,
13031 &_swigt__p_wxWindowCreateEvent,
13032 &_swigt__p_wxWindowDestroyEvent,
13033 &_swigt__p_wxXPMHandler,
13034 };
13035
13036 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13037 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13038 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13040 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13041 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13044 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13045 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13058 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13070 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_wxSplitterEvent, _p_wxSplitterEventTo_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}};
13071 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13084 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13105 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_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_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_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13126 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13140 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_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_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}};
13141 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13143 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13144 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13145 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13146 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13147 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13148 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13149 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13150 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13151 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13152 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13153 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13154 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13155 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13156 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13157 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13158 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13159 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13160 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13161 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13162 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13163 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13164 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13165 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13166 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13167 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13168 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13169 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13170 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13171 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13172 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13173 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13174 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13178 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13183 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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_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_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_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}};
13184 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13212 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13216 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13217 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13223 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13224 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13225 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13226 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13227 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13228 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13232 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13233 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13234 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13235 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_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_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_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_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_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_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_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_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_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_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_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_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_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_wxTipWindow, _p_wxTipWindowTo_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_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_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_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_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}};
13236 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}};
13237 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13238 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}};
13239 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13240 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}};
13241 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13242 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13243 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13244 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13245 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}};
13246 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13247 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}};
13248 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13249 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13250 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13251 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13252 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}};
13253 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_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_wxTextEntryDialog, _p_wxTextEntryDialogTo_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_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_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_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_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_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}};
13254
13255 static swig_cast_info *swig_cast_initial[] = {
13256 _swigc__p_char,
13257 _swigc__p_float,
13258 _swigc__p_form_ops_t,
13259 _swigc__p_int,
13260 _swigc__p_unsigned_char,
13261 _swigc__p_unsigned_int,
13262 _swigc__p_unsigned_long,
13263 _swigc__p_wxANIHandler,
13264 _swigc__p_wxAcceleratorTable,
13265 _swigc__p_wxActivateEvent,
13266 _swigc__p_wxArrayString,
13267 _swigc__p_wxBMPHandler,
13268 _swigc__p_wxBitmap,
13269 _swigc__p_wxBitmapButton,
13270 _swigc__p_wxBookCtrlBase,
13271 _swigc__p_wxBookCtrlBaseEvent,
13272 _swigc__p_wxBoxSizer,
13273 _swigc__p_wxButton,
13274 _swigc__p_wxCURHandler,
13275 _swigc__p_wxCalculateLayoutEvent,
13276 _swigc__p_wxCheckBox,
13277 _swigc__p_wxCheckListBox,
13278 _swigc__p_wxChildFocusEvent,
13279 _swigc__p_wxChoice,
13280 _swigc__p_wxChoicebook,
13281 _swigc__p_wxChoicebookEvent,
13282 _swigc__p_wxClipboardTextEvent,
13283 _swigc__p_wxCloseEvent,
13284 _swigc__p_wxColour,
13285 _swigc__p_wxColourData,
13286 _swigc__p_wxColourDialog,
13287 _swigc__p_wxComboBox,
13288 _swigc__p_wxCommandEvent,
13289 _swigc__p_wxContextHelp,
13290 _swigc__p_wxContextHelpButton,
13291 _swigc__p_wxContextMenuEvent,
13292 _swigc__p_wxControl,
13293 _swigc__p_wxControlWithItems,
13294 _swigc__p_wxDateEvent,
13295 _swigc__p_wxDatePickerCtrl,
13296 _swigc__p_wxDialog,
13297 _swigc__p_wxDirDialog,
13298 _swigc__p_wxDirFilterListCtrl,
13299 _swigc__p_wxDisplayChangedEvent,
13300 _swigc__p_wxDropFilesEvent,
13301 _swigc__p_wxDuplexMode,
13302 _swigc__p_wxDynamicSashSplitEvent,
13303 _swigc__p_wxDynamicSashUnifyEvent,
13304 _swigc__p_wxDynamicSashWindow,
13305 _swigc__p_wxEditableListBox,
13306 _swigc__p_wxEraseEvent,
13307 _swigc__p_wxEvent,
13308 _swigc__p_wxEvtHandler,
13309 _swigc__p_wxFSFile,
13310 _swigc__p_wxFileDialog,
13311 _swigc__p_wxFileSystem,
13312 _swigc__p_wxFindDialogEvent,
13313 _swigc__p_wxFindReplaceData,
13314 _swigc__p_wxFindReplaceDialog,
13315 _swigc__p_wxFlexGridSizer,
13316 _swigc__p_wxFocusEvent,
13317 _swigc__p_wxFont,
13318 _swigc__p_wxFontData,
13319 _swigc__p_wxFontDialog,
13320 _swigc__p_wxFrame,
13321 _swigc__p_wxGBSizerItem,
13322 _swigc__p_wxGIFHandler,
13323 _swigc__p_wxGauge,
13324 _swigc__p_wxGenericDirCtrl,
13325 _swigc__p_wxGenericDragImage,
13326 _swigc__p_wxGridBagSizer,
13327 _swigc__p_wxGridSizer,
13328 _swigc__p_wxHelpEvent,
13329 _swigc__p_wxICOHandler,
13330 _swigc__p_wxIcon,
13331 _swigc__p_wxIconizeEvent,
13332 _swigc__p_wxIdleEvent,
13333 _swigc__p_wxImage,
13334 _swigc__p_wxImageHandler,
13335 _swigc__p_wxImageList,
13336 _swigc__p_wxIndividualLayoutConstraint,
13337 _swigc__p_wxInitDialogEvent,
13338 _swigc__p_wxJPEGHandler,
13339 _swigc__p_wxKeyEvent,
13340 _swigc__p_wxLEDNumberCtrl,
13341 _swigc__p_wxLayoutAlgorithm,
13342 _swigc__p_wxLayoutConstraints,
13343 _swigc__p_wxListBox,
13344 _swigc__p_wxListEvent,
13345 _swigc__p_wxListItem,
13346 _swigc__p_wxListView,
13347 _swigc__p_wxListbook,
13348 _swigc__p_wxListbookEvent,
13349 _swigc__p_wxMDIChildFrame,
13350 _swigc__p_wxMDIClientWindow,
13351 _swigc__p_wxMDIParentFrame,
13352 _swigc__p_wxMaximizeEvent,
13353 _swigc__p_wxMenu,
13354 _swigc__p_wxMenuBar,
13355 _swigc__p_wxMenuEvent,
13356 _swigc__p_wxMenuItem,
13357 _swigc__p_wxMessageDialog,
13358 _swigc__p_wxMiniFrame,
13359 _swigc__p_wxMouseCaptureChangedEvent,
13360 _swigc__p_wxMouseEvent,
13361 _swigc__p_wxMoveEvent,
13362 _swigc__p_wxMultiChoiceDialog,
13363 _swigc__p_wxNavigationKeyEvent,
13364 _swigc__p_wxNcPaintEvent,
13365 _swigc__p_wxNotebook,
13366 _swigc__p_wxNotebookEvent,
13367 _swigc__p_wxNotifyEvent,
13368 _swigc__p_wxObject,
13369 _swigc__p_wxPCXHandler,
13370 _swigc__p_wxPNGHandler,
13371 _swigc__p_wxPNMHandler,
13372 _swigc__p_wxPageSetupDialog,
13373 _swigc__p_wxPageSetupDialogData,
13374 _swigc__p_wxPaintEvent,
13375 _swigc__p_wxPaletteChangedEvent,
13376 _swigc__p_wxPanel,
13377 _swigc__p_wxPaperSize,
13378 _swigc__p_wxPasswordEntryDialog,
13379 _swigc__p_wxPopupWindow,
13380 _swigc__p_wxPreviewCanvas,
13381 _swigc__p_wxPreviewControlBar,
13382 _swigc__p_wxPreviewFrame,
13383 _swigc__p_wxPrintData,
13384 _swigc__p_wxPrintDialog,
13385 _swigc__p_wxPrintDialogData,
13386 _swigc__p_wxPrintPreview,
13387 _swigc__p_wxPrinter,
13388 _swigc__p_wxProgressDialog,
13389 _swigc__p_wxPyApp,
13390 _swigc__p_wxPyCommandEvent,
13391 _swigc__p_wxPyControl,
13392 _swigc__p_wxPyEvent,
13393 _swigc__p_wxPyHtmlListBox,
13394 _swigc__p_wxPyImageHandler,
13395 _swigc__p_wxPyListCtrl,
13396 _swigc__p_wxPyPanel,
13397 _swigc__p_wxPyPopupTransientWindow,
13398 _swigc__p_wxPyPreviewControlBar,
13399 _swigc__p_wxPyPreviewFrame,
13400 _swigc__p_wxPyPrintPreview,
13401 _swigc__p_wxPyPrintout,
13402 _swigc__p_wxPyScrolledWindow,
13403 _swigc__p_wxPySizer,
13404 _swigc__p_wxPyTaskBarIcon,
13405 _swigc__p_wxPyTreeCompanionWindow,
13406 _swigc__p_wxPyTreeCtrl,
13407 _swigc__p_wxPyTreeItemData,
13408 _swigc__p_wxPyTreeListCtrl,
13409 _swigc__p_wxPyVListBox,
13410 _swigc__p_wxPyVScrolledWindow,
13411 _swigc__p_wxPyValidator,
13412 _swigc__p_wxPyWindow,
13413 _swigc__p_wxQueryLayoutInfoEvent,
13414 _swigc__p_wxQueryNewPaletteEvent,
13415 _swigc__p_wxRadioBox,
13416 _swigc__p_wxRadioButton,
13417 _swigc__p_wxRemotelyScrolledTreeCtrl,
13418 _swigc__p_wxSashEvent,
13419 _swigc__p_wxSashLayoutWindow,
13420 _swigc__p_wxSashWindow,
13421 _swigc__p_wxScrollBar,
13422 _swigc__p_wxScrollEvent,
13423 _swigc__p_wxScrollWinEvent,
13424 _swigc__p_wxScrolledWindow,
13425 _swigc__p_wxSetCursorEvent,
13426 _swigc__p_wxShowEvent,
13427 _swigc__p_wxSingleChoiceDialog,
13428 _swigc__p_wxSizeEvent,
13429 _swigc__p_wxSizer,
13430 _swigc__p_wxSizerItem,
13431 _swigc__p_wxSlider,
13432 _swigc__p_wxSpinButton,
13433 _swigc__p_wxSpinCtrl,
13434 _swigc__p_wxSpinEvent,
13435 _swigc__p_wxSplashScreen,
13436 _swigc__p_wxSplashScreenWindow,
13437 _swigc__p_wxSplitterEvent,
13438 _swigc__p_wxSplitterScrolledWindow,
13439 _swigc__p_wxSplitterWindow,
13440 _swigc__p_wxStaticBitmap,
13441 _swigc__p_wxStaticBox,
13442 _swigc__p_wxStaticBoxSizer,
13443 _swigc__p_wxStaticLine,
13444 _swigc__p_wxStaticPicture,
13445 _swigc__p_wxStaticText,
13446 _swigc__p_wxStatusBar,
13447 _swigc__p_wxStdDialogButtonSizer,
13448 _swigc__p_wxSysColourChangedEvent,
13449 _swigc__p_wxTIFFHandler,
13450 _swigc__p_wxTaskBarIconEvent,
13451 _swigc__p_wxTextCtrl,
13452 _swigc__p_wxTextEntryDialog,
13453 _swigc__p_wxTextUrlEvent,
13454 _swigc__p_wxThinSplitterWindow,
13455 _swigc__p_wxTipWindow,
13456 _swigc__p_wxToggleButton,
13457 _swigc__p_wxToolBar,
13458 _swigc__p_wxToolBarBase,
13459 _swigc__p_wxToolBarToolBase,
13460 _swigc__p_wxToolbook,
13461 _swigc__p_wxToolbookEvent,
13462 _swigc__p_wxTopLevelWindow,
13463 _swigc__p_wxTreeEvent,
13464 _swigc__p_wxTreeItemId,
13465 _swigc__p_wxTreeListColumnInfo,
13466 _swigc__p_wxTreebook,
13467 _swigc__p_wxTreebookEvent,
13468 _swigc__p_wxUpdateUIEvent,
13469 _swigc__p_wxValidator,
13470 _swigc__p_wxWindow,
13471 _swigc__p_wxWindowCreateEvent,
13472 _swigc__p_wxWindowDestroyEvent,
13473 _swigc__p_wxXPMHandler,
13474 };
13475
13476
13477 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13478
13479 static swig_const_info swig_const_table[] = {
13480 {0, 0, 0, 0.0, 0, 0}};
13481
13482 #ifdef __cplusplus
13483 }
13484 #endif
13485 /* -----------------------------------------------------------------------------
13486 * Type initialization:
13487 * This problem is tough by the requirement that no dynamic
13488 * memory is used. Also, since swig_type_info structures store pointers to
13489 * swig_cast_info structures and swig_cast_info structures store pointers back
13490 * to swig_type_info structures, we need some lookup code at initialization.
13491 * The idea is that swig generates all the structures that are needed.
13492 * The runtime then collects these partially filled structures.
13493 * The SWIG_InitializeModule function takes these initial arrays out of
13494 * swig_module, and does all the lookup, filling in the swig_module.types
13495 * array with the correct data and linking the correct swig_cast_info
13496 * structures together.
13497 *
13498 * The generated swig_type_info structures are assigned staticly to an initial
13499 * array. We just loop though that array, and handle each type individually.
13500 * First we lookup if this type has been already loaded, and if so, use the
13501 * loaded structure instead of the generated one. Then we have to fill in the
13502 * cast linked list. The cast data is initially stored in something like a
13503 * two-dimensional array. Each row corresponds to a type (there are the same
13504 * number of rows as there are in the swig_type_initial array). Each entry in
13505 * a column is one of the swig_cast_info structures for that type.
13506 * The cast_initial array is actually an array of arrays, because each row has
13507 * a variable number of columns. So to actually build the cast linked list,
13508 * we find the array of casts associated with the type, and loop through it
13509 * adding the casts to the list. The one last trick we need to do is making
13510 * sure the type pointer in the swig_cast_info struct is correct.
13511 *
13512 * First off, we lookup the cast->type name to see if it is already loaded.
13513 * There are three cases to handle:
13514 * 1) If the cast->type has already been loaded AND the type we are adding
13515 * casting info to has not been loaded (it is in this module), THEN we
13516 * replace the cast->type pointer with the type pointer that has already
13517 * been loaded.
13518 * 2) If BOTH types (the one we are adding casting info to, and the
13519 * cast->type) are loaded, THEN the cast info has already been loaded by
13520 * the previous module so we just ignore it.
13521 * 3) Finally, if cast->type has not already been loaded, then we add that
13522 * swig_cast_info to the linked list (because the cast->type) pointer will
13523 * be correct.
13524 * ----------------------------------------------------------------------------- */
13525
13526 #ifdef __cplusplus
13527 extern "C" {
13528 #if 0
13529 } /* c-mode */
13530 #endif
13531 #endif
13532
13533 #if 0
13534 #define SWIGRUNTIME_DEBUG
13535 #endif
13536
13537 SWIGRUNTIME void
13538 SWIG_InitializeModule(void *clientdata) {
13539 size_t i;
13540 swig_module_info *module_head;
13541 static int init_run = 0;
13542
13543 clientdata = clientdata;
13544
13545 if (init_run) return;
13546 init_run = 1;
13547
13548 /* Initialize the swig_module */
13549 swig_module.type_initial = swig_type_initial;
13550 swig_module.cast_initial = swig_cast_initial;
13551
13552 /* Try and load any already created modules */
13553 module_head = SWIG_GetModule(clientdata);
13554 if (module_head) {
13555 swig_module.next = module_head->next;
13556 module_head->next = &swig_module;
13557 } else {
13558 /* This is the first module loaded */
13559 swig_module.next = &swig_module;
13560 SWIG_SetModule(clientdata, &swig_module);
13561 }
13562
13563 /* Now work on filling in swig_module.types */
13564 #ifdef SWIGRUNTIME_DEBUG
13565 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13566 #endif
13567 for (i = 0; i < swig_module.size; ++i) {
13568 swig_type_info *type = 0;
13569 swig_type_info *ret;
13570 swig_cast_info *cast;
13571
13572 #ifdef SWIGRUNTIME_DEBUG
13573 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13574 #endif
13575
13576 /* if there is another module already loaded */
13577 if (swig_module.next != &swig_module) {
13578 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13579 }
13580 if (type) {
13581 /* Overwrite clientdata field */
13582 #ifdef SWIGRUNTIME_DEBUG
13583 printf("SWIG_InitializeModule: found type %s\n", type->name);
13584 #endif
13585 if (swig_module.type_initial[i]->clientdata) {
13586 type->clientdata = swig_module.type_initial[i]->clientdata;
13587 #ifdef SWIGRUNTIME_DEBUG
13588 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13589 #endif
13590 }
13591 } else {
13592 type = swig_module.type_initial[i];
13593 }
13594
13595 /* Insert casting types */
13596 cast = swig_module.cast_initial[i];
13597 while (cast->type) {
13598 /* Don't need to add information already in the list */
13599 ret = 0;
13600 #ifdef SWIGRUNTIME_DEBUG
13601 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13602 #endif
13603 if (swig_module.next != &swig_module) {
13604 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13605 #ifdef SWIGRUNTIME_DEBUG
13606 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13607 #endif
13608 }
13609 if (ret) {
13610 if (type == swig_module.type_initial[i]) {
13611 #ifdef SWIGRUNTIME_DEBUG
13612 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13613 #endif
13614 cast->type = ret;
13615 ret = 0;
13616 } else {
13617 /* Check for casting already in the list */
13618 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13619 #ifdef SWIGRUNTIME_DEBUG
13620 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13621 #endif
13622 if (!ocast) ret = 0;
13623 }
13624 }
13625
13626 if (!ret) {
13627 #ifdef SWIGRUNTIME_DEBUG
13628 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13629 #endif
13630 if (type->cast) {
13631 type->cast->prev = cast;
13632 cast->next = type->cast;
13633 }
13634 type->cast = cast;
13635 }
13636 cast++;
13637 }
13638 /* Set entry in modules->types array equal to the type */
13639 swig_module.types[i] = type;
13640 }
13641 swig_module.types[i] = 0;
13642
13643 #ifdef SWIGRUNTIME_DEBUG
13644 printf("**** SWIG_InitializeModule: Cast List ******\n");
13645 for (i = 0; i < swig_module.size; ++i) {
13646 int j = 0;
13647 swig_cast_info *cast = swig_module.cast_initial[i];
13648 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13649 while (cast->type) {
13650 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13651 cast++;
13652 ++j;
13653 }
13654 printf("---- Total casts: %d\n",j);
13655 }
13656 printf("**** SWIG_InitializeModule: Cast List ******\n");
13657 #endif
13658 }
13659
13660 /* This function will propagate the clientdata field of type to
13661 * any new swig_type_info structures that have been added into the list
13662 * of equivalent types. It is like calling
13663 * SWIG_TypeClientData(type, clientdata) a second time.
13664 */
13665 SWIGRUNTIME void
13666 SWIG_PropagateClientData(void) {
13667 size_t i;
13668 swig_cast_info *equiv;
13669 static int init_run = 0;
13670
13671 if (init_run) return;
13672 init_run = 1;
13673
13674 for (i = 0; i < swig_module.size; i++) {
13675 if (swig_module.types[i]->clientdata) {
13676 equiv = swig_module.types[i]->cast;
13677 while (equiv) {
13678 if (!equiv->converter) {
13679 if (equiv->type && !equiv->type->clientdata)
13680 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13681 }
13682 equiv = equiv->next;
13683 }
13684 }
13685 }
13686 }
13687
13688 #ifdef __cplusplus
13689 #if 0
13690 {
13691 /* c-mode */
13692 #endif
13693 }
13694 #endif
13695
13696
13697
13698 #ifdef __cplusplus
13699 extern "C" {
13700 #endif
13701
13702 /* Python-specific SWIG API */
13703 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13704 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13705 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13706
13707 /* -----------------------------------------------------------------------------
13708 * global variable support code.
13709 * ----------------------------------------------------------------------------- */
13710
13711 typedef struct swig_globalvar {
13712 char *name; /* Name of global variable */
13713 PyObject *(*get_attr)(void); /* Return the current value */
13714 int (*set_attr)(PyObject *); /* Set the value */
13715 struct swig_globalvar *next;
13716 } swig_globalvar;
13717
13718 typedef struct swig_varlinkobject {
13719 PyObject_HEAD
13720 swig_globalvar *vars;
13721 } swig_varlinkobject;
13722
13723 SWIGINTERN PyObject *
13724 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13725 return PyString_FromString("<Swig global variables>");
13726 }
13727
13728 SWIGINTERN PyObject *
13729 swig_varlink_str(swig_varlinkobject *v) {
13730 PyObject *str = PyString_FromString("(");
13731 swig_globalvar *var;
13732 for (var = v->vars; var; var=var->next) {
13733 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13734 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13735 }
13736 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13737 return str;
13738 }
13739
13740 SWIGINTERN int
13741 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13742 PyObject *str = swig_varlink_str(v);
13743 fprintf(fp,"Swig global variables ");
13744 fprintf(fp,"%s\n", PyString_AsString(str));
13745 Py_DECREF(str);
13746 return 0;
13747 }
13748
13749 SWIGINTERN void
13750 swig_varlink_dealloc(swig_varlinkobject *v) {
13751 swig_globalvar *var = v->vars;
13752 while (var) {
13753 swig_globalvar *n = var->next;
13754 free(var->name);
13755 free(var);
13756 var = n;
13757 }
13758 }
13759
13760 SWIGINTERN PyObject *
13761 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13762 PyObject *res = NULL;
13763 swig_globalvar *var = v->vars;
13764 while (var) {
13765 if (strcmp(var->name,n) == 0) {
13766 res = (*var->get_attr)();
13767 break;
13768 }
13769 var = var->next;
13770 }
13771 if (res == NULL && !PyErr_Occurred()) {
13772 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13773 }
13774 return res;
13775 }
13776
13777 SWIGINTERN int
13778 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13779 int res = 1;
13780 swig_globalvar *var = v->vars;
13781 while (var) {
13782 if (strcmp(var->name,n) == 0) {
13783 res = (*var->set_attr)(p);
13784 break;
13785 }
13786 var = var->next;
13787 }
13788 if (res == 1 && !PyErr_Occurred()) {
13789 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13790 }
13791 return res;
13792 }
13793
13794 SWIGINTERN PyTypeObject*
13795 swig_varlink_type(void) {
13796 static char varlink__doc__[] = "Swig var link object";
13797 static PyTypeObject varlink_type;
13798 static int type_init = 0;
13799 if (!type_init) {
13800 const PyTypeObject tmp
13801 = {
13802 PyObject_HEAD_INIT(NULL)
13803 0, /* Number of items in variable part (ob_size) */
13804 (char *)"swigvarlink", /* Type name (tp_name) */
13805 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13806 0, /* Itemsize (tp_itemsize) */
13807 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13808 (printfunc) swig_varlink_print, /* Print (tp_print) */
13809 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13810 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13811 0, /* tp_compare */
13812 (reprfunc) swig_varlink_repr, /* tp_repr */
13813 0, /* tp_as_number */
13814 0, /* tp_as_sequence */
13815 0, /* tp_as_mapping */
13816 0, /* tp_hash */
13817 0, /* tp_call */
13818 (reprfunc)swig_varlink_str, /* tp_str */
13819 0, /* tp_getattro */
13820 0, /* tp_setattro */
13821 0, /* tp_as_buffer */
13822 0, /* tp_flags */
13823 varlink__doc__, /* tp_doc */
13824 0, /* tp_traverse */
13825 0, /* tp_clear */
13826 0, /* tp_richcompare */
13827 0, /* tp_weaklistoffset */
13828 #if PY_VERSION_HEX >= 0x02020000
13829 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13830 #endif
13831 #if PY_VERSION_HEX >= 0x02030000
13832 0, /* tp_del */
13833 #endif
13834 #ifdef COUNT_ALLOCS
13835 0,0,0,0 /* tp_alloc -> tp_next */
13836 #endif
13837 };
13838 varlink_type = tmp;
13839 varlink_type.ob_type = &PyType_Type;
13840 type_init = 1;
13841 }
13842 return &varlink_type;
13843 }
13844
13845 /* Create a variable linking object for use later */
13846 SWIGINTERN PyObject *
13847 SWIG_Python_newvarlink(void) {
13848 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
13849 if (result) {
13850 result->vars = 0;
13851 }
13852 return ((PyObject*) result);
13853 }
13854
13855 SWIGINTERN void
13856 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13857 swig_varlinkobject *v = (swig_varlinkobject *) p;
13858 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13859 if (gv) {
13860 size_t size = strlen(name)+1;
13861 gv->name = (char *)malloc(size);
13862 if (gv->name) {
13863 strncpy(gv->name,name,size);
13864 gv->get_attr = get_attr;
13865 gv->set_attr = set_attr;
13866 gv->next = v->vars;
13867 }
13868 }
13869 v->vars = gv;
13870 }
13871
13872 SWIGINTERN PyObject *
13873 SWIG_globals() {
13874 static PyObject *_SWIG_globals = 0;
13875 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
13876 return _SWIG_globals;
13877 }
13878
13879 /* -----------------------------------------------------------------------------
13880 * constants/methods manipulation
13881 * ----------------------------------------------------------------------------- */
13882
13883 /* Install Constants */
13884 SWIGINTERN void
13885 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13886 PyObject *obj = 0;
13887 size_t i;
13888 for (i = 0; constants[i].type; ++i) {
13889 switch(constants[i].type) {
13890 case SWIG_PY_POINTER:
13891 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13892 break;
13893 case SWIG_PY_BINARY:
13894 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13895 break;
13896 default:
13897 obj = 0;
13898 break;
13899 }
13900 if (obj) {
13901 PyDict_SetItemString(d, constants[i].name, obj);
13902 Py_DECREF(obj);
13903 }
13904 }
13905 }
13906
13907 /* -----------------------------------------------------------------------------*/
13908 /* Fix SwigMethods to carry the callback ptrs when needed */
13909 /* -----------------------------------------------------------------------------*/
13910
13911 SWIGINTERN void
13912 SWIG_Python_FixMethods(PyMethodDef *methods,
13913 swig_const_info *const_table,
13914 swig_type_info **types,
13915 swig_type_info **types_initial) {
13916 size_t i;
13917 for (i = 0; methods[i].ml_name; ++i) {
13918 char *c = methods[i].ml_doc;
13919 if (c && (c = strstr(c, "swig_ptr: "))) {
13920 int j;
13921 swig_const_info *ci = 0;
13922 char *name = c + 10;
13923 for (j = 0; const_table[j].type; ++j) {
13924 if (strncmp(const_table[j].name, name,
13925 strlen(const_table[j].name)) == 0) {
13926 ci = &(const_table[j]);
13927 break;
13928 }
13929 }
13930 if (ci) {
13931 size_t shift = (ci->ptype) - types;
13932 swig_type_info *ty = types_initial[shift];
13933 size_t ldoc = (c - methods[i].ml_doc);
13934 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13935 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13936 if (ndoc) {
13937 char *buff = ndoc;
13938 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
13939 if (ptr) {
13940 strncpy(buff, methods[i].ml_doc, ldoc);
13941 buff += ldoc;
13942 strncpy(buff, "swig_ptr: ", 10);
13943 buff += 10;
13944 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13945 methods[i].ml_doc = ndoc;
13946 }
13947 }
13948 }
13949 }
13950 }
13951 }
13952
13953 #ifdef __cplusplus
13954 }
13955 #endif
13956
13957 /* -----------------------------------------------------------------------------*
13958 * Partial Init method
13959 * -----------------------------------------------------------------------------*/
13960
13961 #ifdef __cplusplus
13962 extern "C"
13963 #endif
13964 SWIGEXPORT void SWIG_init(void) {
13965 PyObject *m, *d;
13966
13967 /* Fix SwigMethods to carry the callback ptrs when needed */
13968 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
13969
13970 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13971 d = PyModule_GetDict(m);
13972
13973 SWIG_InitializeModule(0);
13974 SWIG_InstallConstants(d,swig_const_table);
13975
13976
13977 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
13978 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
13979 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
13980 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
13981 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
13982 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
13983 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
13984 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
13985 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
13986 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
13987 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
13988 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
13989 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
13990 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
13991 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
13992 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
13993 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
13994 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
13995 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
13996 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
13997 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
13998 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
13999 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14000 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14001 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14002 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14003 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14004 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14005 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14006 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14007 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14008
14009
14010 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14011 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14012
14013 }
14014