]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
compile fix for Mac
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_float swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2487 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxChoice swig_types[23]
2490 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2491 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourData swig_types[29]
2496 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508 #define SWIGTYPE_p_wxDialog swig_types[42]
2509 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2510 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvent swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2524 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2527 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532 #define SWIGTYPE_p_wxFont swig_types[66]
2533 #define SWIGTYPE_p_wxFontData swig_types[67]
2534 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2535 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537 #define SWIGTYPE_p_wxFrame swig_types[71]
2538 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540 #define SWIGTYPE_p_wxGauge swig_types[74]
2541 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2545 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2549 #define SWIGTYPE_p_wxIcon swig_types[83]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552 #define SWIGTYPE_p_wxImage swig_types[86]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2554 #define SWIGTYPE_p_wxImageList swig_types[88]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562 #define SWIGTYPE_p_wxListBox swig_types[96]
2563 #define SWIGTYPE_p_wxListEvent swig_types[97]
2564 #define SWIGTYPE_p_wxListItem swig_types[98]
2565 #define SWIGTYPE_p_wxListView swig_types[99]
2566 #define SWIGTYPE_p_wxListbook swig_types[100]
2567 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572 #define SWIGTYPE_p_wxMenu swig_types[106]
2573 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2574 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2576 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxNotebook swig_types[119]
2586 #define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589 #define SWIGTYPE_p_wxObject swig_types[123]
2590 #define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxPanel swig_types[131]
2598 #define SWIGTYPE_p_wxPaperSize swig_types[132]
2599 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600 #define SWIGTYPE_p_wxPickerBase swig_types[134]
2601 #define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602 #define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603 #define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604 #define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605 #define SWIGTYPE_p_wxPrintData swig_types[139]
2606 #define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608 #define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609 #define SWIGTYPE_p_wxPrinter swig_types[143]
2610 #define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611 #define SWIGTYPE_p_wxPyApp swig_types[145]
2612 #define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613 #define SWIGTYPE_p_wxPyControl swig_types[147]
2614 #define SWIGTYPE_p_wxPyEvent swig_types[148]
2615 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616 #define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617 #define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618 #define SWIGTYPE_p_wxPyPanel swig_types[152]
2619 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622 #define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623 #define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625 #define SWIGTYPE_p_wxPySizer swig_types[159]
2626 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631 #define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633 #define SWIGTYPE_p_wxPyValidator swig_types[167]
2634 #define SWIGTYPE_p_wxPyWindow swig_types[168]
2635 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637 #define SWIGTYPE_p_wxRadioBox swig_types[171]
2638 #define SWIGTYPE_p_wxRadioButton swig_types[172]
2639 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640 #define SWIGTYPE_p_wxSashEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642 #define SWIGTYPE_p_wxSashWindow swig_types[176]
2643 #define SWIGTYPE_p_wxScrollBar swig_types[177]
2644 #define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645 #define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646 #define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647 #define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648 #define SWIGTYPE_p_wxShowEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650 #define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651 #define SWIGTYPE_p_wxSizer swig_types[185]
2652 #define SWIGTYPE_p_wxSizerItem swig_types[186]
2653 #define SWIGTYPE_p_wxSlider swig_types[187]
2654 #define SWIGTYPE_p_wxSpinButton swig_types[188]
2655 #define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656 #define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657 #define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659 #define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661 #define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662 #define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663 #define SWIGTYPE_p_wxStaticBox swig_types[197]
2664 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665 #define SWIGTYPE_p_wxStaticLine swig_types[199]
2666 #define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667 #define SWIGTYPE_p_wxStaticText swig_types[201]
2668 #define SWIGTYPE_p_wxStatusBar swig_types[202]
2669 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
2671 #define SWIGTYPE_p_wxTIFFHandler swig_types[205]
2672 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[206]
2673 #define SWIGTYPE_p_wxTextCtrl swig_types[207]
2674 #define SWIGTYPE_p_wxTextEntryDialog swig_types[208]
2675 #define SWIGTYPE_p_wxTextUrlEvent swig_types[209]
2676 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[210]
2677 #define SWIGTYPE_p_wxTipWindow swig_types[211]
2678 #define SWIGTYPE_p_wxToggleButton swig_types[212]
2679 #define SWIGTYPE_p_wxToolBar swig_types[213]
2680 #define SWIGTYPE_p_wxToolBarBase swig_types[214]
2681 #define SWIGTYPE_p_wxToolBarToolBase swig_types[215]
2682 #define SWIGTYPE_p_wxToolbook swig_types[216]
2683 #define SWIGTYPE_p_wxToolbookEvent swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxTreeEvent swig_types[219]
2686 #define SWIGTYPE_p_wxTreeItemId swig_types[220]
2687 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[221]
2688 #define SWIGTYPE_p_wxTreebook swig_types[222]
2689 #define SWIGTYPE_p_wxTreebookEvent swig_types[223]
2690 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[224]
2691 #define SWIGTYPE_p_wxValidator swig_types[225]
2692 #define SWIGTYPE_p_wxWindow swig_types[226]
2693 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[227]
2694 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228]
2695 #define SWIGTYPE_p_wxXPMHandler swig_types[229]
2696 static swig_type_info *swig_types[231];
2697 static swig_module_info swig_module = {swig_types, 230, 0, 0, 0, 0};
2698 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2699 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2700
2701 /* -------- TYPES TABLE (END) -------- */
2702
2703 #if (PY_VERSION_HEX <= 0x02000000)
2704 # if !defined(SWIG_PYTHON_CLASSIC)
2705 # error "This python version requires to use swig with the '-classic' option"
2706 # endif
2707 #endif
2708 #if (PY_VERSION_HEX <= 0x02020000)
2709 # error "This python version requires to use swig with the '-nomodern' option"
2710 #endif
2711 #if (PY_VERSION_HEX <= 0x02020000)
2712 # error "This python version requires to use swig with the '-nomodernargs' option"
2713 #endif
2714 #ifndef METH_O
2715 # error "This python version requires to use swig with the '-nofastunpack' option"
2716 #endif
2717
2718 /*-----------------------------------------------
2719 @(target):= _gizmos.so
2720 ------------------------------------------------*/
2721 #define SWIG_init init_gizmos
2722
2723 #define SWIG_name "_gizmos"
2724
2725 #define SWIGVERSION 0x010329
2726
2727
2728 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2729 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2730
2731
2732 #include <stdexcept>
2733
2734
2735 namespace swig {
2736 class PyObject_ptr {
2737 protected:
2738 PyObject *_obj;
2739
2740 public:
2741 PyObject_ptr() :_obj(0)
2742 {
2743 }
2744
2745 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2746 {
2747 Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2751 {
2752 if (initial_ref) Py_XINCREF(_obj);
2753 }
2754
2755 PyObject_ptr & operator=(const PyObject_ptr& item)
2756 {
2757 Py_XINCREF(item._obj);
2758 Py_XDECREF(_obj);
2759 _obj = item._obj;
2760 return *this;
2761 }
2762
2763 ~PyObject_ptr()
2764 {
2765 Py_XDECREF(_obj);
2766 }
2767
2768 operator PyObject *() const
2769 {
2770 return _obj;
2771 }
2772
2773 PyObject *operator->() const
2774 {
2775 return _obj;
2776 }
2777 };
2778 }
2779
2780
2781 namespace swig {
2782 struct PyObject_var : PyObject_ptr {
2783 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2784
2785 PyObject_var & operator = (PyObject* obj)
2786 {
2787 Py_XDECREF(_obj);
2788 _obj = obj;
2789 return *this;
2790 }
2791 };
2792 }
2793
2794
2795 #include "wx/wxPython/wxPython.h"
2796 #include "wx/wxPython/pyclasses.h"
2797
2798 #include <wx/gizmos/dynamicsash.h>
2799 #include <wx/gizmos/editlbox.h>
2800 #include <wx/gizmos/splittree.h>
2801 #include <wx/gizmos/ledctrl.h>
2802 #include <wx/gizmos/statpict.h>
2803
2804 #include <wx/listctrl.h>
2805 #include <wx/treectrl.h>
2806 #include <wx/imaglist.h>
2807
2808 #include "wx/treelistctrl.h"
2809 #include "wx/wxPython/pytree.h"
2810
2811
2812 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2813 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2814 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2815 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2816 static const wxString wxPyEmptyString(wxEmptyString);
2817
2818 #define SWIG_From_long PyInt_FromLong
2819
2820
2821 SWIGINTERNINLINE PyObject *
2822 SWIG_From_int (int value)
2823 {
2824 return SWIG_From_long (value);
2825 }
2826
2827
2828 #include <limits.h>
2829 #ifndef LLONG_MIN
2830 # define LLONG_MIN LONG_LONG_MIN
2831 #endif
2832 #ifndef LLONG_MAX
2833 # define LLONG_MAX LONG_LONG_MAX
2834 #endif
2835 #ifndef ULLONG_MAX
2836 # define ULLONG_MAX ULONG_LONG_MAX
2837 #endif
2838
2839
2840 SWIGINTERN int
2841 SWIG_AsVal_long (PyObject* obj, long* val)
2842 {
2843 if (PyNumber_Check(obj)) {
2844 if (val) *val = PyInt_AsLong(obj);
2845 return SWIG_OK;
2846 }
2847 return SWIG_TypeError;
2848 }
2849
2850
2851 SWIGINTERN int
2852 SWIG_AsVal_int (PyObject * obj, int *val)
2853 {
2854 long v;
2855 int res = SWIG_AsVal_long (obj, &v);
2856 if (SWIG_IsOK(res)) {
2857 if ((v < INT_MIN || v > INT_MAX)) {
2858 return SWIG_OverflowError;
2859 } else {
2860 if (val) *val = static_cast< int >(v);
2861 }
2862 }
2863 return res;
2864 }
2865
2866 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2867 wxArrayString strings;
2868 self->GetStrings(strings);
2869 return wxArrayString2PyList_helper(strings);
2870 }
2871
2872 typedef wxTreeCtrl wxPyTreeCtrl;
2873
2874
2875 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2876 {
2877 public:
2878 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0)
2882 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2883
2884
2885 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2886 bool found;
2887 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2888 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2889 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2890 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2891 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2892 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2893 Py_DECREF(dcobj);
2894 Py_DECREF(idobj);
2895 Py_DECREF(recobj);
2896 }
2897 wxPyEndBlockThreads(blocked);
2898 if (! found)
2899 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2900 }
2901
2902 PYPRIVATE;
2903 };
2904
2905
2906 SWIGINTERN int
2907 SWIG_AsVal_bool (PyObject *obj, bool *val)
2908 {
2909 if (obj == Py_True) {
2910 if (val) *val = true;
2911 return SWIG_OK;
2912 } else if (obj == Py_False) {
2913 if (val) *val = false;
2914 return SWIG_OK;
2915 } else {
2916 long v = 0;
2917 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2918 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2919 return res;
2920 }
2921 }
2922
2923
2924 SWIGINTERN int
2925 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2926 {
2927 long v = 0;
2928 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2929 return SWIG_TypeError;
2930 }
2931 else if (val)
2932 *val = (unsigned long)v;
2933 return SWIG_OK;
2934 }
2935
2936
2937 SWIGINTERNINLINE int
2938 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2939 {
2940 unsigned long v;
2941 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2942 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2943 return res;
2944 }
2945
2946
2947 SWIGINTERNINLINE PyObject*
2948 SWIG_From_unsigned_SS_long (unsigned long value)
2949 {
2950 return (value > LONG_MAX) ?
2951 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2952 }
2953
2954
2955 SWIGINTERNINLINE PyObject *
2956 SWIG_From_size_t (size_t value)
2957 {
2958 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2959 }
2960
2961 // C++ version of Python aware control
2962 class wxPyTreeListCtrl : public wxTreeListCtrl {
2963 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2964 public:
2965 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2966 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2967 const wxPoint& pos,
2968 const wxSize& size,
2969 long style,
2970 const wxValidator &validator,
2971 const wxString& name) :
2972 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2973
2974 int OnCompareItems(const wxTreeItemId& item1,
2975 const wxTreeItemId& item2) {
2976 int rval = 0;
2977 bool found;
2978 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2979 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2980 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2981 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2982 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2983 Py_DECREF(o1);
2984 Py_DECREF(o2);
2985 }
2986 wxPyEndBlockThreads(blocked);
2987 if (! found)
2988 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2989 return rval;
2990 }
2991 PYPRIVATE;
2992 };
2993
2994 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2995
2996
2997
2998 SWIGINTERNINLINE PyObject *
2999 SWIG_From_unsigned_SS_int (unsigned int value)
3000 {
3001 return SWIG_From_unsigned_SS_long (value);
3002 }
3003
3004
3005 SWIGINTERN int
3006 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3007 {
3008 unsigned long v;
3009 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3010 if (SWIG_IsOK(res)) {
3011 if ((v > UINT_MAX)) {
3012 return SWIG_OverflowError;
3013 } else {
3014 if (val) *val = static_cast< unsigned int >(v);
3015 }
3016 }
3017 return res;
3018 }
3019
3020 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3021 if (column < 0) column = self->GetMainColumn();
3022 return self->GetItemText(item, column);
3023 }
3024 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3025 if (column < 0) column = self->GetMainColumn();
3026 return self->GetItemImage(item, column, which);
3027 }
3028 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3029 if (column < 0) column = self->GetMainColumn();
3030 self->SetItemText(item, column, text);
3031 }
3032 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3033 if (column < 0) column = self->GetMainColumn();
3034 self->SetItemImage(item, column, image, which);
3035 }
3036 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3037 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3038 if (data == NULL) {
3039 data = new wxPyTreeItemData();
3040 data->SetId(item); // set the id
3041 self->SetItemData(item, data);
3042 }
3043 return data;
3044 }
3045 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3046 data->SetId(item); // set the id
3047 self->SetItemData(item, data);
3048 }
3049 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3050 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3051 if (data == NULL) {
3052 data = new wxPyTreeItemData();
3053 data->SetId(item); // set the id
3054 self->SetItemData(item, data);
3055 }
3056 return data->GetData();
3057 }
3058 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3059 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3060 if (data == NULL) {
3061 data = new wxPyTreeItemData(obj);
3062 data->SetId(item); // set the id
3063 self->SetItemData(item, data);
3064 } else
3065 data->SetData(obj);
3066 }
3067 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3068 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3069 PyObject* rval = PyList_New(0);
3070 wxArrayTreeItemIds array;
3071 size_t num, x;
3072 num = self->GetSelections(array);
3073 for (x=0; x < num; x++) {
3074 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3075 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3076 PyList_Append(rval, item);
3077 Py_DECREF(item);
3078 }
3079 wxPyEndBlockThreads(blocked);
3080 return rval;
3081 }
3082 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3083 void* cookie = 0;
3084 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3085 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3086 PyObject* tup = PyTuple_New(2);
3087 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3088 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3089 wxPyEndBlockThreads(blocked);
3090 return tup;
3091 }
3092 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3093 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3094 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3095 PyObject* tup = PyTuple_New(2);
3096 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3097 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3098 wxPyEndBlockThreads(blocked);
3099 return tup;
3100 }
3101 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3102 wxRect rect;
3103 if (self->GetBoundingRect(item, rect, textOnly)) {
3104 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3105 wxRect* r = new wxRect(rect);
3106 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3107 wxPyEndBlockThreads(blocked);
3108 return val;
3109 }
3110 else {
3111 RETURN_NONE();
3112 }
3113 }
3114
3115 #include <float.h>
3116
3117
3118 SWIGINTERN int
3119 SWIG_AsVal_double (PyObject *obj, double* val)
3120 {
3121 if (PyNumber_Check(obj)) {
3122 if (val) *val = PyFloat_AsDouble(obj);
3123 return SWIG_OK;
3124 }
3125 return SWIG_TypeError;
3126 }
3127
3128
3129 SWIGINTERN int
3130 SWIG_AsVal_float (PyObject * obj, float *val)
3131 {
3132 double v;
3133 int res = SWIG_AsVal_double (obj, &v);
3134 if (SWIG_IsOK(res)) {
3135 if ((v < -FLT_MAX || v > FLT_MAX)) {
3136 return SWIG_OverflowError;
3137 } else {
3138 if (val) *val = static_cast< float >(v);
3139 }
3140 }
3141 return res;
3142 }
3143
3144
3145 #define SWIG_From_double PyFloat_FromDouble
3146
3147
3148 SWIGINTERNINLINE PyObject *
3149 SWIG_From_float (float value)
3150 {
3151 return SWIG_From_double (value);
3152 }
3153
3154 #ifdef __cplusplus
3155 extern "C" {
3156 #endif
3157 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3158 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3159 return 1;
3160 }
3161
3162
3163 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3164 PyObject *pyobj = 0;
3165
3166 {
3167 #if wxUSE_UNICODE
3168 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3169 #else
3170 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3171 #endif
3172 }
3173 return pyobj;
3174 }
3175
3176
3177 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3178 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3179 return 1;
3180 }
3181
3182
3183 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3184 PyObject *pyobj = 0;
3185
3186 {
3187 #if wxUSE_UNICODE
3188 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3189 #else
3190 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3191 #endif
3192 }
3193 return pyobj;
3194 }
3195
3196
3197 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3198 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3199 return 1;
3200 }
3201
3202
3203 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3204 PyObject *pyobj = 0;
3205
3206 {
3207 #if wxUSE_UNICODE
3208 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3209 #else
3210 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3211 #endif
3212 }
3213 return pyobj;
3214 }
3215
3216
3217 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3218 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3219 return 1;
3220 }
3221
3222
3223 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3224 PyObject *pyobj = 0;
3225
3226 {
3227 #if wxUSE_UNICODE
3228 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3229 #else
3230 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3231 #endif
3232 }
3233 return pyobj;
3234 }
3235
3236
3237 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3238 PyObject *resultobj = 0;
3239 wxObject *arg1 = (wxObject *) 0 ;
3240 wxDynamicSashSplitEvent *result = 0 ;
3241 void *argp1 = 0 ;
3242 int res1 = 0 ;
3243 PyObject * obj0 = 0 ;
3244 char * kwnames[] = {
3245 (char *) "target", NULL
3246 };
3247
3248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3250 if (!SWIG_IsOK(res1)) {
3251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3252 }
3253 arg1 = reinterpret_cast< wxObject * >(argp1);
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3257 wxPyEndAllowThreads(__tstate);
3258 if (PyErr_Occurred()) SWIG_fail;
3259 }
3260 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3261 return resultobj;
3262 fail:
3263 return NULL;
3264 }
3265
3266
3267 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3268 PyObject *obj;
3269 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3270 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3271 return SWIG_Py_Void();
3272 }
3273
3274 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3275 return SWIG_Python_InitShadowInstance(args);
3276 }
3277
3278 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3279 PyObject *resultobj = 0;
3280 wxObject *arg1 = (wxObject *) 0 ;
3281 wxDynamicSashUnifyEvent *result = 0 ;
3282 void *argp1 = 0 ;
3283 int res1 = 0 ;
3284 PyObject * obj0 = 0 ;
3285 char * kwnames[] = {
3286 (char *) "target", NULL
3287 };
3288
3289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3291 if (!SWIG_IsOK(res1)) {
3292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3293 }
3294 arg1 = reinterpret_cast< wxObject * >(argp1);
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
3301 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3302 return resultobj;
3303 fail:
3304 return NULL;
3305 }
3306
3307
3308 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3309 PyObject *obj;
3310 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3311 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3312 return SWIG_Py_Void();
3313 }
3314
3315 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3316 return SWIG_Python_InitShadowInstance(args);
3317 }
3318
3319 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3320 PyObject *resultobj = 0;
3321 wxWindow *arg1 = (wxWindow *) 0 ;
3322 int arg2 = (int) -1 ;
3323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3325 wxSize const &arg4_defvalue = wxDefaultSize ;
3326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3327 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3328 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3329 wxString *arg6 = (wxString *) &arg6_defvalue ;
3330 wxDynamicSashWindow *result = 0 ;
3331 void *argp1 = 0 ;
3332 int res1 = 0 ;
3333 int val2 ;
3334 int ecode2 = 0 ;
3335 wxPoint temp3 ;
3336 wxSize temp4 ;
3337 long val5 ;
3338 int ecode5 = 0 ;
3339 bool temp6 = false ;
3340 PyObject * obj0 = 0 ;
3341 PyObject * obj1 = 0 ;
3342 PyObject * obj2 = 0 ;
3343 PyObject * obj3 = 0 ;
3344 PyObject * obj4 = 0 ;
3345 PyObject * obj5 = 0 ;
3346 char * kwnames[] = {
3347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3348 };
3349
3350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3352 if (!SWIG_IsOK(res1)) {
3353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3354 }
3355 arg1 = reinterpret_cast< wxWindow * >(argp1);
3356 if (obj1) {
3357 ecode2 = SWIG_AsVal_int(obj1, &val2);
3358 if (!SWIG_IsOK(ecode2)) {
3359 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3360 }
3361 arg2 = static_cast< int >(val2);
3362 }
3363 if (obj2) {
3364 {
3365 arg3 = &temp3;
3366 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3367 }
3368 }
3369 if (obj3) {
3370 {
3371 arg4 = &temp4;
3372 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3373 }
3374 }
3375 if (obj4) {
3376 ecode5 = SWIG_AsVal_long(obj4, &val5);
3377 if (!SWIG_IsOK(ecode5)) {
3378 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3379 }
3380 arg5 = static_cast< long >(val5);
3381 }
3382 if (obj5) {
3383 {
3384 arg6 = wxString_in_helper(obj5);
3385 if (arg6 == NULL) SWIG_fail;
3386 temp6 = true;
3387 }
3388 }
3389 {
3390 if (!wxPyCheckForApp()) SWIG_fail;
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3397 {
3398 if (temp6)
3399 delete arg6;
3400 }
3401 return resultobj;
3402 fail:
3403 {
3404 if (temp6)
3405 delete arg6;
3406 }
3407 return NULL;
3408 }
3409
3410
3411 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3412 PyObject *resultobj = 0;
3413 wxDynamicSashWindow *result = 0 ;
3414
3415 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3416 {
3417 if (!wxPyCheckForApp()) SWIG_fail;
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3424 return resultobj;
3425 fail:
3426 return NULL;
3427 }
3428
3429
3430 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj = 0;
3432 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3433 wxWindow *arg2 = (wxWindow *) 0 ;
3434 int arg3 = (int) -1 ;
3435 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3436 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3437 wxSize const &arg5_defvalue = wxDefaultSize ;
3438 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3439 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3440 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3441 wxString *arg7 = (wxString *) &arg7_defvalue ;
3442 bool result;
3443 void *argp1 = 0 ;
3444 int res1 = 0 ;
3445 void *argp2 = 0 ;
3446 int res2 = 0 ;
3447 int val3 ;
3448 int ecode3 = 0 ;
3449 wxPoint temp4 ;
3450 wxSize temp5 ;
3451 long val6 ;
3452 int ecode6 = 0 ;
3453 bool temp7 = false ;
3454 PyObject * obj0 = 0 ;
3455 PyObject * obj1 = 0 ;
3456 PyObject * obj2 = 0 ;
3457 PyObject * obj3 = 0 ;
3458 PyObject * obj4 = 0 ;
3459 PyObject * obj5 = 0 ;
3460 PyObject * obj6 = 0 ;
3461 char * kwnames[] = {
3462 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3463 };
3464
3465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3467 if (!SWIG_IsOK(res1)) {
3468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3469 }
3470 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3471 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3472 if (!SWIG_IsOK(res2)) {
3473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3474 }
3475 arg2 = reinterpret_cast< wxWindow * >(argp2);
3476 if (obj2) {
3477 ecode3 = SWIG_AsVal_int(obj2, &val3);
3478 if (!SWIG_IsOK(ecode3)) {
3479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3480 }
3481 arg3 = static_cast< int >(val3);
3482 }
3483 if (obj3) {
3484 {
3485 arg4 = &temp4;
3486 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3487 }
3488 }
3489 if (obj4) {
3490 {
3491 arg5 = &temp5;
3492 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3493 }
3494 }
3495 if (obj5) {
3496 ecode6 = SWIG_AsVal_long(obj5, &val6);
3497 if (!SWIG_IsOK(ecode6)) {
3498 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3499 }
3500 arg6 = static_cast< long >(val6);
3501 }
3502 if (obj6) {
3503 {
3504 arg7 = wxString_in_helper(obj6);
3505 if (arg7 == NULL) SWIG_fail;
3506 temp7 = true;
3507 }
3508 }
3509 {
3510 PyThreadState* __tstate = wxPyBeginAllowThreads();
3511 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3512 wxPyEndAllowThreads(__tstate);
3513 if (PyErr_Occurred()) SWIG_fail;
3514 }
3515 {
3516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3517 }
3518 {
3519 if (temp7)
3520 delete arg7;
3521 }
3522 return resultobj;
3523 fail:
3524 {
3525 if (temp7)
3526 delete arg7;
3527 }
3528 return NULL;
3529 }
3530
3531
3532 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj = 0;
3534 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3535 wxWindow *arg2 = (wxWindow *) 0 ;
3536 wxScrollBar *result = 0 ;
3537 void *argp1 = 0 ;
3538 int res1 = 0 ;
3539 void *argp2 = 0 ;
3540 int res2 = 0 ;
3541 PyObject * obj0 = 0 ;
3542 PyObject * obj1 = 0 ;
3543 char * kwnames[] = {
3544 (char *) "self",(char *) "child", NULL
3545 };
3546
3547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3549 if (!SWIG_IsOK(res1)) {
3550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3551 }
3552 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3553 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3554 if (!SWIG_IsOK(res2)) {
3555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3556 }
3557 arg2 = reinterpret_cast< wxWindow * >(argp2);
3558 {
3559 PyThreadState* __tstate = wxPyBeginAllowThreads();
3560 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3561 wxPyEndAllowThreads(__tstate);
3562 if (PyErr_Occurred()) SWIG_fail;
3563 }
3564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3565 return resultobj;
3566 fail:
3567 return NULL;
3568 }
3569
3570
3571 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3572 PyObject *resultobj = 0;
3573 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3574 wxWindow *arg2 = (wxWindow *) 0 ;
3575 wxScrollBar *result = 0 ;
3576 void *argp1 = 0 ;
3577 int res1 = 0 ;
3578 void *argp2 = 0 ;
3579 int res2 = 0 ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj1 = 0 ;
3582 char * kwnames[] = {
3583 (char *) "self",(char *) "child", NULL
3584 };
3585
3586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3588 if (!SWIG_IsOK(res1)) {
3589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3590 }
3591 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3592 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3593 if (!SWIG_IsOK(res2)) {
3594 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3595 }
3596 arg2 = reinterpret_cast< wxWindow * >(argp2);
3597 {
3598 PyThreadState* __tstate = wxPyBeginAllowThreads();
3599 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3600 wxPyEndAllowThreads(__tstate);
3601 if (PyErr_Occurred()) SWIG_fail;
3602 }
3603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3604 return resultobj;
3605 fail:
3606 return NULL;
3607 }
3608
3609
3610 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3611 PyObject *obj;
3612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3613 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3614 return SWIG_Py_Void();
3615 }
3616
3617 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3618 return SWIG_Python_InitShadowInstance(args);
3619 }
3620
3621 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3622 PyObject *resultobj = 0;
3623 wxWindow *arg1 = (wxWindow *) 0 ;
3624 int arg2 = (int) -1 ;
3625 wxString const &arg3_defvalue = wxPyEmptyString ;
3626 wxString *arg3 = (wxString *) &arg3_defvalue ;
3627 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3628 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3629 wxSize const &arg5_defvalue = wxDefaultSize ;
3630 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3631 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3632 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3633 wxString *arg7 = (wxString *) &arg7_defvalue ;
3634 wxEditableListBox *result = 0 ;
3635 void *argp1 = 0 ;
3636 int res1 = 0 ;
3637 int val2 ;
3638 int ecode2 = 0 ;
3639 bool temp3 = false ;
3640 wxPoint temp4 ;
3641 wxSize temp5 ;
3642 long val6 ;
3643 int ecode6 = 0 ;
3644 bool temp7 = false ;
3645 PyObject * obj0 = 0 ;
3646 PyObject * obj1 = 0 ;
3647 PyObject * obj2 = 0 ;
3648 PyObject * obj3 = 0 ;
3649 PyObject * obj4 = 0 ;
3650 PyObject * obj5 = 0 ;
3651 PyObject * obj6 = 0 ;
3652 char * kwnames[] = {
3653 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3654 };
3655
3656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3658 if (!SWIG_IsOK(res1)) {
3659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3660 }
3661 arg1 = reinterpret_cast< wxWindow * >(argp1);
3662 if (obj1) {
3663 ecode2 = SWIG_AsVal_int(obj1, &val2);
3664 if (!SWIG_IsOK(ecode2)) {
3665 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3666 }
3667 arg2 = static_cast< int >(val2);
3668 }
3669 if (obj2) {
3670 {
3671 arg3 = wxString_in_helper(obj2);
3672 if (arg3 == NULL) SWIG_fail;
3673 temp3 = true;
3674 }
3675 }
3676 if (obj3) {
3677 {
3678 arg4 = &temp4;
3679 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3680 }
3681 }
3682 if (obj4) {
3683 {
3684 arg5 = &temp5;
3685 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3686 }
3687 }
3688 if (obj5) {
3689 ecode6 = SWIG_AsVal_long(obj5, &val6);
3690 if (!SWIG_IsOK(ecode6)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3692 }
3693 arg6 = static_cast< long >(val6);
3694 }
3695 if (obj6) {
3696 {
3697 arg7 = wxString_in_helper(obj6);
3698 if (arg7 == NULL) SWIG_fail;
3699 temp7 = true;
3700 }
3701 }
3702 {
3703 if (!wxPyCheckForApp()) SWIG_fail;
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3710 {
3711 if (temp3)
3712 delete arg3;
3713 }
3714 {
3715 if (temp7)
3716 delete arg7;
3717 }
3718 return resultobj;
3719 fail:
3720 {
3721 if (temp3)
3722 delete arg3;
3723 }
3724 {
3725 if (temp7)
3726 delete arg7;
3727 }
3728 return NULL;
3729 }
3730
3731
3732 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3733 PyObject *resultobj = 0;
3734 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3735 wxArrayString *arg2 = 0 ;
3736 void *argp1 = 0 ;
3737 int res1 = 0 ;
3738 bool temp2 = false ;
3739 PyObject * obj0 = 0 ;
3740 PyObject * obj1 = 0 ;
3741 char * kwnames[] = {
3742 (char *) "self",(char *) "strings", NULL
3743 };
3744
3745 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3746 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3747 if (!SWIG_IsOK(res1)) {
3748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3749 }
3750 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3751 {
3752 if (! PySequence_Check(obj1)) {
3753 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3754 SWIG_fail;
3755 }
3756 arg2 = new wxArrayString;
3757 temp2 = true;
3758 int i, len=PySequence_Length(obj1);
3759 for (i=0; i<len; i++) {
3760 PyObject* item = PySequence_GetItem(obj1, i);
3761 wxString* s = wxString_in_helper(item);
3762 if (PyErr_Occurred()) SWIG_fail;
3763 arg2->Add(*s);
3764 delete s;
3765 Py_DECREF(item);
3766 }
3767 }
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 (arg1)->SetStrings((wxArrayString const &)*arg2);
3771 wxPyEndAllowThreads(__tstate);
3772 if (PyErr_Occurred()) SWIG_fail;
3773 }
3774 resultobj = SWIG_Py_Void();
3775 {
3776 if (temp2) delete arg2;
3777 }
3778 return resultobj;
3779 fail:
3780 {
3781 if (temp2) delete arg2;
3782 }
3783 return NULL;
3784 }
3785
3786
3787 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3788 PyObject *resultobj = 0;
3789 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3790 PyObject *result = 0 ;
3791 void *argp1 = 0 ;
3792 int res1 = 0 ;
3793 PyObject *swig_obj[1] ;
3794
3795 if (!args) SWIG_fail;
3796 swig_obj[0] = args;
3797 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3798 if (!SWIG_IsOK(res1)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3800 }
3801 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3802 {
3803 PyThreadState* __tstate = wxPyBeginAllowThreads();
3804 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3805 wxPyEndAllowThreads(__tstate);
3806 if (PyErr_Occurred()) SWIG_fail;
3807 }
3808 resultobj = result;
3809 return resultobj;
3810 fail:
3811 return NULL;
3812 }
3813
3814
3815 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3816 PyObject *resultobj = 0;
3817 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3818 wxPyListCtrl *result = 0 ;
3819 void *argp1 = 0 ;
3820 int res1 = 0 ;
3821 PyObject *swig_obj[1] ;
3822
3823 if (!args) SWIG_fail;
3824 swig_obj[0] = args;
3825 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3826 if (!SWIG_IsOK(res1)) {
3827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3828 }
3829 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3833 wxPyEndAllowThreads(__tstate);
3834 if (PyErr_Occurred()) SWIG_fail;
3835 }
3836 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3837 return resultobj;
3838 fail:
3839 return NULL;
3840 }
3841
3842
3843 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3844 PyObject *resultobj = 0;
3845 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3846 wxBitmapButton *result = 0 ;
3847 void *argp1 = 0 ;
3848 int res1 = 0 ;
3849 PyObject *swig_obj[1] ;
3850
3851 if (!args) SWIG_fail;
3852 swig_obj[0] = args;
3853 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3854 if (!SWIG_IsOK(res1)) {
3855 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3856 }
3857 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3858 {
3859 PyThreadState* __tstate = wxPyBeginAllowThreads();
3860 result = (wxBitmapButton *)(arg1)->GetDelButton();
3861 wxPyEndAllowThreads(__tstate);
3862 if (PyErr_Occurred()) SWIG_fail;
3863 }
3864 {
3865 resultobj = wxPyMake_wxObject(result, 0);
3866 }
3867 return resultobj;
3868 fail:
3869 return NULL;
3870 }
3871
3872
3873 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3874 PyObject *resultobj = 0;
3875 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3876 wxBitmapButton *result = 0 ;
3877 void *argp1 = 0 ;
3878 int res1 = 0 ;
3879 PyObject *swig_obj[1] ;
3880
3881 if (!args) SWIG_fail;
3882 swig_obj[0] = args;
3883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3884 if (!SWIG_IsOK(res1)) {
3885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3886 }
3887 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3888 {
3889 PyThreadState* __tstate = wxPyBeginAllowThreads();
3890 result = (wxBitmapButton *)(arg1)->GetNewButton();
3891 wxPyEndAllowThreads(__tstate);
3892 if (PyErr_Occurred()) SWIG_fail;
3893 }
3894 {
3895 resultobj = wxPyMake_wxObject(result, 0);
3896 }
3897 return resultobj;
3898 fail:
3899 return NULL;
3900 }
3901
3902
3903 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3904 PyObject *resultobj = 0;
3905 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3906 wxBitmapButton *result = 0 ;
3907 void *argp1 = 0 ;
3908 int res1 = 0 ;
3909 PyObject *swig_obj[1] ;
3910
3911 if (!args) SWIG_fail;
3912 swig_obj[0] = args;
3913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3914 if (!SWIG_IsOK(res1)) {
3915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3916 }
3917 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3918 {
3919 PyThreadState* __tstate = wxPyBeginAllowThreads();
3920 result = (wxBitmapButton *)(arg1)->GetUpButton();
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 {
3925 resultobj = wxPyMake_wxObject(result, 0);
3926 }
3927 return resultobj;
3928 fail:
3929 return NULL;
3930 }
3931
3932
3933 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3934 PyObject *resultobj = 0;
3935 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3936 wxBitmapButton *result = 0 ;
3937 void *argp1 = 0 ;
3938 int res1 = 0 ;
3939 PyObject *swig_obj[1] ;
3940
3941 if (!args) SWIG_fail;
3942 swig_obj[0] = args;
3943 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3944 if (!SWIG_IsOK(res1)) {
3945 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3946 }
3947 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (wxBitmapButton *)(arg1)->GetDownButton();
3951 wxPyEndAllowThreads(__tstate);
3952 if (PyErr_Occurred()) SWIG_fail;
3953 }
3954 {
3955 resultobj = wxPyMake_wxObject(result, 0);
3956 }
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3964 PyObject *resultobj = 0;
3965 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3966 wxBitmapButton *result = 0 ;
3967 void *argp1 = 0 ;
3968 int res1 = 0 ;
3969 PyObject *swig_obj[1] ;
3970
3971 if (!args) SWIG_fail;
3972 swig_obj[0] = args;
3973 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3974 if (!SWIG_IsOK(res1)) {
3975 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3976 }
3977 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 result = (wxBitmapButton *)(arg1)->GetEditButton();
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 {
3985 resultobj = wxPyMake_wxObject(result, 0);
3986 }
3987 return resultobj;
3988 fail:
3989 return NULL;
3990 }
3991
3992
3993 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3994 PyObject *obj;
3995 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3996 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3997 return SWIG_Py_Void();
3998 }
3999
4000 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4001 return SWIG_Python_InitShadowInstance(args);
4002 }
4003
4004 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj = 0;
4006 wxWindow *arg1 = (wxWindow *) 0 ;
4007 int arg2 ;
4008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4010 wxSize const &arg4_defvalue = wxDefaultSize ;
4011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4012 long arg5 = (long) wxTR_HAS_BUTTONS ;
4013 wxRemotelyScrolledTreeCtrl *result = 0 ;
4014 void *argp1 = 0 ;
4015 int res1 = 0 ;
4016 int val2 ;
4017 int ecode2 = 0 ;
4018 wxPoint temp3 ;
4019 wxSize temp4 ;
4020 long val5 ;
4021 int ecode5 = 0 ;
4022 PyObject * obj0 = 0 ;
4023 PyObject * obj1 = 0 ;
4024 PyObject * obj2 = 0 ;
4025 PyObject * obj3 = 0 ;
4026 PyObject * obj4 = 0 ;
4027 char * kwnames[] = {
4028 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4029 };
4030
4031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4033 if (!SWIG_IsOK(res1)) {
4034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4035 }
4036 arg1 = reinterpret_cast< wxWindow * >(argp1);
4037 ecode2 = SWIG_AsVal_int(obj1, &val2);
4038 if (!SWIG_IsOK(ecode2)) {
4039 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4040 }
4041 arg2 = static_cast< int >(val2);
4042 if (obj2) {
4043 {
4044 arg3 = &temp3;
4045 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4046 }
4047 }
4048 if (obj3) {
4049 {
4050 arg4 = &temp4;
4051 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4052 }
4053 }
4054 if (obj4) {
4055 ecode5 = SWIG_AsVal_long(obj4, &val5);
4056 if (!SWIG_IsOK(ecode5)) {
4057 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4058 }
4059 arg5 = static_cast< long >(val5);
4060 }
4061 {
4062 if (!wxPyCheckForApp()) SWIG_fail;
4063 PyThreadState* __tstate = wxPyBeginAllowThreads();
4064 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4065 wxPyEndAllowThreads(__tstate);
4066 if (PyErr_Occurred()) SWIG_fail;
4067 }
4068 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4069 return resultobj;
4070 fail:
4071 return NULL;
4072 }
4073
4074
4075 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4076 PyObject *resultobj = 0;
4077 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4078 void *argp1 = 0 ;
4079 int res1 = 0 ;
4080 PyObject *swig_obj[1] ;
4081
4082 if (!args) SWIG_fail;
4083 swig_obj[0] = args;
4084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4085 if (!SWIG_IsOK(res1)) {
4086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4087 }
4088 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4089 {
4090 PyThreadState* __tstate = wxPyBeginAllowThreads();
4091 (arg1)->HideVScrollbar();
4092 wxPyEndAllowThreads(__tstate);
4093 if (PyErr_Occurred()) SWIG_fail;
4094 }
4095 resultobj = SWIG_Py_Void();
4096 return resultobj;
4097 fail:
4098 return NULL;
4099 }
4100
4101
4102 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4103 PyObject *resultobj = 0;
4104 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4105 void *argp1 = 0 ;
4106 int res1 = 0 ;
4107 PyObject *swig_obj[1] ;
4108
4109 if (!args) SWIG_fail;
4110 swig_obj[0] = args;
4111 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4112 if (!SWIG_IsOK(res1)) {
4113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4114 }
4115 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 (arg1)->AdjustRemoteScrollbars();
4119 wxPyEndAllowThreads(__tstate);
4120 if (PyErr_Occurred()) SWIG_fail;
4121 }
4122 resultobj = SWIG_Py_Void();
4123 return resultobj;
4124 fail:
4125 return NULL;
4126 }
4127
4128
4129 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4130 PyObject *resultobj = 0;
4131 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4132 wxScrolledWindow *result = 0 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 PyObject *swig_obj[1] ;
4136
4137 if (!args) SWIG_fail;
4138 swig_obj[0] = args;
4139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4140 if (!SWIG_IsOK(res1)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4142 }
4143 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 {
4151 resultobj = wxPyMake_wxObject(result, 0);
4152 }
4153 return resultobj;
4154 fail:
4155 return NULL;
4156 }
4157
4158
4159 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4160 PyObject *resultobj = 0;
4161 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4162 int arg2 ;
4163 int arg3 ;
4164 void *argp1 = 0 ;
4165 int res1 = 0 ;
4166 int val2 ;
4167 int ecode2 = 0 ;
4168 int val3 ;
4169 int ecode3 = 0 ;
4170 PyObject * obj0 = 0 ;
4171 PyObject * obj1 = 0 ;
4172 PyObject * obj2 = 0 ;
4173 char * kwnames[] = {
4174 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4175 };
4176
4177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4179 if (!SWIG_IsOK(res1)) {
4180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4181 }
4182 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4183 ecode2 = SWIG_AsVal_int(obj1, &val2);
4184 if (!SWIG_IsOK(ecode2)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4186 }
4187 arg2 = static_cast< int >(val2);
4188 ecode3 = SWIG_AsVal_int(obj2, &val3);
4189 if (!SWIG_IsOK(ecode3)) {
4190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4191 }
4192 arg3 = static_cast< int >(val3);
4193 {
4194 PyThreadState* __tstate = wxPyBeginAllowThreads();
4195 (arg1)->ScrollToLine(arg2,arg3);
4196 wxPyEndAllowThreads(__tstate);
4197 if (PyErr_Occurred()) SWIG_fail;
4198 }
4199 resultobj = SWIG_Py_Void();
4200 return resultobj;
4201 fail:
4202 return NULL;
4203 }
4204
4205
4206 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj = 0;
4208 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4209 wxWindow *arg2 = (wxWindow *) 0 ;
4210 void *argp1 = 0 ;
4211 int res1 = 0 ;
4212 void *argp2 = 0 ;
4213 int res2 = 0 ;
4214 PyObject * obj0 = 0 ;
4215 PyObject * obj1 = 0 ;
4216 char * kwnames[] = {
4217 (char *) "self",(char *) "companion", NULL
4218 };
4219
4220 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4221 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4222 if (!SWIG_IsOK(res1)) {
4223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4224 }
4225 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4226 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4227 if (!SWIG_IsOK(res2)) {
4228 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4229 }
4230 arg2 = reinterpret_cast< wxWindow * >(argp2);
4231 {
4232 PyThreadState* __tstate = wxPyBeginAllowThreads();
4233 (arg1)->SetCompanionWindow(arg2);
4234 wxPyEndAllowThreads(__tstate);
4235 if (PyErr_Occurred()) SWIG_fail;
4236 }
4237 resultobj = SWIG_Py_Void();
4238 return resultobj;
4239 fail:
4240 return NULL;
4241 }
4242
4243
4244 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4245 PyObject *resultobj = 0;
4246 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4247 wxWindow *result = 0 ;
4248 void *argp1 = 0 ;
4249 int res1 = 0 ;
4250 PyObject *swig_obj[1] ;
4251
4252 if (!args) SWIG_fail;
4253 swig_obj[0] = args;
4254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4255 if (!SWIG_IsOK(res1)) {
4256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4257 }
4258 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 resultobj = wxPyMake_wxObject(result, 0);
4267 }
4268 return resultobj;
4269 fail:
4270 return NULL;
4271 }
4272
4273
4274 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4275 PyObject *obj;
4276 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4277 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4278 return SWIG_Py_Void();
4279 }
4280
4281 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4282 return SWIG_Python_InitShadowInstance(args);
4283 }
4284
4285 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4286 PyObject *resultobj = 0;
4287 wxWindow *arg1 = (wxWindow *) 0 ;
4288 int arg2 = (int) -1 ;
4289 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4290 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4291 wxSize const &arg4_defvalue = wxDefaultSize ;
4292 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4293 long arg5 = (long) 0 ;
4294 wxPyTreeCompanionWindow *result = 0 ;
4295 void *argp1 = 0 ;
4296 int res1 = 0 ;
4297 int val2 ;
4298 int ecode2 = 0 ;
4299 wxPoint temp3 ;
4300 wxSize temp4 ;
4301 long val5 ;
4302 int ecode5 = 0 ;
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 PyObject * obj2 = 0 ;
4306 PyObject * obj3 = 0 ;
4307 PyObject * obj4 = 0 ;
4308 char * kwnames[] = {
4309 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4310 };
4311
4312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4314 if (!SWIG_IsOK(res1)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4316 }
4317 arg1 = reinterpret_cast< wxWindow * >(argp1);
4318 if (obj1) {
4319 ecode2 = SWIG_AsVal_int(obj1, &val2);
4320 if (!SWIG_IsOK(ecode2)) {
4321 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4322 }
4323 arg2 = static_cast< int >(val2);
4324 }
4325 if (obj2) {
4326 {
4327 arg3 = &temp3;
4328 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4329 }
4330 }
4331 if (obj3) {
4332 {
4333 arg4 = &temp4;
4334 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4335 }
4336 }
4337 if (obj4) {
4338 ecode5 = SWIG_AsVal_long(obj4, &val5);
4339 if (!SWIG_IsOK(ecode5)) {
4340 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4341 }
4342 arg5 = static_cast< long >(val5);
4343 }
4344 {
4345 if (!wxPyCheckForApp()) SWIG_fail;
4346 PyThreadState* __tstate = wxPyBeginAllowThreads();
4347 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4352 return resultobj;
4353 fail:
4354 return NULL;
4355 }
4356
4357
4358 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj = 0;
4360 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4361 PyObject *arg2 = (PyObject *) 0 ;
4362 PyObject *arg3 = (PyObject *) 0 ;
4363 void *argp1 = 0 ;
4364 int res1 = 0 ;
4365 PyObject * obj0 = 0 ;
4366 PyObject * obj1 = 0 ;
4367 PyObject * obj2 = 0 ;
4368 char * kwnames[] = {
4369 (char *) "self",(char *) "self",(char *) "_class", NULL
4370 };
4371
4372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4374 if (!SWIG_IsOK(res1)) {
4375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4376 }
4377 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4378 arg2 = obj1;
4379 arg3 = obj2;
4380 {
4381 PyThreadState* __tstate = wxPyBeginAllowThreads();
4382 (arg1)->_setCallbackInfo(arg2,arg3);
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 resultobj = SWIG_Py_Void();
4387 return resultobj;
4388 fail:
4389 return NULL;
4390 }
4391
4392
4393 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4394 PyObject *resultobj = 0;
4395 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4396 wxRemotelyScrolledTreeCtrl *result = 0 ;
4397 void *argp1 = 0 ;
4398 int res1 = 0 ;
4399 PyObject *swig_obj[1] ;
4400
4401 if (!args) SWIG_fail;
4402 swig_obj[0] = args;
4403 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4404 if (!SWIG_IsOK(res1)) {
4405 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4406 }
4407 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4415 return resultobj;
4416 fail:
4417 return NULL;
4418 }
4419
4420
4421 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4422 PyObject *resultobj = 0;
4423 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4424 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4425 void *argp1 = 0 ;
4426 int res1 = 0 ;
4427 void *argp2 = 0 ;
4428 int res2 = 0 ;
4429 PyObject * obj0 = 0 ;
4430 PyObject * obj1 = 0 ;
4431 char * kwnames[] = {
4432 (char *) "self",(char *) "treeCtrl", NULL
4433 };
4434
4435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4437 if (!SWIG_IsOK(res1)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4439 }
4440 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4441 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4442 if (!SWIG_IsOK(res2)) {
4443 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4444 }
4445 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4446 {
4447 PyThreadState* __tstate = wxPyBeginAllowThreads();
4448 (arg1)->SetTreeCtrl(arg2);
4449 wxPyEndAllowThreads(__tstate);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 resultobj = SWIG_Py_Void();
4453 return resultobj;
4454 fail:
4455 return NULL;
4456 }
4457
4458
4459 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4460 PyObject *obj;
4461 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4462 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4463 return SWIG_Py_Void();
4464 }
4465
4466 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4467 return SWIG_Python_InitShadowInstance(args);
4468 }
4469
4470 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4471 PyObject *resultobj = 0;
4472 wxWindow *arg1 = (wxWindow *) 0 ;
4473 int arg2 = (int) -1 ;
4474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4476 wxSize const &arg4_defvalue = wxDefaultSize ;
4477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4478 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4479 wxThinSplitterWindow *result = 0 ;
4480 void *argp1 = 0 ;
4481 int res1 = 0 ;
4482 int val2 ;
4483 int ecode2 = 0 ;
4484 wxPoint temp3 ;
4485 wxSize temp4 ;
4486 long val5 ;
4487 int ecode5 = 0 ;
4488 PyObject * obj0 = 0 ;
4489 PyObject * obj1 = 0 ;
4490 PyObject * obj2 = 0 ;
4491 PyObject * obj3 = 0 ;
4492 PyObject * obj4 = 0 ;
4493 char * kwnames[] = {
4494 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4495 };
4496
4497 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4498 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4499 if (!SWIG_IsOK(res1)) {
4500 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4501 }
4502 arg1 = reinterpret_cast< wxWindow * >(argp1);
4503 if (obj1) {
4504 ecode2 = SWIG_AsVal_int(obj1, &val2);
4505 if (!SWIG_IsOK(ecode2)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4507 }
4508 arg2 = static_cast< int >(val2);
4509 }
4510 if (obj2) {
4511 {
4512 arg3 = &temp3;
4513 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4514 }
4515 }
4516 if (obj3) {
4517 {
4518 arg4 = &temp4;
4519 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4520 }
4521 }
4522 if (obj4) {
4523 ecode5 = SWIG_AsVal_long(obj4, &val5);
4524 if (!SWIG_IsOK(ecode5)) {
4525 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4526 }
4527 arg5 = static_cast< long >(val5);
4528 }
4529 {
4530 if (!wxPyCheckForApp()) SWIG_fail;
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4533 wxPyEndAllowThreads(__tstate);
4534 if (PyErr_Occurred()) SWIG_fail;
4535 }
4536 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4537 return resultobj;
4538 fail:
4539 return NULL;
4540 }
4541
4542
4543 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4544 PyObject *obj;
4545 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4546 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4547 return SWIG_Py_Void();
4548 }
4549
4550 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4551 return SWIG_Python_InitShadowInstance(args);
4552 }
4553
4554 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj = 0;
4556 wxWindow *arg1 = (wxWindow *) 0 ;
4557 int arg2 = (int) -1 ;
4558 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4559 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4560 wxSize const &arg4_defvalue = wxDefaultSize ;
4561 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4562 long arg5 = (long) 0 ;
4563 wxSplitterScrolledWindow *result = 0 ;
4564 void *argp1 = 0 ;
4565 int res1 = 0 ;
4566 int val2 ;
4567 int ecode2 = 0 ;
4568 wxPoint temp3 ;
4569 wxSize temp4 ;
4570 long val5 ;
4571 int ecode5 = 0 ;
4572 PyObject * obj0 = 0 ;
4573 PyObject * obj1 = 0 ;
4574 PyObject * obj2 = 0 ;
4575 PyObject * obj3 = 0 ;
4576 PyObject * obj4 = 0 ;
4577 char * kwnames[] = {
4578 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4579 };
4580
4581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4583 if (!SWIG_IsOK(res1)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4585 }
4586 arg1 = reinterpret_cast< wxWindow * >(argp1);
4587 if (obj1) {
4588 ecode2 = SWIG_AsVal_int(obj1, &val2);
4589 if (!SWIG_IsOK(ecode2)) {
4590 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4591 }
4592 arg2 = static_cast< int >(val2);
4593 }
4594 if (obj2) {
4595 {
4596 arg3 = &temp3;
4597 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4598 }
4599 }
4600 if (obj3) {
4601 {
4602 arg4 = &temp4;
4603 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4604 }
4605 }
4606 if (obj4) {
4607 ecode5 = SWIG_AsVal_long(obj4, &val5);
4608 if (!SWIG_IsOK(ecode5)) {
4609 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4610 }
4611 arg5 = static_cast< long >(val5);
4612 }
4613 {
4614 if (!wxPyCheckForApp()) SWIG_fail;
4615 PyThreadState* __tstate = wxPyBeginAllowThreads();
4616 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4617 wxPyEndAllowThreads(__tstate);
4618 if (PyErr_Occurred()) SWIG_fail;
4619 }
4620 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4621 return resultobj;
4622 fail:
4623 return NULL;
4624 }
4625
4626
4627 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4628 PyObject *obj;
4629 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4630 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4631 return SWIG_Py_Void();
4632 }
4633
4634 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4635 return SWIG_Python_InitShadowInstance(args);
4636 }
4637
4638 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj = 0;
4640 wxWindow *arg1 = (wxWindow *) 0 ;
4641 int arg2 = (int) -1 ;
4642 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4643 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4644 wxSize const &arg4_defvalue = wxDefaultSize ;
4645 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4646 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4647 wxLEDNumberCtrl *result = 0 ;
4648 void *argp1 = 0 ;
4649 int res1 = 0 ;
4650 int val2 ;
4651 int ecode2 = 0 ;
4652 wxPoint temp3 ;
4653 wxSize temp4 ;
4654 long val5 ;
4655 int ecode5 = 0 ;
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj1 = 0 ;
4658 PyObject * obj2 = 0 ;
4659 PyObject * obj3 = 0 ;
4660 PyObject * obj4 = 0 ;
4661 char * kwnames[] = {
4662 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4663 };
4664
4665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4667 if (!SWIG_IsOK(res1)) {
4668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4669 }
4670 arg1 = reinterpret_cast< wxWindow * >(argp1);
4671 if (obj1) {
4672 ecode2 = SWIG_AsVal_int(obj1, &val2);
4673 if (!SWIG_IsOK(ecode2)) {
4674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4675 }
4676 arg2 = static_cast< int >(val2);
4677 }
4678 if (obj2) {
4679 {
4680 arg3 = &temp3;
4681 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4682 }
4683 }
4684 if (obj3) {
4685 {
4686 arg4 = &temp4;
4687 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4688 }
4689 }
4690 if (obj4) {
4691 ecode5 = SWIG_AsVal_long(obj4, &val5);
4692 if (!SWIG_IsOK(ecode5)) {
4693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4694 }
4695 arg5 = static_cast< long >(val5);
4696 }
4697 {
4698 if (!wxPyCheckForApp()) SWIG_fail;
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4705 return resultobj;
4706 fail:
4707 return NULL;
4708 }
4709
4710
4711 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4712 PyObject *resultobj = 0;
4713 wxLEDNumberCtrl *result = 0 ;
4714
4715 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4716 {
4717 if (!wxPyCheckForApp()) SWIG_fail;
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4720 wxPyEndAllowThreads(__tstate);
4721 if (PyErr_Occurred()) SWIG_fail;
4722 }
4723 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4724 return resultobj;
4725 fail:
4726 return NULL;
4727 }
4728
4729
4730 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4731 PyObject *resultobj = 0;
4732 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4733 wxWindow *arg2 = (wxWindow *) 0 ;
4734 int arg3 = (int) -1 ;
4735 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4736 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4737 wxSize const &arg5_defvalue = wxDefaultSize ;
4738 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4739 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4740 bool result;
4741 void *argp1 = 0 ;
4742 int res1 = 0 ;
4743 void *argp2 = 0 ;
4744 int res2 = 0 ;
4745 int val3 ;
4746 int ecode3 = 0 ;
4747 wxPoint temp4 ;
4748 wxSize temp5 ;
4749 long val6 ;
4750 int ecode6 = 0 ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj2 = 0 ;
4754 PyObject * obj3 = 0 ;
4755 PyObject * obj4 = 0 ;
4756 PyObject * obj5 = 0 ;
4757 char * kwnames[] = {
4758 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4759 };
4760
4761 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4762 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4763 if (!SWIG_IsOK(res1)) {
4764 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4765 }
4766 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4767 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4768 if (!SWIG_IsOK(res2)) {
4769 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4770 }
4771 arg2 = reinterpret_cast< wxWindow * >(argp2);
4772 if (obj2) {
4773 ecode3 = SWIG_AsVal_int(obj2, &val3);
4774 if (!SWIG_IsOK(ecode3)) {
4775 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4776 }
4777 arg3 = static_cast< int >(val3);
4778 }
4779 if (obj3) {
4780 {
4781 arg4 = &temp4;
4782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4783 }
4784 }
4785 if (obj4) {
4786 {
4787 arg5 = &temp5;
4788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4789 }
4790 }
4791 if (obj5) {
4792 ecode6 = SWIG_AsVal_long(obj5, &val6);
4793 if (!SWIG_IsOK(ecode6)) {
4794 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4795 }
4796 arg6 = static_cast< long >(val6);
4797 }
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4801 wxPyEndAllowThreads(__tstate);
4802 if (PyErr_Occurred()) SWIG_fail;
4803 }
4804 {
4805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4806 }
4807 return resultobj;
4808 fail:
4809 return NULL;
4810 }
4811
4812
4813 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4814 PyObject *resultobj = 0;
4815 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4816 wxLEDValueAlign result;
4817 void *argp1 = 0 ;
4818 int res1 = 0 ;
4819 PyObject *swig_obj[1] ;
4820
4821 if (!args) SWIG_fail;
4822 swig_obj[0] = args;
4823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4824 if (!SWIG_IsOK(res1)) {
4825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4826 }
4827 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 resultobj = SWIG_From_int(static_cast< int >(result));
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4842 PyObject *resultobj = 0;
4843 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4844 bool result;
4845 void *argp1 = 0 ;
4846 int res1 = 0 ;
4847 PyObject *swig_obj[1] ;
4848
4849 if (!args) SWIG_fail;
4850 swig_obj[0] = args;
4851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4852 if (!SWIG_IsOK(res1)) {
4853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4854 }
4855 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 {
4863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4864 }
4865 return resultobj;
4866 fail:
4867 return NULL;
4868 }
4869
4870
4871 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4872 PyObject *resultobj = 0;
4873 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4874 wxString *result = 0 ;
4875 void *argp1 = 0 ;
4876 int res1 = 0 ;
4877 PyObject *swig_obj[1] ;
4878
4879 if (!args) SWIG_fail;
4880 swig_obj[0] = args;
4881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4882 if (!SWIG_IsOK(res1)) {
4883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4884 }
4885 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 {
4889 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4890 result = (wxString *) &_result_ref;
4891 }
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 {
4896 #if wxUSE_UNICODE
4897 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4898 #else
4899 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4900 #endif
4901 }
4902 return resultobj;
4903 fail:
4904 return NULL;
4905 }
4906
4907
4908 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj = 0;
4910 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4911 wxLEDValueAlign arg2 ;
4912 bool arg3 = (bool) true ;
4913 void *argp1 = 0 ;
4914 int res1 = 0 ;
4915 int val2 ;
4916 int ecode2 = 0 ;
4917 bool val3 ;
4918 int ecode3 = 0 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 PyObject * obj2 = 0 ;
4922 char * kwnames[] = {
4923 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4924 };
4925
4926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4928 if (!SWIG_IsOK(res1)) {
4929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4930 }
4931 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4932 ecode2 = SWIG_AsVal_int(obj1, &val2);
4933 if (!SWIG_IsOK(ecode2)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4935 }
4936 arg2 = static_cast< wxLEDValueAlign >(val2);
4937 if (obj2) {
4938 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4939 if (!SWIG_IsOK(ecode3)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4941 }
4942 arg3 = static_cast< bool >(val3);
4943 }
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->SetAlignment(arg2,arg3);
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 resultobj = SWIG_Py_Void();
4951 return resultobj;
4952 fail:
4953 return NULL;
4954 }
4955
4956
4957 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4958 PyObject *resultobj = 0;
4959 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4960 bool arg2 ;
4961 bool arg3 = (bool) true ;
4962 void *argp1 = 0 ;
4963 int res1 = 0 ;
4964 bool val2 ;
4965 int ecode2 = 0 ;
4966 bool val3 ;
4967 int ecode3 = 0 ;
4968 PyObject * obj0 = 0 ;
4969 PyObject * obj1 = 0 ;
4970 PyObject * obj2 = 0 ;
4971 char * kwnames[] = {
4972 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4973 };
4974
4975 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4976 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4977 if (!SWIG_IsOK(res1)) {
4978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4979 }
4980 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4981 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4982 if (!SWIG_IsOK(ecode2)) {
4983 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4984 }
4985 arg2 = static_cast< bool >(val2);
4986 if (obj2) {
4987 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4988 if (!SWIG_IsOK(ecode3)) {
4989 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4990 }
4991 arg3 = static_cast< bool >(val3);
4992 }
4993 {
4994 PyThreadState* __tstate = wxPyBeginAllowThreads();
4995 (arg1)->SetDrawFaded(arg2,arg3);
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = SWIG_Py_Void();
5000 return resultobj;
5001 fail:
5002 return NULL;
5003 }
5004
5005
5006 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj = 0;
5008 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5009 wxString *arg2 = 0 ;
5010 bool arg3 = (bool) true ;
5011 void *argp1 = 0 ;
5012 int res1 = 0 ;
5013 bool temp2 = false ;
5014 bool val3 ;
5015 int ecode3 = 0 ;
5016 PyObject * obj0 = 0 ;
5017 PyObject * obj1 = 0 ;
5018 PyObject * obj2 = 0 ;
5019 char * kwnames[] = {
5020 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5021 };
5022
5023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5025 if (!SWIG_IsOK(res1)) {
5026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5027 }
5028 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5029 {
5030 arg2 = wxString_in_helper(obj1);
5031 if (arg2 == NULL) SWIG_fail;
5032 temp2 = true;
5033 }
5034 if (obj2) {
5035 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5036 if (!SWIG_IsOK(ecode3)) {
5037 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5038 }
5039 arg3 = static_cast< bool >(val3);
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 (arg1)->SetValue((wxString const &)*arg2,arg3);
5044 wxPyEndAllowThreads(__tstate);
5045 if (PyErr_Occurred()) SWIG_fail;
5046 }
5047 resultobj = SWIG_Py_Void();
5048 {
5049 if (temp2)
5050 delete arg2;
5051 }
5052 return resultobj;
5053 fail:
5054 {
5055 if (temp2)
5056 delete arg2;
5057 }
5058 return NULL;
5059 }
5060
5061
5062 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5063 PyObject *obj;
5064 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5065 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5066 return SWIG_Py_Void();
5067 }
5068
5069 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5070 return SWIG_Python_InitShadowInstance(args);
5071 }
5072
5073 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5074 PyObject *resultobj = 0;
5075 wxString const &arg1_defvalue = wxPyEmptyString ;
5076 wxString *arg1 = (wxString *) &arg1_defvalue ;
5077 int arg2 = (int) -1 ;
5078 size_t arg3 = (size_t) 100 ;
5079 bool arg4 = (bool) true ;
5080 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5081 wxTreeListColumnInfo *result = 0 ;
5082 bool temp1 = false ;
5083 int val2 ;
5084 int ecode2 = 0 ;
5085 size_t val3 ;
5086 int ecode3 = 0 ;
5087 bool val4 ;
5088 int ecode4 = 0 ;
5089 int val5 ;
5090 int ecode5 = 0 ;
5091 PyObject * obj0 = 0 ;
5092 PyObject * obj1 = 0 ;
5093 PyObject * obj2 = 0 ;
5094 PyObject * obj3 = 0 ;
5095 PyObject * obj4 = 0 ;
5096 char * kwnames[] = {
5097 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5098 };
5099
5100 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5101 if (obj0) {
5102 {
5103 arg1 = wxString_in_helper(obj0);
5104 if (arg1 == NULL) SWIG_fail;
5105 temp1 = true;
5106 }
5107 }
5108 if (obj1) {
5109 ecode2 = SWIG_AsVal_int(obj1, &val2);
5110 if (!SWIG_IsOK(ecode2)) {
5111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5112 }
5113 arg2 = static_cast< int >(val2);
5114 }
5115 if (obj2) {
5116 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5117 if (!SWIG_IsOK(ecode3)) {
5118 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5119 }
5120 arg3 = static_cast< size_t >(val3);
5121 }
5122 if (obj3) {
5123 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5124 if (!SWIG_IsOK(ecode4)) {
5125 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5126 }
5127 arg4 = static_cast< bool >(val4);
5128 }
5129 if (obj4) {
5130 ecode5 = SWIG_AsVal_int(obj4, &val5);
5131 if (!SWIG_IsOK(ecode5)) {
5132 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5133 }
5134 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5135 }
5136 {
5137 PyThreadState* __tstate = wxPyBeginAllowThreads();
5138 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5139 wxPyEndAllowThreads(__tstate);
5140 if (PyErr_Occurred()) SWIG_fail;
5141 }
5142 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5143 {
5144 if (temp1)
5145 delete arg1;
5146 }
5147 return resultobj;
5148 fail:
5149 {
5150 if (temp1)
5151 delete arg1;
5152 }
5153 return NULL;
5154 }
5155
5156
5157 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5158 PyObject *resultobj = 0;
5159 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5160 void *argp1 = 0 ;
5161 int res1 = 0 ;
5162 PyObject *swig_obj[1] ;
5163
5164 if (!args) SWIG_fail;
5165 swig_obj[0] = args;
5166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5167 if (!SWIG_IsOK(res1)) {
5168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5169 }
5170 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 delete arg1;
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = SWIG_Py_Void();
5179 return resultobj;
5180 fail:
5181 return NULL;
5182 }
5183
5184
5185 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5186 PyObject *resultobj = 0;
5187 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5188 bool result;
5189 void *argp1 = 0 ;
5190 int res1 = 0 ;
5191 PyObject *swig_obj[1] ;
5192
5193 if (!args) SWIG_fail;
5194 swig_obj[0] = args;
5195 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5196 if (!SWIG_IsOK(res1)) {
5197 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5198 }
5199 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 {
5207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5208 }
5209 return resultobj;
5210 fail:
5211 return NULL;
5212 }
5213
5214
5215 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5216 PyObject *resultobj = 0;
5217 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5218 wxTreeListColumnAlign result;
5219 void *argp1 = 0 ;
5220 int res1 = 0 ;
5221 PyObject *swig_obj[1] ;
5222
5223 if (!args) SWIG_fail;
5224 swig_obj[0] = args;
5225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5226 if (!SWIG_IsOK(res1)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5228 }
5229 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5233 wxPyEndAllowThreads(__tstate);
5234 if (PyErr_Occurred()) SWIG_fail;
5235 }
5236 resultobj = SWIG_From_int(static_cast< int >(result));
5237 return resultobj;
5238 fail:
5239 return NULL;
5240 }
5241
5242
5243 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5244 PyObject *resultobj = 0;
5245 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5246 wxString result;
5247 void *argp1 = 0 ;
5248 int res1 = 0 ;
5249 PyObject *swig_obj[1] ;
5250
5251 if (!args) SWIG_fail;
5252 swig_obj[0] = args;
5253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5254 if (!SWIG_IsOK(res1)) {
5255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5256 }
5257 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5258 {
5259 PyThreadState* __tstate = wxPyBeginAllowThreads();
5260 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5261 wxPyEndAllowThreads(__tstate);
5262 if (PyErr_Occurred()) SWIG_fail;
5263 }
5264 {
5265 #if wxUSE_UNICODE
5266 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5267 #else
5268 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5269 #endif
5270 }
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 PyObject *resultobj = 0;
5279 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5280 int result;
5281 void *argp1 = 0 ;
5282 int res1 = 0 ;
5283 PyObject *swig_obj[1] ;
5284
5285 if (!args) SWIG_fail;
5286 swig_obj[0] = args;
5287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5288 if (!SWIG_IsOK(res1)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5290 }
5291 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 resultobj = SWIG_From_int(static_cast< int >(result));
5299 return resultobj;
5300 fail:
5301 return NULL;
5302 }
5303
5304
5305 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5306 PyObject *resultobj = 0;
5307 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5308 int result;
5309 void *argp1 = 0 ;
5310 int res1 = 0 ;
5311 PyObject *swig_obj[1] ;
5312
5313 if (!args) SWIG_fail;
5314 swig_obj[0] = args;
5315 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5316 if (!SWIG_IsOK(res1)) {
5317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5318 }
5319 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 resultobj = SWIG_From_int(static_cast< int >(result));
5327 return resultobj;
5328 fail:
5329 return NULL;
5330 }
5331
5332
5333 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5334 PyObject *resultobj = 0;
5335 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5336 size_t result;
5337 void *argp1 = 0 ;
5338 int res1 = 0 ;
5339 PyObject *swig_obj[1] ;
5340
5341 if (!args) SWIG_fail;
5342 swig_obj[0] = args;
5343 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5344 if (!SWIG_IsOK(res1)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5346 }
5347 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5348 {
5349 PyThreadState* __tstate = wxPyBeginAllowThreads();
5350 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5351 wxPyEndAllowThreads(__tstate);
5352 if (PyErr_Occurred()) SWIG_fail;
5353 }
5354 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5355 return resultobj;
5356 fail:
5357 return NULL;
5358 }
5359
5360
5361 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5362 PyObject *resultobj = 0;
5363 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5364 bool arg2 ;
5365 void *argp1 = 0 ;
5366 int res1 = 0 ;
5367 bool val2 ;
5368 int ecode2 = 0 ;
5369 PyObject * obj0 = 0 ;
5370 PyObject * obj1 = 0 ;
5371 char * kwnames[] = {
5372 (char *) "self",(char *) "shown", NULL
5373 };
5374
5375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5381 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5382 if (!SWIG_IsOK(ecode2)) {
5383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5384 }
5385 arg2 = static_cast< bool >(val2);
5386 {
5387 PyThreadState* __tstate = wxPyBeginAllowThreads();
5388 (arg1)->SetShown(arg2);
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 resultobj = SWIG_Py_Void();
5393 return resultobj;
5394 fail:
5395 return NULL;
5396 }
5397
5398
5399 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5400 PyObject *resultobj = 0;
5401 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5402 wxTreeListColumnAlign arg2 ;
5403 void *argp1 = 0 ;
5404 int res1 = 0 ;
5405 int val2 ;
5406 int ecode2 = 0 ;
5407 PyObject * obj0 = 0 ;
5408 PyObject * obj1 = 0 ;
5409 char * kwnames[] = {
5410 (char *) "self",(char *) "alignment", NULL
5411 };
5412
5413 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5414 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5415 if (!SWIG_IsOK(res1)) {
5416 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5417 }
5418 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5419 ecode2 = SWIG_AsVal_int(obj1, &val2);
5420 if (!SWIG_IsOK(ecode2)) {
5421 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5422 }
5423 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 (arg1)->SetAlignment(arg2);
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
5430 resultobj = SWIG_Py_Void();
5431 return resultobj;
5432 fail:
5433 return NULL;
5434 }
5435
5436
5437 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5438 PyObject *resultobj = 0;
5439 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5440 wxString *arg2 = 0 ;
5441 void *argp1 = 0 ;
5442 int res1 = 0 ;
5443 bool temp2 = false ;
5444 PyObject * obj0 = 0 ;
5445 PyObject * obj1 = 0 ;
5446 char * kwnames[] = {
5447 (char *) "self",(char *) "text", NULL
5448 };
5449
5450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5452 if (!SWIG_IsOK(res1)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5454 }
5455 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5456 {
5457 arg2 = wxString_in_helper(obj1);
5458 if (arg2 == NULL) SWIG_fail;
5459 temp2 = true;
5460 }
5461 {
5462 PyThreadState* __tstate = wxPyBeginAllowThreads();
5463 (arg1)->SetText((wxString const &)*arg2);
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 resultobj = SWIG_Py_Void();
5468 {
5469 if (temp2)
5470 delete arg2;
5471 }
5472 return resultobj;
5473 fail:
5474 {
5475 if (temp2)
5476 delete arg2;
5477 }
5478 return NULL;
5479 }
5480
5481
5482 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5483 PyObject *resultobj = 0;
5484 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5485 int arg2 ;
5486 void *argp1 = 0 ;
5487 int res1 = 0 ;
5488 int val2 ;
5489 int ecode2 = 0 ;
5490 PyObject * obj0 = 0 ;
5491 PyObject * obj1 = 0 ;
5492 char * kwnames[] = {
5493 (char *) "self",(char *) "image", NULL
5494 };
5495
5496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5498 if (!SWIG_IsOK(res1)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5500 }
5501 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5502 ecode2 = SWIG_AsVal_int(obj1, &val2);
5503 if (!SWIG_IsOK(ecode2)) {
5504 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5505 }
5506 arg2 = static_cast< int >(val2);
5507 {
5508 PyThreadState* __tstate = wxPyBeginAllowThreads();
5509 (arg1)->SetImage(arg2);
5510 wxPyEndAllowThreads(__tstate);
5511 if (PyErr_Occurred()) SWIG_fail;
5512 }
5513 resultobj = SWIG_Py_Void();
5514 return resultobj;
5515 fail:
5516 return NULL;
5517 }
5518
5519
5520 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj = 0;
5522 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5523 int arg2 ;
5524 void *argp1 = 0 ;
5525 int res1 = 0 ;
5526 int val2 ;
5527 int ecode2 = 0 ;
5528 PyObject * obj0 = 0 ;
5529 PyObject * obj1 = 0 ;
5530 char * kwnames[] = {
5531 (char *) "self",(char *) "image", NULL
5532 };
5533
5534 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5535 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5536 if (!SWIG_IsOK(res1)) {
5537 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5538 }
5539 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5540 ecode2 = SWIG_AsVal_int(obj1, &val2);
5541 if (!SWIG_IsOK(ecode2)) {
5542 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5543 }
5544 arg2 = static_cast< int >(val2);
5545 {
5546 PyThreadState* __tstate = wxPyBeginAllowThreads();
5547 (arg1)->SetSelectedImage(arg2);
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 resultobj = SWIG_Py_Void();
5552 return resultobj;
5553 fail:
5554 return NULL;
5555 }
5556
5557
5558 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj = 0;
5560 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5561 size_t arg2 ;
5562 void *argp1 = 0 ;
5563 int res1 = 0 ;
5564 size_t val2 ;
5565 int ecode2 = 0 ;
5566 PyObject * obj0 = 0 ;
5567 PyObject * obj1 = 0 ;
5568 char * kwnames[] = {
5569 (char *) "self",(char *) "with", NULL
5570 };
5571
5572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5574 if (!SWIG_IsOK(res1)) {
5575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5576 }
5577 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5578 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5579 if (!SWIG_IsOK(ecode2)) {
5580 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5581 }
5582 arg2 = static_cast< size_t >(val2);
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetWidth(arg2);
5586 wxPyEndAllowThreads(__tstate);
5587 if (PyErr_Occurred()) SWIG_fail;
5588 }
5589 resultobj = SWIG_Py_Void();
5590 return resultobj;
5591 fail:
5592 return NULL;
5593 }
5594
5595
5596 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5597 PyObject *obj;
5598 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5599 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5600 return SWIG_Py_Void();
5601 }
5602
5603 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5604 return SWIG_Python_InitShadowInstance(args);
5605 }
5606
5607 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj = 0;
5609 wxWindow *arg1 = (wxWindow *) 0 ;
5610 int arg2 = (int) -1 ;
5611 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5612 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5613 wxSize const &arg4_defvalue = wxDefaultSize ;
5614 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5615 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5616 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5617 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5618 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5619 wxString *arg7 = (wxString *) &arg7_defvalue ;
5620 wxPyTreeListCtrl *result = 0 ;
5621 void *argp1 = 0 ;
5622 int res1 = 0 ;
5623 int val2 ;
5624 int ecode2 = 0 ;
5625 wxPoint temp3 ;
5626 wxSize temp4 ;
5627 long val5 ;
5628 int ecode5 = 0 ;
5629 void *argp6 = 0 ;
5630 int res6 = 0 ;
5631 bool temp7 = false ;
5632 PyObject * obj0 = 0 ;
5633 PyObject * obj1 = 0 ;
5634 PyObject * obj2 = 0 ;
5635 PyObject * obj3 = 0 ;
5636 PyObject * obj4 = 0 ;
5637 PyObject * obj5 = 0 ;
5638 PyObject * obj6 = 0 ;
5639 char * kwnames[] = {
5640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5641 };
5642
5643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5645 if (!SWIG_IsOK(res1)) {
5646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5647 }
5648 arg1 = reinterpret_cast< wxWindow * >(argp1);
5649 if (obj1) {
5650 ecode2 = SWIG_AsVal_int(obj1, &val2);
5651 if (!SWIG_IsOK(ecode2)) {
5652 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5653 }
5654 arg2 = static_cast< int >(val2);
5655 }
5656 if (obj2) {
5657 {
5658 arg3 = &temp3;
5659 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5660 }
5661 }
5662 if (obj3) {
5663 {
5664 arg4 = &temp4;
5665 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5666 }
5667 }
5668 if (obj4) {
5669 ecode5 = SWIG_AsVal_long(obj4, &val5);
5670 if (!SWIG_IsOK(ecode5)) {
5671 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5672 }
5673 arg5 = static_cast< long >(val5);
5674 }
5675 if (obj5) {
5676 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5677 if (!SWIG_IsOK(res6)) {
5678 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5679 }
5680 if (!argp6) {
5681 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5682 }
5683 arg6 = reinterpret_cast< wxValidator * >(argp6);
5684 }
5685 if (obj6) {
5686 {
5687 arg7 = wxString_in_helper(obj6);
5688 if (arg7 == NULL) SWIG_fail;
5689 temp7 = true;
5690 }
5691 }
5692 {
5693 if (!wxPyCheckForApp()) SWIG_fail;
5694 PyThreadState* __tstate = wxPyBeginAllowThreads();
5695 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5696 wxPyEndAllowThreads(__tstate);
5697 if (PyErr_Occurred()) SWIG_fail;
5698 }
5699 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5700 {
5701 if (temp7)
5702 delete arg7;
5703 }
5704 return resultobj;
5705 fail:
5706 {
5707 if (temp7)
5708 delete arg7;
5709 }
5710 return NULL;
5711 }
5712
5713
5714 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5715 PyObject *resultobj = 0;
5716 wxPyTreeListCtrl *result = 0 ;
5717
5718 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5719 {
5720 if (!wxPyCheckForApp()) SWIG_fail;
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5723 wxPyEndAllowThreads(__tstate);
5724 if (PyErr_Occurred()) SWIG_fail;
5725 }
5726 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5727 return resultobj;
5728 fail:
5729 return NULL;
5730 }
5731
5732
5733 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5734 PyObject *resultobj = 0;
5735 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5736 wxWindow *arg2 = (wxWindow *) 0 ;
5737 int arg3 = (int) -1 ;
5738 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5739 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5740 wxSize const &arg5_defvalue = wxDefaultSize ;
5741 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5742 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5743 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5744 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5745 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5746 wxString *arg8 = (wxString *) &arg8_defvalue ;
5747 bool result;
5748 void *argp1 = 0 ;
5749 int res1 = 0 ;
5750 void *argp2 = 0 ;
5751 int res2 = 0 ;
5752 int val3 ;
5753 int ecode3 = 0 ;
5754 wxPoint temp4 ;
5755 wxSize temp5 ;
5756 long val6 ;
5757 int ecode6 = 0 ;
5758 void *argp7 = 0 ;
5759 int res7 = 0 ;
5760 bool temp8 = false ;
5761 PyObject * obj0 = 0 ;
5762 PyObject * obj1 = 0 ;
5763 PyObject * obj2 = 0 ;
5764 PyObject * obj3 = 0 ;
5765 PyObject * obj4 = 0 ;
5766 PyObject * obj5 = 0 ;
5767 PyObject * obj6 = 0 ;
5768 PyObject * obj7 = 0 ;
5769 char * kwnames[] = {
5770 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5771 };
5772
5773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5775 if (!SWIG_IsOK(res1)) {
5776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5777 }
5778 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5779 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5780 if (!SWIG_IsOK(res2)) {
5781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5782 }
5783 arg2 = reinterpret_cast< wxWindow * >(argp2);
5784 if (obj2) {
5785 ecode3 = SWIG_AsVal_int(obj2, &val3);
5786 if (!SWIG_IsOK(ecode3)) {
5787 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5788 }
5789 arg3 = static_cast< int >(val3);
5790 }
5791 if (obj3) {
5792 {
5793 arg4 = &temp4;
5794 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5795 }
5796 }
5797 if (obj4) {
5798 {
5799 arg5 = &temp5;
5800 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5801 }
5802 }
5803 if (obj5) {
5804 ecode6 = SWIG_AsVal_long(obj5, &val6);
5805 if (!SWIG_IsOK(ecode6)) {
5806 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5807 }
5808 arg6 = static_cast< long >(val6);
5809 }
5810 if (obj6) {
5811 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5812 if (!SWIG_IsOK(res7)) {
5813 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5814 }
5815 if (!argp7) {
5816 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5817 }
5818 arg7 = reinterpret_cast< wxValidator * >(argp7);
5819 }
5820 if (obj7) {
5821 {
5822 arg8 = wxString_in_helper(obj7);
5823 if (arg8 == NULL) SWIG_fail;
5824 temp8 = true;
5825 }
5826 }
5827 {
5828 PyThreadState* __tstate = wxPyBeginAllowThreads();
5829 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
5833 {
5834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5835 }
5836 {
5837 if (temp8)
5838 delete arg8;
5839 }
5840 return resultobj;
5841 fail:
5842 {
5843 if (temp8)
5844 delete arg8;
5845 }
5846 return NULL;
5847 }
5848
5849
5850 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5851 PyObject *resultobj = 0;
5852 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5853 PyObject *arg2 = (PyObject *) 0 ;
5854 PyObject *arg3 = (PyObject *) 0 ;
5855 void *argp1 = 0 ;
5856 int res1 = 0 ;
5857 PyObject * obj0 = 0 ;
5858 PyObject * obj1 = 0 ;
5859 PyObject * obj2 = 0 ;
5860 char * kwnames[] = {
5861 (char *) "self",(char *) "self",(char *) "_class", NULL
5862 };
5863
5864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5866 if (!SWIG_IsOK(res1)) {
5867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5868 }
5869 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5870 arg2 = obj1;
5871 arg3 = obj2;
5872 {
5873 PyThreadState* __tstate = wxPyBeginAllowThreads();
5874 (arg1)->_setCallbackInfo(arg2,arg3);
5875 wxPyEndAllowThreads(__tstate);
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
5878 resultobj = SWIG_Py_Void();
5879 return resultobj;
5880 fail:
5881 return NULL;
5882 }
5883
5884
5885 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5886 PyObject *resultobj = 0;
5887 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5888 size_t result;
5889 void *argp1 = 0 ;
5890 int res1 = 0 ;
5891 PyObject *swig_obj[1] ;
5892
5893 if (!args) SWIG_fail;
5894 swig_obj[0] = args;
5895 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5896 if (!SWIG_IsOK(res1)) {
5897 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5898 }
5899 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5903 wxPyEndAllowThreads(__tstate);
5904 if (PyErr_Occurred()) SWIG_fail;
5905 }
5906 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5907 return resultobj;
5908 fail:
5909 return NULL;
5910 }
5911
5912
5913 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5914 PyObject *resultobj = 0;
5915 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5916 unsigned int result;
5917 void *argp1 = 0 ;
5918 int res1 = 0 ;
5919 PyObject *swig_obj[1] ;
5920
5921 if (!args) SWIG_fail;
5922 swig_obj[0] = args;
5923 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5924 if (!SWIG_IsOK(res1)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5926 }
5927 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5931 wxPyEndAllowThreads(__tstate);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
5934 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5935 return resultobj;
5936 fail:
5937 return NULL;
5938 }
5939
5940
5941 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5942 PyObject *resultobj = 0;
5943 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5944 unsigned int arg2 ;
5945 void *argp1 = 0 ;
5946 int res1 = 0 ;
5947 unsigned int val2 ;
5948 int ecode2 = 0 ;
5949 PyObject * obj0 = 0 ;
5950 PyObject * obj1 = 0 ;
5951 char * kwnames[] = {
5952 (char *) "self",(char *) "indent", NULL
5953 };
5954
5955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5957 if (!SWIG_IsOK(res1)) {
5958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5959 }
5960 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5961 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5962 if (!SWIG_IsOK(ecode2)) {
5963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5964 }
5965 arg2 = static_cast< unsigned int >(val2);
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 (arg1)->SetIndent(arg2);
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = SWIG_Py_Void();
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5980 PyObject *resultobj = 0;
5981 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5982 unsigned int result;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject *swig_obj[1] ;
5986
5987 if (!args) SWIG_fail;
5988 swig_obj[0] = args;
5989 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5990 if (!SWIG_IsOK(res1)) {
5991 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5992 }
5993 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj = 0;
6009 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6010 unsigned int arg2 ;
6011 void *argp1 = 0 ;
6012 int res1 = 0 ;
6013 unsigned int val2 ;
6014 int ecode2 = 0 ;
6015 PyObject * obj0 = 0 ;
6016 PyObject * obj1 = 0 ;
6017 char * kwnames[] = {
6018 (char *) "self",(char *) "spacing", NULL
6019 };
6020
6021 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6022 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6023 if (!SWIG_IsOK(res1)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6025 }
6026 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6027 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6028 if (!SWIG_IsOK(ecode2)) {
6029 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6030 }
6031 arg2 = static_cast< unsigned int >(val2);
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 (arg1)->SetLineSpacing(arg2);
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 resultobj = SWIG_Py_Void();
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6046 PyObject *resultobj = 0;
6047 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6048 wxImageList *result = 0 ;
6049 void *argp1 = 0 ;
6050 int res1 = 0 ;
6051 PyObject *swig_obj[1] ;
6052
6053 if (!args) SWIG_fail;
6054 swig_obj[0] = args;
6055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6056 if (!SWIG_IsOK(res1)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6058 }
6059 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 {
6067 resultobj = wxPyMake_wxObject(result, (bool)0);
6068 }
6069 return resultobj;
6070 fail:
6071 return NULL;
6072 }
6073
6074
6075 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6076 PyObject *resultobj = 0;
6077 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6078 wxImageList *result = 0 ;
6079 void *argp1 = 0 ;
6080 int res1 = 0 ;
6081 PyObject *swig_obj[1] ;
6082
6083 if (!args) SWIG_fail;
6084 swig_obj[0] = args;
6085 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6086 if (!SWIG_IsOK(res1)) {
6087 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6088 }
6089 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6090 {
6091 PyThreadState* __tstate = wxPyBeginAllowThreads();
6092 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6093 wxPyEndAllowThreads(__tstate);
6094 if (PyErr_Occurred()) SWIG_fail;
6095 }
6096 {
6097 resultobj = wxPyMake_wxObject(result, (bool)0);
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6106 PyObject *resultobj = 0;
6107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6108 wxImageList *result = 0 ;
6109 void *argp1 = 0 ;
6110 int res1 = 0 ;
6111 PyObject *swig_obj[1] ;
6112
6113 if (!args) SWIG_fail;
6114 swig_obj[0] = args;
6115 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6116 if (!SWIG_IsOK(res1)) {
6117 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6118 }
6119 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6120 {
6121 PyThreadState* __tstate = wxPyBeginAllowThreads();
6122 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 {
6127 resultobj = wxPyMake_wxObject(result, (bool)0);
6128 }
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj = 0;
6137 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6138 wxImageList *arg2 = (wxImageList *) 0 ;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 void *argp2 = 0 ;
6142 int res2 = 0 ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 char * kwnames[] = {
6146 (char *) "self",(char *) "imageList", NULL
6147 };
6148
6149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6151 if (!SWIG_IsOK(res1)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6153 }
6154 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6155 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6156 if (!SWIG_IsOK(res2)) {
6157 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6158 }
6159 arg2 = reinterpret_cast< wxImageList * >(argp2);
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 (arg1)->SetImageList(arg2);
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = SWIG_Py_Void();
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj = 0;
6175 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6176 wxImageList *arg2 = (wxImageList *) 0 ;
6177 void *argp1 = 0 ;
6178 int res1 = 0 ;
6179 void *argp2 = 0 ;
6180 int res2 = 0 ;
6181 PyObject * obj0 = 0 ;
6182 PyObject * obj1 = 0 ;
6183 char * kwnames[] = {
6184 (char *) "self",(char *) "imageList", NULL
6185 };
6186
6187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6189 if (!SWIG_IsOK(res1)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6191 }
6192 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6193 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6194 if (!SWIG_IsOK(res2)) {
6195 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6196 }
6197 arg2 = reinterpret_cast< wxImageList * >(argp2);
6198 {
6199 PyThreadState* __tstate = wxPyBeginAllowThreads();
6200 (arg1)->SetStateImageList(arg2);
6201 wxPyEndAllowThreads(__tstate);
6202 if (PyErr_Occurred()) SWIG_fail;
6203 }
6204 resultobj = SWIG_Py_Void();
6205 return resultobj;
6206 fail:
6207 return NULL;
6208 }
6209
6210
6211 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6212 PyObject *resultobj = 0;
6213 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6214 wxImageList *arg2 = (wxImageList *) 0 ;
6215 void *argp1 = 0 ;
6216 int res1 = 0 ;
6217 void *argp2 = 0 ;
6218 int res2 = 0 ;
6219 PyObject * obj0 = 0 ;
6220 PyObject * obj1 = 0 ;
6221 char * kwnames[] = {
6222 (char *) "self",(char *) "imageList", NULL
6223 };
6224
6225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6227 if (!SWIG_IsOK(res1)) {
6228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6229 }
6230 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6231 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6232 if (!SWIG_IsOK(res2)) {
6233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6234 }
6235 arg2 = reinterpret_cast< wxImageList * >(argp2);
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 (arg1)->SetButtonsImageList(arg2);
6239 wxPyEndAllowThreads(__tstate);
6240 if (PyErr_Occurred()) SWIG_fail;
6241 }
6242 resultobj = SWIG_Py_Void();
6243 return resultobj;
6244 fail:
6245 return NULL;
6246 }
6247
6248
6249 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6250 PyObject *resultobj = 0;
6251 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6252 wxImageList *arg2 = (wxImageList *) 0 ;
6253 void *argp1 = 0 ;
6254 int res1 = 0 ;
6255 int res2 = 0 ;
6256 PyObject * obj0 = 0 ;
6257 PyObject * obj1 = 0 ;
6258 char * kwnames[] = {
6259 (char *) "self",(char *) "imageList", NULL
6260 };
6261
6262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6264 if (!SWIG_IsOK(res1)) {
6265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6266 }
6267 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6268 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6269 if (!SWIG_IsOK(res2)) {
6270 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 (arg1)->AssignImageList(arg2);
6275 wxPyEndAllowThreads(__tstate);
6276 if (PyErr_Occurred()) SWIG_fail;
6277 }
6278 resultobj = SWIG_Py_Void();
6279 return resultobj;
6280 fail:
6281 return NULL;
6282 }
6283
6284
6285 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6286 PyObject *resultobj = 0;
6287 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6288 wxImageList *arg2 = (wxImageList *) 0 ;
6289 void *argp1 = 0 ;
6290 int res1 = 0 ;
6291 int res2 = 0 ;
6292 PyObject * obj0 = 0 ;
6293 PyObject * obj1 = 0 ;
6294 char * kwnames[] = {
6295 (char *) "self",(char *) "imageList", NULL
6296 };
6297
6298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6300 if (!SWIG_IsOK(res1)) {
6301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6302 }
6303 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6304 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6305 if (!SWIG_IsOK(res2)) {
6306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6307 }
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 (arg1)->AssignStateImageList(arg2);
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
6314 resultobj = SWIG_Py_Void();
6315 return resultobj;
6316 fail:
6317 return NULL;
6318 }
6319
6320
6321 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6322 PyObject *resultobj = 0;
6323 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6324 wxImageList *arg2 = (wxImageList *) 0 ;
6325 void *argp1 = 0 ;
6326 int res1 = 0 ;
6327 int res2 = 0 ;
6328 PyObject * obj0 = 0 ;
6329 PyObject * obj1 = 0 ;
6330 char * kwnames[] = {
6331 (char *) "self",(char *) "imageList", NULL
6332 };
6333
6334 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6335 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6336 if (!SWIG_IsOK(res1)) {
6337 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6338 }
6339 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6340 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6341 if (!SWIG_IsOK(res2)) {
6342 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6343 }
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 (arg1)->AssignButtonsImageList(arg2);
6347 wxPyEndAllowThreads(__tstate);
6348 if (PyErr_Occurred()) SWIG_fail;
6349 }
6350 resultobj = SWIG_Py_Void();
6351 return resultobj;
6352 fail:
6353 return NULL;
6354 }
6355
6356
6357 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6358 PyObject *resultobj = 0;
6359 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6360 wxString *arg2 = 0 ;
6361 void *argp1 = 0 ;
6362 int res1 = 0 ;
6363 bool temp2 = false ;
6364 PyObject * obj0 = 0 ;
6365 PyObject * obj1 = 0 ;
6366 char * kwnames[] = {
6367 (char *) "self",(char *) "text", NULL
6368 };
6369
6370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6372 if (!SWIG_IsOK(res1)) {
6373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6374 }
6375 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6376 {
6377 arg2 = wxString_in_helper(obj1);
6378 if (arg2 == NULL) SWIG_fail;
6379 temp2 = true;
6380 }
6381 {
6382 PyThreadState* __tstate = wxPyBeginAllowThreads();
6383 (arg1)->AddColumn((wxString const &)*arg2);
6384 wxPyEndAllowThreads(__tstate);
6385 if (PyErr_Occurred()) SWIG_fail;
6386 }
6387 resultobj = SWIG_Py_Void();
6388 {
6389 if (temp2)
6390 delete arg2;
6391 }
6392 return resultobj;
6393 fail:
6394 {
6395 if (temp2)
6396 delete arg2;
6397 }
6398 return NULL;
6399 }
6400
6401
6402 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj = 0;
6404 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6405 wxTreeListColumnInfo *arg2 = 0 ;
6406 void *argp1 = 0 ;
6407 int res1 = 0 ;
6408 void *argp2 = 0 ;
6409 int res2 = 0 ;
6410 PyObject * obj0 = 0 ;
6411 PyObject * obj1 = 0 ;
6412 char * kwnames[] = {
6413 (char *) "self",(char *) "col", NULL
6414 };
6415
6416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6418 if (!SWIG_IsOK(res1)) {
6419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6420 }
6421 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6422 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6423 if (!SWIG_IsOK(res2)) {
6424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6425 }
6426 if (!argp2) {
6427 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6428 }
6429 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6430 {
6431 PyThreadState* __tstate = wxPyBeginAllowThreads();
6432 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6433 wxPyEndAllowThreads(__tstate);
6434 if (PyErr_Occurred()) SWIG_fail;
6435 }
6436 resultobj = SWIG_Py_Void();
6437 return resultobj;
6438 fail:
6439 return NULL;
6440 }
6441
6442
6443 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6444 PyObject *resultobj = 0;
6445 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6446 size_t arg2 ;
6447 wxString *arg3 = 0 ;
6448 void *argp1 = 0 ;
6449 int res1 = 0 ;
6450 size_t val2 ;
6451 int ecode2 = 0 ;
6452 bool temp3 = false ;
6453 PyObject * obj0 = 0 ;
6454 PyObject * obj1 = 0 ;
6455 PyObject * obj2 = 0 ;
6456 char * kwnames[] = {
6457 (char *) "self",(char *) "before",(char *) "text", NULL
6458 };
6459
6460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6462 if (!SWIG_IsOK(res1)) {
6463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6464 }
6465 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6466 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6467 if (!SWIG_IsOK(ecode2)) {
6468 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6469 }
6470 arg2 = static_cast< size_t >(val2);
6471 {
6472 arg3 = wxString_in_helper(obj2);
6473 if (arg3 == NULL) SWIG_fail;
6474 temp3 = true;
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_Py_Void();
6483 {
6484 if (temp3)
6485 delete arg3;
6486 }
6487 return resultobj;
6488 fail:
6489 {
6490 if (temp3)
6491 delete arg3;
6492 }
6493 return NULL;
6494 }
6495
6496
6497 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj = 0;
6499 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6500 size_t arg2 ;
6501 wxTreeListColumnInfo *arg3 = 0 ;
6502 void *argp1 = 0 ;
6503 int res1 = 0 ;
6504 size_t val2 ;
6505 int ecode2 = 0 ;
6506 void *argp3 = 0 ;
6507 int res3 = 0 ;
6508 PyObject * obj0 = 0 ;
6509 PyObject * obj1 = 0 ;
6510 PyObject * obj2 = 0 ;
6511 char * kwnames[] = {
6512 (char *) "self",(char *) "before",(char *) "col", NULL
6513 };
6514
6515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6517 if (!SWIG_IsOK(res1)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6519 }
6520 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6521 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6522 if (!SWIG_IsOK(ecode2)) {
6523 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6524 }
6525 arg2 = static_cast< size_t >(val2);
6526 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6527 if (!SWIG_IsOK(res3)) {
6528 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6529 }
6530 if (!argp3) {
6531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6532 }
6533 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6537 wxPyEndAllowThreads(__tstate);
6538 if (PyErr_Occurred()) SWIG_fail;
6539 }
6540 resultobj = SWIG_Py_Void();
6541 return resultobj;
6542 fail:
6543 return NULL;
6544 }
6545
6546
6547 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6548 PyObject *resultobj = 0;
6549 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6550 size_t arg2 ;
6551 void *argp1 = 0 ;
6552 int res1 = 0 ;
6553 size_t val2 ;
6554 int ecode2 = 0 ;
6555 PyObject * obj0 = 0 ;
6556 PyObject * obj1 = 0 ;
6557 char * kwnames[] = {
6558 (char *) "self",(char *) "column", NULL
6559 };
6560
6561 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6562 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6563 if (!SWIG_IsOK(res1)) {
6564 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6565 }
6566 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6567 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6568 if (!SWIG_IsOK(ecode2)) {
6569 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6570 }
6571 arg2 = static_cast< size_t >(val2);
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 (arg1)->RemoveColumn(arg2);
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 resultobj = SWIG_Py_Void();
6579 return resultobj;
6580 fail:
6581 return NULL;
6582 }
6583
6584
6585 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6586 PyObject *resultobj = 0;
6587 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6588 size_t result;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 PyObject *swig_obj[1] ;
6592
6593 if (!args) SWIG_fail;
6594 swig_obj[0] = args;
6595 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6596 if (!SWIG_IsOK(res1)) {
6597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6598 }
6599 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6600 {
6601 PyThreadState* __tstate = wxPyBeginAllowThreads();
6602 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6603 wxPyEndAllowThreads(__tstate);
6604 if (PyErr_Occurred()) SWIG_fail;
6605 }
6606 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6607 return resultobj;
6608 fail:
6609 return NULL;
6610 }
6611
6612
6613 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6614 PyObject *resultobj = 0;
6615 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6616 size_t arg2 ;
6617 size_t arg3 ;
6618 void *argp1 = 0 ;
6619 int res1 = 0 ;
6620 size_t val2 ;
6621 int ecode2 = 0 ;
6622 size_t val3 ;
6623 int ecode3 = 0 ;
6624 PyObject * obj0 = 0 ;
6625 PyObject * obj1 = 0 ;
6626 PyObject * obj2 = 0 ;
6627 char * kwnames[] = {
6628 (char *) "self",(char *) "column",(char *) "width", NULL
6629 };
6630
6631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6633 if (!SWIG_IsOK(res1)) {
6634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6635 }
6636 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6637 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6638 if (!SWIG_IsOK(ecode2)) {
6639 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6640 }
6641 arg2 = static_cast< size_t >(val2);
6642 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6643 if (!SWIG_IsOK(ecode3)) {
6644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6645 }
6646 arg3 = static_cast< size_t >(val3);
6647 {
6648 PyThreadState* __tstate = wxPyBeginAllowThreads();
6649 (arg1)->SetColumnWidth(arg2,arg3);
6650 wxPyEndAllowThreads(__tstate);
6651 if (PyErr_Occurred()) SWIG_fail;
6652 }
6653 resultobj = SWIG_Py_Void();
6654 return resultobj;
6655 fail:
6656 return NULL;
6657 }
6658
6659
6660 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6661 PyObject *resultobj = 0;
6662 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6663 size_t arg2 ;
6664 int result;
6665 void *argp1 = 0 ;
6666 int res1 = 0 ;
6667 size_t val2 ;
6668 int ecode2 = 0 ;
6669 PyObject * obj0 = 0 ;
6670 PyObject * obj1 = 0 ;
6671 char * kwnames[] = {
6672 (char *) "self",(char *) "column", NULL
6673 };
6674
6675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6677 if (!SWIG_IsOK(res1)) {
6678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6679 }
6680 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6681 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6682 if (!SWIG_IsOK(ecode2)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6684 }
6685 arg2 = static_cast< size_t >(val2);
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 resultobj = SWIG_From_int(static_cast< int >(result));
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj = 0;
6701 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6702 size_t arg2 ;
6703 void *argp1 = 0 ;
6704 int res1 = 0 ;
6705 size_t val2 ;
6706 int ecode2 = 0 ;
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 char * kwnames[] = {
6710 (char *) "self",(char *) "column", NULL
6711 };
6712
6713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6715 if (!SWIG_IsOK(res1)) {
6716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6717 }
6718 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6719 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6720 if (!SWIG_IsOK(ecode2)) {
6721 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6722 }
6723 arg2 = static_cast< size_t >(val2);
6724 {
6725 PyThreadState* __tstate = wxPyBeginAllowThreads();
6726 (arg1)->SetMainColumn(arg2);
6727 wxPyEndAllowThreads(__tstate);
6728 if (PyErr_Occurred()) SWIG_fail;
6729 }
6730 resultobj = SWIG_Py_Void();
6731 return resultobj;
6732 fail:
6733 return NULL;
6734 }
6735
6736
6737 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6738 PyObject *resultobj = 0;
6739 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6740 size_t result;
6741 void *argp1 = 0 ;
6742 int res1 = 0 ;
6743 PyObject *swig_obj[1] ;
6744
6745 if (!args) SWIG_fail;
6746 swig_obj[0] = args;
6747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6748 if (!SWIG_IsOK(res1)) {
6749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6750 }
6751 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6752 {
6753 PyThreadState* __tstate = wxPyBeginAllowThreads();
6754 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6755 wxPyEndAllowThreads(__tstate);
6756 if (PyErr_Occurred()) SWIG_fail;
6757 }
6758 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6759 return resultobj;
6760 fail:
6761 return NULL;
6762 }
6763
6764
6765 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6766 PyObject *resultobj = 0;
6767 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6768 size_t arg2 ;
6769 wxString *arg3 = 0 ;
6770 void *argp1 = 0 ;
6771 int res1 = 0 ;
6772 size_t val2 ;
6773 int ecode2 = 0 ;
6774 bool temp3 = false ;
6775 PyObject * obj0 = 0 ;
6776 PyObject * obj1 = 0 ;
6777 PyObject * obj2 = 0 ;
6778 char * kwnames[] = {
6779 (char *) "self",(char *) "column",(char *) "text", NULL
6780 };
6781
6782 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6783 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6784 if (!SWIG_IsOK(res1)) {
6785 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6786 }
6787 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6788 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6789 if (!SWIG_IsOK(ecode2)) {
6790 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6791 }
6792 arg2 = static_cast< size_t >(val2);
6793 {
6794 arg3 = wxString_in_helper(obj2);
6795 if (arg3 == NULL) SWIG_fail;
6796 temp3 = true;
6797 }
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 resultobj = SWIG_Py_Void();
6805 {
6806 if (temp3)
6807 delete arg3;
6808 }
6809 return resultobj;
6810 fail:
6811 {
6812 if (temp3)
6813 delete arg3;
6814 }
6815 return NULL;
6816 }
6817
6818
6819 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6820 PyObject *resultobj = 0;
6821 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6822 size_t arg2 ;
6823 wxString result;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 size_t val2 ;
6827 int ecode2 = 0 ;
6828 PyObject * obj0 = 0 ;
6829 PyObject * obj1 = 0 ;
6830 char * kwnames[] = {
6831 (char *) "self",(char *) "column", NULL
6832 };
6833
6834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6836 if (!SWIG_IsOK(res1)) {
6837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6838 }
6839 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6840 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6841 if (!SWIG_IsOK(ecode2)) {
6842 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6843 }
6844 arg2 = static_cast< size_t >(val2);
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6848 wxPyEndAllowThreads(__tstate);
6849 if (PyErr_Occurred()) SWIG_fail;
6850 }
6851 {
6852 #if wxUSE_UNICODE
6853 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6854 #else
6855 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6856 #endif
6857 }
6858 return resultobj;
6859 fail:
6860 return NULL;
6861 }
6862
6863
6864 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6865 PyObject *resultobj = 0;
6866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6867 size_t arg2 ;
6868 wxTreeListColumnInfo *arg3 = 0 ;
6869 void *argp1 = 0 ;
6870 int res1 = 0 ;
6871 size_t val2 ;
6872 int ecode2 = 0 ;
6873 void *argp3 = 0 ;
6874 int res3 = 0 ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj1 = 0 ;
6877 PyObject * obj2 = 0 ;
6878 char * kwnames[] = {
6879 (char *) "self",(char *) "column",(char *) "info", NULL
6880 };
6881
6882 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6883 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6884 if (!SWIG_IsOK(res1)) {
6885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6886 }
6887 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6888 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6889 if (!SWIG_IsOK(ecode2)) {
6890 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6891 }
6892 arg2 = static_cast< size_t >(val2);
6893 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6894 if (!SWIG_IsOK(res3)) {
6895 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6896 }
6897 if (!argp3) {
6898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6899 }
6900 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_Py_Void();
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj = 0;
6916 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6917 size_t arg2 ;
6918 wxTreeListColumnInfo *result = 0 ;
6919 void *argp1 = 0 ;
6920 int res1 = 0 ;
6921 size_t val2 ;
6922 int ecode2 = 0 ;
6923 PyObject * obj0 = 0 ;
6924 PyObject * obj1 = 0 ;
6925 char * kwnames[] = {
6926 (char *) "self",(char *) "column", NULL
6927 };
6928
6929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6931 if (!SWIG_IsOK(res1)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6933 }
6934 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6935 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6936 if (!SWIG_IsOK(ecode2)) {
6937 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6938 }
6939 arg2 = static_cast< size_t >(val2);
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 {
6943 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6944 result = (wxTreeListColumnInfo *) &_result_ref;
6945 }
6946 wxPyEndAllowThreads(__tstate);
6947 if (PyErr_Occurred()) SWIG_fail;
6948 }
6949 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6950 return resultobj;
6951 fail:
6952 return NULL;
6953 }
6954
6955
6956 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6957 PyObject *resultobj = 0;
6958 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6959 size_t arg2 ;
6960 wxTreeListColumnAlign arg3 ;
6961 void *argp1 = 0 ;
6962 int res1 = 0 ;
6963 size_t val2 ;
6964 int ecode2 = 0 ;
6965 int val3 ;
6966 int ecode3 = 0 ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 PyObject * obj2 = 0 ;
6970 char * kwnames[] = {
6971 (char *) "self",(char *) "column",(char *) "align", NULL
6972 };
6973
6974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6976 if (!SWIG_IsOK(res1)) {
6977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6978 }
6979 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6980 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6981 if (!SWIG_IsOK(ecode2)) {
6982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6983 }
6984 arg2 = static_cast< size_t >(val2);
6985 ecode3 = SWIG_AsVal_int(obj2, &val3);
6986 if (!SWIG_IsOK(ecode3)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6988 }
6989 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 (arg1)->SetColumnAlignment(arg2,arg3);
6993 wxPyEndAllowThreads(__tstate);
6994 if (PyErr_Occurred()) SWIG_fail;
6995 }
6996 resultobj = SWIG_Py_Void();
6997 return resultobj;
6998 fail:
6999 return NULL;
7000 }
7001
7002
7003 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj = 0;
7005 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7006 size_t arg2 ;
7007 wxTreeListColumnAlign result;
7008 void *argp1 = 0 ;
7009 int res1 = 0 ;
7010 size_t val2 ;
7011 int ecode2 = 0 ;
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 char * kwnames[] = {
7015 (char *) "self",(char *) "column", NULL
7016 };
7017
7018 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7019 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7020 if (!SWIG_IsOK(res1)) {
7021 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7022 }
7023 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7024 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7025 if (!SWIG_IsOK(ecode2)) {
7026 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7027 }
7028 arg2 = static_cast< size_t >(val2);
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 resultobj = SWIG_From_int(static_cast< int >(result));
7036 return resultobj;
7037 fail:
7038 return NULL;
7039 }
7040
7041
7042 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7043 PyObject *resultobj = 0;
7044 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7045 size_t arg2 ;
7046 int arg3 ;
7047 void *argp1 = 0 ;
7048 int res1 = 0 ;
7049 size_t val2 ;
7050 int ecode2 = 0 ;
7051 int val3 ;
7052 int ecode3 = 0 ;
7053 PyObject * obj0 = 0 ;
7054 PyObject * obj1 = 0 ;
7055 PyObject * obj2 = 0 ;
7056 char * kwnames[] = {
7057 (char *) "self",(char *) "column",(char *) "image", NULL
7058 };
7059
7060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7062 if (!SWIG_IsOK(res1)) {
7063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7064 }
7065 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7066 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7067 if (!SWIG_IsOK(ecode2)) {
7068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7069 }
7070 arg2 = static_cast< size_t >(val2);
7071 ecode3 = SWIG_AsVal_int(obj2, &val3);
7072 if (!SWIG_IsOK(ecode3)) {
7073 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7074 }
7075 arg3 = static_cast< int >(val3);
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 (arg1)->SetColumnImage(arg2,arg3);
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 resultobj = SWIG_Py_Void();
7083 return resultobj;
7084 fail:
7085 return NULL;
7086 }
7087
7088
7089 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj = 0;
7091 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7092 size_t arg2 ;
7093 int result;
7094 void *argp1 = 0 ;
7095 int res1 = 0 ;
7096 size_t val2 ;
7097 int ecode2 = 0 ;
7098 PyObject * obj0 = 0 ;
7099 PyObject * obj1 = 0 ;
7100 char * kwnames[] = {
7101 (char *) "self",(char *) "column", NULL
7102 };
7103
7104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7106 if (!SWIG_IsOK(res1)) {
7107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7108 }
7109 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7110 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7111 if (!SWIG_IsOK(ecode2)) {
7112 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7113 }
7114 arg2 = static_cast< size_t >(val2);
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = SWIG_From_int(static_cast< int >(result));
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj = 0;
7130 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7131 size_t arg2 ;
7132 bool arg3 ;
7133 void *argp1 = 0 ;
7134 int res1 = 0 ;
7135 size_t val2 ;
7136 int ecode2 = 0 ;
7137 bool val3 ;
7138 int ecode3 = 0 ;
7139 PyObject * obj0 = 0 ;
7140 PyObject * obj1 = 0 ;
7141 PyObject * obj2 = 0 ;
7142 char * kwnames[] = {
7143 (char *) "self",(char *) "column",(char *) "shown", NULL
7144 };
7145
7146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7148 if (!SWIG_IsOK(res1)) {
7149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7150 }
7151 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7152 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7153 if (!SWIG_IsOK(ecode2)) {
7154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7155 }
7156 arg2 = static_cast< size_t >(val2);
7157 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7158 if (!SWIG_IsOK(ecode3)) {
7159 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7160 }
7161 arg3 = static_cast< bool >(val3);
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 (arg1)->ShowColumn(arg2,arg3);
7165 wxPyEndAllowThreads(__tstate);
7166 if (PyErr_Occurred()) SWIG_fail;
7167 }
7168 resultobj = SWIG_Py_Void();
7169 return resultobj;
7170 fail:
7171 return NULL;
7172 }
7173
7174
7175 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7176 PyObject *resultobj = 0;
7177 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7178 size_t arg2 ;
7179 bool result;
7180 void *argp1 = 0 ;
7181 int res1 = 0 ;
7182 size_t val2 ;
7183 int ecode2 = 0 ;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj1 = 0 ;
7186 char * kwnames[] = {
7187 (char *) "self",(char *) "column", NULL
7188 };
7189
7190 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7191 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7192 if (!SWIG_IsOK(res1)) {
7193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7194 }
7195 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7196 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7197 if (!SWIG_IsOK(ecode2)) {
7198 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7199 }
7200 arg2 = static_cast< size_t >(val2);
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7204 wxPyEndAllowThreads(__tstate);
7205 if (PyErr_Occurred()) SWIG_fail;
7206 }
7207 {
7208 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7209 }
7210 return resultobj;
7211 fail:
7212 return NULL;
7213 }
7214
7215
7216 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7217 PyObject *resultobj = 0;
7218 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7219 wxTreeItemId *arg2 = 0 ;
7220 int arg3 = (int) -1 ;
7221 wxString result;
7222 void *argp1 = 0 ;
7223 int res1 = 0 ;
7224 void *argp2 = 0 ;
7225 int res2 = 0 ;
7226 int val3 ;
7227 int ecode3 = 0 ;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj1 = 0 ;
7230 PyObject * obj2 = 0 ;
7231 char * kwnames[] = {
7232 (char *) "self",(char *) "item",(char *) "column", NULL
7233 };
7234
7235 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7236 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7237 if (!SWIG_IsOK(res1)) {
7238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7239 }
7240 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7241 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7242 if (!SWIG_IsOK(res2)) {
7243 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7244 }
7245 if (!argp2) {
7246 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7247 }
7248 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7249 if (obj2) {
7250 ecode3 = SWIG_AsVal_int(obj2, &val3);
7251 if (!SWIG_IsOK(ecode3)) {
7252 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7253 }
7254 arg3 = static_cast< int >(val3);
7255 }
7256 {
7257 PyThreadState* __tstate = wxPyBeginAllowThreads();
7258 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 {
7263 #if wxUSE_UNICODE
7264 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7265 #else
7266 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7267 #endif
7268 }
7269 return resultobj;
7270 fail:
7271 return NULL;
7272 }
7273
7274
7275 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7276 PyObject *resultobj = 0;
7277 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7278 wxTreeItemId *arg2 = 0 ;
7279 int arg3 = (int) -1 ;
7280 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7281 int result;
7282 void *argp1 = 0 ;
7283 int res1 = 0 ;
7284 void *argp2 = 0 ;
7285 int res2 = 0 ;
7286 int val3 ;
7287 int ecode3 = 0 ;
7288 int val4 ;
7289 int ecode4 = 0 ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 PyObject * obj2 = 0 ;
7293 PyObject * obj3 = 0 ;
7294 char * kwnames[] = {
7295 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7296 };
7297
7298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7300 if (!SWIG_IsOK(res1)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7302 }
7303 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7304 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7305 if (!SWIG_IsOK(res2)) {
7306 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7307 }
7308 if (!argp2) {
7309 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7310 }
7311 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7312 if (obj2) {
7313 ecode3 = SWIG_AsVal_int(obj2, &val3);
7314 if (!SWIG_IsOK(ecode3)) {
7315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7316 }
7317 arg3 = static_cast< int >(val3);
7318 }
7319 if (obj3) {
7320 ecode4 = SWIG_AsVal_int(obj3, &val4);
7321 if (!SWIG_IsOK(ecode4)) {
7322 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7323 }
7324 arg4 = static_cast< wxTreeItemIcon >(val4);
7325 }
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 resultobj = SWIG_From_int(static_cast< int >(result));
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj = 0;
7341 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7342 wxTreeItemId *arg2 = 0 ;
7343 wxString *arg3 = 0 ;
7344 int arg4 = (int) -1 ;
7345 void *argp1 = 0 ;
7346 int res1 = 0 ;
7347 void *argp2 = 0 ;
7348 int res2 = 0 ;
7349 bool temp3 = false ;
7350 int val4 ;
7351 int ecode4 = 0 ;
7352 PyObject * obj0 = 0 ;
7353 PyObject * obj1 = 0 ;
7354 PyObject * obj2 = 0 ;
7355 PyObject * obj3 = 0 ;
7356 char * kwnames[] = {
7357 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7358 };
7359
7360 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7361 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7362 if (!SWIG_IsOK(res1)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7364 }
7365 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7366 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7367 if (!SWIG_IsOK(res2)) {
7368 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7369 }
7370 if (!argp2) {
7371 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7372 }
7373 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7374 {
7375 arg3 = wxString_in_helper(obj2);
7376 if (arg3 == NULL) SWIG_fail;
7377 temp3 = true;
7378 }
7379 if (obj3) {
7380 ecode4 = SWIG_AsVal_int(obj3, &val4);
7381 if (!SWIG_IsOK(ecode4)) {
7382 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7383 }
7384 arg4 = static_cast< int >(val4);
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7389 wxPyEndAllowThreads(__tstate);
7390 if (PyErr_Occurred()) SWIG_fail;
7391 }
7392 resultobj = SWIG_Py_Void();
7393 {
7394 if (temp3)
7395 delete arg3;
7396 }
7397 return resultobj;
7398 fail:
7399 {
7400 if (temp3)
7401 delete arg3;
7402 }
7403 return NULL;
7404 }
7405
7406
7407 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj = 0;
7409 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7410 wxTreeItemId *arg2 = 0 ;
7411 int arg3 ;
7412 int arg4 = (int) -1 ;
7413 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7414 void *argp1 = 0 ;
7415 int res1 = 0 ;
7416 void *argp2 = 0 ;
7417 int res2 = 0 ;
7418 int val3 ;
7419 int ecode3 = 0 ;
7420 int val4 ;
7421 int ecode4 = 0 ;
7422 int val5 ;
7423 int ecode5 = 0 ;
7424 PyObject * obj0 = 0 ;
7425 PyObject * obj1 = 0 ;
7426 PyObject * obj2 = 0 ;
7427 PyObject * obj3 = 0 ;
7428 PyObject * obj4 = 0 ;
7429 char * kwnames[] = {
7430 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7431 };
7432
7433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7435 if (!SWIG_IsOK(res1)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7437 }
7438 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7439 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7440 if (!SWIG_IsOK(res2)) {
7441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7442 }
7443 if (!argp2) {
7444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7445 }
7446 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7447 ecode3 = SWIG_AsVal_int(obj2, &val3);
7448 if (!SWIG_IsOK(ecode3)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7450 }
7451 arg3 = static_cast< int >(val3);
7452 if (obj3) {
7453 ecode4 = SWIG_AsVal_int(obj3, &val4);
7454 if (!SWIG_IsOK(ecode4)) {
7455 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7456 }
7457 arg4 = static_cast< int >(val4);
7458 }
7459 if (obj4) {
7460 ecode5 = SWIG_AsVal_int(obj4, &val5);
7461 if (!SWIG_IsOK(ecode5)) {
7462 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7463 }
7464 arg5 = static_cast< wxTreeItemIcon >(val5);
7465 }
7466 {
7467 PyThreadState* __tstate = wxPyBeginAllowThreads();
7468 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7469 wxPyEndAllowThreads(__tstate);
7470 if (PyErr_Occurred()) SWIG_fail;
7471 }
7472 resultobj = SWIG_Py_Void();
7473 return resultobj;
7474 fail:
7475 return NULL;
7476 }
7477
7478
7479 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj = 0;
7481 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7482 wxTreeItemId *arg2 = 0 ;
7483 wxPyTreeItemData *result = 0 ;
7484 void *argp1 = 0 ;
7485 int res1 = 0 ;
7486 void *argp2 = 0 ;
7487 int res2 = 0 ;
7488 PyObject * obj0 = 0 ;
7489 PyObject * obj1 = 0 ;
7490 char * kwnames[] = {
7491 (char *) "self",(char *) "item", NULL
7492 };
7493
7494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7496 if (!SWIG_IsOK(res1)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7498 }
7499 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7500 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7501 if (!SWIG_IsOK(res2)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7503 }
7504 if (!argp2) {
7505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7506 }
7507 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7508 {
7509 PyThreadState* __tstate = wxPyBeginAllowThreads();
7510 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj = 0;
7523 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7524 wxTreeItemId *arg2 = 0 ;
7525 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7526 void *argp1 = 0 ;
7527 int res1 = 0 ;
7528 void *argp2 = 0 ;
7529 int res2 = 0 ;
7530 int res3 = 0 ;
7531 PyObject * obj0 = 0 ;
7532 PyObject * obj1 = 0 ;
7533 PyObject * obj2 = 0 ;
7534 char * kwnames[] = {
7535 (char *) "self",(char *) "item",(char *) "data", NULL
7536 };
7537
7538 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7539 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7540 if (!SWIG_IsOK(res1)) {
7541 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7542 }
7543 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7544 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7545 if (!SWIG_IsOK(res2)) {
7546 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7547 }
7548 if (!argp2) {
7549 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7550 }
7551 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7552 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7553 if (!SWIG_IsOK(res3)) {
7554 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7555 }
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7559 wxPyEndAllowThreads(__tstate);
7560 if (PyErr_Occurred()) SWIG_fail;
7561 }
7562 resultobj = SWIG_Py_Void();
7563 return resultobj;
7564 fail:
7565 return NULL;
7566 }
7567
7568
7569 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7570 PyObject *resultobj = 0;
7571 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7572 wxTreeItemId *arg2 = 0 ;
7573 PyObject *result = 0 ;
7574 void *argp1 = 0 ;
7575 int res1 = 0 ;
7576 void *argp2 = 0 ;
7577 int res2 = 0 ;
7578 PyObject * obj0 = 0 ;
7579 PyObject * obj1 = 0 ;
7580 char * kwnames[] = {
7581 (char *) "self",(char *) "item", NULL
7582 };
7583
7584 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7585 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7586 if (!SWIG_IsOK(res1)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7588 }
7589 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7590 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7591 if (!SWIG_IsOK(res2)) {
7592 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7593 }
7594 if (!argp2) {
7595 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7596 }
7597 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7598 {
7599 PyThreadState* __tstate = wxPyBeginAllowThreads();
7600 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 resultobj = result;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608 }
7609
7610
7611 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7612 PyObject *resultobj = 0;
7613 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7614 wxTreeItemId *arg2 = 0 ;
7615 PyObject *arg3 = (PyObject *) 0 ;
7616 void *argp1 = 0 ;
7617 int res1 = 0 ;
7618 void *argp2 = 0 ;
7619 int res2 = 0 ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 PyObject * obj2 = 0 ;
7623 char * kwnames[] = {
7624 (char *) "self",(char *) "item",(char *) "obj", NULL
7625 };
7626
7627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7629 if (!SWIG_IsOK(res1)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7631 }
7632 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7634 if (!SWIG_IsOK(res2)) {
7635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7636 }
7637 if (!argp2) {
7638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7639 }
7640 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7641 arg3 = obj2;
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 resultobj = SWIG_Py_Void();
7649 return resultobj;
7650 fail:
7651 return NULL;
7652 }
7653
7654
7655 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7656 PyObject *resultobj = 0;
7657 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7658 wxTreeItemId *arg2 = 0 ;
7659 bool arg3 = (bool) true ;
7660 void *argp1 = 0 ;
7661 int res1 = 0 ;
7662 void *argp2 = 0 ;
7663 int res2 = 0 ;
7664 bool val3 ;
7665 int ecode3 = 0 ;
7666 PyObject * obj0 = 0 ;
7667 PyObject * obj1 = 0 ;
7668 PyObject * obj2 = 0 ;
7669 char * kwnames[] = {
7670 (char *) "self",(char *) "item",(char *) "has", NULL
7671 };
7672
7673 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7674 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7675 if (!SWIG_IsOK(res1)) {
7676 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7677 }
7678 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7679 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7680 if (!SWIG_IsOK(res2)) {
7681 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7682 }
7683 if (!argp2) {
7684 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7685 }
7686 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7687 if (obj2) {
7688 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7689 if (!SWIG_IsOK(ecode3)) {
7690 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7691 }
7692 arg3 = static_cast< bool >(val3);
7693 }
7694 {
7695 PyThreadState* __tstate = wxPyBeginAllowThreads();
7696 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 resultobj = SWIG_Py_Void();
7701 return resultobj;
7702 fail:
7703 return NULL;
7704 }
7705
7706
7707 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7708 PyObject *resultobj = 0;
7709 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7710 wxTreeItemId *arg2 = 0 ;
7711 bool arg3 = (bool) true ;
7712 void *argp1 = 0 ;
7713 int res1 = 0 ;
7714 void *argp2 = 0 ;
7715 int res2 = 0 ;
7716 bool val3 ;
7717 int ecode3 = 0 ;
7718 PyObject * obj0 = 0 ;
7719 PyObject * obj1 = 0 ;
7720 PyObject * obj2 = 0 ;
7721 char * kwnames[] = {
7722 (char *) "self",(char *) "item",(char *) "bold", NULL
7723 };
7724
7725 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7726 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7727 if (!SWIG_IsOK(res1)) {
7728 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7729 }
7730 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7731 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7732 if (!SWIG_IsOK(res2)) {
7733 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7734 }
7735 if (!argp2) {
7736 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7737 }
7738 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7739 if (obj2) {
7740 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7741 if (!SWIG_IsOK(ecode3)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7743 }
7744 arg3 = static_cast< bool >(val3);
7745 }
7746 {
7747 PyThreadState* __tstate = wxPyBeginAllowThreads();
7748 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7749 wxPyEndAllowThreads(__tstate);
7750 if (PyErr_Occurred()) SWIG_fail;
7751 }
7752 resultobj = SWIG_Py_Void();
7753 return resultobj;
7754 fail:
7755 return NULL;
7756 }
7757
7758
7759 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7760 PyObject *resultobj = 0;
7761 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7762 wxTreeItemId *arg2 = 0 ;
7763 wxColour *arg3 = 0 ;
7764 void *argp1 = 0 ;
7765 int res1 = 0 ;
7766 void *argp2 = 0 ;
7767 int res2 = 0 ;
7768 wxColour temp3 ;
7769 PyObject * obj0 = 0 ;
7770 PyObject * obj1 = 0 ;
7771 PyObject * obj2 = 0 ;
7772 char * kwnames[] = {
7773 (char *) "self",(char *) "item",(char *) "colour", NULL
7774 };
7775
7776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7778 if (!SWIG_IsOK(res1)) {
7779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7780 }
7781 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7782 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7783 if (!SWIG_IsOK(res2)) {
7784 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7785 }
7786 if (!argp2) {
7787 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7788 }
7789 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7790 {
7791 arg3 = &temp3;
7792 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7793 }
7794 {
7795 PyThreadState* __tstate = wxPyBeginAllowThreads();
7796 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7797 wxPyEndAllowThreads(__tstate);
7798 if (PyErr_Occurred()) SWIG_fail;
7799 }
7800 resultobj = SWIG_Py_Void();
7801 return resultobj;
7802 fail:
7803 return NULL;
7804 }
7805
7806
7807 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7808 PyObject *resultobj = 0;
7809 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7810 wxTreeItemId *arg2 = 0 ;
7811 wxColour *arg3 = 0 ;
7812 void *argp1 = 0 ;
7813 int res1 = 0 ;
7814 void *argp2 = 0 ;
7815 int res2 = 0 ;
7816 wxColour temp3 ;
7817 PyObject * obj0 = 0 ;
7818 PyObject * obj1 = 0 ;
7819 PyObject * obj2 = 0 ;
7820 char * kwnames[] = {
7821 (char *) "self",(char *) "item",(char *) "colour", NULL
7822 };
7823
7824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7826 if (!SWIG_IsOK(res1)) {
7827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7828 }
7829 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7830 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7831 if (!SWIG_IsOK(res2)) {
7832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7833 }
7834 if (!argp2) {
7835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7836 }
7837 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7838 {
7839 arg3 = &temp3;
7840 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7841 }
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 resultobj = SWIG_Py_Void();
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj = 0;
7857 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7858 wxTreeItemId *arg2 = 0 ;
7859 wxFont *arg3 = 0 ;
7860 void *argp1 = 0 ;
7861 int res1 = 0 ;
7862 void *argp2 = 0 ;
7863 int res2 = 0 ;
7864 void *argp3 = 0 ;
7865 int res3 = 0 ;
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
7868 PyObject * obj2 = 0 ;
7869 char * kwnames[] = {
7870 (char *) "self",(char *) "item",(char *) "font", NULL
7871 };
7872
7873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7875 if (!SWIG_IsOK(res1)) {
7876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7877 }
7878 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7879 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7880 if (!SWIG_IsOK(res2)) {
7881 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7882 }
7883 if (!argp2) {
7884 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7885 }
7886 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7887 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7888 if (!SWIG_IsOK(res3)) {
7889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7890 }
7891 if (!argp3) {
7892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7893 }
7894 arg3 = reinterpret_cast< wxFont * >(argp3);
7895 {
7896 PyThreadState* __tstate = wxPyBeginAllowThreads();
7897 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = SWIG_Py_Void();
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj = 0;
7910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7911 wxTreeItemId *arg2 = 0 ;
7912 bool result;
7913 void *argp1 = 0 ;
7914 int res1 = 0 ;
7915 void *argp2 = 0 ;
7916 int res2 = 0 ;
7917 PyObject * obj0 = 0 ;
7918 PyObject * obj1 = 0 ;
7919 char * kwnames[] = {
7920 (char *) "self",(char *) "item", NULL
7921 };
7922
7923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7925 if (!SWIG_IsOK(res1)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7927 }
7928 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7929 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7930 if (!SWIG_IsOK(res2)) {
7931 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7932 }
7933 if (!argp2) {
7934 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7935 }
7936 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7945 }
7946 return resultobj;
7947 fail:
7948 return NULL;
7949 }
7950
7951
7952 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7953 PyObject *resultobj = 0;
7954 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7955 wxTreeItemId *arg2 = 0 ;
7956 wxColour result;
7957 void *argp1 = 0 ;
7958 int res1 = 0 ;
7959 void *argp2 = 0 ;
7960 int res2 = 0 ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char * kwnames[] = {
7964 (char *) "self",(char *) "item", NULL
7965 };
7966
7967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7969 if (!SWIG_IsOK(res1)) {
7970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7971 }
7972 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7973 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7974 if (!SWIG_IsOK(res2)) {
7975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7976 }
7977 if (!argp2) {
7978 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7979 }
7980 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7981 {
7982 PyThreadState* __tstate = wxPyBeginAllowThreads();
7983 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj = 0;
7996 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7997 wxTreeItemId *arg2 = 0 ;
7998 wxColour result;
7999 void *argp1 = 0 ;
8000 int res1 = 0 ;
8001 void *argp2 = 0 ;
8002 int res2 = 0 ;
8003 PyObject * obj0 = 0 ;
8004 PyObject * obj1 = 0 ;
8005 char * kwnames[] = {
8006 (char *) "self",(char *) "item", NULL
8007 };
8008
8009 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8010 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8011 if (!SWIG_IsOK(res1)) {
8012 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8013 }
8014 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8015 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8016 if (!SWIG_IsOK(res2)) {
8017 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8018 }
8019 if (!argp2) {
8020 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8021 }
8022 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8030 return resultobj;
8031 fail:
8032 return NULL;
8033 }
8034
8035
8036 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj = 0;
8038 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8039 wxTreeItemId *arg2 = 0 ;
8040 wxFont result;
8041 void *argp1 = 0 ;
8042 int res1 = 0 ;
8043 void *argp2 = 0 ;
8044 int res2 = 0 ;
8045 PyObject * obj0 = 0 ;
8046 PyObject * obj1 = 0 ;
8047 char * kwnames[] = {
8048 (char *) "self",(char *) "item", NULL
8049 };
8050
8051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8053 if (!SWIG_IsOK(res1)) {
8054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8055 }
8056 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8057 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8058 if (!SWIG_IsOK(res2)) {
8059 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8060 }
8061 if (!argp2) {
8062 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8063 }
8064 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8065 {
8066 PyThreadState* __tstate = wxPyBeginAllowThreads();
8067 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8068 wxPyEndAllowThreads(__tstate);
8069 if (PyErr_Occurred()) SWIG_fail;
8070 }
8071 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8072 return resultobj;
8073 fail:
8074 return NULL;
8075 }
8076
8077
8078 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8079 PyObject *resultobj = 0;
8080 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8081 wxTreeItemId *arg2 = 0 ;
8082 bool result;
8083 void *argp1 = 0 ;
8084 int res1 = 0 ;
8085 void *argp2 = 0 ;
8086 int res2 = 0 ;
8087 PyObject * obj0 = 0 ;
8088 PyObject * obj1 = 0 ;
8089 char * kwnames[] = {
8090 (char *) "self",(char *) "item", NULL
8091 };
8092
8093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8095 if (!SWIG_IsOK(res1)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8097 }
8098 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8100 if (!SWIG_IsOK(res2)) {
8101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8102 }
8103 if (!argp2) {
8104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8105 }
8106 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8107 {
8108 PyThreadState* __tstate = wxPyBeginAllowThreads();
8109 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 {
8114 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8115 }
8116 return resultobj;
8117 fail:
8118 return NULL;
8119 }
8120
8121
8122 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8123 PyObject *resultobj = 0;
8124 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8125 wxTreeItemId *arg2 = 0 ;
8126 bool result;
8127 void *argp1 = 0 ;
8128 int res1 = 0 ;
8129 void *argp2 = 0 ;
8130 int res2 = 0 ;
8131 PyObject * obj0 = 0 ;
8132 PyObject * obj1 = 0 ;
8133 char * kwnames[] = {
8134 (char *) "self",(char *) "item", NULL
8135 };
8136
8137 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8138 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8139 if (!SWIG_IsOK(res1)) {
8140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8141 }
8142 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8143 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8144 if (!SWIG_IsOK(res2)) {
8145 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8146 }
8147 if (!argp2) {
8148 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8149 }
8150 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 {
8158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8159 }
8160 return resultobj;
8161 fail:
8162 return NULL;
8163 }
8164
8165
8166 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj = 0;
8168 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8169 wxTreeItemId *arg2 = 0 ;
8170 bool result;
8171 void *argp1 = 0 ;
8172 int res1 = 0 ;
8173 void *argp2 = 0 ;
8174 int res2 = 0 ;
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 char * kwnames[] = {
8178 (char *) "self",(char *) "item", NULL
8179 };
8180
8181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8183 if (!SWIG_IsOK(res1)) {
8184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8185 }
8186 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8187 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8188 if (!SWIG_IsOK(res2)) {
8189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8190 }
8191 if (!argp2) {
8192 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8193 }
8194 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8195 {
8196 PyThreadState* __tstate = wxPyBeginAllowThreads();
8197 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8198 wxPyEndAllowThreads(__tstate);
8199 if (PyErr_Occurred()) SWIG_fail;
8200 }
8201 {
8202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8203 }
8204 return resultobj;
8205 fail:
8206 return NULL;
8207 }
8208
8209
8210 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8213 wxTreeItemId *arg2 = 0 ;
8214 bool result;
8215 void *argp1 = 0 ;
8216 int res1 = 0 ;
8217 void *argp2 = 0 ;
8218 int res2 = 0 ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 char * kwnames[] = {
8222 (char *) "self",(char *) "item", NULL
8223 };
8224
8225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8227 if (!SWIG_IsOK(res1)) {
8228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8229 }
8230 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8232 if (!SWIG_IsOK(res2)) {
8233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8234 }
8235 if (!argp2) {
8236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8237 }
8238 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8242 wxPyEndAllowThreads(__tstate);
8243 if (PyErr_Occurred()) SWIG_fail;
8244 }
8245 {
8246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8247 }
8248 return resultobj;
8249 fail:
8250 return NULL;
8251 }
8252
8253
8254 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj = 0;
8256 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8257 wxTreeItemId *arg2 = 0 ;
8258 bool result;
8259 void *argp1 = 0 ;
8260 int res1 = 0 ;
8261 void *argp2 = 0 ;
8262 int res2 = 0 ;
8263 PyObject * obj0 = 0 ;
8264 PyObject * obj1 = 0 ;
8265 char * kwnames[] = {
8266 (char *) "self",(char *) "item", NULL
8267 };
8268
8269 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8270 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8271 if (!SWIG_IsOK(res1)) {
8272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8273 }
8274 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8275 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8276 if (!SWIG_IsOK(res2)) {
8277 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8278 }
8279 if (!argp2) {
8280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8281 }
8282 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8286 wxPyEndAllowThreads(__tstate);
8287 if (PyErr_Occurred()) SWIG_fail;
8288 }
8289 {
8290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8291 }
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj = 0;
8300 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8301 wxTreeItemId *arg2 = 0 ;
8302 bool arg3 = (bool) true ;
8303 size_t result;
8304 void *argp1 = 0 ;
8305 int res1 = 0 ;
8306 void *argp2 = 0 ;
8307 int res2 = 0 ;
8308 bool val3 ;
8309 int ecode3 = 0 ;
8310 PyObject * obj0 = 0 ;
8311 PyObject * obj1 = 0 ;
8312 PyObject * obj2 = 0 ;
8313 char * kwnames[] = {
8314 (char *) "self",(char *) "item",(char *) "recursively", NULL
8315 };
8316
8317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8319 if (!SWIG_IsOK(res1)) {
8320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8321 }
8322 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8323 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8324 if (!SWIG_IsOK(res2)) {
8325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8326 }
8327 if (!argp2) {
8328 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8329 }
8330 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8331 if (obj2) {
8332 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8333 if (!SWIG_IsOK(ecode3)) {
8334 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8335 }
8336 arg3 = static_cast< bool >(val3);
8337 }
8338 {
8339 PyThreadState* __tstate = wxPyBeginAllowThreads();
8340 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8345 return resultobj;
8346 fail:
8347 return NULL;
8348 }
8349
8350
8351 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8352 PyObject *resultobj = 0;
8353 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8354 wxTreeItemId result;
8355 void *argp1 = 0 ;
8356 int res1 = 0 ;
8357 PyObject *swig_obj[1] ;
8358
8359 if (!args) SWIG_fail;
8360 swig_obj[0] = args;
8361 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8362 if (!SWIG_IsOK(res1)) {
8363 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8364 }
8365 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8380 PyObject *resultobj = 0;
8381 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8382 wxTreeItemId result;
8383 void *argp1 = 0 ;
8384 int res1 = 0 ;
8385 PyObject *swig_obj[1] ;
8386
8387 if (!args) SWIG_fail;
8388 swig_obj[0] = args;
8389 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8390 if (!SWIG_IsOK(res1)) {
8391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8392 }
8393 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
8396 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
8400 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8401 return resultobj;
8402 fail:
8403 return NULL;
8404 }
8405
8406
8407 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8408 PyObject *resultobj = 0;
8409 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8410 PyObject *result = 0 ;
8411 void *argp1 = 0 ;
8412 int res1 = 0 ;
8413 PyObject *swig_obj[1] ;
8414
8415 if (!args) SWIG_fail;
8416 swig_obj[0] = args;
8417 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8418 if (!SWIG_IsOK(res1)) {
8419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8420 }
8421 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8425 wxPyEndAllowThreads(__tstate);
8426 if (PyErr_Occurred()) SWIG_fail;
8427 }
8428 resultobj = result;
8429 return resultobj;
8430 fail:
8431 return NULL;
8432 }
8433
8434
8435 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8436 PyObject *resultobj = 0;
8437 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8438 wxTreeItemId *arg2 = 0 ;
8439 wxTreeItemId result;
8440 void *argp1 = 0 ;
8441 int res1 = 0 ;
8442 void *argp2 = 0 ;
8443 int res2 = 0 ;
8444 PyObject * obj0 = 0 ;
8445 PyObject * obj1 = 0 ;
8446 char * kwnames[] = {
8447 (char *) "self",(char *) "item", NULL
8448 };
8449
8450 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8451 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8452 if (!SWIG_IsOK(res1)) {
8453 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8454 }
8455 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8456 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8457 if (!SWIG_IsOK(res2)) {
8458 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8459 }
8460 if (!argp2) {
8461 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8462 }
8463 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8467 wxPyEndAllowThreads(__tstate);
8468 if (PyErr_Occurred()) SWIG_fail;
8469 }
8470 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8471 return resultobj;
8472 fail:
8473 return NULL;
8474 }
8475
8476
8477 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8478 PyObject *resultobj = 0;
8479 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8480 wxTreeItemId *arg2 = 0 ;
8481 PyObject *result = 0 ;
8482 void *argp1 = 0 ;
8483 int res1 = 0 ;
8484 void *argp2 = 0 ;
8485 int res2 = 0 ;
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8488 char * kwnames[] = {
8489 (char *) "self",(char *) "item", NULL
8490 };
8491
8492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8494 if (!SWIG_IsOK(res1)) {
8495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8496 }
8497 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8498 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8499 if (!SWIG_IsOK(res2)) {
8500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8501 }
8502 if (!argp2) {
8503 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8504 }
8505 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8509 wxPyEndAllowThreads(__tstate);
8510 if (PyErr_Occurred()) SWIG_fail;
8511 }
8512 resultobj = result;
8513 return resultobj;
8514 fail:
8515 return NULL;
8516 }
8517
8518
8519 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8520 PyObject *resultobj = 0;
8521 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8522 wxTreeItemId *arg2 = 0 ;
8523 void *arg3 = (void *) 0 ;
8524 PyObject *result = 0 ;
8525 void *argp1 = 0 ;
8526 int res1 = 0 ;
8527 void *argp2 = 0 ;
8528 int res2 = 0 ;
8529 int res3 ;
8530 PyObject * obj0 = 0 ;
8531 PyObject * obj1 = 0 ;
8532 PyObject * obj2 = 0 ;
8533 char * kwnames[] = {
8534 (char *) "self",(char *) "item",(char *) "cookie", NULL
8535 };
8536
8537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8539 if (!SWIG_IsOK(res1)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8541 }
8542 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8543 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8544 if (!SWIG_IsOK(res2)) {
8545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8546 }
8547 if (!argp2) {
8548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8549 }
8550 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8551 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8552 if (!SWIG_IsOK(res3)) {
8553 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8554 }
8555 {
8556 PyThreadState* __tstate = wxPyBeginAllowThreads();
8557 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8558 wxPyEndAllowThreads(__tstate);
8559 if (PyErr_Occurred()) SWIG_fail;
8560 }
8561 resultobj = result;
8562 return resultobj;
8563 fail:
8564 return NULL;
8565 }
8566
8567
8568 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8569 PyObject *resultobj = 0;
8570 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8571 wxTreeItemId *arg2 = 0 ;
8572 wxTreeItemId result;
8573 void *argp1 = 0 ;
8574 int res1 = 0 ;
8575 void *argp2 = 0 ;
8576 int res2 = 0 ;
8577 PyObject * obj0 = 0 ;
8578 PyObject * obj1 = 0 ;
8579 char * kwnames[] = {
8580 (char *) "self",(char *) "item", NULL
8581 };
8582
8583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8585 if (!SWIG_IsOK(res1)) {
8586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8587 }
8588 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8590 if (!SWIG_IsOK(res2)) {
8591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8592 }
8593 if (!argp2) {
8594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8595 }
8596 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8600 wxPyEndAllowThreads(__tstate);
8601 if (PyErr_Occurred()) SWIG_fail;
8602 }
8603 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8604 return resultobj;
8605 fail:
8606 return NULL;
8607 }
8608
8609
8610 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8611 PyObject *resultobj = 0;
8612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8613 wxTreeItemId *arg2 = 0 ;
8614 wxTreeItemId result;
8615 void *argp1 = 0 ;
8616 int res1 = 0 ;
8617 void *argp2 = 0 ;
8618 int res2 = 0 ;
8619 PyObject * obj0 = 0 ;
8620 PyObject * obj1 = 0 ;
8621 char * kwnames[] = {
8622 (char *) "self",(char *) "item", NULL
8623 };
8624
8625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8627 if (!SWIG_IsOK(res1)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8629 }
8630 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8632 if (!SWIG_IsOK(res2)) {
8633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8634 }
8635 if (!argp2) {
8636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8637 }
8638 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8639 {
8640 PyThreadState* __tstate = wxPyBeginAllowThreads();
8641 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj = 0;
8654 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8655 wxTreeItemId *arg2 = 0 ;
8656 wxTreeItemId result;
8657 void *argp1 = 0 ;
8658 int res1 = 0 ;
8659 void *argp2 = 0 ;
8660 int res2 = 0 ;
8661 PyObject * obj0 = 0 ;
8662 PyObject * obj1 = 0 ;
8663 char * kwnames[] = {
8664 (char *) "self",(char *) "item", NULL
8665 };
8666
8667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8669 if (!SWIG_IsOK(res1)) {
8670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8671 }
8672 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8674 if (!SWIG_IsOK(res2)) {
8675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8676 }
8677 if (!argp2) {
8678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8679 }
8680 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8688 return resultobj;
8689 fail:
8690 return NULL;
8691 }
8692
8693
8694 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8695 PyObject *resultobj = 0;
8696 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8697 wxTreeItemId result;
8698 void *argp1 = 0 ;
8699 int res1 = 0 ;
8700 PyObject *swig_obj[1] ;
8701
8702 if (!args) SWIG_fail;
8703 swig_obj[0] = args;
8704 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8705 if (!SWIG_IsOK(res1)) {
8706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8707 }
8708 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8709 {
8710 PyThreadState* __tstate = wxPyBeginAllowThreads();
8711 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8712 wxPyEndAllowThreads(__tstate);
8713 if (PyErr_Occurred()) SWIG_fail;
8714 }
8715 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8716 return resultobj;
8717 fail:
8718 return NULL;
8719 }
8720
8721
8722 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj = 0;
8724 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8725 wxTreeItemId *arg2 = 0 ;
8726 wxTreeItemId result;
8727 void *argp1 = 0 ;
8728 int res1 = 0 ;
8729 void *argp2 = 0 ;
8730 int res2 = 0 ;
8731 PyObject * obj0 = 0 ;
8732 PyObject * obj1 = 0 ;
8733 char * kwnames[] = {
8734 (char *) "self",(char *) "item", NULL
8735 };
8736
8737 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8738 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8739 if (!SWIG_IsOK(res1)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8741 }
8742 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8743 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8744 if (!SWIG_IsOK(res2)) {
8745 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8746 }
8747 if (!argp2) {
8748 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8749 }
8750 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8758 return resultobj;
8759 fail:
8760 return NULL;
8761 }
8762
8763
8764 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj = 0;
8766 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8767 wxTreeItemId *arg2 = 0 ;
8768 wxTreeItemId result;
8769 void *argp1 = 0 ;
8770 int res1 = 0 ;
8771 void *argp2 = 0 ;
8772 int res2 = 0 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 char * kwnames[] = {
8776 (char *) "self",(char *) "item", NULL
8777 };
8778
8779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8781 if (!SWIG_IsOK(res1)) {
8782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8783 }
8784 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8785 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8786 if (!SWIG_IsOK(res2)) {
8787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8788 }
8789 if (!argp2) {
8790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8791 }
8792 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8800 return resultobj;
8801 fail:
8802 return NULL;
8803 }
8804
8805
8806 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj = 0;
8808 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8809 wxTreeItemId *arg2 = 0 ;
8810 wxTreeItemId result;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 void *argp2 = 0 ;
8814 int res2 = 0 ;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char * kwnames[] = {
8818 (char *) "self",(char *) "item", NULL
8819 };
8820
8821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8825 }
8826 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8827 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8828 if (!SWIG_IsOK(res2)) {
8829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8830 }
8831 if (!argp2) {
8832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8833 }
8834 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8842 return resultobj;
8843 fail:
8844 return NULL;
8845 }
8846
8847
8848 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj = 0;
8850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8851 wxString *arg2 = 0 ;
8852 int arg3 = (int) -1 ;
8853 int arg4 = (int) -1 ;
8854 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8855 wxTreeItemId result;
8856 void *argp1 = 0 ;
8857 int res1 = 0 ;
8858 bool temp2 = false ;
8859 int val3 ;
8860 int ecode3 = 0 ;
8861 int val4 ;
8862 int ecode4 = 0 ;
8863 int res5 = 0 ;
8864 PyObject * obj0 = 0 ;
8865 PyObject * obj1 = 0 ;
8866 PyObject * obj2 = 0 ;
8867 PyObject * obj3 = 0 ;
8868 PyObject * obj4 = 0 ;
8869 char * kwnames[] = {
8870 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8871 };
8872
8873 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8874 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8875 if (!SWIG_IsOK(res1)) {
8876 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8877 }
8878 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8879 {
8880 arg2 = wxString_in_helper(obj1);
8881 if (arg2 == NULL) SWIG_fail;
8882 temp2 = true;
8883 }
8884 if (obj2) {
8885 ecode3 = SWIG_AsVal_int(obj2, &val3);
8886 if (!SWIG_IsOK(ecode3)) {
8887 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8888 }
8889 arg3 = static_cast< int >(val3);
8890 }
8891 if (obj3) {
8892 ecode4 = SWIG_AsVal_int(obj3, &val4);
8893 if (!SWIG_IsOK(ecode4)) {
8894 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8895 }
8896 arg4 = static_cast< int >(val4);
8897 }
8898 if (obj4) {
8899 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8900 if (!SWIG_IsOK(res5)) {
8901 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8902 }
8903 }
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8911 {
8912 if (temp2)
8913 delete arg2;
8914 }
8915 return resultobj;
8916 fail:
8917 {
8918 if (temp2)
8919 delete arg2;
8920 }
8921 return NULL;
8922 }
8923
8924
8925 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj = 0;
8927 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8928 wxTreeItemId *arg2 = 0 ;
8929 wxString *arg3 = 0 ;
8930 int arg4 = (int) -1 ;
8931 int arg5 = (int) -1 ;
8932 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8933 wxTreeItemId result;
8934 void *argp1 = 0 ;
8935 int res1 = 0 ;
8936 void *argp2 = 0 ;
8937 int res2 = 0 ;
8938 bool temp3 = false ;
8939 int val4 ;
8940 int ecode4 = 0 ;
8941 int val5 ;
8942 int ecode5 = 0 ;
8943 int res6 = 0 ;
8944 PyObject * obj0 = 0 ;
8945 PyObject * obj1 = 0 ;
8946 PyObject * obj2 = 0 ;
8947 PyObject * obj3 = 0 ;
8948 PyObject * obj4 = 0 ;
8949 PyObject * obj5 = 0 ;
8950 char * kwnames[] = {
8951 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8952 };
8953
8954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8956 if (!SWIG_IsOK(res1)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8958 }
8959 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8960 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8961 if (!SWIG_IsOK(res2)) {
8962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8963 }
8964 if (!argp2) {
8965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8966 }
8967 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8968 {
8969 arg3 = wxString_in_helper(obj2);
8970 if (arg3 == NULL) SWIG_fail;
8971 temp3 = true;
8972 }
8973 if (obj3) {
8974 ecode4 = SWIG_AsVal_int(obj3, &val4);
8975 if (!SWIG_IsOK(ecode4)) {
8976 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8977 }
8978 arg4 = static_cast< int >(val4);
8979 }
8980 if (obj4) {
8981 ecode5 = SWIG_AsVal_int(obj4, &val5);
8982 if (!SWIG_IsOK(ecode5)) {
8983 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8984 }
8985 arg5 = static_cast< int >(val5);
8986 }
8987 if (obj5) {
8988 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8989 if (!SWIG_IsOK(res6)) {
8990 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8991 }
8992 }
8993 {
8994 PyThreadState* __tstate = wxPyBeginAllowThreads();
8995 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8996 wxPyEndAllowThreads(__tstate);
8997 if (PyErr_Occurred()) SWIG_fail;
8998 }
8999 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9000 {
9001 if (temp3)
9002 delete arg3;
9003 }
9004 return resultobj;
9005 fail:
9006 {
9007 if (temp3)
9008 delete arg3;
9009 }
9010 return NULL;
9011 }
9012
9013
9014 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9015 PyObject *resultobj = 0;
9016 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9017 wxTreeItemId *arg2 = 0 ;
9018 wxTreeItemId *arg3 = 0 ;
9019 wxString *arg4 = 0 ;
9020 int arg5 = (int) -1 ;
9021 int arg6 = (int) -1 ;
9022 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9023 wxTreeItemId result;
9024 void *argp1 = 0 ;
9025 int res1 = 0 ;
9026 void *argp2 = 0 ;
9027 int res2 = 0 ;
9028 void *argp3 = 0 ;
9029 int res3 = 0 ;
9030 bool temp4 = false ;
9031 int val5 ;
9032 int ecode5 = 0 ;
9033 int val6 ;
9034 int ecode6 = 0 ;
9035 int res7 = 0 ;
9036 PyObject * obj0 = 0 ;
9037 PyObject * obj1 = 0 ;
9038 PyObject * obj2 = 0 ;
9039 PyObject * obj3 = 0 ;
9040 PyObject * obj4 = 0 ;
9041 PyObject * obj5 = 0 ;
9042 PyObject * obj6 = 0 ;
9043 char * kwnames[] = {
9044 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9045 };
9046
9047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9049 if (!SWIG_IsOK(res1)) {
9050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9051 }
9052 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9054 if (!SWIG_IsOK(res2)) {
9055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9056 }
9057 if (!argp2) {
9058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9059 }
9060 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9061 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9062 if (!SWIG_IsOK(res3)) {
9063 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9064 }
9065 if (!argp3) {
9066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9067 }
9068 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9069 {
9070 arg4 = wxString_in_helper(obj3);
9071 if (arg4 == NULL) SWIG_fail;
9072 temp4 = true;
9073 }
9074 if (obj4) {
9075 ecode5 = SWIG_AsVal_int(obj4, &val5);
9076 if (!SWIG_IsOK(ecode5)) {
9077 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9078 }
9079 arg5 = static_cast< int >(val5);
9080 }
9081 if (obj5) {
9082 ecode6 = SWIG_AsVal_int(obj5, &val6);
9083 if (!SWIG_IsOK(ecode6)) {
9084 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9085 }
9086 arg6 = static_cast< int >(val6);
9087 }
9088 if (obj6) {
9089 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9090 if (!SWIG_IsOK(res7)) {
9091 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9092 }
9093 }
9094 {
9095 PyThreadState* __tstate = wxPyBeginAllowThreads();
9096 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9097 wxPyEndAllowThreads(__tstate);
9098 if (PyErr_Occurred()) SWIG_fail;
9099 }
9100 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9101 {
9102 if (temp4)
9103 delete arg4;
9104 }
9105 return resultobj;
9106 fail:
9107 {
9108 if (temp4)
9109 delete arg4;
9110 }
9111 return NULL;
9112 }
9113
9114
9115 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9116 PyObject *resultobj = 0;
9117 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9118 wxTreeItemId *arg2 = 0 ;
9119 size_t arg3 ;
9120 wxString *arg4 = 0 ;
9121 int arg5 = (int) -1 ;
9122 int arg6 = (int) -1 ;
9123 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9124 wxTreeItemId result;
9125 void *argp1 = 0 ;
9126 int res1 = 0 ;
9127 void *argp2 = 0 ;
9128 int res2 = 0 ;
9129 size_t val3 ;
9130 int ecode3 = 0 ;
9131 bool temp4 = false ;
9132 int val5 ;
9133 int ecode5 = 0 ;
9134 int val6 ;
9135 int ecode6 = 0 ;
9136 int res7 = 0 ;
9137 PyObject * obj0 = 0 ;
9138 PyObject * obj1 = 0 ;
9139 PyObject * obj2 = 0 ;
9140 PyObject * obj3 = 0 ;
9141 PyObject * obj4 = 0 ;
9142 PyObject * obj5 = 0 ;
9143 PyObject * obj6 = 0 ;
9144 char * kwnames[] = {
9145 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9146 };
9147
9148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9150 if (!SWIG_IsOK(res1)) {
9151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9152 }
9153 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9154 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9155 if (!SWIG_IsOK(res2)) {
9156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9157 }
9158 if (!argp2) {
9159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9160 }
9161 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9162 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9163 if (!SWIG_IsOK(ecode3)) {
9164 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9165 }
9166 arg3 = static_cast< size_t >(val3);
9167 {
9168 arg4 = wxString_in_helper(obj3);
9169 if (arg4 == NULL) SWIG_fail;
9170 temp4 = true;
9171 }
9172 if (obj4) {
9173 ecode5 = SWIG_AsVal_int(obj4, &val5);
9174 if (!SWIG_IsOK(ecode5)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9176 }
9177 arg5 = static_cast< int >(val5);
9178 }
9179 if (obj5) {
9180 ecode6 = SWIG_AsVal_int(obj5, &val6);
9181 if (!SWIG_IsOK(ecode6)) {
9182 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9183 }
9184 arg6 = static_cast< int >(val6);
9185 }
9186 if (obj6) {
9187 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9188 if (!SWIG_IsOK(res7)) {
9189 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9190 }
9191 }
9192 {
9193 PyThreadState* __tstate = wxPyBeginAllowThreads();
9194 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9195 wxPyEndAllowThreads(__tstate);
9196 if (PyErr_Occurred()) SWIG_fail;
9197 }
9198 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9199 {
9200 if (temp4)
9201 delete arg4;
9202 }
9203 return resultobj;
9204 fail:
9205 {
9206 if (temp4)
9207 delete arg4;
9208 }
9209 return NULL;
9210 }
9211
9212
9213 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9214 PyObject *resultobj = 0;
9215 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9216 wxTreeItemId *arg2 = 0 ;
9217 wxString *arg3 = 0 ;
9218 int arg4 = (int) -1 ;
9219 int arg5 = (int) -1 ;
9220 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9221 wxTreeItemId result;
9222 void *argp1 = 0 ;
9223 int res1 = 0 ;
9224 void *argp2 = 0 ;
9225 int res2 = 0 ;
9226 bool temp3 = false ;
9227 int val4 ;
9228 int ecode4 = 0 ;
9229 int val5 ;
9230 int ecode5 = 0 ;
9231 int res6 = 0 ;
9232 PyObject * obj0 = 0 ;
9233 PyObject * obj1 = 0 ;
9234 PyObject * obj2 = 0 ;
9235 PyObject * obj3 = 0 ;
9236 PyObject * obj4 = 0 ;
9237 PyObject * obj5 = 0 ;
9238 char * kwnames[] = {
9239 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9240 };
9241
9242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9244 if (!SWIG_IsOK(res1)) {
9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9246 }
9247 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9249 if (!SWIG_IsOK(res2)) {
9250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9251 }
9252 if (!argp2) {
9253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9254 }
9255 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9256 {
9257 arg3 = wxString_in_helper(obj2);
9258 if (arg3 == NULL) SWIG_fail;
9259 temp3 = true;
9260 }
9261 if (obj3) {
9262 ecode4 = SWIG_AsVal_int(obj3, &val4);
9263 if (!SWIG_IsOK(ecode4)) {
9264 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9265 }
9266 arg4 = static_cast< int >(val4);
9267 }
9268 if (obj4) {
9269 ecode5 = SWIG_AsVal_int(obj4, &val5);
9270 if (!SWIG_IsOK(ecode5)) {
9271 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9272 }
9273 arg5 = static_cast< int >(val5);
9274 }
9275 if (obj5) {
9276 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9277 if (!SWIG_IsOK(res6)) {
9278 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9279 }
9280 }
9281 {
9282 PyThreadState* __tstate = wxPyBeginAllowThreads();
9283 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9284 wxPyEndAllowThreads(__tstate);
9285 if (PyErr_Occurred()) SWIG_fail;
9286 }
9287 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9288 {
9289 if (temp3)
9290 delete arg3;
9291 }
9292 return resultobj;
9293 fail:
9294 {
9295 if (temp3)
9296 delete arg3;
9297 }
9298 return NULL;
9299 }
9300
9301
9302 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9303 PyObject *resultobj = 0;
9304 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9305 wxTreeItemId *arg2 = 0 ;
9306 void *argp1 = 0 ;
9307 int res1 = 0 ;
9308 void *argp2 = 0 ;
9309 int res2 = 0 ;
9310 PyObject * obj0 = 0 ;
9311 PyObject * obj1 = 0 ;
9312 char * kwnames[] = {
9313 (char *) "self",(char *) "item", NULL
9314 };
9315
9316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9318 if (!SWIG_IsOK(res1)) {
9319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9320 }
9321 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9322 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9323 if (!SWIG_IsOK(res2)) {
9324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9325 }
9326 if (!argp2) {
9327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9328 }
9329 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9330 {
9331 PyThreadState* __tstate = wxPyBeginAllowThreads();
9332 (arg1)->Delete((wxTreeItemId const &)*arg2);
9333 wxPyEndAllowThreads(__tstate);
9334 if (PyErr_Occurred()) SWIG_fail;
9335 }
9336 resultobj = SWIG_Py_Void();
9337 return resultobj;
9338 fail:
9339 return NULL;
9340 }
9341
9342
9343 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj = 0;
9345 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9346 wxTreeItemId *arg2 = 0 ;
9347 void *argp1 = 0 ;
9348 int res1 = 0 ;
9349 void *argp2 = 0 ;
9350 int res2 = 0 ;
9351 PyObject * obj0 = 0 ;
9352 PyObject * obj1 = 0 ;
9353 char * kwnames[] = {
9354 (char *) "self",(char *) "item", NULL
9355 };
9356
9357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9359 if (!SWIG_IsOK(res1)) {
9360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9361 }
9362 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9363 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9364 if (!SWIG_IsOK(res2)) {
9365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9366 }
9367 if (!argp2) {
9368 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9369 }
9370 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9371 {
9372 PyThreadState* __tstate = wxPyBeginAllowThreads();
9373 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9374 wxPyEndAllowThreads(__tstate);
9375 if (PyErr_Occurred()) SWIG_fail;
9376 }
9377 resultobj = SWIG_Py_Void();
9378 return resultobj;
9379 fail:
9380 return NULL;
9381 }
9382
9383
9384 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9385 PyObject *resultobj = 0;
9386 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9387 void *argp1 = 0 ;
9388 int res1 = 0 ;
9389 PyObject *swig_obj[1] ;
9390
9391 if (!args) SWIG_fail;
9392 swig_obj[0] = args;
9393 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9394 if (!SWIG_IsOK(res1)) {
9395 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9396 }
9397 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 (arg1)->DeleteAllItems();
9401 wxPyEndAllowThreads(__tstate);
9402 if (PyErr_Occurred()) SWIG_fail;
9403 }
9404 resultobj = SWIG_Py_Void();
9405 return resultobj;
9406 fail:
9407 return NULL;
9408 }
9409
9410
9411 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9412 PyObject *resultobj = 0;
9413 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9414 wxTreeItemId *arg2 = 0 ;
9415 void *argp1 = 0 ;
9416 int res1 = 0 ;
9417 void *argp2 = 0 ;
9418 int res2 = 0 ;
9419 PyObject * obj0 = 0 ;
9420 PyObject * obj1 = 0 ;
9421 char * kwnames[] = {
9422 (char *) "self",(char *) "item", NULL
9423 };
9424
9425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9427 if (!SWIG_IsOK(res1)) {
9428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9429 }
9430 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9431 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9432 if (!SWIG_IsOK(res2)) {
9433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9434 }
9435 if (!argp2) {
9436 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9437 }
9438 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9439 {
9440 PyThreadState* __tstate = wxPyBeginAllowThreads();
9441 (arg1)->Expand((wxTreeItemId const &)*arg2);
9442 wxPyEndAllowThreads(__tstate);
9443 if (PyErr_Occurred()) SWIG_fail;
9444 }
9445 resultobj = SWIG_Py_Void();
9446 return resultobj;
9447 fail:
9448 return NULL;
9449 }
9450
9451
9452 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9453 PyObject *resultobj = 0;
9454 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9455 wxTreeItemId *arg2 = 0 ;
9456 void *argp1 = 0 ;
9457 int res1 = 0 ;
9458 void *argp2 = 0 ;
9459 int res2 = 0 ;
9460 PyObject * obj0 = 0 ;
9461 PyObject * obj1 = 0 ;
9462 char * kwnames[] = {
9463 (char *) "self",(char *) "item", NULL
9464 };
9465
9466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9468 if (!SWIG_IsOK(res1)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9470 }
9471 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9472 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9473 if (!SWIG_IsOK(res2)) {
9474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9475 }
9476 if (!argp2) {
9477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9478 }
9479 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = SWIG_Py_Void();
9487 return resultobj;
9488 fail:
9489 return NULL;
9490 }
9491
9492
9493 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj = 0;
9495 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9496 wxTreeItemId *arg2 = 0 ;
9497 void *argp1 = 0 ;
9498 int res1 = 0 ;
9499 void *argp2 = 0 ;
9500 int res2 = 0 ;
9501 PyObject * obj0 = 0 ;
9502 PyObject * obj1 = 0 ;
9503 char * kwnames[] = {
9504 (char *) "self",(char *) "item", NULL
9505 };
9506
9507 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9508 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9509 if (!SWIG_IsOK(res1)) {
9510 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9511 }
9512 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9513 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9514 if (!SWIG_IsOK(res2)) {
9515 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9516 }
9517 if (!argp2) {
9518 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9519 }
9520 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9521 {
9522 PyThreadState* __tstate = wxPyBeginAllowThreads();
9523 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9524 wxPyEndAllowThreads(__tstate);
9525 if (PyErr_Occurred()) SWIG_fail;
9526 }
9527 resultobj = SWIG_Py_Void();
9528 return resultobj;
9529 fail:
9530 return NULL;
9531 }
9532
9533
9534 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9535 PyObject *resultobj = 0;
9536 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9537 wxTreeItemId *arg2 = 0 ;
9538 void *argp1 = 0 ;
9539 int res1 = 0 ;
9540 void *argp2 = 0 ;
9541 int res2 = 0 ;
9542 PyObject * obj0 = 0 ;
9543 PyObject * obj1 = 0 ;
9544 char * kwnames[] = {
9545 (char *) "self",(char *) "item", NULL
9546 };
9547
9548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9550 if (!SWIG_IsOK(res1)) {
9551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9552 }
9553 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9554 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9555 if (!SWIG_IsOK(res2)) {
9556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9557 }
9558 if (!argp2) {
9559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9560 }
9561 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9565 wxPyEndAllowThreads(__tstate);
9566 if (PyErr_Occurred()) SWIG_fail;
9567 }
9568 resultobj = SWIG_Py_Void();
9569 return resultobj;
9570 fail:
9571 return NULL;
9572 }
9573
9574
9575 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9576 PyObject *resultobj = 0;
9577 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9578 wxTreeItemId *arg2 = 0 ;
9579 void *argp1 = 0 ;
9580 int res1 = 0 ;
9581 void *argp2 = 0 ;
9582 int res2 = 0 ;
9583 PyObject * obj0 = 0 ;
9584 PyObject * obj1 = 0 ;
9585 char * kwnames[] = {
9586 (char *) "self",(char *) "item", NULL
9587 };
9588
9589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9591 if (!SWIG_IsOK(res1)) {
9592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9593 }
9594 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9596 if (!SWIG_IsOK(res2)) {
9597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9598 }
9599 if (!argp2) {
9600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9601 }
9602 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 resultobj = SWIG_Py_Void();
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9617 PyObject *resultobj = 0;
9618 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9619 void *argp1 = 0 ;
9620 int res1 = 0 ;
9621 PyObject *swig_obj[1] ;
9622
9623 if (!args) SWIG_fail;
9624 swig_obj[0] = args;
9625 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9626 if (!SWIG_IsOK(res1)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9628 }
9629 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 (arg1)->Unselect();
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 resultobj = SWIG_Py_Void();
9637 return resultobj;
9638 fail:
9639 return NULL;
9640 }
9641
9642
9643 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9644 PyObject *resultobj = 0;
9645 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9646 void *argp1 = 0 ;
9647 int res1 = 0 ;
9648 PyObject *swig_obj[1] ;
9649
9650 if (!args) SWIG_fail;
9651 swig_obj[0] = args;
9652 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9653 if (!SWIG_IsOK(res1)) {
9654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9655 }
9656 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 (arg1)->UnselectAll();
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
9663 resultobj = SWIG_Py_Void();
9664 return resultobj;
9665 fail:
9666 return NULL;
9667 }
9668
9669
9670 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj = 0;
9672 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9673 wxTreeItemId *arg2 = 0 ;
9674 bool arg3 = (bool) true ;
9675 bool arg4 = (bool) false ;
9676 void *argp1 = 0 ;
9677 int res1 = 0 ;
9678 void *argp2 = 0 ;
9679 int res2 = 0 ;
9680 bool val3 ;
9681 int ecode3 = 0 ;
9682 bool val4 ;
9683 int ecode4 = 0 ;
9684 PyObject * obj0 = 0 ;
9685 PyObject * obj1 = 0 ;
9686 PyObject * obj2 = 0 ;
9687 PyObject * obj3 = 0 ;
9688 char * kwnames[] = {
9689 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9690 };
9691
9692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9694 if (!SWIG_IsOK(res1)) {
9695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9696 }
9697 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9698 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9699 if (!SWIG_IsOK(res2)) {
9700 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9701 }
9702 if (!argp2) {
9703 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9704 }
9705 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9706 if (obj2) {
9707 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9708 if (!SWIG_IsOK(ecode3)) {
9709 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9710 }
9711 arg3 = static_cast< bool >(val3);
9712 }
9713 if (obj3) {
9714 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9715 if (!SWIG_IsOK(ecode4)) {
9716 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9717 }
9718 arg4 = static_cast< bool >(val4);
9719 }
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = SWIG_Py_Void();
9727 return resultobj;
9728 fail:
9729 return NULL;
9730 }
9731
9732
9733 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj = 0;
9735 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9736 bool arg2 = (bool) false ;
9737 void *argp1 = 0 ;
9738 int res1 = 0 ;
9739 bool val2 ;
9740 int ecode2 = 0 ;
9741 PyObject * obj0 = 0 ;
9742 PyObject * obj1 = 0 ;
9743 char * kwnames[] = {
9744 (char *) "self",(char *) "extended_select", NULL
9745 };
9746
9747 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9748 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9749 if (!SWIG_IsOK(res1)) {
9750 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9751 }
9752 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9753 if (obj1) {
9754 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9755 if (!SWIG_IsOK(ecode2)) {
9756 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9757 }
9758 arg2 = static_cast< bool >(val2);
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 (arg1)->SelectAll(arg2);
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_Py_Void();
9767 return resultobj;
9768 fail:
9769 return NULL;
9770 }
9771
9772
9773 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9774 PyObject *resultobj = 0;
9775 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9776 wxTreeItemId *arg2 = 0 ;
9777 void *argp1 = 0 ;
9778 int res1 = 0 ;
9779 void *argp2 = 0 ;
9780 int res2 = 0 ;
9781 PyObject * obj0 = 0 ;
9782 PyObject * obj1 = 0 ;
9783 char * kwnames[] = {
9784 (char *) "self",(char *) "item", NULL
9785 };
9786
9787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9789 if (!SWIG_IsOK(res1)) {
9790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9791 }
9792 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9793 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9794 if (!SWIG_IsOK(res2)) {
9795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9796 }
9797 if (!argp2) {
9798 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9799 }
9800 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9801 {
9802 PyThreadState* __tstate = wxPyBeginAllowThreads();
9803 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
9807 resultobj = SWIG_Py_Void();
9808 return resultobj;
9809 fail:
9810 return NULL;
9811 }
9812
9813
9814 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj = 0;
9816 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9817 wxTreeItemId *arg2 = 0 ;
9818 void *argp1 = 0 ;
9819 int res1 = 0 ;
9820 void *argp2 = 0 ;
9821 int res2 = 0 ;
9822 PyObject * obj0 = 0 ;
9823 PyObject * obj1 = 0 ;
9824 char * kwnames[] = {
9825 (char *) "self",(char *) "item", NULL
9826 };
9827
9828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9830 if (!SWIG_IsOK(res1)) {
9831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9832 }
9833 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9835 if (!SWIG_IsOK(res2)) {
9836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9837 }
9838 if (!argp2) {
9839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9840 }
9841 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9842 {
9843 PyThreadState* __tstate = wxPyBeginAllowThreads();
9844 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9845 wxPyEndAllowThreads(__tstate);
9846 if (PyErr_Occurred()) SWIG_fail;
9847 }
9848 resultobj = SWIG_Py_Void();
9849 return resultobj;
9850 fail:
9851 return NULL;
9852 }
9853
9854
9855 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9856 PyObject *resultobj = 0;
9857 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9858 wxPoint *arg2 = 0 ;
9859 int *arg3 = 0 ;
9860 int *arg4 = 0 ;
9861 wxTreeItemId result;
9862 void *argp1 = 0 ;
9863 int res1 = 0 ;
9864 wxPoint temp2 ;
9865 int temp3 ;
9866 int res3 = SWIG_TMPOBJ ;
9867 int temp4 ;
9868 int res4 = SWIG_TMPOBJ ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char * kwnames[] = {
9872 (char *) "self",(char *) "point", NULL
9873 };
9874
9875 arg3 = &temp3;
9876 arg4 = &temp4;
9877 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9878 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9879 if (!SWIG_IsOK(res1)) {
9880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9881 }
9882 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9883 {
9884 arg2 = &temp2;
9885 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9890 wxPyEndAllowThreads(__tstate);
9891 if (PyErr_Occurred()) SWIG_fail;
9892 }
9893 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9894 if (SWIG_IsTmpObj(res3)) {
9895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9896 } else {
9897 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9899 }
9900 if (SWIG_IsTmpObj(res4)) {
9901 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9902 } else {
9903 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9904 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9905 }
9906 return resultobj;
9907 fail:
9908 return NULL;
9909 }
9910
9911
9912 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9913 PyObject *resultobj = 0;
9914 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9915 wxTreeItemId *arg2 = 0 ;
9916 bool arg3 = (bool) false ;
9917 PyObject *result = 0 ;
9918 void *argp1 = 0 ;
9919 int res1 = 0 ;
9920 void *argp2 = 0 ;
9921 int res2 = 0 ;
9922 bool val3 ;
9923 int ecode3 = 0 ;
9924 PyObject * obj0 = 0 ;
9925 PyObject * obj1 = 0 ;
9926 PyObject * obj2 = 0 ;
9927 char * kwnames[] = {
9928 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9929 };
9930
9931 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9932 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9933 if (!SWIG_IsOK(res1)) {
9934 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9935 }
9936 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9937 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9938 if (!SWIG_IsOK(res2)) {
9939 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9940 }
9941 if (!argp2) {
9942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9943 }
9944 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9945 if (obj2) {
9946 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9947 if (!SWIG_IsOK(ecode3)) {
9948 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9949 }
9950 arg3 = static_cast< bool >(val3);
9951 }
9952 {
9953 PyThreadState* __tstate = wxPyBeginAllowThreads();
9954 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 resultobj = result;
9959 return resultobj;
9960 fail:
9961 return NULL;
9962 }
9963
9964
9965 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj = 0;
9967 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9968 wxTreeItemId *arg2 = 0 ;
9969 void *argp1 = 0 ;
9970 int res1 = 0 ;
9971 void *argp2 = 0 ;
9972 int res2 = 0 ;
9973 PyObject * obj0 = 0 ;
9974 PyObject * obj1 = 0 ;
9975 char * kwnames[] = {
9976 (char *) "self",(char *) "item", NULL
9977 };
9978
9979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9981 if (!SWIG_IsOK(res1)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9983 }
9984 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9985 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9986 if (!SWIG_IsOK(res2)) {
9987 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9988 }
9989 if (!argp2) {
9990 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9991 }
9992 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9993 {
9994 PyThreadState* __tstate = wxPyBeginAllowThreads();
9995 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9996 wxPyEndAllowThreads(__tstate);
9997 if (PyErr_Occurred()) SWIG_fail;
9998 }
9999 resultobj = SWIG_Py_Void();
10000 return resultobj;
10001 fail:
10002 return NULL;
10003 }
10004
10005
10006 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10007 PyObject *resultobj = 0;
10008 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10009 wxTreeItemId *arg2 = 0 ;
10010 void *argp1 = 0 ;
10011 int res1 = 0 ;
10012 void *argp2 = 0 ;
10013 int res2 = 0 ;
10014 PyObject * obj0 = 0 ;
10015 PyObject * obj1 = 0 ;
10016 char * kwnames[] = {
10017 (char *) "self",(char *) "item", NULL
10018 };
10019
10020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10022 if (!SWIG_IsOK(res1)) {
10023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10024 }
10025 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10026 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10027 if (!SWIG_IsOK(res2)) {
10028 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10029 }
10030 if (!argp2) {
10031 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10032 }
10033 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->Edit((wxTreeItemId const &)*arg2);
10037 wxPyEndAllowThreads(__tstate);
10038 if (PyErr_Occurred()) SWIG_fail;
10039 }
10040 resultobj = SWIG_Py_Void();
10041 return resultobj;
10042 fail:
10043 return NULL;
10044 }
10045
10046
10047 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10048 PyObject *resultobj = 0;
10049 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10050 wxTreeItemId *arg2 = 0 ;
10051 void *argp1 = 0 ;
10052 int res1 = 0 ;
10053 void *argp2 = 0 ;
10054 int res2 = 0 ;
10055 PyObject * obj0 = 0 ;
10056 PyObject * obj1 = 0 ;
10057 char * kwnames[] = {
10058 (char *) "self",(char *) "item", NULL
10059 };
10060
10061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10063 if (!SWIG_IsOK(res1)) {
10064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10065 }
10066 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10068 if (!SWIG_IsOK(res2)) {
10069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10070 }
10071 if (!argp2) {
10072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10073 }
10074 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10075 {
10076 PyThreadState* __tstate = wxPyBeginAllowThreads();
10077 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = SWIG_Py_Void();
10082 return resultobj;
10083 fail:
10084 return NULL;
10085 }
10086
10087
10088 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj = 0;
10090 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10091 wxTreeItemId *arg2 = 0 ;
10092 wxString *arg3 = 0 ;
10093 int arg4 = (int) 0 ;
10094 wxTreeItemId result;
10095 void *argp1 = 0 ;
10096 int res1 = 0 ;
10097 void *argp2 = 0 ;
10098 int res2 = 0 ;
10099 bool temp3 = false ;
10100 int val4 ;
10101 int ecode4 = 0 ;
10102 PyObject * obj0 = 0 ;
10103 PyObject * obj1 = 0 ;
10104 PyObject * obj2 = 0 ;
10105 PyObject * obj3 = 0 ;
10106 char * kwnames[] = {
10107 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10108 };
10109
10110 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10111 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10112 if (!SWIG_IsOK(res1)) {
10113 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10114 }
10115 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10116 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10117 if (!SWIG_IsOK(res2)) {
10118 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10119 }
10120 if (!argp2) {
10121 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10122 }
10123 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10124 {
10125 arg3 = wxString_in_helper(obj2);
10126 if (arg3 == NULL) SWIG_fail;
10127 temp3 = true;
10128 }
10129 if (obj3) {
10130 ecode4 = SWIG_AsVal_int(obj3, &val4);
10131 if (!SWIG_IsOK(ecode4)) {
10132 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10133 }
10134 arg4 = static_cast< int >(val4);
10135 }
10136 {
10137 PyThreadState* __tstate = wxPyBeginAllowThreads();
10138 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10139 wxPyEndAllowThreads(__tstate);
10140 if (PyErr_Occurred()) SWIG_fail;
10141 }
10142 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10143 {
10144 if (temp3)
10145 delete arg3;
10146 }
10147 return resultobj;
10148 fail:
10149 {
10150 if (temp3)
10151 delete arg3;
10152 }
10153 return NULL;
10154 }
10155
10156
10157 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10158 PyObject *resultobj = 0;
10159 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10160 wxWindow *result = 0 ;
10161 void *argp1 = 0 ;
10162 int res1 = 0 ;
10163 PyObject *swig_obj[1] ;
10164
10165 if (!args) SWIG_fail;
10166 swig_obj[0] = args;
10167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10168 if (!SWIG_IsOK(res1)) {
10169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10170 }
10171 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10175 wxPyEndAllowThreads(__tstate);
10176 if (PyErr_Occurred()) SWIG_fail;
10177 }
10178 {
10179 resultobj = wxPyMake_wxObject(result, 0);
10180 }
10181 return resultobj;
10182 fail:
10183 return NULL;
10184 }
10185
10186
10187 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10190 wxScrolledWindow *result = 0 ;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10200 }
10201 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 {
10209 resultobj = wxPyMake_wxObject(result, 0);
10210 }
10211 return resultobj;
10212 fail:
10213 return NULL;
10214 }
10215
10216
10217 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10218 PyObject *obj;
10219 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10220 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10221 return SWIG_Py_Void();
10222 }
10223
10224 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10225 return SWIG_Python_InitShadowInstance(args);
10226 }
10227
10228 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj = 0;
10230 wxWindow *arg1 = (wxWindow *) 0 ;
10231 int arg2 = (int) -1 ;
10232 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10233 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10234 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10235 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10236 wxSize const &arg5_defvalue = wxDefaultSize ;
10237 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10238 long arg6 = (long) 0 ;
10239 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10240 wxString *arg7 = (wxString *) &arg7_defvalue ;
10241 wxStaticPicture *result = 0 ;
10242 void *argp1 = 0 ;
10243 int res1 = 0 ;
10244 int val2 ;
10245 int ecode2 = 0 ;
10246 void *argp3 = 0 ;
10247 int res3 = 0 ;
10248 wxPoint temp4 ;
10249 wxSize temp5 ;
10250 long val6 ;
10251 int ecode6 = 0 ;
10252 bool temp7 = false ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 PyObject * obj2 = 0 ;
10256 PyObject * obj3 = 0 ;
10257 PyObject * obj4 = 0 ;
10258 PyObject * obj5 = 0 ;
10259 PyObject * obj6 = 0 ;
10260 char * kwnames[] = {
10261 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10262 };
10263
10264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10266 if (!SWIG_IsOK(res1)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10268 }
10269 arg1 = reinterpret_cast< wxWindow * >(argp1);
10270 if (obj1) {
10271 ecode2 = SWIG_AsVal_int(obj1, &val2);
10272 if (!SWIG_IsOK(ecode2)) {
10273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10274 }
10275 arg2 = static_cast< int >(val2);
10276 }
10277 if (obj2) {
10278 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10279 if (!SWIG_IsOK(res3)) {
10280 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10281 }
10282 if (!argp3) {
10283 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10284 }
10285 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10286 }
10287 if (obj3) {
10288 {
10289 arg4 = &temp4;
10290 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10291 }
10292 }
10293 if (obj4) {
10294 {
10295 arg5 = &temp5;
10296 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10297 }
10298 }
10299 if (obj5) {
10300 ecode6 = SWIG_AsVal_long(obj5, &val6);
10301 if (!SWIG_IsOK(ecode6)) {
10302 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10303 }
10304 arg6 = static_cast< long >(val6);
10305 }
10306 if (obj6) {
10307 {
10308 arg7 = wxString_in_helper(obj6);
10309 if (arg7 == NULL) SWIG_fail;
10310 temp7 = true;
10311 }
10312 }
10313 {
10314 if (!wxPyCheckForApp()) SWIG_fail;
10315 PyThreadState* __tstate = wxPyBeginAllowThreads();
10316 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10317 wxPyEndAllowThreads(__tstate);
10318 if (PyErr_Occurred()) SWIG_fail;
10319 }
10320 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10321 {
10322 if (temp7)
10323 delete arg7;
10324 }
10325 return resultobj;
10326 fail:
10327 {
10328 if (temp7)
10329 delete arg7;
10330 }
10331 return NULL;
10332 }
10333
10334
10335 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10336 PyObject *resultobj = 0;
10337 wxStaticPicture *result = 0 ;
10338
10339 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10340 {
10341 if (!wxPyCheckForApp()) SWIG_fail;
10342 PyThreadState* __tstate = wxPyBeginAllowThreads();
10343 result = (wxStaticPicture *)new wxStaticPicture();
10344 wxPyEndAllowThreads(__tstate);
10345 if (PyErr_Occurred()) SWIG_fail;
10346 }
10347 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10348 return resultobj;
10349 fail:
10350 return NULL;
10351 }
10352
10353
10354 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj = 0;
10356 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10357 wxWindow *arg2 = (wxWindow *) 0 ;
10358 int arg3 = (int) -1 ;
10359 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10360 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10361 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10362 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10363 wxSize const &arg6_defvalue = wxDefaultSize ;
10364 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10365 long arg7 = (long) 0 ;
10366 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10367 wxString *arg8 = (wxString *) &arg8_defvalue ;
10368 bool result;
10369 void *argp1 = 0 ;
10370 int res1 = 0 ;
10371 void *argp2 = 0 ;
10372 int res2 = 0 ;
10373 int val3 ;
10374 int ecode3 = 0 ;
10375 void *argp4 = 0 ;
10376 int res4 = 0 ;
10377 wxPoint temp5 ;
10378 wxSize temp6 ;
10379 long val7 ;
10380 int ecode7 = 0 ;
10381 bool temp8 = false ;
10382 PyObject * obj0 = 0 ;
10383 PyObject * obj1 = 0 ;
10384 PyObject * obj2 = 0 ;
10385 PyObject * obj3 = 0 ;
10386 PyObject * obj4 = 0 ;
10387 PyObject * obj5 = 0 ;
10388 PyObject * obj6 = 0 ;
10389 PyObject * obj7 = 0 ;
10390 char * kwnames[] = {
10391 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10392 };
10393
10394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10396 if (!SWIG_IsOK(res1)) {
10397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10398 }
10399 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10400 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10401 if (!SWIG_IsOK(res2)) {
10402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10403 }
10404 arg2 = reinterpret_cast< wxWindow * >(argp2);
10405 if (obj2) {
10406 ecode3 = SWIG_AsVal_int(obj2, &val3);
10407 if (!SWIG_IsOK(ecode3)) {
10408 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10409 }
10410 arg3 = static_cast< int >(val3);
10411 }
10412 if (obj3) {
10413 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10414 if (!SWIG_IsOK(res4)) {
10415 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10416 }
10417 if (!argp4) {
10418 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10419 }
10420 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10421 }
10422 if (obj4) {
10423 {
10424 arg5 = &temp5;
10425 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10426 }
10427 }
10428 if (obj5) {
10429 {
10430 arg6 = &temp6;
10431 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10432 }
10433 }
10434 if (obj6) {
10435 ecode7 = SWIG_AsVal_long(obj6, &val7);
10436 if (!SWIG_IsOK(ecode7)) {
10437 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10438 }
10439 arg7 = static_cast< long >(val7);
10440 }
10441 if (obj7) {
10442 {
10443 arg8 = wxString_in_helper(obj7);
10444 if (arg8 == NULL) SWIG_fail;
10445 temp8 = true;
10446 }
10447 }
10448 {
10449 PyThreadState* __tstate = wxPyBeginAllowThreads();
10450 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10451 wxPyEndAllowThreads(__tstate);
10452 if (PyErr_Occurred()) SWIG_fail;
10453 }
10454 {
10455 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10456 }
10457 {
10458 if (temp8)
10459 delete arg8;
10460 }
10461 return resultobj;
10462 fail:
10463 {
10464 if (temp8)
10465 delete arg8;
10466 }
10467 return NULL;
10468 }
10469
10470
10471 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj = 0;
10473 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10474 wxBitmap *arg2 = 0 ;
10475 void *argp1 = 0 ;
10476 int res1 = 0 ;
10477 void *argp2 = 0 ;
10478 int res2 = 0 ;
10479 PyObject * obj0 = 0 ;
10480 PyObject * obj1 = 0 ;
10481 char * kwnames[] = {
10482 (char *) "self",(char *) "bmp", NULL
10483 };
10484
10485 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10486 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10487 if (!SWIG_IsOK(res1)) {
10488 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10489 }
10490 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10491 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10492 if (!SWIG_IsOK(res2)) {
10493 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10494 }
10495 if (!argp2) {
10496 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10497 }
10498 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10502 wxPyEndAllowThreads(__tstate);
10503 if (PyErr_Occurred()) SWIG_fail;
10504 }
10505 resultobj = SWIG_Py_Void();
10506 return resultobj;
10507 fail:
10508 return NULL;
10509 }
10510
10511
10512 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10513 PyObject *resultobj = 0;
10514 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10515 wxBitmap result;
10516 void *argp1 = 0 ;
10517 int res1 = 0 ;
10518 PyObject *swig_obj[1] ;
10519
10520 if (!args) SWIG_fail;
10521 swig_obj[0] = args;
10522 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10523 if (!SWIG_IsOK(res1)) {
10524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10525 }
10526 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10530 wxPyEndAllowThreads(__tstate);
10531 if (PyErr_Occurred()) SWIG_fail;
10532 }
10533 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10534 return resultobj;
10535 fail:
10536 return NULL;
10537 }
10538
10539
10540 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10541 PyObject *resultobj = 0;
10542 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10543 wxIcon *arg2 = 0 ;
10544 void *argp1 = 0 ;
10545 int res1 = 0 ;
10546 void *argp2 = 0 ;
10547 int res2 = 0 ;
10548 PyObject * obj0 = 0 ;
10549 PyObject * obj1 = 0 ;
10550 char * kwnames[] = {
10551 (char *) "self",(char *) "icon", NULL
10552 };
10553
10554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10556 if (!SWIG_IsOK(res1)) {
10557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10558 }
10559 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10560 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10561 if (!SWIG_IsOK(res2)) {
10562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10563 }
10564 if (!argp2) {
10565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10566 }
10567 arg2 = reinterpret_cast< wxIcon * >(argp2);
10568 {
10569 PyThreadState* __tstate = wxPyBeginAllowThreads();
10570 (arg1)->SetIcon((wxIcon const &)*arg2);
10571 wxPyEndAllowThreads(__tstate);
10572 if (PyErr_Occurred()) SWIG_fail;
10573 }
10574 resultobj = SWIG_Py_Void();
10575 return resultobj;
10576 fail:
10577 return NULL;
10578 }
10579
10580
10581 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10582 PyObject *resultobj = 0;
10583 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10584 wxIcon result;
10585 void *argp1 = 0 ;
10586 int res1 = 0 ;
10587 PyObject *swig_obj[1] ;
10588
10589 if (!args) SWIG_fail;
10590 swig_obj[0] = args;
10591 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10592 if (!SWIG_IsOK(res1)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10594 }
10595 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10596 {
10597 PyThreadState* __tstate = wxPyBeginAllowThreads();
10598 result = ((wxStaticPicture const *)arg1)->GetIcon();
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10603 return resultobj;
10604 fail:
10605 return NULL;
10606 }
10607
10608
10609 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj = 0;
10611 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10612 int arg2 ;
10613 void *argp1 = 0 ;
10614 int res1 = 0 ;
10615 int val2 ;
10616 int ecode2 = 0 ;
10617 PyObject * obj0 = 0 ;
10618 PyObject * obj1 = 0 ;
10619 char * kwnames[] = {
10620 (char *) "self",(char *) "align", NULL
10621 };
10622
10623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10625 if (!SWIG_IsOK(res1)) {
10626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10627 }
10628 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10629 ecode2 = SWIG_AsVal_int(obj1, &val2);
10630 if (!SWIG_IsOK(ecode2)) {
10631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10632 }
10633 arg2 = static_cast< int >(val2);
10634 {
10635 PyThreadState* __tstate = wxPyBeginAllowThreads();
10636 (arg1)->SetAlignment(arg2);
10637 wxPyEndAllowThreads(__tstate);
10638 if (PyErr_Occurred()) SWIG_fail;
10639 }
10640 resultobj = SWIG_Py_Void();
10641 return resultobj;
10642 fail:
10643 return NULL;
10644 }
10645
10646
10647 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10648 PyObject *resultobj = 0;
10649 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10650 int result;
10651 void *argp1 = 0 ;
10652 int res1 = 0 ;
10653 PyObject *swig_obj[1] ;
10654
10655 if (!args) SWIG_fail;
10656 swig_obj[0] = args;
10657 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10658 if (!SWIG_IsOK(res1)) {
10659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10660 }
10661 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_From_int(static_cast< int >(result));
10669 return resultobj;
10670 fail:
10671 return NULL;
10672 }
10673
10674
10675 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10676 PyObject *resultobj = 0;
10677 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10678 int arg2 ;
10679 void *argp1 = 0 ;
10680 int res1 = 0 ;
10681 int val2 ;
10682 int ecode2 = 0 ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 char * kwnames[] = {
10686 (char *) "self",(char *) "scale", NULL
10687 };
10688
10689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10691 if (!SWIG_IsOK(res1)) {
10692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10693 }
10694 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10695 ecode2 = SWIG_AsVal_int(obj1, &val2);
10696 if (!SWIG_IsOK(ecode2)) {
10697 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10698 }
10699 arg2 = static_cast< int >(val2);
10700 {
10701 PyThreadState* __tstate = wxPyBeginAllowThreads();
10702 (arg1)->SetScale(arg2);
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 resultobj = SWIG_Py_Void();
10707 return resultobj;
10708 fail:
10709 return NULL;
10710 }
10711
10712
10713 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10714 PyObject *resultobj = 0;
10715 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10716 int result;
10717 void *argp1 = 0 ;
10718 int res1 = 0 ;
10719 PyObject *swig_obj[1] ;
10720
10721 if (!args) SWIG_fail;
10722 swig_obj[0] = args;
10723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10724 if (!SWIG_IsOK(res1)) {
10725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10726 }
10727 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10728 {
10729 PyThreadState* __tstate = wxPyBeginAllowThreads();
10730 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10731 wxPyEndAllowThreads(__tstate);
10732 if (PyErr_Occurred()) SWIG_fail;
10733 }
10734 resultobj = SWIG_From_int(static_cast< int >(result));
10735 return resultobj;
10736 fail:
10737 return NULL;
10738 }
10739
10740
10741 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10742 PyObject *resultobj = 0;
10743 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10744 float arg2 ;
10745 float arg3 ;
10746 void *argp1 = 0 ;
10747 int res1 = 0 ;
10748 float val2 ;
10749 int ecode2 = 0 ;
10750 float val3 ;
10751 int ecode3 = 0 ;
10752 PyObject * obj0 = 0 ;
10753 PyObject * obj1 = 0 ;
10754 PyObject * obj2 = 0 ;
10755 char * kwnames[] = {
10756 (char *) "self",(char *) "sx",(char *) "sy", NULL
10757 };
10758
10759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10761 if (!SWIG_IsOK(res1)) {
10762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10763 }
10764 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10765 ecode2 = SWIG_AsVal_float(obj1, &val2);
10766 if (!SWIG_IsOK(ecode2)) {
10767 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10768 }
10769 arg2 = static_cast< float >(val2);
10770 ecode3 = SWIG_AsVal_float(obj2, &val3);
10771 if (!SWIG_IsOK(ecode3)) {
10772 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10773 }
10774 arg3 = static_cast< float >(val3);
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 (arg1)->SetCustomScale(arg2,arg3);
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 resultobj = SWIG_Py_Void();
10782 return resultobj;
10783 fail:
10784 return NULL;
10785 }
10786
10787
10788 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10789 PyObject *resultobj = 0;
10790 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10791 float *arg2 = (float *) 0 ;
10792 float *arg3 = (float *) 0 ;
10793 void *argp1 = 0 ;
10794 int res1 = 0 ;
10795 float temp2 ;
10796 int res2 = SWIG_TMPOBJ ;
10797 float temp3 ;
10798 int res3 = SWIG_TMPOBJ ;
10799 PyObject *swig_obj[1] ;
10800
10801 arg2 = &temp2;
10802 arg3 = &temp3;
10803 if (!args) SWIG_fail;
10804 swig_obj[0] = args;
10805 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10806 if (!SWIG_IsOK(res1)) {
10807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10808 }
10809 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 resultobj = SWIG_Py_Void();
10817 if (SWIG_IsTmpObj(res2)) {
10818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10819 } else {
10820 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10822 }
10823 if (SWIG_IsTmpObj(res3)) {
10824 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10825 } else {
10826 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10827 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10828 }
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10836 PyObject *obj;
10837 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10838 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10839 return SWIG_Py_Void();
10840 }
10841
10842 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10843 return SWIG_Python_InitShadowInstance(args);
10844 }
10845
10846 static PyMethodDef SwigMethods[] = {
10847 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10848 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10849 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10850 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10851 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10852 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10853 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10854 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10855 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10856 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10857 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10858 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10859 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10860 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10861 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10862 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10863 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10864 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10865 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10866 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10867 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10868 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10869 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10870 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10871 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10872 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10873 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10874 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10875 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10876 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10877 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10878 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10879 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10880 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10881 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10882 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10883 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10884 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10885 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10886 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10887 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10888 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10889 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10890 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10891 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10892 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10893 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10894 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10895 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10896 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10897 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10898 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10900 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10901 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10902 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10903 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10904 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10905 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10906 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10907 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10908 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10909 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10910 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10911 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10912 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10913 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10914 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10915 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10916 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10917 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10918 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10919 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10921 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10922 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10923 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10924 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10925 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10926 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10927 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10928 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10929 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10930 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10931 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10941 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10943 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10945 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10947 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10965 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10966 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10967 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10976 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10979 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10980 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10981 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10982 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10983 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10984 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10988 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10990 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10991 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10999 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
11001 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11002 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11003 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11004 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11005 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11006 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11007 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11008 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
11010 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11013 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11014 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11015 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11016 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11017 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11018 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11019 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11020 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11021 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11022 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11023 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11024 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11025 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11026 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11027 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11028 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11029 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11030 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11031 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11032 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11033 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11034 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11035 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11036 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11037 { NULL, NULL, 0, NULL }
11038 };
11039
11040
11041 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11042
11043 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11044 return (void *)((wxValidator *) ((wxPyValidator *) x));
11045 }
11046 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11047 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11048 }
11049 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11050 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11051 }
11052 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11053 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11054 }
11055 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11056 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11057 }
11058 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11059 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11060 }
11061 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11062 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11063 }
11064 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11065 return (void *)((wxPanel *) ((wxPyPanel *) x));
11066 }
11067 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11068 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11069 }
11070 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11071 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11072 }
11073 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11074 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11075 }
11076 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11077 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11078 }
11079 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11080 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11081 }
11082 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11083 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11084 }
11085 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11086 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11087 }
11088 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11089 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11090 }
11091 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11092 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11093 }
11094 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11095 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11096 }
11097 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11098 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11099 }
11100 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11101 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11102 }
11103 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11104 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11105 }
11106 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11107 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11108 }
11109 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11110 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11111 }
11112 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11113 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11114 }
11115 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11116 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11117 }
11118 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11119 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11120 }
11121 static void *_p_wxControlTo_p_wxWindow(void *x) {
11122 return (void *)((wxWindow *) ((wxControl *) x));
11123 }
11124 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11125 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11126 }
11127 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11128 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11129 }
11130 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11131 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11132 }
11133 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11134 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11135 }
11136 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11137 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11138 }
11139 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11140 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11141 }
11142 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11143 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11144 }
11145 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11146 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11147 }
11148 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11149 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11150 }
11151 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11152 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11153 }
11154 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11155 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11156 }
11157 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11158 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11159 }
11160 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11161 return (void *)((wxWindow *) ((wxPyWindow *) x));
11162 }
11163 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11165 }
11166 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11167 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11168 }
11169 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11171 }
11172 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11174 }
11175 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11177 }
11178 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11180 }
11181 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11183 }
11184 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11186 }
11187 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11189 }
11190 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11191 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11192 }
11193 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11195 }
11196 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11197 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11198 }
11199 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11200 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11201 }
11202 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11203 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11204 }
11205 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11206 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11207 }
11208 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11209 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11210 }
11211 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11212 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11213 }
11214 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11215 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11216 }
11217 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11218 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11219 }
11220 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11221 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11222 }
11223 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11224 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11225 }
11226 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11227 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11228 }
11229 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11230 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11231 }
11232 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11233 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11234 }
11235 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11236 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11237 }
11238 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11239 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11240 }
11241 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11242 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11243 }
11244 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11245 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11246 }
11247 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11248 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11249 }
11250 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11251 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11252 }
11253 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11254 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11255 }
11256 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11257 return (void *)((wxWindow *) ((wxStatusBar *) x));
11258 }
11259 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11260 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11261 }
11262 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11263 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11264 }
11265 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11266 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11267 }
11268 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11269 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11270 }
11271 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11272 return (void *)((wxWindow *) ((wxSashWindow *) x));
11273 }
11274 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11275 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11276 }
11277 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11278 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11279 }
11280 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11281 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11282 }
11283 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11284 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11285 }
11286 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11287 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11288 }
11289 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11290 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11291 }
11292 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11293 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11294 }
11295 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11296 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11297 }
11298 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11299 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11300 }
11301 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11302 return (void *)((wxWindow *) ((wxMenuBar *) x));
11303 }
11304 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11305 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11306 }
11307 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11308 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11309 }
11310 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11311 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11312 }
11313 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11314 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11315 }
11316 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11317 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11318 }
11319 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11320 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11321 }
11322 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11323 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11324 }
11325 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11326 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11327 }
11328 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11329 return (void *)((wxWindow *) ((wxPanel *) x));
11330 }
11331 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11332 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11333 }
11334 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11335 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11336 }
11337 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11338 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11339 }
11340 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11341 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11342 }
11343 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11344 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11345 }
11346 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11347 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11348 }
11349 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11350 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11351 }
11352 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11353 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11354 }
11355 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11356 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11357 }
11358 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11359 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11360 }
11361 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11362 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11363 }
11364 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11365 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11366 }
11367 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11368 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11369 }
11370 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11371 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11372 }
11373 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11374 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11375 }
11376 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11377 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11378 }
11379 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11380 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11381 }
11382 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11383 return (void *)((wxControl *) ((wxPickerBase *) x));
11384 }
11385 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11386 return (void *)((wxControl *) ((wxToggleButton *) x));
11387 }
11388 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11389 return (void *)((wxControl *) ((wxRadioButton *) x));
11390 }
11391 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11392 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11393 }
11394 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11395 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11396 }
11397 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11398 return (void *)((wxControl *) ((wxToolBarBase *) x));
11399 }
11400 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11401 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11402 }
11403 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11404 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11405 }
11406 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11407 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11408 }
11409 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11410 return (void *)((wxControl *) ((wxPyControl *) x));
11411 }
11412 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11413 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11414 }
11415 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11416 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11417 }
11418 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11419 return (void *)((wxControl *) ((wxScrollBar *) x));
11420 }
11421 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11422 return (void *)((wxControl *) ((wxControlWithItems *) x));
11423 }
11424 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11425 return (void *)((wxControl *) ((wxGauge *) x));
11426 }
11427 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11428 return (void *)((wxControl *) ((wxStaticLine *) x));
11429 }
11430 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11431 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11432 }
11433 static void *_p_wxListbookTo_p_wxControl(void *x) {
11434 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11435 }
11436 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
11437 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
11438 }
11439 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11440 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11441 }
11442 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11443 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11444 }
11445 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11446 return (void *)((wxControl *) ((wxCheckBox *) x));
11447 }
11448 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11449 return (void *)((wxControl *) ((wxRadioBox *) x));
11450 }
11451 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11452 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11453 }
11454 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11455 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11456 }
11457 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11458 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11459 }
11460 static void *_p_wxListViewTo_p_wxControl(void *x) {
11461 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11462 }
11463 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11464 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11465 }
11466 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11467 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11468 }
11469 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11470 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11471 }
11472 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11473 return (void *)((wxControl *) ((wxStaticText *) x));
11474 }
11475 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11476 return (void *)((wxControl *) ((wxStaticBox *) x));
11477 }
11478 static void *_p_wxSliderTo_p_wxControl(void *x) {
11479 return (void *)((wxControl *) ((wxSlider *) x));
11480 }
11481 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11482 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11483 }
11484 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11485 return (void *)((wxControl *) ((wxSpinButton *) x));
11486 }
11487 static void *_p_wxButtonTo_p_wxControl(void *x) {
11488 return (void *)((wxControl *) ((wxButton *) x));
11489 }
11490 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11491 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11492 }
11493 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11494 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11495 }
11496 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11497 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11498 }
11499 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
11500 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
11501 }
11502 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
11503 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
11504 }
11505 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
11506 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
11507 }
11508 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
11509 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
11510 }
11511 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11512 return (void *)((wxControl *) ((wxStaticPicture *) x));
11513 }
11514 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11515 return (void *)((wxControl *) ((wxTextCtrl *) x));
11516 }
11517 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11518 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11519 }
11520 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11521 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11522 }
11523 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11524 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11525 }
11526 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11527 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11528 }
11529 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11530 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11531 }
11532 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11533 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11534 }
11535 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11536 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11537 }
11538 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11539 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11540 }
11541 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11542 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11543 }
11544 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11545 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11546 }
11547 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
11548 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
11549 }
11550 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
11551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
11552 }
11553 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
11554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
11555 }
11556 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11557 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11558 }
11559 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11561 }
11562 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11563 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11564 }
11565 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11567 }
11568 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11569 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11570 }
11571 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
11572 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
11573 }
11574 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11575 return (void *)((wxEvent *) ((wxPyEvent *) x));
11576 }
11577 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11578 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11579 }
11580 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11581 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11582 }
11583 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11584 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11585 }
11586 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11587 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11588 }
11589 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11590 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11591 }
11592 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11593 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11594 }
11595 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11596 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11597 }
11598 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11599 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11600 }
11601 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11602 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11603 }
11604 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11605 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11606 }
11607 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11608 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11609 }
11610 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11612 }
11613 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11614 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11615 }
11616 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11617 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11618 }
11619 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11620 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11621 }
11622 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11623 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11624 }
11625 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11626 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11627 }
11628 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11629 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11630 }
11631 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11632 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11633 }
11634 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11635 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11636 }
11637 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11638 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11639 }
11640 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11641 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11642 }
11643 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11644 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11645 }
11646 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11647 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11648 }
11649 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11650 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11651 }
11652 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11653 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11654 }
11655 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11656 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11657 }
11658 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
11659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
11660 }
11661 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11662 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11663 }
11664 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11665 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11666 }
11667 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11668 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11669 }
11670 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11672 }
11673 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11674 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11675 }
11676 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11677 return (void *)((wxEvent *) ((wxShowEvent *) x));
11678 }
11679 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11680 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11681 }
11682 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11683 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11684 }
11685 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11687 }
11688 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11689 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11690 }
11691 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11692 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11693 }
11694 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11695 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11696 }
11697 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11698 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11699 }
11700 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11701 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11702 }
11703 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11705 }
11706 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11707 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11708 }
11709 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11710 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11711 }
11712 static void *_p_wxEventTo_p_wxObject(void *x) {
11713 return (void *)((wxObject *) ((wxEvent *) x));
11714 }
11715 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11716 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11717 }
11718 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11719 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11720 }
11721 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11722 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11723 }
11724 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11725 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11726 }
11727 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11728 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11729 }
11730 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11732 }
11733 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11734 return (void *)((wxObject *) ((wxMenuItem *) x));
11735 }
11736 static void *_p_wxImageTo_p_wxObject(void *x) {
11737 return (void *)((wxObject *) ((wxImage *) x));
11738 }
11739 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11740 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11741 }
11742 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11743 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11744 }
11745 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11746 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11747 }
11748 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11750 }
11751 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11752 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11753 }
11754 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11755 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11756 }
11757 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11758 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11759 }
11760 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11762 }
11763 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11765 }
11766 static void *_p_wxListItemTo_p_wxObject(void *x) {
11767 return (void *)((wxObject *) ((wxListItem *) x));
11768 }
11769 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11771 }
11772 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11774 }
11775 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11777 }
11778 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11780 }
11781 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11783 }
11784 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11786 }
11787 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11788 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11789 }
11790 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11792 }
11793 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11794 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11795 }
11796 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11797 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11798 }
11799 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11800 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11801 }
11802 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11803 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11804 }
11805 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11806 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11807 }
11808 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11810 }
11811 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11812 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11813 }
11814 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11816 }
11817 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11818 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11819 }
11820 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11821 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11822 }
11823 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11824 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11825 }
11826 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11827 return (void *)((wxObject *) ((wxPrinter *) x));
11828 }
11829 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11831 }
11832 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11834 }
11835 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11836 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11837 }
11838 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11839 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11840 }
11841 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11842 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11843 }
11844 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11845 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11846 }
11847 static void *_p_wxControlTo_p_wxObject(void *x) {
11848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11849 }
11850 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11852 }
11853 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11854 return (void *)((wxObject *) ((wxContextHelp *) x));
11855 }
11856 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11857 return (void *)((wxObject *) ((wxColourData *) x));
11858 }
11859 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11860 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11861 }
11862 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11863 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11864 }
11865 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11866 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11867 }
11868 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11869 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11870 }
11871 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11872 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11873 }
11874 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11875 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11876 }
11877 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11878 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11879 }
11880 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11881 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11882 }
11883 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11885 }
11886 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11888 }
11889 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11890 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11891 }
11892 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
11893 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
11894 }
11895 static void *_p_wxListEventTo_p_wxObject(void *x) {
11896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11897 }
11898 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11899 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11900 }
11901 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11902 return (void *)((wxObject *) ((wxPyPrintout *) x));
11903 }
11904 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11906 }
11907 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11909 }
11910 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11911 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11912 }
11913 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11915 }
11916 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11918 }
11919 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11921 }
11922 static void *_p_wxButtonTo_p_wxObject(void *x) {
11923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11924 }
11925 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11927 }
11928 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11929 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11930 }
11931 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11932 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11933 }
11934 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11935 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11936 }
11937 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11939 }
11940 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11942 }
11943 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11945 }
11946 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11948 }
11949 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11951 }
11952 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11953 return (void *)((wxObject *) ((wxPrintData *) x));
11954 }
11955 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11956 return (void *)((wxObject *) ((wxFontData *) x));
11957 }
11958 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11960 }
11961 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11962 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11963 }
11964 static void *_p_wxListbookTo_p_wxObject(void *x) {
11965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11966 }
11967 static void *_p_wxFrameTo_p_wxObject(void *x) {
11968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11969 }
11970 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11971 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11972 }
11973 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11975 }
11976 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11977 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11978 }
11979 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11981 }
11982 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11983 return (void *)((wxObject *) ((wxFileSystem *) x));
11984 }
11985 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11986 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11987 }
11988 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11989 return (void *)((wxObject *) ((wxPrintPreview *) x));
11990 }
11991 static void *_p_wxListViewTo_p_wxObject(void *x) {
11992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11993 }
11994 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11995 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11996 }
11997 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11998 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11999 }
12000 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12002 }
12003 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12005 }
12006 static void *_p_wxSizerTo_p_wxObject(void *x) {
12007 return (void *)((wxObject *) ((wxSizer *) x));
12008 }
12009 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12010 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12011 }
12012 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12013 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12014 }
12015 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12016 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12017 }
12018 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12019 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12020 }
12021 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12022 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12023 }
12024 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12026 }
12027 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12028 return (void *)((wxObject *) ((wxFSFile *) x));
12029 }
12030 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12032 }
12033 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12035 }
12036 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12037 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12038 }
12039 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12040 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12041 }
12042 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12043 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12044 }
12045 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12046 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12047 }
12048 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12050 }
12051 static void *_p_wxMenuTo_p_wxObject(void *x) {
12052 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12053 }
12054 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12055 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12056 }
12057 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12058 return (void *)((wxObject *) ((wxSizerItem *) x));
12059 }
12060 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12062 }
12063 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12065 }
12066 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12067 return (void *)((wxObject *) ((wxPrintDialog *) x));
12068 }
12069 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12070 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12071 }
12072 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12074 }
12075 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12077 }
12078 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12080 }
12081 static void *_p_wxDialogTo_p_wxObject(void *x) {
12082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12083 }
12084 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12086 }
12087 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12088 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12089 }
12090 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12091 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12092 }
12093 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12094 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12095 }
12096 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12098 }
12099 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12100 return (void *)((wxObject *) ((wxEvtHandler *) x));
12101 }
12102 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12103 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12104 }
12105 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12106 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12107 }
12108 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12109 return (void *)((wxObject *) ((wxImageHandler *) x));
12110 }
12111 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12112 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12113 }
12114 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12115 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12116 }
12117 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12118 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12119 }
12120 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12121 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12122 }
12123 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12124 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12125 }
12126 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12127 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12128 }
12129 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12130 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12131 }
12132 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12133 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12134 }
12135 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12136 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12137 }
12138 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12139 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12140 }
12141 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12142 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12143 }
12144 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12146 }
12147 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12149 }
12150 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12152 }
12153 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12155 }
12156 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12158 }
12159 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12161 }
12162 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12164 }
12165 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12167 }
12168 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12169 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12170 }
12171 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12173 }
12174 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12176 }
12177 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12179 }
12180 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12182 }
12183 static void *_p_wxWindowTo_p_wxObject(void *x) {
12184 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12185 }
12186 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12187 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12188 }
12189 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12190 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12191 }
12192 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12193 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12194 }
12195 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12196 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12197 }
12198 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12200 }
12201 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12202 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12203 }
12204 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12205 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12206 }
12207 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12208 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12209 }
12210 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12211 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12212 }
12213 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12214 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12215 }
12216 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12218 }
12219 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12221 }
12222 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12224 }
12225 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12227 }
12228 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12230 }
12231 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12233 }
12234 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12236 }
12237 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12239 }
12240 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12242 }
12243 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12244 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12245 }
12246 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12248 }
12249 static void *_p_wxSliderTo_p_wxObject(void *x) {
12250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12251 }
12252 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12253 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12254 }
12255 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12256 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12257 }
12258 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12259 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12260 }
12261 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12263 }
12264 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12266 }
12267 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12268 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12269 }
12270 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12271 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12272 }
12273 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12274 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12275 }
12276 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12277 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12278 }
12279 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12280 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12281 }
12282 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12284 }
12285 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12287 }
12288 static void *_p_wxPanelTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12290 }
12291 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12293 }
12294 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12296 }
12297 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12299 }
12300 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12302 }
12303 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12305 }
12306 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12308 }
12309 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12311 }
12312 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12314 }
12315 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12317 }
12318 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12320 }
12321 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12323 }
12324 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12326 }
12327 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12329 }
12330 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12332 }
12333 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12335 }
12336 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12338 }
12339 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12340 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12341 }
12342 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12343 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12344 }
12345 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12346 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12347 }
12348 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12350 }
12351 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12353 }
12354 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12356 }
12357 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12358 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12359 }
12360 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12361 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12362 }
12363 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12365 }
12366 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12367 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12368 }
12369 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12371 }
12372 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12374 }
12375 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12377 }
12378 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12379 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12380 }
12381 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12383 }
12384 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12385 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12386 }
12387 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12389 }
12390 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12392 }
12393 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12395 }
12396 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12398 }
12399 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12400 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12401 }
12402 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12404 }
12405 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12406 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12407 }
12408 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12409 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12410 }
12411 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12413 }
12414 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12415 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12416 }
12417 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12419 }
12420 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12421 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12422 }
12423 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12424 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12425 }
12426 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12428 }
12429 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12430 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12431 }
12432 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12433 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12434 }
12435 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12437 }
12438 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12439 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12440 }
12441 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
12442 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12443 }
12444 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12445 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12446 }
12447 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12448 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12449 }
12450 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12451 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12452 }
12453 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12454 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12455 }
12456 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12457 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12458 }
12459 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12460 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12461 }
12462 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12463 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12464 }
12465 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12467 }
12468 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12470 }
12471 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12473 }
12474 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12476 }
12477 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12478 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12479 }
12480 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12481 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12482 }
12483 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12484 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12485 }
12486 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12488 }
12489 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12490 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12491 }
12492 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12493 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12494 }
12495 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12497 }
12498 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12499 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12500 }
12501 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12502 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12503 }
12504 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12506 }
12507 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12508 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12509 }
12510 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12511 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12512 }
12513 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12514 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12515 }
12516 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12517 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12518 }
12519 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12520 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12521 }
12522 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12523 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12524 }
12525 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12526 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12527 }
12528 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12529 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12530 }
12531 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12532 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12533 }
12534 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12536 }
12537 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12539 }
12540 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12541 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12542 }
12543 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12544 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12545 }
12546 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12547 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12548 }
12549 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12551 }
12552 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12553 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12554 }
12555 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12557 }
12558 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12559 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12560 }
12561 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12562 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12563 }
12564 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12565 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12566 }
12567 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12568 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12569 }
12570 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12571 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12572 }
12573 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12574 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12575 }
12576 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12578 }
12579 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12580 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12581 }
12582 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12583 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12584 }
12585 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12586 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12587 }
12588 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12589 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12590 }
12591 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12592 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12593 }
12594 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12595 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12596 }
12597 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12598 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12599 }
12600 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12601 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12602 }
12603 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12605 }
12606 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12607 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12608 }
12609 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12610 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12611 }
12612 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12614 }
12615 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
12616 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12617 }
12618 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
12619 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12620 }
12621 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
12622 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12623 }
12624 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
12625 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12626 }
12627 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12628 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12629 }
12630 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
12631 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12632 }
12633 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12634 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12635 }
12636 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12637 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12638 }
12639 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12640 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12641 }
12642 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12643 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12644 }
12645 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12646 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12647 }
12648 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12649 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12650 }
12651 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
12652 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
12653 }
12654 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12655 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12656 }
12657 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12658 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12659 }
12660 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
12661 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
12662 }
12663 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
12664 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12665 }
12666 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
12667 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
12668 }
12669 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12670 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12671 }
12672 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12673 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12674 }
12675 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12676 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12677 }
12678 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12679 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12680 }
12681 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12682 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12683 }
12684 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12685 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12686 }
12687 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12688 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12689 }
12690 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12691 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12692 }
12693 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12694 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12695 }
12696 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12697 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12698 }
12699 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12700 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12701 }
12702 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12703 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12704 }
12705 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12706 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12707 }
12708 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12709 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12710 }
12711 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12712 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12713 }
12714 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12715 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12716 }
12717 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12718 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12719 }
12720 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12721 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12722 }
12723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12724 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12725 }
12726 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12727 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12728 }
12729 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12730 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12731 }
12732 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12733 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12734 }
12735 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12736 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12737 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};
12738 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12739 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12740 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12741 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12742 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12743 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12744 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12745 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12746 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12775 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12795 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12796 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12797 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12798 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12799 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12800 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12801 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12802 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12803 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12804 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12806 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12807 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12808 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12809 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12810 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
12811 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
12812 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
12813 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
12814 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12815 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12816 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12817 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12818 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12819 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12820 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12821 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12822 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12823 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12824 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12825 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12826 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12827 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12828 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
12829 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12830 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12831 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12832 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12833 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12834 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12835 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12836 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12837 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12838 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12839 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12840 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12841 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12842 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12843 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12844 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12845 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12846 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12847 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12848 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12849 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12850 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12851 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12852 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12853 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12854 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12855 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12856 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12857 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12858 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12859 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12860 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12861 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12862 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12863 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12864 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
12865 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12866 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12867 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12868 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12869 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12870 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12871 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12872 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12873 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12874 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12875 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12876 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12877 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12878 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12879 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12880 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12881 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12882 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12883 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12884 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12885 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12886 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12887 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12888 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12889 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12890 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12891 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12892 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12893 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12894 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12895 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12896 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12897 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12898 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12899 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12900 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12901 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12902 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12903 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12904 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12905 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12906 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12907 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12908 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12909 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12910 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12911 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12912 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12913 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12914 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12915 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12916 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12917 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12918 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12919 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12920 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12921 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12922 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12923 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12924 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12925 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12926 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12927 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12928 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12929 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12930 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12931 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12932 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12933 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12934 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12935 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12936 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12937 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12938 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12939 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12940 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12941 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12942 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12943 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12944 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12945 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12946 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12947 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12948 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12949 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12950 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12951 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12952 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12953 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12954 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12955 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12956 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12957 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12958 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12959 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12960 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12961 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12962 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12963 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12964 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12965
12966 static swig_type_info *swig_type_initial[] = {
12967 &_swigt__p_char,
12968 &_swigt__p_float,
12969 &_swigt__p_form_ops_t,
12970 &_swigt__p_int,
12971 &_swigt__p_unsigned_char,
12972 &_swigt__p_unsigned_int,
12973 &_swigt__p_unsigned_long,
12974 &_swigt__p_wxANIHandler,
12975 &_swigt__p_wxAcceleratorTable,
12976 &_swigt__p_wxActivateEvent,
12977 &_swigt__p_wxArrayString,
12978 &_swigt__p_wxBMPHandler,
12979 &_swigt__p_wxBitmap,
12980 &_swigt__p_wxBitmapButton,
12981 &_swigt__p_wxBookCtrlBase,
12982 &_swigt__p_wxBookCtrlBaseEvent,
12983 &_swigt__p_wxBoxSizer,
12984 &_swigt__p_wxButton,
12985 &_swigt__p_wxCURHandler,
12986 &_swigt__p_wxCalculateLayoutEvent,
12987 &_swigt__p_wxCheckBox,
12988 &_swigt__p_wxCheckListBox,
12989 &_swigt__p_wxChildFocusEvent,
12990 &_swigt__p_wxChoice,
12991 &_swigt__p_wxChoicebook,
12992 &_swigt__p_wxChoicebookEvent,
12993 &_swigt__p_wxClipboardTextEvent,
12994 &_swigt__p_wxCloseEvent,
12995 &_swigt__p_wxColour,
12996 &_swigt__p_wxColourData,
12997 &_swigt__p_wxColourDialog,
12998 &_swigt__p_wxColourPickerCtrl,
12999 &_swigt__p_wxColourPickerEvent,
13000 &_swigt__p_wxComboBox,
13001 &_swigt__p_wxCommandEvent,
13002 &_swigt__p_wxContextHelp,
13003 &_swigt__p_wxContextHelpButton,
13004 &_swigt__p_wxContextMenuEvent,
13005 &_swigt__p_wxControl,
13006 &_swigt__p_wxControlWithItems,
13007 &_swigt__p_wxDateEvent,
13008 &_swigt__p_wxDatePickerCtrl,
13009 &_swigt__p_wxDialog,
13010 &_swigt__p_wxDirDialog,
13011 &_swigt__p_wxDirFilterListCtrl,
13012 &_swigt__p_wxDirPickerCtrl,
13013 &_swigt__p_wxDisplayChangedEvent,
13014 &_swigt__p_wxDropFilesEvent,
13015 &_swigt__p_wxDuplexMode,
13016 &_swigt__p_wxDynamicSashSplitEvent,
13017 &_swigt__p_wxDynamicSashUnifyEvent,
13018 &_swigt__p_wxDynamicSashWindow,
13019 &_swigt__p_wxEditableListBox,
13020 &_swigt__p_wxEraseEvent,
13021 &_swigt__p_wxEvent,
13022 &_swigt__p_wxEvtHandler,
13023 &_swigt__p_wxFSFile,
13024 &_swigt__p_wxFileDialog,
13025 &_swigt__p_wxFileDirPickerEvent,
13026 &_swigt__p_wxFilePickerCtrl,
13027 &_swigt__p_wxFileSystem,
13028 &_swigt__p_wxFindDialogEvent,
13029 &_swigt__p_wxFindReplaceData,
13030 &_swigt__p_wxFindReplaceDialog,
13031 &_swigt__p_wxFlexGridSizer,
13032 &_swigt__p_wxFocusEvent,
13033 &_swigt__p_wxFont,
13034 &_swigt__p_wxFontData,
13035 &_swigt__p_wxFontDialog,
13036 &_swigt__p_wxFontPickerCtrl,
13037 &_swigt__p_wxFontPickerEvent,
13038 &_swigt__p_wxFrame,
13039 &_swigt__p_wxGBSizerItem,
13040 &_swigt__p_wxGIFHandler,
13041 &_swigt__p_wxGauge,
13042 &_swigt__p_wxGenericDirCtrl,
13043 &_swigt__p_wxGenericDragImage,
13044 &_swigt__p_wxGridBagSizer,
13045 &_swigt__p_wxGridSizer,
13046 &_swigt__p_wxHelpEvent,
13047 &_swigt__p_wxHyperlinkCtrl,
13048 &_swigt__p_wxHyperlinkEvent,
13049 &_swigt__p_wxICOHandler,
13050 &_swigt__p_wxIcon,
13051 &_swigt__p_wxIconizeEvent,
13052 &_swigt__p_wxIdleEvent,
13053 &_swigt__p_wxImage,
13054 &_swigt__p_wxImageHandler,
13055 &_swigt__p_wxImageList,
13056 &_swigt__p_wxIndividualLayoutConstraint,
13057 &_swigt__p_wxInitDialogEvent,
13058 &_swigt__p_wxJPEGHandler,
13059 &_swigt__p_wxKeyEvent,
13060 &_swigt__p_wxLEDNumberCtrl,
13061 &_swigt__p_wxLayoutAlgorithm,
13062 &_swigt__p_wxLayoutConstraints,
13063 &_swigt__p_wxListBox,
13064 &_swigt__p_wxListEvent,
13065 &_swigt__p_wxListItem,
13066 &_swigt__p_wxListView,
13067 &_swigt__p_wxListbook,
13068 &_swigt__p_wxListbookEvent,
13069 &_swigt__p_wxMDIChildFrame,
13070 &_swigt__p_wxMDIClientWindow,
13071 &_swigt__p_wxMDIParentFrame,
13072 &_swigt__p_wxMaximizeEvent,
13073 &_swigt__p_wxMenu,
13074 &_swigt__p_wxMenuBar,
13075 &_swigt__p_wxMenuEvent,
13076 &_swigt__p_wxMenuItem,
13077 &_swigt__p_wxMessageDialog,
13078 &_swigt__p_wxMiniFrame,
13079 &_swigt__p_wxMouseCaptureChangedEvent,
13080 &_swigt__p_wxMouseCaptureLostEvent,
13081 &_swigt__p_wxMouseEvent,
13082 &_swigt__p_wxMoveEvent,
13083 &_swigt__p_wxMultiChoiceDialog,
13084 &_swigt__p_wxNavigationKeyEvent,
13085 &_swigt__p_wxNcPaintEvent,
13086 &_swigt__p_wxNotebook,
13087 &_swigt__p_wxNotebookEvent,
13088 &_swigt__p_wxNotifyEvent,
13089 &_swigt__p_wxNumberEntryDialog,
13090 &_swigt__p_wxObject,
13091 &_swigt__p_wxPCXHandler,
13092 &_swigt__p_wxPNGHandler,
13093 &_swigt__p_wxPNMHandler,
13094 &_swigt__p_wxPageSetupDialog,
13095 &_swigt__p_wxPageSetupDialogData,
13096 &_swigt__p_wxPaintEvent,
13097 &_swigt__p_wxPaletteChangedEvent,
13098 &_swigt__p_wxPanel,
13099 &_swigt__p_wxPaperSize,
13100 &_swigt__p_wxPasswordEntryDialog,
13101 &_swigt__p_wxPickerBase,
13102 &_swigt__p_wxPopupWindow,
13103 &_swigt__p_wxPreviewCanvas,
13104 &_swigt__p_wxPreviewControlBar,
13105 &_swigt__p_wxPreviewFrame,
13106 &_swigt__p_wxPrintData,
13107 &_swigt__p_wxPrintDialog,
13108 &_swigt__p_wxPrintDialogData,
13109 &_swigt__p_wxPrintPreview,
13110 &_swigt__p_wxPrinter,
13111 &_swigt__p_wxProgressDialog,
13112 &_swigt__p_wxPyApp,
13113 &_swigt__p_wxPyCommandEvent,
13114 &_swigt__p_wxPyControl,
13115 &_swigt__p_wxPyEvent,
13116 &_swigt__p_wxPyHtmlListBox,
13117 &_swigt__p_wxPyImageHandler,
13118 &_swigt__p_wxPyListCtrl,
13119 &_swigt__p_wxPyPanel,
13120 &_swigt__p_wxPyPopupTransientWindow,
13121 &_swigt__p_wxPyPreviewControlBar,
13122 &_swigt__p_wxPyPreviewFrame,
13123 &_swigt__p_wxPyPrintPreview,
13124 &_swigt__p_wxPyPrintout,
13125 &_swigt__p_wxPyScrolledWindow,
13126 &_swigt__p_wxPySizer,
13127 &_swigt__p_wxPyTaskBarIcon,
13128 &_swigt__p_wxPyTreeCompanionWindow,
13129 &_swigt__p_wxPyTreeCtrl,
13130 &_swigt__p_wxPyTreeItemData,
13131 &_swigt__p_wxPyTreeListCtrl,
13132 &_swigt__p_wxPyVListBox,
13133 &_swigt__p_wxPyVScrolledWindow,
13134 &_swigt__p_wxPyValidator,
13135 &_swigt__p_wxPyWindow,
13136 &_swigt__p_wxQueryLayoutInfoEvent,
13137 &_swigt__p_wxQueryNewPaletteEvent,
13138 &_swigt__p_wxRadioBox,
13139 &_swigt__p_wxRadioButton,
13140 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13141 &_swigt__p_wxSashEvent,
13142 &_swigt__p_wxSashLayoutWindow,
13143 &_swigt__p_wxSashWindow,
13144 &_swigt__p_wxScrollBar,
13145 &_swigt__p_wxScrollEvent,
13146 &_swigt__p_wxScrollWinEvent,
13147 &_swigt__p_wxScrolledWindow,
13148 &_swigt__p_wxSetCursorEvent,
13149 &_swigt__p_wxShowEvent,
13150 &_swigt__p_wxSingleChoiceDialog,
13151 &_swigt__p_wxSizeEvent,
13152 &_swigt__p_wxSizer,
13153 &_swigt__p_wxSizerItem,
13154 &_swigt__p_wxSlider,
13155 &_swigt__p_wxSpinButton,
13156 &_swigt__p_wxSpinCtrl,
13157 &_swigt__p_wxSpinEvent,
13158 &_swigt__p_wxSplashScreen,
13159 &_swigt__p_wxSplashScreenWindow,
13160 &_swigt__p_wxSplitterEvent,
13161 &_swigt__p_wxSplitterScrolledWindow,
13162 &_swigt__p_wxSplitterWindow,
13163 &_swigt__p_wxStaticBitmap,
13164 &_swigt__p_wxStaticBox,
13165 &_swigt__p_wxStaticBoxSizer,
13166 &_swigt__p_wxStaticLine,
13167 &_swigt__p_wxStaticPicture,
13168 &_swigt__p_wxStaticText,
13169 &_swigt__p_wxStatusBar,
13170 &_swigt__p_wxStdDialogButtonSizer,
13171 &_swigt__p_wxSysColourChangedEvent,
13172 &_swigt__p_wxTIFFHandler,
13173 &_swigt__p_wxTaskBarIconEvent,
13174 &_swigt__p_wxTextCtrl,
13175 &_swigt__p_wxTextEntryDialog,
13176 &_swigt__p_wxTextUrlEvent,
13177 &_swigt__p_wxThinSplitterWindow,
13178 &_swigt__p_wxTipWindow,
13179 &_swigt__p_wxToggleButton,
13180 &_swigt__p_wxToolBar,
13181 &_swigt__p_wxToolBarBase,
13182 &_swigt__p_wxToolBarToolBase,
13183 &_swigt__p_wxToolbook,
13184 &_swigt__p_wxToolbookEvent,
13185 &_swigt__p_wxTopLevelWindow,
13186 &_swigt__p_wxTreeEvent,
13187 &_swigt__p_wxTreeItemId,
13188 &_swigt__p_wxTreeListColumnInfo,
13189 &_swigt__p_wxTreebook,
13190 &_swigt__p_wxTreebookEvent,
13191 &_swigt__p_wxUpdateUIEvent,
13192 &_swigt__p_wxValidator,
13193 &_swigt__p_wxWindow,
13194 &_swigt__p_wxWindowCreateEvent,
13195 &_swigt__p_wxWindowDestroyEvent,
13196 &_swigt__p_wxXPMHandler,
13197 };
13198
13199 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13212 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13216 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13217 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13223 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13224 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13225 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13226 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13227 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13228 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13232 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13233 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13234 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13235 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13236 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13237 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
13238 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13239 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13240 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13241 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13242 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13243 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13244 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13245 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13246 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13247 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13248 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13249 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13250 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13251 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13252 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13253 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13254 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13255 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13256 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13257 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13258 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13259 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13260 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13261 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13262 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13263 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13264 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13265 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13266 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13267 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13268 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13269 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13270 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13271 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13272 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13273 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13274 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13275 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13276 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13277 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13278 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13279 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13280 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13281 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13282 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13283 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13284 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13285 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13286 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13287 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13288 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13289 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13290 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13291 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13292 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13293 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13294 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13295 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13296 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13297 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13298 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13299 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13300 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13301 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13302 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13303 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13304 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13305 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13306 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13307 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13308 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13309 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13310 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13311 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13312 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13313 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13314 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13315 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13316 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13317 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13318 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13319 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13320 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13321 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13322 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13323 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13324 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13325 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13326 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13327 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13328 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13329 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13330 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13331 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13332 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13333 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13334 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13335 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13336 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13337 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13338 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13339 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13340 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13341 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13342 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13343 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13344 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13345 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13346 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13347 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13348 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13349 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13350 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13351 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13352 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13353 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13354 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13355 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13356 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13357 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13358 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_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_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13359 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13360 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13361 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13362 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13363 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13364 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13365 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13366 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13367 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13368 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13369 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13370 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13371 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13372 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13373 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13374 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13375 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13376 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13377 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13378 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13379 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13380 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13381 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13382 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13383 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13384 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13385 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13386 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13387 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13388 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13389 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13390 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13391 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13392 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13393 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13394 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13395 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13396 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13397 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13398 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13399 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13400 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13401 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13402 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13403 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13404 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13405 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13406 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13407 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13408 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13409 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13410 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_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_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13411 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}};
13412 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13413 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}};
13414 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13415 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}};
13416 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13417 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13418 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13419 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13420 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}};
13421 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13422 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}};
13423 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13424 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13425 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13426 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13427 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}};
13428 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13429
13430 static swig_cast_info *swig_cast_initial[] = {
13431 _swigc__p_char,
13432 _swigc__p_float,
13433 _swigc__p_form_ops_t,
13434 _swigc__p_int,
13435 _swigc__p_unsigned_char,
13436 _swigc__p_unsigned_int,
13437 _swigc__p_unsigned_long,
13438 _swigc__p_wxANIHandler,
13439 _swigc__p_wxAcceleratorTable,
13440 _swigc__p_wxActivateEvent,
13441 _swigc__p_wxArrayString,
13442 _swigc__p_wxBMPHandler,
13443 _swigc__p_wxBitmap,
13444 _swigc__p_wxBitmapButton,
13445 _swigc__p_wxBookCtrlBase,
13446 _swigc__p_wxBookCtrlBaseEvent,
13447 _swigc__p_wxBoxSizer,
13448 _swigc__p_wxButton,
13449 _swigc__p_wxCURHandler,
13450 _swigc__p_wxCalculateLayoutEvent,
13451 _swigc__p_wxCheckBox,
13452 _swigc__p_wxCheckListBox,
13453 _swigc__p_wxChildFocusEvent,
13454 _swigc__p_wxChoice,
13455 _swigc__p_wxChoicebook,
13456 _swigc__p_wxChoicebookEvent,
13457 _swigc__p_wxClipboardTextEvent,
13458 _swigc__p_wxCloseEvent,
13459 _swigc__p_wxColour,
13460 _swigc__p_wxColourData,
13461 _swigc__p_wxColourDialog,
13462 _swigc__p_wxColourPickerCtrl,
13463 _swigc__p_wxColourPickerEvent,
13464 _swigc__p_wxComboBox,
13465 _swigc__p_wxCommandEvent,
13466 _swigc__p_wxContextHelp,
13467 _swigc__p_wxContextHelpButton,
13468 _swigc__p_wxContextMenuEvent,
13469 _swigc__p_wxControl,
13470 _swigc__p_wxControlWithItems,
13471 _swigc__p_wxDateEvent,
13472 _swigc__p_wxDatePickerCtrl,
13473 _swigc__p_wxDialog,
13474 _swigc__p_wxDirDialog,
13475 _swigc__p_wxDirFilterListCtrl,
13476 _swigc__p_wxDirPickerCtrl,
13477 _swigc__p_wxDisplayChangedEvent,
13478 _swigc__p_wxDropFilesEvent,
13479 _swigc__p_wxDuplexMode,
13480 _swigc__p_wxDynamicSashSplitEvent,
13481 _swigc__p_wxDynamicSashUnifyEvent,
13482 _swigc__p_wxDynamicSashWindow,
13483 _swigc__p_wxEditableListBox,
13484 _swigc__p_wxEraseEvent,
13485 _swigc__p_wxEvent,
13486 _swigc__p_wxEvtHandler,
13487 _swigc__p_wxFSFile,
13488 _swigc__p_wxFileDialog,
13489 _swigc__p_wxFileDirPickerEvent,
13490 _swigc__p_wxFilePickerCtrl,
13491 _swigc__p_wxFileSystem,
13492 _swigc__p_wxFindDialogEvent,
13493 _swigc__p_wxFindReplaceData,
13494 _swigc__p_wxFindReplaceDialog,
13495 _swigc__p_wxFlexGridSizer,
13496 _swigc__p_wxFocusEvent,
13497 _swigc__p_wxFont,
13498 _swigc__p_wxFontData,
13499 _swigc__p_wxFontDialog,
13500 _swigc__p_wxFontPickerCtrl,
13501 _swigc__p_wxFontPickerEvent,
13502 _swigc__p_wxFrame,
13503 _swigc__p_wxGBSizerItem,
13504 _swigc__p_wxGIFHandler,
13505 _swigc__p_wxGauge,
13506 _swigc__p_wxGenericDirCtrl,
13507 _swigc__p_wxGenericDragImage,
13508 _swigc__p_wxGridBagSizer,
13509 _swigc__p_wxGridSizer,
13510 _swigc__p_wxHelpEvent,
13511 _swigc__p_wxHyperlinkCtrl,
13512 _swigc__p_wxHyperlinkEvent,
13513 _swigc__p_wxICOHandler,
13514 _swigc__p_wxIcon,
13515 _swigc__p_wxIconizeEvent,
13516 _swigc__p_wxIdleEvent,
13517 _swigc__p_wxImage,
13518 _swigc__p_wxImageHandler,
13519 _swigc__p_wxImageList,
13520 _swigc__p_wxIndividualLayoutConstraint,
13521 _swigc__p_wxInitDialogEvent,
13522 _swigc__p_wxJPEGHandler,
13523 _swigc__p_wxKeyEvent,
13524 _swigc__p_wxLEDNumberCtrl,
13525 _swigc__p_wxLayoutAlgorithm,
13526 _swigc__p_wxLayoutConstraints,
13527 _swigc__p_wxListBox,
13528 _swigc__p_wxListEvent,
13529 _swigc__p_wxListItem,
13530 _swigc__p_wxListView,
13531 _swigc__p_wxListbook,
13532 _swigc__p_wxListbookEvent,
13533 _swigc__p_wxMDIChildFrame,
13534 _swigc__p_wxMDIClientWindow,
13535 _swigc__p_wxMDIParentFrame,
13536 _swigc__p_wxMaximizeEvent,
13537 _swigc__p_wxMenu,
13538 _swigc__p_wxMenuBar,
13539 _swigc__p_wxMenuEvent,
13540 _swigc__p_wxMenuItem,
13541 _swigc__p_wxMessageDialog,
13542 _swigc__p_wxMiniFrame,
13543 _swigc__p_wxMouseCaptureChangedEvent,
13544 _swigc__p_wxMouseCaptureLostEvent,
13545 _swigc__p_wxMouseEvent,
13546 _swigc__p_wxMoveEvent,
13547 _swigc__p_wxMultiChoiceDialog,
13548 _swigc__p_wxNavigationKeyEvent,
13549 _swigc__p_wxNcPaintEvent,
13550 _swigc__p_wxNotebook,
13551 _swigc__p_wxNotebookEvent,
13552 _swigc__p_wxNotifyEvent,
13553 _swigc__p_wxNumberEntryDialog,
13554 _swigc__p_wxObject,
13555 _swigc__p_wxPCXHandler,
13556 _swigc__p_wxPNGHandler,
13557 _swigc__p_wxPNMHandler,
13558 _swigc__p_wxPageSetupDialog,
13559 _swigc__p_wxPageSetupDialogData,
13560 _swigc__p_wxPaintEvent,
13561 _swigc__p_wxPaletteChangedEvent,
13562 _swigc__p_wxPanel,
13563 _swigc__p_wxPaperSize,
13564 _swigc__p_wxPasswordEntryDialog,
13565 _swigc__p_wxPickerBase,
13566 _swigc__p_wxPopupWindow,
13567 _swigc__p_wxPreviewCanvas,
13568 _swigc__p_wxPreviewControlBar,
13569 _swigc__p_wxPreviewFrame,
13570 _swigc__p_wxPrintData,
13571 _swigc__p_wxPrintDialog,
13572 _swigc__p_wxPrintDialogData,
13573 _swigc__p_wxPrintPreview,
13574 _swigc__p_wxPrinter,
13575 _swigc__p_wxProgressDialog,
13576 _swigc__p_wxPyApp,
13577 _swigc__p_wxPyCommandEvent,
13578 _swigc__p_wxPyControl,
13579 _swigc__p_wxPyEvent,
13580 _swigc__p_wxPyHtmlListBox,
13581 _swigc__p_wxPyImageHandler,
13582 _swigc__p_wxPyListCtrl,
13583 _swigc__p_wxPyPanel,
13584 _swigc__p_wxPyPopupTransientWindow,
13585 _swigc__p_wxPyPreviewControlBar,
13586 _swigc__p_wxPyPreviewFrame,
13587 _swigc__p_wxPyPrintPreview,
13588 _swigc__p_wxPyPrintout,
13589 _swigc__p_wxPyScrolledWindow,
13590 _swigc__p_wxPySizer,
13591 _swigc__p_wxPyTaskBarIcon,
13592 _swigc__p_wxPyTreeCompanionWindow,
13593 _swigc__p_wxPyTreeCtrl,
13594 _swigc__p_wxPyTreeItemData,
13595 _swigc__p_wxPyTreeListCtrl,
13596 _swigc__p_wxPyVListBox,
13597 _swigc__p_wxPyVScrolledWindow,
13598 _swigc__p_wxPyValidator,
13599 _swigc__p_wxPyWindow,
13600 _swigc__p_wxQueryLayoutInfoEvent,
13601 _swigc__p_wxQueryNewPaletteEvent,
13602 _swigc__p_wxRadioBox,
13603 _swigc__p_wxRadioButton,
13604 _swigc__p_wxRemotelyScrolledTreeCtrl,
13605 _swigc__p_wxSashEvent,
13606 _swigc__p_wxSashLayoutWindow,
13607 _swigc__p_wxSashWindow,
13608 _swigc__p_wxScrollBar,
13609 _swigc__p_wxScrollEvent,
13610 _swigc__p_wxScrollWinEvent,
13611 _swigc__p_wxScrolledWindow,
13612 _swigc__p_wxSetCursorEvent,
13613 _swigc__p_wxShowEvent,
13614 _swigc__p_wxSingleChoiceDialog,
13615 _swigc__p_wxSizeEvent,
13616 _swigc__p_wxSizer,
13617 _swigc__p_wxSizerItem,
13618 _swigc__p_wxSlider,
13619 _swigc__p_wxSpinButton,
13620 _swigc__p_wxSpinCtrl,
13621 _swigc__p_wxSpinEvent,
13622 _swigc__p_wxSplashScreen,
13623 _swigc__p_wxSplashScreenWindow,
13624 _swigc__p_wxSplitterEvent,
13625 _swigc__p_wxSplitterScrolledWindow,
13626 _swigc__p_wxSplitterWindow,
13627 _swigc__p_wxStaticBitmap,
13628 _swigc__p_wxStaticBox,
13629 _swigc__p_wxStaticBoxSizer,
13630 _swigc__p_wxStaticLine,
13631 _swigc__p_wxStaticPicture,
13632 _swigc__p_wxStaticText,
13633 _swigc__p_wxStatusBar,
13634 _swigc__p_wxStdDialogButtonSizer,
13635 _swigc__p_wxSysColourChangedEvent,
13636 _swigc__p_wxTIFFHandler,
13637 _swigc__p_wxTaskBarIconEvent,
13638 _swigc__p_wxTextCtrl,
13639 _swigc__p_wxTextEntryDialog,
13640 _swigc__p_wxTextUrlEvent,
13641 _swigc__p_wxThinSplitterWindow,
13642 _swigc__p_wxTipWindow,
13643 _swigc__p_wxToggleButton,
13644 _swigc__p_wxToolBar,
13645 _swigc__p_wxToolBarBase,
13646 _swigc__p_wxToolBarToolBase,
13647 _swigc__p_wxToolbook,
13648 _swigc__p_wxToolbookEvent,
13649 _swigc__p_wxTopLevelWindow,
13650 _swigc__p_wxTreeEvent,
13651 _swigc__p_wxTreeItemId,
13652 _swigc__p_wxTreeListColumnInfo,
13653 _swigc__p_wxTreebook,
13654 _swigc__p_wxTreebookEvent,
13655 _swigc__p_wxUpdateUIEvent,
13656 _swigc__p_wxValidator,
13657 _swigc__p_wxWindow,
13658 _swigc__p_wxWindowCreateEvent,
13659 _swigc__p_wxWindowDestroyEvent,
13660 _swigc__p_wxXPMHandler,
13661 };
13662
13663
13664 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13665
13666 static swig_const_info swig_const_table[] = {
13667 {0, 0, 0, 0.0, 0, 0}};
13668
13669 #ifdef __cplusplus
13670 }
13671 #endif
13672 /* -----------------------------------------------------------------------------
13673 * Type initialization:
13674 * This problem is tough by the requirement that no dynamic
13675 * memory is used. Also, since swig_type_info structures store pointers to
13676 * swig_cast_info structures and swig_cast_info structures store pointers back
13677 * to swig_type_info structures, we need some lookup code at initialization.
13678 * The idea is that swig generates all the structures that are needed.
13679 * The runtime then collects these partially filled structures.
13680 * The SWIG_InitializeModule function takes these initial arrays out of
13681 * swig_module, and does all the lookup, filling in the swig_module.types
13682 * array with the correct data and linking the correct swig_cast_info
13683 * structures together.
13684 *
13685 * The generated swig_type_info structures are assigned staticly to an initial
13686 * array. We just loop though that array, and handle each type individually.
13687 * First we lookup if this type has been already loaded, and if so, use the
13688 * loaded structure instead of the generated one. Then we have to fill in the
13689 * cast linked list. The cast data is initially stored in something like a
13690 * two-dimensional array. Each row corresponds to a type (there are the same
13691 * number of rows as there are in the swig_type_initial array). Each entry in
13692 * a column is one of the swig_cast_info structures for that type.
13693 * The cast_initial array is actually an array of arrays, because each row has
13694 * a variable number of columns. So to actually build the cast linked list,
13695 * we find the array of casts associated with the type, and loop through it
13696 * adding the casts to the list. The one last trick we need to do is making
13697 * sure the type pointer in the swig_cast_info struct is correct.
13698 *
13699 * First off, we lookup the cast->type name to see if it is already loaded.
13700 * There are three cases to handle:
13701 * 1) If the cast->type has already been loaded AND the type we are adding
13702 * casting info to has not been loaded (it is in this module), THEN we
13703 * replace the cast->type pointer with the type pointer that has already
13704 * been loaded.
13705 * 2) If BOTH types (the one we are adding casting info to, and the
13706 * cast->type) are loaded, THEN the cast info has already been loaded by
13707 * the previous module so we just ignore it.
13708 * 3) Finally, if cast->type has not already been loaded, then we add that
13709 * swig_cast_info to the linked list (because the cast->type) pointer will
13710 * be correct.
13711 * ----------------------------------------------------------------------------- */
13712
13713 #ifdef __cplusplus
13714 extern "C" {
13715 #if 0
13716 } /* c-mode */
13717 #endif
13718 #endif
13719
13720 #if 0
13721 #define SWIGRUNTIME_DEBUG
13722 #endif
13723
13724 SWIGRUNTIME void
13725 SWIG_InitializeModule(void *clientdata) {
13726 size_t i;
13727 swig_module_info *module_head;
13728 static int init_run = 0;
13729
13730 clientdata = clientdata;
13731
13732 if (init_run) return;
13733 init_run = 1;
13734
13735 /* Initialize the swig_module */
13736 swig_module.type_initial = swig_type_initial;
13737 swig_module.cast_initial = swig_cast_initial;
13738
13739 /* Try and load any already created modules */
13740 module_head = SWIG_GetModule(clientdata);
13741 if (module_head) {
13742 swig_module.next = module_head->next;
13743 module_head->next = &swig_module;
13744 } else {
13745 /* This is the first module loaded */
13746 swig_module.next = &swig_module;
13747 SWIG_SetModule(clientdata, &swig_module);
13748 }
13749
13750 /* Now work on filling in swig_module.types */
13751 #ifdef SWIGRUNTIME_DEBUG
13752 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13753 #endif
13754 for (i = 0; i < swig_module.size; ++i) {
13755 swig_type_info *type = 0;
13756 swig_type_info *ret;
13757 swig_cast_info *cast;
13758
13759 #ifdef SWIGRUNTIME_DEBUG
13760 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13761 #endif
13762
13763 /* if there is another module already loaded */
13764 if (swig_module.next != &swig_module) {
13765 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13766 }
13767 if (type) {
13768 /* Overwrite clientdata field */
13769 #ifdef SWIGRUNTIME_DEBUG
13770 printf("SWIG_InitializeModule: found type %s\n", type->name);
13771 #endif
13772 if (swig_module.type_initial[i]->clientdata) {
13773 type->clientdata = swig_module.type_initial[i]->clientdata;
13774 #ifdef SWIGRUNTIME_DEBUG
13775 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13776 #endif
13777 }
13778 } else {
13779 type = swig_module.type_initial[i];
13780 }
13781
13782 /* Insert casting types */
13783 cast = swig_module.cast_initial[i];
13784 while (cast->type) {
13785 /* Don't need to add information already in the list */
13786 ret = 0;
13787 #ifdef SWIGRUNTIME_DEBUG
13788 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13789 #endif
13790 if (swig_module.next != &swig_module) {
13791 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13792 #ifdef SWIGRUNTIME_DEBUG
13793 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13794 #endif
13795 }
13796 if (ret) {
13797 if (type == swig_module.type_initial[i]) {
13798 #ifdef SWIGRUNTIME_DEBUG
13799 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13800 #endif
13801 cast->type = ret;
13802 ret = 0;
13803 } else {
13804 /* Check for casting already in the list */
13805 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13806 #ifdef SWIGRUNTIME_DEBUG
13807 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13808 #endif
13809 if (!ocast) ret = 0;
13810 }
13811 }
13812
13813 if (!ret) {
13814 #ifdef SWIGRUNTIME_DEBUG
13815 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13816 #endif
13817 if (type->cast) {
13818 type->cast->prev = cast;
13819 cast->next = type->cast;
13820 }
13821 type->cast = cast;
13822 }
13823 cast++;
13824 }
13825 /* Set entry in modules->types array equal to the type */
13826 swig_module.types[i] = type;
13827 }
13828 swig_module.types[i] = 0;
13829
13830 #ifdef SWIGRUNTIME_DEBUG
13831 printf("**** SWIG_InitializeModule: Cast List ******\n");
13832 for (i = 0; i < swig_module.size; ++i) {
13833 int j = 0;
13834 swig_cast_info *cast = swig_module.cast_initial[i];
13835 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13836 while (cast->type) {
13837 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13838 cast++;
13839 ++j;
13840 }
13841 printf("---- Total casts: %d\n",j);
13842 }
13843 printf("**** SWIG_InitializeModule: Cast List ******\n");
13844 #endif
13845 }
13846
13847 /* This function will propagate the clientdata field of type to
13848 * any new swig_type_info structures that have been added into the list
13849 * of equivalent types. It is like calling
13850 * SWIG_TypeClientData(type, clientdata) a second time.
13851 */
13852 SWIGRUNTIME void
13853 SWIG_PropagateClientData(void) {
13854 size_t i;
13855 swig_cast_info *equiv;
13856 static int init_run = 0;
13857
13858 if (init_run) return;
13859 init_run = 1;
13860
13861 for (i = 0; i < swig_module.size; i++) {
13862 if (swig_module.types[i]->clientdata) {
13863 equiv = swig_module.types[i]->cast;
13864 while (equiv) {
13865 if (!equiv->converter) {
13866 if (equiv->type && !equiv->type->clientdata)
13867 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13868 }
13869 equiv = equiv->next;
13870 }
13871 }
13872 }
13873 }
13874
13875 #ifdef __cplusplus
13876 #if 0
13877 {
13878 /* c-mode */
13879 #endif
13880 }
13881 #endif
13882
13883
13884
13885 #ifdef __cplusplus
13886 extern "C" {
13887 #endif
13888
13889 /* Python-specific SWIG API */
13890 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13891 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13892 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13893
13894 /* -----------------------------------------------------------------------------
13895 * global variable support code.
13896 * ----------------------------------------------------------------------------- */
13897
13898 typedef struct swig_globalvar {
13899 char *name; /* Name of global variable */
13900 PyObject *(*get_attr)(void); /* Return the current value */
13901 int (*set_attr)(PyObject *); /* Set the value */
13902 struct swig_globalvar *next;
13903 } swig_globalvar;
13904
13905 typedef struct swig_varlinkobject {
13906 PyObject_HEAD
13907 swig_globalvar *vars;
13908 } swig_varlinkobject;
13909
13910 SWIGINTERN PyObject *
13911 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13912 return PyString_FromString("<Swig global variables>");
13913 }
13914
13915 SWIGINTERN PyObject *
13916 swig_varlink_str(swig_varlinkobject *v) {
13917 PyObject *str = PyString_FromString("(");
13918 swig_globalvar *var;
13919 for (var = v->vars; var; var=var->next) {
13920 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13921 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13922 }
13923 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13924 return str;
13925 }
13926
13927 SWIGINTERN int
13928 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13929 PyObject *str = swig_varlink_str(v);
13930 fprintf(fp,"Swig global variables ");
13931 fprintf(fp,"%s\n", PyString_AsString(str));
13932 Py_DECREF(str);
13933 return 0;
13934 }
13935
13936 SWIGINTERN void
13937 swig_varlink_dealloc(swig_varlinkobject *v) {
13938 swig_globalvar *var = v->vars;
13939 while (var) {
13940 swig_globalvar *n = var->next;
13941 free(var->name);
13942 free(var);
13943 var = n;
13944 }
13945 }
13946
13947 SWIGINTERN PyObject *
13948 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13949 PyObject *res = NULL;
13950 swig_globalvar *var = v->vars;
13951 while (var) {
13952 if (strcmp(var->name,n) == 0) {
13953 res = (*var->get_attr)();
13954 break;
13955 }
13956 var = var->next;
13957 }
13958 if (res == NULL && !PyErr_Occurred()) {
13959 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13960 }
13961 return res;
13962 }
13963
13964 SWIGINTERN int
13965 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13966 int res = 1;
13967 swig_globalvar *var = v->vars;
13968 while (var) {
13969 if (strcmp(var->name,n) == 0) {
13970 res = (*var->set_attr)(p);
13971 break;
13972 }
13973 var = var->next;
13974 }
13975 if (res == 1 && !PyErr_Occurred()) {
13976 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13977 }
13978 return res;
13979 }
13980
13981 SWIGINTERN PyTypeObject*
13982 swig_varlink_type(void) {
13983 static char varlink__doc__[] = "Swig var link object";
13984 static PyTypeObject varlink_type;
13985 static int type_init = 0;
13986 if (!type_init) {
13987 const PyTypeObject tmp
13988 = {
13989 PyObject_HEAD_INIT(NULL)
13990 0, /* Number of items in variable part (ob_size) */
13991 (char *)"swigvarlink", /* Type name (tp_name) */
13992 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13993 0, /* Itemsize (tp_itemsize) */
13994 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13995 (printfunc) swig_varlink_print, /* Print (tp_print) */
13996 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13997 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13998 0, /* tp_compare */
13999 (reprfunc) swig_varlink_repr, /* tp_repr */
14000 0, /* tp_as_number */
14001 0, /* tp_as_sequence */
14002 0, /* tp_as_mapping */
14003 0, /* tp_hash */
14004 0, /* tp_call */
14005 (reprfunc)swig_varlink_str, /* tp_str */
14006 0, /* tp_getattro */
14007 0, /* tp_setattro */
14008 0, /* tp_as_buffer */
14009 0, /* tp_flags */
14010 varlink__doc__, /* tp_doc */
14011 0, /* tp_traverse */
14012 0, /* tp_clear */
14013 0, /* tp_richcompare */
14014 0, /* tp_weaklistoffset */
14015 #if PY_VERSION_HEX >= 0x02020000
14016 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14017 #endif
14018 #if PY_VERSION_HEX >= 0x02030000
14019 0, /* tp_del */
14020 #endif
14021 #ifdef COUNT_ALLOCS
14022 0,0,0,0 /* tp_alloc -> tp_next */
14023 #endif
14024 };
14025 varlink_type = tmp;
14026 varlink_type.ob_type = &PyType_Type;
14027 type_init = 1;
14028 }
14029 return &varlink_type;
14030 }
14031
14032 /* Create a variable linking object for use later */
14033 SWIGINTERN PyObject *
14034 SWIG_Python_newvarlink(void) {
14035 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14036 if (result) {
14037 result->vars = 0;
14038 }
14039 return ((PyObject*) result);
14040 }
14041
14042 SWIGINTERN void
14043 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14044 swig_varlinkobject *v = (swig_varlinkobject *) p;
14045 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14046 if (gv) {
14047 size_t size = strlen(name)+1;
14048 gv->name = (char *)malloc(size);
14049 if (gv->name) {
14050 strncpy(gv->name,name,size);
14051 gv->get_attr = get_attr;
14052 gv->set_attr = set_attr;
14053 gv->next = v->vars;
14054 }
14055 }
14056 v->vars = gv;
14057 }
14058
14059 SWIGINTERN PyObject *
14060 SWIG_globals() {
14061 static PyObject *_SWIG_globals = 0;
14062 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14063 return _SWIG_globals;
14064 }
14065
14066 /* -----------------------------------------------------------------------------
14067 * constants/methods manipulation
14068 * ----------------------------------------------------------------------------- */
14069
14070 /* Install Constants */
14071 SWIGINTERN void
14072 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14073 PyObject *obj = 0;
14074 size_t i;
14075 for (i = 0; constants[i].type; ++i) {
14076 switch(constants[i].type) {
14077 case SWIG_PY_POINTER:
14078 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14079 break;
14080 case SWIG_PY_BINARY:
14081 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14082 break;
14083 default:
14084 obj = 0;
14085 break;
14086 }
14087 if (obj) {
14088 PyDict_SetItemString(d, constants[i].name, obj);
14089 Py_DECREF(obj);
14090 }
14091 }
14092 }
14093
14094 /* -----------------------------------------------------------------------------*/
14095 /* Fix SwigMethods to carry the callback ptrs when needed */
14096 /* -----------------------------------------------------------------------------*/
14097
14098 SWIGINTERN void
14099 SWIG_Python_FixMethods(PyMethodDef *methods,
14100 swig_const_info *const_table,
14101 swig_type_info **types,
14102 swig_type_info **types_initial) {
14103 size_t i;
14104 for (i = 0; methods[i].ml_name; ++i) {
14105 const char *c = methods[i].ml_doc;
14106 if (c && (c = strstr(c, "swig_ptr: "))) {
14107 int j;
14108 swig_const_info *ci = 0;
14109 const char *name = c + 10;
14110 for (j = 0; const_table[j].type; ++j) {
14111 if (strncmp(const_table[j].name, name,
14112 strlen(const_table[j].name)) == 0) {
14113 ci = &(const_table[j]);
14114 break;
14115 }
14116 }
14117 if (ci) {
14118 size_t shift = (ci->ptype) - types;
14119 swig_type_info *ty = types_initial[shift];
14120 size_t ldoc = (c - methods[i].ml_doc);
14121 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14122 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14123 if (ndoc) {
14124 char *buff = ndoc;
14125 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14126 if (ptr) {
14127 strncpy(buff, methods[i].ml_doc, ldoc);
14128 buff += ldoc;
14129 strncpy(buff, "swig_ptr: ", 10);
14130 buff += 10;
14131 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14132 methods[i].ml_doc = ndoc;
14133 }
14134 }
14135 }
14136 }
14137 }
14138 }
14139
14140 #ifdef __cplusplus
14141 }
14142 #endif
14143
14144 /* -----------------------------------------------------------------------------*
14145 * Partial Init method
14146 * -----------------------------------------------------------------------------*/
14147
14148 #ifdef __cplusplus
14149 extern "C"
14150 #endif
14151 SWIGEXPORT void SWIG_init(void) {
14152 PyObject *m, *d;
14153
14154 /* Fix SwigMethods to carry the callback ptrs when needed */
14155 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14156
14157 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14158 d = PyModule_GetDict(m);
14159
14160 SWIG_InitializeModule(0);
14161 SWIG_InstallConstants(d,swig_const_table);
14162
14163
14164 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14165 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14166 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14167 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14168 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14169 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14170 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14171 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14172 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14173 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14174 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14175 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14176 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14177 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14178 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14179 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14180 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14181 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
14182 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
14183 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
14184 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14185 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
14186 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14187 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14188 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14189 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14190 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14191 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14192 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14193 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14194 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14195
14196
14197 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14198 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14199
14200 }
14201