]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
996
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1000
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1004
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1008
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1012
1013
1014 /* Runtime API */
1015
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1019
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1025
1026
1027 /* Runtime API implementation */
1028
1029 /* Error manipulation */
1030
1031 SWIGINTERN void
1032 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1034 PyErr_SetObject(errtype, obj);
1035 Py_DECREF(obj);
1036 SWIG_PYTHON_THREAD_END_BLOCK;
1037 }
1038
1039 SWIGINTERN void
1040 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1042 PyErr_SetString(errtype, (char *) msg);
1043 SWIG_PYTHON_THREAD_END_BLOCK;
1044 }
1045
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1047
1048 /* Set a constant value */
1049
1050 SWIGINTERN void
1051 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1052 PyDict_SetItemString(d, (char*) name, obj);
1053 Py_DECREF(obj);
1054 }
1055
1056 /* Append a value to the result obj */
1057
1058 SWIGINTERN PyObject*
1059 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1061 if (!result) {
1062 result = obj;
1063 } else if (result == Py_None) {
1064 Py_DECREF(result);
1065 result = obj;
1066 } else {
1067 if (!PyList_Check(result)) {
1068 PyObject *o2 = result;
1069 result = PyList_New(1);
1070 PyList_SetItem(result, 0, o2);
1071 }
1072 PyList_Append(result,obj);
1073 Py_DECREF(obj);
1074 }
1075 return result;
1076 #else
1077 PyObject* o2;
1078 PyObject* o3;
1079 if (!result) {
1080 result = obj;
1081 } else if (result == Py_None) {
1082 Py_DECREF(result);
1083 result = obj;
1084 } else {
1085 if (!PyTuple_Check(result)) {
1086 o2 = result;
1087 result = PyTuple_New(1);
1088 PyTuple_SET_ITEM(result, 0, o2);
1089 }
1090 o3 = PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3, 0, obj);
1092 o2 = result;
1093 result = PySequence_Concat(o2, o3);
1094 Py_DECREF(o2);
1095 Py_DECREF(o3);
1096 }
1097 return result;
1098 #endif
1099 }
1100
1101 /* Unpack the argument tuple */
1102
1103 SWIGINTERN int
1104 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1105 {
1106 if (!args) {
1107 if (!min && !max) {
1108 return 1;
1109 } else {
1110 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1111 name, (min == max ? "" : "at least "), min);
1112 return 0;
1113 }
1114 }
1115 if (!PyTuple_Check(args)) {
1116 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1117 return 0;
1118 } else {
1119 register int l = PyTuple_GET_SIZE(args);
1120 if (l < min) {
1121 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1122 name, (min == max ? "" : "at least "), min, l);
1123 return 0;
1124 } else if (l > max) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at most "), max, l);
1127 return 0;
1128 } else {
1129 register int i;
1130 for (i = 0; i < l; ++i) {
1131 objs[i] = PyTuple_GET_ITEM(args, i);
1132 }
1133 for (; l < max; ++l) {
1134 objs[l] = 0;
1135 }
1136 return i + 1;
1137 }
1138 }
1139 }
1140
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1144 #else
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1146 #endif
1147
1148 /*
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1151 */
1152 #ifdef __cplusplus
1153 #define SWIG_STATIC_POINTER(var) var
1154 #else
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1156 #endif
1157
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1161
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1165
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1167
1168 #ifdef __cplusplus
1169 extern "C" {
1170 #if 0
1171 } /* cc-mode */
1172 #endif
1173 #endif
1174
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1180 # endif
1181 # endif
1182 #endif
1183
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1185 # ifdef Py_None
1186 # undef Py_None
1187 # define Py_None SWIG_Py_None()
1188 # endif
1189 SWIGRUNTIMEINLINE PyObject *
1190 _SWIG_Py_None(void)
1191 {
1192 PyObject *none = Py_BuildValue("");
1193 Py_DECREF(none);
1194 return none;
1195 }
1196 SWIGRUNTIME PyObject *
1197 SWIG_Py_None(void)
1198 {
1199 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1200 return none;
1201 }
1202 #endif
1203
1204 /* The python void return value */
1205
1206 SWIGRUNTIMEINLINE PyObject *
1207 SWIG_Py_Void(void)
1208 {
1209 PyObject *none = Py_None;
1210 Py_INCREF(none);
1211 return none;
1212 }
1213
1214 /* PySwigClientData */
1215
1216 typedef struct {
1217 PyObject *klass;
1218 PyObject *newraw;
1219 PyObject *newargs;
1220 PyObject *destroy;
1221 int delargs;
1222 int implicitconv;
1223 } PySwigClientData;
1224
1225 SWIGRUNTIMEINLINE int
1226 SWIG_Python_CheckImplicit(swig_type_info *ty)
1227 {
1228 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1229 return data ? data->implicitconv : 0;
1230 }
1231
1232 SWIGRUNTIMEINLINE PyObject *
1233 SWIG_Python_ExceptionType(swig_type_info *desc) {
1234 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1235 PyObject *klass = data ? data->klass : 0;
1236 return (klass ? klass : PyExc_RuntimeError);
1237 }
1238
1239
1240 SWIGRUNTIME PySwigClientData *
1241 PySwigClientData_New(PyObject* obj)
1242 {
1243 if (!obj) {
1244 return 0;
1245 } else {
1246 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1247 /* the klass element */
1248 data->klass = obj;
1249 Py_INCREF(data->klass);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj)) {
1252 data->newraw = 0;
1253 data->newargs = obj;
1254 Py_INCREF(obj);
1255 } else {
1256 #if (PY_VERSION_HEX < 0x02020000)
1257 data->newraw = 0;
1258 #else
1259 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1260 #endif
1261 if (data->newraw) {
1262 Py_INCREF(data->newraw);
1263 data->newargs = PyTuple_New(1);
1264 PyTuple_SetItem(data->newargs, 0, obj);
1265 } else {
1266 data->newargs = obj;
1267 }
1268 Py_INCREF(data->newargs);
1269 }
1270 /* the destroy method, aka as the C++ delete method */
1271 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1273 PyErr_Clear();
1274 data->destroy = 0;
1275 }
1276 if (data->destroy) {
1277 int flags;
1278 Py_INCREF(data->destroy);
1279 flags = PyCFunction_GET_FLAGS(data->destroy);
1280 #ifdef METH_O
1281 data->delargs = !(flags & (METH_O));
1282 #else
1283 data->delargs = 0;
1284 #endif
1285 } else {
1286 data->delargs = 0;
1287 }
1288 data->implicitconv = 0;
1289 return data;
1290 }
1291 }
1292
1293 SWIGRUNTIME void
1294 PySwigClientData_Del(PySwigClientData* data)
1295 {
1296 Py_XDECREF(data->newraw);
1297 Py_XDECREF(data->newargs);
1298 Py_XDECREF(data->destroy);
1299 }
1300
1301 /* =============== PySwigObject =====================*/
1302
1303 typedef struct {
1304 PyObject_HEAD
1305 void *ptr;
1306 swig_type_info *ty;
1307 int own;
1308 PyObject *next;
1309 } PySwigObject;
1310
1311 SWIGRUNTIME PyObject *
1312 PySwigObject_long(PySwigObject *v)
1313 {
1314 return PyLong_FromVoidPtr(v->ptr);
1315 }
1316
1317 SWIGRUNTIME PyObject *
1318 PySwigObject_format(const char* fmt, PySwigObject *v)
1319 {
1320 PyObject *res = NULL;
1321 PyObject *args = PyTuple_New(1);
1322 if (args) {
1323 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1324 PyObject *ofmt = PyString_FromString(fmt);
1325 if (ofmt) {
1326 res = PyString_Format(ofmt,args);
1327 Py_DECREF(ofmt);
1328 }
1329 Py_DECREF(args);
1330 }
1331 }
1332 return res;
1333 }
1334
1335 SWIGRUNTIME PyObject *
1336 PySwigObject_oct(PySwigObject *v)
1337 {
1338 return PySwigObject_format("%o",v);
1339 }
1340
1341 SWIGRUNTIME PyObject *
1342 PySwigObject_hex(PySwigObject *v)
1343 {
1344 return PySwigObject_format("%x",v);
1345 }
1346
1347 SWIGRUNTIME PyObject *
1348 #ifdef METH_NOARGS
1349 PySwigObject_repr(PySwigObject *v)
1350 #else
1351 PySwigObject_repr(PySwigObject *v, PyObject *args)
1352 #endif
1353 {
1354 const char *name = SWIG_TypePrettyName(v->ty);
1355 PyObject *hex = PySwigObject_hex(v);
1356 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1357 Py_DECREF(hex);
1358 if (v->next) {
1359 #ifdef METH_NOARGS
1360 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1361 #else
1362 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1363 #endif
1364 PyString_ConcatAndDel(&repr,nrep);
1365 }
1366 return repr;
1367 }
1368
1369 SWIGRUNTIME int
1370 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1371 {
1372 #ifdef METH_NOARGS
1373 PyObject *repr = PySwigObject_repr(v);
1374 #else
1375 PyObject *repr = PySwigObject_repr(v, NULL);
1376 #endif
1377 if (repr) {
1378 fputs(PyString_AsString(repr), fp);
1379 Py_DECREF(repr);
1380 return 0;
1381 } else {
1382 return 1;
1383 }
1384 }
1385
1386 SWIGRUNTIME PyObject *
1387 PySwigObject_str(PySwigObject *v)
1388 {
1389 char result[SWIG_BUFFER_SIZE];
1390 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1391 PyString_FromString(result) : 0;
1392 }
1393
1394 SWIGRUNTIME int
1395 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1396 {
1397 void *i = v->ptr;
1398 void *j = w->ptr;
1399 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1400 }
1401
1402 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1403
1404 SWIGRUNTIME PyTypeObject*
1405 PySwigObject_type(void) {
1406 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1407 return type;
1408 }
1409
1410 SWIGRUNTIMEINLINE int
1411 PySwigObject_Check(PyObject *op) {
1412 return ((op)->ob_type == PySwigObject_type())
1413 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1414 }
1415
1416 SWIGRUNTIME PyObject *
1417 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1418
1419 SWIGRUNTIME void
1420 PySwigObject_dealloc(PyObject *v)
1421 {
1422 PySwigObject *sobj = (PySwigObject *) v;
1423 PyObject *next = sobj->next;
1424 if (sobj->own) {
1425 swig_type_info *ty = sobj->ty;
1426 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1427 PyObject *destroy = data ? data->destroy : 0;
1428 if (destroy) {
1429 /* destroy is always a VARARGS method */
1430 PyObject *res;
1431 if (data->delargs) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1434 res = SWIG_Python_CallFunctor(destroy, tmp);
1435 Py_DECREF(tmp);
1436 } else {
1437 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1438 PyObject *mself = PyCFunction_GET_SELF(destroy);
1439 res = ((*meth)(mself, v));
1440 }
1441 Py_XDECREF(res);
1442 } else {
1443 const char *name = SWIG_TypePrettyName(ty);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1446 #endif
1447 }
1448 }
1449 Py_XDECREF(next);
1450 PyObject_DEL(v);
1451 }
1452
1453 SWIGRUNTIME PyObject*
1454 PySwigObject_append(PyObject* v, PyObject* next)
1455 {
1456 PySwigObject *sobj = (PySwigObject *) v;
1457 #ifndef METH_O
1458 PyObject *tmp = 0;
1459 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1460 next = tmp;
1461 #endif
1462 if (!PySwigObject_Check(next)) {
1463 return NULL;
1464 }
1465 sobj->next = next;
1466 Py_INCREF(next);
1467 return SWIG_Py_Void();
1468 }
1469
1470 SWIGRUNTIME PyObject*
1471 #ifdef METH_NOARGS
1472 PySwigObject_next(PyObject* v)
1473 #else
1474 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1475 #endif
1476 {
1477 PySwigObject *sobj = (PySwigObject *) v;
1478 if (sobj->next) {
1479 Py_INCREF(sobj->next);
1480 return sobj->next;
1481 } else {
1482 return SWIG_Py_Void();
1483 }
1484 }
1485
1486 SWIGINTERN PyObject*
1487 #ifdef METH_NOARGS
1488 PySwigObject_disown(PyObject *v)
1489 #else
1490 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1491 #endif
1492 {
1493 PySwigObject *sobj = (PySwigObject *)v;
1494 sobj->own = 0;
1495 return SWIG_Py_Void();
1496 }
1497
1498 SWIGINTERN PyObject*
1499 #ifdef METH_NOARGS
1500 PySwigObject_acquire(PyObject *v)
1501 #else
1502 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1503 #endif
1504 {
1505 PySwigObject *sobj = (PySwigObject *)v;
1506 sobj->own = SWIG_POINTER_OWN;
1507 return SWIG_Py_Void();
1508 }
1509
1510 SWIGINTERN PyObject*
1511 PySwigObject_own(PyObject *v, PyObject *args)
1512 {
1513 PyObject *val = 0;
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1516 #else
1517 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1518 #endif
1519 {
1520 return NULL;
1521 }
1522 else
1523 {
1524 PySwigObject *sobj = (PySwigObject *)v;
1525 PyObject *obj = PyBool_FromLong(sobj->own);
1526 if (val) {
1527 #ifdef METH_NOARGS
1528 if (PyObject_IsTrue(val)) {
1529 PySwigObject_acquire(v);
1530 } else {
1531 PySwigObject_disown(v);
1532 }
1533 #else
1534 if (PyObject_IsTrue(val)) {
1535 PySwigObject_acquire(v,args);
1536 } else {
1537 PySwigObject_disown(v,args);
1538 }
1539 #endif
1540 }
1541 return obj;
1542 }
1543 }
1544
1545 #ifdef METH_O
1546 static PyMethodDef
1547 swigobject_methods[] = {
1548 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1554 {0, 0, 0, 0}
1555 };
1556 #else
1557 static PyMethodDef
1558 swigobject_methods[] = {
1559 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1565 {0, 0, 0, 0}
1566 };
1567 #endif
1568
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject *
1571 PySwigObject_getattr(PySwigObject *sobj,char *name)
1572 {
1573 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1574 }
1575 #endif
1576
1577 SWIGRUNTIME PyTypeObject*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1580
1581 static PyNumberMethods PySwigObject_as_number = {
1582 (binaryfunc)0, /*nb_add*/
1583 (binaryfunc)0, /*nb_subtract*/
1584 (binaryfunc)0, /*nb_multiply*/
1585 (binaryfunc)0, /*nb_divide*/
1586 (binaryfunc)0, /*nb_remainder*/
1587 (binaryfunc)0, /*nb_divmod*/
1588 (ternaryfunc)0,/*nb_power*/
1589 (unaryfunc)0, /*nb_negative*/
1590 (unaryfunc)0, /*nb_positive*/
1591 (unaryfunc)0, /*nb_absolute*/
1592 (inquiry)0, /*nb_nonzero*/
1593 0, /*nb_invert*/
1594 0, /*nb_lshift*/
1595 0, /*nb_rshift*/
1596 0, /*nb_and*/
1597 0, /*nb_xor*/
1598 0, /*nb_or*/
1599 (coercion)0, /*nb_coerce*/
1600 (unaryfunc)PySwigObject_long, /*nb_int*/
1601 (unaryfunc)PySwigObject_long, /*nb_long*/
1602 (unaryfunc)0, /*nb_float*/
1603 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1604 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1609 #endif
1610 };
1611
1612 static PyTypeObject pyswigobject_type;
1613 static int type_init = 0;
1614 if (!type_init) {
1615 const PyTypeObject tmp
1616 = {
1617 PyObject_HEAD_INIT(NULL)
1618 0, /* ob_size */
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1623 (printfunc)PySwigObject_print, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1626 #else
1627 (getattrfunc)0, /* tp_getattr */
1628 #endif
1629 (setattrfunc)0, /* tp_setattr */
1630 (cmpfunc)PySwigObject_compare, /* tp_compare */
1631 (reprfunc)PySwigObject_repr, /* tp_repr */
1632 &PySwigObject_as_number, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc)0, /* tp_hash */
1636 (ternaryfunc)0, /* tp_call */
1637 (reprfunc)PySwigObject_str, /* tp_str */
1638 PyObject_GenericGetAttr, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT, /* tp_flags */
1642 swigobject_doc, /* tp_doc */
1643 0, /* tp_traverse */
1644 0, /* tp_clear */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1648 0, /* tp_iter */
1649 0, /* tp_iternext */
1650 swigobject_methods, /* tp_methods */
1651 0, /* tp_members */
1652 0, /* tp_getset */
1653 0, /* tp_base */
1654 0, /* tp_dict */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1658 0, /* tp_init */
1659 0, /* tp_alloc */
1660 0, /* tp_new */
1661 0, /* tp_free */
1662 0, /* tp_is_gc */
1663 0, /* tp_bases */
1664 0, /* tp_mro */
1665 0, /* tp_cache */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1668 #endif
1669 #if PY_VERSION_HEX >= 0x02030000
1670 0, /* tp_del */
1671 #endif
1672 #ifdef COUNT_ALLOCS
1673 0,0,0,0 /* tp_alloc -> tp_next */
1674 #endif
1675 };
1676 pyswigobject_type = tmp;
1677 pyswigobject_type.ob_type = &PyType_Type;
1678 type_init = 1;
1679 }
1680 return &pyswigobject_type;
1681 }
1682
1683 SWIGRUNTIME PyObject *
1684 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1685 {
1686 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1687 if (sobj) {
1688 sobj->ptr = ptr;
1689 sobj->ty = ty;
1690 sobj->own = own;
1691 sobj->next = 0;
1692 }
1693 return (PyObject *)sobj;
1694 }
1695
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1699
1700 typedef struct {
1701 PyObject_HEAD
1702 void *pack;
1703 swig_type_info *ty;
1704 size_t size;
1705 } PySwigPacked;
1706
1707 SWIGRUNTIME int
1708 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1709 {
1710 char result[SWIG_BUFFER_SIZE];
1711 fputs("<Swig Packed ", fp);
1712 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1713 fputs("at ", fp);
1714 fputs(result, fp);
1715 }
1716 fputs(v->ty->name,fp);
1717 fputs(">", fp);
1718 return 0;
1719 }
1720
1721 SWIGRUNTIME PyObject *
1722 PySwigPacked_repr(PySwigPacked *v)
1723 {
1724 char result[SWIG_BUFFER_SIZE];
1725 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1727 } else {
1728 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1729 }
1730 }
1731
1732 SWIGRUNTIME PyObject *
1733 PySwigPacked_str(PySwigPacked *v)
1734 {
1735 char result[SWIG_BUFFER_SIZE];
1736 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1737 return PyString_FromFormat("%s%s", result, v->ty->name);
1738 } else {
1739 return PyString_FromString(v->ty->name);
1740 }
1741 }
1742
1743 SWIGRUNTIME int
1744 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1745 {
1746 size_t i = v->size;
1747 size_t j = w->size;
1748 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1749 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1750 }
1751
1752 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1753
1754 SWIGRUNTIME PyTypeObject*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1757 return type;
1758 }
1759
1760 SWIGRUNTIMEINLINE int
1761 PySwigPacked_Check(PyObject *op) {
1762 return ((op)->ob_type == _PySwigPacked_type())
1763 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1764 }
1765
1766 SWIGRUNTIME void
1767 PySwigPacked_dealloc(PyObject *v)
1768 {
1769 if (PySwigPacked_Check(v)) {
1770 PySwigPacked *sobj = (PySwigPacked *) v;
1771 free(sobj->pack);
1772 }
1773 PyObject_DEL(v);
1774 }
1775
1776 SWIGRUNTIME PyTypeObject*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type;
1780 static int type_init = 0;
1781 if (!type_init) {
1782 const PyTypeObject tmp
1783 = {
1784 PyObject_HEAD_INIT(NULL)
1785 0, /* ob_size */
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1790 (printfunc)PySwigPacked_print, /* tp_print */
1791 (getattrfunc)0, /* tp_getattr */
1792 (setattrfunc)0, /* tp_setattr */
1793 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1794 (reprfunc)PySwigPacked_repr, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc)0, /* tp_hash */
1799 (ternaryfunc)0, /* tp_call */
1800 (reprfunc)PySwigPacked_str, /* tp_str */
1801 PyObject_GenericGetAttr, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT, /* tp_flags */
1805 swigpacked_doc, /* tp_doc */
1806 0, /* tp_traverse */
1807 0, /* tp_clear */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1811 0, /* tp_iter */
1812 0, /* tp_iternext */
1813 0, /* tp_methods */
1814 0, /* tp_members */
1815 0, /* tp_getset */
1816 0, /* tp_base */
1817 0, /* tp_dict */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1821 0, /* tp_init */
1822 0, /* tp_alloc */
1823 0, /* tp_new */
1824 0, /* tp_free */
1825 0, /* tp_is_gc */
1826 0, /* tp_bases */
1827 0, /* tp_mro */
1828 0, /* tp_cache */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1831 #endif
1832 #if PY_VERSION_HEX >= 0x02030000
1833 0, /* tp_del */
1834 #endif
1835 #ifdef COUNT_ALLOCS
1836 0,0,0,0 /* tp_alloc -> tp_next */
1837 #endif
1838 };
1839 pyswigpacked_type = tmp;
1840 pyswigpacked_type.ob_type = &PyType_Type;
1841 type_init = 1;
1842 }
1843 return &pyswigpacked_type;
1844 }
1845
1846 SWIGRUNTIME PyObject *
1847 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1848 {
1849 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1850 if (sobj) {
1851 void *pack = malloc(size);
1852 if (pack) {
1853 memcpy(pack, ptr, size);
1854 sobj->pack = pack;
1855 sobj->ty = ty;
1856 sobj->size = size;
1857 } else {
1858 PyObject_DEL((PyObject *) sobj);
1859 sobj = 0;
1860 }
1861 }
1862 return (PyObject *) sobj;
1863 }
1864
1865 SWIGRUNTIME swig_type_info *
1866 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1867 {
1868 if (PySwigPacked_Check(obj)) {
1869 PySwigPacked *sobj = (PySwigPacked *)obj;
1870 if (sobj->size != size) return 0;
1871 memcpy(ptr, sobj->pack, size);
1872 return sobj->ty;
1873 } else {
1874 return 0;
1875 }
1876 }
1877
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1881
1882 SWIGRUNTIMEINLINE PyObject *
1883 _SWIG_This(void)
1884 {
1885 return PyString_FromString("this");
1886 }
1887
1888 SWIGRUNTIME PyObject *
1889 SWIG_This(void)
1890 {
1891 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1892 return swig_this;
1893 }
1894
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1896
1897 SWIGRUNTIME PySwigObject *
1898 SWIG_Python_GetSwigThis(PyObject *pyobj)
1899 {
1900 if (PySwigObject_Check(pyobj)) {
1901 return (PySwigObject *) pyobj;
1902 } else {
1903 PyObject *obj = 0;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj)) {
1906 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1907 } else {
1908 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1909 if (dictptr != NULL) {
1910 PyObject *dict = *dictptr;
1911 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1912 } else {
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj)) {
1915 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1916 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1917 }
1918 #endif
1919 obj = PyObject_GetAttr(pyobj,SWIG_This());
1920 if (obj) {
1921 Py_DECREF(obj);
1922 } else {
1923 if (PyErr_Occurred()) PyErr_Clear();
1924 return 0;
1925 }
1926 }
1927 }
1928 #else
1929 obj = PyObject_GetAttr(pyobj,SWIG_This());
1930 if (obj) {
1931 Py_DECREF(obj);
1932 } else {
1933 if (PyErr_Occurred()) PyErr_Clear();
1934 return 0;
1935 }
1936 #endif
1937 if (obj && !PySwigObject_Check(obj)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj);
1941 }
1942 return (PySwigObject *)obj;
1943 }
1944 }
1945
1946 /* Acquire a pointer value */
1947
1948 SWIGRUNTIME int
1949 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1950 if (own) {
1951 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1952 if (sobj) {
1953 int oldown = sobj->own;
1954 sobj->own = own;
1955 return oldown;
1956 }
1957 }
1958 return 0;
1959 }
1960
1961 /* Convert a pointer value */
1962
1963 SWIGRUNTIME int
1964 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1965 if (!obj) return SWIG_ERROR;
1966 if (obj == Py_None) {
1967 if (ptr) *ptr = 0;
1968 return SWIG_OK;
1969 } else {
1970 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1971 while (sobj) {
1972 void *vptr = sobj->ptr;
1973 if (ty) {
1974 swig_type_info *to = sobj->ty;
1975 if (to == ty) {
1976 /* no type cast needed */
1977 if (ptr) *ptr = vptr;
1978 break;
1979 } else {
1980 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1981 if (!tc) {
1982 sobj = (PySwigObject *)sobj->next;
1983 } else {
1984 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1985 break;
1986 }
1987 }
1988 } else {
1989 if (ptr) *ptr = vptr;
1990 break;
1991 }
1992 }
1993 if (sobj) {
1994 if (own) *own = sobj->own;
1995 if (flags & SWIG_POINTER_DISOWN) {
1996 sobj->own = 0;
1997 }
1998 return SWIG_OK;
1999 } else {
2000 int res = SWIG_ERROR;
2001 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2002 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2003 if (data && !data->implicitconv) {
2004 PyObject *klass = data->klass;
2005 if (klass) {
2006 PyObject *impconv;
2007 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv = SWIG_Python_CallFunctor(klass, obj);
2009 data->implicitconv = 0;
2010 if (PyErr_Occurred()) {
2011 PyErr_Clear();
2012 impconv = 0;
2013 }
2014 if (impconv) {
2015 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2016 if (iobj) {
2017 void *vptr;
2018 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2019 if (SWIG_IsOK(res)) {
2020 if (ptr) {
2021 *ptr = vptr;
2022 /* transfer the ownership to 'ptr' */
2023 iobj->own = 0;
2024 res = SWIG_AddCast(res);
2025 res = SWIG_AddNewMask(res);
2026 } else {
2027 res = SWIG_AddCast(res);
2028 }
2029 }
2030 }
2031 Py_DECREF(impconv);
2032 }
2033 }
2034 }
2035 }
2036 return res;
2037 }
2038 }
2039 }
2040
2041 /* Convert a function ptr value */
2042
2043 SWIGRUNTIME int
2044 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2045 if (!PyCFunction_Check(obj)) {
2046 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2047 } else {
2048 void *vptr = 0;
2049
2050 /* here we get the method pointer for callbacks */
2051 char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2052 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2053 if (desc) {
2054 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2055 if (!desc) return SWIG_ERROR;
2056 }
2057 if (ty) {
2058 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2059 if (!tc) return SWIG_ERROR;
2060 *ptr = SWIG_TypeCast(tc,vptr);
2061 } else {
2062 *ptr = vptr;
2063 }
2064 return SWIG_OK;
2065 }
2066 }
2067
2068 /* Convert a packed value value */
2069
2070 SWIGRUNTIME int
2071 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2072 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2073 if (!to) return SWIG_ERROR;
2074 if (ty) {
2075 if (to != ty) {
2076 /* check type cast? */
2077 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2078 if (!tc) return SWIG_ERROR;
2079 }
2080 }
2081 return SWIG_OK;
2082 }
2083
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2087
2088 /*
2089 Create a new instance object, whitout calling __init__, and set the
2090 'this' attribute.
2091 */
2092
2093 SWIGRUNTIME PyObject*
2094 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2095 {
2096 #if (PY_VERSION_HEX >= 0x02020000)
2097 PyObject *inst = 0;
2098 PyObject *newraw = data->newraw;
2099 if (newraw) {
2100 inst = PyObject_Call(newraw, data->newargs, NULL);
2101 if (inst) {
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2104 if (dictptr != NULL) {
2105 PyObject *dict = *dictptr;
2106 if (dict == NULL) {
2107 dict = PyDict_New();
2108 *dictptr = dict;
2109 PyDict_SetItem(dict, SWIG_This(), swig_this);
2110 }
2111 }
2112 #else
2113 PyObject *key = SWIG_This();
2114 PyObject_SetAttr(inst, key, swig_this);
2115 #endif
2116 }
2117 } else {
2118 PyObject *dict = PyDict_New();
2119 PyDict_SetItem(dict, SWIG_This(), swig_this);
2120 inst = PyInstance_NewRaw(data->newargs, dict);
2121 Py_DECREF(dict);
2122 }
2123 return inst;
2124 #else
2125 #if (PY_VERSION_HEX >= 0x02010000)
2126 PyObject *inst;
2127 PyObject *dict = PyDict_New();
2128 PyDict_SetItem(dict, SWIG_This(), swig_this);
2129 inst = PyInstance_NewRaw(data->newargs, dict);
2130 Py_DECREF(dict);
2131 return (PyObject *) inst;
2132 #else
2133 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2134 if (inst == NULL) {
2135 return NULL;
2136 }
2137 inst->in_class = (PyClassObject *)data->newargs;
2138 Py_INCREF(inst->in_class);
2139 inst->in_dict = PyDict_New();
2140 if (inst->in_dict == NULL) {
2141 Py_DECREF(inst);
2142 return NULL;
2143 }
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst->in_weakreflist = NULL;
2146 #endif
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst);
2149 #endif
2150 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2151 return (PyObject *) inst;
2152 #endif
2153 #endif
2154 }
2155
2156 SWIGRUNTIME void
2157 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2158 {
2159 PyObject *dict;
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2162 if (dictptr != NULL) {
2163 dict = *dictptr;
2164 if (dict == NULL) {
2165 dict = PyDict_New();
2166 *dictptr = dict;
2167 }
2168 PyDict_SetItem(dict, SWIG_This(), swig_this);
2169 return;
2170 }
2171 #endif
2172 dict = PyObject_GetAttrString(inst, "__dict__");
2173 PyDict_SetItem(dict, SWIG_This(), swig_this);
2174 Py_DECREF(dict);
2175 }
2176
2177
2178 SWIGINTERN PyObject *
2179 SWIG_Python_InitShadowInstance(PyObject *args) {
2180 PyObject *obj[2];
2181 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2182 return NULL;
2183 } else {
2184 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2185 if (sthis) {
2186 PySwigObject_append((PyObject*) sthis, obj[1]);
2187 } else {
2188 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2189 }
2190 return SWIG_Py_Void();
2191 }
2192 }
2193
2194 /* Create a new pointer object */
2195
2196 SWIGRUNTIME PyObject *
2197 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2198 if (!ptr) {
2199 return SWIG_Py_Void();
2200 } else {
2201 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2202 PyObject *robj = PySwigObject_New(ptr, type, own);
2203 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2204 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2205 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2206 if (inst) {
2207 Py_DECREF(robj);
2208 robj = inst;
2209 }
2210 }
2211 return robj;
2212 }
2213 }
2214
2215 /* Create a new packed object */
2216
2217 SWIGRUNTIMEINLINE PyObject *
2218 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2219 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2220 }
2221
2222 /* -----------------------------------------------------------------------------*
2223 * Get type list
2224 * -----------------------------------------------------------------------------*/
2225
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2228 #endif
2229
2230 SWIGRUNTIME swig_module_info *
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer = (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2237 #else
2238 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2240 if (PyErr_Occurred()) {
2241 PyErr_Clear();
2242 type_pointer = (void *)0;
2243 }
2244 #endif
2245 }
2246 return (swig_module_info *) type_pointer;
2247 }
2248
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2252 SWIGINTERN int
2253 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2254 {
2255 PyObject *dict;
2256 if (!PyModule_Check(m)) {
2257 PyErr_SetString(PyExc_TypeError,
2258 "PyModule_AddObject() needs module as first arg");
2259 return SWIG_ERROR;
2260 }
2261 if (!o) {
2262 PyErr_SetString(PyExc_TypeError,
2263 "PyModule_AddObject() needs non-NULL value");
2264 return SWIG_ERROR;
2265 }
2266
2267 dict = PyModule_GetDict(m);
2268 if (dict == NULL) {
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2271 PyModule_GetName(m));
2272 return SWIG_ERROR;
2273 }
2274 if (PyDict_SetItemString(dict, name, o))
2275 return SWIG_ERROR;
2276 Py_DECREF(o);
2277 return SWIG_OK;
2278 }
2279 #endif
2280
2281 SWIGRUNTIME void
2282 SWIG_Python_DestroyModule(void *vptr)
2283 {
2284 swig_module_info *swig_module = (swig_module_info *) vptr;
2285 swig_type_info **types = swig_module->types;
2286 size_t i;
2287 for (i =0; i < swig_module->size; ++i) {
2288 swig_type_info *ty = types[i];
2289 if (ty->owndata) {
2290 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2291 if (data) PySwigClientData_Del(data);
2292 }
2293 }
2294 Py_DECREF(SWIG_This());
2295 }
2296
2297 SWIGRUNTIME void
2298 SWIG_Python_SetModule(swig_module_info *swig_module) {
2299 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2300
2301 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2302 swig_empty_runtime_method_table);
2303 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2304 if (pointer && module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2306 } else {
2307 Py_XDECREF(pointer);
2308 }
2309 }
2310
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject *
2313 SWIG_Python_TypeCache() {
2314 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2315 return cache;
2316 }
2317
2318 SWIGRUNTIME swig_type_info *
2319 SWIG_Python_TypeQuery(const char *type)
2320 {
2321 PyObject *cache = SWIG_Python_TypeCache();
2322 PyObject *key = PyString_FromString(type);
2323 PyObject *obj = PyDict_GetItem(cache, key);
2324 swig_type_info *descriptor;
2325 if (obj) {
2326 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2327 } else {
2328 swig_module_info *swig_module = SWIG_Python_GetModule();
2329 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2330 if (descriptor) {
2331 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2332 PyDict_SetItem(cache, key, obj);
2333 Py_DECREF(obj);
2334 }
2335 }
2336 Py_DECREF(key);
2337 return descriptor;
2338 }
2339
2340 /*
2341 For backward compatibility only
2342 */
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2346
2347 SWIGRUNTIME int
2348 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2349 {
2350 if (PyErr_Occurred()) {
2351 PyObject *type = 0;
2352 PyObject *value = 0;
2353 PyObject *traceback = 0;
2354 PyErr_Fetch(&type, &value, &traceback);
2355 if (value) {
2356 PyObject *old_str = PyObject_Str(value);
2357 Py_XINCREF(type);
2358 PyErr_Clear();
2359 if (infront) {
2360 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2361 } else {
2362 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2363 }
2364 Py_DECREF(old_str);
2365 }
2366 return 1;
2367 } else {
2368 return 0;
2369 }
2370 }
2371
2372 SWIGRUNTIME int
2373 SWIG_Python_ArgFail(int argnum)
2374 {
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2377 char mesg[256];
2378 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2379 return SWIG_Python_AddErrMesg(mesg, 1);
2380 } else {
2381 return 0;
2382 }
2383 }
2384
2385 SWIGRUNTIMEINLINE const char *
2386 PySwigObject_GetDesc(PyObject *self)
2387 {
2388 PySwigObject *v = (PySwigObject *)self;
2389 swig_type_info *ty = v ? v->ty : 0;
2390 return ty ? ty->str : (char*)"";
2391 }
2392
2393 SWIGRUNTIME void
2394 SWIG_Python_TypeError(const char *type, PyObject *obj)
2395 {
2396 if (type) {
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj && PySwigObject_Check(obj)) {
2399 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2400 if (otype) {
2401 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2402 type, otype);
2403 return;
2404 }
2405 } else
2406 #endif
2407 {
2408 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2409 if (otype) {
2410 PyObject *str = PyObject_Str(obj);
2411 const char *cstr = str ? PyString_AsString(str) : 0;
2412 if (cstr) {
2413 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2414 type, otype, cstr);
2415 } else {
2416 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2417 type, otype);
2418 }
2419 Py_XDECREF(str);
2420 return;
2421 }
2422 }
2423 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2424 } else {
2425 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2426 }
2427 }
2428
2429
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2431 SWIGRUNTIME void *
2432 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2433 void *result;
2434 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2435 PyErr_Clear();
2436 if (flags & SWIG_POINTER_EXCEPTION) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2438 SWIG_Python_ArgFail(argnum);
2439 }
2440 }
2441 return result;
2442 }
2443
2444
2445 #ifdef __cplusplus
2446 #if 0
2447 { /* cc-mode */
2448 #endif
2449 }
2450 #endif
2451
2452
2453
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2455
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2457
2458
2459
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2461
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_float swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayString swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2476 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2477 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2478 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2479 #define SWIGTYPE_p_wxButton swig_types[17]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2482 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2483 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2484 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2485 #define SWIGTYPE_p_wxChoice swig_types[23]
2486 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2487 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2488 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2489 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2490 #define SWIGTYPE_p_wxColour swig_types[28]
2491 #define SWIGTYPE_p_wxColourData swig_types[29]
2492 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2493 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2494 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2495 #define SWIGTYPE_p_wxComboBox swig_types[33]
2496 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2497 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2498 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2499 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2500 #define SWIGTYPE_p_wxControl swig_types[38]
2501 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2502 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2503 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDialog swig_types[42]
2505 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2506 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2507 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2508 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2510 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2511 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2512 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2513 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2514 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2515 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2516 #define SWIGTYPE_p_wxEvent swig_types[54]
2517 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2518 #define SWIGTYPE_p_wxFSFile swig_types[56]
2519 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2520 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2521 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2522 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2523 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2525 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2526 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2527 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2528 #define SWIGTYPE_p_wxFont swig_types[66]
2529 #define SWIGTYPE_p_wxFontData swig_types[67]
2530 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2531 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2532 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2533 #define SWIGTYPE_p_wxFrame swig_types[71]
2534 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2535 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2536 #define SWIGTYPE_p_wxGauge swig_types[74]
2537 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2538 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2539 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2540 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2541 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2542 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2543 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2544 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2545 #define SWIGTYPE_p_wxIcon swig_types[83]
2546 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2547 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2548 #define SWIGTYPE_p_wxImage swig_types[86]
2549 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2550 #define SWIGTYPE_p_wxImageList swig_types[88]
2551 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2552 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2553 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2554 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2555 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2556 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2557 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2558 #define SWIGTYPE_p_wxListBox swig_types[96]
2559 #define SWIGTYPE_p_wxListEvent swig_types[97]
2560 #define SWIGTYPE_p_wxListItem swig_types[98]
2561 #define SWIGTYPE_p_wxListView swig_types[99]
2562 #define SWIGTYPE_p_wxListbook swig_types[100]
2563 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2564 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2565 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2566 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2567 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2568 #define SWIGTYPE_p_wxMenu swig_types[106]
2569 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2570 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2571 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2572 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2573 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2574 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2575 #define SWIGTYPE_p_wxMouseEvent swig_types[113]
2576 #define SWIGTYPE_p_wxMoveEvent swig_types[114]
2577 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115]
2578 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116]
2579 #define SWIGTYPE_p_wxNcPaintEvent swig_types[117]
2580 #define SWIGTYPE_p_wxNotebook swig_types[118]
2581 #define SWIGTYPE_p_wxNotebookEvent swig_types[119]
2582 #define SWIGTYPE_p_wxNotifyEvent swig_types[120]
2583 #define SWIGTYPE_p_wxObject swig_types[121]
2584 #define SWIGTYPE_p_wxPCXHandler swig_types[122]
2585 #define SWIGTYPE_p_wxPNGHandler swig_types[123]
2586 #define SWIGTYPE_p_wxPNMHandler swig_types[124]
2587 #define SWIGTYPE_p_wxPageSetupDialog swig_types[125]
2588 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[126]
2589 #define SWIGTYPE_p_wxPaintEvent swig_types[127]
2590 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[128]
2591 #define SWIGTYPE_p_wxPanel swig_types[129]
2592 #define SWIGTYPE_p_wxPaperSize swig_types[130]
2593 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[131]
2594 #define SWIGTYPE_p_wxPickerBase swig_types[132]
2595 #define SWIGTYPE_p_wxPopupWindow swig_types[133]
2596 #define SWIGTYPE_p_wxPreviewCanvas swig_types[134]
2597 #define SWIGTYPE_p_wxPreviewControlBar swig_types[135]
2598 #define SWIGTYPE_p_wxPreviewFrame swig_types[136]
2599 #define SWIGTYPE_p_wxPrintData swig_types[137]
2600 #define SWIGTYPE_p_wxPrintDialog swig_types[138]
2601 #define SWIGTYPE_p_wxPrintDialogData swig_types[139]
2602 #define SWIGTYPE_p_wxPrintPreview swig_types[140]
2603 #define SWIGTYPE_p_wxPrinter swig_types[141]
2604 #define SWIGTYPE_p_wxProgressDialog swig_types[142]
2605 #define SWIGTYPE_p_wxPyApp swig_types[143]
2606 #define SWIGTYPE_p_wxPyCommandEvent swig_types[144]
2607 #define SWIGTYPE_p_wxPyControl swig_types[145]
2608 #define SWIGTYPE_p_wxPyEvent swig_types[146]
2609 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[147]
2610 #define SWIGTYPE_p_wxPyImageHandler swig_types[148]
2611 #define SWIGTYPE_p_wxPyListCtrl swig_types[149]
2612 #define SWIGTYPE_p_wxPyPanel swig_types[150]
2613 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[151]
2614 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[152]
2615 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[153]
2616 #define SWIGTYPE_p_wxPyPrintPreview swig_types[154]
2617 #define SWIGTYPE_p_wxPyPrintout swig_types[155]
2618 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[156]
2619 #define SWIGTYPE_p_wxPySizer swig_types[157]
2620 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[158]
2621 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[159]
2622 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[160]
2623 #define SWIGTYPE_p_wxPyTreeItemData swig_types[161]
2624 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[162]
2625 #define SWIGTYPE_p_wxPyVListBox swig_types[163]
2626 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[164]
2627 #define SWIGTYPE_p_wxPyValidator swig_types[165]
2628 #define SWIGTYPE_p_wxPyWindow swig_types[166]
2629 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[167]
2630 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[168]
2631 #define SWIGTYPE_p_wxRadioBox swig_types[169]
2632 #define SWIGTYPE_p_wxRadioButton swig_types[170]
2633 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[171]
2634 #define SWIGTYPE_p_wxSashEvent swig_types[172]
2635 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[173]
2636 #define SWIGTYPE_p_wxSashWindow swig_types[174]
2637 #define SWIGTYPE_p_wxScrollBar swig_types[175]
2638 #define SWIGTYPE_p_wxScrollEvent swig_types[176]
2639 #define SWIGTYPE_p_wxScrollWinEvent swig_types[177]
2640 #define SWIGTYPE_p_wxScrolledWindow swig_types[178]
2641 #define SWIGTYPE_p_wxSetCursorEvent swig_types[179]
2642 #define SWIGTYPE_p_wxShowEvent swig_types[180]
2643 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[181]
2644 #define SWIGTYPE_p_wxSizeEvent swig_types[182]
2645 #define SWIGTYPE_p_wxSizer swig_types[183]
2646 #define SWIGTYPE_p_wxSizerItem swig_types[184]
2647 #define SWIGTYPE_p_wxSlider swig_types[185]
2648 #define SWIGTYPE_p_wxSpinButton swig_types[186]
2649 #define SWIGTYPE_p_wxSpinCtrl swig_types[187]
2650 #define SWIGTYPE_p_wxSpinEvent swig_types[188]
2651 #define SWIGTYPE_p_wxSplashScreen swig_types[189]
2652 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[190]
2653 #define SWIGTYPE_p_wxSplitterEvent swig_types[191]
2654 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[192]
2655 #define SWIGTYPE_p_wxSplitterWindow swig_types[193]
2656 #define SWIGTYPE_p_wxStaticBitmap swig_types[194]
2657 #define SWIGTYPE_p_wxStaticBox swig_types[195]
2658 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[196]
2659 #define SWIGTYPE_p_wxStaticLine swig_types[197]
2660 #define SWIGTYPE_p_wxStaticPicture swig_types[198]
2661 #define SWIGTYPE_p_wxStaticText swig_types[199]
2662 #define SWIGTYPE_p_wxStatusBar swig_types[200]
2663 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[201]
2664 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[202]
2665 #define SWIGTYPE_p_wxTIFFHandler swig_types[203]
2666 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[204]
2667 #define SWIGTYPE_p_wxTextCtrl swig_types[205]
2668 #define SWIGTYPE_p_wxTextEntryDialog swig_types[206]
2669 #define SWIGTYPE_p_wxTextUrlEvent swig_types[207]
2670 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[208]
2671 #define SWIGTYPE_p_wxTipWindow swig_types[209]
2672 #define SWIGTYPE_p_wxToggleButton swig_types[210]
2673 #define SWIGTYPE_p_wxToolBar swig_types[211]
2674 #define SWIGTYPE_p_wxToolBarBase swig_types[212]
2675 #define SWIGTYPE_p_wxToolBarToolBase swig_types[213]
2676 #define SWIGTYPE_p_wxToolbook swig_types[214]
2677 #define SWIGTYPE_p_wxToolbookEvent swig_types[215]
2678 #define SWIGTYPE_p_wxTopLevelWindow swig_types[216]
2679 #define SWIGTYPE_p_wxTreeEvent swig_types[217]
2680 #define SWIGTYPE_p_wxTreeItemId swig_types[218]
2681 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[219]
2682 #define SWIGTYPE_p_wxTreebook swig_types[220]
2683 #define SWIGTYPE_p_wxTreebookEvent swig_types[221]
2684 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[222]
2685 #define SWIGTYPE_p_wxValidator swig_types[223]
2686 #define SWIGTYPE_p_wxWindow swig_types[224]
2687 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[225]
2688 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[226]
2689 #define SWIGTYPE_p_wxXPMHandler swig_types[227]
2690 static swig_type_info *swig_types[229];
2691 static swig_module_info swig_module = {swig_types, 228, 0, 0, 0, 0};
2692 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2693 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2694
2695 /* -------- TYPES TABLE (END) -------- */
2696
2697 #if (PY_VERSION_HEX <= 0x02000000)
2698 # if !defined(SWIG_PYTHON_CLASSIC)
2699 # error "This python version requires to use swig with the '-classic' option"
2700 # endif
2701 #endif
2702 #if (PY_VERSION_HEX <= 0x02020000)
2703 # error "This python version requires to use swig with the '-nomodern' option"
2704 #endif
2705 #if (PY_VERSION_HEX <= 0x02020000)
2706 # error "This python version requires to use swig with the '-nomodernargs' option"
2707 #endif
2708 #ifndef METH_O
2709 # error "This python version requires to use swig with the '-nofastunpack' option"
2710 #endif
2711
2712 /*-----------------------------------------------
2713 @(target):= _gizmos.so
2714 ------------------------------------------------*/
2715 #define SWIG_init init_gizmos
2716
2717 #define SWIG_name "_gizmos"
2718
2719 #define SWIGVERSION 0x010329
2720
2721
2722 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2723 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2724
2725
2726 #include <stdexcept>
2727
2728
2729 namespace swig {
2730 class PyObject_ptr {
2731 protected:
2732 PyObject *_obj;
2733
2734 public:
2735 PyObject_ptr() :_obj(0)
2736 {
2737 }
2738
2739 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2740 {
2741 Py_XINCREF(_obj);
2742 }
2743
2744 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2745 {
2746 if (initial_ref) Py_XINCREF(_obj);
2747 }
2748
2749 PyObject_ptr & operator=(const PyObject_ptr& item)
2750 {
2751 Py_XINCREF(item._obj);
2752 Py_XDECREF(_obj);
2753 _obj = item._obj;
2754 return *this;
2755 }
2756
2757 ~PyObject_ptr()
2758 {
2759 Py_XDECREF(_obj);
2760 }
2761
2762 operator PyObject *() const
2763 {
2764 return _obj;
2765 }
2766
2767 PyObject *operator->() const
2768 {
2769 return _obj;
2770 }
2771 };
2772 }
2773
2774
2775 namespace swig {
2776 struct PyObject_var : PyObject_ptr {
2777 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2778
2779 PyObject_var & operator = (PyObject* obj)
2780 {
2781 Py_XDECREF(_obj);
2782 _obj = obj;
2783 return *this;
2784 }
2785 };
2786 }
2787
2788
2789 #include "wx/wxPython/wxPython.h"
2790 #include "wx/wxPython/pyclasses.h"
2791
2792 #include <wx/gizmos/dynamicsash.h>
2793 #include <wx/gizmos/editlbox.h>
2794 #include <wx/gizmos/splittree.h>
2795 #include <wx/gizmos/ledctrl.h>
2796 #include <wx/gizmos/statpict.h>
2797
2798 #include <wx/listctrl.h>
2799 #include <wx/treectrl.h>
2800 #include <wx/imaglist.h>
2801
2802 #include "wx/treelistctrl.h"
2803 #include "wx/wxPython/pytree.h"
2804
2805
2806 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2807 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2808 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2809 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2810 static const wxString wxPyEmptyString(wxEmptyString);
2811
2812 #define SWIG_From_long PyInt_FromLong
2813
2814
2815 SWIGINTERNINLINE PyObject *
2816 SWIG_From_int (int value)
2817 {
2818 return SWIG_From_long (value);
2819 }
2820
2821
2822 #include <limits.h>
2823 #ifndef LLONG_MIN
2824 # define LLONG_MIN LONG_LONG_MIN
2825 #endif
2826 #ifndef LLONG_MAX
2827 # define LLONG_MAX LONG_LONG_MAX
2828 #endif
2829 #ifndef ULLONG_MAX
2830 # define ULLONG_MAX ULONG_LONG_MAX
2831 #endif
2832
2833
2834 SWIGINTERN int
2835 SWIG_AsVal_long (PyObject* obj, long* val)
2836 {
2837 if (PyNumber_Check(obj)) {
2838 if (val) *val = PyInt_AsLong(obj);
2839 return SWIG_OK;
2840 }
2841 return SWIG_TypeError;
2842 }
2843
2844
2845 SWIGINTERN int
2846 SWIG_AsVal_int (PyObject * obj, int *val)
2847 {
2848 long v;
2849 int res = SWIG_AsVal_long (obj, &v);
2850 if (SWIG_IsOK(res)) {
2851 if ((v < INT_MIN || v > INT_MAX)) {
2852 return SWIG_OverflowError;
2853 } else {
2854 if (val) *val = static_cast< int >(v);
2855 }
2856 }
2857 return res;
2858 }
2859
2860 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2861 wxArrayString strings;
2862 self->GetStrings(strings);
2863 return wxArrayString2PyList_helper(strings);
2864 }
2865
2866 typedef wxTreeCtrl wxPyTreeCtrl;
2867
2868
2869 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2870 {
2871 public:
2872 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2873 const wxPoint& pos = wxDefaultPosition,
2874 const wxSize& size = wxDefaultSize,
2875 long style = 0)
2876 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2877
2878
2879 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2880 bool found;
2881 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2882 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2883 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2884 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2885 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2886 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2887 Py_DECREF(dcobj);
2888 Py_DECREF(idobj);
2889 Py_DECREF(recobj);
2890 }
2891 wxPyEndBlockThreads(blocked);
2892 if (! found)
2893 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2894 }
2895
2896 PYPRIVATE;
2897 };
2898
2899
2900 SWIGINTERN int
2901 SWIG_AsVal_bool (PyObject *obj, bool *val)
2902 {
2903 if (obj == Py_True) {
2904 if (val) *val = true;
2905 return SWIG_OK;
2906 } else if (obj == Py_False) {
2907 if (val) *val = false;
2908 return SWIG_OK;
2909 } else {
2910 long v = 0;
2911 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2912 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2913 return res;
2914 }
2915 }
2916
2917
2918 SWIGINTERN int
2919 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2920 {
2921 long v = 0;
2922 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2923 return SWIG_TypeError;
2924 }
2925 else if (val)
2926 *val = (unsigned long)v;
2927 return SWIG_OK;
2928 }
2929
2930
2931 SWIGINTERNINLINE int
2932 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2933 {
2934 unsigned long v;
2935 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2936 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2937 return res;
2938 }
2939
2940
2941 SWIGINTERNINLINE PyObject*
2942 SWIG_From_unsigned_SS_long (unsigned long value)
2943 {
2944 return (value > LONG_MAX) ?
2945 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2946 }
2947
2948
2949 SWIGINTERNINLINE PyObject *
2950 SWIG_From_size_t (size_t value)
2951 {
2952 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2953 }
2954
2955 // C++ version of Python aware control
2956 class wxPyTreeListCtrl : public wxTreeListCtrl {
2957 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2958 public:
2959 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2960 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2961 const wxPoint& pos,
2962 const wxSize& size,
2963 long style,
2964 const wxValidator &validator,
2965 const wxString& name) :
2966 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2967
2968 int OnCompareItems(const wxTreeItemId& item1,
2969 const wxTreeItemId& item2) {
2970 int rval = 0;
2971 bool found;
2972 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2973 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2974 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2975 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2976 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2977 Py_DECREF(o1);
2978 Py_DECREF(o2);
2979 }
2980 wxPyEndBlockThreads(blocked);
2981 if (! found)
2982 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2983 return rval;
2984 }
2985 PYPRIVATE;
2986 };
2987
2988 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2989
2990
2991
2992 SWIGINTERNINLINE PyObject *
2993 SWIG_From_unsigned_SS_int (unsigned int value)
2994 {
2995 return SWIG_From_unsigned_SS_long (value);
2996 }
2997
2998
2999 SWIGINTERN int
3000 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3001 {
3002 unsigned long v;
3003 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3004 if (SWIG_IsOK(res)) {
3005 if ((v > UINT_MAX)) {
3006 return SWIG_OverflowError;
3007 } else {
3008 if (val) *val = static_cast< unsigned int >(v);
3009 }
3010 }
3011 return res;
3012 }
3013
3014 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3015 if (column < 0) column = self->GetMainColumn();
3016 return self->GetItemText(item, column);
3017 }
3018 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3019 if (column < 0) column = self->GetMainColumn();
3020 return self->GetItemImage(item, column, which);
3021 }
3022 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3023 if (column < 0) column = self->GetMainColumn();
3024 self->SetItemText(item, column, text);
3025 }
3026 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3027 if (column < 0) column = self->GetMainColumn();
3028 self->SetItemImage(item, column, image, which);
3029 }
3030 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3031 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3032 if (data == NULL) {
3033 data = new wxPyTreeItemData();
3034 data->SetId(item); // set the id
3035 self->SetItemData(item, data);
3036 }
3037 return data;
3038 }
3039 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3040 data->SetId(item); // set the id
3041 self->SetItemData(item, data);
3042 }
3043 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3044 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3045 if (data == NULL) {
3046 data = new wxPyTreeItemData();
3047 data->SetId(item); // set the id
3048 self->SetItemData(item, data);
3049 }
3050 return data->GetData();
3051 }
3052 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3053 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3054 if (data == NULL) {
3055 data = new wxPyTreeItemData(obj);
3056 data->SetId(item); // set the id
3057 self->SetItemData(item, data);
3058 } else
3059 data->SetData(obj);
3060 }
3061 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3062 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3063 PyObject* rval = PyList_New(0);
3064 wxArrayTreeItemIds array;
3065 size_t num, x;
3066 num = self->GetSelections(array);
3067 for (x=0; x < num; x++) {
3068 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3069 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3070 PyList_Append(rval, item);
3071 Py_DECREF(item);
3072 }
3073 wxPyEndBlockThreads(blocked);
3074 return rval;
3075 }
3076 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3077 void* cookie = 0;
3078 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3079 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3080 PyObject* tup = PyTuple_New(2);
3081 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3082 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3083 wxPyEndBlockThreads(blocked);
3084 return tup;
3085 }
3086 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3087 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3088 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3089 PyObject* tup = PyTuple_New(2);
3090 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3091 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3092 wxPyEndBlockThreads(blocked);
3093 return tup;
3094 }
3095 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3096 wxRect rect;
3097 if (self->GetBoundingRect(item, rect, textOnly)) {
3098 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3099 wxRect* r = new wxRect(rect);
3100 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3101 wxPyEndBlockThreads(blocked);
3102 return val;
3103 }
3104 else {
3105 RETURN_NONE();
3106 }
3107 }
3108
3109 #include <float.h>
3110
3111
3112 SWIGINTERN int
3113 SWIG_AsVal_double (PyObject *obj, double* val)
3114 {
3115 if (PyNumber_Check(obj)) {
3116 if (val) *val = PyFloat_AsDouble(obj);
3117 return SWIG_OK;
3118 }
3119 return SWIG_TypeError;
3120 }
3121
3122
3123 SWIGINTERN int
3124 SWIG_AsVal_float (PyObject * obj, float *val)
3125 {
3126 double v;
3127 int res = SWIG_AsVal_double (obj, &v);
3128 if (SWIG_IsOK(res)) {
3129 if ((v < -FLT_MAX || v > FLT_MAX)) {
3130 return SWIG_OverflowError;
3131 } else {
3132 if (val) *val = static_cast< float >(v);
3133 }
3134 }
3135 return res;
3136 }
3137
3138
3139 #define SWIG_From_double PyFloat_FromDouble
3140
3141
3142 SWIGINTERNINLINE PyObject *
3143 SWIG_From_float (float value)
3144 {
3145 return SWIG_From_double (value);
3146 }
3147
3148 #ifdef __cplusplus
3149 extern "C" {
3150 #endif
3151 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3152 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3153 return 1;
3154 }
3155
3156
3157 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3158 PyObject *pyobj = 0;
3159
3160 {
3161 #if wxUSE_UNICODE
3162 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3163 #else
3164 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3165 #endif
3166 }
3167 return pyobj;
3168 }
3169
3170
3171 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3172 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3173 return 1;
3174 }
3175
3176
3177 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3178 PyObject *pyobj = 0;
3179
3180 {
3181 #if wxUSE_UNICODE
3182 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3183 #else
3184 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3185 #endif
3186 }
3187 return pyobj;
3188 }
3189
3190
3191 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3192 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3193 return 1;
3194 }
3195
3196
3197 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3198 PyObject *pyobj = 0;
3199
3200 {
3201 #if wxUSE_UNICODE
3202 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3203 #else
3204 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3205 #endif
3206 }
3207 return pyobj;
3208 }
3209
3210
3211 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3212 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3213 return 1;
3214 }
3215
3216
3217 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3218 PyObject *pyobj = 0;
3219
3220 {
3221 #if wxUSE_UNICODE
3222 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3223 #else
3224 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3225 #endif
3226 }
3227 return pyobj;
3228 }
3229
3230
3231 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3232 PyObject *resultobj = 0;
3233 wxObject *arg1 = (wxObject *) 0 ;
3234 wxDynamicSashSplitEvent *result = 0 ;
3235 void *argp1 = 0 ;
3236 int res1 = 0 ;
3237 PyObject * obj0 = 0 ;
3238 char * kwnames[] = {
3239 (char *) "target", NULL
3240 };
3241
3242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3244 if (!SWIG_IsOK(res1)) {
3245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3246 }
3247 arg1 = reinterpret_cast< wxObject * >(argp1);
3248 {
3249 PyThreadState* __tstate = wxPyBeginAllowThreads();
3250 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3251 wxPyEndAllowThreads(__tstate);
3252 if (PyErr_Occurred()) SWIG_fail;
3253 }
3254 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3255 return resultobj;
3256 fail:
3257 return NULL;
3258 }
3259
3260
3261 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3262 PyObject *obj;
3263 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3264 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3265 return SWIG_Py_Void();
3266 }
3267
3268 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3269 return SWIG_Python_InitShadowInstance(args);
3270 }
3271
3272 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3273 PyObject *resultobj = 0;
3274 wxObject *arg1 = (wxObject *) 0 ;
3275 wxDynamicSashUnifyEvent *result = 0 ;
3276 void *argp1 = 0 ;
3277 int res1 = 0 ;
3278 PyObject * obj0 = 0 ;
3279 char * kwnames[] = {
3280 (char *) "target", NULL
3281 };
3282
3283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3285 if (!SWIG_IsOK(res1)) {
3286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3287 }
3288 arg1 = reinterpret_cast< wxObject * >(argp1);
3289 {
3290 PyThreadState* __tstate = wxPyBeginAllowThreads();
3291 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3296 return resultobj;
3297 fail:
3298 return NULL;
3299 }
3300
3301
3302 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3303 PyObject *obj;
3304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3305 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3306 return SWIG_Py_Void();
3307 }
3308
3309 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3310 return SWIG_Python_InitShadowInstance(args);
3311 }
3312
3313 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3314 PyObject *resultobj = 0;
3315 wxWindow *arg1 = (wxWindow *) 0 ;
3316 int arg2 = (int) -1 ;
3317 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3318 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3319 wxSize const &arg4_defvalue = wxDefaultSize ;
3320 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3321 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3322 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3323 wxString *arg6 = (wxString *) &arg6_defvalue ;
3324 wxDynamicSashWindow *result = 0 ;
3325 void *argp1 = 0 ;
3326 int res1 = 0 ;
3327 int val2 ;
3328 int ecode2 = 0 ;
3329 wxPoint temp3 ;
3330 wxSize temp4 ;
3331 long val5 ;
3332 int ecode5 = 0 ;
3333 bool temp6 = false ;
3334 PyObject * obj0 = 0 ;
3335 PyObject * obj1 = 0 ;
3336 PyObject * obj2 = 0 ;
3337 PyObject * obj3 = 0 ;
3338 PyObject * obj4 = 0 ;
3339 PyObject * obj5 = 0 ;
3340 char * kwnames[] = {
3341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3342 };
3343
3344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3346 if (!SWIG_IsOK(res1)) {
3347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3348 }
3349 arg1 = reinterpret_cast< wxWindow * >(argp1);
3350 if (obj1) {
3351 ecode2 = SWIG_AsVal_int(obj1, &val2);
3352 if (!SWIG_IsOK(ecode2)) {
3353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3354 }
3355 arg2 = static_cast< int >(val2);
3356 }
3357 if (obj2) {
3358 {
3359 arg3 = &temp3;
3360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3361 }
3362 }
3363 if (obj3) {
3364 {
3365 arg4 = &temp4;
3366 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3367 }
3368 }
3369 if (obj4) {
3370 ecode5 = SWIG_AsVal_long(obj4, &val5);
3371 if (!SWIG_IsOK(ecode5)) {
3372 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3373 }
3374 arg5 = static_cast< long >(val5);
3375 }
3376 if (obj5) {
3377 {
3378 arg6 = wxString_in_helper(obj5);
3379 if (arg6 == NULL) SWIG_fail;
3380 temp6 = true;
3381 }
3382 }
3383 {
3384 if (!wxPyCheckForApp()) SWIG_fail;
3385 PyThreadState* __tstate = wxPyBeginAllowThreads();
3386 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3391 {
3392 if (temp6)
3393 delete arg6;
3394 }
3395 return resultobj;
3396 fail:
3397 {
3398 if (temp6)
3399 delete arg6;
3400 }
3401 return NULL;
3402 }
3403
3404
3405 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3406 PyObject *resultobj = 0;
3407 wxDynamicSashWindow *result = 0 ;
3408
3409 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3410 {
3411 if (!wxPyCheckForApp()) SWIG_fail;
3412 PyThreadState* __tstate = wxPyBeginAllowThreads();
3413 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3414 wxPyEndAllowThreads(__tstate);
3415 if (PyErr_Occurred()) SWIG_fail;
3416 }
3417 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3418 return resultobj;
3419 fail:
3420 return NULL;
3421 }
3422
3423
3424 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3425 PyObject *resultobj = 0;
3426 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3427 wxWindow *arg2 = (wxWindow *) 0 ;
3428 int arg3 = (int) -1 ;
3429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3431 wxSize const &arg5_defvalue = wxDefaultSize ;
3432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3433 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3434 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3435 wxString *arg7 = (wxString *) &arg7_defvalue ;
3436 bool result;
3437 void *argp1 = 0 ;
3438 int res1 = 0 ;
3439 void *argp2 = 0 ;
3440 int res2 = 0 ;
3441 int val3 ;
3442 int ecode3 = 0 ;
3443 wxPoint temp4 ;
3444 wxSize temp5 ;
3445 long val6 ;
3446 int ecode6 = 0 ;
3447 bool temp7 = false ;
3448 PyObject * obj0 = 0 ;
3449 PyObject * obj1 = 0 ;
3450 PyObject * obj2 = 0 ;
3451 PyObject * obj3 = 0 ;
3452 PyObject * obj4 = 0 ;
3453 PyObject * obj5 = 0 ;
3454 PyObject * obj6 = 0 ;
3455 char * kwnames[] = {
3456 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3457 };
3458
3459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3461 if (!SWIG_IsOK(res1)) {
3462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3463 }
3464 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3465 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3466 if (!SWIG_IsOK(res2)) {
3467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3468 }
3469 arg2 = reinterpret_cast< wxWindow * >(argp2);
3470 if (obj2) {
3471 ecode3 = SWIG_AsVal_int(obj2, &val3);
3472 if (!SWIG_IsOK(ecode3)) {
3473 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3474 }
3475 arg3 = static_cast< int >(val3);
3476 }
3477 if (obj3) {
3478 {
3479 arg4 = &temp4;
3480 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3481 }
3482 }
3483 if (obj4) {
3484 {
3485 arg5 = &temp5;
3486 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3487 }
3488 }
3489 if (obj5) {
3490 ecode6 = SWIG_AsVal_long(obj5, &val6);
3491 if (!SWIG_IsOK(ecode6)) {
3492 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3493 }
3494 arg6 = static_cast< long >(val6);
3495 }
3496 if (obj6) {
3497 {
3498 arg7 = wxString_in_helper(obj6);
3499 if (arg7 == NULL) SWIG_fail;
3500 temp7 = true;
3501 }
3502 }
3503 {
3504 PyThreadState* __tstate = wxPyBeginAllowThreads();
3505 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3506 wxPyEndAllowThreads(__tstate);
3507 if (PyErr_Occurred()) SWIG_fail;
3508 }
3509 {
3510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3511 }
3512 {
3513 if (temp7)
3514 delete arg7;
3515 }
3516 return resultobj;
3517 fail:
3518 {
3519 if (temp7)
3520 delete arg7;
3521 }
3522 return NULL;
3523 }
3524
3525
3526 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj = 0;
3528 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3529 wxWindow *arg2 = (wxWindow *) 0 ;
3530 wxScrollBar *result = 0 ;
3531 void *argp1 = 0 ;
3532 int res1 = 0 ;
3533 void *argp2 = 0 ;
3534 int res2 = 0 ;
3535 PyObject * obj0 = 0 ;
3536 PyObject * obj1 = 0 ;
3537 char * kwnames[] = {
3538 (char *) "self",(char *) "child", NULL
3539 };
3540
3541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3543 if (!SWIG_IsOK(res1)) {
3544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3545 }
3546 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3547 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3548 if (!SWIG_IsOK(res2)) {
3549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3550 }
3551 arg2 = reinterpret_cast< wxWindow * >(argp2);
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3555 wxPyEndAllowThreads(__tstate);
3556 if (PyErr_Occurred()) SWIG_fail;
3557 }
3558 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3559 return resultobj;
3560 fail:
3561 return NULL;
3562 }
3563
3564
3565 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3566 PyObject *resultobj = 0;
3567 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3568 wxWindow *arg2 = (wxWindow *) 0 ;
3569 wxScrollBar *result = 0 ;
3570 void *argp1 = 0 ;
3571 int res1 = 0 ;
3572 void *argp2 = 0 ;
3573 int res2 = 0 ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 char * kwnames[] = {
3577 (char *) "self",(char *) "child", NULL
3578 };
3579
3580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3582 if (!SWIG_IsOK(res1)) {
3583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3584 }
3585 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3586 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3587 if (!SWIG_IsOK(res2)) {
3588 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3589 }
3590 arg2 = reinterpret_cast< wxWindow * >(argp2);
3591 {
3592 PyThreadState* __tstate = wxPyBeginAllowThreads();
3593 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3594 wxPyEndAllowThreads(__tstate);
3595 if (PyErr_Occurred()) SWIG_fail;
3596 }
3597 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3598 return resultobj;
3599 fail:
3600 return NULL;
3601 }
3602
3603
3604 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3605 PyObject *obj;
3606 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3607 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3608 return SWIG_Py_Void();
3609 }
3610
3611 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3612 return SWIG_Python_InitShadowInstance(args);
3613 }
3614
3615 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3616 PyObject *resultobj = 0;
3617 wxWindow *arg1 = (wxWindow *) 0 ;
3618 int arg2 = (int) -1 ;
3619 wxString const &arg3_defvalue = wxPyEmptyString ;
3620 wxString *arg3 = (wxString *) &arg3_defvalue ;
3621 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3622 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3623 wxSize const &arg5_defvalue = wxDefaultSize ;
3624 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3625 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3626 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3627 wxString *arg7 = (wxString *) &arg7_defvalue ;
3628 wxEditableListBox *result = 0 ;
3629 void *argp1 = 0 ;
3630 int res1 = 0 ;
3631 int val2 ;
3632 int ecode2 = 0 ;
3633 bool temp3 = false ;
3634 wxPoint temp4 ;
3635 wxSize temp5 ;
3636 long val6 ;
3637 int ecode6 = 0 ;
3638 bool temp7 = false ;
3639 PyObject * obj0 = 0 ;
3640 PyObject * obj1 = 0 ;
3641 PyObject * obj2 = 0 ;
3642 PyObject * obj3 = 0 ;
3643 PyObject * obj4 = 0 ;
3644 PyObject * obj5 = 0 ;
3645 PyObject * obj6 = 0 ;
3646 char * kwnames[] = {
3647 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3648 };
3649
3650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3652 if (!SWIG_IsOK(res1)) {
3653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3654 }
3655 arg1 = reinterpret_cast< wxWindow * >(argp1);
3656 if (obj1) {
3657 ecode2 = SWIG_AsVal_int(obj1, &val2);
3658 if (!SWIG_IsOK(ecode2)) {
3659 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3660 }
3661 arg2 = static_cast< int >(val2);
3662 }
3663 if (obj2) {
3664 {
3665 arg3 = wxString_in_helper(obj2);
3666 if (arg3 == NULL) SWIG_fail;
3667 temp3 = true;
3668 }
3669 }
3670 if (obj3) {
3671 {
3672 arg4 = &temp4;
3673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3674 }
3675 }
3676 if (obj4) {
3677 {
3678 arg5 = &temp5;
3679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3680 }
3681 }
3682 if (obj5) {
3683 ecode6 = SWIG_AsVal_long(obj5, &val6);
3684 if (!SWIG_IsOK(ecode6)) {
3685 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3686 }
3687 arg6 = static_cast< long >(val6);
3688 }
3689 if (obj6) {
3690 {
3691 arg7 = wxString_in_helper(obj6);
3692 if (arg7 == NULL) SWIG_fail;
3693 temp7 = true;
3694 }
3695 }
3696 {
3697 if (!wxPyCheckForApp()) SWIG_fail;
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3700 wxPyEndAllowThreads(__tstate);
3701 if (PyErr_Occurred()) SWIG_fail;
3702 }
3703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3704 {
3705 if (temp3)
3706 delete arg3;
3707 }
3708 {
3709 if (temp7)
3710 delete arg7;
3711 }
3712 return resultobj;
3713 fail:
3714 {
3715 if (temp3)
3716 delete arg3;
3717 }
3718 {
3719 if (temp7)
3720 delete arg7;
3721 }
3722 return NULL;
3723 }
3724
3725
3726 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3727 PyObject *resultobj = 0;
3728 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3729 wxArrayString *arg2 = 0 ;
3730 void *argp1 = 0 ;
3731 int res1 = 0 ;
3732 bool temp2 = false ;
3733 PyObject * obj0 = 0 ;
3734 PyObject * obj1 = 0 ;
3735 char * kwnames[] = {
3736 (char *) "self",(char *) "strings", NULL
3737 };
3738
3739 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3740 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3741 if (!SWIG_IsOK(res1)) {
3742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3743 }
3744 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3745 {
3746 if (! PySequence_Check(obj1)) {
3747 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3748 SWIG_fail;
3749 }
3750 arg2 = new wxArrayString;
3751 temp2 = true;
3752 int i, len=PySequence_Length(obj1);
3753 for (i=0; i<len; i++) {
3754 PyObject* item = PySequence_GetItem(obj1, i);
3755 wxString* s = wxString_in_helper(item);
3756 if (PyErr_Occurred()) SWIG_fail;
3757 arg2->Add(*s);
3758 delete s;
3759 Py_DECREF(item);
3760 }
3761 }
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 (arg1)->SetStrings((wxArrayString const &)*arg2);
3765 wxPyEndAllowThreads(__tstate);
3766 if (PyErr_Occurred()) SWIG_fail;
3767 }
3768 resultobj = SWIG_Py_Void();
3769 {
3770 if (temp2) delete arg2;
3771 }
3772 return resultobj;
3773 fail:
3774 {
3775 if (temp2) delete arg2;
3776 }
3777 return NULL;
3778 }
3779
3780
3781 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3782 PyObject *resultobj = 0;
3783 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3784 PyObject *result = 0 ;
3785 void *argp1 = 0 ;
3786 int res1 = 0 ;
3787 PyObject *swig_obj[1] ;
3788
3789 if (!args) SWIG_fail;
3790 swig_obj[0] = args;
3791 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3792 if (!SWIG_IsOK(res1)) {
3793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3794 }
3795 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3796 {
3797 PyThreadState* __tstate = wxPyBeginAllowThreads();
3798 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 resultobj = result;
3803 return resultobj;
3804 fail:
3805 return NULL;
3806 }
3807
3808
3809 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3810 PyObject *resultobj = 0;
3811 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3812 wxPyListCtrl *result = 0 ;
3813 void *argp1 = 0 ;
3814 int res1 = 0 ;
3815 PyObject *swig_obj[1] ;
3816
3817 if (!args) SWIG_fail;
3818 swig_obj[0] = args;
3819 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3820 if (!SWIG_IsOK(res1)) {
3821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3822 }
3823 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3824 {
3825 PyThreadState* __tstate = wxPyBeginAllowThreads();
3826 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3827 wxPyEndAllowThreads(__tstate);
3828 if (PyErr_Occurred()) SWIG_fail;
3829 }
3830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3831 return resultobj;
3832 fail:
3833 return NULL;
3834 }
3835
3836
3837 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3838 PyObject *resultobj = 0;
3839 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3840 wxBitmapButton *result = 0 ;
3841 void *argp1 = 0 ;
3842 int res1 = 0 ;
3843 PyObject *swig_obj[1] ;
3844
3845 if (!args) SWIG_fail;
3846 swig_obj[0] = args;
3847 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3848 if (!SWIG_IsOK(res1)) {
3849 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3850 }
3851 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3852 {
3853 PyThreadState* __tstate = wxPyBeginAllowThreads();
3854 result = (wxBitmapButton *)(arg1)->GetDelButton();
3855 wxPyEndAllowThreads(__tstate);
3856 if (PyErr_Occurred()) SWIG_fail;
3857 }
3858 {
3859 resultobj = wxPyMake_wxObject(result, 0);
3860 }
3861 return resultobj;
3862 fail:
3863 return NULL;
3864 }
3865
3866
3867 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3868 PyObject *resultobj = 0;
3869 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3870 wxBitmapButton *result = 0 ;
3871 void *argp1 = 0 ;
3872 int res1 = 0 ;
3873 PyObject *swig_obj[1] ;
3874
3875 if (!args) SWIG_fail;
3876 swig_obj[0] = args;
3877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3878 if (!SWIG_IsOK(res1)) {
3879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3880 }
3881 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 result = (wxBitmapButton *)(arg1)->GetNewButton();
3885 wxPyEndAllowThreads(__tstate);
3886 if (PyErr_Occurred()) SWIG_fail;
3887 }
3888 {
3889 resultobj = wxPyMake_wxObject(result, 0);
3890 }
3891 return resultobj;
3892 fail:
3893 return NULL;
3894 }
3895
3896
3897 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3898 PyObject *resultobj = 0;
3899 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3900 wxBitmapButton *result = 0 ;
3901 void *argp1 = 0 ;
3902 int res1 = 0 ;
3903 PyObject *swig_obj[1] ;
3904
3905 if (!args) SWIG_fail;
3906 swig_obj[0] = args;
3907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3908 if (!SWIG_IsOK(res1)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3910 }
3911 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3912 {
3913 PyThreadState* __tstate = wxPyBeginAllowThreads();
3914 result = (wxBitmapButton *)(arg1)->GetUpButton();
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 {
3919 resultobj = wxPyMake_wxObject(result, 0);
3920 }
3921 return resultobj;
3922 fail:
3923 return NULL;
3924 }
3925
3926
3927 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3928 PyObject *resultobj = 0;
3929 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3930 wxBitmapButton *result = 0 ;
3931 void *argp1 = 0 ;
3932 int res1 = 0 ;
3933 PyObject *swig_obj[1] ;
3934
3935 if (!args) SWIG_fail;
3936 swig_obj[0] = args;
3937 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3938 if (!SWIG_IsOK(res1)) {
3939 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3940 }
3941 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3942 {
3943 PyThreadState* __tstate = wxPyBeginAllowThreads();
3944 result = (wxBitmapButton *)(arg1)->GetDownButton();
3945 wxPyEndAllowThreads(__tstate);
3946 if (PyErr_Occurred()) SWIG_fail;
3947 }
3948 {
3949 resultobj = wxPyMake_wxObject(result, 0);
3950 }
3951 return resultobj;
3952 fail:
3953 return NULL;
3954 }
3955
3956
3957 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3958 PyObject *resultobj = 0;
3959 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3960 wxBitmapButton *result = 0 ;
3961 void *argp1 = 0 ;
3962 int res1 = 0 ;
3963 PyObject *swig_obj[1] ;
3964
3965 if (!args) SWIG_fail;
3966 swig_obj[0] = args;
3967 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3968 if (!SWIG_IsOK(res1)) {
3969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3970 }
3971 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3972 {
3973 PyThreadState* __tstate = wxPyBeginAllowThreads();
3974 result = (wxBitmapButton *)(arg1)->GetEditButton();
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 {
3979 resultobj = wxPyMake_wxObject(result, 0);
3980 }
3981 return resultobj;
3982 fail:
3983 return NULL;
3984 }
3985
3986
3987 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3988 PyObject *obj;
3989 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3990 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3991 return SWIG_Py_Void();
3992 }
3993
3994 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3995 return SWIG_Python_InitShadowInstance(args);
3996 }
3997
3998 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3999 PyObject *resultobj = 0;
4000 wxWindow *arg1 = (wxWindow *) 0 ;
4001 int arg2 ;
4002 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4003 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4004 wxSize const &arg4_defvalue = wxDefaultSize ;
4005 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4006 long arg5 = (long) wxTR_HAS_BUTTONS ;
4007 wxRemotelyScrolledTreeCtrl *result = 0 ;
4008 void *argp1 = 0 ;
4009 int res1 = 0 ;
4010 int val2 ;
4011 int ecode2 = 0 ;
4012 wxPoint temp3 ;
4013 wxSize temp4 ;
4014 long val5 ;
4015 int ecode5 = 0 ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4018 PyObject * obj2 = 0 ;
4019 PyObject * obj3 = 0 ;
4020 PyObject * obj4 = 0 ;
4021 char * kwnames[] = {
4022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4023 };
4024
4025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4027 if (!SWIG_IsOK(res1)) {
4028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4029 }
4030 arg1 = reinterpret_cast< wxWindow * >(argp1);
4031 ecode2 = SWIG_AsVal_int(obj1, &val2);
4032 if (!SWIG_IsOK(ecode2)) {
4033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4034 }
4035 arg2 = static_cast< int >(val2);
4036 if (obj2) {
4037 {
4038 arg3 = &temp3;
4039 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4040 }
4041 }
4042 if (obj3) {
4043 {
4044 arg4 = &temp4;
4045 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4046 }
4047 }
4048 if (obj4) {
4049 ecode5 = SWIG_AsVal_long(obj4, &val5);
4050 if (!SWIG_IsOK(ecode5)) {
4051 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4052 }
4053 arg5 = static_cast< long >(val5);
4054 }
4055 {
4056 if (!wxPyCheckForApp()) SWIG_fail;
4057 PyThreadState* __tstate = wxPyBeginAllowThreads();
4058 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4059 wxPyEndAllowThreads(__tstate);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 }
4062 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4063 return resultobj;
4064 fail:
4065 return NULL;
4066 }
4067
4068
4069 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4070 PyObject *resultobj = 0;
4071 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4072 void *argp1 = 0 ;
4073 int res1 = 0 ;
4074 PyObject *swig_obj[1] ;
4075
4076 if (!args) SWIG_fail;
4077 swig_obj[0] = args;
4078 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4079 if (!SWIG_IsOK(res1)) {
4080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4081 }
4082 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 (arg1)->HideVScrollbar();
4086 wxPyEndAllowThreads(__tstate);
4087 if (PyErr_Occurred()) SWIG_fail;
4088 }
4089 resultobj = SWIG_Py_Void();
4090 return resultobj;
4091 fail:
4092 return NULL;
4093 }
4094
4095
4096 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4097 PyObject *resultobj = 0;
4098 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4099 void *argp1 = 0 ;
4100 int res1 = 0 ;
4101 PyObject *swig_obj[1] ;
4102
4103 if (!args) SWIG_fail;
4104 swig_obj[0] = args;
4105 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4106 if (!SWIG_IsOK(res1)) {
4107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4108 }
4109 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4110 {
4111 PyThreadState* __tstate = wxPyBeginAllowThreads();
4112 (arg1)->AdjustRemoteScrollbars();
4113 wxPyEndAllowThreads(__tstate);
4114 if (PyErr_Occurred()) SWIG_fail;
4115 }
4116 resultobj = SWIG_Py_Void();
4117 return resultobj;
4118 fail:
4119 return NULL;
4120 }
4121
4122
4123 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4124 PyObject *resultobj = 0;
4125 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4126 wxScrolledWindow *result = 0 ;
4127 void *argp1 = 0 ;
4128 int res1 = 0 ;
4129 PyObject *swig_obj[1] ;
4130
4131 if (!args) SWIG_fail;
4132 swig_obj[0] = args;
4133 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4134 if (!SWIG_IsOK(res1)) {
4135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4136 }
4137 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4141 wxPyEndAllowThreads(__tstate);
4142 if (PyErr_Occurred()) SWIG_fail;
4143 }
4144 {
4145 resultobj = wxPyMake_wxObject(result, 0);
4146 }
4147 return resultobj;
4148 fail:
4149 return NULL;
4150 }
4151
4152
4153 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4154 PyObject *resultobj = 0;
4155 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4156 int arg2 ;
4157 int arg3 ;
4158 void *argp1 = 0 ;
4159 int res1 = 0 ;
4160 int val2 ;
4161 int ecode2 = 0 ;
4162 int val3 ;
4163 int ecode3 = 0 ;
4164 PyObject * obj0 = 0 ;
4165 PyObject * obj1 = 0 ;
4166 PyObject * obj2 = 0 ;
4167 char * kwnames[] = {
4168 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4169 };
4170
4171 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4172 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4173 if (!SWIG_IsOK(res1)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4175 }
4176 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4177 ecode2 = SWIG_AsVal_int(obj1, &val2);
4178 if (!SWIG_IsOK(ecode2)) {
4179 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4180 }
4181 arg2 = static_cast< int >(val2);
4182 ecode3 = SWIG_AsVal_int(obj2, &val3);
4183 if (!SWIG_IsOK(ecode3)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4185 }
4186 arg3 = static_cast< int >(val3);
4187 {
4188 PyThreadState* __tstate = wxPyBeginAllowThreads();
4189 (arg1)->ScrollToLine(arg2,arg3);
4190 wxPyEndAllowThreads(__tstate);
4191 if (PyErr_Occurred()) SWIG_fail;
4192 }
4193 resultobj = SWIG_Py_Void();
4194 return resultobj;
4195 fail:
4196 return NULL;
4197 }
4198
4199
4200 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4201 PyObject *resultobj = 0;
4202 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4203 wxWindow *arg2 = (wxWindow *) 0 ;
4204 void *argp1 = 0 ;
4205 int res1 = 0 ;
4206 void *argp2 = 0 ;
4207 int res2 = 0 ;
4208 PyObject * obj0 = 0 ;
4209 PyObject * obj1 = 0 ;
4210 char * kwnames[] = {
4211 (char *) "self",(char *) "companion", NULL
4212 };
4213
4214 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4215 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4216 if (!SWIG_IsOK(res1)) {
4217 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4218 }
4219 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4220 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4221 if (!SWIG_IsOK(res2)) {
4222 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4223 }
4224 arg2 = reinterpret_cast< wxWindow * >(argp2);
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->SetCompanionWindow(arg2);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_Py_Void();
4232 return resultobj;
4233 fail:
4234 return NULL;
4235 }
4236
4237
4238 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4239 PyObject *resultobj = 0;
4240 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4241 wxWindow *result = 0 ;
4242 void *argp1 = 0 ;
4243 int res1 = 0 ;
4244 PyObject *swig_obj[1] ;
4245
4246 if (!args) SWIG_fail;
4247 swig_obj[0] = args;
4248 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4249 if (!SWIG_IsOK(res1)) {
4250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4251 }
4252 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4253 {
4254 PyThreadState* __tstate = wxPyBeginAllowThreads();
4255 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4256 wxPyEndAllowThreads(__tstate);
4257 if (PyErr_Occurred()) SWIG_fail;
4258 }
4259 {
4260 resultobj = wxPyMake_wxObject(result, 0);
4261 }
4262 return resultobj;
4263 fail:
4264 return NULL;
4265 }
4266
4267
4268 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4269 PyObject *obj;
4270 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4271 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4272 return SWIG_Py_Void();
4273 }
4274
4275 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4276 return SWIG_Python_InitShadowInstance(args);
4277 }
4278
4279 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4280 PyObject *resultobj = 0;
4281 wxWindow *arg1 = (wxWindow *) 0 ;
4282 int arg2 = (int) -1 ;
4283 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4284 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4285 wxSize const &arg4_defvalue = wxDefaultSize ;
4286 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4287 long arg5 = (long) 0 ;
4288 wxPyTreeCompanionWindow *result = 0 ;
4289 void *argp1 = 0 ;
4290 int res1 = 0 ;
4291 int val2 ;
4292 int ecode2 = 0 ;
4293 wxPoint temp3 ;
4294 wxSize temp4 ;
4295 long val5 ;
4296 int ecode5 = 0 ;
4297 PyObject * obj0 = 0 ;
4298 PyObject * obj1 = 0 ;
4299 PyObject * obj2 = 0 ;
4300 PyObject * obj3 = 0 ;
4301 PyObject * obj4 = 0 ;
4302 char * kwnames[] = {
4303 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4304 };
4305
4306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4308 if (!SWIG_IsOK(res1)) {
4309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4310 }
4311 arg1 = reinterpret_cast< wxWindow * >(argp1);
4312 if (obj1) {
4313 ecode2 = SWIG_AsVal_int(obj1, &val2);
4314 if (!SWIG_IsOK(ecode2)) {
4315 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4316 }
4317 arg2 = static_cast< int >(val2);
4318 }
4319 if (obj2) {
4320 {
4321 arg3 = &temp3;
4322 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4323 }
4324 }
4325 if (obj3) {
4326 {
4327 arg4 = &temp4;
4328 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4329 }
4330 }
4331 if (obj4) {
4332 ecode5 = SWIG_AsVal_long(obj4, &val5);
4333 if (!SWIG_IsOK(ecode5)) {
4334 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4335 }
4336 arg5 = static_cast< long >(val5);
4337 }
4338 {
4339 if (!wxPyCheckForApp()) SWIG_fail;
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4342 wxPyEndAllowThreads(__tstate);
4343 if (PyErr_Occurred()) SWIG_fail;
4344 }
4345 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4346 return resultobj;
4347 fail:
4348 return NULL;
4349 }
4350
4351
4352 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4353 PyObject *resultobj = 0;
4354 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4355 PyObject *arg2 = (PyObject *) 0 ;
4356 PyObject *arg3 = (PyObject *) 0 ;
4357 void *argp1 = 0 ;
4358 int res1 = 0 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 PyObject * obj2 = 0 ;
4362 char * kwnames[] = {
4363 (char *) "self",(char *) "self",(char *) "_class", NULL
4364 };
4365
4366 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4367 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4368 if (!SWIG_IsOK(res1)) {
4369 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4370 }
4371 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4372 arg2 = obj1;
4373 arg3 = obj2;
4374 {
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 (arg1)->_setCallbackInfo(arg2,arg3);
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_Py_Void();
4381 return resultobj;
4382 fail:
4383 return NULL;
4384 }
4385
4386
4387 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4388 PyObject *resultobj = 0;
4389 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4390 wxRemotelyScrolledTreeCtrl *result = 0 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 PyObject *swig_obj[1] ;
4394
4395 if (!args) SWIG_fail;
4396 swig_obj[0] = args;
4397 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4398 if (!SWIG_IsOK(res1)) {
4399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4400 }
4401 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4409 return resultobj;
4410 fail:
4411 return NULL;
4412 }
4413
4414
4415 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj = 0;
4417 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4418 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4419 void *argp1 = 0 ;
4420 int res1 = 0 ;
4421 void *argp2 = 0 ;
4422 int res2 = 0 ;
4423 PyObject * obj0 = 0 ;
4424 PyObject * obj1 = 0 ;
4425 char * kwnames[] = {
4426 (char *) "self",(char *) "treeCtrl", NULL
4427 };
4428
4429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4431 if (!SWIG_IsOK(res1)) {
4432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4433 }
4434 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4435 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4436 if (!SWIG_IsOK(res2)) {
4437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4438 }
4439 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 (arg1)->SetTreeCtrl(arg2);
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 resultobj = SWIG_Py_Void();
4447 return resultobj;
4448 fail:
4449 return NULL;
4450 }
4451
4452
4453 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4454 PyObject *obj;
4455 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4456 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4457 return SWIG_Py_Void();
4458 }
4459
4460 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4461 return SWIG_Python_InitShadowInstance(args);
4462 }
4463
4464 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4465 PyObject *resultobj = 0;
4466 wxWindow *arg1 = (wxWindow *) 0 ;
4467 int arg2 = (int) -1 ;
4468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4470 wxSize const &arg4_defvalue = wxDefaultSize ;
4471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4472 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4473 wxThinSplitterWindow *result = 0 ;
4474 void *argp1 = 0 ;
4475 int res1 = 0 ;
4476 int val2 ;
4477 int ecode2 = 0 ;
4478 wxPoint temp3 ;
4479 wxSize temp4 ;
4480 long val5 ;
4481 int ecode5 = 0 ;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
4484 PyObject * obj2 = 0 ;
4485 PyObject * obj3 = 0 ;
4486 PyObject * obj4 = 0 ;
4487 char * kwnames[] = {
4488 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4489 };
4490
4491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4493 if (!SWIG_IsOK(res1)) {
4494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4495 }
4496 arg1 = reinterpret_cast< wxWindow * >(argp1);
4497 if (obj1) {
4498 ecode2 = SWIG_AsVal_int(obj1, &val2);
4499 if (!SWIG_IsOK(ecode2)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4501 }
4502 arg2 = static_cast< int >(val2);
4503 }
4504 if (obj2) {
4505 {
4506 arg3 = &temp3;
4507 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4508 }
4509 }
4510 if (obj3) {
4511 {
4512 arg4 = &temp4;
4513 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4514 }
4515 }
4516 if (obj4) {
4517 ecode5 = SWIG_AsVal_long(obj4, &val5);
4518 if (!SWIG_IsOK(ecode5)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4520 }
4521 arg5 = static_cast< long >(val5);
4522 }
4523 {
4524 if (!wxPyCheckForApp()) SWIG_fail;
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4527 wxPyEndAllowThreads(__tstate);
4528 if (PyErr_Occurred()) SWIG_fail;
4529 }
4530 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4531 return resultobj;
4532 fail:
4533 return NULL;
4534 }
4535
4536
4537 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4538 PyObject *obj;
4539 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4540 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4541 return SWIG_Py_Void();
4542 }
4543
4544 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4545 return SWIG_Python_InitShadowInstance(args);
4546 }
4547
4548 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj = 0;
4550 wxWindow *arg1 = (wxWindow *) 0 ;
4551 int arg2 = (int) -1 ;
4552 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4553 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4554 wxSize const &arg4_defvalue = wxDefaultSize ;
4555 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4556 long arg5 = (long) 0 ;
4557 wxSplitterScrolledWindow *result = 0 ;
4558 void *argp1 = 0 ;
4559 int res1 = 0 ;
4560 int val2 ;
4561 int ecode2 = 0 ;
4562 wxPoint temp3 ;
4563 wxSize temp4 ;
4564 long val5 ;
4565 int ecode5 = 0 ;
4566 PyObject * obj0 = 0 ;
4567 PyObject * obj1 = 0 ;
4568 PyObject * obj2 = 0 ;
4569 PyObject * obj3 = 0 ;
4570 PyObject * obj4 = 0 ;
4571 char * kwnames[] = {
4572 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4573 };
4574
4575 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4576 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4577 if (!SWIG_IsOK(res1)) {
4578 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4579 }
4580 arg1 = reinterpret_cast< wxWindow * >(argp1);
4581 if (obj1) {
4582 ecode2 = SWIG_AsVal_int(obj1, &val2);
4583 if (!SWIG_IsOK(ecode2)) {
4584 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4585 }
4586 arg2 = static_cast< int >(val2);
4587 }
4588 if (obj2) {
4589 {
4590 arg3 = &temp3;
4591 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4592 }
4593 }
4594 if (obj3) {
4595 {
4596 arg4 = &temp4;
4597 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4598 }
4599 }
4600 if (obj4) {
4601 ecode5 = SWIG_AsVal_long(obj4, &val5);
4602 if (!SWIG_IsOK(ecode5)) {
4603 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4604 }
4605 arg5 = static_cast< long >(val5);
4606 }
4607 {
4608 if (!wxPyCheckForApp()) SWIG_fail;
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4611 wxPyEndAllowThreads(__tstate);
4612 if (PyErr_Occurred()) SWIG_fail;
4613 }
4614 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4615 return resultobj;
4616 fail:
4617 return NULL;
4618 }
4619
4620
4621 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4622 PyObject *obj;
4623 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4624 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4625 return SWIG_Py_Void();
4626 }
4627
4628 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4629 return SWIG_Python_InitShadowInstance(args);
4630 }
4631
4632 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4633 PyObject *resultobj = 0;
4634 wxWindow *arg1 = (wxWindow *) 0 ;
4635 int arg2 = (int) -1 ;
4636 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4637 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4638 wxSize const &arg4_defvalue = wxDefaultSize ;
4639 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4640 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4641 wxLEDNumberCtrl *result = 0 ;
4642 void *argp1 = 0 ;
4643 int res1 = 0 ;
4644 int val2 ;
4645 int ecode2 = 0 ;
4646 wxPoint temp3 ;
4647 wxSize temp4 ;
4648 long val5 ;
4649 int ecode5 = 0 ;
4650 PyObject * obj0 = 0 ;
4651 PyObject * obj1 = 0 ;
4652 PyObject * obj2 = 0 ;
4653 PyObject * obj3 = 0 ;
4654 PyObject * obj4 = 0 ;
4655 char * kwnames[] = {
4656 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4657 };
4658
4659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4661 if (!SWIG_IsOK(res1)) {
4662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4663 }
4664 arg1 = reinterpret_cast< wxWindow * >(argp1);
4665 if (obj1) {
4666 ecode2 = SWIG_AsVal_int(obj1, &val2);
4667 if (!SWIG_IsOK(ecode2)) {
4668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4669 }
4670 arg2 = static_cast< int >(val2);
4671 }
4672 if (obj2) {
4673 {
4674 arg3 = &temp3;
4675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4676 }
4677 }
4678 if (obj3) {
4679 {
4680 arg4 = &temp4;
4681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4682 }
4683 }
4684 if (obj4) {
4685 ecode5 = SWIG_AsVal_long(obj4, &val5);
4686 if (!SWIG_IsOK(ecode5)) {
4687 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4688 }
4689 arg5 = static_cast< long >(val5);
4690 }
4691 {
4692 if (!wxPyCheckForApp()) SWIG_fail;
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4699 return resultobj;
4700 fail:
4701 return NULL;
4702 }
4703
4704
4705 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4706 PyObject *resultobj = 0;
4707 wxLEDNumberCtrl *result = 0 ;
4708
4709 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4710 {
4711 if (!wxPyCheckForApp()) SWIG_fail;
4712 PyThreadState* __tstate = wxPyBeginAllowThreads();
4713 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4714 wxPyEndAllowThreads(__tstate);
4715 if (PyErr_Occurred()) SWIG_fail;
4716 }
4717 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4718 return resultobj;
4719 fail:
4720 return NULL;
4721 }
4722
4723
4724 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj = 0;
4726 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4727 wxWindow *arg2 = (wxWindow *) 0 ;
4728 int arg3 = (int) -1 ;
4729 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4730 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4731 wxSize const &arg5_defvalue = wxDefaultSize ;
4732 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4733 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4734 bool result;
4735 void *argp1 = 0 ;
4736 int res1 = 0 ;
4737 void *argp2 = 0 ;
4738 int res2 = 0 ;
4739 int val3 ;
4740 int ecode3 = 0 ;
4741 wxPoint temp4 ;
4742 wxSize temp5 ;
4743 long val6 ;
4744 int ecode6 = 0 ;
4745 PyObject * obj0 = 0 ;
4746 PyObject * obj1 = 0 ;
4747 PyObject * obj2 = 0 ;
4748 PyObject * obj3 = 0 ;
4749 PyObject * obj4 = 0 ;
4750 PyObject * obj5 = 0 ;
4751 char * kwnames[] = {
4752 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4753 };
4754
4755 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4756 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4757 if (!SWIG_IsOK(res1)) {
4758 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4759 }
4760 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4761 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4762 if (!SWIG_IsOK(res2)) {
4763 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4764 }
4765 arg2 = reinterpret_cast< wxWindow * >(argp2);
4766 if (obj2) {
4767 ecode3 = SWIG_AsVal_int(obj2, &val3);
4768 if (!SWIG_IsOK(ecode3)) {
4769 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4770 }
4771 arg3 = static_cast< int >(val3);
4772 }
4773 if (obj3) {
4774 {
4775 arg4 = &temp4;
4776 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4777 }
4778 }
4779 if (obj4) {
4780 {
4781 arg5 = &temp5;
4782 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4783 }
4784 }
4785 if (obj5) {
4786 ecode6 = SWIG_AsVal_long(obj5, &val6);
4787 if (!SWIG_IsOK(ecode6)) {
4788 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4789 }
4790 arg6 = static_cast< long >(val6);
4791 }
4792 {
4793 PyThreadState* __tstate = wxPyBeginAllowThreads();
4794 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4795 wxPyEndAllowThreads(__tstate);
4796 if (PyErr_Occurred()) SWIG_fail;
4797 }
4798 {
4799 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4800 }
4801 return resultobj;
4802 fail:
4803 return NULL;
4804 }
4805
4806
4807 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4808 PyObject *resultobj = 0;
4809 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4810 wxLEDValueAlign result;
4811 void *argp1 = 0 ;
4812 int res1 = 0 ;
4813 PyObject *swig_obj[1] ;
4814
4815 if (!args) SWIG_fail;
4816 swig_obj[0] = args;
4817 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4818 if (!SWIG_IsOK(res1)) {
4819 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4820 }
4821 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4825 wxPyEndAllowThreads(__tstate);
4826 if (PyErr_Occurred()) SWIG_fail;
4827 }
4828 resultobj = SWIG_From_int(static_cast< int >(result));
4829 return resultobj;
4830 fail:
4831 return NULL;
4832 }
4833
4834
4835 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4836 PyObject *resultobj = 0;
4837 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4838 bool result;
4839 void *argp1 = 0 ;
4840 int res1 = 0 ;
4841 PyObject *swig_obj[1] ;
4842
4843 if (!args) SWIG_fail;
4844 swig_obj[0] = args;
4845 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4846 if (!SWIG_IsOK(res1)) {
4847 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4848 }
4849 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4850 {
4851 PyThreadState* __tstate = wxPyBeginAllowThreads();
4852 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 {
4857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4858 }
4859 return resultobj;
4860 fail:
4861 return NULL;
4862 }
4863
4864
4865 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4866 PyObject *resultobj = 0;
4867 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4868 wxString *result = 0 ;
4869 void *argp1 = 0 ;
4870 int res1 = 0 ;
4871 PyObject *swig_obj[1] ;
4872
4873 if (!args) SWIG_fail;
4874 swig_obj[0] = args;
4875 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4876 if (!SWIG_IsOK(res1)) {
4877 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4878 }
4879 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4880 {
4881 PyThreadState* __tstate = wxPyBeginAllowThreads();
4882 {
4883 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4884 result = (wxString *) &_result_ref;
4885 }
4886 wxPyEndAllowThreads(__tstate);
4887 if (PyErr_Occurred()) SWIG_fail;
4888 }
4889 {
4890 #if wxUSE_UNICODE
4891 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4892 #else
4893 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4894 #endif
4895 }
4896 return resultobj;
4897 fail:
4898 return NULL;
4899 }
4900
4901
4902 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4903 PyObject *resultobj = 0;
4904 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4905 wxLEDValueAlign arg2 ;
4906 bool arg3 = (bool) true ;
4907 void *argp1 = 0 ;
4908 int res1 = 0 ;
4909 int val2 ;
4910 int ecode2 = 0 ;
4911 bool val3 ;
4912 int ecode3 = 0 ;
4913 PyObject * obj0 = 0 ;
4914 PyObject * obj1 = 0 ;
4915 PyObject * obj2 = 0 ;
4916 char * kwnames[] = {
4917 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4918 };
4919
4920 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4921 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4922 if (!SWIG_IsOK(res1)) {
4923 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4924 }
4925 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4926 ecode2 = SWIG_AsVal_int(obj1, &val2);
4927 if (!SWIG_IsOK(ecode2)) {
4928 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4929 }
4930 arg2 = static_cast< wxLEDValueAlign >(val2);
4931 if (obj2) {
4932 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4933 if (!SWIG_IsOK(ecode3)) {
4934 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4935 }
4936 arg3 = static_cast< bool >(val3);
4937 }
4938 {
4939 PyThreadState* __tstate = wxPyBeginAllowThreads();
4940 (arg1)->SetAlignment(arg2,arg3);
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 resultobj = SWIG_Py_Void();
4945 return resultobj;
4946 fail:
4947 return NULL;
4948 }
4949
4950
4951 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj = 0;
4953 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4954 bool arg2 ;
4955 bool arg3 = (bool) true ;
4956 void *argp1 = 0 ;
4957 int res1 = 0 ;
4958 bool val2 ;
4959 int ecode2 = 0 ;
4960 bool val3 ;
4961 int ecode3 = 0 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 PyObject * obj2 = 0 ;
4965 char * kwnames[] = {
4966 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4967 };
4968
4969 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4970 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4971 if (!SWIG_IsOK(res1)) {
4972 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4973 }
4974 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4975 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4976 if (!SWIG_IsOK(ecode2)) {
4977 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4978 }
4979 arg2 = static_cast< bool >(val2);
4980 if (obj2) {
4981 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4982 if (!SWIG_IsOK(ecode3)) {
4983 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4984 }
4985 arg3 = static_cast< bool >(val3);
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 (arg1)->SetDrawFaded(arg2,arg3);
4990 wxPyEndAllowThreads(__tstate);
4991 if (PyErr_Occurred()) SWIG_fail;
4992 }
4993 resultobj = SWIG_Py_Void();
4994 return resultobj;
4995 fail:
4996 return NULL;
4997 }
4998
4999
5000 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5001 PyObject *resultobj = 0;
5002 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5003 wxString *arg2 = 0 ;
5004 bool arg3 = (bool) true ;
5005 void *argp1 = 0 ;
5006 int res1 = 0 ;
5007 bool temp2 = false ;
5008 bool val3 ;
5009 int ecode3 = 0 ;
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
5012 PyObject * obj2 = 0 ;
5013 char * kwnames[] = {
5014 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5015 };
5016
5017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5019 if (!SWIG_IsOK(res1)) {
5020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5021 }
5022 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5023 {
5024 arg2 = wxString_in_helper(obj1);
5025 if (arg2 == NULL) SWIG_fail;
5026 temp2 = true;
5027 }
5028 if (obj2) {
5029 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5030 if (!SWIG_IsOK(ecode3)) {
5031 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5032 }
5033 arg3 = static_cast< bool >(val3);
5034 }
5035 {
5036 PyThreadState* __tstate = wxPyBeginAllowThreads();
5037 (arg1)->SetValue((wxString const &)*arg2,arg3);
5038 wxPyEndAllowThreads(__tstate);
5039 if (PyErr_Occurred()) SWIG_fail;
5040 }
5041 resultobj = SWIG_Py_Void();
5042 {
5043 if (temp2)
5044 delete arg2;
5045 }
5046 return resultobj;
5047 fail:
5048 {
5049 if (temp2)
5050 delete arg2;
5051 }
5052 return NULL;
5053 }
5054
5055
5056 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5057 PyObject *obj;
5058 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5059 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5060 return SWIG_Py_Void();
5061 }
5062
5063 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5064 return SWIG_Python_InitShadowInstance(args);
5065 }
5066
5067 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj = 0;
5069 wxString const &arg1_defvalue = wxPyEmptyString ;
5070 wxString *arg1 = (wxString *) &arg1_defvalue ;
5071 int arg2 = (int) -1 ;
5072 size_t arg3 = (size_t) 100 ;
5073 bool arg4 = (bool) true ;
5074 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5075 wxTreeListColumnInfo *result = 0 ;
5076 bool temp1 = false ;
5077 int val2 ;
5078 int ecode2 = 0 ;
5079 size_t val3 ;
5080 int ecode3 = 0 ;
5081 bool val4 ;
5082 int ecode4 = 0 ;
5083 int val5 ;
5084 int ecode5 = 0 ;
5085 PyObject * obj0 = 0 ;
5086 PyObject * obj1 = 0 ;
5087 PyObject * obj2 = 0 ;
5088 PyObject * obj3 = 0 ;
5089 PyObject * obj4 = 0 ;
5090 char * kwnames[] = {
5091 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5092 };
5093
5094 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5095 if (obj0) {
5096 {
5097 arg1 = wxString_in_helper(obj0);
5098 if (arg1 == NULL) SWIG_fail;
5099 temp1 = true;
5100 }
5101 }
5102 if (obj1) {
5103 ecode2 = SWIG_AsVal_int(obj1, &val2);
5104 if (!SWIG_IsOK(ecode2)) {
5105 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5106 }
5107 arg2 = static_cast< int >(val2);
5108 }
5109 if (obj2) {
5110 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5111 if (!SWIG_IsOK(ecode3)) {
5112 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5113 }
5114 arg3 = static_cast< size_t >(val3);
5115 }
5116 if (obj3) {
5117 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5118 if (!SWIG_IsOK(ecode4)) {
5119 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5120 }
5121 arg4 = static_cast< bool >(val4);
5122 }
5123 if (obj4) {
5124 ecode5 = SWIG_AsVal_int(obj4, &val5);
5125 if (!SWIG_IsOK(ecode5)) {
5126 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5127 }
5128 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5129 }
5130 {
5131 PyThreadState* __tstate = wxPyBeginAllowThreads();
5132 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5133 wxPyEndAllowThreads(__tstate);
5134 if (PyErr_Occurred()) SWIG_fail;
5135 }
5136 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5137 {
5138 if (temp1)
5139 delete arg1;
5140 }
5141 return resultobj;
5142 fail:
5143 {
5144 if (temp1)
5145 delete arg1;
5146 }
5147 return NULL;
5148 }
5149
5150
5151 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5152 PyObject *resultobj = 0;
5153 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5154 void *argp1 = 0 ;
5155 int res1 = 0 ;
5156 PyObject *swig_obj[1] ;
5157
5158 if (!args) SWIG_fail;
5159 swig_obj[0] = args;
5160 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5161 if (!SWIG_IsOK(res1)) {
5162 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5163 }
5164 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 delete arg1;
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 resultobj = SWIG_Py_Void();
5173 return resultobj;
5174 fail:
5175 return NULL;
5176 }
5177
5178
5179 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5180 PyObject *resultobj = 0;
5181 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5182 bool result;
5183 void *argp1 = 0 ;
5184 int res1 = 0 ;
5185 PyObject *swig_obj[1] ;
5186
5187 if (!args) SWIG_fail;
5188 swig_obj[0] = args;
5189 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5190 if (!SWIG_IsOK(res1)) {
5191 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5192 }
5193 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5194 {
5195 PyThreadState* __tstate = wxPyBeginAllowThreads();
5196 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5197 wxPyEndAllowThreads(__tstate);
5198 if (PyErr_Occurred()) SWIG_fail;
5199 }
5200 {
5201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5202 }
5203 return resultobj;
5204 fail:
5205 return NULL;
5206 }
5207
5208
5209 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5210 PyObject *resultobj = 0;
5211 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5212 wxTreeListColumnAlign result;
5213 void *argp1 = 0 ;
5214 int res1 = 0 ;
5215 PyObject *swig_obj[1] ;
5216
5217 if (!args) SWIG_fail;
5218 swig_obj[0] = args;
5219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5220 if (!SWIG_IsOK(res1)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5222 }
5223 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5224 {
5225 PyThreadState* __tstate = wxPyBeginAllowThreads();
5226 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = SWIG_From_int(static_cast< int >(result));
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5238 PyObject *resultobj = 0;
5239 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5240 wxString result;
5241 void *argp1 = 0 ;
5242 int res1 = 0 ;
5243 PyObject *swig_obj[1] ;
5244
5245 if (!args) SWIG_fail;
5246 swig_obj[0] = args;
5247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5248 if (!SWIG_IsOK(res1)) {
5249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5250 }
5251 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5252 {
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5255 wxPyEndAllowThreads(__tstate);
5256 if (PyErr_Occurred()) SWIG_fail;
5257 }
5258 {
5259 #if wxUSE_UNICODE
5260 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5261 #else
5262 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5263 #endif
5264 }
5265 return resultobj;
5266 fail:
5267 return NULL;
5268 }
5269
5270
5271 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5272 PyObject *resultobj = 0;
5273 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5274 int result;
5275 void *argp1 = 0 ;
5276 int res1 = 0 ;
5277 PyObject *swig_obj[1] ;
5278
5279 if (!args) SWIG_fail;
5280 swig_obj[0] = args;
5281 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5282 if (!SWIG_IsOK(res1)) {
5283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5284 }
5285 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5289 wxPyEndAllowThreads(__tstate);
5290 if (PyErr_Occurred()) SWIG_fail;
5291 }
5292 resultobj = SWIG_From_int(static_cast< int >(result));
5293 return resultobj;
5294 fail:
5295 return NULL;
5296 }
5297
5298
5299 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5300 PyObject *resultobj = 0;
5301 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5302 int result;
5303 void *argp1 = 0 ;
5304 int res1 = 0 ;
5305 PyObject *swig_obj[1] ;
5306
5307 if (!args) SWIG_fail;
5308 swig_obj[0] = args;
5309 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5310 if (!SWIG_IsOK(res1)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5312 }
5313 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5317 wxPyEndAllowThreads(__tstate);
5318 if (PyErr_Occurred()) SWIG_fail;
5319 }
5320 resultobj = SWIG_From_int(static_cast< int >(result));
5321 return resultobj;
5322 fail:
5323 return NULL;
5324 }
5325
5326
5327 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5328 PyObject *resultobj = 0;
5329 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5330 size_t result;
5331 void *argp1 = 0 ;
5332 int res1 = 0 ;
5333 PyObject *swig_obj[1] ;
5334
5335 if (!args) SWIG_fail;
5336 swig_obj[0] = args;
5337 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5338 if (!SWIG_IsOK(res1)) {
5339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5340 }
5341 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5342 {
5343 PyThreadState* __tstate = wxPyBeginAllowThreads();
5344 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5345 wxPyEndAllowThreads(__tstate);
5346 if (PyErr_Occurred()) SWIG_fail;
5347 }
5348 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5349 return resultobj;
5350 fail:
5351 return NULL;
5352 }
5353
5354
5355 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5356 PyObject *resultobj = 0;
5357 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5358 bool arg2 ;
5359 void *argp1 = 0 ;
5360 int res1 = 0 ;
5361 bool val2 ;
5362 int ecode2 = 0 ;
5363 PyObject * obj0 = 0 ;
5364 PyObject * obj1 = 0 ;
5365 char * kwnames[] = {
5366 (char *) "self",(char *) "shown", NULL
5367 };
5368
5369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5371 if (!SWIG_IsOK(res1)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5373 }
5374 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5375 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5376 if (!SWIG_IsOK(ecode2)) {
5377 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5378 }
5379 arg2 = static_cast< bool >(val2);
5380 {
5381 PyThreadState* __tstate = wxPyBeginAllowThreads();
5382 (arg1)->SetShown(arg2);
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 resultobj = SWIG_Py_Void();
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5394 PyObject *resultobj = 0;
5395 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5396 wxTreeListColumnAlign arg2 ;
5397 void *argp1 = 0 ;
5398 int res1 = 0 ;
5399 int val2 ;
5400 int ecode2 = 0 ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 char * kwnames[] = {
5404 (char *) "self",(char *) "alignment", NULL
5405 };
5406
5407 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5408 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5409 if (!SWIG_IsOK(res1)) {
5410 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5411 }
5412 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5413 ecode2 = SWIG_AsVal_int(obj1, &val2);
5414 if (!SWIG_IsOK(ecode2)) {
5415 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5416 }
5417 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5418 {
5419 PyThreadState* __tstate = wxPyBeginAllowThreads();
5420 (arg1)->SetAlignment(arg2);
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = SWIG_Py_Void();
5425 return resultobj;
5426 fail:
5427 return NULL;
5428 }
5429
5430
5431 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj = 0;
5433 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5434 wxString *arg2 = 0 ;
5435 void *argp1 = 0 ;
5436 int res1 = 0 ;
5437 bool temp2 = false ;
5438 PyObject * obj0 = 0 ;
5439 PyObject * obj1 = 0 ;
5440 char * kwnames[] = {
5441 (char *) "self",(char *) "text", NULL
5442 };
5443
5444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5446 if (!SWIG_IsOK(res1)) {
5447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5448 }
5449 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5450 {
5451 arg2 = wxString_in_helper(obj1);
5452 if (arg2 == NULL) SWIG_fail;
5453 temp2 = true;
5454 }
5455 {
5456 PyThreadState* __tstate = wxPyBeginAllowThreads();
5457 (arg1)->SetText((wxString const &)*arg2);
5458 wxPyEndAllowThreads(__tstate);
5459 if (PyErr_Occurred()) SWIG_fail;
5460 }
5461 resultobj = SWIG_Py_Void();
5462 {
5463 if (temp2)
5464 delete arg2;
5465 }
5466 return resultobj;
5467 fail:
5468 {
5469 if (temp2)
5470 delete arg2;
5471 }
5472 return NULL;
5473 }
5474
5475
5476 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5477 PyObject *resultobj = 0;
5478 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5479 int arg2 ;
5480 void *argp1 = 0 ;
5481 int res1 = 0 ;
5482 int val2 ;
5483 int ecode2 = 0 ;
5484 PyObject * obj0 = 0 ;
5485 PyObject * obj1 = 0 ;
5486 char * kwnames[] = {
5487 (char *) "self",(char *) "image", NULL
5488 };
5489
5490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5492 if (!SWIG_IsOK(res1)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5494 }
5495 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5496 ecode2 = SWIG_AsVal_int(obj1, &val2);
5497 if (!SWIG_IsOK(ecode2)) {
5498 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5499 }
5500 arg2 = static_cast< int >(val2);
5501 {
5502 PyThreadState* __tstate = wxPyBeginAllowThreads();
5503 (arg1)->SetImage(arg2);
5504 wxPyEndAllowThreads(__tstate);
5505 if (PyErr_Occurred()) SWIG_fail;
5506 }
5507 resultobj = SWIG_Py_Void();
5508 return resultobj;
5509 fail:
5510 return NULL;
5511 }
5512
5513
5514 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj = 0;
5516 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5517 int arg2 ;
5518 void *argp1 = 0 ;
5519 int res1 = 0 ;
5520 int val2 ;
5521 int ecode2 = 0 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 char * kwnames[] = {
5525 (char *) "self",(char *) "image", NULL
5526 };
5527
5528 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5529 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5530 if (!SWIG_IsOK(res1)) {
5531 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5532 }
5533 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5534 ecode2 = SWIG_AsVal_int(obj1, &val2);
5535 if (!SWIG_IsOK(ecode2)) {
5536 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5537 }
5538 arg2 = static_cast< int >(val2);
5539 {
5540 PyThreadState* __tstate = wxPyBeginAllowThreads();
5541 (arg1)->SetSelectedImage(arg2);
5542 wxPyEndAllowThreads(__tstate);
5543 if (PyErr_Occurred()) SWIG_fail;
5544 }
5545 resultobj = SWIG_Py_Void();
5546 return resultobj;
5547 fail:
5548 return NULL;
5549 }
5550
5551
5552 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5553 PyObject *resultobj = 0;
5554 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5555 size_t arg2 ;
5556 void *argp1 = 0 ;
5557 int res1 = 0 ;
5558 size_t val2 ;
5559 int ecode2 = 0 ;
5560 PyObject * obj0 = 0 ;
5561 PyObject * obj1 = 0 ;
5562 char * kwnames[] = {
5563 (char *) "self",(char *) "with", NULL
5564 };
5565
5566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5568 if (!SWIG_IsOK(res1)) {
5569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5570 }
5571 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5572 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5573 if (!SWIG_IsOK(ecode2)) {
5574 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5575 }
5576 arg2 = static_cast< size_t >(val2);
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->SetWidth(arg2);
5580 wxPyEndAllowThreads(__tstate);
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 resultobj = SWIG_Py_Void();
5584 return resultobj;
5585 fail:
5586 return NULL;
5587 }
5588
5589
5590 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5591 PyObject *obj;
5592 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5593 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5594 return SWIG_Py_Void();
5595 }
5596
5597 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5598 return SWIG_Python_InitShadowInstance(args);
5599 }
5600
5601 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5602 PyObject *resultobj = 0;
5603 wxWindow *arg1 = (wxWindow *) 0 ;
5604 int arg2 = (int) -1 ;
5605 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5606 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5607 wxSize const &arg4_defvalue = wxDefaultSize ;
5608 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5609 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5610 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5611 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5612 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5613 wxString *arg7 = (wxString *) &arg7_defvalue ;
5614 wxPyTreeListCtrl *result = 0 ;
5615 void *argp1 = 0 ;
5616 int res1 = 0 ;
5617 int val2 ;
5618 int ecode2 = 0 ;
5619 wxPoint temp3 ;
5620 wxSize temp4 ;
5621 long val5 ;
5622 int ecode5 = 0 ;
5623 void *argp6 = 0 ;
5624 int res6 = 0 ;
5625 bool temp7 = false ;
5626 PyObject * obj0 = 0 ;
5627 PyObject * obj1 = 0 ;
5628 PyObject * obj2 = 0 ;
5629 PyObject * obj3 = 0 ;
5630 PyObject * obj4 = 0 ;
5631 PyObject * obj5 = 0 ;
5632 PyObject * obj6 = 0 ;
5633 char * kwnames[] = {
5634 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5635 };
5636
5637 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5638 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5639 if (!SWIG_IsOK(res1)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5641 }
5642 arg1 = reinterpret_cast< wxWindow * >(argp1);
5643 if (obj1) {
5644 ecode2 = SWIG_AsVal_int(obj1, &val2);
5645 if (!SWIG_IsOK(ecode2)) {
5646 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5647 }
5648 arg2 = static_cast< int >(val2);
5649 }
5650 if (obj2) {
5651 {
5652 arg3 = &temp3;
5653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5654 }
5655 }
5656 if (obj3) {
5657 {
5658 arg4 = &temp4;
5659 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5660 }
5661 }
5662 if (obj4) {
5663 ecode5 = SWIG_AsVal_long(obj4, &val5);
5664 if (!SWIG_IsOK(ecode5)) {
5665 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5666 }
5667 arg5 = static_cast< long >(val5);
5668 }
5669 if (obj5) {
5670 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5671 if (!SWIG_IsOK(res6)) {
5672 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5673 }
5674 if (!argp6) {
5675 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5676 }
5677 arg6 = reinterpret_cast< wxValidator * >(argp6);
5678 }
5679 if (obj6) {
5680 {
5681 arg7 = wxString_in_helper(obj6);
5682 if (arg7 == NULL) SWIG_fail;
5683 temp7 = true;
5684 }
5685 }
5686 {
5687 if (!wxPyCheckForApp()) SWIG_fail;
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5694 {
5695 if (temp7)
5696 delete arg7;
5697 }
5698 return resultobj;
5699 fail:
5700 {
5701 if (temp7)
5702 delete arg7;
5703 }
5704 return NULL;
5705 }
5706
5707
5708 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5709 PyObject *resultobj = 0;
5710 wxPyTreeListCtrl *result = 0 ;
5711
5712 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5713 {
5714 if (!wxPyCheckForApp()) SWIG_fail;
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj = 0;
5729 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5730 wxWindow *arg2 = (wxWindow *) 0 ;
5731 int arg3 = (int) -1 ;
5732 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5733 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5734 wxSize const &arg5_defvalue = wxDefaultSize ;
5735 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5736 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5737 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5738 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5739 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5740 wxString *arg8 = (wxString *) &arg8_defvalue ;
5741 bool result;
5742 void *argp1 = 0 ;
5743 int res1 = 0 ;
5744 void *argp2 = 0 ;
5745 int res2 = 0 ;
5746 int val3 ;
5747 int ecode3 = 0 ;
5748 wxPoint temp4 ;
5749 wxSize temp5 ;
5750 long val6 ;
5751 int ecode6 = 0 ;
5752 void *argp7 = 0 ;
5753 int res7 = 0 ;
5754 bool temp8 = false ;
5755 PyObject * obj0 = 0 ;
5756 PyObject * obj1 = 0 ;
5757 PyObject * obj2 = 0 ;
5758 PyObject * obj3 = 0 ;
5759 PyObject * obj4 = 0 ;
5760 PyObject * obj5 = 0 ;
5761 PyObject * obj6 = 0 ;
5762 PyObject * obj7 = 0 ;
5763 char * kwnames[] = {
5764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5765 };
5766
5767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5769 if (!SWIG_IsOK(res1)) {
5770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5771 }
5772 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5773 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5774 if (!SWIG_IsOK(res2)) {
5775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5776 }
5777 arg2 = reinterpret_cast< wxWindow * >(argp2);
5778 if (obj2) {
5779 ecode3 = SWIG_AsVal_int(obj2, &val3);
5780 if (!SWIG_IsOK(ecode3)) {
5781 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5782 }
5783 arg3 = static_cast< int >(val3);
5784 }
5785 if (obj3) {
5786 {
5787 arg4 = &temp4;
5788 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5789 }
5790 }
5791 if (obj4) {
5792 {
5793 arg5 = &temp5;
5794 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5795 }
5796 }
5797 if (obj5) {
5798 ecode6 = SWIG_AsVal_long(obj5, &val6);
5799 if (!SWIG_IsOK(ecode6)) {
5800 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5801 }
5802 arg6 = static_cast< long >(val6);
5803 }
5804 if (obj6) {
5805 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5806 if (!SWIG_IsOK(res7)) {
5807 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5808 }
5809 if (!argp7) {
5810 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5811 }
5812 arg7 = reinterpret_cast< wxValidator * >(argp7);
5813 }
5814 if (obj7) {
5815 {
5816 arg8 = wxString_in_helper(obj7);
5817 if (arg8 == NULL) SWIG_fail;
5818 temp8 = true;
5819 }
5820 }
5821 {
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 {
5828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5829 }
5830 {
5831 if (temp8)
5832 delete arg8;
5833 }
5834 return resultobj;
5835 fail:
5836 {
5837 if (temp8)
5838 delete arg8;
5839 }
5840 return NULL;
5841 }
5842
5843
5844 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5845 PyObject *resultobj = 0;
5846 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5847 PyObject *arg2 = (PyObject *) 0 ;
5848 PyObject *arg3 = (PyObject *) 0 ;
5849 void *argp1 = 0 ;
5850 int res1 = 0 ;
5851 PyObject * obj0 = 0 ;
5852 PyObject * obj1 = 0 ;
5853 PyObject * obj2 = 0 ;
5854 char * kwnames[] = {
5855 (char *) "self",(char *) "self",(char *) "_class", NULL
5856 };
5857
5858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5860 if (!SWIG_IsOK(res1)) {
5861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5862 }
5863 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5864 arg2 = obj1;
5865 arg3 = obj2;
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 (arg1)->_setCallbackInfo(arg2,arg3);
5869 wxPyEndAllowThreads(__tstate);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 resultobj = SWIG_Py_Void();
5873 return resultobj;
5874 fail:
5875 return NULL;
5876 }
5877
5878
5879 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5880 PyObject *resultobj = 0;
5881 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5882 size_t result;
5883 void *argp1 = 0 ;
5884 int res1 = 0 ;
5885 PyObject *swig_obj[1] ;
5886
5887 if (!args) SWIG_fail;
5888 swig_obj[0] = args;
5889 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5890 if (!SWIG_IsOK(res1)) {
5891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5892 }
5893 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5897 wxPyEndAllowThreads(__tstate);
5898 if (PyErr_Occurred()) SWIG_fail;
5899 }
5900 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5901 return resultobj;
5902 fail:
5903 return NULL;
5904 }
5905
5906
5907 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5908 PyObject *resultobj = 0;
5909 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5910 unsigned int result;
5911 void *argp1 = 0 ;
5912 int res1 = 0 ;
5913 PyObject *swig_obj[1] ;
5914
5915 if (!args) SWIG_fail;
5916 swig_obj[0] = args;
5917 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5918 if (!SWIG_IsOK(res1)) {
5919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5920 }
5921 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5925 wxPyEndAllowThreads(__tstate);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5929 return resultobj;
5930 fail:
5931 return NULL;
5932 }
5933
5934
5935 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5936 PyObject *resultobj = 0;
5937 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5938 unsigned int arg2 ;
5939 void *argp1 = 0 ;
5940 int res1 = 0 ;
5941 unsigned int val2 ;
5942 int ecode2 = 0 ;
5943 PyObject * obj0 = 0 ;
5944 PyObject * obj1 = 0 ;
5945 char * kwnames[] = {
5946 (char *) "self",(char *) "indent", NULL
5947 };
5948
5949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5951 if (!SWIG_IsOK(res1)) {
5952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5953 }
5954 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5955 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5956 if (!SWIG_IsOK(ecode2)) {
5957 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5958 }
5959 arg2 = static_cast< unsigned int >(val2);
5960 {
5961 PyThreadState* __tstate = wxPyBeginAllowThreads();
5962 (arg1)->SetIndent(arg2);
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
5966 resultobj = SWIG_Py_Void();
5967 return resultobj;
5968 fail:
5969 return NULL;
5970 }
5971
5972
5973 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5974 PyObject *resultobj = 0;
5975 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5976 unsigned int result;
5977 void *argp1 = 0 ;
5978 int res1 = 0 ;
5979 PyObject *swig_obj[1] ;
5980
5981 if (!args) SWIG_fail;
5982 swig_obj[0] = args;
5983 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5984 if (!SWIG_IsOK(res1)) {
5985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5986 }
5987 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5991 wxPyEndAllowThreads(__tstate);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5995 return resultobj;
5996 fail:
5997 return NULL;
5998 }
5999
6000
6001 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6002 PyObject *resultobj = 0;
6003 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6004 unsigned int arg2 ;
6005 void *argp1 = 0 ;
6006 int res1 = 0 ;
6007 unsigned int val2 ;
6008 int ecode2 = 0 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char * kwnames[] = {
6012 (char *) "self",(char *) "spacing", NULL
6013 };
6014
6015 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6016 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6017 if (!SWIG_IsOK(res1)) {
6018 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6019 }
6020 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6021 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6022 if (!SWIG_IsOK(ecode2)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6024 }
6025 arg2 = static_cast< unsigned int >(val2);
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 (arg1)->SetLineSpacing(arg2);
6029 wxPyEndAllowThreads(__tstate);
6030 if (PyErr_Occurred()) SWIG_fail;
6031 }
6032 resultobj = SWIG_Py_Void();
6033 return resultobj;
6034 fail:
6035 return NULL;
6036 }
6037
6038
6039 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6040 PyObject *resultobj = 0;
6041 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6042 wxImageList *result = 0 ;
6043 void *argp1 = 0 ;
6044 int res1 = 0 ;
6045 PyObject *swig_obj[1] ;
6046
6047 if (!args) SWIG_fail;
6048 swig_obj[0] = args;
6049 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6050 if (!SWIG_IsOK(res1)) {
6051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6052 }
6053 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6057 wxPyEndAllowThreads(__tstate);
6058 if (PyErr_Occurred()) SWIG_fail;
6059 }
6060 {
6061 resultobj = wxPyMake_wxObject(result, (bool)0);
6062 }
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6070 PyObject *resultobj = 0;
6071 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6072 wxImageList *result = 0 ;
6073 void *argp1 = 0 ;
6074 int res1 = 0 ;
6075 PyObject *swig_obj[1] ;
6076
6077 if (!args) SWIG_fail;
6078 swig_obj[0] = args;
6079 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6080 if (!SWIG_IsOK(res1)) {
6081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6082 }
6083 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 {
6091 resultobj = wxPyMake_wxObject(result, (bool)0);
6092 }
6093 return resultobj;
6094 fail:
6095 return NULL;
6096 }
6097
6098
6099 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6100 PyObject *resultobj = 0;
6101 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6102 wxImageList *result = 0 ;
6103 void *argp1 = 0 ;
6104 int res1 = 0 ;
6105 PyObject *swig_obj[1] ;
6106
6107 if (!args) SWIG_fail;
6108 swig_obj[0] = args;
6109 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6110 if (!SWIG_IsOK(res1)) {
6111 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6112 }
6113 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6114 {
6115 PyThreadState* __tstate = wxPyBeginAllowThreads();
6116 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 {
6121 resultobj = wxPyMake_wxObject(result, (bool)0);
6122 }
6123 return resultobj;
6124 fail:
6125 return NULL;
6126 }
6127
6128
6129 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6130 PyObject *resultobj = 0;
6131 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6132 wxImageList *arg2 = (wxImageList *) 0 ;
6133 void *argp1 = 0 ;
6134 int res1 = 0 ;
6135 void *argp2 = 0 ;
6136 int res2 = 0 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char * kwnames[] = {
6140 (char *) "self",(char *) "imageList", NULL
6141 };
6142
6143 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6144 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6145 if (!SWIG_IsOK(res1)) {
6146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6147 }
6148 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6149 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6150 if (!SWIG_IsOK(res2)) {
6151 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6152 }
6153 arg2 = reinterpret_cast< wxImageList * >(argp2);
6154 {
6155 PyThreadState* __tstate = wxPyBeginAllowThreads();
6156 (arg1)->SetImageList(arg2);
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 resultobj = SWIG_Py_Void();
6161 return resultobj;
6162 fail:
6163 return NULL;
6164 }
6165
6166
6167 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj = 0;
6169 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6170 wxImageList *arg2 = (wxImageList *) 0 ;
6171 void *argp1 = 0 ;
6172 int res1 = 0 ;
6173 void *argp2 = 0 ;
6174 int res2 = 0 ;
6175 PyObject * obj0 = 0 ;
6176 PyObject * obj1 = 0 ;
6177 char * kwnames[] = {
6178 (char *) "self",(char *) "imageList", NULL
6179 };
6180
6181 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6182 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6183 if (!SWIG_IsOK(res1)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6185 }
6186 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6187 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6188 if (!SWIG_IsOK(res2)) {
6189 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6190 }
6191 arg2 = reinterpret_cast< wxImageList * >(argp2);
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 (arg1)->SetStateImageList(arg2);
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = SWIG_Py_Void();
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj = 0;
6207 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6208 wxImageList *arg2 = (wxImageList *) 0 ;
6209 void *argp1 = 0 ;
6210 int res1 = 0 ;
6211 void *argp2 = 0 ;
6212 int res2 = 0 ;
6213 PyObject * obj0 = 0 ;
6214 PyObject * obj1 = 0 ;
6215 char * kwnames[] = {
6216 (char *) "self",(char *) "imageList", NULL
6217 };
6218
6219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6221 if (!SWIG_IsOK(res1)) {
6222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6223 }
6224 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6226 if (!SWIG_IsOK(res2)) {
6227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6228 }
6229 arg2 = reinterpret_cast< wxImageList * >(argp2);
6230 {
6231 PyThreadState* __tstate = wxPyBeginAllowThreads();
6232 (arg1)->SetButtonsImageList(arg2);
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
6236 resultobj = SWIG_Py_Void();
6237 return resultobj;
6238 fail:
6239 return NULL;
6240 }
6241
6242
6243 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6244 PyObject *resultobj = 0;
6245 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6246 wxImageList *arg2 = (wxImageList *) 0 ;
6247 void *argp1 = 0 ;
6248 int res1 = 0 ;
6249 int res2 = 0 ;
6250 PyObject * obj0 = 0 ;
6251 PyObject * obj1 = 0 ;
6252 char * kwnames[] = {
6253 (char *) "self",(char *) "imageList", NULL
6254 };
6255
6256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6258 if (!SWIG_IsOK(res1)) {
6259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6260 }
6261 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6262 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6263 if (!SWIG_IsOK(res2)) {
6264 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6265 }
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 (arg1)->AssignImageList(arg2);
6269 wxPyEndAllowThreads(__tstate);
6270 if (PyErr_Occurred()) SWIG_fail;
6271 }
6272 resultobj = SWIG_Py_Void();
6273 return resultobj;
6274 fail:
6275 return NULL;
6276 }
6277
6278
6279 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6280 PyObject *resultobj = 0;
6281 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6282 wxImageList *arg2 = (wxImageList *) 0 ;
6283 void *argp1 = 0 ;
6284 int res1 = 0 ;
6285 int res2 = 0 ;
6286 PyObject * obj0 = 0 ;
6287 PyObject * obj1 = 0 ;
6288 char * kwnames[] = {
6289 (char *) "self",(char *) "imageList", NULL
6290 };
6291
6292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6294 if (!SWIG_IsOK(res1)) {
6295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6296 }
6297 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6298 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6299 if (!SWIG_IsOK(res2)) {
6300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6301 }
6302 {
6303 PyThreadState* __tstate = wxPyBeginAllowThreads();
6304 (arg1)->AssignStateImageList(arg2);
6305 wxPyEndAllowThreads(__tstate);
6306 if (PyErr_Occurred()) SWIG_fail;
6307 }
6308 resultobj = SWIG_Py_Void();
6309 return resultobj;
6310 fail:
6311 return NULL;
6312 }
6313
6314
6315 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6316 PyObject *resultobj = 0;
6317 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6318 wxImageList *arg2 = (wxImageList *) 0 ;
6319 void *argp1 = 0 ;
6320 int res1 = 0 ;
6321 int res2 = 0 ;
6322 PyObject * obj0 = 0 ;
6323 PyObject * obj1 = 0 ;
6324 char * kwnames[] = {
6325 (char *) "self",(char *) "imageList", NULL
6326 };
6327
6328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6330 if (!SWIG_IsOK(res1)) {
6331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6332 }
6333 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6334 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6335 if (!SWIG_IsOK(res2)) {
6336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6337 }
6338 {
6339 PyThreadState* __tstate = wxPyBeginAllowThreads();
6340 (arg1)->AssignButtonsImageList(arg2);
6341 wxPyEndAllowThreads(__tstate);
6342 if (PyErr_Occurred()) SWIG_fail;
6343 }
6344 resultobj = SWIG_Py_Void();
6345 return resultobj;
6346 fail:
6347 return NULL;
6348 }
6349
6350
6351 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj = 0;
6353 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6354 wxString *arg2 = 0 ;
6355 void *argp1 = 0 ;
6356 int res1 = 0 ;
6357 bool temp2 = false ;
6358 PyObject * obj0 = 0 ;
6359 PyObject * obj1 = 0 ;
6360 char * kwnames[] = {
6361 (char *) "self",(char *) "text", NULL
6362 };
6363
6364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6366 if (!SWIG_IsOK(res1)) {
6367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6368 }
6369 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6370 {
6371 arg2 = wxString_in_helper(obj1);
6372 if (arg2 == NULL) SWIG_fail;
6373 temp2 = true;
6374 }
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 (arg1)->AddColumn((wxString const &)*arg2);
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 resultobj = SWIG_Py_Void();
6382 {
6383 if (temp2)
6384 delete arg2;
6385 }
6386 return resultobj;
6387 fail:
6388 {
6389 if (temp2)
6390 delete arg2;
6391 }
6392 return NULL;
6393 }
6394
6395
6396 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj = 0;
6398 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6399 wxTreeListColumnInfo *arg2 = 0 ;
6400 void *argp1 = 0 ;
6401 int res1 = 0 ;
6402 void *argp2 = 0 ;
6403 int res2 = 0 ;
6404 PyObject * obj0 = 0 ;
6405 PyObject * obj1 = 0 ;
6406 char * kwnames[] = {
6407 (char *) "self",(char *) "col", NULL
6408 };
6409
6410 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6411 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6412 if (!SWIG_IsOK(res1)) {
6413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6414 }
6415 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6416 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6417 if (!SWIG_IsOK(res2)) {
6418 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6419 }
6420 if (!argp2) {
6421 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6422 }
6423 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6427 wxPyEndAllowThreads(__tstate);
6428 if (PyErr_Occurred()) SWIG_fail;
6429 }
6430 resultobj = SWIG_Py_Void();
6431 return resultobj;
6432 fail:
6433 return NULL;
6434 }
6435
6436
6437 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj = 0;
6439 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6440 size_t arg2 ;
6441 wxString *arg3 = 0 ;
6442 void *argp1 = 0 ;
6443 int res1 = 0 ;
6444 size_t val2 ;
6445 int ecode2 = 0 ;
6446 bool temp3 = false ;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 PyObject * obj2 = 0 ;
6450 char * kwnames[] = {
6451 (char *) "self",(char *) "before",(char *) "text", NULL
6452 };
6453
6454 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6455 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6456 if (!SWIG_IsOK(res1)) {
6457 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6458 }
6459 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6460 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6461 if (!SWIG_IsOK(ecode2)) {
6462 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6463 }
6464 arg2 = static_cast< size_t >(val2);
6465 {
6466 arg3 = wxString_in_helper(obj2);
6467 if (arg3 == NULL) SWIG_fail;
6468 temp3 = true;
6469 }
6470 {
6471 PyThreadState* __tstate = wxPyBeginAllowThreads();
6472 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6473 wxPyEndAllowThreads(__tstate);
6474 if (PyErr_Occurred()) SWIG_fail;
6475 }
6476 resultobj = SWIG_Py_Void();
6477 {
6478 if (temp3)
6479 delete arg3;
6480 }
6481 return resultobj;
6482 fail:
6483 {
6484 if (temp3)
6485 delete arg3;
6486 }
6487 return NULL;
6488 }
6489
6490
6491 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6492 PyObject *resultobj = 0;
6493 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6494 size_t arg2 ;
6495 wxTreeListColumnInfo *arg3 = 0 ;
6496 void *argp1 = 0 ;
6497 int res1 = 0 ;
6498 size_t val2 ;
6499 int ecode2 = 0 ;
6500 void *argp3 = 0 ;
6501 int res3 = 0 ;
6502 PyObject * obj0 = 0 ;
6503 PyObject * obj1 = 0 ;
6504 PyObject * obj2 = 0 ;
6505 char * kwnames[] = {
6506 (char *) "self",(char *) "before",(char *) "col", NULL
6507 };
6508
6509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6511 if (!SWIG_IsOK(res1)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6513 }
6514 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6515 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6516 if (!SWIG_IsOK(ecode2)) {
6517 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6518 }
6519 arg2 = static_cast< size_t >(val2);
6520 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6521 if (!SWIG_IsOK(res3)) {
6522 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6523 }
6524 if (!argp3) {
6525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6526 }
6527 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6528 {
6529 PyThreadState* __tstate = wxPyBeginAllowThreads();
6530 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6531 wxPyEndAllowThreads(__tstate);
6532 if (PyErr_Occurred()) SWIG_fail;
6533 }
6534 resultobj = SWIG_Py_Void();
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj = 0;
6543 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6544 size_t arg2 ;
6545 void *argp1 = 0 ;
6546 int res1 = 0 ;
6547 size_t val2 ;
6548 int ecode2 = 0 ;
6549 PyObject * obj0 = 0 ;
6550 PyObject * obj1 = 0 ;
6551 char * kwnames[] = {
6552 (char *) "self",(char *) "column", NULL
6553 };
6554
6555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6557 if (!SWIG_IsOK(res1)) {
6558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6559 }
6560 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6561 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6562 if (!SWIG_IsOK(ecode2)) {
6563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6564 }
6565 arg2 = static_cast< size_t >(val2);
6566 {
6567 PyThreadState* __tstate = wxPyBeginAllowThreads();
6568 (arg1)->RemoveColumn(arg2);
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 resultobj = SWIG_Py_Void();
6573 return resultobj;
6574 fail:
6575 return NULL;
6576 }
6577
6578
6579 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6580 PyObject *resultobj = 0;
6581 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6582 size_t result;
6583 void *argp1 = 0 ;
6584 int res1 = 0 ;
6585 PyObject *swig_obj[1] ;
6586
6587 if (!args) SWIG_fail;
6588 swig_obj[0] = args;
6589 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6590 if (!SWIG_IsOK(res1)) {
6591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6592 }
6593 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6594 {
6595 PyThreadState* __tstate = wxPyBeginAllowThreads();
6596 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6597 wxPyEndAllowThreads(__tstate);
6598 if (PyErr_Occurred()) SWIG_fail;
6599 }
6600 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6601 return resultobj;
6602 fail:
6603 return NULL;
6604 }
6605
6606
6607 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6608 PyObject *resultobj = 0;
6609 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6610 size_t arg2 ;
6611 size_t arg3 ;
6612 void *argp1 = 0 ;
6613 int res1 = 0 ;
6614 size_t val2 ;
6615 int ecode2 = 0 ;
6616 size_t val3 ;
6617 int ecode3 = 0 ;
6618 PyObject * obj0 = 0 ;
6619 PyObject * obj1 = 0 ;
6620 PyObject * obj2 = 0 ;
6621 char * kwnames[] = {
6622 (char *) "self",(char *) "column",(char *) "width", NULL
6623 };
6624
6625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6627 if (!SWIG_IsOK(res1)) {
6628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6629 }
6630 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6631 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6632 if (!SWIG_IsOK(ecode2)) {
6633 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6634 }
6635 arg2 = static_cast< size_t >(val2);
6636 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6637 if (!SWIG_IsOK(ecode3)) {
6638 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6639 }
6640 arg3 = static_cast< size_t >(val3);
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 (arg1)->SetColumnWidth(arg2,arg3);
6644 wxPyEndAllowThreads(__tstate);
6645 if (PyErr_Occurred()) SWIG_fail;
6646 }
6647 resultobj = SWIG_Py_Void();
6648 return resultobj;
6649 fail:
6650 return NULL;
6651 }
6652
6653
6654 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6655 PyObject *resultobj = 0;
6656 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6657 size_t arg2 ;
6658 int result;
6659 void *argp1 = 0 ;
6660 int res1 = 0 ;
6661 size_t val2 ;
6662 int ecode2 = 0 ;
6663 PyObject * obj0 = 0 ;
6664 PyObject * obj1 = 0 ;
6665 char * kwnames[] = {
6666 (char *) "self",(char *) "column", NULL
6667 };
6668
6669 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6670 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6671 if (!SWIG_IsOK(res1)) {
6672 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6673 }
6674 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6675 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6676 if (!SWIG_IsOK(ecode2)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6678 }
6679 arg2 = static_cast< size_t >(val2);
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6683 wxPyEndAllowThreads(__tstate);
6684 if (PyErr_Occurred()) SWIG_fail;
6685 }
6686 resultobj = SWIG_From_int(static_cast< int >(result));
6687 return resultobj;
6688 fail:
6689 return NULL;
6690 }
6691
6692
6693 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6694 PyObject *resultobj = 0;
6695 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6696 size_t arg2 ;
6697 void *argp1 = 0 ;
6698 int res1 = 0 ;
6699 size_t val2 ;
6700 int ecode2 = 0 ;
6701 PyObject * obj0 = 0 ;
6702 PyObject * obj1 = 0 ;
6703 char * kwnames[] = {
6704 (char *) "self",(char *) "column", NULL
6705 };
6706
6707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6709 if (!SWIG_IsOK(res1)) {
6710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6711 }
6712 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6713 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6714 if (!SWIG_IsOK(ecode2)) {
6715 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6716 }
6717 arg2 = static_cast< size_t >(val2);
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->SetMainColumn(arg2);
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = SWIG_Py_Void();
6725 return resultobj;
6726 fail:
6727 return NULL;
6728 }
6729
6730
6731 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6732 PyObject *resultobj = 0;
6733 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6734 size_t result;
6735 void *argp1 = 0 ;
6736 int res1 = 0 ;
6737 PyObject *swig_obj[1] ;
6738
6739 if (!args) SWIG_fail;
6740 swig_obj[0] = args;
6741 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6742 if (!SWIG_IsOK(res1)) {
6743 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6744 }
6745 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6749 wxPyEndAllowThreads(__tstate);
6750 if (PyErr_Occurred()) SWIG_fail;
6751 }
6752 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6753 return resultobj;
6754 fail:
6755 return NULL;
6756 }
6757
6758
6759 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6760 PyObject *resultobj = 0;
6761 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6762 size_t arg2 ;
6763 wxString *arg3 = 0 ;
6764 void *argp1 = 0 ;
6765 int res1 = 0 ;
6766 size_t val2 ;
6767 int ecode2 = 0 ;
6768 bool temp3 = false ;
6769 PyObject * obj0 = 0 ;
6770 PyObject * obj1 = 0 ;
6771 PyObject * obj2 = 0 ;
6772 char * kwnames[] = {
6773 (char *) "self",(char *) "column",(char *) "text", NULL
6774 };
6775
6776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6778 if (!SWIG_IsOK(res1)) {
6779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6780 }
6781 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6782 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6783 if (!SWIG_IsOK(ecode2)) {
6784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6785 }
6786 arg2 = static_cast< size_t >(val2);
6787 {
6788 arg3 = wxString_in_helper(obj2);
6789 if (arg3 == NULL) SWIG_fail;
6790 temp3 = true;
6791 }
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 resultobj = SWIG_Py_Void();
6799 {
6800 if (temp3)
6801 delete arg3;
6802 }
6803 return resultobj;
6804 fail:
6805 {
6806 if (temp3)
6807 delete arg3;
6808 }
6809 return NULL;
6810 }
6811
6812
6813 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj = 0;
6815 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6816 size_t arg2 ;
6817 wxString result;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 size_t val2 ;
6821 int ecode2 = 0 ;
6822 PyObject * obj0 = 0 ;
6823 PyObject * obj1 = 0 ;
6824 char * kwnames[] = {
6825 (char *) "self",(char *) "column", NULL
6826 };
6827
6828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6830 if (!SWIG_IsOK(res1)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6832 }
6833 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6834 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6835 if (!SWIG_IsOK(ecode2)) {
6836 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6837 }
6838 arg2 = static_cast< size_t >(val2);
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 {
6846 #if wxUSE_UNICODE
6847 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6848 #else
6849 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6850 #endif
6851 }
6852 return resultobj;
6853 fail:
6854 return NULL;
6855 }
6856
6857
6858 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6859 PyObject *resultobj = 0;
6860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6861 size_t arg2 ;
6862 wxTreeListColumnInfo *arg3 = 0 ;
6863 void *argp1 = 0 ;
6864 int res1 = 0 ;
6865 size_t val2 ;
6866 int ecode2 = 0 ;
6867 void *argp3 = 0 ;
6868 int res3 = 0 ;
6869 PyObject * obj0 = 0 ;
6870 PyObject * obj1 = 0 ;
6871 PyObject * obj2 = 0 ;
6872 char * kwnames[] = {
6873 (char *) "self",(char *) "column",(char *) "info", NULL
6874 };
6875
6876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6878 if (!SWIG_IsOK(res1)) {
6879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6880 }
6881 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6882 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6883 if (!SWIG_IsOK(ecode2)) {
6884 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6885 }
6886 arg2 = static_cast< size_t >(val2);
6887 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6888 if (!SWIG_IsOK(res3)) {
6889 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6890 }
6891 if (!argp3) {
6892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6893 }
6894 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_Py_Void();
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj = 0;
6910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6911 size_t arg2 ;
6912 wxTreeListColumnInfo *result = 0 ;
6913 void *argp1 = 0 ;
6914 int res1 = 0 ;
6915 size_t val2 ;
6916 int ecode2 = 0 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char * kwnames[] = {
6920 (char *) "self",(char *) "column", NULL
6921 };
6922
6923 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6924 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6925 if (!SWIG_IsOK(res1)) {
6926 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6927 }
6928 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6929 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6930 if (!SWIG_IsOK(ecode2)) {
6931 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6932 }
6933 arg2 = static_cast< size_t >(val2);
6934 {
6935 PyThreadState* __tstate = wxPyBeginAllowThreads();
6936 {
6937 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6938 result = (wxTreeListColumnInfo *) &_result_ref;
6939 }
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6944 return resultobj;
6945 fail:
6946 return NULL;
6947 }
6948
6949
6950 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6951 PyObject *resultobj = 0;
6952 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6953 size_t arg2 ;
6954 wxTreeListColumnAlign arg3 ;
6955 void *argp1 = 0 ;
6956 int res1 = 0 ;
6957 size_t val2 ;
6958 int ecode2 = 0 ;
6959 int val3 ;
6960 int ecode3 = 0 ;
6961 PyObject * obj0 = 0 ;
6962 PyObject * obj1 = 0 ;
6963 PyObject * obj2 = 0 ;
6964 char * kwnames[] = {
6965 (char *) "self",(char *) "column",(char *) "align", NULL
6966 };
6967
6968 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6969 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6970 if (!SWIG_IsOK(res1)) {
6971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6972 }
6973 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6974 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6975 if (!SWIG_IsOK(ecode2)) {
6976 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6977 }
6978 arg2 = static_cast< size_t >(val2);
6979 ecode3 = SWIG_AsVal_int(obj2, &val3);
6980 if (!SWIG_IsOK(ecode3)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6982 }
6983 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 (arg1)->SetColumnAlignment(arg2,arg3);
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 resultobj = SWIG_Py_Void();
6991 return resultobj;
6992 fail:
6993 return NULL;
6994 }
6995
6996
6997 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj = 0;
6999 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7000 size_t arg2 ;
7001 wxTreeListColumnAlign result;
7002 void *argp1 = 0 ;
7003 int res1 = 0 ;
7004 size_t val2 ;
7005 int ecode2 = 0 ;
7006 PyObject * obj0 = 0 ;
7007 PyObject * obj1 = 0 ;
7008 char * kwnames[] = {
7009 (char *) "self",(char *) "column", NULL
7010 };
7011
7012 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7013 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7014 if (!SWIG_IsOK(res1)) {
7015 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7016 }
7017 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7018 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7019 if (!SWIG_IsOK(ecode2)) {
7020 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7021 }
7022 arg2 = static_cast< size_t >(val2);
7023 {
7024 PyThreadState* __tstate = wxPyBeginAllowThreads();
7025 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 resultobj = SWIG_From_int(static_cast< int >(result));
7030 return resultobj;
7031 fail:
7032 return NULL;
7033 }
7034
7035
7036 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7037 PyObject *resultobj = 0;
7038 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7039 size_t arg2 ;
7040 int arg3 ;
7041 void *argp1 = 0 ;
7042 int res1 = 0 ;
7043 size_t val2 ;
7044 int ecode2 = 0 ;
7045 int val3 ;
7046 int ecode3 = 0 ;
7047 PyObject * obj0 = 0 ;
7048 PyObject * obj1 = 0 ;
7049 PyObject * obj2 = 0 ;
7050 char * kwnames[] = {
7051 (char *) "self",(char *) "column",(char *) "image", NULL
7052 };
7053
7054 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7055 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7056 if (!SWIG_IsOK(res1)) {
7057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7058 }
7059 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7060 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7061 if (!SWIG_IsOK(ecode2)) {
7062 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7063 }
7064 arg2 = static_cast< size_t >(val2);
7065 ecode3 = SWIG_AsVal_int(obj2, &val3);
7066 if (!SWIG_IsOK(ecode3)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7068 }
7069 arg3 = static_cast< int >(val3);
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 (arg1)->SetColumnImage(arg2,arg3);
7073 wxPyEndAllowThreads(__tstate);
7074 if (PyErr_Occurred()) SWIG_fail;
7075 }
7076 resultobj = SWIG_Py_Void();
7077 return resultobj;
7078 fail:
7079 return NULL;
7080 }
7081
7082
7083 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7084 PyObject *resultobj = 0;
7085 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7086 size_t arg2 ;
7087 int result;
7088 void *argp1 = 0 ;
7089 int res1 = 0 ;
7090 size_t val2 ;
7091 int ecode2 = 0 ;
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char * kwnames[] = {
7095 (char *) "self",(char *) "column", NULL
7096 };
7097
7098 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7099 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7100 if (!SWIG_IsOK(res1)) {
7101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7102 }
7103 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7104 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7105 if (!SWIG_IsOK(ecode2)) {
7106 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7107 }
7108 arg2 = static_cast< size_t >(val2);
7109 {
7110 PyThreadState* __tstate = wxPyBeginAllowThreads();
7111 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7112 wxPyEndAllowThreads(__tstate);
7113 if (PyErr_Occurred()) SWIG_fail;
7114 }
7115 resultobj = SWIG_From_int(static_cast< int >(result));
7116 return resultobj;
7117 fail:
7118 return NULL;
7119 }
7120
7121
7122 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7123 PyObject *resultobj = 0;
7124 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7125 size_t arg2 ;
7126 bool arg3 ;
7127 void *argp1 = 0 ;
7128 int res1 = 0 ;
7129 size_t val2 ;
7130 int ecode2 = 0 ;
7131 bool val3 ;
7132 int ecode3 = 0 ;
7133 PyObject * obj0 = 0 ;
7134 PyObject * obj1 = 0 ;
7135 PyObject * obj2 = 0 ;
7136 char * kwnames[] = {
7137 (char *) "self",(char *) "column",(char *) "shown", NULL
7138 };
7139
7140 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7141 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7142 if (!SWIG_IsOK(res1)) {
7143 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7144 }
7145 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7146 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7147 if (!SWIG_IsOK(ecode2)) {
7148 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7149 }
7150 arg2 = static_cast< size_t >(val2);
7151 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7152 if (!SWIG_IsOK(ecode3)) {
7153 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7154 }
7155 arg3 = static_cast< bool >(val3);
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->ShowColumn(arg2,arg3);
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 resultobj = SWIG_Py_Void();
7163 return resultobj;
7164 fail:
7165 return NULL;
7166 }
7167
7168
7169 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7170 PyObject *resultobj = 0;
7171 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7172 size_t arg2 ;
7173 bool result;
7174 void *argp1 = 0 ;
7175 int res1 = 0 ;
7176 size_t val2 ;
7177 int ecode2 = 0 ;
7178 PyObject * obj0 = 0 ;
7179 PyObject * obj1 = 0 ;
7180 char * kwnames[] = {
7181 (char *) "self",(char *) "column", NULL
7182 };
7183
7184 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7185 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7186 if (!SWIG_IsOK(res1)) {
7187 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7188 }
7189 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7190 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7191 if (!SWIG_IsOK(ecode2)) {
7192 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7193 }
7194 arg2 = static_cast< size_t >(val2);
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7203 }
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj = 0;
7212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7213 wxTreeItemId *arg2 = 0 ;
7214 int arg3 = (int) -1 ;
7215 wxString result;
7216 void *argp1 = 0 ;
7217 int res1 = 0 ;
7218 void *argp2 = 0 ;
7219 int res2 = 0 ;
7220 int val3 ;
7221 int ecode3 = 0 ;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj1 = 0 ;
7224 PyObject * obj2 = 0 ;
7225 char * kwnames[] = {
7226 (char *) "self",(char *) "item",(char *) "column", NULL
7227 };
7228
7229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7231 if (!SWIG_IsOK(res1)) {
7232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7233 }
7234 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7235 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7236 if (!SWIG_IsOK(res2)) {
7237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7238 }
7239 if (!argp2) {
7240 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7241 }
7242 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7243 if (obj2) {
7244 ecode3 = SWIG_AsVal_int(obj2, &val3);
7245 if (!SWIG_IsOK(ecode3)) {
7246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7247 }
7248 arg3 = static_cast< int >(val3);
7249 }
7250 {
7251 PyThreadState* __tstate = wxPyBeginAllowThreads();
7252 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257 #if wxUSE_UNICODE
7258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7259 #else
7260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7261 #endif
7262 }
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj = 0;
7271 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7272 wxTreeItemId *arg2 = 0 ;
7273 int arg3 = (int) -1 ;
7274 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7275 int result;
7276 void *argp1 = 0 ;
7277 int res1 = 0 ;
7278 void *argp2 = 0 ;
7279 int res2 = 0 ;
7280 int val3 ;
7281 int ecode3 = 0 ;
7282 int val4 ;
7283 int ecode4 = 0 ;
7284 PyObject * obj0 = 0 ;
7285 PyObject * obj1 = 0 ;
7286 PyObject * obj2 = 0 ;
7287 PyObject * obj3 = 0 ;
7288 char * kwnames[] = {
7289 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7290 };
7291
7292 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7293 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7294 if (!SWIG_IsOK(res1)) {
7295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7296 }
7297 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7298 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7299 if (!SWIG_IsOK(res2)) {
7300 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7301 }
7302 if (!argp2) {
7303 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7304 }
7305 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7306 if (obj2) {
7307 ecode3 = SWIG_AsVal_int(obj2, &val3);
7308 if (!SWIG_IsOK(ecode3)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7310 }
7311 arg3 = static_cast< int >(val3);
7312 }
7313 if (obj3) {
7314 ecode4 = SWIG_AsVal_int(obj3, &val4);
7315 if (!SWIG_IsOK(ecode4)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7317 }
7318 arg4 = static_cast< wxTreeItemIcon >(val4);
7319 }
7320 {
7321 PyThreadState* __tstate = wxPyBeginAllowThreads();
7322 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 resultobj = SWIG_From_int(static_cast< int >(result));
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj = 0;
7335 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7336 wxTreeItemId *arg2 = 0 ;
7337 wxString *arg3 = 0 ;
7338 int arg4 = (int) -1 ;
7339 void *argp1 = 0 ;
7340 int res1 = 0 ;
7341 void *argp2 = 0 ;
7342 int res2 = 0 ;
7343 bool temp3 = false ;
7344 int val4 ;
7345 int ecode4 = 0 ;
7346 PyObject * obj0 = 0 ;
7347 PyObject * obj1 = 0 ;
7348 PyObject * obj2 = 0 ;
7349 PyObject * obj3 = 0 ;
7350 char * kwnames[] = {
7351 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7352 };
7353
7354 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7355 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7356 if (!SWIG_IsOK(res1)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7358 }
7359 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7360 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7361 if (!SWIG_IsOK(res2)) {
7362 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7363 }
7364 if (!argp2) {
7365 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7366 }
7367 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7368 {
7369 arg3 = wxString_in_helper(obj2);
7370 if (arg3 == NULL) SWIG_fail;
7371 temp3 = true;
7372 }
7373 if (obj3) {
7374 ecode4 = SWIG_AsVal_int(obj3, &val4);
7375 if (!SWIG_IsOK(ecode4)) {
7376 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7377 }
7378 arg4 = static_cast< int >(val4);
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7383 wxPyEndAllowThreads(__tstate);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
7386 resultobj = SWIG_Py_Void();
7387 {
7388 if (temp3)
7389 delete arg3;
7390 }
7391 return resultobj;
7392 fail:
7393 {
7394 if (temp3)
7395 delete arg3;
7396 }
7397 return NULL;
7398 }
7399
7400
7401 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj = 0;
7403 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7404 wxTreeItemId *arg2 = 0 ;
7405 int arg3 ;
7406 int arg4 = (int) -1 ;
7407 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7408 void *argp1 = 0 ;
7409 int res1 = 0 ;
7410 void *argp2 = 0 ;
7411 int res2 = 0 ;
7412 int val3 ;
7413 int ecode3 = 0 ;
7414 int val4 ;
7415 int ecode4 = 0 ;
7416 int val5 ;
7417 int ecode5 = 0 ;
7418 PyObject * obj0 = 0 ;
7419 PyObject * obj1 = 0 ;
7420 PyObject * obj2 = 0 ;
7421 PyObject * obj3 = 0 ;
7422 PyObject * obj4 = 0 ;
7423 char * kwnames[] = {
7424 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7425 };
7426
7427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7429 if (!SWIG_IsOK(res1)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7431 }
7432 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7433 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7434 if (!SWIG_IsOK(res2)) {
7435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7436 }
7437 if (!argp2) {
7438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7439 }
7440 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7441 ecode3 = SWIG_AsVal_int(obj2, &val3);
7442 if (!SWIG_IsOK(ecode3)) {
7443 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7444 }
7445 arg3 = static_cast< int >(val3);
7446 if (obj3) {
7447 ecode4 = SWIG_AsVal_int(obj3, &val4);
7448 if (!SWIG_IsOK(ecode4)) {
7449 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7450 }
7451 arg4 = static_cast< int >(val4);
7452 }
7453 if (obj4) {
7454 ecode5 = SWIG_AsVal_int(obj4, &val5);
7455 if (!SWIG_IsOK(ecode5)) {
7456 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7457 }
7458 arg5 = static_cast< wxTreeItemIcon >(val5);
7459 }
7460 {
7461 PyThreadState* __tstate = wxPyBeginAllowThreads();
7462 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7463 wxPyEndAllowThreads(__tstate);
7464 if (PyErr_Occurred()) SWIG_fail;
7465 }
7466 resultobj = SWIG_Py_Void();
7467 return resultobj;
7468 fail:
7469 return NULL;
7470 }
7471
7472
7473 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7474 PyObject *resultobj = 0;
7475 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7476 wxTreeItemId *arg2 = 0 ;
7477 wxPyTreeItemData *result = 0 ;
7478 void *argp1 = 0 ;
7479 int res1 = 0 ;
7480 void *argp2 = 0 ;
7481 int res2 = 0 ;
7482 PyObject * obj0 = 0 ;
7483 PyObject * obj1 = 0 ;
7484 char * kwnames[] = {
7485 (char *) "self",(char *) "item", NULL
7486 };
7487
7488 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7489 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7490 if (!SWIG_IsOK(res1)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7492 }
7493 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7494 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7495 if (!SWIG_IsOK(res2)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7497 }
7498 if (!argp2) {
7499 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7500 }
7501 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7502 {
7503 PyThreadState* __tstate = wxPyBeginAllowThreads();
7504 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7509 return resultobj;
7510 fail:
7511 return NULL;
7512 }
7513
7514
7515 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7516 PyObject *resultobj = 0;
7517 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7518 wxTreeItemId *arg2 = 0 ;
7519 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7520 void *argp1 = 0 ;
7521 int res1 = 0 ;
7522 void *argp2 = 0 ;
7523 int res2 = 0 ;
7524 int res3 = 0 ;
7525 PyObject * obj0 = 0 ;
7526 PyObject * obj1 = 0 ;
7527 PyObject * obj2 = 0 ;
7528 char * kwnames[] = {
7529 (char *) "self",(char *) "item",(char *) "data", NULL
7530 };
7531
7532 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7533 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7534 if (!SWIG_IsOK(res1)) {
7535 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7536 }
7537 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7538 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7539 if (!SWIG_IsOK(res2)) {
7540 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7541 }
7542 if (!argp2) {
7543 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7544 }
7545 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7546 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7547 if (!SWIG_IsOK(res3)) {
7548 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7549 }
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 resultobj = SWIG_Py_Void();
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj = 0;
7565 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7566 wxTreeItemId *arg2 = 0 ;
7567 PyObject *result = 0 ;
7568 void *argp1 = 0 ;
7569 int res1 = 0 ;
7570 void *argp2 = 0 ;
7571 int res2 = 0 ;
7572 PyObject * obj0 = 0 ;
7573 PyObject * obj1 = 0 ;
7574 char * kwnames[] = {
7575 (char *) "self",(char *) "item", NULL
7576 };
7577
7578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7580 if (!SWIG_IsOK(res1)) {
7581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7582 }
7583 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7584 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7585 if (!SWIG_IsOK(res2)) {
7586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7587 }
7588 if (!argp2) {
7589 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7590 }
7591 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7592 {
7593 PyThreadState* __tstate = wxPyBeginAllowThreads();
7594 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 resultobj = result;
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj = 0;
7607 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7608 wxTreeItemId *arg2 = 0 ;
7609 PyObject *arg3 = (PyObject *) 0 ;
7610 void *argp1 = 0 ;
7611 int res1 = 0 ;
7612 void *argp2 = 0 ;
7613 int res2 = 0 ;
7614 PyObject * obj0 = 0 ;
7615 PyObject * obj1 = 0 ;
7616 PyObject * obj2 = 0 ;
7617 char * kwnames[] = {
7618 (char *) "self",(char *) "item",(char *) "obj", NULL
7619 };
7620
7621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7623 if (!SWIG_IsOK(res1)) {
7624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7625 }
7626 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7627 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7628 if (!SWIG_IsOK(res2)) {
7629 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7630 }
7631 if (!argp2) {
7632 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7633 }
7634 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7635 arg3 = obj2;
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7639 wxPyEndAllowThreads(__tstate);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 resultobj = SWIG_Py_Void();
7643 return resultobj;
7644 fail:
7645 return NULL;
7646 }
7647
7648
7649 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7650 PyObject *resultobj = 0;
7651 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7652 wxTreeItemId *arg2 = 0 ;
7653 bool arg3 = (bool) true ;
7654 void *argp1 = 0 ;
7655 int res1 = 0 ;
7656 void *argp2 = 0 ;
7657 int res2 = 0 ;
7658 bool val3 ;
7659 int ecode3 = 0 ;
7660 PyObject * obj0 = 0 ;
7661 PyObject * obj1 = 0 ;
7662 PyObject * obj2 = 0 ;
7663 char * kwnames[] = {
7664 (char *) "self",(char *) "item",(char *) "has", NULL
7665 };
7666
7667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7669 if (!SWIG_IsOK(res1)) {
7670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7671 }
7672 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7673 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7674 if (!SWIG_IsOK(res2)) {
7675 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7676 }
7677 if (!argp2) {
7678 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7679 }
7680 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7681 if (obj2) {
7682 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7683 if (!SWIG_IsOK(ecode3)) {
7684 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7685 }
7686 arg3 = static_cast< bool >(val3);
7687 }
7688 {
7689 PyThreadState* __tstate = wxPyBeginAllowThreads();
7690 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7691 wxPyEndAllowThreads(__tstate);
7692 if (PyErr_Occurred()) SWIG_fail;
7693 }
7694 resultobj = SWIG_Py_Void();
7695 return resultobj;
7696 fail:
7697 return NULL;
7698 }
7699
7700
7701 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7702 PyObject *resultobj = 0;
7703 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7704 wxTreeItemId *arg2 = 0 ;
7705 bool arg3 = (bool) true ;
7706 void *argp1 = 0 ;
7707 int res1 = 0 ;
7708 void *argp2 = 0 ;
7709 int res2 = 0 ;
7710 bool val3 ;
7711 int ecode3 = 0 ;
7712 PyObject * obj0 = 0 ;
7713 PyObject * obj1 = 0 ;
7714 PyObject * obj2 = 0 ;
7715 char * kwnames[] = {
7716 (char *) "self",(char *) "item",(char *) "bold", NULL
7717 };
7718
7719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7721 if (!SWIG_IsOK(res1)) {
7722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7723 }
7724 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7725 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7726 if (!SWIG_IsOK(res2)) {
7727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7728 }
7729 if (!argp2) {
7730 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7731 }
7732 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7733 if (obj2) {
7734 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7735 if (!SWIG_IsOK(ecode3)) {
7736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7737 }
7738 arg3 = static_cast< bool >(val3);
7739 }
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7743 wxPyEndAllowThreads(__tstate);
7744 if (PyErr_Occurred()) SWIG_fail;
7745 }
7746 resultobj = SWIG_Py_Void();
7747 return resultobj;
7748 fail:
7749 return NULL;
7750 }
7751
7752
7753 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7754 PyObject *resultobj = 0;
7755 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7756 wxTreeItemId *arg2 = 0 ;
7757 wxColour *arg3 = 0 ;
7758 void *argp1 = 0 ;
7759 int res1 = 0 ;
7760 void *argp2 = 0 ;
7761 int res2 = 0 ;
7762 wxColour temp3 ;
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
7765 PyObject * obj2 = 0 ;
7766 char * kwnames[] = {
7767 (char *) "self",(char *) "item",(char *) "colour", NULL
7768 };
7769
7770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7772 if (!SWIG_IsOK(res1)) {
7773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7774 }
7775 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7776 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7777 if (!SWIG_IsOK(res2)) {
7778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7779 }
7780 if (!argp2) {
7781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7782 }
7783 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7784 {
7785 arg3 = &temp3;
7786 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7787 }
7788 {
7789 PyThreadState* __tstate = wxPyBeginAllowThreads();
7790 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7791 wxPyEndAllowThreads(__tstate);
7792 if (PyErr_Occurred()) SWIG_fail;
7793 }
7794 resultobj = SWIG_Py_Void();
7795 return resultobj;
7796 fail:
7797 return NULL;
7798 }
7799
7800
7801 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7802 PyObject *resultobj = 0;
7803 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7804 wxTreeItemId *arg2 = 0 ;
7805 wxColour *arg3 = 0 ;
7806 void *argp1 = 0 ;
7807 int res1 = 0 ;
7808 void *argp2 = 0 ;
7809 int res2 = 0 ;
7810 wxColour temp3 ;
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 PyObject * obj2 = 0 ;
7814 char * kwnames[] = {
7815 (char *) "self",(char *) "item",(char *) "colour", NULL
7816 };
7817
7818 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7819 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7820 if (!SWIG_IsOK(res1)) {
7821 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7822 }
7823 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7824 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7825 if (!SWIG_IsOK(res2)) {
7826 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7827 }
7828 if (!argp2) {
7829 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7830 }
7831 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7832 {
7833 arg3 = &temp3;
7834 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7835 }
7836 {
7837 PyThreadState* __tstate = wxPyBeginAllowThreads();
7838 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 resultobj = SWIG_Py_Void();
7843 return resultobj;
7844 fail:
7845 return NULL;
7846 }
7847
7848
7849 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7850 PyObject *resultobj = 0;
7851 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7852 wxTreeItemId *arg2 = 0 ;
7853 wxFont *arg3 = 0 ;
7854 void *argp1 = 0 ;
7855 int res1 = 0 ;
7856 void *argp2 = 0 ;
7857 int res2 = 0 ;
7858 void *argp3 = 0 ;
7859 int res3 = 0 ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 PyObject * obj2 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "self",(char *) "item",(char *) "font", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7869 if (!SWIG_IsOK(res1)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7871 }
7872 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7874 if (!SWIG_IsOK(res2)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7876 }
7877 if (!argp2) {
7878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7879 }
7880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7881 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7882 if (!SWIG_IsOK(res3)) {
7883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7884 }
7885 if (!argp3) {
7886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7887 }
7888 arg3 = reinterpret_cast< wxFont * >(argp3);
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 resultobj = SWIG_Py_Void();
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7905 wxTreeItemId *arg2 = 0 ;
7906 bool result;
7907 void *argp1 = 0 ;
7908 int res1 = 0 ;
7909 void *argp2 = 0 ;
7910 int res2 = 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char * kwnames[] = {
7914 (char *) "self",(char *) "item", NULL
7915 };
7916
7917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7921 }
7922 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7924 if (!SWIG_IsOK(res2)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7926 }
7927 if (!argp2) {
7928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7929 }
7930 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 {
7938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7939 }
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj = 0;
7948 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7949 wxTreeItemId *arg2 = 0 ;
7950 wxColour result;
7951 void *argp1 = 0 ;
7952 int res1 = 0 ;
7953 void *argp2 = 0 ;
7954 int res2 = 0 ;
7955 PyObject * obj0 = 0 ;
7956 PyObject * obj1 = 0 ;
7957 char * kwnames[] = {
7958 (char *) "self",(char *) "item", NULL
7959 };
7960
7961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7963 if (!SWIG_IsOK(res1)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7965 }
7966 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7967 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7968 if (!SWIG_IsOK(res2)) {
7969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7970 }
7971 if (!argp2) {
7972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7973 }
7974 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7982 return resultobj;
7983 fail:
7984 return NULL;
7985 }
7986
7987
7988 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj = 0;
7990 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7991 wxTreeItemId *arg2 = 0 ;
7992 wxColour result;
7993 void *argp1 = 0 ;
7994 int res1 = 0 ;
7995 void *argp2 = 0 ;
7996 int res2 = 0 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char * kwnames[] = {
8000 (char *) "self",(char *) "item", NULL
8001 };
8002
8003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8005 if (!SWIG_IsOK(res1)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8007 }
8008 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8009 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8010 if (!SWIG_IsOK(res2)) {
8011 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8012 }
8013 if (!argp2) {
8014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8015 }
8016 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8024 return resultobj;
8025 fail:
8026 return NULL;
8027 }
8028
8029
8030 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8031 PyObject *resultobj = 0;
8032 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8033 wxTreeItemId *arg2 = 0 ;
8034 wxFont result;
8035 void *argp1 = 0 ;
8036 int res1 = 0 ;
8037 void *argp2 = 0 ;
8038 int res2 = 0 ;
8039 PyObject * obj0 = 0 ;
8040 PyObject * obj1 = 0 ;
8041 char * kwnames[] = {
8042 (char *) "self",(char *) "item", NULL
8043 };
8044
8045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8047 if (!SWIG_IsOK(res1)) {
8048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8049 }
8050 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8052 if (!SWIG_IsOK(res2)) {
8053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8054 }
8055 if (!argp2) {
8056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8057 }
8058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8059 {
8060 PyThreadState* __tstate = wxPyBeginAllowThreads();
8061 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj = 0;
8074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8075 wxTreeItemId *arg2 = 0 ;
8076 bool result;
8077 void *argp1 = 0 ;
8078 int res1 = 0 ;
8079 void *argp2 = 0 ;
8080 int res2 = 0 ;
8081 PyObject * obj0 = 0 ;
8082 PyObject * obj1 = 0 ;
8083 char * kwnames[] = {
8084 (char *) "self",(char *) "item", NULL
8085 };
8086
8087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8089 if (!SWIG_IsOK(res1)) {
8090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8091 }
8092 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8093 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8094 if (!SWIG_IsOK(res2)) {
8095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8096 }
8097 if (!argp2) {
8098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8099 }
8100 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8101 {
8102 PyThreadState* __tstate = wxPyBeginAllowThreads();
8103 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8104 wxPyEndAllowThreads(__tstate);
8105 if (PyErr_Occurred()) SWIG_fail;
8106 }
8107 {
8108 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8109 }
8110 return resultobj;
8111 fail:
8112 return NULL;
8113 }
8114
8115
8116 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj = 0;
8118 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8119 wxTreeItemId *arg2 = 0 ;
8120 bool result;
8121 void *argp1 = 0 ;
8122 int res1 = 0 ;
8123 void *argp2 = 0 ;
8124 int res2 = 0 ;
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
8127 char * kwnames[] = {
8128 (char *) "self",(char *) "item", NULL
8129 };
8130
8131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8133 if (!SWIG_IsOK(res1)) {
8134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8135 }
8136 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8138 if (!SWIG_IsOK(res2)) {
8139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8140 }
8141 if (!argp2) {
8142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8143 }
8144 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 {
8152 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8153 }
8154 return resultobj;
8155 fail:
8156 return NULL;
8157 }
8158
8159
8160 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8161 PyObject *resultobj = 0;
8162 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8163 wxTreeItemId *arg2 = 0 ;
8164 bool result;
8165 void *argp1 = 0 ;
8166 int res1 = 0 ;
8167 void *argp2 = 0 ;
8168 int res2 = 0 ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 char * kwnames[] = {
8172 (char *) "self",(char *) "item", NULL
8173 };
8174
8175 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8176 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8177 if (!SWIG_IsOK(res1)) {
8178 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8179 }
8180 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8181 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8182 if (!SWIG_IsOK(res2)) {
8183 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8184 }
8185 if (!argp2) {
8186 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8187 }
8188 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8192 wxPyEndAllowThreads(__tstate);
8193 if (PyErr_Occurred()) SWIG_fail;
8194 }
8195 {
8196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8197 }
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj = 0;
8206 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8207 wxTreeItemId *arg2 = 0 ;
8208 bool result;
8209 void *argp1 = 0 ;
8210 int res1 = 0 ;
8211 void *argp2 = 0 ;
8212 int res2 = 0 ;
8213 PyObject * obj0 = 0 ;
8214 PyObject * obj1 = 0 ;
8215 char * kwnames[] = {
8216 (char *) "self",(char *) "item", NULL
8217 };
8218
8219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8221 if (!SWIG_IsOK(res1)) {
8222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8223 }
8224 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8225 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8226 if (!SWIG_IsOK(res2)) {
8227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8228 }
8229 if (!argp2) {
8230 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8231 }
8232 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8233 {
8234 PyThreadState* __tstate = wxPyBeginAllowThreads();
8235 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 {
8240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8241 }
8242 return resultobj;
8243 fail:
8244 return NULL;
8245 }
8246
8247
8248 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8249 PyObject *resultobj = 0;
8250 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8251 wxTreeItemId *arg2 = 0 ;
8252 bool result;
8253 void *argp1 = 0 ;
8254 int res1 = 0 ;
8255 void *argp2 = 0 ;
8256 int res2 = 0 ;
8257 PyObject * obj0 = 0 ;
8258 PyObject * obj1 = 0 ;
8259 char * kwnames[] = {
8260 (char *) "self",(char *) "item", NULL
8261 };
8262
8263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8265 if (!SWIG_IsOK(res1)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8267 }
8268 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8269 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8270 if (!SWIG_IsOK(res2)) {
8271 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8272 }
8273 if (!argp2) {
8274 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8275 }
8276 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 {
8284 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8285 }
8286 return resultobj;
8287 fail:
8288 return NULL;
8289 }
8290
8291
8292 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj = 0;
8294 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8295 wxTreeItemId *arg2 = 0 ;
8296 bool arg3 = (bool) true ;
8297 size_t result;
8298 void *argp1 = 0 ;
8299 int res1 = 0 ;
8300 void *argp2 = 0 ;
8301 int res2 = 0 ;
8302 bool val3 ;
8303 int ecode3 = 0 ;
8304 PyObject * obj0 = 0 ;
8305 PyObject * obj1 = 0 ;
8306 PyObject * obj2 = 0 ;
8307 char * kwnames[] = {
8308 (char *) "self",(char *) "item",(char *) "recursively", NULL
8309 };
8310
8311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8313 if (!SWIG_IsOK(res1)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8315 }
8316 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8317 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8318 if (!SWIG_IsOK(res2)) {
8319 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8320 }
8321 if (!argp2) {
8322 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8323 }
8324 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8325 if (obj2) {
8326 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8327 if (!SWIG_IsOK(ecode3)) {
8328 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8329 }
8330 arg3 = static_cast< bool >(val3);
8331 }
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8335 wxPyEndAllowThreads(__tstate);
8336 if (PyErr_Occurred()) SWIG_fail;
8337 }
8338 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8339 return resultobj;
8340 fail:
8341 return NULL;
8342 }
8343
8344
8345 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8346 PyObject *resultobj = 0;
8347 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8348 wxTreeItemId result;
8349 void *argp1 = 0 ;
8350 int res1 = 0 ;
8351 PyObject *swig_obj[1] ;
8352
8353 if (!args) SWIG_fail;
8354 swig_obj[0] = args;
8355 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8356 if (!SWIG_IsOK(res1)) {
8357 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8358 }
8359 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8360 {
8361 PyThreadState* __tstate = wxPyBeginAllowThreads();
8362 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8374 PyObject *resultobj = 0;
8375 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8376 wxTreeItemId result;
8377 void *argp1 = 0 ;
8378 int res1 = 0 ;
8379 PyObject *swig_obj[1] ;
8380
8381 if (!args) SWIG_fail;
8382 swig_obj[0] = args;
8383 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8384 if (!SWIG_IsOK(res1)) {
8385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8386 }
8387 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8391 wxPyEndAllowThreads(__tstate);
8392 if (PyErr_Occurred()) SWIG_fail;
8393 }
8394 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8395 return resultobj;
8396 fail:
8397 return NULL;
8398 }
8399
8400
8401 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8402 PyObject *resultobj = 0;
8403 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8404 PyObject *result = 0 ;
8405 void *argp1 = 0 ;
8406 int res1 = 0 ;
8407 PyObject *swig_obj[1] ;
8408
8409 if (!args) SWIG_fail;
8410 swig_obj[0] = args;
8411 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8412 if (!SWIG_IsOK(res1)) {
8413 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8414 }
8415 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8416 {
8417 PyThreadState* __tstate = wxPyBeginAllowThreads();
8418 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 resultobj = result;
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj = 0;
8431 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8432 wxTreeItemId *arg2 = 0 ;
8433 wxTreeItemId result;
8434 void *argp1 = 0 ;
8435 int res1 = 0 ;
8436 void *argp2 = 0 ;
8437 int res2 = 0 ;
8438 PyObject * obj0 = 0 ;
8439 PyObject * obj1 = 0 ;
8440 char * kwnames[] = {
8441 (char *) "self",(char *) "item", NULL
8442 };
8443
8444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8446 if (!SWIG_IsOK(res1)) {
8447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8448 }
8449 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8450 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8451 if (!SWIG_IsOK(res2)) {
8452 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8453 }
8454 if (!argp2) {
8455 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8456 }
8457 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8458 {
8459 PyThreadState* __tstate = wxPyBeginAllowThreads();
8460 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8461 wxPyEndAllowThreads(__tstate);
8462 if (PyErr_Occurred()) SWIG_fail;
8463 }
8464 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8465 return resultobj;
8466 fail:
8467 return NULL;
8468 }
8469
8470
8471 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8472 PyObject *resultobj = 0;
8473 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8474 wxTreeItemId *arg2 = 0 ;
8475 PyObject *result = 0 ;
8476 void *argp1 = 0 ;
8477 int res1 = 0 ;
8478 void *argp2 = 0 ;
8479 int res2 = 0 ;
8480 PyObject * obj0 = 0 ;
8481 PyObject * obj1 = 0 ;
8482 char * kwnames[] = {
8483 (char *) "self",(char *) "item", NULL
8484 };
8485
8486 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8487 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8488 if (!SWIG_IsOK(res1)) {
8489 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8490 }
8491 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8492 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8493 if (!SWIG_IsOK(res2)) {
8494 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8495 }
8496 if (!argp2) {
8497 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8498 }
8499 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8500 {
8501 PyThreadState* __tstate = wxPyBeginAllowThreads();
8502 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8503 wxPyEndAllowThreads(__tstate);
8504 if (PyErr_Occurred()) SWIG_fail;
8505 }
8506 resultobj = result;
8507 return resultobj;
8508 fail:
8509 return NULL;
8510 }
8511
8512
8513 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj = 0;
8515 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8516 wxTreeItemId *arg2 = 0 ;
8517 void *arg3 = (void *) 0 ;
8518 PyObject *result = 0 ;
8519 void *argp1 = 0 ;
8520 int res1 = 0 ;
8521 void *argp2 = 0 ;
8522 int res2 = 0 ;
8523 int res3 ;
8524 PyObject * obj0 = 0 ;
8525 PyObject * obj1 = 0 ;
8526 PyObject * obj2 = 0 ;
8527 char * kwnames[] = {
8528 (char *) "self",(char *) "item",(char *) "cookie", NULL
8529 };
8530
8531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8533 if (!SWIG_IsOK(res1)) {
8534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8535 }
8536 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8537 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8538 if (!SWIG_IsOK(res2)) {
8539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8540 }
8541 if (!argp2) {
8542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8543 }
8544 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8545 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8546 if (!SWIG_IsOK(res3)) {
8547 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8548 }
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = result;
8556 return resultobj;
8557 fail:
8558 return NULL;
8559 }
8560
8561
8562 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8563 PyObject *resultobj = 0;
8564 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8565 wxTreeItemId *arg2 = 0 ;
8566 wxTreeItemId result;
8567 void *argp1 = 0 ;
8568 int res1 = 0 ;
8569 void *argp2 = 0 ;
8570 int res2 = 0 ;
8571 PyObject * obj0 = 0 ;
8572 PyObject * obj1 = 0 ;
8573 char * kwnames[] = {
8574 (char *) "self",(char *) "item", NULL
8575 };
8576
8577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8579 if (!SWIG_IsOK(res1)) {
8580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8581 }
8582 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8583 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8584 if (!SWIG_IsOK(res2)) {
8585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8586 }
8587 if (!argp2) {
8588 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8589 }
8590 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8591 {
8592 PyThreadState* __tstate = wxPyBeginAllowThreads();
8593 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8598 return resultobj;
8599 fail:
8600 return NULL;
8601 }
8602
8603
8604 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8605 PyObject *resultobj = 0;
8606 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8607 wxTreeItemId *arg2 = 0 ;
8608 wxTreeItemId result;
8609 void *argp1 = 0 ;
8610 int res1 = 0 ;
8611 void *argp2 = 0 ;
8612 int res2 = 0 ;
8613 PyObject * obj0 = 0 ;
8614 PyObject * obj1 = 0 ;
8615 char * kwnames[] = {
8616 (char *) "self",(char *) "item", NULL
8617 };
8618
8619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8621 if (!SWIG_IsOK(res1)) {
8622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8623 }
8624 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8625 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8626 if (!SWIG_IsOK(res2)) {
8627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8628 }
8629 if (!argp2) {
8630 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8631 }
8632 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8633 {
8634 PyThreadState* __tstate = wxPyBeginAllowThreads();
8635 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj = 0;
8648 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8649 wxTreeItemId *arg2 = 0 ;
8650 wxTreeItemId result;
8651 void *argp1 = 0 ;
8652 int res1 = 0 ;
8653 void *argp2 = 0 ;
8654 int res2 = 0 ;
8655 PyObject * obj0 = 0 ;
8656 PyObject * obj1 = 0 ;
8657 char * kwnames[] = {
8658 (char *) "self",(char *) "item", NULL
8659 };
8660
8661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8663 if (!SWIG_IsOK(res1)) {
8664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8665 }
8666 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8667 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8668 if (!SWIG_IsOK(res2)) {
8669 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8670 }
8671 if (!argp2) {
8672 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8673 }
8674 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8678 wxPyEndAllowThreads(__tstate);
8679 if (PyErr_Occurred()) SWIG_fail;
8680 }
8681 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8682 return resultobj;
8683 fail:
8684 return NULL;
8685 }
8686
8687
8688 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8689 PyObject *resultobj = 0;
8690 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8691 wxTreeItemId result;
8692 void *argp1 = 0 ;
8693 int res1 = 0 ;
8694 PyObject *swig_obj[1] ;
8695
8696 if (!args) SWIG_fail;
8697 swig_obj[0] = args;
8698 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8699 if (!SWIG_IsOK(res1)) {
8700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8701 }
8702 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8703 {
8704 PyThreadState* __tstate = wxPyBeginAllowThreads();
8705 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
8709 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8710 return resultobj;
8711 fail:
8712 return NULL;
8713 }
8714
8715
8716 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8717 PyObject *resultobj = 0;
8718 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8719 wxTreeItemId *arg2 = 0 ;
8720 wxTreeItemId result;
8721 void *argp1 = 0 ;
8722 int res1 = 0 ;
8723 void *argp2 = 0 ;
8724 int res2 = 0 ;
8725 PyObject * obj0 = 0 ;
8726 PyObject * obj1 = 0 ;
8727 char * kwnames[] = {
8728 (char *) "self",(char *) "item", NULL
8729 };
8730
8731 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8732 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8733 if (!SWIG_IsOK(res1)) {
8734 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8735 }
8736 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8737 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8738 if (!SWIG_IsOK(res2)) {
8739 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8740 }
8741 if (!argp2) {
8742 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8743 }
8744 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8745 {
8746 PyThreadState* __tstate = wxPyBeginAllowThreads();
8747 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8748 wxPyEndAllowThreads(__tstate);
8749 if (PyErr_Occurred()) SWIG_fail;
8750 }
8751 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8752 return resultobj;
8753 fail:
8754 return NULL;
8755 }
8756
8757
8758 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8759 PyObject *resultobj = 0;
8760 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8761 wxTreeItemId *arg2 = 0 ;
8762 wxTreeItemId result;
8763 void *argp1 = 0 ;
8764 int res1 = 0 ;
8765 void *argp2 = 0 ;
8766 int res2 = 0 ;
8767 PyObject * obj0 = 0 ;
8768 PyObject * obj1 = 0 ;
8769 char * kwnames[] = {
8770 (char *) "self",(char *) "item", NULL
8771 };
8772
8773 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8774 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8775 if (!SWIG_IsOK(res1)) {
8776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8777 }
8778 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8779 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8780 if (!SWIG_IsOK(res2)) {
8781 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8782 }
8783 if (!argp2) {
8784 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8785 }
8786 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8787 {
8788 PyThreadState* __tstate = wxPyBeginAllowThreads();
8789 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8794 return resultobj;
8795 fail:
8796 return NULL;
8797 }
8798
8799
8800 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj = 0;
8802 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8803 wxTreeItemId *arg2 = 0 ;
8804 wxTreeItemId result;
8805 void *argp1 = 0 ;
8806 int res1 = 0 ;
8807 void *argp2 = 0 ;
8808 int res2 = 0 ;
8809 PyObject * obj0 = 0 ;
8810 PyObject * obj1 = 0 ;
8811 char * kwnames[] = {
8812 (char *) "self",(char *) "item", NULL
8813 };
8814
8815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8817 if (!SWIG_IsOK(res1)) {
8818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8819 }
8820 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8822 if (!SWIG_IsOK(res2)) {
8823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8824 }
8825 if (!argp2) {
8826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8827 }
8828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8829 {
8830 PyThreadState* __tstate = wxPyBeginAllowThreads();
8831 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8832 wxPyEndAllowThreads(__tstate);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 }
8835 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8836 return resultobj;
8837 fail:
8838 return NULL;
8839 }
8840
8841
8842 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8843 PyObject *resultobj = 0;
8844 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8845 wxString *arg2 = 0 ;
8846 int arg3 = (int) -1 ;
8847 int arg4 = (int) -1 ;
8848 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8849 wxTreeItemId result;
8850 void *argp1 = 0 ;
8851 int res1 = 0 ;
8852 bool temp2 = false ;
8853 int val3 ;
8854 int ecode3 = 0 ;
8855 int val4 ;
8856 int ecode4 = 0 ;
8857 int res5 = 0 ;
8858 PyObject * obj0 = 0 ;
8859 PyObject * obj1 = 0 ;
8860 PyObject * obj2 = 0 ;
8861 PyObject * obj3 = 0 ;
8862 PyObject * obj4 = 0 ;
8863 char * kwnames[] = {
8864 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8865 };
8866
8867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8869 if (!SWIG_IsOK(res1)) {
8870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8871 }
8872 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8873 {
8874 arg2 = wxString_in_helper(obj1);
8875 if (arg2 == NULL) SWIG_fail;
8876 temp2 = true;
8877 }
8878 if (obj2) {
8879 ecode3 = SWIG_AsVal_int(obj2, &val3);
8880 if (!SWIG_IsOK(ecode3)) {
8881 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8882 }
8883 arg3 = static_cast< int >(val3);
8884 }
8885 if (obj3) {
8886 ecode4 = SWIG_AsVal_int(obj3, &val4);
8887 if (!SWIG_IsOK(ecode4)) {
8888 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8889 }
8890 arg4 = static_cast< int >(val4);
8891 }
8892 if (obj4) {
8893 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8894 if (!SWIG_IsOK(res5)) {
8895 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8896 }
8897 }
8898 {
8899 PyThreadState* __tstate = wxPyBeginAllowThreads();
8900 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8901 wxPyEndAllowThreads(__tstate);
8902 if (PyErr_Occurred()) SWIG_fail;
8903 }
8904 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8905 {
8906 if (temp2)
8907 delete arg2;
8908 }
8909 return resultobj;
8910 fail:
8911 {
8912 if (temp2)
8913 delete arg2;
8914 }
8915 return NULL;
8916 }
8917
8918
8919 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8920 PyObject *resultobj = 0;
8921 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8922 wxTreeItemId *arg2 = 0 ;
8923 wxString *arg3 = 0 ;
8924 int arg4 = (int) -1 ;
8925 int arg5 = (int) -1 ;
8926 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8927 wxTreeItemId result;
8928 void *argp1 = 0 ;
8929 int res1 = 0 ;
8930 void *argp2 = 0 ;
8931 int res2 = 0 ;
8932 bool temp3 = false ;
8933 int val4 ;
8934 int ecode4 = 0 ;
8935 int val5 ;
8936 int ecode5 = 0 ;
8937 int res6 = 0 ;
8938 PyObject * obj0 = 0 ;
8939 PyObject * obj1 = 0 ;
8940 PyObject * obj2 = 0 ;
8941 PyObject * obj3 = 0 ;
8942 PyObject * obj4 = 0 ;
8943 PyObject * obj5 = 0 ;
8944 char * kwnames[] = {
8945 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8946 };
8947
8948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8950 if (!SWIG_IsOK(res1)) {
8951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8952 }
8953 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8954 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8955 if (!SWIG_IsOK(res2)) {
8956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8957 }
8958 if (!argp2) {
8959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8960 }
8961 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8962 {
8963 arg3 = wxString_in_helper(obj2);
8964 if (arg3 == NULL) SWIG_fail;
8965 temp3 = true;
8966 }
8967 if (obj3) {
8968 ecode4 = SWIG_AsVal_int(obj3, &val4);
8969 if (!SWIG_IsOK(ecode4)) {
8970 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8971 }
8972 arg4 = static_cast< int >(val4);
8973 }
8974 if (obj4) {
8975 ecode5 = SWIG_AsVal_int(obj4, &val5);
8976 if (!SWIG_IsOK(ecode5)) {
8977 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8978 }
8979 arg5 = static_cast< int >(val5);
8980 }
8981 if (obj5) {
8982 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8983 if (!SWIG_IsOK(res6)) {
8984 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8985 }
8986 }
8987 {
8988 PyThreadState* __tstate = wxPyBeginAllowThreads();
8989 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8994 {
8995 if (temp3)
8996 delete arg3;
8997 }
8998 return resultobj;
8999 fail:
9000 {
9001 if (temp3)
9002 delete arg3;
9003 }
9004 return NULL;
9005 }
9006
9007
9008 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj = 0;
9010 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9011 wxTreeItemId *arg2 = 0 ;
9012 wxTreeItemId *arg3 = 0 ;
9013 wxString *arg4 = 0 ;
9014 int arg5 = (int) -1 ;
9015 int arg6 = (int) -1 ;
9016 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9017 wxTreeItemId result;
9018 void *argp1 = 0 ;
9019 int res1 = 0 ;
9020 void *argp2 = 0 ;
9021 int res2 = 0 ;
9022 void *argp3 = 0 ;
9023 int res3 = 0 ;
9024 bool temp4 = false ;
9025 int val5 ;
9026 int ecode5 = 0 ;
9027 int val6 ;
9028 int ecode6 = 0 ;
9029 int res7 = 0 ;
9030 PyObject * obj0 = 0 ;
9031 PyObject * obj1 = 0 ;
9032 PyObject * obj2 = 0 ;
9033 PyObject * obj3 = 0 ;
9034 PyObject * obj4 = 0 ;
9035 PyObject * obj5 = 0 ;
9036 PyObject * obj6 = 0 ;
9037 char * kwnames[] = {
9038 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9039 };
9040
9041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9043 if (!SWIG_IsOK(res1)) {
9044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9045 }
9046 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9047 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9048 if (!SWIG_IsOK(res2)) {
9049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9050 }
9051 if (!argp2) {
9052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9053 }
9054 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9055 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9056 if (!SWIG_IsOK(res3)) {
9057 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9058 }
9059 if (!argp3) {
9060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9061 }
9062 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9063 {
9064 arg4 = wxString_in_helper(obj3);
9065 if (arg4 == NULL) SWIG_fail;
9066 temp4 = true;
9067 }
9068 if (obj4) {
9069 ecode5 = SWIG_AsVal_int(obj4, &val5);
9070 if (!SWIG_IsOK(ecode5)) {
9071 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9072 }
9073 arg5 = static_cast< int >(val5);
9074 }
9075 if (obj5) {
9076 ecode6 = SWIG_AsVal_int(obj5, &val6);
9077 if (!SWIG_IsOK(ecode6)) {
9078 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9079 }
9080 arg6 = static_cast< int >(val6);
9081 }
9082 if (obj6) {
9083 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9084 if (!SWIG_IsOK(res7)) {
9085 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9086 }
9087 }
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9091 wxPyEndAllowThreads(__tstate);
9092 if (PyErr_Occurred()) SWIG_fail;
9093 }
9094 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9095 {
9096 if (temp4)
9097 delete arg4;
9098 }
9099 return resultobj;
9100 fail:
9101 {
9102 if (temp4)
9103 delete arg4;
9104 }
9105 return NULL;
9106 }
9107
9108
9109 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj = 0;
9111 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9112 wxTreeItemId *arg2 = 0 ;
9113 size_t arg3 ;
9114 wxString *arg4 = 0 ;
9115 int arg5 = (int) -1 ;
9116 int arg6 = (int) -1 ;
9117 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9118 wxTreeItemId result;
9119 void *argp1 = 0 ;
9120 int res1 = 0 ;
9121 void *argp2 = 0 ;
9122 int res2 = 0 ;
9123 size_t val3 ;
9124 int ecode3 = 0 ;
9125 bool temp4 = false ;
9126 int val5 ;
9127 int ecode5 = 0 ;
9128 int val6 ;
9129 int ecode6 = 0 ;
9130 int res7 = 0 ;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj1 = 0 ;
9133 PyObject * obj2 = 0 ;
9134 PyObject * obj3 = 0 ;
9135 PyObject * obj4 = 0 ;
9136 PyObject * obj5 = 0 ;
9137 PyObject * obj6 = 0 ;
9138 char * kwnames[] = {
9139 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9140 };
9141
9142 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9143 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9144 if (!SWIG_IsOK(res1)) {
9145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9146 }
9147 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9148 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9149 if (!SWIG_IsOK(res2)) {
9150 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9151 }
9152 if (!argp2) {
9153 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9154 }
9155 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9156 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9157 if (!SWIG_IsOK(ecode3)) {
9158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9159 }
9160 arg3 = static_cast< size_t >(val3);
9161 {
9162 arg4 = wxString_in_helper(obj3);
9163 if (arg4 == NULL) SWIG_fail;
9164 temp4 = true;
9165 }
9166 if (obj4) {
9167 ecode5 = SWIG_AsVal_int(obj4, &val5);
9168 if (!SWIG_IsOK(ecode5)) {
9169 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9170 }
9171 arg5 = static_cast< int >(val5);
9172 }
9173 if (obj5) {
9174 ecode6 = SWIG_AsVal_int(obj5, &val6);
9175 if (!SWIG_IsOK(ecode6)) {
9176 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9177 }
9178 arg6 = static_cast< int >(val6);
9179 }
9180 if (obj6) {
9181 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9182 if (!SWIG_IsOK(res7)) {
9183 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9184 }
9185 }
9186 {
9187 PyThreadState* __tstate = wxPyBeginAllowThreads();
9188 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9189 wxPyEndAllowThreads(__tstate);
9190 if (PyErr_Occurred()) SWIG_fail;
9191 }
9192 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9193 {
9194 if (temp4)
9195 delete arg4;
9196 }
9197 return resultobj;
9198 fail:
9199 {
9200 if (temp4)
9201 delete arg4;
9202 }
9203 return NULL;
9204 }
9205
9206
9207 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9208 PyObject *resultobj = 0;
9209 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9210 wxTreeItemId *arg2 = 0 ;
9211 wxString *arg3 = 0 ;
9212 int arg4 = (int) -1 ;
9213 int arg5 = (int) -1 ;
9214 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9215 wxTreeItemId result;
9216 void *argp1 = 0 ;
9217 int res1 = 0 ;
9218 void *argp2 = 0 ;
9219 int res2 = 0 ;
9220 bool temp3 = false ;
9221 int val4 ;
9222 int ecode4 = 0 ;
9223 int val5 ;
9224 int ecode5 = 0 ;
9225 int res6 = 0 ;
9226 PyObject * obj0 = 0 ;
9227 PyObject * obj1 = 0 ;
9228 PyObject * obj2 = 0 ;
9229 PyObject * obj3 = 0 ;
9230 PyObject * obj4 = 0 ;
9231 PyObject * obj5 = 0 ;
9232 char * kwnames[] = {
9233 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9234 };
9235
9236 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9237 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9238 if (!SWIG_IsOK(res1)) {
9239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9240 }
9241 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9242 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9243 if (!SWIG_IsOK(res2)) {
9244 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9245 }
9246 if (!argp2) {
9247 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9248 }
9249 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9250 {
9251 arg3 = wxString_in_helper(obj2);
9252 if (arg3 == NULL) SWIG_fail;
9253 temp3 = true;
9254 }
9255 if (obj3) {
9256 ecode4 = SWIG_AsVal_int(obj3, &val4);
9257 if (!SWIG_IsOK(ecode4)) {
9258 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9259 }
9260 arg4 = static_cast< int >(val4);
9261 }
9262 if (obj4) {
9263 ecode5 = SWIG_AsVal_int(obj4, &val5);
9264 if (!SWIG_IsOK(ecode5)) {
9265 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9266 }
9267 arg5 = static_cast< int >(val5);
9268 }
9269 if (obj5) {
9270 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9271 if (!SWIG_IsOK(res6)) {
9272 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9273 }
9274 }
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9278 wxPyEndAllowThreads(__tstate);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 }
9281 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9282 {
9283 if (temp3)
9284 delete arg3;
9285 }
9286 return resultobj;
9287 fail:
9288 {
9289 if (temp3)
9290 delete arg3;
9291 }
9292 return NULL;
9293 }
9294
9295
9296 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9297 PyObject *resultobj = 0;
9298 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9299 wxTreeItemId *arg2 = 0 ;
9300 void *argp1 = 0 ;
9301 int res1 = 0 ;
9302 void *argp2 = 0 ;
9303 int res2 = 0 ;
9304 PyObject * obj0 = 0 ;
9305 PyObject * obj1 = 0 ;
9306 char * kwnames[] = {
9307 (char *) "self",(char *) "item", NULL
9308 };
9309
9310 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9311 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9312 if (!SWIG_IsOK(res1)) {
9313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9314 }
9315 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9316 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9317 if (!SWIG_IsOK(res2)) {
9318 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9319 }
9320 if (!argp2) {
9321 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9322 }
9323 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9324 {
9325 PyThreadState* __tstate = wxPyBeginAllowThreads();
9326 (arg1)->Delete((wxTreeItemId const &)*arg2);
9327 wxPyEndAllowThreads(__tstate);
9328 if (PyErr_Occurred()) SWIG_fail;
9329 }
9330 resultobj = SWIG_Py_Void();
9331 return resultobj;
9332 fail:
9333 return NULL;
9334 }
9335
9336
9337 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj = 0;
9339 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9340 wxTreeItemId *arg2 = 0 ;
9341 void *argp1 = 0 ;
9342 int res1 = 0 ;
9343 void *argp2 = 0 ;
9344 int res2 = 0 ;
9345 PyObject * obj0 = 0 ;
9346 PyObject * obj1 = 0 ;
9347 char * kwnames[] = {
9348 (char *) "self",(char *) "item", NULL
9349 };
9350
9351 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9352 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9353 if (!SWIG_IsOK(res1)) {
9354 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9355 }
9356 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9357 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9358 if (!SWIG_IsOK(res2)) {
9359 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9360 }
9361 if (!argp2) {
9362 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9363 }
9364 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9365 {
9366 PyThreadState* __tstate = wxPyBeginAllowThreads();
9367 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9368 wxPyEndAllowThreads(__tstate);
9369 if (PyErr_Occurred()) SWIG_fail;
9370 }
9371 resultobj = SWIG_Py_Void();
9372 return resultobj;
9373 fail:
9374 return NULL;
9375 }
9376
9377
9378 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9379 PyObject *resultobj = 0;
9380 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9381 void *argp1 = 0 ;
9382 int res1 = 0 ;
9383 PyObject *swig_obj[1] ;
9384
9385 if (!args) SWIG_fail;
9386 swig_obj[0] = args;
9387 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9388 if (!SWIG_IsOK(res1)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9390 }
9391 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9392 {
9393 PyThreadState* __tstate = wxPyBeginAllowThreads();
9394 (arg1)->DeleteAllItems();
9395 wxPyEndAllowThreads(__tstate);
9396 if (PyErr_Occurred()) SWIG_fail;
9397 }
9398 resultobj = SWIG_Py_Void();
9399 return resultobj;
9400 fail:
9401 return NULL;
9402 }
9403
9404
9405 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9406 PyObject *resultobj = 0;
9407 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9408 wxTreeItemId *arg2 = 0 ;
9409 void *argp1 = 0 ;
9410 int res1 = 0 ;
9411 void *argp2 = 0 ;
9412 int res2 = 0 ;
9413 PyObject * obj0 = 0 ;
9414 PyObject * obj1 = 0 ;
9415 char * kwnames[] = {
9416 (char *) "self",(char *) "item", NULL
9417 };
9418
9419 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9420 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9421 if (!SWIG_IsOK(res1)) {
9422 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9423 }
9424 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9425 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9426 if (!SWIG_IsOK(res2)) {
9427 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9428 }
9429 if (!argp2) {
9430 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9431 }
9432 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 (arg1)->Expand((wxTreeItemId const &)*arg2);
9436 wxPyEndAllowThreads(__tstate);
9437 if (PyErr_Occurred()) SWIG_fail;
9438 }
9439 resultobj = SWIG_Py_Void();
9440 return resultobj;
9441 fail:
9442 return NULL;
9443 }
9444
9445
9446 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj = 0;
9448 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9449 wxTreeItemId *arg2 = 0 ;
9450 void *argp1 = 0 ;
9451 int res1 = 0 ;
9452 void *argp2 = 0 ;
9453 int res2 = 0 ;
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
9456 char * kwnames[] = {
9457 (char *) "self",(char *) "item", NULL
9458 };
9459
9460 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9461 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9462 if (!SWIG_IsOK(res1)) {
9463 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9464 }
9465 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9466 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9467 if (!SWIG_IsOK(res2)) {
9468 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9469 }
9470 if (!argp2) {
9471 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9472 }
9473 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9474 {
9475 PyThreadState* __tstate = wxPyBeginAllowThreads();
9476 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9477 wxPyEndAllowThreads(__tstate);
9478 if (PyErr_Occurred()) SWIG_fail;
9479 }
9480 resultobj = SWIG_Py_Void();
9481 return resultobj;
9482 fail:
9483 return NULL;
9484 }
9485
9486
9487 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9488 PyObject *resultobj = 0;
9489 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9490 wxTreeItemId *arg2 = 0 ;
9491 void *argp1 = 0 ;
9492 int res1 = 0 ;
9493 void *argp2 = 0 ;
9494 int res2 = 0 ;
9495 PyObject * obj0 = 0 ;
9496 PyObject * obj1 = 0 ;
9497 char * kwnames[] = {
9498 (char *) "self",(char *) "item", NULL
9499 };
9500
9501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9503 if (!SWIG_IsOK(res1)) {
9504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9505 }
9506 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9507 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9508 if (!SWIG_IsOK(res2)) {
9509 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9510 }
9511 if (!argp2) {
9512 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9513 }
9514 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9515 {
9516 PyThreadState* __tstate = wxPyBeginAllowThreads();
9517 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9518 wxPyEndAllowThreads(__tstate);
9519 if (PyErr_Occurred()) SWIG_fail;
9520 }
9521 resultobj = SWIG_Py_Void();
9522 return resultobj;
9523 fail:
9524 return NULL;
9525 }
9526
9527
9528 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9529 PyObject *resultobj = 0;
9530 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9531 wxTreeItemId *arg2 = 0 ;
9532 void *argp1 = 0 ;
9533 int res1 = 0 ;
9534 void *argp2 = 0 ;
9535 int res2 = 0 ;
9536 PyObject * obj0 = 0 ;
9537 PyObject * obj1 = 0 ;
9538 char * kwnames[] = {
9539 (char *) "self",(char *) "item", NULL
9540 };
9541
9542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9544 if (!SWIG_IsOK(res1)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9546 }
9547 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9548 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9549 if (!SWIG_IsOK(res2)) {
9550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9551 }
9552 if (!argp2) {
9553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9554 }
9555 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9556 {
9557 PyThreadState* __tstate = wxPyBeginAllowThreads();
9558 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9559 wxPyEndAllowThreads(__tstate);
9560 if (PyErr_Occurred()) SWIG_fail;
9561 }
9562 resultobj = SWIG_Py_Void();
9563 return resultobj;
9564 fail:
9565 return NULL;
9566 }
9567
9568
9569 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9570 PyObject *resultobj = 0;
9571 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9572 wxTreeItemId *arg2 = 0 ;
9573 void *argp1 = 0 ;
9574 int res1 = 0 ;
9575 void *argp2 = 0 ;
9576 int res2 = 0 ;
9577 PyObject * obj0 = 0 ;
9578 PyObject * obj1 = 0 ;
9579 char * kwnames[] = {
9580 (char *) "self",(char *) "item", NULL
9581 };
9582
9583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9585 if (!SWIG_IsOK(res1)) {
9586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9587 }
9588 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9590 if (!SWIG_IsOK(res2)) {
9591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9592 }
9593 if (!argp2) {
9594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9595 }
9596 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9600 wxPyEndAllowThreads(__tstate);
9601 if (PyErr_Occurred()) SWIG_fail;
9602 }
9603 resultobj = SWIG_Py_Void();
9604 return resultobj;
9605 fail:
9606 return NULL;
9607 }
9608
9609
9610 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9611 PyObject *resultobj = 0;
9612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9613 void *argp1 = 0 ;
9614 int res1 = 0 ;
9615 PyObject *swig_obj[1] ;
9616
9617 if (!args) SWIG_fail;
9618 swig_obj[0] = args;
9619 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9620 if (!SWIG_IsOK(res1)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9622 }
9623 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9624 {
9625 PyThreadState* __tstate = wxPyBeginAllowThreads();
9626 (arg1)->Unselect();
9627 wxPyEndAllowThreads(__tstate);
9628 if (PyErr_Occurred()) SWIG_fail;
9629 }
9630 resultobj = SWIG_Py_Void();
9631 return resultobj;
9632 fail:
9633 return NULL;
9634 }
9635
9636
9637 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9638 PyObject *resultobj = 0;
9639 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9640 void *argp1 = 0 ;
9641 int res1 = 0 ;
9642 PyObject *swig_obj[1] ;
9643
9644 if (!args) SWIG_fail;
9645 swig_obj[0] = args;
9646 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9647 if (!SWIG_IsOK(res1)) {
9648 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9649 }
9650 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 (arg1)->UnselectAll();
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 resultobj = SWIG_Py_Void();
9658 return resultobj;
9659 fail:
9660 return NULL;
9661 }
9662
9663
9664 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj = 0;
9666 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9667 wxTreeItemId *arg2 = 0 ;
9668 bool arg3 = (bool) true ;
9669 bool arg4 = (bool) false ;
9670 void *argp1 = 0 ;
9671 int res1 = 0 ;
9672 void *argp2 = 0 ;
9673 int res2 = 0 ;
9674 bool val3 ;
9675 int ecode3 = 0 ;
9676 bool val4 ;
9677 int ecode4 = 0 ;
9678 PyObject * obj0 = 0 ;
9679 PyObject * obj1 = 0 ;
9680 PyObject * obj2 = 0 ;
9681 PyObject * obj3 = 0 ;
9682 char * kwnames[] = {
9683 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9684 };
9685
9686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9688 if (!SWIG_IsOK(res1)) {
9689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9690 }
9691 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9692 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9693 if (!SWIG_IsOK(res2)) {
9694 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9695 }
9696 if (!argp2) {
9697 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9698 }
9699 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9700 if (obj2) {
9701 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9702 if (!SWIG_IsOK(ecode3)) {
9703 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9704 }
9705 arg3 = static_cast< bool >(val3);
9706 }
9707 if (obj3) {
9708 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9709 if (!SWIG_IsOK(ecode4)) {
9710 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9711 }
9712 arg4 = static_cast< bool >(val4);
9713 }
9714 {
9715 PyThreadState* __tstate = wxPyBeginAllowThreads();
9716 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_Py_Void();
9721 return resultobj;
9722 fail:
9723 return NULL;
9724 }
9725
9726
9727 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj = 0;
9729 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9730 bool arg2 = (bool) false ;
9731 void *argp1 = 0 ;
9732 int res1 = 0 ;
9733 bool val2 ;
9734 int ecode2 = 0 ;
9735 PyObject * obj0 = 0 ;
9736 PyObject * obj1 = 0 ;
9737 char * kwnames[] = {
9738 (char *) "self",(char *) "extended_select", NULL
9739 };
9740
9741 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9742 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9743 if (!SWIG_IsOK(res1)) {
9744 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9745 }
9746 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9747 if (obj1) {
9748 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9749 if (!SWIG_IsOK(ecode2)) {
9750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9751 }
9752 arg2 = static_cast< bool >(val2);
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 (arg1)->SelectAll(arg2);
9757 wxPyEndAllowThreads(__tstate);
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 resultobj = SWIG_Py_Void();
9761 return resultobj;
9762 fail:
9763 return NULL;
9764 }
9765
9766
9767 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9768 PyObject *resultobj = 0;
9769 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9770 wxTreeItemId *arg2 = 0 ;
9771 void *argp1 = 0 ;
9772 int res1 = 0 ;
9773 void *argp2 = 0 ;
9774 int res2 = 0 ;
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 char * kwnames[] = {
9778 (char *) "self",(char *) "item", NULL
9779 };
9780
9781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9783 if (!SWIG_IsOK(res1)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9785 }
9786 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9787 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9788 if (!SWIG_IsOK(res2)) {
9789 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9790 }
9791 if (!argp2) {
9792 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9793 }
9794 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9798 wxPyEndAllowThreads(__tstate);
9799 if (PyErr_Occurred()) SWIG_fail;
9800 }
9801 resultobj = SWIG_Py_Void();
9802 return resultobj;
9803 fail:
9804 return NULL;
9805 }
9806
9807
9808 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9809 PyObject *resultobj = 0;
9810 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9811 wxTreeItemId *arg2 = 0 ;
9812 void *argp1 = 0 ;
9813 int res1 = 0 ;
9814 void *argp2 = 0 ;
9815 int res2 = 0 ;
9816 PyObject * obj0 = 0 ;
9817 PyObject * obj1 = 0 ;
9818 char * kwnames[] = {
9819 (char *) "self",(char *) "item", NULL
9820 };
9821
9822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9824 if (!SWIG_IsOK(res1)) {
9825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9826 }
9827 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9828 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9829 if (!SWIG_IsOK(res2)) {
9830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9831 }
9832 if (!argp2) {
9833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9834 }
9835 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = SWIG_Py_Void();
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj = 0;
9851 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9852 wxPoint *arg2 = 0 ;
9853 int *arg3 = 0 ;
9854 int *arg4 = 0 ;
9855 wxTreeItemId result;
9856 void *argp1 = 0 ;
9857 int res1 = 0 ;
9858 wxPoint temp2 ;
9859 int temp3 ;
9860 int res3 = SWIG_TMPOBJ ;
9861 int temp4 ;
9862 int res4 = SWIG_TMPOBJ ;
9863 PyObject * obj0 = 0 ;
9864 PyObject * obj1 = 0 ;
9865 char * kwnames[] = {
9866 (char *) "self",(char *) "point", NULL
9867 };
9868
9869 arg3 = &temp3;
9870 arg4 = &temp4;
9871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9873 if (!SWIG_IsOK(res1)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9875 }
9876 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9877 {
9878 arg2 = &temp2;
9879 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9880 }
9881 {
9882 PyThreadState* __tstate = wxPyBeginAllowThreads();
9883 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
9887 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9888 if (SWIG_IsTmpObj(res3)) {
9889 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9890 } else {
9891 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9892 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9893 }
9894 if (SWIG_IsTmpObj(res4)) {
9895 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9896 } else {
9897 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9898 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9899 }
9900 return resultobj;
9901 fail:
9902 return NULL;
9903 }
9904
9905
9906 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9907 PyObject *resultobj = 0;
9908 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9909 wxTreeItemId *arg2 = 0 ;
9910 bool arg3 = (bool) false ;
9911 PyObject *result = 0 ;
9912 void *argp1 = 0 ;
9913 int res1 = 0 ;
9914 void *argp2 = 0 ;
9915 int res2 = 0 ;
9916 bool val3 ;
9917 int ecode3 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 PyObject * obj2 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9929 }
9930 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9931 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9932 if (!SWIG_IsOK(res2)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9934 }
9935 if (!argp2) {
9936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9937 }
9938 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9939 if (obj2) {
9940 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9941 if (!SWIG_IsOK(ecode3)) {
9942 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9943 }
9944 arg3 = static_cast< bool >(val3);
9945 }
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 resultobj = result;
9953 return resultobj;
9954 fail:
9955 return NULL;
9956 }
9957
9958
9959 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9960 PyObject *resultobj = 0;
9961 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9962 wxTreeItemId *arg2 = 0 ;
9963 void *argp1 = 0 ;
9964 int res1 = 0 ;
9965 void *argp2 = 0 ;
9966 int res2 = 0 ;
9967 PyObject * obj0 = 0 ;
9968 PyObject * obj1 = 0 ;
9969 char * kwnames[] = {
9970 (char *) "self",(char *) "item", NULL
9971 };
9972
9973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9975 if (!SWIG_IsOK(res1)) {
9976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9977 }
9978 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9979 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9980 if (!SWIG_IsOK(res2)) {
9981 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9982 }
9983 if (!argp2) {
9984 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9985 }
9986 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9990 wxPyEndAllowThreads(__tstate);
9991 if (PyErr_Occurred()) SWIG_fail;
9992 }
9993 resultobj = SWIG_Py_Void();
9994 return resultobj;
9995 fail:
9996 return NULL;
9997 }
9998
9999
10000 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10001 PyObject *resultobj = 0;
10002 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10003 wxTreeItemId *arg2 = 0 ;
10004 void *argp1 = 0 ;
10005 int res1 = 0 ;
10006 void *argp2 = 0 ;
10007 int res2 = 0 ;
10008 PyObject * obj0 = 0 ;
10009 PyObject * obj1 = 0 ;
10010 char * kwnames[] = {
10011 (char *) "self",(char *) "item", NULL
10012 };
10013
10014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10016 if (!SWIG_IsOK(res1)) {
10017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10018 }
10019 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10020 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10021 if (!SWIG_IsOK(res2)) {
10022 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10023 }
10024 if (!argp2) {
10025 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10026 }
10027 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 (arg1)->Edit((wxTreeItemId const &)*arg2);
10031 wxPyEndAllowThreads(__tstate);
10032 if (PyErr_Occurred()) SWIG_fail;
10033 }
10034 resultobj = SWIG_Py_Void();
10035 return resultobj;
10036 fail:
10037 return NULL;
10038 }
10039
10040
10041 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10042 PyObject *resultobj = 0;
10043 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10044 wxTreeItemId *arg2 = 0 ;
10045 void *argp1 = 0 ;
10046 int res1 = 0 ;
10047 void *argp2 = 0 ;
10048 int res2 = 0 ;
10049 PyObject * obj0 = 0 ;
10050 PyObject * obj1 = 0 ;
10051 char * kwnames[] = {
10052 (char *) "self",(char *) "item", NULL
10053 };
10054
10055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10057 if (!SWIG_IsOK(res1)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10059 }
10060 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10062 if (!SWIG_IsOK(res2)) {
10063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10064 }
10065 if (!argp2) {
10066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10067 }
10068 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10072 wxPyEndAllowThreads(__tstate);
10073 if (PyErr_Occurred()) SWIG_fail;
10074 }
10075 resultobj = SWIG_Py_Void();
10076 return resultobj;
10077 fail:
10078 return NULL;
10079 }
10080
10081
10082 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10083 PyObject *resultobj = 0;
10084 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10085 wxTreeItemId *arg2 = 0 ;
10086 wxString *arg3 = 0 ;
10087 int arg4 = (int) 0 ;
10088 wxTreeItemId result;
10089 void *argp1 = 0 ;
10090 int res1 = 0 ;
10091 void *argp2 = 0 ;
10092 int res2 = 0 ;
10093 bool temp3 = false ;
10094 int val4 ;
10095 int ecode4 = 0 ;
10096 PyObject * obj0 = 0 ;
10097 PyObject * obj1 = 0 ;
10098 PyObject * obj2 = 0 ;
10099 PyObject * obj3 = 0 ;
10100 char * kwnames[] = {
10101 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10102 };
10103
10104 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10105 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10106 if (!SWIG_IsOK(res1)) {
10107 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10108 }
10109 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10110 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10111 if (!SWIG_IsOK(res2)) {
10112 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10113 }
10114 if (!argp2) {
10115 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10116 }
10117 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10118 {
10119 arg3 = wxString_in_helper(obj2);
10120 if (arg3 == NULL) SWIG_fail;
10121 temp3 = true;
10122 }
10123 if (obj3) {
10124 ecode4 = SWIG_AsVal_int(obj3, &val4);
10125 if (!SWIG_IsOK(ecode4)) {
10126 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10127 }
10128 arg4 = static_cast< int >(val4);
10129 }
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10137 {
10138 if (temp3)
10139 delete arg3;
10140 }
10141 return resultobj;
10142 fail:
10143 {
10144 if (temp3)
10145 delete arg3;
10146 }
10147 return NULL;
10148 }
10149
10150
10151 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10152 PyObject *resultobj = 0;
10153 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10154 wxWindow *result = 0 ;
10155 void *argp1 = 0 ;
10156 int res1 = 0 ;
10157 PyObject *swig_obj[1] ;
10158
10159 if (!args) SWIG_fail;
10160 swig_obj[0] = args;
10161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10164 }
10165 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10166 {
10167 PyThreadState* __tstate = wxPyBeginAllowThreads();
10168 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 {
10173 resultobj = wxPyMake_wxObject(result, 0);
10174 }
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10182 PyObject *resultobj = 0;
10183 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10184 wxScrolledWindow *result = 0 ;
10185 void *argp1 = 0 ;
10186 int res1 = 0 ;
10187 PyObject *swig_obj[1] ;
10188
10189 if (!args) SWIG_fail;
10190 swig_obj[0] = args;
10191 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10192 if (!SWIG_IsOK(res1)) {
10193 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10194 }
10195 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 {
10203 resultobj = wxPyMake_wxObject(result, 0);
10204 }
10205 return resultobj;
10206 fail:
10207 return NULL;
10208 }
10209
10210
10211 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10212 PyObject *obj;
10213 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10215 return SWIG_Py_Void();
10216 }
10217
10218 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10219 return SWIG_Python_InitShadowInstance(args);
10220 }
10221
10222 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj = 0;
10224 wxWindow *arg1 = (wxWindow *) 0 ;
10225 int arg2 = (int) -1 ;
10226 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10227 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10228 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10229 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10230 wxSize const &arg5_defvalue = wxDefaultSize ;
10231 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10232 long arg6 = (long) 0 ;
10233 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10234 wxString *arg7 = (wxString *) &arg7_defvalue ;
10235 wxStaticPicture *result = 0 ;
10236 void *argp1 = 0 ;
10237 int res1 = 0 ;
10238 int val2 ;
10239 int ecode2 = 0 ;
10240 void *argp3 = 0 ;
10241 int res3 = 0 ;
10242 wxPoint temp4 ;
10243 wxSize temp5 ;
10244 long val6 ;
10245 int ecode6 = 0 ;
10246 bool temp7 = false ;
10247 PyObject * obj0 = 0 ;
10248 PyObject * obj1 = 0 ;
10249 PyObject * obj2 = 0 ;
10250 PyObject * obj3 = 0 ;
10251 PyObject * obj4 = 0 ;
10252 PyObject * obj5 = 0 ;
10253 PyObject * obj6 = 0 ;
10254 char * kwnames[] = {
10255 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10256 };
10257
10258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10260 if (!SWIG_IsOK(res1)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10262 }
10263 arg1 = reinterpret_cast< wxWindow * >(argp1);
10264 if (obj1) {
10265 ecode2 = SWIG_AsVal_int(obj1, &val2);
10266 if (!SWIG_IsOK(ecode2)) {
10267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10268 }
10269 arg2 = static_cast< int >(val2);
10270 }
10271 if (obj2) {
10272 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10273 if (!SWIG_IsOK(res3)) {
10274 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10275 }
10276 if (!argp3) {
10277 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10278 }
10279 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10280 }
10281 if (obj3) {
10282 {
10283 arg4 = &temp4;
10284 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10285 }
10286 }
10287 if (obj4) {
10288 {
10289 arg5 = &temp5;
10290 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10291 }
10292 }
10293 if (obj5) {
10294 ecode6 = SWIG_AsVal_long(obj5, &val6);
10295 if (!SWIG_IsOK(ecode6)) {
10296 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10297 }
10298 arg6 = static_cast< long >(val6);
10299 }
10300 if (obj6) {
10301 {
10302 arg7 = wxString_in_helper(obj6);
10303 if (arg7 == NULL) SWIG_fail;
10304 temp7 = true;
10305 }
10306 }
10307 {
10308 if (!wxPyCheckForApp()) SWIG_fail;
10309 PyThreadState* __tstate = wxPyBeginAllowThreads();
10310 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10311 wxPyEndAllowThreads(__tstate);
10312 if (PyErr_Occurred()) SWIG_fail;
10313 }
10314 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10315 {
10316 if (temp7)
10317 delete arg7;
10318 }
10319 return resultobj;
10320 fail:
10321 {
10322 if (temp7)
10323 delete arg7;
10324 }
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10330 PyObject *resultobj = 0;
10331 wxStaticPicture *result = 0 ;
10332
10333 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10334 {
10335 if (!wxPyCheckForApp()) SWIG_fail;
10336 PyThreadState* __tstate = wxPyBeginAllowThreads();
10337 result = (wxStaticPicture *)new wxStaticPicture();
10338 wxPyEndAllowThreads(__tstate);
10339 if (PyErr_Occurred()) SWIG_fail;
10340 }
10341 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10342 return resultobj;
10343 fail:
10344 return NULL;
10345 }
10346
10347
10348 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10349 PyObject *resultobj = 0;
10350 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10351 wxWindow *arg2 = (wxWindow *) 0 ;
10352 int arg3 = (int) -1 ;
10353 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10354 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10355 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10356 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10357 wxSize const &arg6_defvalue = wxDefaultSize ;
10358 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10359 long arg7 = (long) 0 ;
10360 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10361 wxString *arg8 = (wxString *) &arg8_defvalue ;
10362 bool result;
10363 void *argp1 = 0 ;
10364 int res1 = 0 ;
10365 void *argp2 = 0 ;
10366 int res2 = 0 ;
10367 int val3 ;
10368 int ecode3 = 0 ;
10369 void *argp4 = 0 ;
10370 int res4 = 0 ;
10371 wxPoint temp5 ;
10372 wxSize temp6 ;
10373 long val7 ;
10374 int ecode7 = 0 ;
10375 bool temp8 = false ;
10376 PyObject * obj0 = 0 ;
10377 PyObject * obj1 = 0 ;
10378 PyObject * obj2 = 0 ;
10379 PyObject * obj3 = 0 ;
10380 PyObject * obj4 = 0 ;
10381 PyObject * obj5 = 0 ;
10382 PyObject * obj6 = 0 ;
10383 PyObject * obj7 = 0 ;
10384 char * kwnames[] = {
10385 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10386 };
10387
10388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10390 if (!SWIG_IsOK(res1)) {
10391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10392 }
10393 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10394 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10395 if (!SWIG_IsOK(res2)) {
10396 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10397 }
10398 arg2 = reinterpret_cast< wxWindow * >(argp2);
10399 if (obj2) {
10400 ecode3 = SWIG_AsVal_int(obj2, &val3);
10401 if (!SWIG_IsOK(ecode3)) {
10402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10403 }
10404 arg3 = static_cast< int >(val3);
10405 }
10406 if (obj3) {
10407 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10408 if (!SWIG_IsOK(res4)) {
10409 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10410 }
10411 if (!argp4) {
10412 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10413 }
10414 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10415 }
10416 if (obj4) {
10417 {
10418 arg5 = &temp5;
10419 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10420 }
10421 }
10422 if (obj5) {
10423 {
10424 arg6 = &temp6;
10425 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10426 }
10427 }
10428 if (obj6) {
10429 ecode7 = SWIG_AsVal_long(obj6, &val7);
10430 if (!SWIG_IsOK(ecode7)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10432 }
10433 arg7 = static_cast< long >(val7);
10434 }
10435 if (obj7) {
10436 {
10437 arg8 = wxString_in_helper(obj7);
10438 if (arg8 == NULL) SWIG_fail;
10439 temp8 = true;
10440 }
10441 }
10442 {
10443 PyThreadState* __tstate = wxPyBeginAllowThreads();
10444 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10445 wxPyEndAllowThreads(__tstate);
10446 if (PyErr_Occurred()) SWIG_fail;
10447 }
10448 {
10449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10450 }
10451 {
10452 if (temp8)
10453 delete arg8;
10454 }
10455 return resultobj;
10456 fail:
10457 {
10458 if (temp8)
10459 delete arg8;
10460 }
10461 return NULL;
10462 }
10463
10464
10465 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj = 0;
10467 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10468 wxBitmap *arg2 = 0 ;
10469 void *argp1 = 0 ;
10470 int res1 = 0 ;
10471 void *argp2 = 0 ;
10472 int res2 = 0 ;
10473 PyObject * obj0 = 0 ;
10474 PyObject * obj1 = 0 ;
10475 char * kwnames[] = {
10476 (char *) "self",(char *) "bmp", NULL
10477 };
10478
10479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10481 if (!SWIG_IsOK(res1)) {
10482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10483 }
10484 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10485 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10486 if (!SWIG_IsOK(res2)) {
10487 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10488 }
10489 if (!argp2) {
10490 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10491 }
10492 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 resultobj = SWIG_Py_Void();
10500 return resultobj;
10501 fail:
10502 return NULL;
10503 }
10504
10505
10506 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10507 PyObject *resultobj = 0;
10508 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10509 wxBitmap result;
10510 void *argp1 = 0 ;
10511 int res1 = 0 ;
10512 PyObject *swig_obj[1] ;
10513
10514 if (!args) SWIG_fail;
10515 swig_obj[0] = args;
10516 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10517 if (!SWIG_IsOK(res1)) {
10518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10519 }
10520 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10521 {
10522 PyThreadState* __tstate = wxPyBeginAllowThreads();
10523 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10524 wxPyEndAllowThreads(__tstate);
10525 if (PyErr_Occurred()) SWIG_fail;
10526 }
10527 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10528 return resultobj;
10529 fail:
10530 return NULL;
10531 }
10532
10533
10534 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10535 PyObject *resultobj = 0;
10536 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10537 wxIcon *arg2 = 0 ;
10538 void *argp1 = 0 ;
10539 int res1 = 0 ;
10540 void *argp2 = 0 ;
10541 int res2 = 0 ;
10542 PyObject * obj0 = 0 ;
10543 PyObject * obj1 = 0 ;
10544 char * kwnames[] = {
10545 (char *) "self",(char *) "icon", NULL
10546 };
10547
10548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10550 if (!SWIG_IsOK(res1)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10552 }
10553 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10554 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10555 if (!SWIG_IsOK(res2)) {
10556 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10557 }
10558 if (!argp2) {
10559 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10560 }
10561 arg2 = reinterpret_cast< wxIcon * >(argp2);
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 (arg1)->SetIcon((wxIcon const &)*arg2);
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_Py_Void();
10569 return resultobj;
10570 fail:
10571 return NULL;
10572 }
10573
10574
10575 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10576 PyObject *resultobj = 0;
10577 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10578 wxIcon result;
10579 void *argp1 = 0 ;
10580 int res1 = 0 ;
10581 PyObject *swig_obj[1] ;
10582
10583 if (!args) SWIG_fail;
10584 swig_obj[0] = args;
10585 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10586 if (!SWIG_IsOK(res1)) {
10587 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10588 }
10589 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10590 {
10591 PyThreadState* __tstate = wxPyBeginAllowThreads();
10592 result = ((wxStaticPicture const *)arg1)->GetIcon();
10593 wxPyEndAllowThreads(__tstate);
10594 if (PyErr_Occurred()) SWIG_fail;
10595 }
10596 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10597 return resultobj;
10598 fail:
10599 return NULL;
10600 }
10601
10602
10603 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10604 PyObject *resultobj = 0;
10605 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10606 int arg2 ;
10607 void *argp1 = 0 ;
10608 int res1 = 0 ;
10609 int val2 ;
10610 int ecode2 = 0 ;
10611 PyObject * obj0 = 0 ;
10612 PyObject * obj1 = 0 ;
10613 char * kwnames[] = {
10614 (char *) "self",(char *) "align", NULL
10615 };
10616
10617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10619 if (!SWIG_IsOK(res1)) {
10620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10621 }
10622 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10623 ecode2 = SWIG_AsVal_int(obj1, &val2);
10624 if (!SWIG_IsOK(ecode2)) {
10625 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10626 }
10627 arg2 = static_cast< int >(val2);
10628 {
10629 PyThreadState* __tstate = wxPyBeginAllowThreads();
10630 (arg1)->SetAlignment(arg2);
10631 wxPyEndAllowThreads(__tstate);
10632 if (PyErr_Occurred()) SWIG_fail;
10633 }
10634 resultobj = SWIG_Py_Void();
10635 return resultobj;
10636 fail:
10637 return NULL;
10638 }
10639
10640
10641 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10642 PyObject *resultobj = 0;
10643 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10644 int result;
10645 void *argp1 = 0 ;
10646 int res1 = 0 ;
10647 PyObject *swig_obj[1] ;
10648
10649 if (!args) SWIG_fail;
10650 swig_obj[0] = args;
10651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10652 if (!SWIG_IsOK(res1)) {
10653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10654 }
10655 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = SWIG_From_int(static_cast< int >(result));
10663 return resultobj;
10664 fail:
10665 return NULL;
10666 }
10667
10668
10669 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj = 0;
10671 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10672 int arg2 ;
10673 void *argp1 = 0 ;
10674 int res1 = 0 ;
10675 int val2 ;
10676 int ecode2 = 0 ;
10677 PyObject * obj0 = 0 ;
10678 PyObject * obj1 = 0 ;
10679 char * kwnames[] = {
10680 (char *) "self",(char *) "scale", NULL
10681 };
10682
10683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10685 if (!SWIG_IsOK(res1)) {
10686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10687 }
10688 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10689 ecode2 = SWIG_AsVal_int(obj1, &val2);
10690 if (!SWIG_IsOK(ecode2)) {
10691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10692 }
10693 arg2 = static_cast< int >(val2);
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->SetScale(arg2);
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 resultobj = SWIG_Py_Void();
10701 return resultobj;
10702 fail:
10703 return NULL;
10704 }
10705
10706
10707 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10708 PyObject *resultobj = 0;
10709 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10710 int result;
10711 void *argp1 = 0 ;
10712 int res1 = 0 ;
10713 PyObject *swig_obj[1] ;
10714
10715 if (!args) SWIG_fail;
10716 swig_obj[0] = args;
10717 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10718 if (!SWIG_IsOK(res1)) {
10719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10720 }
10721 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10722 {
10723 PyThreadState* __tstate = wxPyBeginAllowThreads();
10724 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10725 wxPyEndAllowThreads(__tstate);
10726 if (PyErr_Occurred()) SWIG_fail;
10727 }
10728 resultobj = SWIG_From_int(static_cast< int >(result));
10729 return resultobj;
10730 fail:
10731 return NULL;
10732 }
10733
10734
10735 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10736 PyObject *resultobj = 0;
10737 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10738 float arg2 ;
10739 float arg3 ;
10740 void *argp1 = 0 ;
10741 int res1 = 0 ;
10742 float val2 ;
10743 int ecode2 = 0 ;
10744 float val3 ;
10745 int ecode3 = 0 ;
10746 PyObject * obj0 = 0 ;
10747 PyObject * obj1 = 0 ;
10748 PyObject * obj2 = 0 ;
10749 char * kwnames[] = {
10750 (char *) "self",(char *) "sx",(char *) "sy", NULL
10751 };
10752
10753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10755 if (!SWIG_IsOK(res1)) {
10756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10757 }
10758 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10759 ecode2 = SWIG_AsVal_float(obj1, &val2);
10760 if (!SWIG_IsOK(ecode2)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10762 }
10763 arg2 = static_cast< float >(val2);
10764 ecode3 = SWIG_AsVal_float(obj2, &val3);
10765 if (!SWIG_IsOK(ecode3)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10767 }
10768 arg3 = static_cast< float >(val3);
10769 {
10770 PyThreadState* __tstate = wxPyBeginAllowThreads();
10771 (arg1)->SetCustomScale(arg2,arg3);
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = SWIG_Py_Void();
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10783 PyObject *resultobj = 0;
10784 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10785 float *arg2 = (float *) 0 ;
10786 float *arg3 = (float *) 0 ;
10787 void *argp1 = 0 ;
10788 int res1 = 0 ;
10789 float temp2 ;
10790 int res2 = SWIG_TMPOBJ ;
10791 float temp3 ;
10792 int res3 = SWIG_TMPOBJ ;
10793 PyObject *swig_obj[1] ;
10794
10795 arg2 = &temp2;
10796 arg3 = &temp3;
10797 if (!args) SWIG_fail;
10798 swig_obj[0] = args;
10799 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10800 if (!SWIG_IsOK(res1)) {
10801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10802 }
10803 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10807 wxPyEndAllowThreads(__tstate);
10808 if (PyErr_Occurred()) SWIG_fail;
10809 }
10810 resultobj = SWIG_Py_Void();
10811 if (SWIG_IsTmpObj(res2)) {
10812 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10813 } else {
10814 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10815 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10816 }
10817 if (SWIG_IsTmpObj(res3)) {
10818 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10819 } else {
10820 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10821 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10822 }
10823 return resultobj;
10824 fail:
10825 return NULL;
10826 }
10827
10828
10829 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10830 PyObject *obj;
10831 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10832 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10833 return SWIG_Py_Void();
10834 }
10835
10836 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10837 return SWIG_Python_InitShadowInstance(args);
10838 }
10839
10840 static PyMethodDef SwigMethods[] = {
10841 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10842 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10843 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10844 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10845 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10846 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10847 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10848 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10849 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10850 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10851 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10852 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10853 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10854 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10855 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10856 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10857 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10858 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10859 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10860 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10861 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10862 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10863 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10864 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10865 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10866 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10867 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10868 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10869 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10870 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10871 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10872 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10873 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10874 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10875 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10876 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10877 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10878 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10879 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10880 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10881 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10882 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10883 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10884 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10885 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10886 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10887 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10888 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10889 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10890 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10891 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10892 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10893 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10894 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10895 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10896 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10897 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10899 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10900 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10901 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10902 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10903 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10904 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10905 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10906 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10907 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10908 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10909 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10910 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10911 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10912 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10913 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10914 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10915 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10916 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10917 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10918 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10919 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10921 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10922 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10923 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10924 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10925 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10926 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10927 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10928 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10929 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10930 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10931 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10937 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10941 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10945 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10965 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10966 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10967 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10975 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10976 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10977 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10979 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10980 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10981 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10982 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10984 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10988 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10990 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10991 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
10995 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
10999 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11001 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11002 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11003 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
11004 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11005 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11006 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11007 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11008 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11010 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11013 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11014 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11015 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11016 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11017 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11018 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11019 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11020 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11021 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11022 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11023 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11024 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11025 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11026 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11027 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11028 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11029 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11030 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11031 { NULL, NULL, 0, NULL }
11032 };
11033
11034
11035 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11036
11037 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11038 return (void *)((wxValidator *) ((wxPyValidator *) x));
11039 }
11040 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11041 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11042 }
11043 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11044 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11045 }
11046 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11047 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11048 }
11049 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11050 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11051 }
11052 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11053 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11054 }
11055 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11056 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11057 }
11058 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11059 return (void *)((wxPanel *) ((wxPyPanel *) x));
11060 }
11061 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11062 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11063 }
11064 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11065 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11066 }
11067 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11068 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11069 }
11070 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11071 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11072 }
11073 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11074 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11075 }
11076 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11077 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11078 }
11079 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11080 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11081 }
11082 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11083 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11084 }
11085 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11086 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11087 }
11088 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11089 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11090 }
11091 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11092 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11093 }
11094 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11095 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11096 }
11097 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11098 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11099 }
11100 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11101 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11102 }
11103 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11104 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11105 }
11106 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11107 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11108 }
11109 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11110 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11111 }
11112 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11113 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11114 }
11115 static void *_p_wxControlTo_p_wxWindow(void *x) {
11116 return (void *)((wxWindow *) ((wxControl *) x));
11117 }
11118 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11119 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11120 }
11121 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11122 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11123 }
11124 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11125 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11126 }
11127 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11128 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11129 }
11130 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11131 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11132 }
11133 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11134 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11135 }
11136 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11137 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11138 }
11139 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11140 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11141 }
11142 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11143 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11144 }
11145 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11146 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11147 }
11148 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11150 }
11151 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11152 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11153 }
11154 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11155 return (void *)((wxWindow *) ((wxPyWindow *) x));
11156 }
11157 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11158 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11159 }
11160 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11161 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11162 }
11163 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11165 }
11166 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11168 }
11169 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11170 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11171 }
11172 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11173 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11174 }
11175 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11177 }
11178 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11180 }
11181 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11183 }
11184 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11186 }
11187 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11188 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11189 }
11190 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11191 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11192 }
11193 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11194 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11195 }
11196 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11197 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11198 }
11199 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11200 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11201 }
11202 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11203 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11204 }
11205 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11206 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11207 }
11208 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11209 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11210 }
11211 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11212 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11213 }
11214 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11215 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11216 }
11217 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11218 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11219 }
11220 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11221 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11222 }
11223 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11224 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11225 }
11226 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11227 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11228 }
11229 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11230 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11231 }
11232 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11233 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11234 }
11235 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11236 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11237 }
11238 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11240 }
11241 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11242 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11243 }
11244 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11245 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11246 }
11247 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11248 return (void *)((wxWindow *) ((wxStatusBar *) x));
11249 }
11250 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11251 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11252 }
11253 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11254 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11255 }
11256 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11257 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11258 }
11259 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11260 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11261 }
11262 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11263 return (void *)((wxWindow *) ((wxSashWindow *) x));
11264 }
11265 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11266 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11267 }
11268 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11269 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11270 }
11271 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11272 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11273 }
11274 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11275 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11276 }
11277 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11278 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11279 }
11280 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11281 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11282 }
11283 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11284 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11285 }
11286 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11287 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11288 }
11289 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11290 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11291 }
11292 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11293 return (void *)((wxWindow *) ((wxMenuBar *) x));
11294 }
11295 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11296 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11297 }
11298 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11299 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11300 }
11301 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11302 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11303 }
11304 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11305 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11306 }
11307 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11308 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11309 }
11310 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11311 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11312 }
11313 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11314 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11315 }
11316 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11317 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11318 }
11319 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11320 return (void *)((wxWindow *) ((wxPanel *) x));
11321 }
11322 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11323 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11324 }
11325 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11326 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11327 }
11328 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11329 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11330 }
11331 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11332 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11333 }
11334 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11335 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11336 }
11337 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11338 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11339 }
11340 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11341 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11342 }
11343 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11344 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11345 }
11346 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11347 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11348 }
11349 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11350 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11351 }
11352 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11353 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11354 }
11355 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11356 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11357 }
11358 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11359 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11360 }
11361 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11362 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11363 }
11364 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11365 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11366 }
11367 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11368 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11369 }
11370 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11371 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11372 }
11373 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11374 return (void *)((wxControl *) ((wxPickerBase *) x));
11375 }
11376 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11377 return (void *)((wxControl *) ((wxToggleButton *) x));
11378 }
11379 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11380 return (void *)((wxControl *) ((wxRadioButton *) x));
11381 }
11382 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11383 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11384 }
11385 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11386 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11387 }
11388 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11389 return (void *)((wxControl *) ((wxToolBarBase *) x));
11390 }
11391 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11392 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11393 }
11394 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11395 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11396 }
11397 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11398 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11399 }
11400 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11401 return (void *)((wxControl *) ((wxPyControl *) x));
11402 }
11403 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11404 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11405 }
11406 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11407 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11408 }
11409 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11410 return (void *)((wxControl *) ((wxScrollBar *) x));
11411 }
11412 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11413 return (void *)((wxControl *) ((wxControlWithItems *) x));
11414 }
11415 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11416 return (void *)((wxControl *) ((wxGauge *) x));
11417 }
11418 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11419 return (void *)((wxControl *) ((wxStaticLine *) x));
11420 }
11421 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11422 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11423 }
11424 static void *_p_wxListbookTo_p_wxControl(void *x) {
11425 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11426 }
11427 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
11428 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
11429 }
11430 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11431 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11432 }
11433 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11434 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11435 }
11436 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11437 return (void *)((wxControl *) ((wxCheckBox *) x));
11438 }
11439 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11440 return (void *)((wxControl *) ((wxRadioBox *) x));
11441 }
11442 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11443 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11444 }
11445 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11446 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11447 }
11448 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11449 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11450 }
11451 static void *_p_wxListViewTo_p_wxControl(void *x) {
11452 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11453 }
11454 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11455 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11456 }
11457 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11458 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11459 }
11460 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11461 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11462 }
11463 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11464 return (void *)((wxControl *) ((wxStaticText *) x));
11465 }
11466 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11467 return (void *)((wxControl *) ((wxStaticBox *) x));
11468 }
11469 static void *_p_wxSliderTo_p_wxControl(void *x) {
11470 return (void *)((wxControl *) ((wxSlider *) x));
11471 }
11472 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11473 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11474 }
11475 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11476 return (void *)((wxControl *) ((wxSpinButton *) x));
11477 }
11478 static void *_p_wxButtonTo_p_wxControl(void *x) {
11479 return (void *)((wxControl *) ((wxButton *) x));
11480 }
11481 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11482 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11483 }
11484 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11485 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11486 }
11487 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11488 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11489 }
11490 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
11491 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
11492 }
11493 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
11494 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
11495 }
11496 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
11497 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
11498 }
11499 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
11500 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
11501 }
11502 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11503 return (void *)((wxControl *) ((wxStaticPicture *) x));
11504 }
11505 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11506 return (void *)((wxControl *) ((wxTextCtrl *) x));
11507 }
11508 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11509 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11510 }
11511 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11512 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11513 }
11514 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11515 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11516 }
11517 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11518 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11519 }
11520 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11521 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11522 }
11523 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11524 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11525 }
11526 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11527 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11528 }
11529 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11530 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11531 }
11532 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11533 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11534 }
11535 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11536 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11537 }
11538 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
11539 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
11540 }
11541 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
11542 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
11543 }
11544 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
11545 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
11546 }
11547 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11548 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11549 }
11550 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11552 }
11553 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11555 }
11556 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11557 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11558 }
11559 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11561 }
11562 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11563 return (void *)((wxEvent *) ((wxPyEvent *) x));
11564 }
11565 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11566 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11567 }
11568 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11569 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11570 }
11571 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11572 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11573 }
11574 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11575 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11576 }
11577 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11578 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11579 }
11580 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11581 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11582 }
11583 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11584 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11585 }
11586 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11587 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11588 }
11589 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11590 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11591 }
11592 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11593 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11594 }
11595 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11596 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11597 }
11598 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11599 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11600 }
11601 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11602 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11603 }
11604 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11605 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11606 }
11607 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11608 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11609 }
11610 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11611 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11612 }
11613 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11614 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11615 }
11616 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11617 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11618 }
11619 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11620 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11621 }
11622 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11623 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11624 }
11625 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11626 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11627 }
11628 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11629 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11630 }
11631 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11632 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11633 }
11634 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11635 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11636 }
11637 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11638 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11639 }
11640 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11641 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11642 }
11643 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11644 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11645 }
11646 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
11647 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
11648 }
11649 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11650 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11651 }
11652 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11653 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11654 }
11655 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11657 }
11658 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11659 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11660 }
11661 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11662 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11663 }
11664 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11665 return (void *)((wxEvent *) ((wxShowEvent *) x));
11666 }
11667 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11668 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11669 }
11670 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11671 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11672 }
11673 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11674 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11675 }
11676 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11677 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11678 }
11679 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11680 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11681 }
11682 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11683 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11684 }
11685 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11686 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11687 }
11688 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11689 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11690 }
11691 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11693 }
11694 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11695 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11696 }
11697 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11699 }
11700 static void *_p_wxEventTo_p_wxObject(void *x) {
11701 return (void *)((wxObject *) ((wxEvent *) x));
11702 }
11703 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11704 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11705 }
11706 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11707 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11708 }
11709 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11710 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11711 }
11712 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11714 }
11715 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11716 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11717 }
11718 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11719 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11720 }
11721 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11722 return (void *)((wxObject *) ((wxMenuItem *) x));
11723 }
11724 static void *_p_wxImageTo_p_wxObject(void *x) {
11725 return (void *)((wxObject *) ((wxImage *) x));
11726 }
11727 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11728 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11729 }
11730 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11731 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11732 }
11733 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11734 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11735 }
11736 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11737 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11738 }
11739 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11740 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11741 }
11742 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11743 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11744 }
11745 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11746 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11747 }
11748 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11750 }
11751 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11753 }
11754 static void *_p_wxListItemTo_p_wxObject(void *x) {
11755 return (void *)((wxObject *) ((wxListItem *) x));
11756 }
11757 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11758 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11759 }
11760 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11761 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11762 }
11763 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11765 }
11766 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11768 }
11769 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11771 }
11772 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11774 }
11775 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11776 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11777 }
11778 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11780 }
11781 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11782 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11783 }
11784 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11785 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11786 }
11787 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11788 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11789 }
11790 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11791 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11792 }
11793 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11794 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11795 }
11796 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11798 }
11799 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11800 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11801 }
11802 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11803 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11804 }
11805 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11806 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11807 }
11808 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11809 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11810 }
11811 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11812 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11813 }
11814 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11815 return (void *)((wxObject *) ((wxPrinter *) x));
11816 }
11817 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11819 }
11820 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11821 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11822 }
11823 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11824 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11825 }
11826 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11827 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11828 }
11829 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11830 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11831 }
11832 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11833 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11834 }
11835 static void *_p_wxControlTo_p_wxObject(void *x) {
11836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11837 }
11838 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11840 }
11841 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11842 return (void *)((wxObject *) ((wxContextHelp *) x));
11843 }
11844 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11845 return (void *)((wxObject *) ((wxColourData *) x));
11846 }
11847 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11848 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11849 }
11850 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11851 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11852 }
11853 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11854 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11855 }
11856 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11857 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11858 }
11859 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11860 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11861 }
11862 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11863 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11864 }
11865 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11866 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11867 }
11868 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11869 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11870 }
11871 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11872 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11873 }
11874 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11876 }
11877 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11878 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11879 }
11880 static void *_p_wxListEventTo_p_wxObject(void *x) {
11881 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11882 }
11883 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11885 }
11886 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11887 return (void *)((wxObject *) ((wxPyPrintout *) x));
11888 }
11889 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11890 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11891 }
11892 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11893 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11894 }
11895 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11896 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11897 }
11898 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11900 }
11901 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11903 }
11904 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11906 }
11907 static void *_p_wxButtonTo_p_wxObject(void *x) {
11908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11909 }
11910 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11912 }
11913 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11914 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11915 }
11916 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11917 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11918 }
11919 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11920 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11921 }
11922 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11924 }
11925 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11927 }
11928 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11929 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11930 }
11931 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11932 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11933 }
11934 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11936 }
11937 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11938 return (void *)((wxObject *) ((wxPrintData *) x));
11939 }
11940 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11941 return (void *)((wxObject *) ((wxFontData *) x));
11942 }
11943 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11944 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11945 }
11946 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11947 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11948 }
11949 static void *_p_wxListbookTo_p_wxObject(void *x) {
11950 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11951 }
11952 static void *_p_wxFrameTo_p_wxObject(void *x) {
11953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11954 }
11955 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11957 }
11958 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11959 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11960 }
11961 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11962 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11963 }
11964 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11966 }
11967 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11968 return (void *)((wxObject *) ((wxFileSystem *) x));
11969 }
11970 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11971 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11972 }
11973 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11974 return (void *)((wxObject *) ((wxPrintPreview *) x));
11975 }
11976 static void *_p_wxListViewTo_p_wxObject(void *x) {
11977 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11978 }
11979 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11980 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11981 }
11982 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11983 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11984 }
11985 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11986 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11987 }
11988 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11989 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11990 }
11991 static void *_p_wxSizerTo_p_wxObject(void *x) {
11992 return (void *)((wxObject *) ((wxSizer *) x));
11993 }
11994 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11995 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11996 }
11997 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11998 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11999 }
12000 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12001 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12002 }
12003 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12004 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12005 }
12006 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12007 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12008 }
12009 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12010 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12011 }
12012 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12013 return (void *)((wxObject *) ((wxFSFile *) x));
12014 }
12015 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12017 }
12018 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12019 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12020 }
12021 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12022 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12023 }
12024 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12025 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12026 }
12027 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12028 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12029 }
12030 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12031 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12032 }
12033 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12035 }
12036 static void *_p_wxMenuTo_p_wxObject(void *x) {
12037 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12038 }
12039 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12041 }
12042 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12043 return (void *)((wxObject *) ((wxSizerItem *) x));
12044 }
12045 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12046 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12047 }
12048 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12050 }
12051 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12052 return (void *)((wxObject *) ((wxPrintDialog *) x));
12053 }
12054 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12055 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12056 }
12057 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12059 }
12060 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12062 }
12063 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12065 }
12066 static void *_p_wxDialogTo_p_wxObject(void *x) {
12067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12068 }
12069 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12070 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12071 }
12072 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12073 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12074 }
12075 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12077 }
12078 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12079 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12080 }
12081 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12083 }
12084 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12085 return (void *)((wxObject *) ((wxEvtHandler *) x));
12086 }
12087 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12088 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12089 }
12090 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12091 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12092 }
12093 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12094 return (void *)((wxObject *) ((wxImageHandler *) x));
12095 }
12096 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12097 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12098 }
12099 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12100 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12101 }
12102 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12103 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12104 }
12105 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12106 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12107 }
12108 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12109 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12110 }
12111 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12112 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12113 }
12114 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12115 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12116 }
12117 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12118 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12119 }
12120 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12121 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12122 }
12123 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12124 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12125 }
12126 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12127 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12128 }
12129 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12130 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12131 }
12132 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12133 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12134 }
12135 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12136 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12137 }
12138 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12139 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12140 }
12141 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12143 }
12144 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12146 }
12147 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12148 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12149 }
12150 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12152 }
12153 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12154 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12155 }
12156 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12158 }
12159 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12160 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12161 }
12162 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12163 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12164 }
12165 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12166 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12167 }
12168 static void *_p_wxWindowTo_p_wxObject(void *x) {
12169 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12170 }
12171 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12172 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12173 }
12174 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12175 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12176 }
12177 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12178 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12179 }
12180 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12181 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12182 }
12183 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12184 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12185 }
12186 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12187 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12188 }
12189 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12190 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12191 }
12192 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12193 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12194 }
12195 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12197 }
12198 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12199 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12200 }
12201 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12203 }
12204 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12206 }
12207 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12209 }
12210 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12212 }
12213 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12215 }
12216 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12218 }
12219 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12221 }
12222 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12224 }
12225 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12226 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12227 }
12228 static void *_p_wxSliderTo_p_wxObject(void *x) {
12229 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12230 }
12231 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12232 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12233 }
12234 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12235 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12236 }
12237 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12238 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12239 }
12240 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12241 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12242 }
12243 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12244 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12245 }
12246 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12248 }
12249 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12250 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12251 }
12252 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12253 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12254 }
12255 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12256 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12257 }
12258 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12259 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12260 }
12261 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12263 }
12264 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12265 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12266 }
12267 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12269 }
12270 static void *_p_wxPanelTo_p_wxObject(void *x) {
12271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12272 }
12273 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12275 }
12276 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12277 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12278 }
12279 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12280 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12281 }
12282 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12284 }
12285 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12287 }
12288 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12290 }
12291 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12293 }
12294 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12296 }
12297 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12299 }
12300 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12302 }
12303 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12305 }
12306 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12308 }
12309 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12311 }
12312 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12314 }
12315 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12317 }
12318 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12320 }
12321 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12322 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12323 }
12324 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12325 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12326 }
12327 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12328 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12329 }
12330 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12331 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12332 }
12333 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12334 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12335 }
12336 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12337 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12338 }
12339 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12340 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12341 }
12342 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12343 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12344 }
12345 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12346 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12347 }
12348 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12349 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12350 }
12351 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12352 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12353 }
12354 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12355 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12356 }
12357 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12358 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12359 }
12360 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12361 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12362 }
12363 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12364 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12365 }
12366 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12367 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12368 }
12369 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12370 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12371 }
12372 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12373 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12374 }
12375 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12376 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12377 }
12378 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12379 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12380 }
12381 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12382 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12383 }
12384 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12385 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12386 }
12387 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12388 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12389 }
12390 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12391 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12392 }
12393 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12394 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12395 }
12396 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12397 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12398 }
12399 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12400 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12401 }
12402 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12403 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12404 }
12405 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12406 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12407 }
12408 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12409 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12410 }
12411 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12412 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12413 }
12414 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12415 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12416 }
12417 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12418 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12419 }
12420 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12421 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12422 }
12423 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12424 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12425 }
12426 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12427 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12428 }
12429 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12430 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12431 }
12432 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12433 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12434 }
12435 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12436 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12437 }
12438 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12439 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12440 }
12441 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12442 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12443 }
12444 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12445 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12446 }
12447 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12448 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12449 }
12450 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12451 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12452 }
12453 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12454 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12455 }
12456 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12457 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12458 }
12459 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12460 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12461 }
12462 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12463 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12464 }
12465 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12466 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12467 }
12468 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12469 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12470 }
12471 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12472 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12473 }
12474 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12475 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12476 }
12477 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12478 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12479 }
12480 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12481 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12482 }
12483 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12484 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12485 }
12486 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12487 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12488 }
12489 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12490 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12491 }
12492 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12493 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12494 }
12495 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12496 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12497 }
12498 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12499 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12500 }
12501 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12502 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12503 }
12504 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12505 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12506 }
12507 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12508 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12509 }
12510 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12511 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12512 }
12513 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12514 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12515 }
12516 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12517 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12518 }
12519 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12520 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12521 }
12522 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12523 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12524 }
12525 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12526 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12527 }
12528 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12529 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12530 }
12531 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12532 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12533 }
12534 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12535 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12536 }
12537 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12538 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12539 }
12540 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12541 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12542 }
12543 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12544 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12545 }
12546 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12547 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12548 }
12549 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12550 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12551 }
12552 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12553 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12554 }
12555 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12556 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12557 }
12558 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12559 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12560 }
12561 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12562 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12563 }
12564 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12565 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12566 }
12567 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12568 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12569 }
12570 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12571 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12572 }
12573 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12574 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12575 }
12576 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12577 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12578 }
12579 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12580 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12581 }
12582 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12583 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12584 }
12585 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12586 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12587 }
12588 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12589 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12590 }
12591 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12592 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12593 }
12594 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
12595 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12596 }
12597 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
12598 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12599 }
12600 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
12601 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12602 }
12603 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
12604 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12605 }
12606 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12607 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12608 }
12609 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
12610 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12611 }
12612 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12613 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12614 }
12615 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12616 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12617 }
12618 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12619 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12620 }
12621 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12622 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12623 }
12624 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12625 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12626 }
12627 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12628 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12629 }
12630 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
12631 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
12632 }
12633 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12634 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12635 }
12636 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12637 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12638 }
12639 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
12640 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
12641 }
12642 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
12643 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12644 }
12645 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
12646 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
12647 }
12648 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12649 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12650 }
12651 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12652 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12653 }
12654 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12655 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12656 }
12657 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12658 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12659 }
12660 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12661 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12662 }
12663 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12664 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12665 }
12666 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12667 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12668 }
12669 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12670 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12671 }
12672 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12673 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12674 }
12675 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12676 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12677 }
12678 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12679 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12680 }
12681 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12682 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12683 }
12684 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12685 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12686 }
12687 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12688 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12689 }
12690 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12691 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12692 }
12693 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12694 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12695 }
12696 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12697 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12698 }
12699 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12700 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12701 }
12702 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12703 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12704 }
12705 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12706 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12707 }
12708 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12709 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12710 }
12711 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12712 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12713 }
12714 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12715 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12716 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};
12717 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12718 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12719 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12720 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12721 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12722 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12723 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12724 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12725 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12734 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12735 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12736 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12737 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12738 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12754 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12786 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12787 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12788 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12789 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
12790 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
12791 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
12792 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
12793 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12794 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12795 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12796 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12797 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12798 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12799 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12800 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12801 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12802 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12803 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12804 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12805 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12806 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12807 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12808 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12809 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12810 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12811 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12812 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12813 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12814 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12815 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12816 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12817 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12818 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12819 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12820 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12821 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12822 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12823 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12824 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12825 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12826 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12827 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12828 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12829 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12830 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12831 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12832 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12833 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12834 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12835 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12836 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12837 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12838 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12839 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12840 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12841 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12842 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12843 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12844 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12845 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12846 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12847 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12848 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12849 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12850 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12851 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12852 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12853 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12854 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12855 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12856 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12857 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12858 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12859 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12860 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12861 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12862 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12863 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12864 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12865 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12866 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12867 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12868 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12869 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12870 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12871 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12872 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12873 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12874 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12875 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12876 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12877 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12878 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12879 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12880 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12881 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12882 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12883 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12884 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12885 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12886 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12887 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12888 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12889 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12890 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12891 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12892 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12893 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12894 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12895 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12896 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12897 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12898 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12899 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12900 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12901 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12902 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12903 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12904 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12905 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12906 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12907 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12908 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12909 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12910 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12911 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12912 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12913 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12914 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12915 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12916 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12917 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12918 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12919 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12920 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12921 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12922 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12923 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12924 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12925 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12926 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12927 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12928 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12929 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12930 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12931 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12932 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12933 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12934 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12935 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12936 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12937 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12938 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12939 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12940 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12941 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12942
12943 static swig_type_info *swig_type_initial[] = {
12944 &_swigt__p_char,
12945 &_swigt__p_float,
12946 &_swigt__p_form_ops_t,
12947 &_swigt__p_int,
12948 &_swigt__p_unsigned_char,
12949 &_swigt__p_unsigned_int,
12950 &_swigt__p_unsigned_long,
12951 &_swigt__p_wxANIHandler,
12952 &_swigt__p_wxAcceleratorTable,
12953 &_swigt__p_wxActivateEvent,
12954 &_swigt__p_wxArrayString,
12955 &_swigt__p_wxBMPHandler,
12956 &_swigt__p_wxBitmap,
12957 &_swigt__p_wxBitmapButton,
12958 &_swigt__p_wxBookCtrlBase,
12959 &_swigt__p_wxBookCtrlBaseEvent,
12960 &_swigt__p_wxBoxSizer,
12961 &_swigt__p_wxButton,
12962 &_swigt__p_wxCURHandler,
12963 &_swigt__p_wxCalculateLayoutEvent,
12964 &_swigt__p_wxCheckBox,
12965 &_swigt__p_wxCheckListBox,
12966 &_swigt__p_wxChildFocusEvent,
12967 &_swigt__p_wxChoice,
12968 &_swigt__p_wxChoicebook,
12969 &_swigt__p_wxChoicebookEvent,
12970 &_swigt__p_wxClipboardTextEvent,
12971 &_swigt__p_wxCloseEvent,
12972 &_swigt__p_wxColour,
12973 &_swigt__p_wxColourData,
12974 &_swigt__p_wxColourDialog,
12975 &_swigt__p_wxColourPickerCtrl,
12976 &_swigt__p_wxColourPickerEvent,
12977 &_swigt__p_wxComboBox,
12978 &_swigt__p_wxCommandEvent,
12979 &_swigt__p_wxContextHelp,
12980 &_swigt__p_wxContextHelpButton,
12981 &_swigt__p_wxContextMenuEvent,
12982 &_swigt__p_wxControl,
12983 &_swigt__p_wxControlWithItems,
12984 &_swigt__p_wxDateEvent,
12985 &_swigt__p_wxDatePickerCtrl,
12986 &_swigt__p_wxDialog,
12987 &_swigt__p_wxDirDialog,
12988 &_swigt__p_wxDirFilterListCtrl,
12989 &_swigt__p_wxDirPickerCtrl,
12990 &_swigt__p_wxDisplayChangedEvent,
12991 &_swigt__p_wxDropFilesEvent,
12992 &_swigt__p_wxDuplexMode,
12993 &_swigt__p_wxDynamicSashSplitEvent,
12994 &_swigt__p_wxDynamicSashUnifyEvent,
12995 &_swigt__p_wxDynamicSashWindow,
12996 &_swigt__p_wxEditableListBox,
12997 &_swigt__p_wxEraseEvent,
12998 &_swigt__p_wxEvent,
12999 &_swigt__p_wxEvtHandler,
13000 &_swigt__p_wxFSFile,
13001 &_swigt__p_wxFileDialog,
13002 &_swigt__p_wxFileDirPickerEvent,
13003 &_swigt__p_wxFilePickerCtrl,
13004 &_swigt__p_wxFileSystem,
13005 &_swigt__p_wxFindDialogEvent,
13006 &_swigt__p_wxFindReplaceData,
13007 &_swigt__p_wxFindReplaceDialog,
13008 &_swigt__p_wxFlexGridSizer,
13009 &_swigt__p_wxFocusEvent,
13010 &_swigt__p_wxFont,
13011 &_swigt__p_wxFontData,
13012 &_swigt__p_wxFontDialog,
13013 &_swigt__p_wxFontPickerCtrl,
13014 &_swigt__p_wxFontPickerEvent,
13015 &_swigt__p_wxFrame,
13016 &_swigt__p_wxGBSizerItem,
13017 &_swigt__p_wxGIFHandler,
13018 &_swigt__p_wxGauge,
13019 &_swigt__p_wxGenericDirCtrl,
13020 &_swigt__p_wxGenericDragImage,
13021 &_swigt__p_wxGridBagSizer,
13022 &_swigt__p_wxGridSizer,
13023 &_swigt__p_wxHelpEvent,
13024 &_swigt__p_wxHyperlinkCtrl,
13025 &_swigt__p_wxHyperlinkEvent,
13026 &_swigt__p_wxICOHandler,
13027 &_swigt__p_wxIcon,
13028 &_swigt__p_wxIconizeEvent,
13029 &_swigt__p_wxIdleEvent,
13030 &_swigt__p_wxImage,
13031 &_swigt__p_wxImageHandler,
13032 &_swigt__p_wxImageList,
13033 &_swigt__p_wxIndividualLayoutConstraint,
13034 &_swigt__p_wxInitDialogEvent,
13035 &_swigt__p_wxJPEGHandler,
13036 &_swigt__p_wxKeyEvent,
13037 &_swigt__p_wxLEDNumberCtrl,
13038 &_swigt__p_wxLayoutAlgorithm,
13039 &_swigt__p_wxLayoutConstraints,
13040 &_swigt__p_wxListBox,
13041 &_swigt__p_wxListEvent,
13042 &_swigt__p_wxListItem,
13043 &_swigt__p_wxListView,
13044 &_swigt__p_wxListbook,
13045 &_swigt__p_wxListbookEvent,
13046 &_swigt__p_wxMDIChildFrame,
13047 &_swigt__p_wxMDIClientWindow,
13048 &_swigt__p_wxMDIParentFrame,
13049 &_swigt__p_wxMaximizeEvent,
13050 &_swigt__p_wxMenu,
13051 &_swigt__p_wxMenuBar,
13052 &_swigt__p_wxMenuEvent,
13053 &_swigt__p_wxMenuItem,
13054 &_swigt__p_wxMessageDialog,
13055 &_swigt__p_wxMiniFrame,
13056 &_swigt__p_wxMouseCaptureChangedEvent,
13057 &_swigt__p_wxMouseEvent,
13058 &_swigt__p_wxMoveEvent,
13059 &_swigt__p_wxMultiChoiceDialog,
13060 &_swigt__p_wxNavigationKeyEvent,
13061 &_swigt__p_wxNcPaintEvent,
13062 &_swigt__p_wxNotebook,
13063 &_swigt__p_wxNotebookEvent,
13064 &_swigt__p_wxNotifyEvent,
13065 &_swigt__p_wxObject,
13066 &_swigt__p_wxPCXHandler,
13067 &_swigt__p_wxPNGHandler,
13068 &_swigt__p_wxPNMHandler,
13069 &_swigt__p_wxPageSetupDialog,
13070 &_swigt__p_wxPageSetupDialogData,
13071 &_swigt__p_wxPaintEvent,
13072 &_swigt__p_wxPaletteChangedEvent,
13073 &_swigt__p_wxPanel,
13074 &_swigt__p_wxPaperSize,
13075 &_swigt__p_wxPasswordEntryDialog,
13076 &_swigt__p_wxPickerBase,
13077 &_swigt__p_wxPopupWindow,
13078 &_swigt__p_wxPreviewCanvas,
13079 &_swigt__p_wxPreviewControlBar,
13080 &_swigt__p_wxPreviewFrame,
13081 &_swigt__p_wxPrintData,
13082 &_swigt__p_wxPrintDialog,
13083 &_swigt__p_wxPrintDialogData,
13084 &_swigt__p_wxPrintPreview,
13085 &_swigt__p_wxPrinter,
13086 &_swigt__p_wxProgressDialog,
13087 &_swigt__p_wxPyApp,
13088 &_swigt__p_wxPyCommandEvent,
13089 &_swigt__p_wxPyControl,
13090 &_swigt__p_wxPyEvent,
13091 &_swigt__p_wxPyHtmlListBox,
13092 &_swigt__p_wxPyImageHandler,
13093 &_swigt__p_wxPyListCtrl,
13094 &_swigt__p_wxPyPanel,
13095 &_swigt__p_wxPyPopupTransientWindow,
13096 &_swigt__p_wxPyPreviewControlBar,
13097 &_swigt__p_wxPyPreviewFrame,
13098 &_swigt__p_wxPyPrintPreview,
13099 &_swigt__p_wxPyPrintout,
13100 &_swigt__p_wxPyScrolledWindow,
13101 &_swigt__p_wxPySizer,
13102 &_swigt__p_wxPyTaskBarIcon,
13103 &_swigt__p_wxPyTreeCompanionWindow,
13104 &_swigt__p_wxPyTreeCtrl,
13105 &_swigt__p_wxPyTreeItemData,
13106 &_swigt__p_wxPyTreeListCtrl,
13107 &_swigt__p_wxPyVListBox,
13108 &_swigt__p_wxPyVScrolledWindow,
13109 &_swigt__p_wxPyValidator,
13110 &_swigt__p_wxPyWindow,
13111 &_swigt__p_wxQueryLayoutInfoEvent,
13112 &_swigt__p_wxQueryNewPaletteEvent,
13113 &_swigt__p_wxRadioBox,
13114 &_swigt__p_wxRadioButton,
13115 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13116 &_swigt__p_wxSashEvent,
13117 &_swigt__p_wxSashLayoutWindow,
13118 &_swigt__p_wxSashWindow,
13119 &_swigt__p_wxScrollBar,
13120 &_swigt__p_wxScrollEvent,
13121 &_swigt__p_wxScrollWinEvent,
13122 &_swigt__p_wxScrolledWindow,
13123 &_swigt__p_wxSetCursorEvent,
13124 &_swigt__p_wxShowEvent,
13125 &_swigt__p_wxSingleChoiceDialog,
13126 &_swigt__p_wxSizeEvent,
13127 &_swigt__p_wxSizer,
13128 &_swigt__p_wxSizerItem,
13129 &_swigt__p_wxSlider,
13130 &_swigt__p_wxSpinButton,
13131 &_swigt__p_wxSpinCtrl,
13132 &_swigt__p_wxSpinEvent,
13133 &_swigt__p_wxSplashScreen,
13134 &_swigt__p_wxSplashScreenWindow,
13135 &_swigt__p_wxSplitterEvent,
13136 &_swigt__p_wxSplitterScrolledWindow,
13137 &_swigt__p_wxSplitterWindow,
13138 &_swigt__p_wxStaticBitmap,
13139 &_swigt__p_wxStaticBox,
13140 &_swigt__p_wxStaticBoxSizer,
13141 &_swigt__p_wxStaticLine,
13142 &_swigt__p_wxStaticPicture,
13143 &_swigt__p_wxStaticText,
13144 &_swigt__p_wxStatusBar,
13145 &_swigt__p_wxStdDialogButtonSizer,
13146 &_swigt__p_wxSysColourChangedEvent,
13147 &_swigt__p_wxTIFFHandler,
13148 &_swigt__p_wxTaskBarIconEvent,
13149 &_swigt__p_wxTextCtrl,
13150 &_swigt__p_wxTextEntryDialog,
13151 &_swigt__p_wxTextUrlEvent,
13152 &_swigt__p_wxThinSplitterWindow,
13153 &_swigt__p_wxTipWindow,
13154 &_swigt__p_wxToggleButton,
13155 &_swigt__p_wxToolBar,
13156 &_swigt__p_wxToolBarBase,
13157 &_swigt__p_wxToolBarToolBase,
13158 &_swigt__p_wxToolbook,
13159 &_swigt__p_wxToolbookEvent,
13160 &_swigt__p_wxTopLevelWindow,
13161 &_swigt__p_wxTreeEvent,
13162 &_swigt__p_wxTreeItemId,
13163 &_swigt__p_wxTreeListColumnInfo,
13164 &_swigt__p_wxTreebook,
13165 &_swigt__p_wxTreebookEvent,
13166 &_swigt__p_wxUpdateUIEvent,
13167 &_swigt__p_wxValidator,
13168 &_swigt__p_wxWindow,
13169 &_swigt__p_wxWindowCreateEvent,
13170 &_swigt__p_wxWindowDestroyEvent,
13171 &_swigt__p_wxXPMHandler,
13172 };
13173
13174 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13178 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13183 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13184 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13212 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}};
13213 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13216 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13217 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13223 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13224 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13225 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13226 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13227 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13228 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13232 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13233 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13234 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13235 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13236 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13237 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13238 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13239 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13240 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13241 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13242 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13243 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13244 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13245 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13246 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13247 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13248 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13249 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13250 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13251 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13252 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13253 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}};
13254 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13255 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13256 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13257 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13258 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13259 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13260 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13261 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13262 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13263 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13264 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13265 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13266 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13267 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13268 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13269 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13270 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13271 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13272 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13273 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13274 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13275 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13276 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13277 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13278 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13279 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13280 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13281 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13282 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13283 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13284 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13285 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13286 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13287 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13288 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13289 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13290 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13291 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13292 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13293 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13294 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13295 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13296 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13297 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13298 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13299 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13300 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13301 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13302 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13303 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13304 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13305 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13306 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13307 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13308 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13309 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13310 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13311 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13312 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13313 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13314 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13315 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13316 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13317 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13318 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13319 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13320 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13321 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13322 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13323 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13324 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13325 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13326 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13327 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13328 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13329 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13330 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13331 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13332 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13333 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13334 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13335 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13336 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13337 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13338 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13339 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13340 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13341 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13342 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13343 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13344 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13345 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13346 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13347 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13348 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13349 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13350 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13351 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13352 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13353 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13354 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13355 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13356 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13357 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13358 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13359 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13360 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13361 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13362 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13363 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13364 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13365 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13366 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13367 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13368 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13369 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13370 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13371 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13372 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13373 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13374 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13375 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13376 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13377 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13378 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13379 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13380 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13381 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13382 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13383 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13384 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}};
13385 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13386 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}};
13387 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13388 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}};
13389 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13390 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13391 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13392 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13393 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}};
13394 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13395 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}};
13396 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13397 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13398 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13399 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13400 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}};
13401 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13402
13403 static swig_cast_info *swig_cast_initial[] = {
13404 _swigc__p_char,
13405 _swigc__p_float,
13406 _swigc__p_form_ops_t,
13407 _swigc__p_int,
13408 _swigc__p_unsigned_char,
13409 _swigc__p_unsigned_int,
13410 _swigc__p_unsigned_long,
13411 _swigc__p_wxANIHandler,
13412 _swigc__p_wxAcceleratorTable,
13413 _swigc__p_wxActivateEvent,
13414 _swigc__p_wxArrayString,
13415 _swigc__p_wxBMPHandler,
13416 _swigc__p_wxBitmap,
13417 _swigc__p_wxBitmapButton,
13418 _swigc__p_wxBookCtrlBase,
13419 _swigc__p_wxBookCtrlBaseEvent,
13420 _swigc__p_wxBoxSizer,
13421 _swigc__p_wxButton,
13422 _swigc__p_wxCURHandler,
13423 _swigc__p_wxCalculateLayoutEvent,
13424 _swigc__p_wxCheckBox,
13425 _swigc__p_wxCheckListBox,
13426 _swigc__p_wxChildFocusEvent,
13427 _swigc__p_wxChoice,
13428 _swigc__p_wxChoicebook,
13429 _swigc__p_wxChoicebookEvent,
13430 _swigc__p_wxClipboardTextEvent,
13431 _swigc__p_wxCloseEvent,
13432 _swigc__p_wxColour,
13433 _swigc__p_wxColourData,
13434 _swigc__p_wxColourDialog,
13435 _swigc__p_wxColourPickerCtrl,
13436 _swigc__p_wxColourPickerEvent,
13437 _swigc__p_wxComboBox,
13438 _swigc__p_wxCommandEvent,
13439 _swigc__p_wxContextHelp,
13440 _swigc__p_wxContextHelpButton,
13441 _swigc__p_wxContextMenuEvent,
13442 _swigc__p_wxControl,
13443 _swigc__p_wxControlWithItems,
13444 _swigc__p_wxDateEvent,
13445 _swigc__p_wxDatePickerCtrl,
13446 _swigc__p_wxDialog,
13447 _swigc__p_wxDirDialog,
13448 _swigc__p_wxDirFilterListCtrl,
13449 _swigc__p_wxDirPickerCtrl,
13450 _swigc__p_wxDisplayChangedEvent,
13451 _swigc__p_wxDropFilesEvent,
13452 _swigc__p_wxDuplexMode,
13453 _swigc__p_wxDynamicSashSplitEvent,
13454 _swigc__p_wxDynamicSashUnifyEvent,
13455 _swigc__p_wxDynamicSashWindow,
13456 _swigc__p_wxEditableListBox,
13457 _swigc__p_wxEraseEvent,
13458 _swigc__p_wxEvent,
13459 _swigc__p_wxEvtHandler,
13460 _swigc__p_wxFSFile,
13461 _swigc__p_wxFileDialog,
13462 _swigc__p_wxFileDirPickerEvent,
13463 _swigc__p_wxFilePickerCtrl,
13464 _swigc__p_wxFileSystem,
13465 _swigc__p_wxFindDialogEvent,
13466 _swigc__p_wxFindReplaceData,
13467 _swigc__p_wxFindReplaceDialog,
13468 _swigc__p_wxFlexGridSizer,
13469 _swigc__p_wxFocusEvent,
13470 _swigc__p_wxFont,
13471 _swigc__p_wxFontData,
13472 _swigc__p_wxFontDialog,
13473 _swigc__p_wxFontPickerCtrl,
13474 _swigc__p_wxFontPickerEvent,
13475 _swigc__p_wxFrame,
13476 _swigc__p_wxGBSizerItem,
13477 _swigc__p_wxGIFHandler,
13478 _swigc__p_wxGauge,
13479 _swigc__p_wxGenericDirCtrl,
13480 _swigc__p_wxGenericDragImage,
13481 _swigc__p_wxGridBagSizer,
13482 _swigc__p_wxGridSizer,
13483 _swigc__p_wxHelpEvent,
13484 _swigc__p_wxHyperlinkCtrl,
13485 _swigc__p_wxHyperlinkEvent,
13486 _swigc__p_wxICOHandler,
13487 _swigc__p_wxIcon,
13488 _swigc__p_wxIconizeEvent,
13489 _swigc__p_wxIdleEvent,
13490 _swigc__p_wxImage,
13491 _swigc__p_wxImageHandler,
13492 _swigc__p_wxImageList,
13493 _swigc__p_wxIndividualLayoutConstraint,
13494 _swigc__p_wxInitDialogEvent,
13495 _swigc__p_wxJPEGHandler,
13496 _swigc__p_wxKeyEvent,
13497 _swigc__p_wxLEDNumberCtrl,
13498 _swigc__p_wxLayoutAlgorithm,
13499 _swigc__p_wxLayoutConstraints,
13500 _swigc__p_wxListBox,
13501 _swigc__p_wxListEvent,
13502 _swigc__p_wxListItem,
13503 _swigc__p_wxListView,
13504 _swigc__p_wxListbook,
13505 _swigc__p_wxListbookEvent,
13506 _swigc__p_wxMDIChildFrame,
13507 _swigc__p_wxMDIClientWindow,
13508 _swigc__p_wxMDIParentFrame,
13509 _swigc__p_wxMaximizeEvent,
13510 _swigc__p_wxMenu,
13511 _swigc__p_wxMenuBar,
13512 _swigc__p_wxMenuEvent,
13513 _swigc__p_wxMenuItem,
13514 _swigc__p_wxMessageDialog,
13515 _swigc__p_wxMiniFrame,
13516 _swigc__p_wxMouseCaptureChangedEvent,
13517 _swigc__p_wxMouseEvent,
13518 _swigc__p_wxMoveEvent,
13519 _swigc__p_wxMultiChoiceDialog,
13520 _swigc__p_wxNavigationKeyEvent,
13521 _swigc__p_wxNcPaintEvent,
13522 _swigc__p_wxNotebook,
13523 _swigc__p_wxNotebookEvent,
13524 _swigc__p_wxNotifyEvent,
13525 _swigc__p_wxObject,
13526 _swigc__p_wxPCXHandler,
13527 _swigc__p_wxPNGHandler,
13528 _swigc__p_wxPNMHandler,
13529 _swigc__p_wxPageSetupDialog,
13530 _swigc__p_wxPageSetupDialogData,
13531 _swigc__p_wxPaintEvent,
13532 _swigc__p_wxPaletteChangedEvent,
13533 _swigc__p_wxPanel,
13534 _swigc__p_wxPaperSize,
13535 _swigc__p_wxPasswordEntryDialog,
13536 _swigc__p_wxPickerBase,
13537 _swigc__p_wxPopupWindow,
13538 _swigc__p_wxPreviewCanvas,
13539 _swigc__p_wxPreviewControlBar,
13540 _swigc__p_wxPreviewFrame,
13541 _swigc__p_wxPrintData,
13542 _swigc__p_wxPrintDialog,
13543 _swigc__p_wxPrintDialogData,
13544 _swigc__p_wxPrintPreview,
13545 _swigc__p_wxPrinter,
13546 _swigc__p_wxProgressDialog,
13547 _swigc__p_wxPyApp,
13548 _swigc__p_wxPyCommandEvent,
13549 _swigc__p_wxPyControl,
13550 _swigc__p_wxPyEvent,
13551 _swigc__p_wxPyHtmlListBox,
13552 _swigc__p_wxPyImageHandler,
13553 _swigc__p_wxPyListCtrl,
13554 _swigc__p_wxPyPanel,
13555 _swigc__p_wxPyPopupTransientWindow,
13556 _swigc__p_wxPyPreviewControlBar,
13557 _swigc__p_wxPyPreviewFrame,
13558 _swigc__p_wxPyPrintPreview,
13559 _swigc__p_wxPyPrintout,
13560 _swigc__p_wxPyScrolledWindow,
13561 _swigc__p_wxPySizer,
13562 _swigc__p_wxPyTaskBarIcon,
13563 _swigc__p_wxPyTreeCompanionWindow,
13564 _swigc__p_wxPyTreeCtrl,
13565 _swigc__p_wxPyTreeItemData,
13566 _swigc__p_wxPyTreeListCtrl,
13567 _swigc__p_wxPyVListBox,
13568 _swigc__p_wxPyVScrolledWindow,
13569 _swigc__p_wxPyValidator,
13570 _swigc__p_wxPyWindow,
13571 _swigc__p_wxQueryLayoutInfoEvent,
13572 _swigc__p_wxQueryNewPaletteEvent,
13573 _swigc__p_wxRadioBox,
13574 _swigc__p_wxRadioButton,
13575 _swigc__p_wxRemotelyScrolledTreeCtrl,
13576 _swigc__p_wxSashEvent,
13577 _swigc__p_wxSashLayoutWindow,
13578 _swigc__p_wxSashWindow,
13579 _swigc__p_wxScrollBar,
13580 _swigc__p_wxScrollEvent,
13581 _swigc__p_wxScrollWinEvent,
13582 _swigc__p_wxScrolledWindow,
13583 _swigc__p_wxSetCursorEvent,
13584 _swigc__p_wxShowEvent,
13585 _swigc__p_wxSingleChoiceDialog,
13586 _swigc__p_wxSizeEvent,
13587 _swigc__p_wxSizer,
13588 _swigc__p_wxSizerItem,
13589 _swigc__p_wxSlider,
13590 _swigc__p_wxSpinButton,
13591 _swigc__p_wxSpinCtrl,
13592 _swigc__p_wxSpinEvent,
13593 _swigc__p_wxSplashScreen,
13594 _swigc__p_wxSplashScreenWindow,
13595 _swigc__p_wxSplitterEvent,
13596 _swigc__p_wxSplitterScrolledWindow,
13597 _swigc__p_wxSplitterWindow,
13598 _swigc__p_wxStaticBitmap,
13599 _swigc__p_wxStaticBox,
13600 _swigc__p_wxStaticBoxSizer,
13601 _swigc__p_wxStaticLine,
13602 _swigc__p_wxStaticPicture,
13603 _swigc__p_wxStaticText,
13604 _swigc__p_wxStatusBar,
13605 _swigc__p_wxStdDialogButtonSizer,
13606 _swigc__p_wxSysColourChangedEvent,
13607 _swigc__p_wxTIFFHandler,
13608 _swigc__p_wxTaskBarIconEvent,
13609 _swigc__p_wxTextCtrl,
13610 _swigc__p_wxTextEntryDialog,
13611 _swigc__p_wxTextUrlEvent,
13612 _swigc__p_wxThinSplitterWindow,
13613 _swigc__p_wxTipWindow,
13614 _swigc__p_wxToggleButton,
13615 _swigc__p_wxToolBar,
13616 _swigc__p_wxToolBarBase,
13617 _swigc__p_wxToolBarToolBase,
13618 _swigc__p_wxToolbook,
13619 _swigc__p_wxToolbookEvent,
13620 _swigc__p_wxTopLevelWindow,
13621 _swigc__p_wxTreeEvent,
13622 _swigc__p_wxTreeItemId,
13623 _swigc__p_wxTreeListColumnInfo,
13624 _swigc__p_wxTreebook,
13625 _swigc__p_wxTreebookEvent,
13626 _swigc__p_wxUpdateUIEvent,
13627 _swigc__p_wxValidator,
13628 _swigc__p_wxWindow,
13629 _swigc__p_wxWindowCreateEvent,
13630 _swigc__p_wxWindowDestroyEvent,
13631 _swigc__p_wxXPMHandler,
13632 };
13633
13634
13635 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13636
13637 static swig_const_info swig_const_table[] = {
13638 {0, 0, 0, 0.0, 0, 0}};
13639
13640 #ifdef __cplusplus
13641 }
13642 #endif
13643 /* -----------------------------------------------------------------------------
13644 * Type initialization:
13645 * This problem is tough by the requirement that no dynamic
13646 * memory is used. Also, since swig_type_info structures store pointers to
13647 * swig_cast_info structures and swig_cast_info structures store pointers back
13648 * to swig_type_info structures, we need some lookup code at initialization.
13649 * The idea is that swig generates all the structures that are needed.
13650 * The runtime then collects these partially filled structures.
13651 * The SWIG_InitializeModule function takes these initial arrays out of
13652 * swig_module, and does all the lookup, filling in the swig_module.types
13653 * array with the correct data and linking the correct swig_cast_info
13654 * structures together.
13655 *
13656 * The generated swig_type_info structures are assigned staticly to an initial
13657 * array. We just loop though that array, and handle each type individually.
13658 * First we lookup if this type has been already loaded, and if so, use the
13659 * loaded structure instead of the generated one. Then we have to fill in the
13660 * cast linked list. The cast data is initially stored in something like a
13661 * two-dimensional array. Each row corresponds to a type (there are the same
13662 * number of rows as there are in the swig_type_initial array). Each entry in
13663 * a column is one of the swig_cast_info structures for that type.
13664 * The cast_initial array is actually an array of arrays, because each row has
13665 * a variable number of columns. So to actually build the cast linked list,
13666 * we find the array of casts associated with the type, and loop through it
13667 * adding the casts to the list. The one last trick we need to do is making
13668 * sure the type pointer in the swig_cast_info struct is correct.
13669 *
13670 * First off, we lookup the cast->type name to see if it is already loaded.
13671 * There are three cases to handle:
13672 * 1) If the cast->type has already been loaded AND the type we are adding
13673 * casting info to has not been loaded (it is in this module), THEN we
13674 * replace the cast->type pointer with the type pointer that has already
13675 * been loaded.
13676 * 2) If BOTH types (the one we are adding casting info to, and the
13677 * cast->type) are loaded, THEN the cast info has already been loaded by
13678 * the previous module so we just ignore it.
13679 * 3) Finally, if cast->type has not already been loaded, then we add that
13680 * swig_cast_info to the linked list (because the cast->type) pointer will
13681 * be correct.
13682 * ----------------------------------------------------------------------------- */
13683
13684 #ifdef __cplusplus
13685 extern "C" {
13686 #if 0
13687 } /* c-mode */
13688 #endif
13689 #endif
13690
13691 #if 0
13692 #define SWIGRUNTIME_DEBUG
13693 #endif
13694
13695 SWIGRUNTIME void
13696 SWIG_InitializeModule(void *clientdata) {
13697 size_t i;
13698 swig_module_info *module_head;
13699 static int init_run = 0;
13700
13701 clientdata = clientdata;
13702
13703 if (init_run) return;
13704 init_run = 1;
13705
13706 /* Initialize the swig_module */
13707 swig_module.type_initial = swig_type_initial;
13708 swig_module.cast_initial = swig_cast_initial;
13709
13710 /* Try and load any already created modules */
13711 module_head = SWIG_GetModule(clientdata);
13712 if (module_head) {
13713 swig_module.next = module_head->next;
13714 module_head->next = &swig_module;
13715 } else {
13716 /* This is the first module loaded */
13717 swig_module.next = &swig_module;
13718 SWIG_SetModule(clientdata, &swig_module);
13719 }
13720
13721 /* Now work on filling in swig_module.types */
13722 #ifdef SWIGRUNTIME_DEBUG
13723 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13724 #endif
13725 for (i = 0; i < swig_module.size; ++i) {
13726 swig_type_info *type = 0;
13727 swig_type_info *ret;
13728 swig_cast_info *cast;
13729
13730 #ifdef SWIGRUNTIME_DEBUG
13731 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13732 #endif
13733
13734 /* if there is another module already loaded */
13735 if (swig_module.next != &swig_module) {
13736 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13737 }
13738 if (type) {
13739 /* Overwrite clientdata field */
13740 #ifdef SWIGRUNTIME_DEBUG
13741 printf("SWIG_InitializeModule: found type %s\n", type->name);
13742 #endif
13743 if (swig_module.type_initial[i]->clientdata) {
13744 type->clientdata = swig_module.type_initial[i]->clientdata;
13745 #ifdef SWIGRUNTIME_DEBUG
13746 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13747 #endif
13748 }
13749 } else {
13750 type = swig_module.type_initial[i];
13751 }
13752
13753 /* Insert casting types */
13754 cast = swig_module.cast_initial[i];
13755 while (cast->type) {
13756 /* Don't need to add information already in the list */
13757 ret = 0;
13758 #ifdef SWIGRUNTIME_DEBUG
13759 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13760 #endif
13761 if (swig_module.next != &swig_module) {
13762 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13763 #ifdef SWIGRUNTIME_DEBUG
13764 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13765 #endif
13766 }
13767 if (ret) {
13768 if (type == swig_module.type_initial[i]) {
13769 #ifdef SWIGRUNTIME_DEBUG
13770 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13771 #endif
13772 cast->type = ret;
13773 ret = 0;
13774 } else {
13775 /* Check for casting already in the list */
13776 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13777 #ifdef SWIGRUNTIME_DEBUG
13778 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13779 #endif
13780 if (!ocast) ret = 0;
13781 }
13782 }
13783
13784 if (!ret) {
13785 #ifdef SWIGRUNTIME_DEBUG
13786 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13787 #endif
13788 if (type->cast) {
13789 type->cast->prev = cast;
13790 cast->next = type->cast;
13791 }
13792 type->cast = cast;
13793 }
13794 cast++;
13795 }
13796 /* Set entry in modules->types array equal to the type */
13797 swig_module.types[i] = type;
13798 }
13799 swig_module.types[i] = 0;
13800
13801 #ifdef SWIGRUNTIME_DEBUG
13802 printf("**** SWIG_InitializeModule: Cast List ******\n");
13803 for (i = 0; i < swig_module.size; ++i) {
13804 int j = 0;
13805 swig_cast_info *cast = swig_module.cast_initial[i];
13806 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13807 while (cast->type) {
13808 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13809 cast++;
13810 ++j;
13811 }
13812 printf("---- Total casts: %d\n",j);
13813 }
13814 printf("**** SWIG_InitializeModule: Cast List ******\n");
13815 #endif
13816 }
13817
13818 /* This function will propagate the clientdata field of type to
13819 * any new swig_type_info structures that have been added into the list
13820 * of equivalent types. It is like calling
13821 * SWIG_TypeClientData(type, clientdata) a second time.
13822 */
13823 SWIGRUNTIME void
13824 SWIG_PropagateClientData(void) {
13825 size_t i;
13826 swig_cast_info *equiv;
13827 static int init_run = 0;
13828
13829 if (init_run) return;
13830 init_run = 1;
13831
13832 for (i = 0; i < swig_module.size; i++) {
13833 if (swig_module.types[i]->clientdata) {
13834 equiv = swig_module.types[i]->cast;
13835 while (equiv) {
13836 if (!equiv->converter) {
13837 if (equiv->type && !equiv->type->clientdata)
13838 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13839 }
13840 equiv = equiv->next;
13841 }
13842 }
13843 }
13844 }
13845
13846 #ifdef __cplusplus
13847 #if 0
13848 {
13849 /* c-mode */
13850 #endif
13851 }
13852 #endif
13853
13854
13855
13856 #ifdef __cplusplus
13857 extern "C" {
13858 #endif
13859
13860 /* Python-specific SWIG API */
13861 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13862 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13863 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13864
13865 /* -----------------------------------------------------------------------------
13866 * global variable support code.
13867 * ----------------------------------------------------------------------------- */
13868
13869 typedef struct swig_globalvar {
13870 char *name; /* Name of global variable */
13871 PyObject *(*get_attr)(void); /* Return the current value */
13872 int (*set_attr)(PyObject *); /* Set the value */
13873 struct swig_globalvar *next;
13874 } swig_globalvar;
13875
13876 typedef struct swig_varlinkobject {
13877 PyObject_HEAD
13878 swig_globalvar *vars;
13879 } swig_varlinkobject;
13880
13881 SWIGINTERN PyObject *
13882 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13883 return PyString_FromString("<Swig global variables>");
13884 }
13885
13886 SWIGINTERN PyObject *
13887 swig_varlink_str(swig_varlinkobject *v) {
13888 PyObject *str = PyString_FromString("(");
13889 swig_globalvar *var;
13890 for (var = v->vars; var; var=var->next) {
13891 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13892 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13893 }
13894 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13895 return str;
13896 }
13897
13898 SWIGINTERN int
13899 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13900 PyObject *str = swig_varlink_str(v);
13901 fprintf(fp,"Swig global variables ");
13902 fprintf(fp,"%s\n", PyString_AsString(str));
13903 Py_DECREF(str);
13904 return 0;
13905 }
13906
13907 SWIGINTERN void
13908 swig_varlink_dealloc(swig_varlinkobject *v) {
13909 swig_globalvar *var = v->vars;
13910 while (var) {
13911 swig_globalvar *n = var->next;
13912 free(var->name);
13913 free(var);
13914 var = n;
13915 }
13916 }
13917
13918 SWIGINTERN PyObject *
13919 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13920 PyObject *res = NULL;
13921 swig_globalvar *var = v->vars;
13922 while (var) {
13923 if (strcmp(var->name,n) == 0) {
13924 res = (*var->get_attr)();
13925 break;
13926 }
13927 var = var->next;
13928 }
13929 if (res == NULL && !PyErr_Occurred()) {
13930 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13931 }
13932 return res;
13933 }
13934
13935 SWIGINTERN int
13936 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13937 int res = 1;
13938 swig_globalvar *var = v->vars;
13939 while (var) {
13940 if (strcmp(var->name,n) == 0) {
13941 res = (*var->set_attr)(p);
13942 break;
13943 }
13944 var = var->next;
13945 }
13946 if (res == 1 && !PyErr_Occurred()) {
13947 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13948 }
13949 return res;
13950 }
13951
13952 SWIGINTERN PyTypeObject*
13953 swig_varlink_type(void) {
13954 static char varlink__doc__[] = "Swig var link object";
13955 static PyTypeObject varlink_type;
13956 static int type_init = 0;
13957 if (!type_init) {
13958 const PyTypeObject tmp
13959 = {
13960 PyObject_HEAD_INIT(NULL)
13961 0, /* Number of items in variable part (ob_size) */
13962 (char *)"swigvarlink", /* Type name (tp_name) */
13963 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13964 0, /* Itemsize (tp_itemsize) */
13965 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13966 (printfunc) swig_varlink_print, /* Print (tp_print) */
13967 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13968 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13969 0, /* tp_compare */
13970 (reprfunc) swig_varlink_repr, /* tp_repr */
13971 0, /* tp_as_number */
13972 0, /* tp_as_sequence */
13973 0, /* tp_as_mapping */
13974 0, /* tp_hash */
13975 0, /* tp_call */
13976 (reprfunc)swig_varlink_str, /* tp_str */
13977 0, /* tp_getattro */
13978 0, /* tp_setattro */
13979 0, /* tp_as_buffer */
13980 0, /* tp_flags */
13981 varlink__doc__, /* tp_doc */
13982 0, /* tp_traverse */
13983 0, /* tp_clear */
13984 0, /* tp_richcompare */
13985 0, /* tp_weaklistoffset */
13986 #if PY_VERSION_HEX >= 0x02020000
13987 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13988 #endif
13989 #if PY_VERSION_HEX >= 0x02030000
13990 0, /* tp_del */
13991 #endif
13992 #ifdef COUNT_ALLOCS
13993 0,0,0,0 /* tp_alloc -> tp_next */
13994 #endif
13995 };
13996 varlink_type = tmp;
13997 varlink_type.ob_type = &PyType_Type;
13998 type_init = 1;
13999 }
14000 return &varlink_type;
14001 }
14002
14003 /* Create a variable linking object for use later */
14004 SWIGINTERN PyObject *
14005 SWIG_Python_newvarlink(void) {
14006 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14007 if (result) {
14008 result->vars = 0;
14009 }
14010 return ((PyObject*) result);
14011 }
14012
14013 SWIGINTERN void
14014 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14015 swig_varlinkobject *v = (swig_varlinkobject *) p;
14016 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14017 if (gv) {
14018 size_t size = strlen(name)+1;
14019 gv->name = (char *)malloc(size);
14020 if (gv->name) {
14021 strncpy(gv->name,name,size);
14022 gv->get_attr = get_attr;
14023 gv->set_attr = set_attr;
14024 gv->next = v->vars;
14025 }
14026 }
14027 v->vars = gv;
14028 }
14029
14030 SWIGINTERN PyObject *
14031 SWIG_globals() {
14032 static PyObject *_SWIG_globals = 0;
14033 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14034 return _SWIG_globals;
14035 }
14036
14037 /* -----------------------------------------------------------------------------
14038 * constants/methods manipulation
14039 * ----------------------------------------------------------------------------- */
14040
14041 /* Install Constants */
14042 SWIGINTERN void
14043 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14044 PyObject *obj = 0;
14045 size_t i;
14046 for (i = 0; constants[i].type; ++i) {
14047 switch(constants[i].type) {
14048 case SWIG_PY_POINTER:
14049 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14050 break;
14051 case SWIG_PY_BINARY:
14052 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14053 break;
14054 default:
14055 obj = 0;
14056 break;
14057 }
14058 if (obj) {
14059 PyDict_SetItemString(d, constants[i].name, obj);
14060 Py_DECREF(obj);
14061 }
14062 }
14063 }
14064
14065 /* -----------------------------------------------------------------------------*/
14066 /* Fix SwigMethods to carry the callback ptrs when needed */
14067 /* -----------------------------------------------------------------------------*/
14068
14069 SWIGINTERN void
14070 SWIG_Python_FixMethods(PyMethodDef *methods,
14071 swig_const_info *const_table,
14072 swig_type_info **types,
14073 swig_type_info **types_initial) {
14074 size_t i;
14075 for (i = 0; methods[i].ml_name; ++i) {
14076 const char *c = methods[i].ml_doc;
14077 if (c && (c = strstr(c, "swig_ptr: "))) {
14078 int j;
14079 swig_const_info *ci = 0;
14080 const char *name = c + 10;
14081 for (j = 0; const_table[j].type; ++j) {
14082 if (strncmp(const_table[j].name, name,
14083 strlen(const_table[j].name)) == 0) {
14084 ci = &(const_table[j]);
14085 break;
14086 }
14087 }
14088 if (ci) {
14089 size_t shift = (ci->ptype) - types;
14090 swig_type_info *ty = types_initial[shift];
14091 size_t ldoc = (c - methods[i].ml_doc);
14092 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14093 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14094 if (ndoc) {
14095 char *buff = ndoc;
14096 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14097 if (ptr) {
14098 strncpy(buff, methods[i].ml_doc, ldoc);
14099 buff += ldoc;
14100 strncpy(buff, "swig_ptr: ", 10);
14101 buff += 10;
14102 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14103 methods[i].ml_doc = ndoc;
14104 }
14105 }
14106 }
14107 }
14108 }
14109 }
14110
14111 #ifdef __cplusplus
14112 }
14113 #endif
14114
14115 /* -----------------------------------------------------------------------------*
14116 * Partial Init method
14117 * -----------------------------------------------------------------------------*/
14118
14119 #ifdef __cplusplus
14120 extern "C"
14121 #endif
14122 SWIGEXPORT void SWIG_init(void) {
14123 PyObject *m, *d;
14124
14125 /* Fix SwigMethods to carry the callback ptrs when needed */
14126 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14127
14128 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14129 d = PyModule_GetDict(m);
14130
14131 SWIG_InitializeModule(0);
14132 SWIG_InstallConstants(d,swig_const_table);
14133
14134
14135 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14136 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14137 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14138 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14139 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14140 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14141 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14142 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14143 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14144 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14145 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14146 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14147 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14148 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14149 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14150 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14151 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14152 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
14153 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
14154 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
14155 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14156 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
14157 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14158 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14159 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14160 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14161 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14162 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14163 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14164 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14165 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14166
14167
14168 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14169 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14170
14171 }
14172