]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* 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_wxHyperlinkCtrl swig_types[73]
2536 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[74]
2537 #define SWIGTYPE_p_wxICOHandler swig_types[75]
2538 #define SWIGTYPE_p_wxIcon swig_types[76]
2539 #define SWIGTYPE_p_wxIconizeEvent swig_types[77]
2540 #define SWIGTYPE_p_wxIdleEvent swig_types[78]
2541 #define SWIGTYPE_p_wxImage swig_types[79]
2542 #define SWIGTYPE_p_wxImageHandler swig_types[80]
2543 #define SWIGTYPE_p_wxImageList swig_types[81]
2544 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[82]
2545 #define SWIGTYPE_p_wxInitDialogEvent swig_types[83]
2546 #define SWIGTYPE_p_wxJPEGHandler swig_types[84]
2547 #define SWIGTYPE_p_wxKeyEvent swig_types[85]
2548 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[86]
2549 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[87]
2550 #define SWIGTYPE_p_wxLayoutConstraints swig_types[88]
2551 #define SWIGTYPE_p_wxListBox swig_types[89]
2552 #define SWIGTYPE_p_wxListEvent swig_types[90]
2553 #define SWIGTYPE_p_wxListItem swig_types[91]
2554 #define SWIGTYPE_p_wxListView swig_types[92]
2555 #define SWIGTYPE_p_wxListbook swig_types[93]
2556 #define SWIGTYPE_p_wxListbookEvent swig_types[94]
2557 #define SWIGTYPE_p_wxMDIChildFrame swig_types[95]
2558 #define SWIGTYPE_p_wxMDIClientWindow swig_types[96]
2559 #define SWIGTYPE_p_wxMDIParentFrame swig_types[97]
2560 #define SWIGTYPE_p_wxMaximizeEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMenu swig_types[99]
2562 #define SWIGTYPE_p_wxMenuBar swig_types[100]
2563 #define SWIGTYPE_p_wxMenuEvent swig_types[101]
2564 #define SWIGTYPE_p_wxMenuItem swig_types[102]
2565 #define SWIGTYPE_p_wxMessageDialog swig_types[103]
2566 #define SWIGTYPE_p_wxMiniFrame swig_types[104]
2567 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[105]
2568 #define SWIGTYPE_p_wxMouseEvent swig_types[106]
2569 #define SWIGTYPE_p_wxMoveEvent swig_types[107]
2570 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[108]
2571 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[109]
2572 #define SWIGTYPE_p_wxNcPaintEvent swig_types[110]
2573 #define SWIGTYPE_p_wxNotebook swig_types[111]
2574 #define SWIGTYPE_p_wxNotebookEvent swig_types[112]
2575 #define SWIGTYPE_p_wxNotifyEvent swig_types[113]
2576 #define SWIGTYPE_p_wxObject swig_types[114]
2577 #define SWIGTYPE_p_wxPCXHandler swig_types[115]
2578 #define SWIGTYPE_p_wxPNGHandler swig_types[116]
2579 #define SWIGTYPE_p_wxPNMHandler swig_types[117]
2580 #define SWIGTYPE_p_wxPageSetupDialog swig_types[118]
2581 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[119]
2582 #define SWIGTYPE_p_wxPaintEvent swig_types[120]
2583 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[121]
2584 #define SWIGTYPE_p_wxPanel swig_types[122]
2585 #define SWIGTYPE_p_wxPaperSize swig_types[123]
2586 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[124]
2587 #define SWIGTYPE_p_wxPopupWindow swig_types[125]
2588 #define SWIGTYPE_p_wxPreviewCanvas swig_types[126]
2589 #define SWIGTYPE_p_wxPreviewControlBar swig_types[127]
2590 #define SWIGTYPE_p_wxPreviewFrame swig_types[128]
2591 #define SWIGTYPE_p_wxPrintData swig_types[129]
2592 #define SWIGTYPE_p_wxPrintDialog swig_types[130]
2593 #define SWIGTYPE_p_wxPrintDialogData swig_types[131]
2594 #define SWIGTYPE_p_wxPrintPreview swig_types[132]
2595 #define SWIGTYPE_p_wxPrinter swig_types[133]
2596 #define SWIGTYPE_p_wxProgressDialog swig_types[134]
2597 #define SWIGTYPE_p_wxPyApp swig_types[135]
2598 #define SWIGTYPE_p_wxPyCommandEvent swig_types[136]
2599 #define SWIGTYPE_p_wxPyControl swig_types[137]
2600 #define SWIGTYPE_p_wxPyEvent swig_types[138]
2601 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[139]
2602 #define SWIGTYPE_p_wxPyImageHandler swig_types[140]
2603 #define SWIGTYPE_p_wxPyListCtrl swig_types[141]
2604 #define SWIGTYPE_p_wxPyPanel swig_types[142]
2605 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[143]
2606 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[144]
2607 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[145]
2608 #define SWIGTYPE_p_wxPyPrintPreview swig_types[146]
2609 #define SWIGTYPE_p_wxPyPrintout swig_types[147]
2610 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[148]
2611 #define SWIGTYPE_p_wxPySizer swig_types[149]
2612 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[151]
2614 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[152]
2615 #define SWIGTYPE_p_wxPyTreeItemData swig_types[153]
2616 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[154]
2617 #define SWIGTYPE_p_wxPyVListBox swig_types[155]
2618 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[156]
2619 #define SWIGTYPE_p_wxPyValidator swig_types[157]
2620 #define SWIGTYPE_p_wxPyWindow swig_types[158]
2621 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[159]
2622 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[160]
2623 #define SWIGTYPE_p_wxRadioBox swig_types[161]
2624 #define SWIGTYPE_p_wxRadioButton swig_types[162]
2625 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[163]
2626 #define SWIGTYPE_p_wxSashEvent swig_types[164]
2627 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[165]
2628 #define SWIGTYPE_p_wxSashWindow swig_types[166]
2629 #define SWIGTYPE_p_wxScrollBar swig_types[167]
2630 #define SWIGTYPE_p_wxScrollEvent swig_types[168]
2631 #define SWIGTYPE_p_wxScrollWinEvent swig_types[169]
2632 #define SWIGTYPE_p_wxScrolledWindow swig_types[170]
2633 #define SWIGTYPE_p_wxSetCursorEvent swig_types[171]
2634 #define SWIGTYPE_p_wxShowEvent swig_types[172]
2635 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[173]
2636 #define SWIGTYPE_p_wxSizeEvent swig_types[174]
2637 #define SWIGTYPE_p_wxSizer swig_types[175]
2638 #define SWIGTYPE_p_wxSizerItem swig_types[176]
2639 #define SWIGTYPE_p_wxSlider swig_types[177]
2640 #define SWIGTYPE_p_wxSpinButton swig_types[178]
2641 #define SWIGTYPE_p_wxSpinCtrl swig_types[179]
2642 #define SWIGTYPE_p_wxSpinEvent swig_types[180]
2643 #define SWIGTYPE_p_wxSplashScreen swig_types[181]
2644 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[182]
2645 #define SWIGTYPE_p_wxSplitterEvent swig_types[183]
2646 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[184]
2647 #define SWIGTYPE_p_wxSplitterWindow swig_types[185]
2648 #define SWIGTYPE_p_wxStaticBitmap swig_types[186]
2649 #define SWIGTYPE_p_wxStaticBox swig_types[187]
2650 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[188]
2651 #define SWIGTYPE_p_wxStaticLine swig_types[189]
2652 #define SWIGTYPE_p_wxStaticPicture swig_types[190]
2653 #define SWIGTYPE_p_wxStaticText swig_types[191]
2654 #define SWIGTYPE_p_wxStatusBar swig_types[192]
2655 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[193]
2656 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[194]
2657 #define SWIGTYPE_p_wxTIFFHandler swig_types[195]
2658 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[196]
2659 #define SWIGTYPE_p_wxTextCtrl swig_types[197]
2660 #define SWIGTYPE_p_wxTextEntryDialog swig_types[198]
2661 #define SWIGTYPE_p_wxTextUrlEvent swig_types[199]
2662 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[200]
2663 #define SWIGTYPE_p_wxTipWindow swig_types[201]
2664 #define SWIGTYPE_p_wxToggleButton swig_types[202]
2665 #define SWIGTYPE_p_wxToolBar swig_types[203]
2666 #define SWIGTYPE_p_wxToolBarBase swig_types[204]
2667 #define SWIGTYPE_p_wxToolBarToolBase swig_types[205]
2668 #define SWIGTYPE_p_wxToolbook swig_types[206]
2669 #define SWIGTYPE_p_wxToolbookEvent swig_types[207]
2670 #define SWIGTYPE_p_wxTopLevelWindow swig_types[208]
2671 #define SWIGTYPE_p_wxTreeEvent swig_types[209]
2672 #define SWIGTYPE_p_wxTreeItemId swig_types[210]
2673 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[211]
2674 #define SWIGTYPE_p_wxTreebook swig_types[212]
2675 #define SWIGTYPE_p_wxTreebookEvent swig_types[213]
2676 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[214]
2677 #define SWIGTYPE_p_wxValidator swig_types[215]
2678 #define SWIGTYPE_p_wxWindow swig_types[216]
2679 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[217]
2680 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[218]
2681 #define SWIGTYPE_p_wxXPMHandler swig_types[219]
2682 static swig_type_info *swig_types[221];
2683 static swig_module_info swig_module = {swig_types, 220, 0, 0, 0, 0};
2684 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2685 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2686
2687 /* -------- TYPES TABLE (END) -------- */
2688
2689 #if (PY_VERSION_HEX <= 0x02000000)
2690 # if !defined(SWIG_PYTHON_CLASSIC)
2691 # error "This python version requires to use swig with the '-classic' option"
2692 # endif
2693 #endif
2694 #if (PY_VERSION_HEX <= 0x02020000)
2695 # error "This python version requires to use swig with the '-nomodern' option"
2696 #endif
2697 #if (PY_VERSION_HEX <= 0x02020000)
2698 # error "This python version requires to use swig with the '-nomodernargs' option"
2699 #endif
2700 #ifndef METH_O
2701 # error "This python version requires to use swig with the '-nofastunpack' option"
2702 #endif
2703
2704 /*-----------------------------------------------
2705 @(target):= _gizmos.so
2706 ------------------------------------------------*/
2707 #define SWIG_init init_gizmos
2708
2709 #define SWIG_name "_gizmos"
2710
2711 #define SWIGVERSION 0x010329
2712
2713
2714 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2715 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2716
2717
2718 #include <stdexcept>
2719
2720
2721 namespace swig {
2722 class PyObject_ptr {
2723 protected:
2724 PyObject *_obj;
2725
2726 public:
2727 PyObject_ptr() :_obj(0)
2728 {
2729 }
2730
2731 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2732 {
2733 Py_XINCREF(_obj);
2734 }
2735
2736 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2737 {
2738 if (initial_ref) Py_XINCREF(_obj);
2739 }
2740
2741 PyObject_ptr & operator=(const PyObject_ptr& item)
2742 {
2743 Py_XINCREF(item._obj);
2744 Py_XDECREF(_obj);
2745 _obj = item._obj;
2746 return *this;
2747 }
2748
2749 ~PyObject_ptr()
2750 {
2751 Py_XDECREF(_obj);
2752 }
2753
2754 operator PyObject *() const
2755 {
2756 return _obj;
2757 }
2758
2759 PyObject *operator->() const
2760 {
2761 return _obj;
2762 }
2763 };
2764 }
2765
2766
2767 namespace swig {
2768 struct PyObject_var : PyObject_ptr {
2769 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2770
2771 PyObject_var & operator = (PyObject* obj)
2772 {
2773 Py_XDECREF(_obj);
2774 _obj = obj;
2775 return *this;
2776 }
2777 };
2778 }
2779
2780
2781 #include "wx/wxPython/wxPython.h"
2782 #include "wx/wxPython/pyclasses.h"
2783
2784 #include <wx/gizmos/dynamicsash.h>
2785 #include <wx/gizmos/editlbox.h>
2786 #include <wx/gizmos/splittree.h>
2787 #include <wx/gizmos/ledctrl.h>
2788 #include <wx/gizmos/statpict.h>
2789
2790 #include <wx/listctrl.h>
2791 #include <wx/treectrl.h>
2792 #include <wx/imaglist.h>
2793
2794 #include "wx/treelistctrl.h"
2795 #include "wx/wxPython/pytree.h"
2796
2797
2798 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2799 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2800 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2801 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2802 static const wxString wxPyEmptyString(wxEmptyString);
2803
2804 #define SWIG_From_long PyInt_FromLong
2805
2806
2807 SWIGINTERNINLINE PyObject *
2808 SWIG_From_int (int value)
2809 {
2810 return SWIG_From_long (value);
2811 }
2812
2813
2814 #include <limits.h>
2815 #ifndef LLONG_MIN
2816 # define LLONG_MIN LONG_LONG_MIN
2817 #endif
2818 #ifndef LLONG_MAX
2819 # define LLONG_MAX LONG_LONG_MAX
2820 #endif
2821 #ifndef ULLONG_MAX
2822 # define ULLONG_MAX ULONG_LONG_MAX
2823 #endif
2824
2825
2826 SWIGINTERN int
2827 SWIG_AsVal_long (PyObject* obj, long* val)
2828 {
2829 if (PyNumber_Check(obj)) {
2830 if (val) *val = PyInt_AsLong(obj);
2831 return SWIG_OK;
2832 }
2833 return SWIG_TypeError;
2834 }
2835
2836
2837 SWIGINTERN int
2838 SWIG_AsVal_int (PyObject * obj, int *val)
2839 {
2840 long v;
2841 int res = SWIG_AsVal_long (obj, &v);
2842 if (SWIG_IsOK(res)) {
2843 if ((v < INT_MIN || v > INT_MAX)) {
2844 return SWIG_OverflowError;
2845 } else {
2846 if (val) *val = static_cast< int >(v);
2847 }
2848 }
2849 return res;
2850 }
2851
2852 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2853 wxArrayString strings;
2854 self->GetStrings(strings);
2855 return wxArrayString2PyList_helper(strings);
2856 }
2857
2858 typedef wxTreeCtrl wxPyTreeCtrl;
2859
2860
2861 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2862 {
2863 public:
2864 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2865 const wxPoint& pos = wxDefaultPosition,
2866 const wxSize& size = wxDefaultSize,
2867 long style = 0)
2868 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2869
2870
2871 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2872 bool found;
2873 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2874 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2875 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2876 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2877 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2878 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2879 Py_DECREF(dcobj);
2880 Py_DECREF(idobj);
2881 Py_DECREF(recobj);
2882 }
2883 wxPyEndBlockThreads(blocked);
2884 if (! found)
2885 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2886 }
2887
2888 PYPRIVATE;
2889 };
2890
2891
2892 SWIGINTERN int
2893 SWIG_AsVal_bool (PyObject *obj, bool *val)
2894 {
2895 if (obj == Py_True) {
2896 if (val) *val = true;
2897 return SWIG_OK;
2898 } else if (obj == Py_False) {
2899 if (val) *val = false;
2900 return SWIG_OK;
2901 } else {
2902 long v = 0;
2903 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2904 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2905 return res;
2906 }
2907 }
2908
2909
2910 SWIGINTERN int
2911 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2912 {
2913 long v = 0;
2914 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2915 return SWIG_TypeError;
2916 }
2917 else if (val)
2918 *val = (unsigned long)v;
2919 return SWIG_OK;
2920 }
2921
2922
2923 SWIGINTERNINLINE int
2924 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2925 {
2926 unsigned long v;
2927 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2928 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2929 return res;
2930 }
2931
2932
2933 SWIGINTERNINLINE PyObject*
2934 SWIG_From_unsigned_SS_long (unsigned long value)
2935 {
2936 return (value > LONG_MAX) ?
2937 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2938 }
2939
2940
2941 SWIGINTERNINLINE PyObject *
2942 SWIG_From_size_t (size_t value)
2943 {
2944 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2945 }
2946
2947 // C++ version of Python aware control
2948 class wxPyTreeListCtrl : public wxTreeListCtrl {
2949 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2950 public:
2951 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2952 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2953 const wxPoint& pos,
2954 const wxSize& size,
2955 long style,
2956 const wxValidator &validator,
2957 const wxString& name) :
2958 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2959
2960 int OnCompareItems(const wxTreeItemId& item1,
2961 const wxTreeItemId& item2) {
2962 int rval = 0;
2963 bool found;
2964 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2965 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2966 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2967 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2969 Py_DECREF(o1);
2970 Py_DECREF(o2);
2971 }
2972 wxPyEndBlockThreads(blocked);
2973 if (! found)
2974 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2975 return rval;
2976 }
2977 PYPRIVATE;
2978 };
2979
2980 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2981
2982
2983
2984 SWIGINTERNINLINE PyObject *
2985 SWIG_From_unsigned_SS_int (unsigned int value)
2986 {
2987 return SWIG_From_unsigned_SS_long (value);
2988 }
2989
2990
2991 SWIGINTERN int
2992 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2993 {
2994 unsigned long v;
2995 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2996 if (SWIG_IsOK(res)) {
2997 if ((v > UINT_MAX)) {
2998 return SWIG_OverflowError;
2999 } else {
3000 if (val) *val = static_cast< unsigned int >(v);
3001 }
3002 }
3003 return res;
3004 }
3005
3006 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3007 if (column < 0) column = self->GetMainColumn();
3008 return self->GetItemText(item, column);
3009 }
3010 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3011 if (column < 0) column = self->GetMainColumn();
3012 return self->GetItemImage(item, column, which);
3013 }
3014 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3015 if (column < 0) column = self->GetMainColumn();
3016 self->SetItemText(item, column, text);
3017 }
3018 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3019 if (column < 0) column = self->GetMainColumn();
3020 self->SetItemImage(item, column, image, which);
3021 }
3022 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3023 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3024 if (data == NULL) {
3025 data = new wxPyTreeItemData();
3026 data->SetId(item); // set the id
3027 self->SetItemData(item, data);
3028 }
3029 return data;
3030 }
3031 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3032 data->SetId(item); // set the id
3033 self->SetItemData(item, data);
3034 }
3035 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3036 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3037 if (data == NULL) {
3038 data = new wxPyTreeItemData();
3039 data->SetId(item); // set the id
3040 self->SetItemData(item, data);
3041 }
3042 return data->GetData();
3043 }
3044 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3045 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3046 if (data == NULL) {
3047 data = new wxPyTreeItemData(obj);
3048 data->SetId(item); // set the id
3049 self->SetItemData(item, data);
3050 } else
3051 data->SetData(obj);
3052 }
3053 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3054 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3055 PyObject* rval = PyList_New(0);
3056 wxArrayTreeItemIds array;
3057 size_t num, x;
3058 num = self->GetSelections(array);
3059 for (x=0; x < num; x++) {
3060 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3061 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3062 PyList_Append(rval, item);
3063 Py_DECREF(item);
3064 }
3065 wxPyEndBlockThreads(blocked);
3066 return rval;
3067 }
3068 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3069 void* cookie = 0;
3070 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3071 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3072 PyObject* tup = PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3074 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3075 wxPyEndBlockThreads(blocked);
3076 return tup;
3077 }
3078 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3079 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3080 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3081 PyObject* tup = PyTuple_New(2);
3082 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3083 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3084 wxPyEndBlockThreads(blocked);
3085 return tup;
3086 }
3087 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3088 wxRect rect;
3089 if (self->GetBoundingRect(item, rect, textOnly)) {
3090 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3091 wxRect* r = new wxRect(rect);
3092 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3093 wxPyEndBlockThreads(blocked);
3094 return val;
3095 }
3096 else {
3097 RETURN_NONE();
3098 }
3099 }
3100
3101 #include <float.h>
3102
3103
3104 SWIGINTERN int
3105 SWIG_AsVal_double (PyObject *obj, double* val)
3106 {
3107 if (PyNumber_Check(obj)) {
3108 if (val) *val = PyFloat_AsDouble(obj);
3109 return SWIG_OK;
3110 }
3111 return SWIG_TypeError;
3112 }
3113
3114
3115 SWIGINTERN int
3116 SWIG_AsVal_float (PyObject * obj, float *val)
3117 {
3118 double v;
3119 int res = SWIG_AsVal_double (obj, &v);
3120 if (SWIG_IsOK(res)) {
3121 if ((v < -FLT_MAX || v > FLT_MAX)) {
3122 return SWIG_OverflowError;
3123 } else {
3124 if (val) *val = static_cast< float >(v);
3125 }
3126 }
3127 return res;
3128 }
3129
3130
3131 #define SWIG_From_double PyFloat_FromDouble
3132
3133
3134 SWIGINTERNINLINE PyObject *
3135 SWIG_From_float (float value)
3136 {
3137 return SWIG_From_double (value);
3138 }
3139
3140 #ifdef __cplusplus
3141 extern "C" {
3142 #endif
3143 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3144 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3145 return 1;
3146 }
3147
3148
3149 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3150 PyObject *pyobj = 0;
3151
3152 {
3153 #if wxUSE_UNICODE
3154 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3155 #else
3156 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3157 #endif
3158 }
3159 return pyobj;
3160 }
3161
3162
3163 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3164 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3165 return 1;
3166 }
3167
3168
3169 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3170 PyObject *pyobj = 0;
3171
3172 {
3173 #if wxUSE_UNICODE
3174 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3175 #else
3176 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3177 #endif
3178 }
3179 return pyobj;
3180 }
3181
3182
3183 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3184 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3185 return 1;
3186 }
3187
3188
3189 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3190 PyObject *pyobj = 0;
3191
3192 {
3193 #if wxUSE_UNICODE
3194 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3195 #else
3196 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3197 #endif
3198 }
3199 return pyobj;
3200 }
3201
3202
3203 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3204 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3205 return 1;
3206 }
3207
3208
3209 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3210 PyObject *pyobj = 0;
3211
3212 {
3213 #if wxUSE_UNICODE
3214 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3215 #else
3216 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3217 #endif
3218 }
3219 return pyobj;
3220 }
3221
3222
3223 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3224 PyObject *resultobj = 0;
3225 wxObject *arg1 = (wxObject *) 0 ;
3226 wxDynamicSashSplitEvent *result = 0 ;
3227 void *argp1 = 0 ;
3228 int res1 = 0 ;
3229 PyObject * obj0 = 0 ;
3230 char * kwnames[] = {
3231 (char *) "target", NULL
3232 };
3233
3234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3236 if (!SWIG_IsOK(res1)) {
3237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3238 }
3239 arg1 = reinterpret_cast< wxObject * >(argp1);
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3243 wxPyEndAllowThreads(__tstate);
3244 if (PyErr_Occurred()) SWIG_fail;
3245 }
3246 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3247 return resultobj;
3248 fail:
3249 return NULL;
3250 }
3251
3252
3253 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3254 PyObject *obj;
3255 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3256 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3257 return SWIG_Py_Void();
3258 }
3259
3260 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3261 return SWIG_Python_InitShadowInstance(args);
3262 }
3263
3264 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3265 PyObject *resultobj = 0;
3266 wxObject *arg1 = (wxObject *) 0 ;
3267 wxDynamicSashUnifyEvent *result = 0 ;
3268 void *argp1 = 0 ;
3269 int res1 = 0 ;
3270 PyObject * obj0 = 0 ;
3271 char * kwnames[] = {
3272 (char *) "target", NULL
3273 };
3274
3275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3277 if (!SWIG_IsOK(res1)) {
3278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3279 }
3280 arg1 = reinterpret_cast< wxObject * >(argp1);
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3288 return resultobj;
3289 fail:
3290 return NULL;
3291 }
3292
3293
3294 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3295 PyObject *obj;
3296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3297 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3298 return SWIG_Py_Void();
3299 }
3300
3301 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3302 return SWIG_Python_InitShadowInstance(args);
3303 }
3304
3305 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj = 0;
3307 wxWindow *arg1 = (wxWindow *) 0 ;
3308 int arg2 = (int) -1 ;
3309 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3310 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3311 wxSize const &arg4_defvalue = wxDefaultSize ;
3312 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3313 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3314 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3315 wxString *arg6 = (wxString *) &arg6_defvalue ;
3316 wxDynamicSashWindow *result = 0 ;
3317 void *argp1 = 0 ;
3318 int res1 = 0 ;
3319 int val2 ;
3320 int ecode2 = 0 ;
3321 wxPoint temp3 ;
3322 wxSize temp4 ;
3323 long val5 ;
3324 int ecode5 = 0 ;
3325 bool temp6 = false ;
3326 PyObject * obj0 = 0 ;
3327 PyObject * obj1 = 0 ;
3328 PyObject * obj2 = 0 ;
3329 PyObject * obj3 = 0 ;
3330 PyObject * obj4 = 0 ;
3331 PyObject * obj5 = 0 ;
3332 char * kwnames[] = {
3333 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3334 };
3335
3336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3338 if (!SWIG_IsOK(res1)) {
3339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3340 }
3341 arg1 = reinterpret_cast< wxWindow * >(argp1);
3342 if (obj1) {
3343 ecode2 = SWIG_AsVal_int(obj1, &val2);
3344 if (!SWIG_IsOK(ecode2)) {
3345 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3346 }
3347 arg2 = static_cast< int >(val2);
3348 }
3349 if (obj2) {
3350 {
3351 arg3 = &temp3;
3352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3353 }
3354 }
3355 if (obj3) {
3356 {
3357 arg4 = &temp4;
3358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3359 }
3360 }
3361 if (obj4) {
3362 ecode5 = SWIG_AsVal_long(obj4, &val5);
3363 if (!SWIG_IsOK(ecode5)) {
3364 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3365 }
3366 arg5 = static_cast< long >(val5);
3367 }
3368 if (obj5) {
3369 {
3370 arg6 = wxString_in_helper(obj5);
3371 if (arg6 == NULL) SWIG_fail;
3372 temp6 = true;
3373 }
3374 }
3375 {
3376 if (!wxPyCheckForApp()) SWIG_fail;
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3383 {
3384 if (temp6)
3385 delete arg6;
3386 }
3387 return resultobj;
3388 fail:
3389 {
3390 if (temp6)
3391 delete arg6;
3392 }
3393 return NULL;
3394 }
3395
3396
3397 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3398 PyObject *resultobj = 0;
3399 wxDynamicSashWindow *result = 0 ;
3400
3401 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3402 {
3403 if (!wxPyCheckForApp()) SWIG_fail;
3404 PyThreadState* __tstate = wxPyBeginAllowThreads();
3405 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj = 0;
3418 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3419 wxWindow *arg2 = (wxWindow *) 0 ;
3420 int arg3 = (int) -1 ;
3421 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3422 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3423 wxSize const &arg5_defvalue = wxDefaultSize ;
3424 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3425 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3426 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3427 wxString *arg7 = (wxString *) &arg7_defvalue ;
3428 bool result;
3429 void *argp1 = 0 ;
3430 int res1 = 0 ;
3431 void *argp2 = 0 ;
3432 int res2 = 0 ;
3433 int val3 ;
3434 int ecode3 = 0 ;
3435 wxPoint temp4 ;
3436 wxSize temp5 ;
3437 long val6 ;
3438 int ecode6 = 0 ;
3439 bool temp7 = false ;
3440 PyObject * obj0 = 0 ;
3441 PyObject * obj1 = 0 ;
3442 PyObject * obj2 = 0 ;
3443 PyObject * obj3 = 0 ;
3444 PyObject * obj4 = 0 ;
3445 PyObject * obj5 = 0 ;
3446 PyObject * obj6 = 0 ;
3447 char * kwnames[] = {
3448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3449 };
3450
3451 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3452 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3453 if (!SWIG_IsOK(res1)) {
3454 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3455 }
3456 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3457 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3458 if (!SWIG_IsOK(res2)) {
3459 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3460 }
3461 arg2 = reinterpret_cast< wxWindow * >(argp2);
3462 if (obj2) {
3463 ecode3 = SWIG_AsVal_int(obj2, &val3);
3464 if (!SWIG_IsOK(ecode3)) {
3465 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3466 }
3467 arg3 = static_cast< int >(val3);
3468 }
3469 if (obj3) {
3470 {
3471 arg4 = &temp4;
3472 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3473 }
3474 }
3475 if (obj4) {
3476 {
3477 arg5 = &temp5;
3478 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3479 }
3480 }
3481 if (obj5) {
3482 ecode6 = SWIG_AsVal_long(obj5, &val6);
3483 if (!SWIG_IsOK(ecode6)) {
3484 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3485 }
3486 arg6 = static_cast< long >(val6);
3487 }
3488 if (obj6) {
3489 {
3490 arg7 = wxString_in_helper(obj6);
3491 if (arg7 == NULL) SWIG_fail;
3492 temp7 = true;
3493 }
3494 }
3495 {
3496 PyThreadState* __tstate = wxPyBeginAllowThreads();
3497 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3498 wxPyEndAllowThreads(__tstate);
3499 if (PyErr_Occurred()) SWIG_fail;
3500 }
3501 {
3502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3503 }
3504 {
3505 if (temp7)
3506 delete arg7;
3507 }
3508 return resultobj;
3509 fail:
3510 {
3511 if (temp7)
3512 delete arg7;
3513 }
3514 return NULL;
3515 }
3516
3517
3518 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3519 PyObject *resultobj = 0;
3520 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3521 wxWindow *arg2 = (wxWindow *) 0 ;
3522 wxScrollBar *result = 0 ;
3523 void *argp1 = 0 ;
3524 int res1 = 0 ;
3525 void *argp2 = 0 ;
3526 int res2 = 0 ;
3527 PyObject * obj0 = 0 ;
3528 PyObject * obj1 = 0 ;
3529 char * kwnames[] = {
3530 (char *) "self",(char *) "child", NULL
3531 };
3532
3533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3535 if (!SWIG_IsOK(res1)) {
3536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3537 }
3538 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3539 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3540 if (!SWIG_IsOK(res2)) {
3541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3542 }
3543 arg2 = reinterpret_cast< wxWindow * >(argp2);
3544 {
3545 PyThreadState* __tstate = wxPyBeginAllowThreads();
3546 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3547 wxPyEndAllowThreads(__tstate);
3548 if (PyErr_Occurred()) SWIG_fail;
3549 }
3550 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3551 return resultobj;
3552 fail:
3553 return NULL;
3554 }
3555
3556
3557 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3558 PyObject *resultobj = 0;
3559 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3560 wxWindow *arg2 = (wxWindow *) 0 ;
3561 wxScrollBar *result = 0 ;
3562 void *argp1 = 0 ;
3563 int res1 = 0 ;
3564 void *argp2 = 0 ;
3565 int res2 = 0 ;
3566 PyObject * obj0 = 0 ;
3567 PyObject * obj1 = 0 ;
3568 char * kwnames[] = {
3569 (char *) "self",(char *) "child", NULL
3570 };
3571
3572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3574 if (!SWIG_IsOK(res1)) {
3575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3576 }
3577 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3578 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3579 if (!SWIG_IsOK(res2)) {
3580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3581 }
3582 arg2 = reinterpret_cast< wxWindow * >(argp2);
3583 {
3584 PyThreadState* __tstate = wxPyBeginAllowThreads();
3585 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3590 return resultobj;
3591 fail:
3592 return NULL;
3593 }
3594
3595
3596 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3597 PyObject *obj;
3598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3599 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3600 return SWIG_Py_Void();
3601 }
3602
3603 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3604 return SWIG_Python_InitShadowInstance(args);
3605 }
3606
3607 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3608 PyObject *resultobj = 0;
3609 wxWindow *arg1 = (wxWindow *) 0 ;
3610 int arg2 = (int) -1 ;
3611 wxString const &arg3_defvalue = wxPyEmptyString ;
3612 wxString *arg3 = (wxString *) &arg3_defvalue ;
3613 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3614 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3615 wxSize const &arg5_defvalue = wxDefaultSize ;
3616 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3617 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3618 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3619 wxString *arg7 = (wxString *) &arg7_defvalue ;
3620 wxEditableListBox *result = 0 ;
3621 void *argp1 = 0 ;
3622 int res1 = 0 ;
3623 int val2 ;
3624 int ecode2 = 0 ;
3625 bool temp3 = false ;
3626 wxPoint temp4 ;
3627 wxSize temp5 ;
3628 long val6 ;
3629 int ecode6 = 0 ;
3630 bool temp7 = false ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 PyObject * obj2 = 0 ;
3634 PyObject * obj3 = 0 ;
3635 PyObject * obj4 = 0 ;
3636 PyObject * obj5 = 0 ;
3637 PyObject * obj6 = 0 ;
3638 char * kwnames[] = {
3639 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3640 };
3641
3642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3644 if (!SWIG_IsOK(res1)) {
3645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3646 }
3647 arg1 = reinterpret_cast< wxWindow * >(argp1);
3648 if (obj1) {
3649 ecode2 = SWIG_AsVal_int(obj1, &val2);
3650 if (!SWIG_IsOK(ecode2)) {
3651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3652 }
3653 arg2 = static_cast< int >(val2);
3654 }
3655 if (obj2) {
3656 {
3657 arg3 = wxString_in_helper(obj2);
3658 if (arg3 == NULL) SWIG_fail;
3659 temp3 = true;
3660 }
3661 }
3662 if (obj3) {
3663 {
3664 arg4 = &temp4;
3665 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3666 }
3667 }
3668 if (obj4) {
3669 {
3670 arg5 = &temp5;
3671 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3672 }
3673 }
3674 if (obj5) {
3675 ecode6 = SWIG_AsVal_long(obj5, &val6);
3676 if (!SWIG_IsOK(ecode6)) {
3677 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3678 }
3679 arg6 = static_cast< long >(val6);
3680 }
3681 if (obj6) {
3682 {
3683 arg7 = wxString_in_helper(obj6);
3684 if (arg7 == NULL) SWIG_fail;
3685 temp7 = true;
3686 }
3687 }
3688 {
3689 if (!wxPyCheckForApp()) SWIG_fail;
3690 PyThreadState* __tstate = wxPyBeginAllowThreads();
3691 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3692 wxPyEndAllowThreads(__tstate);
3693 if (PyErr_Occurred()) SWIG_fail;
3694 }
3695 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3696 {
3697 if (temp3)
3698 delete arg3;
3699 }
3700 {
3701 if (temp7)
3702 delete arg7;
3703 }
3704 return resultobj;
3705 fail:
3706 {
3707 if (temp3)
3708 delete arg3;
3709 }
3710 {
3711 if (temp7)
3712 delete arg7;
3713 }
3714 return NULL;
3715 }
3716
3717
3718 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj = 0;
3720 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3721 wxArrayString *arg2 = 0 ;
3722 void *argp1 = 0 ;
3723 int res1 = 0 ;
3724 bool temp2 = false ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 char * kwnames[] = {
3728 (char *) "self",(char *) "strings", NULL
3729 };
3730
3731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3733 if (!SWIG_IsOK(res1)) {
3734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3735 }
3736 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3737 {
3738 if (! PySequence_Check(obj1)) {
3739 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3740 SWIG_fail;
3741 }
3742 arg2 = new wxArrayString;
3743 temp2 = true;
3744 int i, len=PySequence_Length(obj1);
3745 for (i=0; i<len; i++) {
3746 PyObject* item = PySequence_GetItem(obj1, i);
3747 wxString* s = wxString_in_helper(item);
3748 if (PyErr_Occurred()) SWIG_fail;
3749 arg2->Add(*s);
3750 delete s;
3751 Py_DECREF(item);
3752 }
3753 }
3754 {
3755 PyThreadState* __tstate = wxPyBeginAllowThreads();
3756 (arg1)->SetStrings((wxArrayString const &)*arg2);
3757 wxPyEndAllowThreads(__tstate);
3758 if (PyErr_Occurred()) SWIG_fail;
3759 }
3760 resultobj = SWIG_Py_Void();
3761 {
3762 if (temp2) delete arg2;
3763 }
3764 return resultobj;
3765 fail:
3766 {
3767 if (temp2) delete arg2;
3768 }
3769 return NULL;
3770 }
3771
3772
3773 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3774 PyObject *resultobj = 0;
3775 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3776 PyObject *result = 0 ;
3777 void *argp1 = 0 ;
3778 int res1 = 0 ;
3779 PyObject *swig_obj[1] ;
3780
3781 if (!args) SWIG_fail;
3782 swig_obj[0] = args;
3783 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3784 if (!SWIG_IsOK(res1)) {
3785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3786 }
3787 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 resultobj = result;
3795 return resultobj;
3796 fail:
3797 return NULL;
3798 }
3799
3800
3801 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3802 PyObject *resultobj = 0;
3803 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3804 wxPyListCtrl *result = 0 ;
3805 void *argp1 = 0 ;
3806 int res1 = 0 ;
3807 PyObject *swig_obj[1] ;
3808
3809 if (!args) SWIG_fail;
3810 swig_obj[0] = args;
3811 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3812 if (!SWIG_IsOK(res1)) {
3813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3814 }
3815 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3830 PyObject *resultobj = 0;
3831 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3832 wxBitmapButton *result = 0 ;
3833 void *argp1 = 0 ;
3834 int res1 = 0 ;
3835 PyObject *swig_obj[1] ;
3836
3837 if (!args) SWIG_fail;
3838 swig_obj[0] = args;
3839 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3840 if (!SWIG_IsOK(res1)) {
3841 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3842 }
3843 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (wxBitmapButton *)(arg1)->GetDelButton();
3847 wxPyEndAllowThreads(__tstate);
3848 if (PyErr_Occurred()) SWIG_fail;
3849 }
3850 {
3851 resultobj = wxPyMake_wxObject(result, 0);
3852 }
3853 return resultobj;
3854 fail:
3855 return NULL;
3856 }
3857
3858
3859 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3860 PyObject *resultobj = 0;
3861 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3862 wxBitmapButton *result = 0 ;
3863 void *argp1 = 0 ;
3864 int res1 = 0 ;
3865 PyObject *swig_obj[1] ;
3866
3867 if (!args) SWIG_fail;
3868 swig_obj[0] = args;
3869 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3870 if (!SWIG_IsOK(res1)) {
3871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3872 }
3873 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3874 {
3875 PyThreadState* __tstate = wxPyBeginAllowThreads();
3876 result = (wxBitmapButton *)(arg1)->GetNewButton();
3877 wxPyEndAllowThreads(__tstate);
3878 if (PyErr_Occurred()) SWIG_fail;
3879 }
3880 {
3881 resultobj = wxPyMake_wxObject(result, 0);
3882 }
3883 return resultobj;
3884 fail:
3885 return NULL;
3886 }
3887
3888
3889 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3890 PyObject *resultobj = 0;
3891 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3892 wxBitmapButton *result = 0 ;
3893 void *argp1 = 0 ;
3894 int res1 = 0 ;
3895 PyObject *swig_obj[1] ;
3896
3897 if (!args) SWIG_fail;
3898 swig_obj[0] = args;
3899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3900 if (!SWIG_IsOK(res1)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3902 }
3903 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3904 {
3905 PyThreadState* __tstate = wxPyBeginAllowThreads();
3906 result = (wxBitmapButton *)(arg1)->GetUpButton();
3907 wxPyEndAllowThreads(__tstate);
3908 if (PyErr_Occurred()) SWIG_fail;
3909 }
3910 {
3911 resultobj = wxPyMake_wxObject(result, 0);
3912 }
3913 return resultobj;
3914 fail:
3915 return NULL;
3916 }
3917
3918
3919 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3920 PyObject *resultobj = 0;
3921 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3922 wxBitmapButton *result = 0 ;
3923 void *argp1 = 0 ;
3924 int res1 = 0 ;
3925 PyObject *swig_obj[1] ;
3926
3927 if (!args) SWIG_fail;
3928 swig_obj[0] = args;
3929 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3930 if (!SWIG_IsOK(res1)) {
3931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3932 }
3933 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (wxBitmapButton *)(arg1)->GetDownButton();
3937 wxPyEndAllowThreads(__tstate);
3938 if (PyErr_Occurred()) SWIG_fail;
3939 }
3940 {
3941 resultobj = wxPyMake_wxObject(result, 0);
3942 }
3943 return resultobj;
3944 fail:
3945 return NULL;
3946 }
3947
3948
3949 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3950 PyObject *resultobj = 0;
3951 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3952 wxBitmapButton *result = 0 ;
3953 void *argp1 = 0 ;
3954 int res1 = 0 ;
3955 PyObject *swig_obj[1] ;
3956
3957 if (!args) SWIG_fail;
3958 swig_obj[0] = args;
3959 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3960 if (!SWIG_IsOK(res1)) {
3961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3962 }
3963 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3964 {
3965 PyThreadState* __tstate = wxPyBeginAllowThreads();
3966 result = (wxBitmapButton *)(arg1)->GetEditButton();
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 resultobj = wxPyMake_wxObject(result, 0);
3972 }
3973 return resultobj;
3974 fail:
3975 return NULL;
3976 }
3977
3978
3979 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3980 PyObject *obj;
3981 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3982 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3983 return SWIG_Py_Void();
3984 }
3985
3986 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3987 return SWIG_Python_InitShadowInstance(args);
3988 }
3989
3990 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3991 PyObject *resultobj = 0;
3992 wxWindow *arg1 = (wxWindow *) 0 ;
3993 int arg2 ;
3994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3996 wxSize const &arg4_defvalue = wxDefaultSize ;
3997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3998 long arg5 = (long) wxTR_HAS_BUTTONS ;
3999 wxRemotelyScrolledTreeCtrl *result = 0 ;
4000 void *argp1 = 0 ;
4001 int res1 = 0 ;
4002 int val2 ;
4003 int ecode2 = 0 ;
4004 wxPoint temp3 ;
4005 wxSize temp4 ;
4006 long val5 ;
4007 int ecode5 = 0 ;
4008 PyObject * obj0 = 0 ;
4009 PyObject * obj1 = 0 ;
4010 PyObject * obj2 = 0 ;
4011 PyObject * obj3 = 0 ;
4012 PyObject * obj4 = 0 ;
4013 char * kwnames[] = {
4014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4015 };
4016
4017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4019 if (!SWIG_IsOK(res1)) {
4020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4021 }
4022 arg1 = reinterpret_cast< wxWindow * >(argp1);
4023 ecode2 = SWIG_AsVal_int(obj1, &val2);
4024 if (!SWIG_IsOK(ecode2)) {
4025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4026 }
4027 arg2 = static_cast< int >(val2);
4028 if (obj2) {
4029 {
4030 arg3 = &temp3;
4031 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4032 }
4033 }
4034 if (obj3) {
4035 {
4036 arg4 = &temp4;
4037 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4038 }
4039 }
4040 if (obj4) {
4041 ecode5 = SWIG_AsVal_long(obj4, &val5);
4042 if (!SWIG_IsOK(ecode5)) {
4043 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4044 }
4045 arg5 = static_cast< long >(val5);
4046 }
4047 {
4048 if (!wxPyCheckForApp()) SWIG_fail;
4049 PyThreadState* __tstate = wxPyBeginAllowThreads();
4050 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4051 wxPyEndAllowThreads(__tstate);
4052 if (PyErr_Occurred()) SWIG_fail;
4053 }
4054 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4055 return resultobj;
4056 fail:
4057 return NULL;
4058 }
4059
4060
4061 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4062 PyObject *resultobj = 0;
4063 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4064 void *argp1 = 0 ;
4065 int res1 = 0 ;
4066 PyObject *swig_obj[1] ;
4067
4068 if (!args) SWIG_fail;
4069 swig_obj[0] = args;
4070 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4071 if (!SWIG_IsOK(res1)) {
4072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4073 }
4074 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4075 {
4076 PyThreadState* __tstate = wxPyBeginAllowThreads();
4077 (arg1)->HideVScrollbar();
4078 wxPyEndAllowThreads(__tstate);
4079 if (PyErr_Occurred()) SWIG_fail;
4080 }
4081 resultobj = SWIG_Py_Void();
4082 return resultobj;
4083 fail:
4084 return NULL;
4085 }
4086
4087
4088 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4089 PyObject *resultobj = 0;
4090 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4091 void *argp1 = 0 ;
4092 int res1 = 0 ;
4093 PyObject *swig_obj[1] ;
4094
4095 if (!args) SWIG_fail;
4096 swig_obj[0] = args;
4097 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4098 if (!SWIG_IsOK(res1)) {
4099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4100 }
4101 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4102 {
4103 PyThreadState* __tstate = wxPyBeginAllowThreads();
4104 (arg1)->AdjustRemoteScrollbars();
4105 wxPyEndAllowThreads(__tstate);
4106 if (PyErr_Occurred()) SWIG_fail;
4107 }
4108 resultobj = SWIG_Py_Void();
4109 return resultobj;
4110 fail:
4111 return NULL;
4112 }
4113
4114
4115 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4116 PyObject *resultobj = 0;
4117 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4118 wxScrolledWindow *result = 0 ;
4119 void *argp1 = 0 ;
4120 int res1 = 0 ;
4121 PyObject *swig_obj[1] ;
4122
4123 if (!args) SWIG_fail;
4124 swig_obj[0] = args;
4125 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4126 if (!SWIG_IsOK(res1)) {
4127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4128 }
4129 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4133 wxPyEndAllowThreads(__tstate);
4134 if (PyErr_Occurred()) SWIG_fail;
4135 }
4136 {
4137 resultobj = wxPyMake_wxObject(result, 0);
4138 }
4139 return resultobj;
4140 fail:
4141 return NULL;
4142 }
4143
4144
4145 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj = 0;
4147 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4148 int arg2 ;
4149 int arg3 ;
4150 void *argp1 = 0 ;
4151 int res1 = 0 ;
4152 int val2 ;
4153 int ecode2 = 0 ;
4154 int val3 ;
4155 int ecode3 = 0 ;
4156 PyObject * obj0 = 0 ;
4157 PyObject * obj1 = 0 ;
4158 PyObject * obj2 = 0 ;
4159 char * kwnames[] = {
4160 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4161 };
4162
4163 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4164 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4165 if (!SWIG_IsOK(res1)) {
4166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4167 }
4168 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4169 ecode2 = SWIG_AsVal_int(obj1, &val2);
4170 if (!SWIG_IsOK(ecode2)) {
4171 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4172 }
4173 arg2 = static_cast< int >(val2);
4174 ecode3 = SWIG_AsVal_int(obj2, &val3);
4175 if (!SWIG_IsOK(ecode3)) {
4176 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4177 }
4178 arg3 = static_cast< int >(val3);
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 (arg1)->ScrollToLine(arg2,arg3);
4182 wxPyEndAllowThreads(__tstate);
4183 if (PyErr_Occurred()) SWIG_fail;
4184 }
4185 resultobj = SWIG_Py_Void();
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj = 0;
4194 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4195 wxWindow *arg2 = (wxWindow *) 0 ;
4196 void *argp1 = 0 ;
4197 int res1 = 0 ;
4198 void *argp2 = 0 ;
4199 int res2 = 0 ;
4200 PyObject * obj0 = 0 ;
4201 PyObject * obj1 = 0 ;
4202 char * kwnames[] = {
4203 (char *) "self",(char *) "companion", NULL
4204 };
4205
4206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4208 if (!SWIG_IsOK(res1)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4210 }
4211 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4212 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4213 if (!SWIG_IsOK(res2)) {
4214 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4215 }
4216 arg2 = reinterpret_cast< wxWindow * >(argp2);
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 (arg1)->SetCompanionWindow(arg2);
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 resultobj = SWIG_Py_Void();
4224 return resultobj;
4225 fail:
4226 return NULL;
4227 }
4228
4229
4230 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4231 PyObject *resultobj = 0;
4232 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4233 wxWindow *result = 0 ;
4234 void *argp1 = 0 ;
4235 int res1 = 0 ;
4236 PyObject *swig_obj[1] ;
4237
4238 if (!args) SWIG_fail;
4239 swig_obj[0] = args;
4240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4241 if (!SWIG_IsOK(res1)) {
4242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4243 }
4244 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4248 wxPyEndAllowThreads(__tstate);
4249 if (PyErr_Occurred()) SWIG_fail;
4250 }
4251 {
4252 resultobj = wxPyMake_wxObject(result, 0);
4253 }
4254 return resultobj;
4255 fail:
4256 return NULL;
4257 }
4258
4259
4260 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4261 PyObject *obj;
4262 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4263 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4264 return SWIG_Py_Void();
4265 }
4266
4267 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4268 return SWIG_Python_InitShadowInstance(args);
4269 }
4270
4271 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4272 PyObject *resultobj = 0;
4273 wxWindow *arg1 = (wxWindow *) 0 ;
4274 int arg2 = (int) -1 ;
4275 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4276 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4277 wxSize const &arg4_defvalue = wxDefaultSize ;
4278 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4279 long arg5 = (long) 0 ;
4280 wxPyTreeCompanionWindow *result = 0 ;
4281 void *argp1 = 0 ;
4282 int res1 = 0 ;
4283 int val2 ;
4284 int ecode2 = 0 ;
4285 wxPoint temp3 ;
4286 wxSize temp4 ;
4287 long val5 ;
4288 int ecode5 = 0 ;
4289 PyObject * obj0 = 0 ;
4290 PyObject * obj1 = 0 ;
4291 PyObject * obj2 = 0 ;
4292 PyObject * obj3 = 0 ;
4293 PyObject * obj4 = 0 ;
4294 char * kwnames[] = {
4295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4296 };
4297
4298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4300 if (!SWIG_IsOK(res1)) {
4301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4302 }
4303 arg1 = reinterpret_cast< wxWindow * >(argp1);
4304 if (obj1) {
4305 ecode2 = SWIG_AsVal_int(obj1, &val2);
4306 if (!SWIG_IsOK(ecode2)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4308 }
4309 arg2 = static_cast< int >(val2);
4310 }
4311 if (obj2) {
4312 {
4313 arg3 = &temp3;
4314 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4315 }
4316 }
4317 if (obj3) {
4318 {
4319 arg4 = &temp4;
4320 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4321 }
4322 }
4323 if (obj4) {
4324 ecode5 = SWIG_AsVal_long(obj4, &val5);
4325 if (!SWIG_IsOK(ecode5)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4327 }
4328 arg5 = static_cast< long >(val5);
4329 }
4330 {
4331 if (!wxPyCheckForApp()) SWIG_fail;
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4334 wxPyEndAllowThreads(__tstate);
4335 if (PyErr_Occurred()) SWIG_fail;
4336 }
4337 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4338 return resultobj;
4339 fail:
4340 return NULL;
4341 }
4342
4343
4344 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4345 PyObject *resultobj = 0;
4346 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4347 PyObject *arg2 = (PyObject *) 0 ;
4348 PyObject *arg3 = (PyObject *) 0 ;
4349 void *argp1 = 0 ;
4350 int res1 = 0 ;
4351 PyObject * obj0 = 0 ;
4352 PyObject * obj1 = 0 ;
4353 PyObject * obj2 = 0 ;
4354 char * kwnames[] = {
4355 (char *) "self",(char *) "self",(char *) "_class", NULL
4356 };
4357
4358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4360 if (!SWIG_IsOK(res1)) {
4361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4362 }
4363 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4364 arg2 = obj1;
4365 arg3 = obj2;
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 (arg1)->_setCallbackInfo(arg2,arg3);
4369 wxPyEndAllowThreads(__tstate);
4370 if (PyErr_Occurred()) SWIG_fail;
4371 }
4372 resultobj = SWIG_Py_Void();
4373 return resultobj;
4374 fail:
4375 return NULL;
4376 }
4377
4378
4379 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4380 PyObject *resultobj = 0;
4381 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4382 wxRemotelyScrolledTreeCtrl *result = 0 ;
4383 void *argp1 = 0 ;
4384 int res1 = 0 ;
4385 PyObject *swig_obj[1] ;
4386
4387 if (!args) SWIG_fail;
4388 swig_obj[0] = args;
4389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4390 if (!SWIG_IsOK(res1)) {
4391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4392 }
4393 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4394 {
4395 PyThreadState* __tstate = wxPyBeginAllowThreads();
4396 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4397 wxPyEndAllowThreads(__tstate);
4398 if (PyErr_Occurred()) SWIG_fail;
4399 }
4400 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4401 return resultobj;
4402 fail:
4403 return NULL;
4404 }
4405
4406
4407 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4408 PyObject *resultobj = 0;
4409 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4410 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4411 void *argp1 = 0 ;
4412 int res1 = 0 ;
4413 void *argp2 = 0 ;
4414 int res2 = 0 ;
4415 PyObject * obj0 = 0 ;
4416 PyObject * obj1 = 0 ;
4417 char * kwnames[] = {
4418 (char *) "self",(char *) "treeCtrl", NULL
4419 };
4420
4421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4423 if (!SWIG_IsOK(res1)) {
4424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4425 }
4426 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4427 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4428 if (!SWIG_IsOK(res2)) {
4429 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4430 }
4431 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4432 {
4433 PyThreadState* __tstate = wxPyBeginAllowThreads();
4434 (arg1)->SetTreeCtrl(arg2);
4435 wxPyEndAllowThreads(__tstate);
4436 if (PyErr_Occurred()) SWIG_fail;
4437 }
4438 resultobj = SWIG_Py_Void();
4439 return resultobj;
4440 fail:
4441 return NULL;
4442 }
4443
4444
4445 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4446 PyObject *obj;
4447 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4448 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4449 return SWIG_Py_Void();
4450 }
4451
4452 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4453 return SWIG_Python_InitShadowInstance(args);
4454 }
4455
4456 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj = 0;
4458 wxWindow *arg1 = (wxWindow *) 0 ;
4459 int arg2 = (int) -1 ;
4460 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4461 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4462 wxSize const &arg4_defvalue = wxDefaultSize ;
4463 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4464 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4465 wxThinSplitterWindow *result = 0 ;
4466 void *argp1 = 0 ;
4467 int res1 = 0 ;
4468 int val2 ;
4469 int ecode2 = 0 ;
4470 wxPoint temp3 ;
4471 wxSize temp4 ;
4472 long val5 ;
4473 int ecode5 = 0 ;
4474 PyObject * obj0 = 0 ;
4475 PyObject * obj1 = 0 ;
4476 PyObject * obj2 = 0 ;
4477 PyObject * obj3 = 0 ;
4478 PyObject * obj4 = 0 ;
4479 char * kwnames[] = {
4480 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4481 };
4482
4483 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4484 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4485 if (!SWIG_IsOK(res1)) {
4486 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4487 }
4488 arg1 = reinterpret_cast< wxWindow * >(argp1);
4489 if (obj1) {
4490 ecode2 = SWIG_AsVal_int(obj1, &val2);
4491 if (!SWIG_IsOK(ecode2)) {
4492 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4493 }
4494 arg2 = static_cast< int >(val2);
4495 }
4496 if (obj2) {
4497 {
4498 arg3 = &temp3;
4499 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4500 }
4501 }
4502 if (obj3) {
4503 {
4504 arg4 = &temp4;
4505 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4506 }
4507 }
4508 if (obj4) {
4509 ecode5 = SWIG_AsVal_long(obj4, &val5);
4510 if (!SWIG_IsOK(ecode5)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4512 }
4513 arg5 = static_cast< long >(val5);
4514 }
4515 {
4516 if (!wxPyCheckForApp()) SWIG_fail;
4517 PyThreadState* __tstate = wxPyBeginAllowThreads();
4518 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4523 return resultobj;
4524 fail:
4525 return NULL;
4526 }
4527
4528
4529 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4530 PyObject *obj;
4531 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4532 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4533 return SWIG_Py_Void();
4534 }
4535
4536 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4537 return SWIG_Python_InitShadowInstance(args);
4538 }
4539
4540 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4541 PyObject *resultobj = 0;
4542 wxWindow *arg1 = (wxWindow *) 0 ;
4543 int arg2 = (int) -1 ;
4544 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4545 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4546 wxSize const &arg4_defvalue = wxDefaultSize ;
4547 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4548 long arg5 = (long) 0 ;
4549 wxSplitterScrolledWindow *result = 0 ;
4550 void *argp1 = 0 ;
4551 int res1 = 0 ;
4552 int val2 ;
4553 int ecode2 = 0 ;
4554 wxPoint temp3 ;
4555 wxSize temp4 ;
4556 long val5 ;
4557 int ecode5 = 0 ;
4558 PyObject * obj0 = 0 ;
4559 PyObject * obj1 = 0 ;
4560 PyObject * obj2 = 0 ;
4561 PyObject * obj3 = 0 ;
4562 PyObject * obj4 = 0 ;
4563 char * kwnames[] = {
4564 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4565 };
4566
4567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4569 if (!SWIG_IsOK(res1)) {
4570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4571 }
4572 arg1 = reinterpret_cast< wxWindow * >(argp1);
4573 if (obj1) {
4574 ecode2 = SWIG_AsVal_int(obj1, &val2);
4575 if (!SWIG_IsOK(ecode2)) {
4576 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4577 }
4578 arg2 = static_cast< int >(val2);
4579 }
4580 if (obj2) {
4581 {
4582 arg3 = &temp3;
4583 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4584 }
4585 }
4586 if (obj3) {
4587 {
4588 arg4 = &temp4;
4589 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4590 }
4591 }
4592 if (obj4) {
4593 ecode5 = SWIG_AsVal_long(obj4, &val5);
4594 if (!SWIG_IsOK(ecode5)) {
4595 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4596 }
4597 arg5 = static_cast< long >(val5);
4598 }
4599 {
4600 if (!wxPyCheckForApp()) SWIG_fail;
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4607 return resultobj;
4608 fail:
4609 return NULL;
4610 }
4611
4612
4613 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4614 PyObject *obj;
4615 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4617 return SWIG_Py_Void();
4618 }
4619
4620 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4621 return SWIG_Python_InitShadowInstance(args);
4622 }
4623
4624 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj = 0;
4626 wxWindow *arg1 = (wxWindow *) 0 ;
4627 int arg2 = (int) -1 ;
4628 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4629 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4630 wxSize const &arg4_defvalue = wxDefaultSize ;
4631 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4632 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4633 wxLEDNumberCtrl *result = 0 ;
4634 void *argp1 = 0 ;
4635 int res1 = 0 ;
4636 int val2 ;
4637 int ecode2 = 0 ;
4638 wxPoint temp3 ;
4639 wxSize temp4 ;
4640 long val5 ;
4641 int ecode5 = 0 ;
4642 PyObject * obj0 = 0 ;
4643 PyObject * obj1 = 0 ;
4644 PyObject * obj2 = 0 ;
4645 PyObject * obj3 = 0 ;
4646 PyObject * obj4 = 0 ;
4647 char * kwnames[] = {
4648 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4649 };
4650
4651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4653 if (!SWIG_IsOK(res1)) {
4654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4655 }
4656 arg1 = reinterpret_cast< wxWindow * >(argp1);
4657 if (obj1) {
4658 ecode2 = SWIG_AsVal_int(obj1, &val2);
4659 if (!SWIG_IsOK(ecode2)) {
4660 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4661 }
4662 arg2 = static_cast< int >(val2);
4663 }
4664 if (obj2) {
4665 {
4666 arg3 = &temp3;
4667 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4668 }
4669 }
4670 if (obj3) {
4671 {
4672 arg4 = &temp4;
4673 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4674 }
4675 }
4676 if (obj4) {
4677 ecode5 = SWIG_AsVal_long(obj4, &val5);
4678 if (!SWIG_IsOK(ecode5)) {
4679 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4680 }
4681 arg5 = static_cast< long >(val5);
4682 }
4683 {
4684 if (!wxPyCheckForApp()) SWIG_fail;
4685 PyThreadState* __tstate = wxPyBeginAllowThreads();
4686 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4691 return resultobj;
4692 fail:
4693 return NULL;
4694 }
4695
4696
4697 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4698 PyObject *resultobj = 0;
4699 wxLEDNumberCtrl *result = 0 ;
4700
4701 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4702 {
4703 if (!wxPyCheckForApp()) SWIG_fail;
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4706 wxPyEndAllowThreads(__tstate);
4707 if (PyErr_Occurred()) SWIG_fail;
4708 }
4709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4710 return resultobj;
4711 fail:
4712 return NULL;
4713 }
4714
4715
4716 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4717 PyObject *resultobj = 0;
4718 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4719 wxWindow *arg2 = (wxWindow *) 0 ;
4720 int arg3 = (int) -1 ;
4721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4723 wxSize const &arg5_defvalue = wxDefaultSize ;
4724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4725 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4726 bool result;
4727 void *argp1 = 0 ;
4728 int res1 = 0 ;
4729 void *argp2 = 0 ;
4730 int res2 = 0 ;
4731 int val3 ;
4732 int ecode3 = 0 ;
4733 wxPoint temp4 ;
4734 wxSize temp5 ;
4735 long val6 ;
4736 int ecode6 = 0 ;
4737 PyObject * obj0 = 0 ;
4738 PyObject * obj1 = 0 ;
4739 PyObject * obj2 = 0 ;
4740 PyObject * obj3 = 0 ;
4741 PyObject * obj4 = 0 ;
4742 PyObject * obj5 = 0 ;
4743 char * kwnames[] = {
4744 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4745 };
4746
4747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4749 if (!SWIG_IsOK(res1)) {
4750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4751 }
4752 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4753 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4754 if (!SWIG_IsOK(res2)) {
4755 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4756 }
4757 arg2 = reinterpret_cast< wxWindow * >(argp2);
4758 if (obj2) {
4759 ecode3 = SWIG_AsVal_int(obj2, &val3);
4760 if (!SWIG_IsOK(ecode3)) {
4761 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4762 }
4763 arg3 = static_cast< int >(val3);
4764 }
4765 if (obj3) {
4766 {
4767 arg4 = &temp4;
4768 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4769 }
4770 }
4771 if (obj4) {
4772 {
4773 arg5 = &temp5;
4774 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4775 }
4776 }
4777 if (obj5) {
4778 ecode6 = SWIG_AsVal_long(obj5, &val6);
4779 if (!SWIG_IsOK(ecode6)) {
4780 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4781 }
4782 arg6 = static_cast< long >(val6);
4783 }
4784 {
4785 PyThreadState* __tstate = wxPyBeginAllowThreads();
4786 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796 }
4797
4798
4799 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4800 PyObject *resultobj = 0;
4801 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4802 wxLEDValueAlign result;
4803 void *argp1 = 0 ;
4804 int res1 = 0 ;
4805 PyObject *swig_obj[1] ;
4806
4807 if (!args) SWIG_fail;
4808 swig_obj[0] = args;
4809 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4810 if (!SWIG_IsOK(res1)) {
4811 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4812 }
4813 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4817 wxPyEndAllowThreads(__tstate);
4818 if (PyErr_Occurred()) SWIG_fail;
4819 }
4820 resultobj = SWIG_From_int(static_cast< int >(result));
4821 return resultobj;
4822 fail:
4823 return NULL;
4824 }
4825
4826
4827 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4828 PyObject *resultobj = 0;
4829 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4830 bool result;
4831 void *argp1 = 0 ;
4832 int res1 = 0 ;
4833 PyObject *swig_obj[1] ;
4834
4835 if (!args) SWIG_fail;
4836 swig_obj[0] = args;
4837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4838 if (!SWIG_IsOK(res1)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4840 }
4841 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4845 wxPyEndAllowThreads(__tstate);
4846 if (PyErr_Occurred()) SWIG_fail;
4847 }
4848 {
4849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4850 }
4851 return resultobj;
4852 fail:
4853 return NULL;
4854 }
4855
4856
4857 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4858 PyObject *resultobj = 0;
4859 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4860 wxString *result = 0 ;
4861 void *argp1 = 0 ;
4862 int res1 = 0 ;
4863 PyObject *swig_obj[1] ;
4864
4865 if (!args) SWIG_fail;
4866 swig_obj[0] = args;
4867 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4868 if (!SWIG_IsOK(res1)) {
4869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4870 }
4871 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 {
4875 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4876 result = (wxString *) &_result_ref;
4877 }
4878 wxPyEndAllowThreads(__tstate);
4879 if (PyErr_Occurred()) SWIG_fail;
4880 }
4881 {
4882 #if wxUSE_UNICODE
4883 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4884 #else
4885 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4886 #endif
4887 }
4888 return resultobj;
4889 fail:
4890 return NULL;
4891 }
4892
4893
4894 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj = 0;
4896 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4897 wxLEDValueAlign arg2 ;
4898 bool arg3 = (bool) true ;
4899 void *argp1 = 0 ;
4900 int res1 = 0 ;
4901 int val2 ;
4902 int ecode2 = 0 ;
4903 bool val3 ;
4904 int ecode3 = 0 ;
4905 PyObject * obj0 = 0 ;
4906 PyObject * obj1 = 0 ;
4907 PyObject * obj2 = 0 ;
4908 char * kwnames[] = {
4909 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4910 };
4911
4912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4914 if (!SWIG_IsOK(res1)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4916 }
4917 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4918 ecode2 = SWIG_AsVal_int(obj1, &val2);
4919 if (!SWIG_IsOK(ecode2)) {
4920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4921 }
4922 arg2 = static_cast< wxLEDValueAlign >(val2);
4923 if (obj2) {
4924 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4925 if (!SWIG_IsOK(ecode3)) {
4926 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4927 }
4928 arg3 = static_cast< bool >(val3);
4929 }
4930 {
4931 PyThreadState* __tstate = wxPyBeginAllowThreads();
4932 (arg1)->SetAlignment(arg2,arg3);
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 resultobj = SWIG_Py_Void();
4937 return resultobj;
4938 fail:
4939 return NULL;
4940 }
4941
4942
4943 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4944 PyObject *resultobj = 0;
4945 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4946 bool arg2 ;
4947 bool arg3 = (bool) true ;
4948 void *argp1 = 0 ;
4949 int res1 = 0 ;
4950 bool val2 ;
4951 int ecode2 = 0 ;
4952 bool val3 ;
4953 int ecode3 = 0 ;
4954 PyObject * obj0 = 0 ;
4955 PyObject * obj1 = 0 ;
4956 PyObject * obj2 = 0 ;
4957 char * kwnames[] = {
4958 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4959 };
4960
4961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4963 if (!SWIG_IsOK(res1)) {
4964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4965 }
4966 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4967 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4968 if (!SWIG_IsOK(ecode2)) {
4969 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4970 }
4971 arg2 = static_cast< bool >(val2);
4972 if (obj2) {
4973 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4974 if (!SWIG_IsOK(ecode3)) {
4975 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4976 }
4977 arg3 = static_cast< bool >(val3);
4978 }
4979 {
4980 PyThreadState* __tstate = wxPyBeginAllowThreads();
4981 (arg1)->SetDrawFaded(arg2,arg3);
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 resultobj = SWIG_Py_Void();
4986 return resultobj;
4987 fail:
4988 return NULL;
4989 }
4990
4991
4992 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4993 PyObject *resultobj = 0;
4994 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4995 wxString *arg2 = 0 ;
4996 bool arg3 = (bool) true ;
4997 void *argp1 = 0 ;
4998 int res1 = 0 ;
4999 bool temp2 = false ;
5000 bool val3 ;
5001 int ecode3 = 0 ;
5002 PyObject * obj0 = 0 ;
5003 PyObject * obj1 = 0 ;
5004 PyObject * obj2 = 0 ;
5005 char * kwnames[] = {
5006 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5007 };
5008
5009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5011 if (!SWIG_IsOK(res1)) {
5012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5013 }
5014 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5015 {
5016 arg2 = wxString_in_helper(obj1);
5017 if (arg2 == NULL) SWIG_fail;
5018 temp2 = true;
5019 }
5020 if (obj2) {
5021 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5022 if (!SWIG_IsOK(ecode3)) {
5023 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5024 }
5025 arg3 = static_cast< bool >(val3);
5026 }
5027 {
5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
5029 (arg1)->SetValue((wxString const &)*arg2,arg3);
5030 wxPyEndAllowThreads(__tstate);
5031 if (PyErr_Occurred()) SWIG_fail;
5032 }
5033 resultobj = SWIG_Py_Void();
5034 {
5035 if (temp2)
5036 delete arg2;
5037 }
5038 return resultobj;
5039 fail:
5040 {
5041 if (temp2)
5042 delete arg2;
5043 }
5044 return NULL;
5045 }
5046
5047
5048 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5049 PyObject *obj;
5050 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5051 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5052 return SWIG_Py_Void();
5053 }
5054
5055 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5056 return SWIG_Python_InitShadowInstance(args);
5057 }
5058
5059 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5060 PyObject *resultobj = 0;
5061 wxString const &arg1_defvalue = wxPyEmptyString ;
5062 wxString *arg1 = (wxString *) &arg1_defvalue ;
5063 int arg2 = (int) -1 ;
5064 size_t arg3 = (size_t) 100 ;
5065 bool arg4 = (bool) true ;
5066 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5067 wxTreeListColumnInfo *result = 0 ;
5068 bool temp1 = false ;
5069 int val2 ;
5070 int ecode2 = 0 ;
5071 size_t val3 ;
5072 int ecode3 = 0 ;
5073 bool val4 ;
5074 int ecode4 = 0 ;
5075 int val5 ;
5076 int ecode5 = 0 ;
5077 PyObject * obj0 = 0 ;
5078 PyObject * obj1 = 0 ;
5079 PyObject * obj2 = 0 ;
5080 PyObject * obj3 = 0 ;
5081 PyObject * obj4 = 0 ;
5082 char * kwnames[] = {
5083 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5084 };
5085
5086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5087 if (obj0) {
5088 {
5089 arg1 = wxString_in_helper(obj0);
5090 if (arg1 == NULL) SWIG_fail;
5091 temp1 = true;
5092 }
5093 }
5094 if (obj1) {
5095 ecode2 = SWIG_AsVal_int(obj1, &val2);
5096 if (!SWIG_IsOK(ecode2)) {
5097 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5098 }
5099 arg2 = static_cast< int >(val2);
5100 }
5101 if (obj2) {
5102 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5103 if (!SWIG_IsOK(ecode3)) {
5104 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5105 }
5106 arg3 = static_cast< size_t >(val3);
5107 }
5108 if (obj3) {
5109 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5110 if (!SWIG_IsOK(ecode4)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5112 }
5113 arg4 = static_cast< bool >(val4);
5114 }
5115 if (obj4) {
5116 ecode5 = SWIG_AsVal_int(obj4, &val5);
5117 if (!SWIG_IsOK(ecode5)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5119 }
5120 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5121 }
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5129 {
5130 if (temp1)
5131 delete arg1;
5132 }
5133 return resultobj;
5134 fail:
5135 {
5136 if (temp1)
5137 delete arg1;
5138 }
5139 return NULL;
5140 }
5141
5142
5143 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5144 PyObject *resultobj = 0;
5145 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5146 void *argp1 = 0 ;
5147 int res1 = 0 ;
5148 PyObject *swig_obj[1] ;
5149
5150 if (!args) SWIG_fail;
5151 swig_obj[0] = args;
5152 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5153 if (!SWIG_IsOK(res1)) {
5154 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5155 }
5156 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 delete arg1;
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = SWIG_Py_Void();
5165 return resultobj;
5166 fail:
5167 return NULL;
5168 }
5169
5170
5171 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5172 PyObject *resultobj = 0;
5173 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5174 bool result;
5175 void *argp1 = 0 ;
5176 int res1 = 0 ;
5177 PyObject *swig_obj[1] ;
5178
5179 if (!args) SWIG_fail;
5180 swig_obj[0] = args;
5181 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5182 if (!SWIG_IsOK(res1)) {
5183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5184 }
5185 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5186 {
5187 PyThreadState* __tstate = wxPyBeginAllowThreads();
5188 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5189 wxPyEndAllowThreads(__tstate);
5190 if (PyErr_Occurred()) SWIG_fail;
5191 }
5192 {
5193 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5194 }
5195 return resultobj;
5196 fail:
5197 return NULL;
5198 }
5199
5200
5201 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5202 PyObject *resultobj = 0;
5203 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5204 wxTreeListColumnAlign result;
5205 void *argp1 = 0 ;
5206 int res1 = 0 ;
5207 PyObject *swig_obj[1] ;
5208
5209 if (!args) SWIG_fail;
5210 swig_obj[0] = args;
5211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5212 if (!SWIG_IsOK(res1)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5214 }
5215 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5216 {
5217 PyThreadState* __tstate = wxPyBeginAllowThreads();
5218 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5219 wxPyEndAllowThreads(__tstate);
5220 if (PyErr_Occurred()) SWIG_fail;
5221 }
5222 resultobj = SWIG_From_int(static_cast< int >(result));
5223 return resultobj;
5224 fail:
5225 return NULL;
5226 }
5227
5228
5229 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5230 PyObject *resultobj = 0;
5231 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5232 wxString result;
5233 void *argp1 = 0 ;
5234 int res1 = 0 ;
5235 PyObject *swig_obj[1] ;
5236
5237 if (!args) SWIG_fail;
5238 swig_obj[0] = args;
5239 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5240 if (!SWIG_IsOK(res1)) {
5241 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5242 }
5243 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5244 {
5245 PyThreadState* __tstate = wxPyBeginAllowThreads();
5246 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5247 wxPyEndAllowThreads(__tstate);
5248 if (PyErr_Occurred()) SWIG_fail;
5249 }
5250 {
5251 #if wxUSE_UNICODE
5252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5253 #else
5254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5255 #endif
5256 }
5257 return resultobj;
5258 fail:
5259 return NULL;
5260 }
5261
5262
5263 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5264 PyObject *resultobj = 0;
5265 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5266 int result;
5267 void *argp1 = 0 ;
5268 int res1 = 0 ;
5269 PyObject *swig_obj[1] ;
5270
5271 if (!args) SWIG_fail;
5272 swig_obj[0] = args;
5273 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5274 if (!SWIG_IsOK(res1)) {
5275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5276 }
5277 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5278 {
5279 PyThreadState* __tstate = wxPyBeginAllowThreads();
5280 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = SWIG_From_int(static_cast< int >(result));
5285 return resultobj;
5286 fail:
5287 return NULL;
5288 }
5289
5290
5291 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5292 PyObject *resultobj = 0;
5293 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5294 int result;
5295 void *argp1 = 0 ;
5296 int res1 = 0 ;
5297 PyObject *swig_obj[1] ;
5298
5299 if (!args) SWIG_fail;
5300 swig_obj[0] = args;
5301 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5302 if (!SWIG_IsOK(res1)) {
5303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5304 }
5305 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 resultobj = SWIG_From_int(static_cast< int >(result));
5313 return resultobj;
5314 fail:
5315 return NULL;
5316 }
5317
5318
5319 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5320 PyObject *resultobj = 0;
5321 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5322 size_t result;
5323 void *argp1 = 0 ;
5324 int res1 = 0 ;
5325 PyObject *swig_obj[1] ;
5326
5327 if (!args) SWIG_fail;
5328 swig_obj[0] = args;
5329 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5330 if (!SWIG_IsOK(res1)) {
5331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5332 }
5333 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5341 return resultobj;
5342 fail:
5343 return NULL;
5344 }
5345
5346
5347 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5348 PyObject *resultobj = 0;
5349 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5350 bool arg2 ;
5351 void *argp1 = 0 ;
5352 int res1 = 0 ;
5353 bool val2 ;
5354 int ecode2 = 0 ;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 char * kwnames[] = {
5358 (char *) "self",(char *) "shown", NULL
5359 };
5360
5361 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5362 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5363 if (!SWIG_IsOK(res1)) {
5364 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5365 }
5366 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5367 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5368 if (!SWIG_IsOK(ecode2)) {
5369 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5370 }
5371 arg2 = static_cast< bool >(val2);
5372 {
5373 PyThreadState* __tstate = wxPyBeginAllowThreads();
5374 (arg1)->SetShown(arg2);
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 resultobj = SWIG_Py_Void();
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5386 PyObject *resultobj = 0;
5387 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5388 wxTreeListColumnAlign arg2 ;
5389 void *argp1 = 0 ;
5390 int res1 = 0 ;
5391 int val2 ;
5392 int ecode2 = 0 ;
5393 PyObject * obj0 = 0 ;
5394 PyObject * obj1 = 0 ;
5395 char * kwnames[] = {
5396 (char *) "self",(char *) "alignment", NULL
5397 };
5398
5399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5401 if (!SWIG_IsOK(res1)) {
5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5403 }
5404 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5405 ecode2 = SWIG_AsVal_int(obj1, &val2);
5406 if (!SWIG_IsOK(ecode2)) {
5407 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5408 }
5409 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 (arg1)->SetAlignment(arg2);
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 resultobj = SWIG_Py_Void();
5417 return resultobj;
5418 fail:
5419 return NULL;
5420 }
5421
5422
5423 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5424 PyObject *resultobj = 0;
5425 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5426 wxString *arg2 = 0 ;
5427 void *argp1 = 0 ;
5428 int res1 = 0 ;
5429 bool temp2 = false ;
5430 PyObject * obj0 = 0 ;
5431 PyObject * obj1 = 0 ;
5432 char * kwnames[] = {
5433 (char *) "self",(char *) "text", NULL
5434 };
5435
5436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5438 if (!SWIG_IsOK(res1)) {
5439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5440 }
5441 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5442 {
5443 arg2 = wxString_in_helper(obj1);
5444 if (arg2 == NULL) SWIG_fail;
5445 temp2 = true;
5446 }
5447 {
5448 PyThreadState* __tstate = wxPyBeginAllowThreads();
5449 (arg1)->SetText((wxString const &)*arg2);
5450 wxPyEndAllowThreads(__tstate);
5451 if (PyErr_Occurred()) SWIG_fail;
5452 }
5453 resultobj = SWIG_Py_Void();
5454 {
5455 if (temp2)
5456 delete arg2;
5457 }
5458 return resultobj;
5459 fail:
5460 {
5461 if (temp2)
5462 delete arg2;
5463 }
5464 return NULL;
5465 }
5466
5467
5468 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5469 PyObject *resultobj = 0;
5470 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5471 int arg2 ;
5472 void *argp1 = 0 ;
5473 int res1 = 0 ;
5474 int val2 ;
5475 int ecode2 = 0 ;
5476 PyObject * obj0 = 0 ;
5477 PyObject * obj1 = 0 ;
5478 char * kwnames[] = {
5479 (char *) "self",(char *) "image", NULL
5480 };
5481
5482 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5483 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5484 if (!SWIG_IsOK(res1)) {
5485 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5486 }
5487 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5488 ecode2 = SWIG_AsVal_int(obj1, &val2);
5489 if (!SWIG_IsOK(ecode2)) {
5490 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5491 }
5492 arg2 = static_cast< int >(val2);
5493 {
5494 PyThreadState* __tstate = wxPyBeginAllowThreads();
5495 (arg1)->SetImage(arg2);
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 resultobj = SWIG_Py_Void();
5500 return resultobj;
5501 fail:
5502 return NULL;
5503 }
5504
5505
5506 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5507 PyObject *resultobj = 0;
5508 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5509 int arg2 ;
5510 void *argp1 = 0 ;
5511 int res1 = 0 ;
5512 int val2 ;
5513 int ecode2 = 0 ;
5514 PyObject * obj0 = 0 ;
5515 PyObject * obj1 = 0 ;
5516 char * kwnames[] = {
5517 (char *) "self",(char *) "image", NULL
5518 };
5519
5520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5522 if (!SWIG_IsOK(res1)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5524 }
5525 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5526 ecode2 = SWIG_AsVal_int(obj1, &val2);
5527 if (!SWIG_IsOK(ecode2)) {
5528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5529 }
5530 arg2 = static_cast< int >(val2);
5531 {
5532 PyThreadState* __tstate = wxPyBeginAllowThreads();
5533 (arg1)->SetSelectedImage(arg2);
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 resultobj = SWIG_Py_Void();
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj = 0;
5546 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5547 size_t arg2 ;
5548 void *argp1 = 0 ;
5549 int res1 = 0 ;
5550 size_t val2 ;
5551 int ecode2 = 0 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 char * kwnames[] = {
5555 (char *) "self",(char *) "with", NULL
5556 };
5557
5558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5560 if (!SWIG_IsOK(res1)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5562 }
5563 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5564 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5565 if (!SWIG_IsOK(ecode2)) {
5566 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5567 }
5568 arg2 = static_cast< size_t >(val2);
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 (arg1)->SetWidth(arg2);
5572 wxPyEndAllowThreads(__tstate);
5573 if (PyErr_Occurred()) SWIG_fail;
5574 }
5575 resultobj = SWIG_Py_Void();
5576 return resultobj;
5577 fail:
5578 return NULL;
5579 }
5580
5581
5582 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5583 PyObject *obj;
5584 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5585 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5586 return SWIG_Py_Void();
5587 }
5588
5589 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5590 return SWIG_Python_InitShadowInstance(args);
5591 }
5592
5593 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5594 PyObject *resultobj = 0;
5595 wxWindow *arg1 = (wxWindow *) 0 ;
5596 int arg2 = (int) -1 ;
5597 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5598 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5599 wxSize const &arg4_defvalue = wxDefaultSize ;
5600 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5601 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5602 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5603 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5604 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5605 wxString *arg7 = (wxString *) &arg7_defvalue ;
5606 wxPyTreeListCtrl *result = 0 ;
5607 void *argp1 = 0 ;
5608 int res1 = 0 ;
5609 int val2 ;
5610 int ecode2 = 0 ;
5611 wxPoint temp3 ;
5612 wxSize temp4 ;
5613 long val5 ;
5614 int ecode5 = 0 ;
5615 void *argp6 = 0 ;
5616 int res6 = 0 ;
5617 bool temp7 = false ;
5618 PyObject * obj0 = 0 ;
5619 PyObject * obj1 = 0 ;
5620 PyObject * obj2 = 0 ;
5621 PyObject * obj3 = 0 ;
5622 PyObject * obj4 = 0 ;
5623 PyObject * obj5 = 0 ;
5624 PyObject * obj6 = 0 ;
5625 char * kwnames[] = {
5626 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5627 };
5628
5629 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5630 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5631 if (!SWIG_IsOK(res1)) {
5632 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5633 }
5634 arg1 = reinterpret_cast< wxWindow * >(argp1);
5635 if (obj1) {
5636 ecode2 = SWIG_AsVal_int(obj1, &val2);
5637 if (!SWIG_IsOK(ecode2)) {
5638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5639 }
5640 arg2 = static_cast< int >(val2);
5641 }
5642 if (obj2) {
5643 {
5644 arg3 = &temp3;
5645 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5646 }
5647 }
5648 if (obj3) {
5649 {
5650 arg4 = &temp4;
5651 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5652 }
5653 }
5654 if (obj4) {
5655 ecode5 = SWIG_AsVal_long(obj4, &val5);
5656 if (!SWIG_IsOK(ecode5)) {
5657 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5658 }
5659 arg5 = static_cast< long >(val5);
5660 }
5661 if (obj5) {
5662 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5663 if (!SWIG_IsOK(res6)) {
5664 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5665 }
5666 if (!argp6) {
5667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5668 }
5669 arg6 = reinterpret_cast< wxValidator * >(argp6);
5670 }
5671 if (obj6) {
5672 {
5673 arg7 = wxString_in_helper(obj6);
5674 if (arg7 == NULL) SWIG_fail;
5675 temp7 = true;
5676 }
5677 }
5678 {
5679 if (!wxPyCheckForApp()) SWIG_fail;
5680 PyThreadState* __tstate = wxPyBeginAllowThreads();
5681 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5682 wxPyEndAllowThreads(__tstate);
5683 if (PyErr_Occurred()) SWIG_fail;
5684 }
5685 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5686 {
5687 if (temp7)
5688 delete arg7;
5689 }
5690 return resultobj;
5691 fail:
5692 {
5693 if (temp7)
5694 delete arg7;
5695 }
5696 return NULL;
5697 }
5698
5699
5700 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5701 PyObject *resultobj = 0;
5702 wxPyTreeListCtrl *result = 0 ;
5703
5704 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5705 {
5706 if (!wxPyCheckForApp()) SWIG_fail;
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5709 wxPyEndAllowThreads(__tstate);
5710 if (PyErr_Occurred()) SWIG_fail;
5711 }
5712 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5713 return resultobj;
5714 fail:
5715 return NULL;
5716 }
5717
5718
5719 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5720 PyObject *resultobj = 0;
5721 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5722 wxWindow *arg2 = (wxWindow *) 0 ;
5723 int arg3 = (int) -1 ;
5724 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5725 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5726 wxSize const &arg5_defvalue = wxDefaultSize ;
5727 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5728 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5729 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5730 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5731 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5732 wxString *arg8 = (wxString *) &arg8_defvalue ;
5733 bool result;
5734 void *argp1 = 0 ;
5735 int res1 = 0 ;
5736 void *argp2 = 0 ;
5737 int res2 = 0 ;
5738 int val3 ;
5739 int ecode3 = 0 ;
5740 wxPoint temp4 ;
5741 wxSize temp5 ;
5742 long val6 ;
5743 int ecode6 = 0 ;
5744 void *argp7 = 0 ;
5745 int res7 = 0 ;
5746 bool temp8 = false ;
5747 PyObject * obj0 = 0 ;
5748 PyObject * obj1 = 0 ;
5749 PyObject * obj2 = 0 ;
5750 PyObject * obj3 = 0 ;
5751 PyObject * obj4 = 0 ;
5752 PyObject * obj5 = 0 ;
5753 PyObject * obj6 = 0 ;
5754 PyObject * obj7 = 0 ;
5755 char * kwnames[] = {
5756 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5757 };
5758
5759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5761 if (!SWIG_IsOK(res1)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5763 }
5764 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5765 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5766 if (!SWIG_IsOK(res2)) {
5767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5768 }
5769 arg2 = reinterpret_cast< wxWindow * >(argp2);
5770 if (obj2) {
5771 ecode3 = SWIG_AsVal_int(obj2, &val3);
5772 if (!SWIG_IsOK(ecode3)) {
5773 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5774 }
5775 arg3 = static_cast< int >(val3);
5776 }
5777 if (obj3) {
5778 {
5779 arg4 = &temp4;
5780 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5781 }
5782 }
5783 if (obj4) {
5784 {
5785 arg5 = &temp5;
5786 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5787 }
5788 }
5789 if (obj5) {
5790 ecode6 = SWIG_AsVal_long(obj5, &val6);
5791 if (!SWIG_IsOK(ecode6)) {
5792 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5793 }
5794 arg6 = static_cast< long >(val6);
5795 }
5796 if (obj6) {
5797 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5798 if (!SWIG_IsOK(res7)) {
5799 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5800 }
5801 if (!argp7) {
5802 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5803 }
5804 arg7 = reinterpret_cast< wxValidator * >(argp7);
5805 }
5806 if (obj7) {
5807 {
5808 arg8 = wxString_in_helper(obj7);
5809 if (arg8 == NULL) SWIG_fail;
5810 temp8 = true;
5811 }
5812 }
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 {
5820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5821 }
5822 {
5823 if (temp8)
5824 delete arg8;
5825 }
5826 return resultobj;
5827 fail:
5828 {
5829 if (temp8)
5830 delete arg8;
5831 }
5832 return NULL;
5833 }
5834
5835
5836 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5837 PyObject *resultobj = 0;
5838 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5839 PyObject *arg2 = (PyObject *) 0 ;
5840 PyObject *arg3 = (PyObject *) 0 ;
5841 void *argp1 = 0 ;
5842 int res1 = 0 ;
5843 PyObject * obj0 = 0 ;
5844 PyObject * obj1 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char * kwnames[] = {
5847 (char *) "self",(char *) "self",(char *) "_class", NULL
5848 };
5849
5850 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5851 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5852 if (!SWIG_IsOK(res1)) {
5853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5854 }
5855 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5856 arg2 = obj1;
5857 arg3 = obj2;
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 (arg1)->_setCallbackInfo(arg2,arg3);
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = SWIG_Py_Void();
5865 return resultobj;
5866 fail:
5867 return NULL;
5868 }
5869
5870
5871 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5872 PyObject *resultobj = 0;
5873 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5874 size_t result;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 PyObject *swig_obj[1] ;
5878
5879 if (!args) SWIG_fail;
5880 swig_obj[0] = args;
5881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5882 if (!SWIG_IsOK(res1)) {
5883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5884 }
5885 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5889 wxPyEndAllowThreads(__tstate);
5890 if (PyErr_Occurred()) SWIG_fail;
5891 }
5892 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5893 return resultobj;
5894 fail:
5895 return NULL;
5896 }
5897
5898
5899 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5900 PyObject *resultobj = 0;
5901 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5902 unsigned int result;
5903 void *argp1 = 0 ;
5904 int res1 = 0 ;
5905 PyObject *swig_obj[1] ;
5906
5907 if (!args) SWIG_fail;
5908 swig_obj[0] = args;
5909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5910 if (!SWIG_IsOK(res1)) {
5911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5912 }
5913 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj = 0;
5929 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5930 unsigned int arg2 ;
5931 void *argp1 = 0 ;
5932 int res1 = 0 ;
5933 unsigned int val2 ;
5934 int ecode2 = 0 ;
5935 PyObject * obj0 = 0 ;
5936 PyObject * obj1 = 0 ;
5937 char * kwnames[] = {
5938 (char *) "self",(char *) "indent", NULL
5939 };
5940
5941 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5942 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5943 if (!SWIG_IsOK(res1)) {
5944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5945 }
5946 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5947 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5948 if (!SWIG_IsOK(ecode2)) {
5949 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5950 }
5951 arg2 = static_cast< unsigned int >(val2);
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 (arg1)->SetIndent(arg2);
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 resultobj = SWIG_Py_Void();
5959 return resultobj;
5960 fail:
5961 return NULL;
5962 }
5963
5964
5965 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5966 PyObject *resultobj = 0;
5967 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5968 unsigned int result;
5969 void *argp1 = 0 ;
5970 int res1 = 0 ;
5971 PyObject *swig_obj[1] ;
5972
5973 if (!args) SWIG_fail;
5974 swig_obj[0] = args;
5975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5976 if (!SWIG_IsOK(res1)) {
5977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5978 }
5979 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5980 {
5981 PyThreadState* __tstate = wxPyBeginAllowThreads();
5982 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5983 wxPyEndAllowThreads(__tstate);
5984 if (PyErr_Occurred()) SWIG_fail;
5985 }
5986 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5987 return resultobj;
5988 fail:
5989 return NULL;
5990 }
5991
5992
5993 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5994 PyObject *resultobj = 0;
5995 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5996 unsigned int arg2 ;
5997 void *argp1 = 0 ;
5998 int res1 = 0 ;
5999 unsigned int val2 ;
6000 int ecode2 = 0 ;
6001 PyObject * obj0 = 0 ;
6002 PyObject * obj1 = 0 ;
6003 char * kwnames[] = {
6004 (char *) "self",(char *) "spacing", NULL
6005 };
6006
6007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6009 if (!SWIG_IsOK(res1)) {
6010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6011 }
6012 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6013 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6014 if (!SWIG_IsOK(ecode2)) {
6015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6016 }
6017 arg2 = static_cast< unsigned int >(val2);
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 (arg1)->SetLineSpacing(arg2);
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 resultobj = SWIG_Py_Void();
6025 return resultobj;
6026 fail:
6027 return NULL;
6028 }
6029
6030
6031 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6032 PyObject *resultobj = 0;
6033 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6034 wxImageList *result = 0 ;
6035 void *argp1 = 0 ;
6036 int res1 = 0 ;
6037 PyObject *swig_obj[1] ;
6038
6039 if (!args) SWIG_fail;
6040 swig_obj[0] = args;
6041 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6042 if (!SWIG_IsOK(res1)) {
6043 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6044 }
6045 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6049 wxPyEndAllowThreads(__tstate);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 {
6053 resultobj = wxPyMake_wxObject(result, (bool)0);
6054 }
6055 return resultobj;
6056 fail:
6057 return NULL;
6058 }
6059
6060
6061 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6062 PyObject *resultobj = 0;
6063 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6064 wxImageList *result = 0 ;
6065 void *argp1 = 0 ;
6066 int res1 = 0 ;
6067 PyObject *swig_obj[1] ;
6068
6069 if (!args) SWIG_fail;
6070 swig_obj[0] = args;
6071 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6072 if (!SWIG_IsOK(res1)) {
6073 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6074 }
6075 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6079 wxPyEndAllowThreads(__tstate);
6080 if (PyErr_Occurred()) SWIG_fail;
6081 }
6082 {
6083 resultobj = wxPyMake_wxObject(result, (bool)0);
6084 }
6085 return resultobj;
6086 fail:
6087 return NULL;
6088 }
6089
6090
6091 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6092 PyObject *resultobj = 0;
6093 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6094 wxImageList *result = 0 ;
6095 void *argp1 = 0 ;
6096 int res1 = 0 ;
6097 PyObject *swig_obj[1] ;
6098
6099 if (!args) SWIG_fail;
6100 swig_obj[0] = args;
6101 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6102 if (!SWIG_IsOK(res1)) {
6103 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6104 }
6105 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6106 {
6107 PyThreadState* __tstate = wxPyBeginAllowThreads();
6108 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6109 wxPyEndAllowThreads(__tstate);
6110 if (PyErr_Occurred()) SWIG_fail;
6111 }
6112 {
6113 resultobj = wxPyMake_wxObject(result, (bool)0);
6114 }
6115 return resultobj;
6116 fail:
6117 return NULL;
6118 }
6119
6120
6121 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6122 PyObject *resultobj = 0;
6123 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6124 wxImageList *arg2 = (wxImageList *) 0 ;
6125 void *argp1 = 0 ;
6126 int res1 = 0 ;
6127 void *argp2 = 0 ;
6128 int res2 = 0 ;
6129 PyObject * obj0 = 0 ;
6130 PyObject * obj1 = 0 ;
6131 char * kwnames[] = {
6132 (char *) "self",(char *) "imageList", NULL
6133 };
6134
6135 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6136 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6137 if (!SWIG_IsOK(res1)) {
6138 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6139 }
6140 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6141 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6142 if (!SWIG_IsOK(res2)) {
6143 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6144 }
6145 arg2 = reinterpret_cast< wxImageList * >(argp2);
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 (arg1)->SetImageList(arg2);
6149 wxPyEndAllowThreads(__tstate);
6150 if (PyErr_Occurred()) SWIG_fail;
6151 }
6152 resultobj = SWIG_Py_Void();
6153 return resultobj;
6154 fail:
6155 return NULL;
6156 }
6157
6158
6159 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6160 PyObject *resultobj = 0;
6161 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6162 wxImageList *arg2 = (wxImageList *) 0 ;
6163 void *argp1 = 0 ;
6164 int res1 = 0 ;
6165 void *argp2 = 0 ;
6166 int res2 = 0 ;
6167 PyObject * obj0 = 0 ;
6168 PyObject * obj1 = 0 ;
6169 char * kwnames[] = {
6170 (char *) "self",(char *) "imageList", NULL
6171 };
6172
6173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6175 if (!SWIG_IsOK(res1)) {
6176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6177 }
6178 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6179 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6180 if (!SWIG_IsOK(res2)) {
6181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6182 }
6183 arg2 = reinterpret_cast< wxImageList * >(argp2);
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 (arg1)->SetStateImageList(arg2);
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 resultobj = SWIG_Py_Void();
6191 return resultobj;
6192 fail:
6193 return NULL;
6194 }
6195
6196
6197 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6198 PyObject *resultobj = 0;
6199 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6200 wxImageList *arg2 = (wxImageList *) 0 ;
6201 void *argp1 = 0 ;
6202 int res1 = 0 ;
6203 void *argp2 = 0 ;
6204 int res2 = 0 ;
6205 PyObject * obj0 = 0 ;
6206 PyObject * obj1 = 0 ;
6207 char * kwnames[] = {
6208 (char *) "self",(char *) "imageList", NULL
6209 };
6210
6211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6213 if (!SWIG_IsOK(res1)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6215 }
6216 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6217 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6218 if (!SWIG_IsOK(res2)) {
6219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6220 }
6221 arg2 = reinterpret_cast< wxImageList * >(argp2);
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 (arg1)->SetButtonsImageList(arg2);
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 resultobj = SWIG_Py_Void();
6229 return resultobj;
6230 fail:
6231 return NULL;
6232 }
6233
6234
6235 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj = 0;
6237 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6238 wxImageList *arg2 = (wxImageList *) 0 ;
6239 void *argp1 = 0 ;
6240 int res1 = 0 ;
6241 int res2 = 0 ;
6242 PyObject * obj0 = 0 ;
6243 PyObject * obj1 = 0 ;
6244 char * kwnames[] = {
6245 (char *) "self",(char *) "imageList", NULL
6246 };
6247
6248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6250 if (!SWIG_IsOK(res1)) {
6251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6252 }
6253 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6254 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6255 if (!SWIG_IsOK(res2)) {
6256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6257 }
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 (arg1)->AssignImageList(arg2);
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
6264 resultobj = SWIG_Py_Void();
6265 return resultobj;
6266 fail:
6267 return NULL;
6268 }
6269
6270
6271 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj = 0;
6273 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6274 wxImageList *arg2 = (wxImageList *) 0 ;
6275 void *argp1 = 0 ;
6276 int res1 = 0 ;
6277 int res2 = 0 ;
6278 PyObject * obj0 = 0 ;
6279 PyObject * obj1 = 0 ;
6280 char * kwnames[] = {
6281 (char *) "self",(char *) "imageList", NULL
6282 };
6283
6284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6286 if (!SWIG_IsOK(res1)) {
6287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6288 }
6289 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6290 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6291 if (!SWIG_IsOK(res2)) {
6292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6293 }
6294 {
6295 PyThreadState* __tstate = wxPyBeginAllowThreads();
6296 (arg1)->AssignStateImageList(arg2);
6297 wxPyEndAllowThreads(__tstate);
6298 if (PyErr_Occurred()) SWIG_fail;
6299 }
6300 resultobj = SWIG_Py_Void();
6301 return resultobj;
6302 fail:
6303 return NULL;
6304 }
6305
6306
6307 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6308 PyObject *resultobj = 0;
6309 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6310 wxImageList *arg2 = (wxImageList *) 0 ;
6311 void *argp1 = 0 ;
6312 int res1 = 0 ;
6313 int res2 = 0 ;
6314 PyObject * obj0 = 0 ;
6315 PyObject * obj1 = 0 ;
6316 char * kwnames[] = {
6317 (char *) "self",(char *) "imageList", NULL
6318 };
6319
6320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6322 if (!SWIG_IsOK(res1)) {
6323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6324 }
6325 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6326 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6327 if (!SWIG_IsOK(res2)) {
6328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6329 }
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 (arg1)->AssignButtonsImageList(arg2);
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 resultobj = SWIG_Py_Void();
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj = 0;
6345 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6346 wxString *arg2 = 0 ;
6347 void *argp1 = 0 ;
6348 int res1 = 0 ;
6349 bool temp2 = false ;
6350 PyObject * obj0 = 0 ;
6351 PyObject * obj1 = 0 ;
6352 char * kwnames[] = {
6353 (char *) "self",(char *) "text", NULL
6354 };
6355
6356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6358 if (!SWIG_IsOK(res1)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6360 }
6361 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6362 {
6363 arg2 = wxString_in_helper(obj1);
6364 if (arg2 == NULL) SWIG_fail;
6365 temp2 = true;
6366 }
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->AddColumn((wxString const &)*arg2);
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = SWIG_Py_Void();
6374 {
6375 if (temp2)
6376 delete arg2;
6377 }
6378 return resultobj;
6379 fail:
6380 {
6381 if (temp2)
6382 delete arg2;
6383 }
6384 return NULL;
6385 }
6386
6387
6388 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6389 PyObject *resultobj = 0;
6390 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6391 wxTreeListColumnInfo *arg2 = 0 ;
6392 void *argp1 = 0 ;
6393 int res1 = 0 ;
6394 void *argp2 = 0 ;
6395 int res2 = 0 ;
6396 PyObject * obj0 = 0 ;
6397 PyObject * obj1 = 0 ;
6398 char * kwnames[] = {
6399 (char *) "self",(char *) "col", NULL
6400 };
6401
6402 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6403 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6404 if (!SWIG_IsOK(res1)) {
6405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6406 }
6407 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6408 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6409 if (!SWIG_IsOK(res2)) {
6410 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6411 }
6412 if (!argp2) {
6413 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6414 }
6415 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6416 {
6417 PyThreadState* __tstate = wxPyBeginAllowThreads();
6418 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6419 wxPyEndAllowThreads(__tstate);
6420 if (PyErr_Occurred()) SWIG_fail;
6421 }
6422 resultobj = SWIG_Py_Void();
6423 return resultobj;
6424 fail:
6425 return NULL;
6426 }
6427
6428
6429 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6430 PyObject *resultobj = 0;
6431 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6432 size_t arg2 ;
6433 wxString *arg3 = 0 ;
6434 void *argp1 = 0 ;
6435 int res1 = 0 ;
6436 size_t val2 ;
6437 int ecode2 = 0 ;
6438 bool temp3 = false ;
6439 PyObject * obj0 = 0 ;
6440 PyObject * obj1 = 0 ;
6441 PyObject * obj2 = 0 ;
6442 char * kwnames[] = {
6443 (char *) "self",(char *) "before",(char *) "text", NULL
6444 };
6445
6446 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6447 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6448 if (!SWIG_IsOK(res1)) {
6449 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6450 }
6451 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6452 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6453 if (!SWIG_IsOK(ecode2)) {
6454 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6455 }
6456 arg2 = static_cast< size_t >(val2);
6457 {
6458 arg3 = wxString_in_helper(obj2);
6459 if (arg3 == NULL) SWIG_fail;
6460 temp3 = true;
6461 }
6462 {
6463 PyThreadState* __tstate = wxPyBeginAllowThreads();
6464 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6465 wxPyEndAllowThreads(__tstate);
6466 if (PyErr_Occurred()) SWIG_fail;
6467 }
6468 resultobj = SWIG_Py_Void();
6469 {
6470 if (temp3)
6471 delete arg3;
6472 }
6473 return resultobj;
6474 fail:
6475 {
6476 if (temp3)
6477 delete arg3;
6478 }
6479 return NULL;
6480 }
6481
6482
6483 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6484 PyObject *resultobj = 0;
6485 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6486 size_t arg2 ;
6487 wxTreeListColumnInfo *arg3 = 0 ;
6488 void *argp1 = 0 ;
6489 int res1 = 0 ;
6490 size_t val2 ;
6491 int ecode2 = 0 ;
6492 void *argp3 = 0 ;
6493 int res3 = 0 ;
6494 PyObject * obj0 = 0 ;
6495 PyObject * obj1 = 0 ;
6496 PyObject * obj2 = 0 ;
6497 char * kwnames[] = {
6498 (char *) "self",(char *) "before",(char *) "col", NULL
6499 };
6500
6501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6503 if (!SWIG_IsOK(res1)) {
6504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6505 }
6506 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6507 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6508 if (!SWIG_IsOK(ecode2)) {
6509 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6510 }
6511 arg2 = static_cast< size_t >(val2);
6512 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6513 if (!SWIG_IsOK(res3)) {
6514 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6515 }
6516 if (!argp3) {
6517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6518 }
6519 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6520 {
6521 PyThreadState* __tstate = wxPyBeginAllowThreads();
6522 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 resultobj = SWIG_Py_Void();
6527 return resultobj;
6528 fail:
6529 return NULL;
6530 }
6531
6532
6533 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6534 PyObject *resultobj = 0;
6535 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6536 size_t arg2 ;
6537 void *argp1 = 0 ;
6538 int res1 = 0 ;
6539 size_t val2 ;
6540 int ecode2 = 0 ;
6541 PyObject * obj0 = 0 ;
6542 PyObject * obj1 = 0 ;
6543 char * kwnames[] = {
6544 (char *) "self",(char *) "column", NULL
6545 };
6546
6547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6549 if (!SWIG_IsOK(res1)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6551 }
6552 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6553 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6554 if (!SWIG_IsOK(ecode2)) {
6555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6556 }
6557 arg2 = static_cast< size_t >(val2);
6558 {
6559 PyThreadState* __tstate = wxPyBeginAllowThreads();
6560 (arg1)->RemoveColumn(arg2);
6561 wxPyEndAllowThreads(__tstate);
6562 if (PyErr_Occurred()) SWIG_fail;
6563 }
6564 resultobj = SWIG_Py_Void();
6565 return resultobj;
6566 fail:
6567 return NULL;
6568 }
6569
6570
6571 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6572 PyObject *resultobj = 0;
6573 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6574 size_t result;
6575 void *argp1 = 0 ;
6576 int res1 = 0 ;
6577 PyObject *swig_obj[1] ;
6578
6579 if (!args) SWIG_fail;
6580 swig_obj[0] = args;
6581 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6582 if (!SWIG_IsOK(res1)) {
6583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6584 }
6585 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6589 wxPyEndAllowThreads(__tstate);
6590 if (PyErr_Occurred()) SWIG_fail;
6591 }
6592 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj = 0;
6601 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6602 size_t arg2 ;
6603 size_t arg3 ;
6604 void *argp1 = 0 ;
6605 int res1 = 0 ;
6606 size_t val2 ;
6607 int ecode2 = 0 ;
6608 size_t val3 ;
6609 int ecode3 = 0 ;
6610 PyObject * obj0 = 0 ;
6611 PyObject * obj1 = 0 ;
6612 PyObject * obj2 = 0 ;
6613 char * kwnames[] = {
6614 (char *) "self",(char *) "column",(char *) "width", NULL
6615 };
6616
6617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6619 if (!SWIG_IsOK(res1)) {
6620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6621 }
6622 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6623 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6624 if (!SWIG_IsOK(ecode2)) {
6625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6626 }
6627 arg2 = static_cast< size_t >(val2);
6628 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6629 if (!SWIG_IsOK(ecode3)) {
6630 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6631 }
6632 arg3 = static_cast< size_t >(val3);
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetColumnWidth(arg2,arg3);
6636 wxPyEndAllowThreads(__tstate);
6637 if (PyErr_Occurred()) SWIG_fail;
6638 }
6639 resultobj = SWIG_Py_Void();
6640 return resultobj;
6641 fail:
6642 return NULL;
6643 }
6644
6645
6646 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6647 PyObject *resultobj = 0;
6648 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6649 size_t arg2 ;
6650 int result;
6651 void *argp1 = 0 ;
6652 int res1 = 0 ;
6653 size_t val2 ;
6654 int ecode2 = 0 ;
6655 PyObject * obj0 = 0 ;
6656 PyObject * obj1 = 0 ;
6657 char * kwnames[] = {
6658 (char *) "self",(char *) "column", NULL
6659 };
6660
6661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6663 if (!SWIG_IsOK(res1)) {
6664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6665 }
6666 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6667 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6668 if (!SWIG_IsOK(ecode2)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6670 }
6671 arg2 = static_cast< size_t >(val2);
6672 {
6673 PyThreadState* __tstate = wxPyBeginAllowThreads();
6674 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6675 wxPyEndAllowThreads(__tstate);
6676 if (PyErr_Occurred()) SWIG_fail;
6677 }
6678 resultobj = SWIG_From_int(static_cast< int >(result));
6679 return resultobj;
6680 fail:
6681 return NULL;
6682 }
6683
6684
6685 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj = 0;
6687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6688 size_t arg2 ;
6689 void *argp1 = 0 ;
6690 int res1 = 0 ;
6691 size_t val2 ;
6692 int ecode2 = 0 ;
6693 PyObject * obj0 = 0 ;
6694 PyObject * obj1 = 0 ;
6695 char * kwnames[] = {
6696 (char *) "self",(char *) "column", NULL
6697 };
6698
6699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6701 if (!SWIG_IsOK(res1)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6703 }
6704 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6705 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6706 if (!SWIG_IsOK(ecode2)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6708 }
6709 arg2 = static_cast< size_t >(val2);
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 (arg1)->SetMainColumn(arg2);
6713 wxPyEndAllowThreads(__tstate);
6714 if (PyErr_Occurred()) SWIG_fail;
6715 }
6716 resultobj = SWIG_Py_Void();
6717 return resultobj;
6718 fail:
6719 return NULL;
6720 }
6721
6722
6723 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6724 PyObject *resultobj = 0;
6725 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6726 size_t result;
6727 void *argp1 = 0 ;
6728 int res1 = 0 ;
6729 PyObject *swig_obj[1] ;
6730
6731 if (!args) SWIG_fail;
6732 swig_obj[0] = args;
6733 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6734 if (!SWIG_IsOK(res1)) {
6735 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6736 }
6737 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6738 {
6739 PyThreadState* __tstate = wxPyBeginAllowThreads();
6740 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6745 return resultobj;
6746 fail:
6747 return NULL;
6748 }
6749
6750
6751 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj = 0;
6753 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6754 size_t arg2 ;
6755 wxString *arg3 = 0 ;
6756 void *argp1 = 0 ;
6757 int res1 = 0 ;
6758 size_t val2 ;
6759 int ecode2 = 0 ;
6760 bool temp3 = false ;
6761 PyObject * obj0 = 0 ;
6762 PyObject * obj1 = 0 ;
6763 PyObject * obj2 = 0 ;
6764 char * kwnames[] = {
6765 (char *) "self",(char *) "column",(char *) "text", NULL
6766 };
6767
6768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6770 if (!SWIG_IsOK(res1)) {
6771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6772 }
6773 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6774 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6775 if (!SWIG_IsOK(ecode2)) {
6776 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6777 }
6778 arg2 = static_cast< size_t >(val2);
6779 {
6780 arg3 = wxString_in_helper(obj2);
6781 if (arg3 == NULL) SWIG_fail;
6782 temp3 = true;
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6787 wxPyEndAllowThreads(__tstate);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
6790 resultobj = SWIG_Py_Void();
6791 {
6792 if (temp3)
6793 delete arg3;
6794 }
6795 return resultobj;
6796 fail:
6797 {
6798 if (temp3)
6799 delete arg3;
6800 }
6801 return NULL;
6802 }
6803
6804
6805 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj = 0;
6807 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6808 size_t arg2 ;
6809 wxString result;
6810 void *argp1 = 0 ;
6811 int res1 = 0 ;
6812 size_t val2 ;
6813 int ecode2 = 0 ;
6814 PyObject * obj0 = 0 ;
6815 PyObject * obj1 = 0 ;
6816 char * kwnames[] = {
6817 (char *) "self",(char *) "column", NULL
6818 };
6819
6820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6822 if (!SWIG_IsOK(res1)) {
6823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6824 }
6825 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6826 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6827 if (!SWIG_IsOK(ecode2)) {
6828 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6829 }
6830 arg2 = static_cast< size_t >(val2);
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6834 wxPyEndAllowThreads(__tstate);
6835 if (PyErr_Occurred()) SWIG_fail;
6836 }
6837 {
6838 #if wxUSE_UNICODE
6839 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6840 #else
6841 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6842 #endif
6843 }
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj = 0;
6852 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6853 size_t arg2 ;
6854 wxTreeListColumnInfo *arg3 = 0 ;
6855 void *argp1 = 0 ;
6856 int res1 = 0 ;
6857 size_t val2 ;
6858 int ecode2 = 0 ;
6859 void *argp3 = 0 ;
6860 int res3 = 0 ;
6861 PyObject * obj0 = 0 ;
6862 PyObject * obj1 = 0 ;
6863 PyObject * obj2 = 0 ;
6864 char * kwnames[] = {
6865 (char *) "self",(char *) "column",(char *) "info", NULL
6866 };
6867
6868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6870 if (!SWIG_IsOK(res1)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6872 }
6873 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6874 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6875 if (!SWIG_IsOK(ecode2)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6877 }
6878 arg2 = static_cast< size_t >(val2);
6879 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6880 if (!SWIG_IsOK(res3)) {
6881 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6882 }
6883 if (!argp3) {
6884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6885 }
6886 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6887 {
6888 PyThreadState* __tstate = wxPyBeginAllowThreads();
6889 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 resultobj = SWIG_Py_Void();
6894 return resultobj;
6895 fail:
6896 return NULL;
6897 }
6898
6899
6900 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6901 PyObject *resultobj = 0;
6902 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6903 size_t arg2 ;
6904 wxTreeListColumnInfo *result = 0 ;
6905 void *argp1 = 0 ;
6906 int res1 = 0 ;
6907 size_t val2 ;
6908 int ecode2 = 0 ;
6909 PyObject * obj0 = 0 ;
6910 PyObject * obj1 = 0 ;
6911 char * kwnames[] = {
6912 (char *) "self",(char *) "column", NULL
6913 };
6914
6915 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6916 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6917 if (!SWIG_IsOK(res1)) {
6918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6919 }
6920 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6921 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6922 if (!SWIG_IsOK(ecode2)) {
6923 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6924 }
6925 arg2 = static_cast< size_t >(val2);
6926 {
6927 PyThreadState* __tstate = wxPyBeginAllowThreads();
6928 {
6929 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6930 result = (wxTreeListColumnInfo *) &_result_ref;
6931 }
6932 wxPyEndAllowThreads(__tstate);
6933 if (PyErr_Occurred()) SWIG_fail;
6934 }
6935 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6936 return resultobj;
6937 fail:
6938 return NULL;
6939 }
6940
6941
6942 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6943 PyObject *resultobj = 0;
6944 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6945 size_t arg2 ;
6946 wxTreeListColumnAlign arg3 ;
6947 void *argp1 = 0 ;
6948 int res1 = 0 ;
6949 size_t val2 ;
6950 int ecode2 = 0 ;
6951 int val3 ;
6952 int ecode3 = 0 ;
6953 PyObject * obj0 = 0 ;
6954 PyObject * obj1 = 0 ;
6955 PyObject * obj2 = 0 ;
6956 char * kwnames[] = {
6957 (char *) "self",(char *) "column",(char *) "align", NULL
6958 };
6959
6960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6962 if (!SWIG_IsOK(res1)) {
6963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6964 }
6965 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6966 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6967 if (!SWIG_IsOK(ecode2)) {
6968 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6969 }
6970 arg2 = static_cast< size_t >(val2);
6971 ecode3 = SWIG_AsVal_int(obj2, &val3);
6972 if (!SWIG_IsOK(ecode3)) {
6973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6974 }
6975 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 (arg1)->SetColumnAlignment(arg2,arg3);
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 resultobj = SWIG_Py_Void();
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj = 0;
6991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6992 size_t arg2 ;
6993 wxTreeListColumnAlign result;
6994 void *argp1 = 0 ;
6995 int res1 = 0 ;
6996 size_t val2 ;
6997 int ecode2 = 0 ;
6998 PyObject * obj0 = 0 ;
6999 PyObject * obj1 = 0 ;
7000 char * kwnames[] = {
7001 (char *) "self",(char *) "column", NULL
7002 };
7003
7004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7006 if (!SWIG_IsOK(res1)) {
7007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7008 }
7009 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7010 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7011 if (!SWIG_IsOK(ecode2)) {
7012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7013 }
7014 arg2 = static_cast< size_t >(val2);
7015 {
7016 PyThreadState* __tstate = wxPyBeginAllowThreads();
7017 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7018 wxPyEndAllowThreads(__tstate);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 }
7021 resultobj = SWIG_From_int(static_cast< int >(result));
7022 return resultobj;
7023 fail:
7024 return NULL;
7025 }
7026
7027
7028 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj = 0;
7030 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7031 size_t arg2 ;
7032 int arg3 ;
7033 void *argp1 = 0 ;
7034 int res1 = 0 ;
7035 size_t val2 ;
7036 int ecode2 = 0 ;
7037 int val3 ;
7038 int ecode3 = 0 ;
7039 PyObject * obj0 = 0 ;
7040 PyObject * obj1 = 0 ;
7041 PyObject * obj2 = 0 ;
7042 char * kwnames[] = {
7043 (char *) "self",(char *) "column",(char *) "image", NULL
7044 };
7045
7046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7048 if (!SWIG_IsOK(res1)) {
7049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7050 }
7051 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7052 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7053 if (!SWIG_IsOK(ecode2)) {
7054 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7055 }
7056 arg2 = static_cast< size_t >(val2);
7057 ecode3 = SWIG_AsVal_int(obj2, &val3);
7058 if (!SWIG_IsOK(ecode3)) {
7059 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7060 }
7061 arg3 = static_cast< int >(val3);
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 (arg1)->SetColumnImage(arg2,arg3);
7065 wxPyEndAllowThreads(__tstate);
7066 if (PyErr_Occurred()) SWIG_fail;
7067 }
7068 resultobj = SWIG_Py_Void();
7069 return resultobj;
7070 fail:
7071 return NULL;
7072 }
7073
7074
7075 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7076 PyObject *resultobj = 0;
7077 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7078 size_t arg2 ;
7079 int result;
7080 void *argp1 = 0 ;
7081 int res1 = 0 ;
7082 size_t val2 ;
7083 int ecode2 = 0 ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char * kwnames[] = {
7087 (char *) "self",(char *) "column", NULL
7088 };
7089
7090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7092 if (!SWIG_IsOK(res1)) {
7093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7094 }
7095 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7096 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7097 if (!SWIG_IsOK(ecode2)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7099 }
7100 arg2 = static_cast< size_t >(val2);
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = SWIG_From_int(static_cast< int >(result));
7108 return resultobj;
7109 fail:
7110 return NULL;
7111 }
7112
7113
7114 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj = 0;
7116 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7117 size_t arg2 ;
7118 bool arg3 ;
7119 void *argp1 = 0 ;
7120 int res1 = 0 ;
7121 size_t val2 ;
7122 int ecode2 = 0 ;
7123 bool val3 ;
7124 int ecode3 = 0 ;
7125 PyObject * obj0 = 0 ;
7126 PyObject * obj1 = 0 ;
7127 PyObject * obj2 = 0 ;
7128 char * kwnames[] = {
7129 (char *) "self",(char *) "column",(char *) "shown", NULL
7130 };
7131
7132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7134 if (!SWIG_IsOK(res1)) {
7135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7136 }
7137 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7138 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7139 if (!SWIG_IsOK(ecode2)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7141 }
7142 arg2 = static_cast< size_t >(val2);
7143 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7144 if (!SWIG_IsOK(ecode3)) {
7145 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7146 }
7147 arg3 = static_cast< bool >(val3);
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 (arg1)->ShowColumn(arg2,arg3);
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 resultobj = SWIG_Py_Void();
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj = 0;
7163 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7164 size_t arg2 ;
7165 bool result;
7166 void *argp1 = 0 ;
7167 int res1 = 0 ;
7168 size_t val2 ;
7169 int ecode2 = 0 ;
7170 PyObject * obj0 = 0 ;
7171 PyObject * obj1 = 0 ;
7172 char * kwnames[] = {
7173 (char *) "self",(char *) "column", NULL
7174 };
7175
7176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7178 if (!SWIG_IsOK(res1)) {
7179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7180 }
7181 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7182 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7183 if (!SWIG_IsOK(ecode2)) {
7184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7185 }
7186 arg2 = static_cast< size_t >(val2);
7187 {
7188 PyThreadState* __tstate = wxPyBeginAllowThreads();
7189 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 {
7194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7195 }
7196 return resultobj;
7197 fail:
7198 return NULL;
7199 }
7200
7201
7202 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7203 PyObject *resultobj = 0;
7204 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7205 wxTreeItemId *arg2 = 0 ;
7206 int arg3 = (int) -1 ;
7207 wxString result;
7208 void *argp1 = 0 ;
7209 int res1 = 0 ;
7210 void *argp2 = 0 ;
7211 int res2 = 0 ;
7212 int val3 ;
7213 int ecode3 = 0 ;
7214 PyObject * obj0 = 0 ;
7215 PyObject * obj1 = 0 ;
7216 PyObject * obj2 = 0 ;
7217 char * kwnames[] = {
7218 (char *) "self",(char *) "item",(char *) "column", NULL
7219 };
7220
7221 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7222 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7223 if (!SWIG_IsOK(res1)) {
7224 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7225 }
7226 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7227 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7228 if (!SWIG_IsOK(res2)) {
7229 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7230 }
7231 if (!argp2) {
7232 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7233 }
7234 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7235 if (obj2) {
7236 ecode3 = SWIG_AsVal_int(obj2, &val3);
7237 if (!SWIG_IsOK(ecode3)) {
7238 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7239 }
7240 arg3 = static_cast< int >(val3);
7241 }
7242 {
7243 PyThreadState* __tstate = wxPyBeginAllowThreads();
7244 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 {
7249 #if wxUSE_UNICODE
7250 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7251 #else
7252 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7253 #endif
7254 }
7255 return resultobj;
7256 fail:
7257 return NULL;
7258 }
7259
7260
7261 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7262 PyObject *resultobj = 0;
7263 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7264 wxTreeItemId *arg2 = 0 ;
7265 int arg3 = (int) -1 ;
7266 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7267 int result;
7268 void *argp1 = 0 ;
7269 int res1 = 0 ;
7270 void *argp2 = 0 ;
7271 int res2 = 0 ;
7272 int val3 ;
7273 int ecode3 = 0 ;
7274 int val4 ;
7275 int ecode4 = 0 ;
7276 PyObject * obj0 = 0 ;
7277 PyObject * obj1 = 0 ;
7278 PyObject * obj2 = 0 ;
7279 PyObject * obj3 = 0 ;
7280 char * kwnames[] = {
7281 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7282 };
7283
7284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7286 if (!SWIG_IsOK(res1)) {
7287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7288 }
7289 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7290 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7291 if (!SWIG_IsOK(res2)) {
7292 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7293 }
7294 if (!argp2) {
7295 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7296 }
7297 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7298 if (obj2) {
7299 ecode3 = SWIG_AsVal_int(obj2, &val3);
7300 if (!SWIG_IsOK(ecode3)) {
7301 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7302 }
7303 arg3 = static_cast< int >(val3);
7304 }
7305 if (obj3) {
7306 ecode4 = SWIG_AsVal_int(obj3, &val4);
7307 if (!SWIG_IsOK(ecode4)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7309 }
7310 arg4 = static_cast< wxTreeItemIcon >(val4);
7311 }
7312 {
7313 PyThreadState* __tstate = wxPyBeginAllowThreads();
7314 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7315 wxPyEndAllowThreads(__tstate);
7316 if (PyErr_Occurred()) SWIG_fail;
7317 }
7318 resultobj = SWIG_From_int(static_cast< int >(result));
7319 return resultobj;
7320 fail:
7321 return NULL;
7322 }
7323
7324
7325 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7326 PyObject *resultobj = 0;
7327 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7328 wxTreeItemId *arg2 = 0 ;
7329 wxString *arg3 = 0 ;
7330 int arg4 = (int) -1 ;
7331 void *argp1 = 0 ;
7332 int res1 = 0 ;
7333 void *argp2 = 0 ;
7334 int res2 = 0 ;
7335 bool temp3 = false ;
7336 int val4 ;
7337 int ecode4 = 0 ;
7338 PyObject * obj0 = 0 ;
7339 PyObject * obj1 = 0 ;
7340 PyObject * obj2 = 0 ;
7341 PyObject * obj3 = 0 ;
7342 char * kwnames[] = {
7343 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7344 };
7345
7346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7348 if (!SWIG_IsOK(res1)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7350 }
7351 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7352 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7353 if (!SWIG_IsOK(res2)) {
7354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7355 }
7356 if (!argp2) {
7357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7358 }
7359 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7360 {
7361 arg3 = wxString_in_helper(obj2);
7362 if (arg3 == NULL) SWIG_fail;
7363 temp3 = true;
7364 }
7365 if (obj3) {
7366 ecode4 = SWIG_AsVal_int(obj3, &val4);
7367 if (!SWIG_IsOK(ecode4)) {
7368 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7369 }
7370 arg4 = static_cast< int >(val4);
7371 }
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7375 wxPyEndAllowThreads(__tstate);
7376 if (PyErr_Occurred()) SWIG_fail;
7377 }
7378 resultobj = SWIG_Py_Void();
7379 {
7380 if (temp3)
7381 delete arg3;
7382 }
7383 return resultobj;
7384 fail:
7385 {
7386 if (temp3)
7387 delete arg3;
7388 }
7389 return NULL;
7390 }
7391
7392
7393 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7394 PyObject *resultobj = 0;
7395 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7396 wxTreeItemId *arg2 = 0 ;
7397 int arg3 ;
7398 int arg4 = (int) -1 ;
7399 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7400 void *argp1 = 0 ;
7401 int res1 = 0 ;
7402 void *argp2 = 0 ;
7403 int res2 = 0 ;
7404 int val3 ;
7405 int ecode3 = 0 ;
7406 int val4 ;
7407 int ecode4 = 0 ;
7408 int val5 ;
7409 int ecode5 = 0 ;
7410 PyObject * obj0 = 0 ;
7411 PyObject * obj1 = 0 ;
7412 PyObject * obj2 = 0 ;
7413 PyObject * obj3 = 0 ;
7414 PyObject * obj4 = 0 ;
7415 char * kwnames[] = {
7416 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7417 };
7418
7419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7421 if (!SWIG_IsOK(res1)) {
7422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7423 }
7424 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7426 if (!SWIG_IsOK(res2)) {
7427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7428 }
7429 if (!argp2) {
7430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7431 }
7432 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7433 ecode3 = SWIG_AsVal_int(obj2, &val3);
7434 if (!SWIG_IsOK(ecode3)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7436 }
7437 arg3 = static_cast< int >(val3);
7438 if (obj3) {
7439 ecode4 = SWIG_AsVal_int(obj3, &val4);
7440 if (!SWIG_IsOK(ecode4)) {
7441 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7442 }
7443 arg4 = static_cast< int >(val4);
7444 }
7445 if (obj4) {
7446 ecode5 = SWIG_AsVal_int(obj4, &val5);
7447 if (!SWIG_IsOK(ecode5)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7449 }
7450 arg5 = static_cast< wxTreeItemIcon >(val5);
7451 }
7452 {
7453 PyThreadState* __tstate = wxPyBeginAllowThreads();
7454 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = SWIG_Py_Void();
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj = 0;
7467 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7468 wxTreeItemId *arg2 = 0 ;
7469 wxPyTreeItemData *result = 0 ;
7470 void *argp1 = 0 ;
7471 int res1 = 0 ;
7472 void *argp2 = 0 ;
7473 int res2 = 0 ;
7474 PyObject * obj0 = 0 ;
7475 PyObject * obj1 = 0 ;
7476 char * kwnames[] = {
7477 (char *) "self",(char *) "item", NULL
7478 };
7479
7480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7482 if (!SWIG_IsOK(res1)) {
7483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7484 }
7485 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7486 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7487 if (!SWIG_IsOK(res2)) {
7488 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7489 }
7490 if (!argp2) {
7491 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7492 }
7493 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7494 {
7495 PyThreadState* __tstate = wxPyBeginAllowThreads();
7496 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj = 0;
7509 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7510 wxTreeItemId *arg2 = 0 ;
7511 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7512 void *argp1 = 0 ;
7513 int res1 = 0 ;
7514 void *argp2 = 0 ;
7515 int res2 = 0 ;
7516 int res3 = 0 ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 PyObject * obj2 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "self",(char *) "item",(char *) "data", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7528 }
7529 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7530 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7531 if (!SWIG_IsOK(res2)) {
7532 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7533 }
7534 if (!argp2) {
7535 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7536 }
7537 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7538 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7539 if (!SWIG_IsOK(res3)) {
7540 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7541 }
7542 {
7543 PyThreadState* __tstate = wxPyBeginAllowThreads();
7544 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 resultobj = SWIG_Py_Void();
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj = 0;
7557 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7558 wxTreeItemId *arg2 = 0 ;
7559 PyObject *result = 0 ;
7560 void *argp1 = 0 ;
7561 int res1 = 0 ;
7562 void *argp2 = 0 ;
7563 int res2 = 0 ;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char * kwnames[] = {
7567 (char *) "self",(char *) "item", NULL
7568 };
7569
7570 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7571 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7572 if (!SWIG_IsOK(res1)) {
7573 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7574 }
7575 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7576 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7577 if (!SWIG_IsOK(res2)) {
7578 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7579 }
7580 if (!argp2) {
7581 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7582 }
7583 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7584 {
7585 PyThreadState* __tstate = wxPyBeginAllowThreads();
7586 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7587 wxPyEndAllowThreads(__tstate);
7588 if (PyErr_Occurred()) SWIG_fail;
7589 }
7590 resultobj = result;
7591 return resultobj;
7592 fail:
7593 return NULL;
7594 }
7595
7596
7597 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7598 PyObject *resultobj = 0;
7599 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7600 wxTreeItemId *arg2 = 0 ;
7601 PyObject *arg3 = (PyObject *) 0 ;
7602 void *argp1 = 0 ;
7603 int res1 = 0 ;
7604 void *argp2 = 0 ;
7605 int res2 = 0 ;
7606 PyObject * obj0 = 0 ;
7607 PyObject * obj1 = 0 ;
7608 PyObject * obj2 = 0 ;
7609 char * kwnames[] = {
7610 (char *) "self",(char *) "item",(char *) "obj", NULL
7611 };
7612
7613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7615 if (!SWIG_IsOK(res1)) {
7616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7617 }
7618 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7619 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7620 if (!SWIG_IsOK(res2)) {
7621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7622 }
7623 if (!argp2) {
7624 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7625 }
7626 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7627 arg3 = obj2;
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 resultobj = SWIG_Py_Void();
7635 return resultobj;
7636 fail:
7637 return NULL;
7638 }
7639
7640
7641 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7642 PyObject *resultobj = 0;
7643 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7644 wxTreeItemId *arg2 = 0 ;
7645 bool arg3 = (bool) true ;
7646 void *argp1 = 0 ;
7647 int res1 = 0 ;
7648 void *argp2 = 0 ;
7649 int res2 = 0 ;
7650 bool val3 ;
7651 int ecode3 = 0 ;
7652 PyObject * obj0 = 0 ;
7653 PyObject * obj1 = 0 ;
7654 PyObject * obj2 = 0 ;
7655 char * kwnames[] = {
7656 (char *) "self",(char *) "item",(char *) "has", NULL
7657 };
7658
7659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7661 if (!SWIG_IsOK(res1)) {
7662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7663 }
7664 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7665 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7666 if (!SWIG_IsOK(res2)) {
7667 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7668 }
7669 if (!argp2) {
7670 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7671 }
7672 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7673 if (obj2) {
7674 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7675 if (!SWIG_IsOK(ecode3)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7677 }
7678 arg3 = static_cast< bool >(val3);
7679 }
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 resultobj = SWIG_Py_Void();
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj = 0;
7695 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7696 wxTreeItemId *arg2 = 0 ;
7697 bool arg3 = (bool) true ;
7698 void *argp1 = 0 ;
7699 int res1 = 0 ;
7700 void *argp2 = 0 ;
7701 int res2 = 0 ;
7702 bool val3 ;
7703 int ecode3 = 0 ;
7704 PyObject * obj0 = 0 ;
7705 PyObject * obj1 = 0 ;
7706 PyObject * obj2 = 0 ;
7707 char * kwnames[] = {
7708 (char *) "self",(char *) "item",(char *) "bold", NULL
7709 };
7710
7711 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7712 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7713 if (!SWIG_IsOK(res1)) {
7714 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7715 }
7716 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7717 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7718 if (!SWIG_IsOK(res2)) {
7719 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7720 }
7721 if (!argp2) {
7722 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7723 }
7724 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7725 if (obj2) {
7726 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7727 if (!SWIG_IsOK(ecode3)) {
7728 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7729 }
7730 arg3 = static_cast< bool >(val3);
7731 }
7732 {
7733 PyThreadState* __tstate = wxPyBeginAllowThreads();
7734 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7735 wxPyEndAllowThreads(__tstate);
7736 if (PyErr_Occurred()) SWIG_fail;
7737 }
7738 resultobj = SWIG_Py_Void();
7739 return resultobj;
7740 fail:
7741 return NULL;
7742 }
7743
7744
7745 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7746 PyObject *resultobj = 0;
7747 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7748 wxTreeItemId *arg2 = 0 ;
7749 wxColour *arg3 = 0 ;
7750 void *argp1 = 0 ;
7751 int res1 = 0 ;
7752 void *argp2 = 0 ;
7753 int res2 = 0 ;
7754 wxColour temp3 ;
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj2 = 0 ;
7758 char * kwnames[] = {
7759 (char *) "self",(char *) "item",(char *) "colour", NULL
7760 };
7761
7762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7764 if (!SWIG_IsOK(res1)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7766 }
7767 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7768 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7769 if (!SWIG_IsOK(res2)) {
7770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7771 }
7772 if (!argp2) {
7773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7774 }
7775 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7776 {
7777 arg3 = &temp3;
7778 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7779 }
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 resultobj = SWIG_Py_Void();
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj = 0;
7795 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7796 wxTreeItemId *arg2 = 0 ;
7797 wxColour *arg3 = 0 ;
7798 void *argp1 = 0 ;
7799 int res1 = 0 ;
7800 void *argp2 = 0 ;
7801 int res2 = 0 ;
7802 wxColour temp3 ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 PyObject * obj2 = 0 ;
7806 char * kwnames[] = {
7807 (char *) "self",(char *) "item",(char *) "colour", NULL
7808 };
7809
7810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7812 if (!SWIG_IsOK(res1)) {
7813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7814 }
7815 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7816 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7817 if (!SWIG_IsOK(res2)) {
7818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7819 }
7820 if (!argp2) {
7821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7822 }
7823 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7824 {
7825 arg3 = &temp3;
7826 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7827 }
7828 {
7829 PyThreadState* __tstate = wxPyBeginAllowThreads();
7830 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7831 wxPyEndAllowThreads(__tstate);
7832 if (PyErr_Occurred()) SWIG_fail;
7833 }
7834 resultobj = SWIG_Py_Void();
7835 return resultobj;
7836 fail:
7837 return NULL;
7838 }
7839
7840
7841 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj = 0;
7843 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7844 wxTreeItemId *arg2 = 0 ;
7845 wxFont *arg3 = 0 ;
7846 void *argp1 = 0 ;
7847 int res1 = 0 ;
7848 void *argp2 = 0 ;
7849 int res2 = 0 ;
7850 void *argp3 = 0 ;
7851 int res3 = 0 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 char * kwnames[] = {
7856 (char *) "self",(char *) "item",(char *) "font", NULL
7857 };
7858
7859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7861 if (!SWIG_IsOK(res1)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7863 }
7864 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7865 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7866 if (!SWIG_IsOK(res2)) {
7867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7868 }
7869 if (!argp2) {
7870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7871 }
7872 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7873 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7874 if (!SWIG_IsOK(res3)) {
7875 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7876 }
7877 if (!argp3) {
7878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7879 }
7880 arg3 = reinterpret_cast< wxFont * >(argp3);
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7884 wxPyEndAllowThreads(__tstate);
7885 if (PyErr_Occurred()) SWIG_fail;
7886 }
7887 resultobj = SWIG_Py_Void();
7888 return resultobj;
7889 fail:
7890 return NULL;
7891 }
7892
7893
7894 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7895 PyObject *resultobj = 0;
7896 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7897 wxTreeItemId *arg2 = 0 ;
7898 bool result;
7899 void *argp1 = 0 ;
7900 int res1 = 0 ;
7901 void *argp2 = 0 ;
7902 int res2 = 0 ;
7903 PyObject * obj0 = 0 ;
7904 PyObject * obj1 = 0 ;
7905 char * kwnames[] = {
7906 (char *) "self",(char *) "item", NULL
7907 };
7908
7909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7911 if (!SWIG_IsOK(res1)) {
7912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7913 }
7914 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7915 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7916 if (!SWIG_IsOK(res2)) {
7917 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7918 }
7919 if (!argp2) {
7920 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7921 }
7922 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7926 wxPyEndAllowThreads(__tstate);
7927 if (PyErr_Occurred()) SWIG_fail;
7928 }
7929 {
7930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7931 }
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj = 0;
7940 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7941 wxTreeItemId *arg2 = 0 ;
7942 wxColour result;
7943 void *argp1 = 0 ;
7944 int res1 = 0 ;
7945 void *argp2 = 0 ;
7946 int res2 = 0 ;
7947 PyObject * obj0 = 0 ;
7948 PyObject * obj1 = 0 ;
7949 char * kwnames[] = {
7950 (char *) "self",(char *) "item", NULL
7951 };
7952
7953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7955 if (!SWIG_IsOK(res1)) {
7956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7957 }
7958 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7959 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7960 if (!SWIG_IsOK(res2)) {
7961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7962 }
7963 if (!argp2) {
7964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7965 }
7966 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7967 {
7968 PyThreadState* __tstate = wxPyBeginAllowThreads();
7969 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7970 wxPyEndAllowThreads(__tstate);
7971 if (PyErr_Occurred()) SWIG_fail;
7972 }
7973 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7974 return resultobj;
7975 fail:
7976 return NULL;
7977 }
7978
7979
7980 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7981 PyObject *resultobj = 0;
7982 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7983 wxTreeItemId *arg2 = 0 ;
7984 wxColour result;
7985 void *argp1 = 0 ;
7986 int res1 = 0 ;
7987 void *argp2 = 0 ;
7988 int res2 = 0 ;
7989 PyObject * obj0 = 0 ;
7990 PyObject * obj1 = 0 ;
7991 char * kwnames[] = {
7992 (char *) "self",(char *) "item", NULL
7993 };
7994
7995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
7996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7997 if (!SWIG_IsOK(res1)) {
7998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7999 }
8000 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8001 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8002 if (!SWIG_IsOK(res2)) {
8003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8004 }
8005 if (!argp2) {
8006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8007 }
8008 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8009 {
8010 PyThreadState* __tstate = wxPyBeginAllowThreads();
8011 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj = 0;
8024 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8025 wxTreeItemId *arg2 = 0 ;
8026 wxFont result;
8027 void *argp1 = 0 ;
8028 int res1 = 0 ;
8029 void *argp2 = 0 ;
8030 int res2 = 0 ;
8031 PyObject * obj0 = 0 ;
8032 PyObject * obj1 = 0 ;
8033 char * kwnames[] = {
8034 (char *) "self",(char *) "item", NULL
8035 };
8036
8037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8039 if (!SWIG_IsOK(res1)) {
8040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8041 }
8042 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8044 if (!SWIG_IsOK(res2)) {
8045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8046 }
8047 if (!argp2) {
8048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8049 }
8050 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8054 wxPyEndAllowThreads(__tstate);
8055 if (PyErr_Occurred()) SWIG_fail;
8056 }
8057 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8058 return resultobj;
8059 fail:
8060 return NULL;
8061 }
8062
8063
8064 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8065 PyObject *resultobj = 0;
8066 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8067 wxTreeItemId *arg2 = 0 ;
8068 bool result;
8069 void *argp1 = 0 ;
8070 int res1 = 0 ;
8071 void *argp2 = 0 ;
8072 int res2 = 0 ;
8073 PyObject * obj0 = 0 ;
8074 PyObject * obj1 = 0 ;
8075 char * kwnames[] = {
8076 (char *) "self",(char *) "item", NULL
8077 };
8078
8079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8081 if (!SWIG_IsOK(res1)) {
8082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8083 }
8084 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8085 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8086 if (!SWIG_IsOK(res2)) {
8087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8088 }
8089 if (!argp2) {
8090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8091 }
8092 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8093 {
8094 PyThreadState* __tstate = wxPyBeginAllowThreads();
8095 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
8099 {
8100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8101 }
8102 return resultobj;
8103 fail:
8104 return NULL;
8105 }
8106
8107
8108 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8109 PyObject *resultobj = 0;
8110 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8111 wxTreeItemId *arg2 = 0 ;
8112 bool result;
8113 void *argp1 = 0 ;
8114 int res1 = 0 ;
8115 void *argp2 = 0 ;
8116 int res2 = 0 ;
8117 PyObject * obj0 = 0 ;
8118 PyObject * obj1 = 0 ;
8119 char * kwnames[] = {
8120 (char *) "self",(char *) "item", NULL
8121 };
8122
8123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8125 if (!SWIG_IsOK(res1)) {
8126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8127 }
8128 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8129 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8130 if (!SWIG_IsOK(res2)) {
8131 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8132 }
8133 if (!argp2) {
8134 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8135 }
8136 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8137 {
8138 PyThreadState* __tstate = wxPyBeginAllowThreads();
8139 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 {
8144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8145 }
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj = 0;
8154 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8155 wxTreeItemId *arg2 = 0 ;
8156 bool result;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 void *argp2 = 0 ;
8160 int res2 = 0 ;
8161 PyObject * obj0 = 0 ;
8162 PyObject * obj1 = 0 ;
8163 char * kwnames[] = {
8164 (char *) "self",(char *) "item", NULL
8165 };
8166
8167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8169 if (!SWIG_IsOK(res1)) {
8170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8171 }
8172 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8173 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8174 if (!SWIG_IsOK(res2)) {
8175 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8176 }
8177 if (!argp2) {
8178 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8179 }
8180 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 {
8188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8189 }
8190 return resultobj;
8191 fail:
8192 return NULL;
8193 }
8194
8195
8196 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj = 0;
8198 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8199 wxTreeItemId *arg2 = 0 ;
8200 bool result;
8201 void *argp1 = 0 ;
8202 int res1 = 0 ;
8203 void *argp2 = 0 ;
8204 int res2 = 0 ;
8205 PyObject * obj0 = 0 ;
8206 PyObject * obj1 = 0 ;
8207 char * kwnames[] = {
8208 (char *) "self",(char *) "item", NULL
8209 };
8210
8211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8213 if (!SWIG_IsOK(res1)) {
8214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8215 }
8216 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8217 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8218 if (!SWIG_IsOK(res2)) {
8219 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8220 }
8221 if (!argp2) {
8222 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8223 }
8224 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8225 {
8226 PyThreadState* __tstate = wxPyBeginAllowThreads();
8227 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8228 wxPyEndAllowThreads(__tstate);
8229 if (PyErr_Occurred()) SWIG_fail;
8230 }
8231 {
8232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8233 }
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj = 0;
8242 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8243 wxTreeItemId *arg2 = 0 ;
8244 bool result;
8245 void *argp1 = 0 ;
8246 int res1 = 0 ;
8247 void *argp2 = 0 ;
8248 int res2 = 0 ;
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char * kwnames[] = {
8252 (char *) "self",(char *) "item", NULL
8253 };
8254
8255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8257 if (!SWIG_IsOK(res1)) {
8258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8259 }
8260 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8261 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8262 if (!SWIG_IsOK(res2)) {
8263 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8264 }
8265 if (!argp2) {
8266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8267 }
8268 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8269 {
8270 PyThreadState* __tstate = wxPyBeginAllowThreads();
8271 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8272 wxPyEndAllowThreads(__tstate);
8273 if (PyErr_Occurred()) SWIG_fail;
8274 }
8275 {
8276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8277 }
8278 return resultobj;
8279 fail:
8280 return NULL;
8281 }
8282
8283
8284 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8285 PyObject *resultobj = 0;
8286 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8287 wxTreeItemId *arg2 = 0 ;
8288 bool arg3 = (bool) true ;
8289 size_t result;
8290 void *argp1 = 0 ;
8291 int res1 = 0 ;
8292 void *argp2 = 0 ;
8293 int res2 = 0 ;
8294 bool val3 ;
8295 int ecode3 = 0 ;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 PyObject * obj2 = 0 ;
8299 char * kwnames[] = {
8300 (char *) "self",(char *) "item",(char *) "recursively", NULL
8301 };
8302
8303 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8304 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8305 if (!SWIG_IsOK(res1)) {
8306 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8307 }
8308 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8309 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8310 if (!SWIG_IsOK(res2)) {
8311 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8312 }
8313 if (!argp2) {
8314 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8315 }
8316 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8317 if (obj2) {
8318 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8319 if (!SWIG_IsOK(ecode3)) {
8320 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8321 }
8322 arg3 = static_cast< bool >(val3);
8323 }
8324 {
8325 PyThreadState* __tstate = wxPyBeginAllowThreads();
8326 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8338 PyObject *resultobj = 0;
8339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8340 wxTreeItemId result;
8341 void *argp1 = 0 ;
8342 int res1 = 0 ;
8343 PyObject *swig_obj[1] ;
8344
8345 if (!args) SWIG_fail;
8346 swig_obj[0] = args;
8347 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8348 if (!SWIG_IsOK(res1)) {
8349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8350 }
8351 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8352 {
8353 PyThreadState* __tstate = wxPyBeginAllowThreads();
8354 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8355 wxPyEndAllowThreads(__tstate);
8356 if (PyErr_Occurred()) SWIG_fail;
8357 }
8358 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8359 return resultobj;
8360 fail:
8361 return NULL;
8362 }
8363
8364
8365 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8366 PyObject *resultobj = 0;
8367 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8368 wxTreeItemId result;
8369 void *argp1 = 0 ;
8370 int res1 = 0 ;
8371 PyObject *swig_obj[1] ;
8372
8373 if (!args) SWIG_fail;
8374 swig_obj[0] = args;
8375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8376 if (!SWIG_IsOK(res1)) {
8377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8378 }
8379 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8380 {
8381 PyThreadState* __tstate = wxPyBeginAllowThreads();
8382 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8383 wxPyEndAllowThreads(__tstate);
8384 if (PyErr_Occurred()) SWIG_fail;
8385 }
8386 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8387 return resultobj;
8388 fail:
8389 return NULL;
8390 }
8391
8392
8393 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8394 PyObject *resultobj = 0;
8395 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8396 PyObject *result = 0 ;
8397 void *argp1 = 0 ;
8398 int res1 = 0 ;
8399 PyObject *swig_obj[1] ;
8400
8401 if (!args) SWIG_fail;
8402 swig_obj[0] = args;
8403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8404 if (!SWIG_IsOK(res1)) {
8405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8406 }
8407 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
8414 resultobj = result;
8415 return resultobj;
8416 fail:
8417 return NULL;
8418 }
8419
8420
8421 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8422 PyObject *resultobj = 0;
8423 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8424 wxTreeItemId *arg2 = 0 ;
8425 wxTreeItemId result;
8426 void *argp1 = 0 ;
8427 int res1 = 0 ;
8428 void *argp2 = 0 ;
8429 int res2 = 0 ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj1 = 0 ;
8432 char * kwnames[] = {
8433 (char *) "self",(char *) "item", NULL
8434 };
8435
8436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8438 if (!SWIG_IsOK(res1)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8440 }
8441 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8442 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8443 if (!SWIG_IsOK(res2)) {
8444 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8445 }
8446 if (!argp2) {
8447 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8448 }
8449 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8450 {
8451 PyThreadState* __tstate = wxPyBeginAllowThreads();
8452 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj = 0;
8465 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8466 wxTreeItemId *arg2 = 0 ;
8467 PyObject *result = 0 ;
8468 void *argp1 = 0 ;
8469 int res1 = 0 ;
8470 void *argp2 = 0 ;
8471 int res2 = 0 ;
8472 PyObject * obj0 = 0 ;
8473 PyObject * obj1 = 0 ;
8474 char * kwnames[] = {
8475 (char *) "self",(char *) "item", NULL
8476 };
8477
8478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8480 if (!SWIG_IsOK(res1)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8482 }
8483 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8484 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8485 if (!SWIG_IsOK(res2)) {
8486 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8487 }
8488 if (!argp2) {
8489 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8490 }
8491 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = result;
8499 return resultobj;
8500 fail:
8501 return NULL;
8502 }
8503
8504
8505 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj = 0;
8507 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8508 wxTreeItemId *arg2 = 0 ;
8509 void *arg3 = (void *) 0 ;
8510 PyObject *result = 0 ;
8511 void *argp1 = 0 ;
8512 int res1 = 0 ;
8513 void *argp2 = 0 ;
8514 int res2 = 0 ;
8515 int res3 ;
8516 PyObject * obj0 = 0 ;
8517 PyObject * obj1 = 0 ;
8518 PyObject * obj2 = 0 ;
8519 char * kwnames[] = {
8520 (char *) "self",(char *) "item",(char *) "cookie", NULL
8521 };
8522
8523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8525 if (!SWIG_IsOK(res1)) {
8526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8527 }
8528 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8529 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8530 if (!SWIG_IsOK(res2)) {
8531 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8532 }
8533 if (!argp2) {
8534 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8535 }
8536 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8537 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8538 if (!SWIG_IsOK(res3)) {
8539 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8540 }
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8544 wxPyEndAllowThreads(__tstate);
8545 if (PyErr_Occurred()) SWIG_fail;
8546 }
8547 resultobj = result;
8548 return resultobj;
8549 fail:
8550 return NULL;
8551 }
8552
8553
8554 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8555 PyObject *resultobj = 0;
8556 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8557 wxTreeItemId *arg2 = 0 ;
8558 wxTreeItemId result;
8559 void *argp1 = 0 ;
8560 int res1 = 0 ;
8561 void *argp2 = 0 ;
8562 int res2 = 0 ;
8563 PyObject * obj0 = 0 ;
8564 PyObject * obj1 = 0 ;
8565 char * kwnames[] = {
8566 (char *) "self",(char *) "item", NULL
8567 };
8568
8569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8571 if (!SWIG_IsOK(res1)) {
8572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8573 }
8574 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8576 if (!SWIG_IsOK(res2)) {
8577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8578 }
8579 if (!argp2) {
8580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8581 }
8582 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8583 {
8584 PyThreadState* __tstate = wxPyBeginAllowThreads();
8585 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8586 wxPyEndAllowThreads(__tstate);
8587 if (PyErr_Occurred()) SWIG_fail;
8588 }
8589 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8590 return resultobj;
8591 fail:
8592 return NULL;
8593 }
8594
8595
8596 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj = 0;
8598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8599 wxTreeItemId *arg2 = 0 ;
8600 wxTreeItemId result;
8601 void *argp1 = 0 ;
8602 int res1 = 0 ;
8603 void *argp2 = 0 ;
8604 int res2 = 0 ;
8605 PyObject * obj0 = 0 ;
8606 PyObject * obj1 = 0 ;
8607 char * kwnames[] = {
8608 (char *) "self",(char *) "item", NULL
8609 };
8610
8611 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8612 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8613 if (!SWIG_IsOK(res1)) {
8614 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8615 }
8616 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8617 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8618 if (!SWIG_IsOK(res2)) {
8619 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8620 }
8621 if (!argp2) {
8622 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8623 }
8624 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj = 0;
8640 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8641 wxTreeItemId *arg2 = 0 ;
8642 wxTreeItemId result;
8643 void *argp1 = 0 ;
8644 int res1 = 0 ;
8645 void *argp2 = 0 ;
8646 int res2 = 0 ;
8647 PyObject * obj0 = 0 ;
8648 PyObject * obj1 = 0 ;
8649 char * kwnames[] = {
8650 (char *) "self",(char *) "item", NULL
8651 };
8652
8653 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8654 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8655 if (!SWIG_IsOK(res1)) {
8656 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8657 }
8658 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8659 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8660 if (!SWIG_IsOK(res2)) {
8661 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8662 }
8663 if (!argp2) {
8664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8665 }
8666 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8674 return resultobj;
8675 fail:
8676 return NULL;
8677 }
8678
8679
8680 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8681 PyObject *resultobj = 0;
8682 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8683 wxTreeItemId result;
8684 void *argp1 = 0 ;
8685 int res1 = 0 ;
8686 PyObject *swig_obj[1] ;
8687
8688 if (!args) SWIG_fail;
8689 swig_obj[0] = args;
8690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8691 if (!SWIG_IsOK(res1)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8693 }
8694 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8702 return resultobj;
8703 fail:
8704 return NULL;
8705 }
8706
8707
8708 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8709 PyObject *resultobj = 0;
8710 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8711 wxTreeItemId *arg2 = 0 ;
8712 wxTreeItemId result;
8713 void *argp1 = 0 ;
8714 int res1 = 0 ;
8715 void *argp2 = 0 ;
8716 int res2 = 0 ;
8717 PyObject * obj0 = 0 ;
8718 PyObject * obj1 = 0 ;
8719 char * kwnames[] = {
8720 (char *) "self",(char *) "item", NULL
8721 };
8722
8723 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8724 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8725 if (!SWIG_IsOK(res1)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8727 }
8728 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8729 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8730 if (!SWIG_IsOK(res2)) {
8731 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8732 }
8733 if (!argp2) {
8734 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8735 }
8736 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8744 return resultobj;
8745 fail:
8746 return NULL;
8747 }
8748
8749
8750 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8751 PyObject *resultobj = 0;
8752 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8753 wxTreeItemId *arg2 = 0 ;
8754 wxTreeItemId result;
8755 void *argp1 = 0 ;
8756 int res1 = 0 ;
8757 void *argp2 = 0 ;
8758 int res2 = 0 ;
8759 PyObject * obj0 = 0 ;
8760 PyObject * obj1 = 0 ;
8761 char * kwnames[] = {
8762 (char *) "self",(char *) "item", NULL
8763 };
8764
8765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8767 if (!SWIG_IsOK(res1)) {
8768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8769 }
8770 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8771 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8772 if (!SWIG_IsOK(res2)) {
8773 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8774 }
8775 if (!argp2) {
8776 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8777 }
8778 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8782 wxPyEndAllowThreads(__tstate);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 }
8785 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8786 return resultobj;
8787 fail:
8788 return NULL;
8789 }
8790
8791
8792 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8793 PyObject *resultobj = 0;
8794 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8795 wxTreeItemId *arg2 = 0 ;
8796 wxTreeItemId result;
8797 void *argp1 = 0 ;
8798 int res1 = 0 ;
8799 void *argp2 = 0 ;
8800 int res2 = 0 ;
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
8803 char * kwnames[] = {
8804 (char *) "self",(char *) "item", NULL
8805 };
8806
8807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8809 if (!SWIG_IsOK(res1)) {
8810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8811 }
8812 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8813 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8814 if (!SWIG_IsOK(res2)) {
8815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8816 }
8817 if (!argp2) {
8818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8819 }
8820 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8821 {
8822 PyThreadState* __tstate = wxPyBeginAllowThreads();
8823 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8828 return resultobj;
8829 fail:
8830 return NULL;
8831 }
8832
8833
8834 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj = 0;
8836 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8837 wxString *arg2 = 0 ;
8838 int arg3 = (int) -1 ;
8839 int arg4 = (int) -1 ;
8840 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8841 wxTreeItemId result;
8842 void *argp1 = 0 ;
8843 int res1 = 0 ;
8844 bool temp2 = false ;
8845 int val3 ;
8846 int ecode3 = 0 ;
8847 int val4 ;
8848 int ecode4 = 0 ;
8849 int res5 = 0 ;
8850 PyObject * obj0 = 0 ;
8851 PyObject * obj1 = 0 ;
8852 PyObject * obj2 = 0 ;
8853 PyObject * obj3 = 0 ;
8854 PyObject * obj4 = 0 ;
8855 char * kwnames[] = {
8856 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8857 };
8858
8859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8861 if (!SWIG_IsOK(res1)) {
8862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8863 }
8864 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8865 {
8866 arg2 = wxString_in_helper(obj1);
8867 if (arg2 == NULL) SWIG_fail;
8868 temp2 = true;
8869 }
8870 if (obj2) {
8871 ecode3 = SWIG_AsVal_int(obj2, &val3);
8872 if (!SWIG_IsOK(ecode3)) {
8873 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8874 }
8875 arg3 = static_cast< int >(val3);
8876 }
8877 if (obj3) {
8878 ecode4 = SWIG_AsVal_int(obj3, &val4);
8879 if (!SWIG_IsOK(ecode4)) {
8880 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8881 }
8882 arg4 = static_cast< int >(val4);
8883 }
8884 if (obj4) {
8885 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8886 if (!SWIG_IsOK(res5)) {
8887 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8888 }
8889 }
8890 {
8891 PyThreadState* __tstate = wxPyBeginAllowThreads();
8892 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8897 {
8898 if (temp2)
8899 delete arg2;
8900 }
8901 return resultobj;
8902 fail:
8903 {
8904 if (temp2)
8905 delete arg2;
8906 }
8907 return NULL;
8908 }
8909
8910
8911 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8912 PyObject *resultobj = 0;
8913 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8914 wxTreeItemId *arg2 = 0 ;
8915 wxString *arg3 = 0 ;
8916 int arg4 = (int) -1 ;
8917 int arg5 = (int) -1 ;
8918 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8919 wxTreeItemId result;
8920 void *argp1 = 0 ;
8921 int res1 = 0 ;
8922 void *argp2 = 0 ;
8923 int res2 = 0 ;
8924 bool temp3 = false ;
8925 int val4 ;
8926 int ecode4 = 0 ;
8927 int val5 ;
8928 int ecode5 = 0 ;
8929 int res6 = 0 ;
8930 PyObject * obj0 = 0 ;
8931 PyObject * obj1 = 0 ;
8932 PyObject * obj2 = 0 ;
8933 PyObject * obj3 = 0 ;
8934 PyObject * obj4 = 0 ;
8935 PyObject * obj5 = 0 ;
8936 char * kwnames[] = {
8937 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8938 };
8939
8940 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8941 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8942 if (!SWIG_IsOK(res1)) {
8943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8944 }
8945 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8946 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8947 if (!SWIG_IsOK(res2)) {
8948 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8949 }
8950 if (!argp2) {
8951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8952 }
8953 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8954 {
8955 arg3 = wxString_in_helper(obj2);
8956 if (arg3 == NULL) SWIG_fail;
8957 temp3 = true;
8958 }
8959 if (obj3) {
8960 ecode4 = SWIG_AsVal_int(obj3, &val4);
8961 if (!SWIG_IsOK(ecode4)) {
8962 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8963 }
8964 arg4 = static_cast< int >(val4);
8965 }
8966 if (obj4) {
8967 ecode5 = SWIG_AsVal_int(obj4, &val5);
8968 if (!SWIG_IsOK(ecode5)) {
8969 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8970 }
8971 arg5 = static_cast< int >(val5);
8972 }
8973 if (obj5) {
8974 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8975 if (!SWIG_IsOK(res6)) {
8976 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8977 }
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8986 {
8987 if (temp3)
8988 delete arg3;
8989 }
8990 return resultobj;
8991 fail:
8992 {
8993 if (temp3)
8994 delete arg3;
8995 }
8996 return NULL;
8997 }
8998
8999
9000 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj = 0;
9002 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9003 wxTreeItemId *arg2 = 0 ;
9004 wxTreeItemId *arg3 = 0 ;
9005 wxString *arg4 = 0 ;
9006 int arg5 = (int) -1 ;
9007 int arg6 = (int) -1 ;
9008 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9009 wxTreeItemId result;
9010 void *argp1 = 0 ;
9011 int res1 = 0 ;
9012 void *argp2 = 0 ;
9013 int res2 = 0 ;
9014 void *argp3 = 0 ;
9015 int res3 = 0 ;
9016 bool temp4 = false ;
9017 int val5 ;
9018 int ecode5 = 0 ;
9019 int val6 ;
9020 int ecode6 = 0 ;
9021 int res7 = 0 ;
9022 PyObject * obj0 = 0 ;
9023 PyObject * obj1 = 0 ;
9024 PyObject * obj2 = 0 ;
9025 PyObject * obj3 = 0 ;
9026 PyObject * obj4 = 0 ;
9027 PyObject * obj5 = 0 ;
9028 PyObject * obj6 = 0 ;
9029 char * kwnames[] = {
9030 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9031 };
9032
9033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9035 if (!SWIG_IsOK(res1)) {
9036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9037 }
9038 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9040 if (!SWIG_IsOK(res2)) {
9041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9042 }
9043 if (!argp2) {
9044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9045 }
9046 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9047 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9048 if (!SWIG_IsOK(res3)) {
9049 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9050 }
9051 if (!argp3) {
9052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9053 }
9054 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9055 {
9056 arg4 = wxString_in_helper(obj3);
9057 if (arg4 == NULL) SWIG_fail;
9058 temp4 = true;
9059 }
9060 if (obj4) {
9061 ecode5 = SWIG_AsVal_int(obj4, &val5);
9062 if (!SWIG_IsOK(ecode5)) {
9063 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9064 }
9065 arg5 = static_cast< int >(val5);
9066 }
9067 if (obj5) {
9068 ecode6 = SWIG_AsVal_int(obj5, &val6);
9069 if (!SWIG_IsOK(ecode6)) {
9070 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9071 }
9072 arg6 = static_cast< int >(val6);
9073 }
9074 if (obj6) {
9075 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9076 if (!SWIG_IsOK(res7)) {
9077 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9078 }
9079 }
9080 {
9081 PyThreadState* __tstate = wxPyBeginAllowThreads();
9082 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9087 {
9088 if (temp4)
9089 delete arg4;
9090 }
9091 return resultobj;
9092 fail:
9093 {
9094 if (temp4)
9095 delete arg4;
9096 }
9097 return NULL;
9098 }
9099
9100
9101 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj = 0;
9103 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9104 wxTreeItemId *arg2 = 0 ;
9105 size_t arg3 ;
9106 wxString *arg4 = 0 ;
9107 int arg5 = (int) -1 ;
9108 int arg6 = (int) -1 ;
9109 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9110 wxTreeItemId result;
9111 void *argp1 = 0 ;
9112 int res1 = 0 ;
9113 void *argp2 = 0 ;
9114 int res2 = 0 ;
9115 size_t val3 ;
9116 int ecode3 = 0 ;
9117 bool temp4 = false ;
9118 int val5 ;
9119 int ecode5 = 0 ;
9120 int val6 ;
9121 int ecode6 = 0 ;
9122 int res7 = 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 PyObject * obj2 = 0 ;
9126 PyObject * obj3 = 0 ;
9127 PyObject * obj4 = 0 ;
9128 PyObject * obj5 = 0 ;
9129 PyObject * obj6 = 0 ;
9130 char * kwnames[] = {
9131 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9132 };
9133
9134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9138 }
9139 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9141 if (!SWIG_IsOK(res2)) {
9142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9143 }
9144 if (!argp2) {
9145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9146 }
9147 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9148 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9149 if (!SWIG_IsOK(ecode3)) {
9150 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9151 }
9152 arg3 = static_cast< size_t >(val3);
9153 {
9154 arg4 = wxString_in_helper(obj3);
9155 if (arg4 == NULL) SWIG_fail;
9156 temp4 = true;
9157 }
9158 if (obj4) {
9159 ecode5 = SWIG_AsVal_int(obj4, &val5);
9160 if (!SWIG_IsOK(ecode5)) {
9161 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9162 }
9163 arg5 = static_cast< int >(val5);
9164 }
9165 if (obj5) {
9166 ecode6 = SWIG_AsVal_int(obj5, &val6);
9167 if (!SWIG_IsOK(ecode6)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9169 }
9170 arg6 = static_cast< int >(val6);
9171 }
9172 if (obj6) {
9173 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9174 if (!SWIG_IsOK(res7)) {
9175 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9176 }
9177 }
9178 {
9179 PyThreadState* __tstate = wxPyBeginAllowThreads();
9180 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9181 wxPyEndAllowThreads(__tstate);
9182 if (PyErr_Occurred()) SWIG_fail;
9183 }
9184 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9185 {
9186 if (temp4)
9187 delete arg4;
9188 }
9189 return resultobj;
9190 fail:
9191 {
9192 if (temp4)
9193 delete arg4;
9194 }
9195 return NULL;
9196 }
9197
9198
9199 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9200 PyObject *resultobj = 0;
9201 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9202 wxTreeItemId *arg2 = 0 ;
9203 wxString *arg3 = 0 ;
9204 int arg4 = (int) -1 ;
9205 int arg5 = (int) -1 ;
9206 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9207 wxTreeItemId result;
9208 void *argp1 = 0 ;
9209 int res1 = 0 ;
9210 void *argp2 = 0 ;
9211 int res2 = 0 ;
9212 bool temp3 = false ;
9213 int val4 ;
9214 int ecode4 = 0 ;
9215 int val5 ;
9216 int ecode5 = 0 ;
9217 int res6 = 0 ;
9218 PyObject * obj0 = 0 ;
9219 PyObject * obj1 = 0 ;
9220 PyObject * obj2 = 0 ;
9221 PyObject * obj3 = 0 ;
9222 PyObject * obj4 = 0 ;
9223 PyObject * obj5 = 0 ;
9224 char * kwnames[] = {
9225 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9226 };
9227
9228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9230 if (!SWIG_IsOK(res1)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9232 }
9233 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9234 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9235 if (!SWIG_IsOK(res2)) {
9236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9237 }
9238 if (!argp2) {
9239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9240 }
9241 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9242 {
9243 arg3 = wxString_in_helper(obj2);
9244 if (arg3 == NULL) SWIG_fail;
9245 temp3 = true;
9246 }
9247 if (obj3) {
9248 ecode4 = SWIG_AsVal_int(obj3, &val4);
9249 if (!SWIG_IsOK(ecode4)) {
9250 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9251 }
9252 arg4 = static_cast< int >(val4);
9253 }
9254 if (obj4) {
9255 ecode5 = SWIG_AsVal_int(obj4, &val5);
9256 if (!SWIG_IsOK(ecode5)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9258 }
9259 arg5 = static_cast< int >(val5);
9260 }
9261 if (obj5) {
9262 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9263 if (!SWIG_IsOK(res6)) {
9264 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9265 }
9266 }
9267 {
9268 PyThreadState* __tstate = wxPyBeginAllowThreads();
9269 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9270 wxPyEndAllowThreads(__tstate);
9271 if (PyErr_Occurred()) SWIG_fail;
9272 }
9273 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9274 {
9275 if (temp3)
9276 delete arg3;
9277 }
9278 return resultobj;
9279 fail:
9280 {
9281 if (temp3)
9282 delete arg3;
9283 }
9284 return NULL;
9285 }
9286
9287
9288 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9289 PyObject *resultobj = 0;
9290 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9291 wxTreeItemId *arg2 = 0 ;
9292 void *argp1 = 0 ;
9293 int res1 = 0 ;
9294 void *argp2 = 0 ;
9295 int res2 = 0 ;
9296 PyObject * obj0 = 0 ;
9297 PyObject * obj1 = 0 ;
9298 char * kwnames[] = {
9299 (char *) "self",(char *) "item", NULL
9300 };
9301
9302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9304 if (!SWIG_IsOK(res1)) {
9305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9306 }
9307 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9308 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9309 if (!SWIG_IsOK(res2)) {
9310 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9311 }
9312 if (!argp2) {
9313 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9314 }
9315 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 (arg1)->Delete((wxTreeItemId const &)*arg2);
9319 wxPyEndAllowThreads(__tstate);
9320 if (PyErr_Occurred()) SWIG_fail;
9321 }
9322 resultobj = SWIG_Py_Void();
9323 return resultobj;
9324 fail:
9325 return NULL;
9326 }
9327
9328
9329 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9330 PyObject *resultobj = 0;
9331 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9332 wxTreeItemId *arg2 = 0 ;
9333 void *argp1 = 0 ;
9334 int res1 = 0 ;
9335 void *argp2 = 0 ;
9336 int res2 = 0 ;
9337 PyObject * obj0 = 0 ;
9338 PyObject * obj1 = 0 ;
9339 char * kwnames[] = {
9340 (char *) "self",(char *) "item", NULL
9341 };
9342
9343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9345 if (!SWIG_IsOK(res1)) {
9346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9347 }
9348 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9350 if (!SWIG_IsOK(res2)) {
9351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9352 }
9353 if (!argp2) {
9354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9355 }
9356 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9357 {
9358 PyThreadState* __tstate = wxPyBeginAllowThreads();
9359 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = SWIG_Py_Void();
9364 return resultobj;
9365 fail:
9366 return NULL;
9367 }
9368
9369
9370 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9371 PyObject *resultobj = 0;
9372 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 PyObject *swig_obj[1] ;
9376
9377 if (!args) SWIG_fail;
9378 swig_obj[0] = args;
9379 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9380 if (!SWIG_IsOK(res1)) {
9381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9382 }
9383 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9384 {
9385 PyThreadState* __tstate = wxPyBeginAllowThreads();
9386 (arg1)->DeleteAllItems();
9387 wxPyEndAllowThreads(__tstate);
9388 if (PyErr_Occurred()) SWIG_fail;
9389 }
9390 resultobj = SWIG_Py_Void();
9391 return resultobj;
9392 fail:
9393 return NULL;
9394 }
9395
9396
9397 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9398 PyObject *resultobj = 0;
9399 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9400 wxTreeItemId *arg2 = 0 ;
9401 void *argp1 = 0 ;
9402 int res1 = 0 ;
9403 void *argp2 = 0 ;
9404 int res2 = 0 ;
9405 PyObject * obj0 = 0 ;
9406 PyObject * obj1 = 0 ;
9407 char * kwnames[] = {
9408 (char *) "self",(char *) "item", NULL
9409 };
9410
9411 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9412 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9413 if (!SWIG_IsOK(res1)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9415 }
9416 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9417 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9418 if (!SWIG_IsOK(res2)) {
9419 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9420 }
9421 if (!argp2) {
9422 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9423 }
9424 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9425 {
9426 PyThreadState* __tstate = wxPyBeginAllowThreads();
9427 (arg1)->Expand((wxTreeItemId const &)*arg2);
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = SWIG_Py_Void();
9432 return resultobj;
9433 fail:
9434 return NULL;
9435 }
9436
9437
9438 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj = 0;
9440 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9441 wxTreeItemId *arg2 = 0 ;
9442 void *argp1 = 0 ;
9443 int res1 = 0 ;
9444 void *argp2 = 0 ;
9445 int res2 = 0 ;
9446 PyObject * obj0 = 0 ;
9447 PyObject * obj1 = 0 ;
9448 char * kwnames[] = {
9449 (char *) "self",(char *) "item", NULL
9450 };
9451
9452 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9453 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9454 if (!SWIG_IsOK(res1)) {
9455 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9456 }
9457 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9458 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9459 if (!SWIG_IsOK(res2)) {
9460 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9461 }
9462 if (!argp2) {
9463 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9464 }
9465 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9469 wxPyEndAllowThreads(__tstate);
9470 if (PyErr_Occurred()) SWIG_fail;
9471 }
9472 resultobj = SWIG_Py_Void();
9473 return resultobj;
9474 fail:
9475 return NULL;
9476 }
9477
9478
9479 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9480 PyObject *resultobj = 0;
9481 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9482 wxTreeItemId *arg2 = 0 ;
9483 void *argp1 = 0 ;
9484 int res1 = 0 ;
9485 void *argp2 = 0 ;
9486 int res2 = 0 ;
9487 PyObject * obj0 = 0 ;
9488 PyObject * obj1 = 0 ;
9489 char * kwnames[] = {
9490 (char *) "self",(char *) "item", NULL
9491 };
9492
9493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9495 if (!SWIG_IsOK(res1)) {
9496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9497 }
9498 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9500 if (!SWIG_IsOK(res2)) {
9501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9502 }
9503 if (!argp2) {
9504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9505 }
9506 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = SWIG_Py_Void();
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj = 0;
9522 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9523 wxTreeItemId *arg2 = 0 ;
9524 void *argp1 = 0 ;
9525 int res1 = 0 ;
9526 void *argp2 = 0 ;
9527 int res2 = 0 ;
9528 PyObject * obj0 = 0 ;
9529 PyObject * obj1 = 0 ;
9530 char * kwnames[] = {
9531 (char *) "self",(char *) "item", NULL
9532 };
9533
9534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9536 if (!SWIG_IsOK(res1)) {
9537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9538 }
9539 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9540 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9541 if (!SWIG_IsOK(res2)) {
9542 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9543 }
9544 if (!argp2) {
9545 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9546 }
9547 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9548 {
9549 PyThreadState* __tstate = wxPyBeginAllowThreads();
9550 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9551 wxPyEndAllowThreads(__tstate);
9552 if (PyErr_Occurred()) SWIG_fail;
9553 }
9554 resultobj = SWIG_Py_Void();
9555 return resultobj;
9556 fail:
9557 return NULL;
9558 }
9559
9560
9561 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9562 PyObject *resultobj = 0;
9563 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9564 wxTreeItemId *arg2 = 0 ;
9565 void *argp1 = 0 ;
9566 int res1 = 0 ;
9567 void *argp2 = 0 ;
9568 int res2 = 0 ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char * kwnames[] = {
9572 (char *) "self",(char *) "item", NULL
9573 };
9574
9575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9577 if (!SWIG_IsOK(res1)) {
9578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9579 }
9580 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9581 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9582 if (!SWIG_IsOK(res2)) {
9583 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9584 }
9585 if (!argp2) {
9586 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9587 }
9588 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9592 wxPyEndAllowThreads(__tstate);
9593 if (PyErr_Occurred()) SWIG_fail;
9594 }
9595 resultobj = SWIG_Py_Void();
9596 return resultobj;
9597 fail:
9598 return NULL;
9599 }
9600
9601
9602 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9603 PyObject *resultobj = 0;
9604 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9605 void *argp1 = 0 ;
9606 int res1 = 0 ;
9607 PyObject *swig_obj[1] ;
9608
9609 if (!args) SWIG_fail;
9610 swig_obj[0] = args;
9611 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9612 if (!SWIG_IsOK(res1)) {
9613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9614 }
9615 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9616 {
9617 PyThreadState* __tstate = wxPyBeginAllowThreads();
9618 (arg1)->Unselect();
9619 wxPyEndAllowThreads(__tstate);
9620 if (PyErr_Occurred()) SWIG_fail;
9621 }
9622 resultobj = SWIG_Py_Void();
9623 return resultobj;
9624 fail:
9625 return NULL;
9626 }
9627
9628
9629 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9630 PyObject *resultobj = 0;
9631 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9632 void *argp1 = 0 ;
9633 int res1 = 0 ;
9634 PyObject *swig_obj[1] ;
9635
9636 if (!args) SWIG_fail;
9637 swig_obj[0] = args;
9638 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9639 if (!SWIG_IsOK(res1)) {
9640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9641 }
9642 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->UnselectAll();
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 resultobj = SWIG_Py_Void();
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj = 0;
9658 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9659 wxTreeItemId *arg2 = 0 ;
9660 bool arg3 = (bool) true ;
9661 bool arg4 = (bool) false ;
9662 void *argp1 = 0 ;
9663 int res1 = 0 ;
9664 void *argp2 = 0 ;
9665 int res2 = 0 ;
9666 bool val3 ;
9667 int ecode3 = 0 ;
9668 bool val4 ;
9669 int ecode4 = 0 ;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj1 = 0 ;
9672 PyObject * obj2 = 0 ;
9673 PyObject * obj3 = 0 ;
9674 char * kwnames[] = {
9675 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9676 };
9677
9678 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9679 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9680 if (!SWIG_IsOK(res1)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9682 }
9683 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9684 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9685 if (!SWIG_IsOK(res2)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9687 }
9688 if (!argp2) {
9689 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9690 }
9691 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9692 if (obj2) {
9693 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9694 if (!SWIG_IsOK(ecode3)) {
9695 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9696 }
9697 arg3 = static_cast< bool >(val3);
9698 }
9699 if (obj3) {
9700 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9701 if (!SWIG_IsOK(ecode4)) {
9702 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9703 }
9704 arg4 = static_cast< bool >(val4);
9705 }
9706 {
9707 PyThreadState* __tstate = wxPyBeginAllowThreads();
9708 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9709 wxPyEndAllowThreads(__tstate);
9710 if (PyErr_Occurred()) SWIG_fail;
9711 }
9712 resultobj = SWIG_Py_Void();
9713 return resultobj;
9714 fail:
9715 return NULL;
9716 }
9717
9718
9719 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9720 PyObject *resultobj = 0;
9721 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9722 bool arg2 = (bool) false ;
9723 void *argp1 = 0 ;
9724 int res1 = 0 ;
9725 bool val2 ;
9726 int ecode2 = 0 ;
9727 PyObject * obj0 = 0 ;
9728 PyObject * obj1 = 0 ;
9729 char * kwnames[] = {
9730 (char *) "self",(char *) "extended_select", NULL
9731 };
9732
9733 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9734 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9735 if (!SWIG_IsOK(res1)) {
9736 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9737 }
9738 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9739 if (obj1) {
9740 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9741 if (!SWIG_IsOK(ecode2)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9743 }
9744 arg2 = static_cast< bool >(val2);
9745 }
9746 {
9747 PyThreadState* __tstate = wxPyBeginAllowThreads();
9748 (arg1)->SelectAll(arg2);
9749 wxPyEndAllowThreads(__tstate);
9750 if (PyErr_Occurred()) SWIG_fail;
9751 }
9752 resultobj = SWIG_Py_Void();
9753 return resultobj;
9754 fail:
9755 return NULL;
9756 }
9757
9758
9759 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9760 PyObject *resultobj = 0;
9761 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9762 wxTreeItemId *arg2 = 0 ;
9763 void *argp1 = 0 ;
9764 int res1 = 0 ;
9765 void *argp2 = 0 ;
9766 int res2 = 0 ;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj1 = 0 ;
9769 char * kwnames[] = {
9770 (char *) "self",(char *) "item", NULL
9771 };
9772
9773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9775 if (!SWIG_IsOK(res1)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9777 }
9778 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9780 if (!SWIG_IsOK(res2)) {
9781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9782 }
9783 if (!argp2) {
9784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9785 }
9786 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9790 wxPyEndAllowThreads(__tstate);
9791 if (PyErr_Occurred()) SWIG_fail;
9792 }
9793 resultobj = SWIG_Py_Void();
9794 return resultobj;
9795 fail:
9796 return NULL;
9797 }
9798
9799
9800 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9801 PyObject *resultobj = 0;
9802 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9803 wxTreeItemId *arg2 = 0 ;
9804 void *argp1 = 0 ;
9805 int res1 = 0 ;
9806 void *argp2 = 0 ;
9807 int res2 = 0 ;
9808 PyObject * obj0 = 0 ;
9809 PyObject * obj1 = 0 ;
9810 char * kwnames[] = {
9811 (char *) "self",(char *) "item", NULL
9812 };
9813
9814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9816 if (!SWIG_IsOK(res1)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9818 }
9819 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9820 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9821 if (!SWIG_IsOK(res2)) {
9822 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9823 }
9824 if (!argp2) {
9825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9826 }
9827 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9831 wxPyEndAllowThreads(__tstate);
9832 if (PyErr_Occurred()) SWIG_fail;
9833 }
9834 resultobj = SWIG_Py_Void();
9835 return resultobj;
9836 fail:
9837 return NULL;
9838 }
9839
9840
9841 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9842 PyObject *resultobj = 0;
9843 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9844 wxPoint *arg2 = 0 ;
9845 int *arg3 = 0 ;
9846 int *arg4 = 0 ;
9847 wxTreeItemId result;
9848 void *argp1 = 0 ;
9849 int res1 = 0 ;
9850 wxPoint temp2 ;
9851 int temp3 ;
9852 int res3 = SWIG_TMPOBJ ;
9853 int temp4 ;
9854 int res4 = SWIG_TMPOBJ ;
9855 PyObject * obj0 = 0 ;
9856 PyObject * obj1 = 0 ;
9857 char * kwnames[] = {
9858 (char *) "self",(char *) "point", NULL
9859 };
9860
9861 arg3 = &temp3;
9862 arg4 = &temp4;
9863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9865 if (!SWIG_IsOK(res1)) {
9866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9867 }
9868 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9869 {
9870 arg2 = &temp2;
9871 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9872 }
9873 {
9874 PyThreadState* __tstate = wxPyBeginAllowThreads();
9875 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9876 wxPyEndAllowThreads(__tstate);
9877 if (PyErr_Occurred()) SWIG_fail;
9878 }
9879 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9880 if (SWIG_IsTmpObj(res3)) {
9881 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9882 } else {
9883 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9884 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9885 }
9886 if (SWIG_IsTmpObj(res4)) {
9887 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9888 } else {
9889 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9890 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9891 }
9892 return resultobj;
9893 fail:
9894 return NULL;
9895 }
9896
9897
9898 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9899 PyObject *resultobj = 0;
9900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9901 wxTreeItemId *arg2 = 0 ;
9902 bool arg3 = (bool) false ;
9903 PyObject *result = 0 ;
9904 void *argp1 = 0 ;
9905 int res1 = 0 ;
9906 void *argp2 = 0 ;
9907 int res2 = 0 ;
9908 bool val3 ;
9909 int ecode3 = 0 ;
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9912 PyObject * obj2 = 0 ;
9913 char * kwnames[] = {
9914 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9915 };
9916
9917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9919 if (!SWIG_IsOK(res1)) {
9920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9921 }
9922 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9924 if (!SWIG_IsOK(res2)) {
9925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9926 }
9927 if (!argp2) {
9928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9929 }
9930 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9931 if (obj2) {
9932 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9933 if (!SWIG_IsOK(ecode3)) {
9934 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9935 }
9936 arg3 = static_cast< bool >(val3);
9937 }
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 resultobj = result;
9945 return resultobj;
9946 fail:
9947 return NULL;
9948 }
9949
9950
9951 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj = 0;
9953 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9954 wxTreeItemId *arg2 = 0 ;
9955 void *argp1 = 0 ;
9956 int res1 = 0 ;
9957 void *argp2 = 0 ;
9958 int res2 = 0 ;
9959 PyObject * obj0 = 0 ;
9960 PyObject * obj1 = 0 ;
9961 char * kwnames[] = {
9962 (char *) "self",(char *) "item", NULL
9963 };
9964
9965 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9966 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9967 if (!SWIG_IsOK(res1)) {
9968 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9969 }
9970 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9971 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9972 if (!SWIG_IsOK(res2)) {
9973 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9974 }
9975 if (!argp2) {
9976 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9977 }
9978 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9979 {
9980 PyThreadState* __tstate = wxPyBeginAllowThreads();
9981 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9982 wxPyEndAllowThreads(__tstate);
9983 if (PyErr_Occurred()) SWIG_fail;
9984 }
9985 resultobj = SWIG_Py_Void();
9986 return resultobj;
9987 fail:
9988 return NULL;
9989 }
9990
9991
9992 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9993 PyObject *resultobj = 0;
9994 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9995 wxTreeItemId *arg2 = 0 ;
9996 void *argp1 = 0 ;
9997 int res1 = 0 ;
9998 void *argp2 = 0 ;
9999 int res2 = 0 ;
10000 PyObject * obj0 = 0 ;
10001 PyObject * obj1 = 0 ;
10002 char * kwnames[] = {
10003 (char *) "self",(char *) "item", NULL
10004 };
10005
10006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10008 if (!SWIG_IsOK(res1)) {
10009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10010 }
10011 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10012 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10013 if (!SWIG_IsOK(res2)) {
10014 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10015 }
10016 if (!argp2) {
10017 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10018 }
10019 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10020 {
10021 PyThreadState* __tstate = wxPyBeginAllowThreads();
10022 (arg1)->Edit((wxTreeItemId const &)*arg2);
10023 wxPyEndAllowThreads(__tstate);
10024 if (PyErr_Occurred()) SWIG_fail;
10025 }
10026 resultobj = SWIG_Py_Void();
10027 return resultobj;
10028 fail:
10029 return NULL;
10030 }
10031
10032
10033 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10034 PyObject *resultobj = 0;
10035 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10036 wxTreeItemId *arg2 = 0 ;
10037 void *argp1 = 0 ;
10038 int res1 = 0 ;
10039 void *argp2 = 0 ;
10040 int res2 = 0 ;
10041 PyObject * obj0 = 0 ;
10042 PyObject * obj1 = 0 ;
10043 char * kwnames[] = {
10044 (char *) "self",(char *) "item", NULL
10045 };
10046
10047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10049 if (!SWIG_IsOK(res1)) {
10050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10051 }
10052 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10054 if (!SWIG_IsOK(res2)) {
10055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10056 }
10057 if (!argp2) {
10058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10059 }
10060 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10064 wxPyEndAllowThreads(__tstate);
10065 if (PyErr_Occurred()) SWIG_fail;
10066 }
10067 resultobj = SWIG_Py_Void();
10068 return resultobj;
10069 fail:
10070 return NULL;
10071 }
10072
10073
10074 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10075 PyObject *resultobj = 0;
10076 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10077 wxTreeItemId *arg2 = 0 ;
10078 wxString *arg3 = 0 ;
10079 int arg4 = (int) 0 ;
10080 wxTreeItemId result;
10081 void *argp1 = 0 ;
10082 int res1 = 0 ;
10083 void *argp2 = 0 ;
10084 int res2 = 0 ;
10085 bool temp3 = false ;
10086 int val4 ;
10087 int ecode4 = 0 ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 PyObject * obj2 = 0 ;
10091 PyObject * obj3 = 0 ;
10092 char * kwnames[] = {
10093 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10094 };
10095
10096 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10097 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10098 if (!SWIG_IsOK(res1)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10100 }
10101 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10102 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10103 if (!SWIG_IsOK(res2)) {
10104 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10105 }
10106 if (!argp2) {
10107 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10108 }
10109 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10110 {
10111 arg3 = wxString_in_helper(obj2);
10112 if (arg3 == NULL) SWIG_fail;
10113 temp3 = true;
10114 }
10115 if (obj3) {
10116 ecode4 = SWIG_AsVal_int(obj3, &val4);
10117 if (!SWIG_IsOK(ecode4)) {
10118 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10119 }
10120 arg4 = static_cast< int >(val4);
10121 }
10122 {
10123 PyThreadState* __tstate = wxPyBeginAllowThreads();
10124 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10125 wxPyEndAllowThreads(__tstate);
10126 if (PyErr_Occurred()) SWIG_fail;
10127 }
10128 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10129 {
10130 if (temp3)
10131 delete arg3;
10132 }
10133 return resultobj;
10134 fail:
10135 {
10136 if (temp3)
10137 delete arg3;
10138 }
10139 return NULL;
10140 }
10141
10142
10143 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10144 PyObject *resultobj = 0;
10145 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10146 wxWindow *result = 0 ;
10147 void *argp1 = 0 ;
10148 int res1 = 0 ;
10149 PyObject *swig_obj[1] ;
10150
10151 if (!args) SWIG_fail;
10152 swig_obj[0] = args;
10153 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10154 if (!SWIG_IsOK(res1)) {
10155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10156 }
10157 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10158 {
10159 PyThreadState* __tstate = wxPyBeginAllowThreads();
10160 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10161 wxPyEndAllowThreads(__tstate);
10162 if (PyErr_Occurred()) SWIG_fail;
10163 }
10164 {
10165 resultobj = wxPyMake_wxObject(result, 0);
10166 }
10167 return resultobj;
10168 fail:
10169 return NULL;
10170 }
10171
10172
10173 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10174 PyObject *resultobj = 0;
10175 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10176 wxScrolledWindow *result = 0 ;
10177 void *argp1 = 0 ;
10178 int res1 = 0 ;
10179 PyObject *swig_obj[1] ;
10180
10181 if (!args) SWIG_fail;
10182 swig_obj[0] = args;
10183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10184 if (!SWIG_IsOK(res1)) {
10185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10186 }
10187 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10188 {
10189 PyThreadState* __tstate = wxPyBeginAllowThreads();
10190 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10191 wxPyEndAllowThreads(__tstate);
10192 if (PyErr_Occurred()) SWIG_fail;
10193 }
10194 {
10195 resultobj = wxPyMake_wxObject(result, 0);
10196 }
10197 return resultobj;
10198 fail:
10199 return NULL;
10200 }
10201
10202
10203 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10204 PyObject *obj;
10205 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10206 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10207 return SWIG_Py_Void();
10208 }
10209
10210 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10211 return SWIG_Python_InitShadowInstance(args);
10212 }
10213
10214 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj = 0;
10216 wxWindow *arg1 = (wxWindow *) 0 ;
10217 int arg2 = (int) -1 ;
10218 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10219 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10220 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10221 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10222 wxSize const &arg5_defvalue = wxDefaultSize ;
10223 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10224 long arg6 = (long) 0 ;
10225 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10226 wxString *arg7 = (wxString *) &arg7_defvalue ;
10227 wxStaticPicture *result = 0 ;
10228 void *argp1 = 0 ;
10229 int res1 = 0 ;
10230 int val2 ;
10231 int ecode2 = 0 ;
10232 void *argp3 = 0 ;
10233 int res3 = 0 ;
10234 wxPoint temp4 ;
10235 wxSize temp5 ;
10236 long val6 ;
10237 int ecode6 = 0 ;
10238 bool temp7 = false ;
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 PyObject * obj2 = 0 ;
10242 PyObject * obj3 = 0 ;
10243 PyObject * obj4 = 0 ;
10244 PyObject * obj5 = 0 ;
10245 PyObject * obj6 = 0 ;
10246 char * kwnames[] = {
10247 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10248 };
10249
10250 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10251 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10252 if (!SWIG_IsOK(res1)) {
10253 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10254 }
10255 arg1 = reinterpret_cast< wxWindow * >(argp1);
10256 if (obj1) {
10257 ecode2 = SWIG_AsVal_int(obj1, &val2);
10258 if (!SWIG_IsOK(ecode2)) {
10259 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10260 }
10261 arg2 = static_cast< int >(val2);
10262 }
10263 if (obj2) {
10264 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10265 if (!SWIG_IsOK(res3)) {
10266 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10267 }
10268 if (!argp3) {
10269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10270 }
10271 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10272 }
10273 if (obj3) {
10274 {
10275 arg4 = &temp4;
10276 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10277 }
10278 }
10279 if (obj4) {
10280 {
10281 arg5 = &temp5;
10282 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10283 }
10284 }
10285 if (obj5) {
10286 ecode6 = SWIG_AsVal_long(obj5, &val6);
10287 if (!SWIG_IsOK(ecode6)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10289 }
10290 arg6 = static_cast< long >(val6);
10291 }
10292 if (obj6) {
10293 {
10294 arg7 = wxString_in_helper(obj6);
10295 if (arg7 == NULL) SWIG_fail;
10296 temp7 = true;
10297 }
10298 }
10299 {
10300 if (!wxPyCheckForApp()) SWIG_fail;
10301 PyThreadState* __tstate = wxPyBeginAllowThreads();
10302 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10307 {
10308 if (temp7)
10309 delete arg7;
10310 }
10311 return resultobj;
10312 fail:
10313 {
10314 if (temp7)
10315 delete arg7;
10316 }
10317 return NULL;
10318 }
10319
10320
10321 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10322 PyObject *resultobj = 0;
10323 wxStaticPicture *result = 0 ;
10324
10325 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10326 {
10327 if (!wxPyCheckForApp()) SWIG_fail;
10328 PyThreadState* __tstate = wxPyBeginAllowThreads();
10329 result = (wxStaticPicture *)new wxStaticPicture();
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj = 0;
10342 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10343 wxWindow *arg2 = (wxWindow *) 0 ;
10344 int arg3 = (int) -1 ;
10345 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10346 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10347 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10348 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10349 wxSize const &arg6_defvalue = wxDefaultSize ;
10350 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10351 long arg7 = (long) 0 ;
10352 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10353 wxString *arg8 = (wxString *) &arg8_defvalue ;
10354 bool result;
10355 void *argp1 = 0 ;
10356 int res1 = 0 ;
10357 void *argp2 = 0 ;
10358 int res2 = 0 ;
10359 int val3 ;
10360 int ecode3 = 0 ;
10361 void *argp4 = 0 ;
10362 int res4 = 0 ;
10363 wxPoint temp5 ;
10364 wxSize temp6 ;
10365 long val7 ;
10366 int ecode7 = 0 ;
10367 bool temp8 = false ;
10368 PyObject * obj0 = 0 ;
10369 PyObject * obj1 = 0 ;
10370 PyObject * obj2 = 0 ;
10371 PyObject * obj3 = 0 ;
10372 PyObject * obj4 = 0 ;
10373 PyObject * obj5 = 0 ;
10374 PyObject * obj6 = 0 ;
10375 PyObject * obj7 = 0 ;
10376 char * kwnames[] = {
10377 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10378 };
10379
10380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10382 if (!SWIG_IsOK(res1)) {
10383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10384 }
10385 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10386 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10387 if (!SWIG_IsOK(res2)) {
10388 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10389 }
10390 arg2 = reinterpret_cast< wxWindow * >(argp2);
10391 if (obj2) {
10392 ecode3 = SWIG_AsVal_int(obj2, &val3);
10393 if (!SWIG_IsOK(ecode3)) {
10394 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10395 }
10396 arg3 = static_cast< int >(val3);
10397 }
10398 if (obj3) {
10399 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10400 if (!SWIG_IsOK(res4)) {
10401 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10402 }
10403 if (!argp4) {
10404 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10405 }
10406 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10407 }
10408 if (obj4) {
10409 {
10410 arg5 = &temp5;
10411 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10412 }
10413 }
10414 if (obj5) {
10415 {
10416 arg6 = &temp6;
10417 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10418 }
10419 }
10420 if (obj6) {
10421 ecode7 = SWIG_AsVal_long(obj6, &val7);
10422 if (!SWIG_IsOK(ecode7)) {
10423 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10424 }
10425 arg7 = static_cast< long >(val7);
10426 }
10427 if (obj7) {
10428 {
10429 arg8 = wxString_in_helper(obj7);
10430 if (arg8 == NULL) SWIG_fail;
10431 temp8 = true;
10432 }
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10437 wxPyEndAllowThreads(__tstate);
10438 if (PyErr_Occurred()) SWIG_fail;
10439 }
10440 {
10441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10442 }
10443 {
10444 if (temp8)
10445 delete arg8;
10446 }
10447 return resultobj;
10448 fail:
10449 {
10450 if (temp8)
10451 delete arg8;
10452 }
10453 return NULL;
10454 }
10455
10456
10457 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj = 0;
10459 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10460 wxBitmap *arg2 = 0 ;
10461 void *argp1 = 0 ;
10462 int res1 = 0 ;
10463 void *argp2 = 0 ;
10464 int res2 = 0 ;
10465 PyObject * obj0 = 0 ;
10466 PyObject * obj1 = 0 ;
10467 char * kwnames[] = {
10468 (char *) "self",(char *) "bmp", NULL
10469 };
10470
10471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10473 if (!SWIG_IsOK(res1)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10475 }
10476 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10477 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10478 if (!SWIG_IsOK(res2)) {
10479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10480 }
10481 if (!argp2) {
10482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10483 }
10484 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 resultobj = SWIG_Py_Void();
10492 return resultobj;
10493 fail:
10494 return NULL;
10495 }
10496
10497
10498 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10499 PyObject *resultobj = 0;
10500 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10501 wxBitmap result;
10502 void *argp1 = 0 ;
10503 int res1 = 0 ;
10504 PyObject *swig_obj[1] ;
10505
10506 if (!args) SWIG_fail;
10507 swig_obj[0] = args;
10508 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10509 if (!SWIG_IsOK(res1)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10511 }
10512 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj = 0;
10528 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10529 wxIcon *arg2 = 0 ;
10530 void *argp1 = 0 ;
10531 int res1 = 0 ;
10532 void *argp2 = 0 ;
10533 int res2 = 0 ;
10534 PyObject * obj0 = 0 ;
10535 PyObject * obj1 = 0 ;
10536 char * kwnames[] = {
10537 (char *) "self",(char *) "icon", NULL
10538 };
10539
10540 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10541 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10542 if (!SWIG_IsOK(res1)) {
10543 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10544 }
10545 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10546 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10547 if (!SWIG_IsOK(res2)) {
10548 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10549 }
10550 if (!argp2) {
10551 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10552 }
10553 arg2 = reinterpret_cast< wxIcon * >(argp2);
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 (arg1)->SetIcon((wxIcon const &)*arg2);
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 resultobj = SWIG_Py_Void();
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10568 PyObject *resultobj = 0;
10569 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10570 wxIcon result;
10571 void *argp1 = 0 ;
10572 int res1 = 0 ;
10573 PyObject *swig_obj[1] ;
10574
10575 if (!args) SWIG_fail;
10576 swig_obj[0] = args;
10577 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10578 if (!SWIG_IsOK(res1)) {
10579 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10580 }
10581 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = ((wxStaticPicture const *)arg1)->GetIcon();
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj = 0;
10597 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10598 int arg2 ;
10599 void *argp1 = 0 ;
10600 int res1 = 0 ;
10601 int val2 ;
10602 int ecode2 = 0 ;
10603 PyObject * obj0 = 0 ;
10604 PyObject * obj1 = 0 ;
10605 char * kwnames[] = {
10606 (char *) "self",(char *) "align", NULL
10607 };
10608
10609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10611 if (!SWIG_IsOK(res1)) {
10612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10613 }
10614 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10615 ecode2 = SWIG_AsVal_int(obj1, &val2);
10616 if (!SWIG_IsOK(ecode2)) {
10617 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10618 }
10619 arg2 = static_cast< int >(val2);
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 (arg1)->SetAlignment(arg2);
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = SWIG_Py_Void();
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10634 PyObject *resultobj = 0;
10635 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10636 int result;
10637 void *argp1 = 0 ;
10638 int res1 = 0 ;
10639 PyObject *swig_obj[1] ;
10640
10641 if (!args) SWIG_fail;
10642 swig_obj[0] = args;
10643 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10644 if (!SWIG_IsOK(res1)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10646 }
10647 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10651 wxPyEndAllowThreads(__tstate);
10652 if (PyErr_Occurred()) SWIG_fail;
10653 }
10654 resultobj = SWIG_From_int(static_cast< int >(result));
10655 return resultobj;
10656 fail:
10657 return NULL;
10658 }
10659
10660
10661 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10662 PyObject *resultobj = 0;
10663 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10664 int arg2 ;
10665 void *argp1 = 0 ;
10666 int res1 = 0 ;
10667 int val2 ;
10668 int ecode2 = 0 ;
10669 PyObject * obj0 = 0 ;
10670 PyObject * obj1 = 0 ;
10671 char * kwnames[] = {
10672 (char *) "self",(char *) "scale", NULL
10673 };
10674
10675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10677 if (!SWIG_IsOK(res1)) {
10678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10679 }
10680 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10681 ecode2 = SWIG_AsVal_int(obj1, &val2);
10682 if (!SWIG_IsOK(ecode2)) {
10683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10684 }
10685 arg2 = static_cast< int >(val2);
10686 {
10687 PyThreadState* __tstate = wxPyBeginAllowThreads();
10688 (arg1)->SetScale(arg2);
10689 wxPyEndAllowThreads(__tstate);
10690 if (PyErr_Occurred()) SWIG_fail;
10691 }
10692 resultobj = SWIG_Py_Void();
10693 return resultobj;
10694 fail:
10695 return NULL;
10696 }
10697
10698
10699 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10700 PyObject *resultobj = 0;
10701 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10702 int result;
10703 void *argp1 = 0 ;
10704 int res1 = 0 ;
10705 PyObject *swig_obj[1] ;
10706
10707 if (!args) SWIG_fail;
10708 swig_obj[0] = args;
10709 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10710 if (!SWIG_IsOK(res1)) {
10711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10712 }
10713 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_From_int(static_cast< int >(result));
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj = 0;
10729 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10730 float arg2 ;
10731 float arg3 ;
10732 void *argp1 = 0 ;
10733 int res1 = 0 ;
10734 float val2 ;
10735 int ecode2 = 0 ;
10736 float val3 ;
10737 int ecode3 = 0 ;
10738 PyObject * obj0 = 0 ;
10739 PyObject * obj1 = 0 ;
10740 PyObject * obj2 = 0 ;
10741 char * kwnames[] = {
10742 (char *) "self",(char *) "sx",(char *) "sy", NULL
10743 };
10744
10745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10747 if (!SWIG_IsOK(res1)) {
10748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10749 }
10750 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10751 ecode2 = SWIG_AsVal_float(obj1, &val2);
10752 if (!SWIG_IsOK(ecode2)) {
10753 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10754 }
10755 arg2 = static_cast< float >(val2);
10756 ecode3 = SWIG_AsVal_float(obj2, &val3);
10757 if (!SWIG_IsOK(ecode3)) {
10758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10759 }
10760 arg3 = static_cast< float >(val3);
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->SetCustomScale(arg2,arg3);
10764 wxPyEndAllowThreads(__tstate);
10765 if (PyErr_Occurred()) SWIG_fail;
10766 }
10767 resultobj = SWIG_Py_Void();
10768 return resultobj;
10769 fail:
10770 return NULL;
10771 }
10772
10773
10774 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10775 PyObject *resultobj = 0;
10776 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10777 float *arg2 = (float *) 0 ;
10778 float *arg3 = (float *) 0 ;
10779 void *argp1 = 0 ;
10780 int res1 = 0 ;
10781 float temp2 ;
10782 int res2 = SWIG_TMPOBJ ;
10783 float temp3 ;
10784 int res3 = SWIG_TMPOBJ ;
10785 PyObject *swig_obj[1] ;
10786
10787 arg2 = &temp2;
10788 arg3 = &temp3;
10789 if (!args) SWIG_fail;
10790 swig_obj[0] = args;
10791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10792 if (!SWIG_IsOK(res1)) {
10793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10794 }
10795 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10796 {
10797 PyThreadState* __tstate = wxPyBeginAllowThreads();
10798 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10799 wxPyEndAllowThreads(__tstate);
10800 if (PyErr_Occurred()) SWIG_fail;
10801 }
10802 resultobj = SWIG_Py_Void();
10803 if (SWIG_IsTmpObj(res2)) {
10804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10805 } else {
10806 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10808 }
10809 if (SWIG_IsTmpObj(res3)) {
10810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10811 } else {
10812 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10813 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10814 }
10815 return resultobj;
10816 fail:
10817 return NULL;
10818 }
10819
10820
10821 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10822 PyObject *obj;
10823 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10824 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10825 return SWIG_Py_Void();
10826 }
10827
10828 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10829 return SWIG_Python_InitShadowInstance(args);
10830 }
10831
10832 static PyMethodDef SwigMethods[] = {
10833 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10834 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10835 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10836 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10837 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10838 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10839 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10840 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10841 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10842 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10843 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10844 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10845 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10846 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10847 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10848 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10849 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10850 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10851 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10852 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10853 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10854 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10855 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10856 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10857 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10858 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10859 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10860 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10861 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10862 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10863 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10864 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10865 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10866 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10867 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10868 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10869 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10870 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10871 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10872 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10873 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10874 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10875 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10876 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10877 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10878 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10879 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10880 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10881 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10882 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10883 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10884 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10885 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10886 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10887 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10888 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10889 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10890 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10891 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10892 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10893 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10894 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10895 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10896 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10897 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10900 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10901 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10902 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10903 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10904 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10905 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10906 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10907 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10908 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10909 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10910 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10911 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10912 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10913 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10914 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10915 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10916 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10917 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10918 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10919 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10921 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10922 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10923 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10924 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10925 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10926 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10927 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10928 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10929 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10930 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10931 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10933 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10941 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10945 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10965 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10966 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10967 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10968 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10969 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10976 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10979 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10980 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10981 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10982 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10984 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
10987 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
10988 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
10990 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
10991 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
10993 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
10994 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
10999 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11001 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11002 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11003 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11004 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11005 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11006 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11007 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11008 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11010 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11013 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11014 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11015 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11016 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11017 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11018 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11019 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11020 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11021 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11022 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11023 { NULL, NULL, 0, NULL }
11024 };
11025
11026
11027 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11028
11029 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11030 return (void *)((wxValidator *) ((wxPyValidator *) x));
11031 }
11032 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11033 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11034 }
11035 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11036 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11037 }
11038 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11039 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11040 }
11041 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11042 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11043 }
11044 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11045 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11046 }
11047 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11048 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11049 }
11050 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11051 return (void *)((wxPanel *) ((wxPyPanel *) x));
11052 }
11053 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11054 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11055 }
11056 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11057 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11058 }
11059 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11060 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11061 }
11062 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11063 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11064 }
11065 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11066 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11067 }
11068 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11069 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11070 }
11071 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11072 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11073 }
11074 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11075 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11076 }
11077 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11078 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11079 }
11080 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11081 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11082 }
11083 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11084 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11085 }
11086 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11087 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11088 }
11089 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11090 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11091 }
11092 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11093 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11094 }
11095 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11096 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11097 }
11098 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11099 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11100 }
11101 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11102 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11103 }
11104 static void *_p_wxControlTo_p_wxWindow(void *x) {
11105 return (void *)((wxWindow *) ((wxControl *) x));
11106 }
11107 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11108 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11109 }
11110 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11111 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11112 }
11113 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11114 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11115 }
11116 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11117 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11118 }
11119 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11120 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11121 }
11122 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11123 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11124 }
11125 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11126 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11127 }
11128 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11129 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11130 }
11131 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11132 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11133 }
11134 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11135 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11136 }
11137 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11138 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11139 }
11140 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11141 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11142 }
11143 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11144 return (void *)((wxWindow *) ((wxPyWindow *) x));
11145 }
11146 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11147 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11148 }
11149 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11150 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11151 }
11152 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11154 }
11155 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11157 }
11158 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11160 }
11161 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11162 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11163 }
11164 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11166 }
11167 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11169 }
11170 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11172 }
11173 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11174 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11175 }
11176 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11177 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11178 }
11179 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11180 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11181 }
11182 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11183 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11184 }
11185 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11186 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11187 }
11188 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11189 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11190 }
11191 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11192 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11193 }
11194 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11195 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11196 }
11197 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11198 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11199 }
11200 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11201 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11202 }
11203 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11204 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11205 }
11206 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11207 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11208 }
11209 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11210 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11211 }
11212 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11213 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11214 }
11215 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11216 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11217 }
11218 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11219 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11220 }
11221 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11222 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11223 }
11224 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11225 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11226 }
11227 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11228 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11229 }
11230 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11231 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11232 }
11233 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11234 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11235 }
11236 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11237 return (void *)((wxWindow *) ((wxStatusBar *) x));
11238 }
11239 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11240 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11241 }
11242 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11243 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11244 }
11245 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11246 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11247 }
11248 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11249 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11250 }
11251 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11252 return (void *)((wxWindow *) ((wxSashWindow *) x));
11253 }
11254 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11255 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11256 }
11257 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11258 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11259 }
11260 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11261 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11262 }
11263 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11264 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11265 }
11266 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11267 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11268 }
11269 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11270 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11271 }
11272 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11273 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11274 }
11275 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11276 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11277 }
11278 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11279 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11280 }
11281 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11282 return (void *)((wxWindow *) ((wxMenuBar *) x));
11283 }
11284 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11285 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11286 }
11287 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11288 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11289 }
11290 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11291 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11292 }
11293 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11294 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11295 }
11296 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11297 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11298 }
11299 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11301 }
11302 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11304 }
11305 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11306 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11307 }
11308 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11309 return (void *)((wxWindow *) ((wxPanel *) x));
11310 }
11311 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11312 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11313 }
11314 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11315 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11316 }
11317 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11318 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11319 }
11320 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11321 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11322 }
11323 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11324 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11325 }
11326 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11327 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11328 }
11329 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11330 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11331 }
11332 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11333 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11334 }
11335 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11336 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11337 }
11338 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11339 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11340 }
11341 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11342 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11343 }
11344 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11345 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11346 }
11347 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11348 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11349 }
11350 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11351 return (void *)((wxControl *) ((wxToggleButton *) x));
11352 }
11353 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11354 return (void *)((wxControl *) ((wxRadioButton *) x));
11355 }
11356 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11357 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11358 }
11359 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11360 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11361 }
11362 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11363 return (void *)((wxControl *) ((wxToolBarBase *) x));
11364 }
11365 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11366 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11367 }
11368 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11369 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11370 }
11371 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11372 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11373 }
11374 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11375 return (void *)((wxControl *) ((wxPyControl *) x));
11376 }
11377 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11378 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11379 }
11380 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11381 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11382 }
11383 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11384 return (void *)((wxControl *) ((wxScrollBar *) x));
11385 }
11386 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11387 return (void *)((wxControl *) ((wxControlWithItems *) x));
11388 }
11389 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11390 return (void *)((wxControl *) ((wxGauge *) x));
11391 }
11392 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11393 return (void *)((wxControl *) ((wxStaticLine *) x));
11394 }
11395 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11396 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11397 }
11398 static void *_p_wxListbookTo_p_wxControl(void *x) {
11399 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11400 }
11401 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
11402 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
11403 }
11404 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11405 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11406 }
11407 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11408 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11409 }
11410 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11411 return (void *)((wxControl *) ((wxCheckBox *) x));
11412 }
11413 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11414 return (void *)((wxControl *) ((wxRadioBox *) x));
11415 }
11416 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11417 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11418 }
11419 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11420 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11421 }
11422 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11423 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11424 }
11425 static void *_p_wxListViewTo_p_wxControl(void *x) {
11426 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11427 }
11428 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11429 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11430 }
11431 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11432 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11433 }
11434 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11435 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11436 }
11437 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11438 return (void *)((wxControl *) ((wxStaticText *) x));
11439 }
11440 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11441 return (void *)((wxControl *) ((wxStaticBox *) x));
11442 }
11443 static void *_p_wxSliderTo_p_wxControl(void *x) {
11444 return (void *)((wxControl *) ((wxSlider *) x));
11445 }
11446 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11447 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11448 }
11449 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11450 return (void *)((wxControl *) ((wxSpinButton *) x));
11451 }
11452 static void *_p_wxButtonTo_p_wxControl(void *x) {
11453 return (void *)((wxControl *) ((wxButton *) x));
11454 }
11455 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11456 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11457 }
11458 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11459 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11460 }
11461 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11462 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11463 }
11464 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11465 return (void *)((wxControl *) ((wxStaticPicture *) x));
11466 }
11467 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11468 return (void *)((wxControl *) ((wxTextCtrl *) x));
11469 }
11470 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11471 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11472 }
11473 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11474 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11475 }
11476 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11477 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11478 }
11479 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11480 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11481 }
11482 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11483 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11484 }
11485 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11486 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11487 }
11488 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11489 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11490 }
11491 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11492 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11493 }
11494 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11495 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11496 }
11497 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11498 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11499 }
11500 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11501 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11502 }
11503 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11504 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11505 }
11506 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11508 }
11509 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11510 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11511 }
11512 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11513 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11514 }
11515 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11516 return (void *)((wxEvent *) ((wxPyEvent *) x));
11517 }
11518 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11519 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11520 }
11521 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11522 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11523 }
11524 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11525 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11526 }
11527 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11528 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11529 }
11530 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11531 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11532 }
11533 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11534 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11535 }
11536 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11537 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11538 }
11539 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11540 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11541 }
11542 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11543 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11544 }
11545 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11547 }
11548 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11549 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11550 }
11551 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11552 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11553 }
11554 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11555 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11556 }
11557 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11558 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11559 }
11560 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11561 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11562 }
11563 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11564 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11565 }
11566 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11567 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11568 }
11569 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11570 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11571 }
11572 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11574 }
11575 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11576 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11577 }
11578 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11579 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11580 }
11581 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11582 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11583 }
11584 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11585 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11586 }
11587 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11588 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11589 }
11590 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11591 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11592 }
11593 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11594 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11595 }
11596 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11597 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11598 }
11599 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
11600 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
11601 }
11602 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11603 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11604 }
11605 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11606 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11607 }
11608 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11610 }
11611 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11613 }
11614 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11615 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11616 }
11617 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11618 return (void *)((wxEvent *) ((wxShowEvent *) x));
11619 }
11620 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11621 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11622 }
11623 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11625 }
11626 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11627 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11628 }
11629 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11630 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11631 }
11632 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11633 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11634 }
11635 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11636 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11637 }
11638 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11639 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11640 }
11641 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11642 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11643 }
11644 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11645 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11646 }
11647 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11648 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11649 }
11650 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11652 }
11653 static void *_p_wxEventTo_p_wxObject(void *x) {
11654 return (void *)((wxObject *) ((wxEvent *) x));
11655 }
11656 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11657 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11658 }
11659 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11660 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11661 }
11662 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11663 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11664 }
11665 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11666 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11667 }
11668 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11670 }
11671 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11672 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11673 }
11674 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11675 return (void *)((wxObject *) ((wxMenuItem *) x));
11676 }
11677 static void *_p_wxImageTo_p_wxObject(void *x) {
11678 return (void *)((wxObject *) ((wxImage *) x));
11679 }
11680 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11681 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11682 }
11683 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11684 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11685 }
11686 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11687 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11688 }
11689 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11691 }
11692 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11693 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11694 }
11695 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11696 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11697 }
11698 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11699 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11700 }
11701 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11703 }
11704 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11706 }
11707 static void *_p_wxListItemTo_p_wxObject(void *x) {
11708 return (void *)((wxObject *) ((wxListItem *) x));
11709 }
11710 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11712 }
11713 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11714 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11715 }
11716 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11718 }
11719 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11720 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11721 }
11722 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11724 }
11725 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11727 }
11728 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11729 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11730 }
11731 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11733 }
11734 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11735 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11736 }
11737 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11738 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11739 }
11740 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11741 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11742 }
11743 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11744 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11745 }
11746 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11747 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11748 }
11749 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11750 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11751 }
11752 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11753 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11754 }
11755 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11756 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11757 }
11758 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11760 }
11761 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11762 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11763 }
11764 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11765 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11766 }
11767 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11768 return (void *)((wxObject *) ((wxPrinter *) x));
11769 }
11770 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11772 }
11773 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11775 }
11776 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11777 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11778 }
11779 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11780 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11781 }
11782 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11783 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11784 }
11785 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11786 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11787 }
11788 static void *_p_wxControlTo_p_wxObject(void *x) {
11789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11790 }
11791 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11793 }
11794 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11795 return (void *)((wxObject *) ((wxContextHelp *) x));
11796 }
11797 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11798 return (void *)((wxObject *) ((wxColourData *) x));
11799 }
11800 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11801 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11802 }
11803 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11804 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11805 }
11806 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11807 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11808 }
11809 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11810 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11811 }
11812 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11813 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11814 }
11815 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11816 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11817 }
11818 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11820 }
11821 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11822 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11823 }
11824 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11825 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11826 }
11827 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11829 }
11830 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11831 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11832 }
11833 static void *_p_wxListEventTo_p_wxObject(void *x) {
11834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11835 }
11836 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11837 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11838 }
11839 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11840 return (void *)((wxObject *) ((wxPyPrintout *) x));
11841 }
11842 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11844 }
11845 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11847 }
11848 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11849 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11850 }
11851 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11852 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11853 }
11854 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11855 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11856 }
11857 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11859 }
11860 static void *_p_wxButtonTo_p_wxObject(void *x) {
11861 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11862 }
11863 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11865 }
11866 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11867 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11868 }
11869 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11870 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11871 }
11872 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11873 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11874 }
11875 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11876 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11877 }
11878 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11879 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11880 }
11881 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11883 }
11884 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11886 }
11887 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11889 }
11890 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11891 return (void *)((wxObject *) ((wxPrintData *) x));
11892 }
11893 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11894 return (void *)((wxObject *) ((wxFontData *) x));
11895 }
11896 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11898 }
11899 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11901 }
11902 static void *_p_wxListbookTo_p_wxObject(void *x) {
11903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11904 }
11905 static void *_p_wxFrameTo_p_wxObject(void *x) {
11906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11907 }
11908 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11910 }
11911 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11913 }
11914 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11915 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11916 }
11917 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11919 }
11920 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11921 return (void *)((wxObject *) ((wxFileSystem *) x));
11922 }
11923 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11924 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11925 }
11926 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11927 return (void *)((wxObject *) ((wxPrintPreview *) x));
11928 }
11929 static void *_p_wxListViewTo_p_wxObject(void *x) {
11930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11931 }
11932 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11933 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11934 }
11935 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11937 }
11938 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11940 }
11941 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11943 }
11944 static void *_p_wxSizerTo_p_wxObject(void *x) {
11945 return (void *)((wxObject *) ((wxSizer *) x));
11946 }
11947 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11948 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11949 }
11950 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11951 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11952 }
11953 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11954 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11955 }
11956 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11957 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11958 }
11959 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11960 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11961 }
11962 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
11963 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
11964 }
11965 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11966 return (void *)((wxObject *) ((wxFSFile *) x));
11967 }
11968 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11969 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11970 }
11971 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11972 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11973 }
11974 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
11975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
11976 }
11977 static void *_p_wxMenuTo_p_wxObject(void *x) {
11978 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11979 }
11980 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
11981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
11982 }
11983 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11984 return (void *)((wxObject *) ((wxSizerItem *) x));
11985 }
11986 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11987 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11988 }
11989 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
11990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
11991 }
11992 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11993 return (void *)((wxObject *) ((wxPrintDialog *) x));
11994 }
11995 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11996 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
11997 }
11998 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12000 }
12001 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12002 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12003 }
12004 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12006 }
12007 static void *_p_wxDialogTo_p_wxObject(void *x) {
12008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12009 }
12010 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12011 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12012 }
12013 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12014 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12015 }
12016 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12018 }
12019 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12020 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12021 }
12022 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12024 }
12025 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12026 return (void *)((wxObject *) ((wxEvtHandler *) x));
12027 }
12028 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12029 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12030 }
12031 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12032 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12033 }
12034 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12035 return (void *)((wxObject *) ((wxImageHandler *) x));
12036 }
12037 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12038 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12039 }
12040 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12041 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12042 }
12043 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12044 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12045 }
12046 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12047 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12048 }
12049 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12050 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12051 }
12052 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12053 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12054 }
12055 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12056 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12057 }
12058 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12059 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12060 }
12061 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12062 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12063 }
12064 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12065 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12066 }
12067 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12068 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12069 }
12070 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12072 }
12073 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12075 }
12076 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12078 }
12079 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12081 }
12082 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12084 }
12085 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12087 }
12088 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12090 }
12091 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12093 }
12094 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12096 }
12097 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12099 }
12100 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12102 }
12103 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12105 }
12106 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12108 }
12109 static void *_p_wxWindowTo_p_wxObject(void *x) {
12110 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12111 }
12112 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12114 }
12115 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12117 }
12118 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12120 }
12121 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12123 }
12124 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12126 }
12127 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12129 }
12130 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12131 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12132 }
12133 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12135 }
12136 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12137 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12138 }
12139 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12140 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12141 }
12142 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12144 }
12145 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12147 }
12148 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12150 }
12151 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12153 }
12154 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12156 }
12157 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12159 }
12160 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12162 }
12163 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12164 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12165 }
12166 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12167 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12168 }
12169 static void *_p_wxSliderTo_p_wxObject(void *x) {
12170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12171 }
12172 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12173 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12174 }
12175 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12177 }
12178 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12179 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12180 }
12181 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12182 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12183 }
12184 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12185 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12186 }
12187 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12188 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12189 }
12190 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12192 }
12193 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12194 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12195 }
12196 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12197 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12198 }
12199 static void *_p_wxPanelTo_p_wxObject(void *x) {
12200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12201 }
12202 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12204 }
12205 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12206 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12207 }
12208 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12209 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12210 }
12211 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12212 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12213 }
12214 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12215 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12216 }
12217 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12219 }
12220 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12221 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12222 }
12223 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12224 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12225 }
12226 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12227 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12228 }
12229 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12230 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12231 }
12232 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12233 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12234 }
12235 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12236 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12237 }
12238 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12239 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12240 }
12241 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12242 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12243 }
12244 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12246 }
12247 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12249 }
12250 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12252 }
12253 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12254 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12255 }
12256 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12257 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12258 }
12259 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12261 }
12262 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12264 }
12265 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12267 }
12268 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12269 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12270 }
12271 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12272 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12273 }
12274 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12276 }
12277 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12278 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12279 }
12280 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12282 }
12283 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12284 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12285 }
12286 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12287 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12288 }
12289 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12290 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12291 }
12292 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12293 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12294 }
12295 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12296 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12297 }
12298 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12299 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12300 }
12301 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12302 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12303 }
12304 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12306 }
12307 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12308 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12309 }
12310 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12311 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12312 }
12313 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12314 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12315 }
12316 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12317 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12318 }
12319 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12320 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12321 }
12322 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12323 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12324 }
12325 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12327 }
12328 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12329 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12330 }
12331 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12332 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12333 }
12334 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12336 }
12337 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12338 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12339 }
12340 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12341 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12342 }
12343 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12344 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12345 }
12346 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12347 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12348 }
12349 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12350 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12351 }
12352 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12353 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12354 }
12355 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12356 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12357 }
12358 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12359 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12360 }
12361 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12362 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12363 }
12364 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12365 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12366 }
12367 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12369 }
12370 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12372 }
12373 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12375 }
12376 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12378 }
12379 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12381 }
12382 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12383 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12384 }
12385 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12386 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12387 }
12388 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12389 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12390 }
12391 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12392 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12393 }
12394 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12395 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12396 }
12397 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12399 }
12400 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12401 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12402 }
12403 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12404 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12405 }
12406 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12408 }
12409 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12410 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12411 }
12412 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12413 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12414 }
12415 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12416 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12417 }
12418 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12419 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12420 }
12421 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12422 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12423 }
12424 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12425 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12426 }
12427 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12428 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12429 }
12430 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12431 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12432 }
12433 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12434 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12435 }
12436 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12437 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12438 }
12439 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12440 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12441 }
12442 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12443 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12444 }
12445 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12446 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12447 }
12448 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12449 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12450 }
12451 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12453 }
12454 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12455 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12456 }
12457 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12458 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12459 }
12460 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12461 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12462 }
12463 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12464 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12465 }
12466 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12467 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12468 }
12469 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12470 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12471 }
12472 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12473 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12474 }
12475 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12476 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12477 }
12478 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12479 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12480 }
12481 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12482 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12483 }
12484 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12485 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12486 }
12487 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12488 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12489 }
12490 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12491 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12492 }
12493 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12494 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12495 }
12496 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12497 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12498 }
12499 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12500 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12501 }
12502 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12503 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12504 }
12505 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12506 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12507 }
12508 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12509 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12510 }
12511 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12512 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12513 }
12514 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12515 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12516 }
12517 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12518 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12519 }
12520 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12521 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12522 }
12523 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
12524 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12525 }
12526 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12527 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12528 }
12529 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12530 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12531 }
12532 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12533 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12534 }
12535 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12536 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12537 }
12538 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12539 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12540 }
12541 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12542 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12543 }
12544 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
12545 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
12546 }
12547 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12548 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12549 }
12550 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12551 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12552 }
12553 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12554 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12555 }
12556 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12557 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12558 }
12559 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12560 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12561 }
12562 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12563 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12564 }
12565 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12566 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12567 }
12568 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12569 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12570 }
12571 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12572 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12573 }
12574 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12575 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12576 }
12577 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12578 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12579 }
12580 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12581 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12582 }
12583 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12584 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12585 }
12586 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12587 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12588 }
12589 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12590 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12591 }
12592 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12593 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12594 }
12595 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12596 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12597 }
12598 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12599 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12600 }
12601 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12602 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12603 }
12604 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12605 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12606 }
12607 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12608 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12609 }
12610 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12611 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12612 }
12613 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12614 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12615 }
12616 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12617 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12618 }
12619 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12620 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12621 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};
12622 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12623 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12624 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12625 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12626 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12627 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12628 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12629 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12630 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12631 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12632 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
12633 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12634 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12635 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12636 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12637 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12638 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12639 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12640 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12641 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12642 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12643 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12644 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12645 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12646 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12647 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12648 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12649 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12650 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12651 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12652 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12653 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12654 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12655 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12656 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12657 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12658 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12659 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12660 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12661 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12662 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12663 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12664 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12665 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12666 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12667 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12668 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12669 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12670 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12671 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
12672 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12674 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12678 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12679 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12682 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12683 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12691 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12692 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12693 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12694 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12695 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12696 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12697 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12702 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12720 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12721 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12727 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12770 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12771 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12772 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12773 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12774 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12798 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12799 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12800 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12801 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12802 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12803 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12804 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12806 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12807 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12808 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12809 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12810 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12811 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12812 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12813 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12814 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12815 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12816 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12817 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12818 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12819 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12820 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12821 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12822 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12823 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12824 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12825 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12826 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12827 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12828 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12829 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12830 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12831 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12832 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12833 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12834 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12835 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12836 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12837 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12838 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12839
12840 static swig_type_info *swig_type_initial[] = {
12841 &_swigt__p_char,
12842 &_swigt__p_float,
12843 &_swigt__p_form_ops_t,
12844 &_swigt__p_int,
12845 &_swigt__p_unsigned_char,
12846 &_swigt__p_unsigned_int,
12847 &_swigt__p_unsigned_long,
12848 &_swigt__p_wxANIHandler,
12849 &_swigt__p_wxAcceleratorTable,
12850 &_swigt__p_wxActivateEvent,
12851 &_swigt__p_wxArrayString,
12852 &_swigt__p_wxBMPHandler,
12853 &_swigt__p_wxBitmap,
12854 &_swigt__p_wxBitmapButton,
12855 &_swigt__p_wxBookCtrlBase,
12856 &_swigt__p_wxBookCtrlBaseEvent,
12857 &_swigt__p_wxBoxSizer,
12858 &_swigt__p_wxButton,
12859 &_swigt__p_wxCURHandler,
12860 &_swigt__p_wxCalculateLayoutEvent,
12861 &_swigt__p_wxCheckBox,
12862 &_swigt__p_wxCheckListBox,
12863 &_swigt__p_wxChildFocusEvent,
12864 &_swigt__p_wxChoice,
12865 &_swigt__p_wxChoicebook,
12866 &_swigt__p_wxChoicebookEvent,
12867 &_swigt__p_wxClipboardTextEvent,
12868 &_swigt__p_wxCloseEvent,
12869 &_swigt__p_wxColour,
12870 &_swigt__p_wxColourData,
12871 &_swigt__p_wxColourDialog,
12872 &_swigt__p_wxComboBox,
12873 &_swigt__p_wxCommandEvent,
12874 &_swigt__p_wxContextHelp,
12875 &_swigt__p_wxContextHelpButton,
12876 &_swigt__p_wxContextMenuEvent,
12877 &_swigt__p_wxControl,
12878 &_swigt__p_wxControlWithItems,
12879 &_swigt__p_wxDateEvent,
12880 &_swigt__p_wxDatePickerCtrl,
12881 &_swigt__p_wxDialog,
12882 &_swigt__p_wxDirDialog,
12883 &_swigt__p_wxDirFilterListCtrl,
12884 &_swigt__p_wxDisplayChangedEvent,
12885 &_swigt__p_wxDropFilesEvent,
12886 &_swigt__p_wxDuplexMode,
12887 &_swigt__p_wxDynamicSashSplitEvent,
12888 &_swigt__p_wxDynamicSashUnifyEvent,
12889 &_swigt__p_wxDynamicSashWindow,
12890 &_swigt__p_wxEditableListBox,
12891 &_swigt__p_wxEraseEvent,
12892 &_swigt__p_wxEvent,
12893 &_swigt__p_wxEvtHandler,
12894 &_swigt__p_wxFSFile,
12895 &_swigt__p_wxFileDialog,
12896 &_swigt__p_wxFileSystem,
12897 &_swigt__p_wxFindDialogEvent,
12898 &_swigt__p_wxFindReplaceData,
12899 &_swigt__p_wxFindReplaceDialog,
12900 &_swigt__p_wxFlexGridSizer,
12901 &_swigt__p_wxFocusEvent,
12902 &_swigt__p_wxFont,
12903 &_swigt__p_wxFontData,
12904 &_swigt__p_wxFontDialog,
12905 &_swigt__p_wxFrame,
12906 &_swigt__p_wxGBSizerItem,
12907 &_swigt__p_wxGIFHandler,
12908 &_swigt__p_wxGauge,
12909 &_swigt__p_wxGenericDirCtrl,
12910 &_swigt__p_wxGenericDragImage,
12911 &_swigt__p_wxGridBagSizer,
12912 &_swigt__p_wxGridSizer,
12913 &_swigt__p_wxHelpEvent,
12914 &_swigt__p_wxHyperlinkCtrl,
12915 &_swigt__p_wxHyperlinkEvent,
12916 &_swigt__p_wxICOHandler,
12917 &_swigt__p_wxIcon,
12918 &_swigt__p_wxIconizeEvent,
12919 &_swigt__p_wxIdleEvent,
12920 &_swigt__p_wxImage,
12921 &_swigt__p_wxImageHandler,
12922 &_swigt__p_wxImageList,
12923 &_swigt__p_wxIndividualLayoutConstraint,
12924 &_swigt__p_wxInitDialogEvent,
12925 &_swigt__p_wxJPEGHandler,
12926 &_swigt__p_wxKeyEvent,
12927 &_swigt__p_wxLEDNumberCtrl,
12928 &_swigt__p_wxLayoutAlgorithm,
12929 &_swigt__p_wxLayoutConstraints,
12930 &_swigt__p_wxListBox,
12931 &_swigt__p_wxListEvent,
12932 &_swigt__p_wxListItem,
12933 &_swigt__p_wxListView,
12934 &_swigt__p_wxListbook,
12935 &_swigt__p_wxListbookEvent,
12936 &_swigt__p_wxMDIChildFrame,
12937 &_swigt__p_wxMDIClientWindow,
12938 &_swigt__p_wxMDIParentFrame,
12939 &_swigt__p_wxMaximizeEvent,
12940 &_swigt__p_wxMenu,
12941 &_swigt__p_wxMenuBar,
12942 &_swigt__p_wxMenuEvent,
12943 &_swigt__p_wxMenuItem,
12944 &_swigt__p_wxMessageDialog,
12945 &_swigt__p_wxMiniFrame,
12946 &_swigt__p_wxMouseCaptureChangedEvent,
12947 &_swigt__p_wxMouseEvent,
12948 &_swigt__p_wxMoveEvent,
12949 &_swigt__p_wxMultiChoiceDialog,
12950 &_swigt__p_wxNavigationKeyEvent,
12951 &_swigt__p_wxNcPaintEvent,
12952 &_swigt__p_wxNotebook,
12953 &_swigt__p_wxNotebookEvent,
12954 &_swigt__p_wxNotifyEvent,
12955 &_swigt__p_wxObject,
12956 &_swigt__p_wxPCXHandler,
12957 &_swigt__p_wxPNGHandler,
12958 &_swigt__p_wxPNMHandler,
12959 &_swigt__p_wxPageSetupDialog,
12960 &_swigt__p_wxPageSetupDialogData,
12961 &_swigt__p_wxPaintEvent,
12962 &_swigt__p_wxPaletteChangedEvent,
12963 &_swigt__p_wxPanel,
12964 &_swigt__p_wxPaperSize,
12965 &_swigt__p_wxPasswordEntryDialog,
12966 &_swigt__p_wxPopupWindow,
12967 &_swigt__p_wxPreviewCanvas,
12968 &_swigt__p_wxPreviewControlBar,
12969 &_swigt__p_wxPreviewFrame,
12970 &_swigt__p_wxPrintData,
12971 &_swigt__p_wxPrintDialog,
12972 &_swigt__p_wxPrintDialogData,
12973 &_swigt__p_wxPrintPreview,
12974 &_swigt__p_wxPrinter,
12975 &_swigt__p_wxProgressDialog,
12976 &_swigt__p_wxPyApp,
12977 &_swigt__p_wxPyCommandEvent,
12978 &_swigt__p_wxPyControl,
12979 &_swigt__p_wxPyEvent,
12980 &_swigt__p_wxPyHtmlListBox,
12981 &_swigt__p_wxPyImageHandler,
12982 &_swigt__p_wxPyListCtrl,
12983 &_swigt__p_wxPyPanel,
12984 &_swigt__p_wxPyPopupTransientWindow,
12985 &_swigt__p_wxPyPreviewControlBar,
12986 &_swigt__p_wxPyPreviewFrame,
12987 &_swigt__p_wxPyPrintPreview,
12988 &_swigt__p_wxPyPrintout,
12989 &_swigt__p_wxPyScrolledWindow,
12990 &_swigt__p_wxPySizer,
12991 &_swigt__p_wxPyTaskBarIcon,
12992 &_swigt__p_wxPyTreeCompanionWindow,
12993 &_swigt__p_wxPyTreeCtrl,
12994 &_swigt__p_wxPyTreeItemData,
12995 &_swigt__p_wxPyTreeListCtrl,
12996 &_swigt__p_wxPyVListBox,
12997 &_swigt__p_wxPyVScrolledWindow,
12998 &_swigt__p_wxPyValidator,
12999 &_swigt__p_wxPyWindow,
13000 &_swigt__p_wxQueryLayoutInfoEvent,
13001 &_swigt__p_wxQueryNewPaletteEvent,
13002 &_swigt__p_wxRadioBox,
13003 &_swigt__p_wxRadioButton,
13004 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13005 &_swigt__p_wxSashEvent,
13006 &_swigt__p_wxSashLayoutWindow,
13007 &_swigt__p_wxSashWindow,
13008 &_swigt__p_wxScrollBar,
13009 &_swigt__p_wxScrollEvent,
13010 &_swigt__p_wxScrollWinEvent,
13011 &_swigt__p_wxScrolledWindow,
13012 &_swigt__p_wxSetCursorEvent,
13013 &_swigt__p_wxShowEvent,
13014 &_swigt__p_wxSingleChoiceDialog,
13015 &_swigt__p_wxSizeEvent,
13016 &_swigt__p_wxSizer,
13017 &_swigt__p_wxSizerItem,
13018 &_swigt__p_wxSlider,
13019 &_swigt__p_wxSpinButton,
13020 &_swigt__p_wxSpinCtrl,
13021 &_swigt__p_wxSpinEvent,
13022 &_swigt__p_wxSplashScreen,
13023 &_swigt__p_wxSplashScreenWindow,
13024 &_swigt__p_wxSplitterEvent,
13025 &_swigt__p_wxSplitterScrolledWindow,
13026 &_swigt__p_wxSplitterWindow,
13027 &_swigt__p_wxStaticBitmap,
13028 &_swigt__p_wxStaticBox,
13029 &_swigt__p_wxStaticBoxSizer,
13030 &_swigt__p_wxStaticLine,
13031 &_swigt__p_wxStaticPicture,
13032 &_swigt__p_wxStaticText,
13033 &_swigt__p_wxStatusBar,
13034 &_swigt__p_wxStdDialogButtonSizer,
13035 &_swigt__p_wxSysColourChangedEvent,
13036 &_swigt__p_wxTIFFHandler,
13037 &_swigt__p_wxTaskBarIconEvent,
13038 &_swigt__p_wxTextCtrl,
13039 &_swigt__p_wxTextEntryDialog,
13040 &_swigt__p_wxTextUrlEvent,
13041 &_swigt__p_wxThinSplitterWindow,
13042 &_swigt__p_wxTipWindow,
13043 &_swigt__p_wxToggleButton,
13044 &_swigt__p_wxToolBar,
13045 &_swigt__p_wxToolBarBase,
13046 &_swigt__p_wxToolBarToolBase,
13047 &_swigt__p_wxToolbook,
13048 &_swigt__p_wxToolbookEvent,
13049 &_swigt__p_wxTopLevelWindow,
13050 &_swigt__p_wxTreeEvent,
13051 &_swigt__p_wxTreeItemId,
13052 &_swigt__p_wxTreeListColumnInfo,
13053 &_swigt__p_wxTreebook,
13054 &_swigt__p_wxTreebookEvent,
13055 &_swigt__p_wxUpdateUIEvent,
13056 &_swigt__p_wxValidator,
13057 &_swigt__p_wxWindow,
13058 &_swigt__p_wxWindowCreateEvent,
13059 &_swigt__p_wxWindowDestroyEvent,
13060 &_swigt__p_wxXPMHandler,
13061 };
13062
13063 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13084 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_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}};
13099 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13126 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13134 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_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13140 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13141 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13143 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13144 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13145 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13146 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13147 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13148 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13149 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13150 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13151 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13152 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13153 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13154 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13155 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13156 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13157 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13158 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13159 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13160 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13161 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13162 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13163 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13164 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13165 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13166 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13167 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13168 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13169 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_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13170 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13171 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13172 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13173 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13174 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13178 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13183 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13184 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13212 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_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13216 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13217 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13223 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13224 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13225 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13226 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13227 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13228 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13232 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13233 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13234 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13235 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13236 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13237 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13238 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13239 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13240 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13241 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13242 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13243 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13244 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13245 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13246 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13247 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13248 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13249 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13250 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13251 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13252 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13253 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13254 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13255 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13256 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13257 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13258 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13259 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13260 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13261 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13262 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13263 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13264 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_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13265 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}};
13266 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13267 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}};
13268 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13269 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}};
13270 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13271 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13272 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13273 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13274 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}};
13275 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13276 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}};
13277 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13278 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13279 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13280 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13281 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}};
13282 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_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_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13283
13284 static swig_cast_info *swig_cast_initial[] = {
13285 _swigc__p_char,
13286 _swigc__p_float,
13287 _swigc__p_form_ops_t,
13288 _swigc__p_int,
13289 _swigc__p_unsigned_char,
13290 _swigc__p_unsigned_int,
13291 _swigc__p_unsigned_long,
13292 _swigc__p_wxANIHandler,
13293 _swigc__p_wxAcceleratorTable,
13294 _swigc__p_wxActivateEvent,
13295 _swigc__p_wxArrayString,
13296 _swigc__p_wxBMPHandler,
13297 _swigc__p_wxBitmap,
13298 _swigc__p_wxBitmapButton,
13299 _swigc__p_wxBookCtrlBase,
13300 _swigc__p_wxBookCtrlBaseEvent,
13301 _swigc__p_wxBoxSizer,
13302 _swigc__p_wxButton,
13303 _swigc__p_wxCURHandler,
13304 _swigc__p_wxCalculateLayoutEvent,
13305 _swigc__p_wxCheckBox,
13306 _swigc__p_wxCheckListBox,
13307 _swigc__p_wxChildFocusEvent,
13308 _swigc__p_wxChoice,
13309 _swigc__p_wxChoicebook,
13310 _swigc__p_wxChoicebookEvent,
13311 _swigc__p_wxClipboardTextEvent,
13312 _swigc__p_wxCloseEvent,
13313 _swigc__p_wxColour,
13314 _swigc__p_wxColourData,
13315 _swigc__p_wxColourDialog,
13316 _swigc__p_wxComboBox,
13317 _swigc__p_wxCommandEvent,
13318 _swigc__p_wxContextHelp,
13319 _swigc__p_wxContextHelpButton,
13320 _swigc__p_wxContextMenuEvent,
13321 _swigc__p_wxControl,
13322 _swigc__p_wxControlWithItems,
13323 _swigc__p_wxDateEvent,
13324 _swigc__p_wxDatePickerCtrl,
13325 _swigc__p_wxDialog,
13326 _swigc__p_wxDirDialog,
13327 _swigc__p_wxDirFilterListCtrl,
13328 _swigc__p_wxDisplayChangedEvent,
13329 _swigc__p_wxDropFilesEvent,
13330 _swigc__p_wxDuplexMode,
13331 _swigc__p_wxDynamicSashSplitEvent,
13332 _swigc__p_wxDynamicSashUnifyEvent,
13333 _swigc__p_wxDynamicSashWindow,
13334 _swigc__p_wxEditableListBox,
13335 _swigc__p_wxEraseEvent,
13336 _swigc__p_wxEvent,
13337 _swigc__p_wxEvtHandler,
13338 _swigc__p_wxFSFile,
13339 _swigc__p_wxFileDialog,
13340 _swigc__p_wxFileSystem,
13341 _swigc__p_wxFindDialogEvent,
13342 _swigc__p_wxFindReplaceData,
13343 _swigc__p_wxFindReplaceDialog,
13344 _swigc__p_wxFlexGridSizer,
13345 _swigc__p_wxFocusEvent,
13346 _swigc__p_wxFont,
13347 _swigc__p_wxFontData,
13348 _swigc__p_wxFontDialog,
13349 _swigc__p_wxFrame,
13350 _swigc__p_wxGBSizerItem,
13351 _swigc__p_wxGIFHandler,
13352 _swigc__p_wxGauge,
13353 _swigc__p_wxGenericDirCtrl,
13354 _swigc__p_wxGenericDragImage,
13355 _swigc__p_wxGridBagSizer,
13356 _swigc__p_wxGridSizer,
13357 _swigc__p_wxHelpEvent,
13358 _swigc__p_wxHyperlinkCtrl,
13359 _swigc__p_wxHyperlinkEvent,
13360 _swigc__p_wxICOHandler,
13361 _swigc__p_wxIcon,
13362 _swigc__p_wxIconizeEvent,
13363 _swigc__p_wxIdleEvent,
13364 _swigc__p_wxImage,
13365 _swigc__p_wxImageHandler,
13366 _swigc__p_wxImageList,
13367 _swigc__p_wxIndividualLayoutConstraint,
13368 _swigc__p_wxInitDialogEvent,
13369 _swigc__p_wxJPEGHandler,
13370 _swigc__p_wxKeyEvent,
13371 _swigc__p_wxLEDNumberCtrl,
13372 _swigc__p_wxLayoutAlgorithm,
13373 _swigc__p_wxLayoutConstraints,
13374 _swigc__p_wxListBox,
13375 _swigc__p_wxListEvent,
13376 _swigc__p_wxListItem,
13377 _swigc__p_wxListView,
13378 _swigc__p_wxListbook,
13379 _swigc__p_wxListbookEvent,
13380 _swigc__p_wxMDIChildFrame,
13381 _swigc__p_wxMDIClientWindow,
13382 _swigc__p_wxMDIParentFrame,
13383 _swigc__p_wxMaximizeEvent,
13384 _swigc__p_wxMenu,
13385 _swigc__p_wxMenuBar,
13386 _swigc__p_wxMenuEvent,
13387 _swigc__p_wxMenuItem,
13388 _swigc__p_wxMessageDialog,
13389 _swigc__p_wxMiniFrame,
13390 _swigc__p_wxMouseCaptureChangedEvent,
13391 _swigc__p_wxMouseEvent,
13392 _swigc__p_wxMoveEvent,
13393 _swigc__p_wxMultiChoiceDialog,
13394 _swigc__p_wxNavigationKeyEvent,
13395 _swigc__p_wxNcPaintEvent,
13396 _swigc__p_wxNotebook,
13397 _swigc__p_wxNotebookEvent,
13398 _swigc__p_wxNotifyEvent,
13399 _swigc__p_wxObject,
13400 _swigc__p_wxPCXHandler,
13401 _swigc__p_wxPNGHandler,
13402 _swigc__p_wxPNMHandler,
13403 _swigc__p_wxPageSetupDialog,
13404 _swigc__p_wxPageSetupDialogData,
13405 _swigc__p_wxPaintEvent,
13406 _swigc__p_wxPaletteChangedEvent,
13407 _swigc__p_wxPanel,
13408 _swigc__p_wxPaperSize,
13409 _swigc__p_wxPasswordEntryDialog,
13410 _swigc__p_wxPopupWindow,
13411 _swigc__p_wxPreviewCanvas,
13412 _swigc__p_wxPreviewControlBar,
13413 _swigc__p_wxPreviewFrame,
13414 _swigc__p_wxPrintData,
13415 _swigc__p_wxPrintDialog,
13416 _swigc__p_wxPrintDialogData,
13417 _swigc__p_wxPrintPreview,
13418 _swigc__p_wxPrinter,
13419 _swigc__p_wxProgressDialog,
13420 _swigc__p_wxPyApp,
13421 _swigc__p_wxPyCommandEvent,
13422 _swigc__p_wxPyControl,
13423 _swigc__p_wxPyEvent,
13424 _swigc__p_wxPyHtmlListBox,
13425 _swigc__p_wxPyImageHandler,
13426 _swigc__p_wxPyListCtrl,
13427 _swigc__p_wxPyPanel,
13428 _swigc__p_wxPyPopupTransientWindow,
13429 _swigc__p_wxPyPreviewControlBar,
13430 _swigc__p_wxPyPreviewFrame,
13431 _swigc__p_wxPyPrintPreview,
13432 _swigc__p_wxPyPrintout,
13433 _swigc__p_wxPyScrolledWindow,
13434 _swigc__p_wxPySizer,
13435 _swigc__p_wxPyTaskBarIcon,
13436 _swigc__p_wxPyTreeCompanionWindow,
13437 _swigc__p_wxPyTreeCtrl,
13438 _swigc__p_wxPyTreeItemData,
13439 _swigc__p_wxPyTreeListCtrl,
13440 _swigc__p_wxPyVListBox,
13441 _swigc__p_wxPyVScrolledWindow,
13442 _swigc__p_wxPyValidator,
13443 _swigc__p_wxPyWindow,
13444 _swigc__p_wxQueryLayoutInfoEvent,
13445 _swigc__p_wxQueryNewPaletteEvent,
13446 _swigc__p_wxRadioBox,
13447 _swigc__p_wxRadioButton,
13448 _swigc__p_wxRemotelyScrolledTreeCtrl,
13449 _swigc__p_wxSashEvent,
13450 _swigc__p_wxSashLayoutWindow,
13451 _swigc__p_wxSashWindow,
13452 _swigc__p_wxScrollBar,
13453 _swigc__p_wxScrollEvent,
13454 _swigc__p_wxScrollWinEvent,
13455 _swigc__p_wxScrolledWindow,
13456 _swigc__p_wxSetCursorEvent,
13457 _swigc__p_wxShowEvent,
13458 _swigc__p_wxSingleChoiceDialog,
13459 _swigc__p_wxSizeEvent,
13460 _swigc__p_wxSizer,
13461 _swigc__p_wxSizerItem,
13462 _swigc__p_wxSlider,
13463 _swigc__p_wxSpinButton,
13464 _swigc__p_wxSpinCtrl,
13465 _swigc__p_wxSpinEvent,
13466 _swigc__p_wxSplashScreen,
13467 _swigc__p_wxSplashScreenWindow,
13468 _swigc__p_wxSplitterEvent,
13469 _swigc__p_wxSplitterScrolledWindow,
13470 _swigc__p_wxSplitterWindow,
13471 _swigc__p_wxStaticBitmap,
13472 _swigc__p_wxStaticBox,
13473 _swigc__p_wxStaticBoxSizer,
13474 _swigc__p_wxStaticLine,
13475 _swigc__p_wxStaticPicture,
13476 _swigc__p_wxStaticText,
13477 _swigc__p_wxStatusBar,
13478 _swigc__p_wxStdDialogButtonSizer,
13479 _swigc__p_wxSysColourChangedEvent,
13480 _swigc__p_wxTIFFHandler,
13481 _swigc__p_wxTaskBarIconEvent,
13482 _swigc__p_wxTextCtrl,
13483 _swigc__p_wxTextEntryDialog,
13484 _swigc__p_wxTextUrlEvent,
13485 _swigc__p_wxThinSplitterWindow,
13486 _swigc__p_wxTipWindow,
13487 _swigc__p_wxToggleButton,
13488 _swigc__p_wxToolBar,
13489 _swigc__p_wxToolBarBase,
13490 _swigc__p_wxToolBarToolBase,
13491 _swigc__p_wxToolbook,
13492 _swigc__p_wxToolbookEvent,
13493 _swigc__p_wxTopLevelWindow,
13494 _swigc__p_wxTreeEvent,
13495 _swigc__p_wxTreeItemId,
13496 _swigc__p_wxTreeListColumnInfo,
13497 _swigc__p_wxTreebook,
13498 _swigc__p_wxTreebookEvent,
13499 _swigc__p_wxUpdateUIEvent,
13500 _swigc__p_wxValidator,
13501 _swigc__p_wxWindow,
13502 _swigc__p_wxWindowCreateEvent,
13503 _swigc__p_wxWindowDestroyEvent,
13504 _swigc__p_wxXPMHandler,
13505 };
13506
13507
13508 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13509
13510 static swig_const_info swig_const_table[] = {
13511 {0, 0, 0, 0.0, 0, 0}};
13512
13513 #ifdef __cplusplus
13514 }
13515 #endif
13516 /* -----------------------------------------------------------------------------
13517 * Type initialization:
13518 * This problem is tough by the requirement that no dynamic
13519 * memory is used. Also, since swig_type_info structures store pointers to
13520 * swig_cast_info structures and swig_cast_info structures store pointers back
13521 * to swig_type_info structures, we need some lookup code at initialization.
13522 * The idea is that swig generates all the structures that are needed.
13523 * The runtime then collects these partially filled structures.
13524 * The SWIG_InitializeModule function takes these initial arrays out of
13525 * swig_module, and does all the lookup, filling in the swig_module.types
13526 * array with the correct data and linking the correct swig_cast_info
13527 * structures together.
13528 *
13529 * The generated swig_type_info structures are assigned staticly to an initial
13530 * array. We just loop though that array, and handle each type individually.
13531 * First we lookup if this type has been already loaded, and if so, use the
13532 * loaded structure instead of the generated one. Then we have to fill in the
13533 * cast linked list. The cast data is initially stored in something like a
13534 * two-dimensional array. Each row corresponds to a type (there are the same
13535 * number of rows as there are in the swig_type_initial array). Each entry in
13536 * a column is one of the swig_cast_info structures for that type.
13537 * The cast_initial array is actually an array of arrays, because each row has
13538 * a variable number of columns. So to actually build the cast linked list,
13539 * we find the array of casts associated with the type, and loop through it
13540 * adding the casts to the list. The one last trick we need to do is making
13541 * sure the type pointer in the swig_cast_info struct is correct.
13542 *
13543 * First off, we lookup the cast->type name to see if it is already loaded.
13544 * There are three cases to handle:
13545 * 1) If the cast->type has already been loaded AND the type we are adding
13546 * casting info to has not been loaded (it is in this module), THEN we
13547 * replace the cast->type pointer with the type pointer that has already
13548 * been loaded.
13549 * 2) If BOTH types (the one we are adding casting info to, and the
13550 * cast->type) are loaded, THEN the cast info has already been loaded by
13551 * the previous module so we just ignore it.
13552 * 3) Finally, if cast->type has not already been loaded, then we add that
13553 * swig_cast_info to the linked list (because the cast->type) pointer will
13554 * be correct.
13555 * ----------------------------------------------------------------------------- */
13556
13557 #ifdef __cplusplus
13558 extern "C" {
13559 #if 0
13560 } /* c-mode */
13561 #endif
13562 #endif
13563
13564 #if 0
13565 #define SWIGRUNTIME_DEBUG
13566 #endif
13567
13568 SWIGRUNTIME void
13569 SWIG_InitializeModule(void *clientdata) {
13570 size_t i;
13571 swig_module_info *module_head;
13572 static int init_run = 0;
13573
13574 clientdata = clientdata;
13575
13576 if (init_run) return;
13577 init_run = 1;
13578
13579 /* Initialize the swig_module */
13580 swig_module.type_initial = swig_type_initial;
13581 swig_module.cast_initial = swig_cast_initial;
13582
13583 /* Try and load any already created modules */
13584 module_head = SWIG_GetModule(clientdata);
13585 if (module_head) {
13586 swig_module.next = module_head->next;
13587 module_head->next = &swig_module;
13588 } else {
13589 /* This is the first module loaded */
13590 swig_module.next = &swig_module;
13591 SWIG_SetModule(clientdata, &swig_module);
13592 }
13593
13594 /* Now work on filling in swig_module.types */
13595 #ifdef SWIGRUNTIME_DEBUG
13596 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13597 #endif
13598 for (i = 0; i < swig_module.size; ++i) {
13599 swig_type_info *type = 0;
13600 swig_type_info *ret;
13601 swig_cast_info *cast;
13602
13603 #ifdef SWIGRUNTIME_DEBUG
13604 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13605 #endif
13606
13607 /* if there is another module already loaded */
13608 if (swig_module.next != &swig_module) {
13609 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13610 }
13611 if (type) {
13612 /* Overwrite clientdata field */
13613 #ifdef SWIGRUNTIME_DEBUG
13614 printf("SWIG_InitializeModule: found type %s\n", type->name);
13615 #endif
13616 if (swig_module.type_initial[i]->clientdata) {
13617 type->clientdata = swig_module.type_initial[i]->clientdata;
13618 #ifdef SWIGRUNTIME_DEBUG
13619 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13620 #endif
13621 }
13622 } else {
13623 type = swig_module.type_initial[i];
13624 }
13625
13626 /* Insert casting types */
13627 cast = swig_module.cast_initial[i];
13628 while (cast->type) {
13629 /* Don't need to add information already in the list */
13630 ret = 0;
13631 #ifdef SWIGRUNTIME_DEBUG
13632 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13633 #endif
13634 if (swig_module.next != &swig_module) {
13635 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13636 #ifdef SWIGRUNTIME_DEBUG
13637 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13638 #endif
13639 }
13640 if (ret) {
13641 if (type == swig_module.type_initial[i]) {
13642 #ifdef SWIGRUNTIME_DEBUG
13643 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13644 #endif
13645 cast->type = ret;
13646 ret = 0;
13647 } else {
13648 /* Check for casting already in the list */
13649 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13650 #ifdef SWIGRUNTIME_DEBUG
13651 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13652 #endif
13653 if (!ocast) ret = 0;
13654 }
13655 }
13656
13657 if (!ret) {
13658 #ifdef SWIGRUNTIME_DEBUG
13659 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13660 #endif
13661 if (type->cast) {
13662 type->cast->prev = cast;
13663 cast->next = type->cast;
13664 }
13665 type->cast = cast;
13666 }
13667 cast++;
13668 }
13669 /* Set entry in modules->types array equal to the type */
13670 swig_module.types[i] = type;
13671 }
13672 swig_module.types[i] = 0;
13673
13674 #ifdef SWIGRUNTIME_DEBUG
13675 printf("**** SWIG_InitializeModule: Cast List ******\n");
13676 for (i = 0; i < swig_module.size; ++i) {
13677 int j = 0;
13678 swig_cast_info *cast = swig_module.cast_initial[i];
13679 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13680 while (cast->type) {
13681 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13682 cast++;
13683 ++j;
13684 }
13685 printf("---- Total casts: %d\n",j);
13686 }
13687 printf("**** SWIG_InitializeModule: Cast List ******\n");
13688 #endif
13689 }
13690
13691 /* This function will propagate the clientdata field of type to
13692 * any new swig_type_info structures that have been added into the list
13693 * of equivalent types. It is like calling
13694 * SWIG_TypeClientData(type, clientdata) a second time.
13695 */
13696 SWIGRUNTIME void
13697 SWIG_PropagateClientData(void) {
13698 size_t i;
13699 swig_cast_info *equiv;
13700 static int init_run = 0;
13701
13702 if (init_run) return;
13703 init_run = 1;
13704
13705 for (i = 0; i < swig_module.size; i++) {
13706 if (swig_module.types[i]->clientdata) {
13707 equiv = swig_module.types[i]->cast;
13708 while (equiv) {
13709 if (!equiv->converter) {
13710 if (equiv->type && !equiv->type->clientdata)
13711 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13712 }
13713 equiv = equiv->next;
13714 }
13715 }
13716 }
13717 }
13718
13719 #ifdef __cplusplus
13720 #if 0
13721 {
13722 /* c-mode */
13723 #endif
13724 }
13725 #endif
13726
13727
13728
13729 #ifdef __cplusplus
13730 extern "C" {
13731 #endif
13732
13733 /* Python-specific SWIG API */
13734 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13735 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13736 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13737
13738 /* -----------------------------------------------------------------------------
13739 * global variable support code.
13740 * ----------------------------------------------------------------------------- */
13741
13742 typedef struct swig_globalvar {
13743 char *name; /* Name of global variable */
13744 PyObject *(*get_attr)(void); /* Return the current value */
13745 int (*set_attr)(PyObject *); /* Set the value */
13746 struct swig_globalvar *next;
13747 } swig_globalvar;
13748
13749 typedef struct swig_varlinkobject {
13750 PyObject_HEAD
13751 swig_globalvar *vars;
13752 } swig_varlinkobject;
13753
13754 SWIGINTERN PyObject *
13755 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13756 return PyString_FromString("<Swig global variables>");
13757 }
13758
13759 SWIGINTERN PyObject *
13760 swig_varlink_str(swig_varlinkobject *v) {
13761 PyObject *str = PyString_FromString("(");
13762 swig_globalvar *var;
13763 for (var = v->vars; var; var=var->next) {
13764 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13765 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13766 }
13767 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13768 return str;
13769 }
13770
13771 SWIGINTERN int
13772 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13773 PyObject *str = swig_varlink_str(v);
13774 fprintf(fp,"Swig global variables ");
13775 fprintf(fp,"%s\n", PyString_AsString(str));
13776 Py_DECREF(str);
13777 return 0;
13778 }
13779
13780 SWIGINTERN void
13781 swig_varlink_dealloc(swig_varlinkobject *v) {
13782 swig_globalvar *var = v->vars;
13783 while (var) {
13784 swig_globalvar *n = var->next;
13785 free(var->name);
13786 free(var);
13787 var = n;
13788 }
13789 }
13790
13791 SWIGINTERN PyObject *
13792 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13793 PyObject *res = NULL;
13794 swig_globalvar *var = v->vars;
13795 while (var) {
13796 if (strcmp(var->name,n) == 0) {
13797 res = (*var->get_attr)();
13798 break;
13799 }
13800 var = var->next;
13801 }
13802 if (res == NULL && !PyErr_Occurred()) {
13803 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13804 }
13805 return res;
13806 }
13807
13808 SWIGINTERN int
13809 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13810 int res = 1;
13811 swig_globalvar *var = v->vars;
13812 while (var) {
13813 if (strcmp(var->name,n) == 0) {
13814 res = (*var->set_attr)(p);
13815 break;
13816 }
13817 var = var->next;
13818 }
13819 if (res == 1 && !PyErr_Occurred()) {
13820 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13821 }
13822 return res;
13823 }
13824
13825 SWIGINTERN PyTypeObject*
13826 swig_varlink_type(void) {
13827 static char varlink__doc__[] = "Swig var link object";
13828 static PyTypeObject varlink_type;
13829 static int type_init = 0;
13830 if (!type_init) {
13831 const PyTypeObject tmp
13832 = {
13833 PyObject_HEAD_INIT(NULL)
13834 0, /* Number of items in variable part (ob_size) */
13835 (char *)"swigvarlink", /* Type name (tp_name) */
13836 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13837 0, /* Itemsize (tp_itemsize) */
13838 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13839 (printfunc) swig_varlink_print, /* Print (tp_print) */
13840 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13841 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13842 0, /* tp_compare */
13843 (reprfunc) swig_varlink_repr, /* tp_repr */
13844 0, /* tp_as_number */
13845 0, /* tp_as_sequence */
13846 0, /* tp_as_mapping */
13847 0, /* tp_hash */
13848 0, /* tp_call */
13849 (reprfunc)swig_varlink_str, /* tp_str */
13850 0, /* tp_getattro */
13851 0, /* tp_setattro */
13852 0, /* tp_as_buffer */
13853 0, /* tp_flags */
13854 varlink__doc__, /* tp_doc */
13855 0, /* tp_traverse */
13856 0, /* tp_clear */
13857 0, /* tp_richcompare */
13858 0, /* tp_weaklistoffset */
13859 #if PY_VERSION_HEX >= 0x02020000
13860 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13861 #endif
13862 #if PY_VERSION_HEX >= 0x02030000
13863 0, /* tp_del */
13864 #endif
13865 #ifdef COUNT_ALLOCS
13866 0,0,0,0 /* tp_alloc -> tp_next */
13867 #endif
13868 };
13869 varlink_type = tmp;
13870 varlink_type.ob_type = &PyType_Type;
13871 type_init = 1;
13872 }
13873 return &varlink_type;
13874 }
13875
13876 /* Create a variable linking object for use later */
13877 SWIGINTERN PyObject *
13878 SWIG_Python_newvarlink(void) {
13879 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
13880 if (result) {
13881 result->vars = 0;
13882 }
13883 return ((PyObject*) result);
13884 }
13885
13886 SWIGINTERN void
13887 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13888 swig_varlinkobject *v = (swig_varlinkobject *) p;
13889 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13890 if (gv) {
13891 size_t size = strlen(name)+1;
13892 gv->name = (char *)malloc(size);
13893 if (gv->name) {
13894 strncpy(gv->name,name,size);
13895 gv->get_attr = get_attr;
13896 gv->set_attr = set_attr;
13897 gv->next = v->vars;
13898 }
13899 }
13900 v->vars = gv;
13901 }
13902
13903 SWIGINTERN PyObject *
13904 SWIG_globals() {
13905 static PyObject *_SWIG_globals = 0;
13906 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
13907 return _SWIG_globals;
13908 }
13909
13910 /* -----------------------------------------------------------------------------
13911 * constants/methods manipulation
13912 * ----------------------------------------------------------------------------- */
13913
13914 /* Install Constants */
13915 SWIGINTERN void
13916 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13917 PyObject *obj = 0;
13918 size_t i;
13919 for (i = 0; constants[i].type; ++i) {
13920 switch(constants[i].type) {
13921 case SWIG_PY_POINTER:
13922 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13923 break;
13924 case SWIG_PY_BINARY:
13925 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13926 break;
13927 default:
13928 obj = 0;
13929 break;
13930 }
13931 if (obj) {
13932 PyDict_SetItemString(d, constants[i].name, obj);
13933 Py_DECREF(obj);
13934 }
13935 }
13936 }
13937
13938 /* -----------------------------------------------------------------------------*/
13939 /* Fix SwigMethods to carry the callback ptrs when needed */
13940 /* -----------------------------------------------------------------------------*/
13941
13942 SWIGINTERN void
13943 SWIG_Python_FixMethods(PyMethodDef *methods,
13944 swig_const_info *const_table,
13945 swig_type_info **types,
13946 swig_type_info **types_initial) {
13947 size_t i;
13948 for (i = 0; methods[i].ml_name; ++i) {
13949 char *c = methods[i].ml_doc;
13950 if (c && (c = strstr(c, "swig_ptr: "))) {
13951 int j;
13952 swig_const_info *ci = 0;
13953 char *name = c + 10;
13954 for (j = 0; const_table[j].type; ++j) {
13955 if (strncmp(const_table[j].name, name,
13956 strlen(const_table[j].name)) == 0) {
13957 ci = &(const_table[j]);
13958 break;
13959 }
13960 }
13961 if (ci) {
13962 size_t shift = (ci->ptype) - types;
13963 swig_type_info *ty = types_initial[shift];
13964 size_t ldoc = (c - methods[i].ml_doc);
13965 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13966 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13967 if (ndoc) {
13968 char *buff = ndoc;
13969 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
13970 if (ptr) {
13971 strncpy(buff, methods[i].ml_doc, ldoc);
13972 buff += ldoc;
13973 strncpy(buff, "swig_ptr: ", 10);
13974 buff += 10;
13975 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13976 methods[i].ml_doc = ndoc;
13977 }
13978 }
13979 }
13980 }
13981 }
13982 }
13983
13984 #ifdef __cplusplus
13985 }
13986 #endif
13987
13988 /* -----------------------------------------------------------------------------*
13989 * Partial Init method
13990 * -----------------------------------------------------------------------------*/
13991
13992 #ifdef __cplusplus
13993 extern "C"
13994 #endif
13995 SWIGEXPORT void SWIG_init(void) {
13996 PyObject *m, *d;
13997
13998 /* Fix SwigMethods to carry the callback ptrs when needed */
13999 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14000
14001 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14002 d = PyModule_GetDict(m);
14003
14004 SWIG_InitializeModule(0);
14005 SWIG_InstallConstants(d,swig_const_table);
14006
14007
14008 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14009 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14010 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14011 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14012 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14013 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14014 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14015 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14016 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14017 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14018 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14019 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14020 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14021 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14022 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14023 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14024 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14025 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
14026 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
14027 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
14028 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14029 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
14030 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14031 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14032 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14033 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14034 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14035 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14036 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14037 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14038 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14039
14040
14041 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14042 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14043
14044 }
14045