]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
Use correct DLL import/export specifier for multi-lib builds
[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_wxCloseEvent swig_types[26]
2489 #define SWIGTYPE_p_wxColour swig_types[27]
2490 #define SWIGTYPE_p_wxColourData swig_types[28]
2491 #define SWIGTYPE_p_wxColourDialog swig_types[29]
2492 #define SWIGTYPE_p_wxComboBox swig_types[30]
2493 #define SWIGTYPE_p_wxCommandEvent swig_types[31]
2494 #define SWIGTYPE_p_wxContextHelp swig_types[32]
2495 #define SWIGTYPE_p_wxContextHelpButton swig_types[33]
2496 #define SWIGTYPE_p_wxContextMenuEvent swig_types[34]
2497 #define SWIGTYPE_p_wxControl swig_types[35]
2498 #define SWIGTYPE_p_wxControlWithItems swig_types[36]
2499 #define SWIGTYPE_p_wxDateEvent swig_types[37]
2500 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[38]
2501 #define SWIGTYPE_p_wxDialog swig_types[39]
2502 #define SWIGTYPE_p_wxDirDialog swig_types[40]
2503 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[41]
2504 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[42]
2505 #define SWIGTYPE_p_wxDropFilesEvent swig_types[43]
2506 #define SWIGTYPE_p_wxDuplexMode swig_types[44]
2507 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[45]
2508 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[46]
2509 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[47]
2510 #define SWIGTYPE_p_wxEditableListBox swig_types[48]
2511 #define SWIGTYPE_p_wxEraseEvent swig_types[49]
2512 #define SWIGTYPE_p_wxEvent swig_types[50]
2513 #define SWIGTYPE_p_wxEvtHandler swig_types[51]
2514 #define SWIGTYPE_p_wxFSFile swig_types[52]
2515 #define SWIGTYPE_p_wxFileDialog swig_types[53]
2516 #define SWIGTYPE_p_wxFileSystem swig_types[54]
2517 #define SWIGTYPE_p_wxFindDialogEvent swig_types[55]
2518 #define SWIGTYPE_p_wxFindReplaceData swig_types[56]
2519 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[57]
2520 #define SWIGTYPE_p_wxFlexGridSizer swig_types[58]
2521 #define SWIGTYPE_p_wxFocusEvent swig_types[59]
2522 #define SWIGTYPE_p_wxFont swig_types[60]
2523 #define SWIGTYPE_p_wxFontData swig_types[61]
2524 #define SWIGTYPE_p_wxFontDialog swig_types[62]
2525 #define SWIGTYPE_p_wxFrame swig_types[63]
2526 #define SWIGTYPE_p_wxGBSizerItem swig_types[64]
2527 #define SWIGTYPE_p_wxGIFHandler swig_types[65]
2528 #define SWIGTYPE_p_wxGauge swig_types[66]
2529 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[67]
2530 #define SWIGTYPE_p_wxGenericDragImage swig_types[68]
2531 #define SWIGTYPE_p_wxGridBagSizer swig_types[69]
2532 #define SWIGTYPE_p_wxGridSizer swig_types[70]
2533 #define SWIGTYPE_p_wxHelpEvent swig_types[71]
2534 #define SWIGTYPE_p_wxICOHandler swig_types[72]
2535 #define SWIGTYPE_p_wxIcon swig_types[73]
2536 #define SWIGTYPE_p_wxIconizeEvent swig_types[74]
2537 #define SWIGTYPE_p_wxIdleEvent swig_types[75]
2538 #define SWIGTYPE_p_wxImage swig_types[76]
2539 #define SWIGTYPE_p_wxImageHandler swig_types[77]
2540 #define SWIGTYPE_p_wxImageList swig_types[78]
2541 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[79]
2542 #define SWIGTYPE_p_wxInitDialogEvent swig_types[80]
2543 #define SWIGTYPE_p_wxJPEGHandler swig_types[81]
2544 #define SWIGTYPE_p_wxKeyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[83]
2546 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[84]
2547 #define SWIGTYPE_p_wxLayoutConstraints swig_types[85]
2548 #define SWIGTYPE_p_wxListBox swig_types[86]
2549 #define SWIGTYPE_p_wxListEvent swig_types[87]
2550 #define SWIGTYPE_p_wxListItem swig_types[88]
2551 #define SWIGTYPE_p_wxListView swig_types[89]
2552 #define SWIGTYPE_p_wxListbook swig_types[90]
2553 #define SWIGTYPE_p_wxListbookEvent swig_types[91]
2554 #define SWIGTYPE_p_wxMDIChildFrame swig_types[92]
2555 #define SWIGTYPE_p_wxMDIClientWindow swig_types[93]
2556 #define SWIGTYPE_p_wxMDIParentFrame swig_types[94]
2557 #define SWIGTYPE_p_wxMaximizeEvent swig_types[95]
2558 #define SWIGTYPE_p_wxMenu swig_types[96]
2559 #define SWIGTYPE_p_wxMenuBar swig_types[97]
2560 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
2561 #define SWIGTYPE_p_wxMenuItem swig_types[99]
2562 #define SWIGTYPE_p_wxMessageDialog swig_types[100]
2563 #define SWIGTYPE_p_wxMiniFrame swig_types[101]
2564 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[102]
2565 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
2566 #define SWIGTYPE_p_wxMoveEvent swig_types[104]
2567 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[105]
2568 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[106]
2569 #define SWIGTYPE_p_wxNcPaintEvent swig_types[107]
2570 #define SWIGTYPE_p_wxNotebook swig_types[108]
2571 #define SWIGTYPE_p_wxNotebookEvent swig_types[109]
2572 #define SWIGTYPE_p_wxNotifyEvent swig_types[110]
2573 #define SWIGTYPE_p_wxObject swig_types[111]
2574 #define SWIGTYPE_p_wxPCXHandler swig_types[112]
2575 #define SWIGTYPE_p_wxPNGHandler swig_types[113]
2576 #define SWIGTYPE_p_wxPNMHandler swig_types[114]
2577 #define SWIGTYPE_p_wxPageSetupDialog swig_types[115]
2578 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[116]
2579 #define SWIGTYPE_p_wxPaintEvent swig_types[117]
2580 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[118]
2581 #define SWIGTYPE_p_wxPanel swig_types[119]
2582 #define SWIGTYPE_p_wxPaperSize swig_types[120]
2583 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[121]
2584 #define SWIGTYPE_p_wxPopupWindow swig_types[122]
2585 #define SWIGTYPE_p_wxPreviewCanvas swig_types[123]
2586 #define SWIGTYPE_p_wxPreviewControlBar swig_types[124]
2587 #define SWIGTYPE_p_wxPreviewFrame swig_types[125]
2588 #define SWIGTYPE_p_wxPrintData swig_types[126]
2589 #define SWIGTYPE_p_wxPrintDialog swig_types[127]
2590 #define SWIGTYPE_p_wxPrintDialogData swig_types[128]
2591 #define SWIGTYPE_p_wxPrintPreview swig_types[129]
2592 #define SWIGTYPE_p_wxPrinter swig_types[130]
2593 #define SWIGTYPE_p_wxProgressDialog swig_types[131]
2594 #define SWIGTYPE_p_wxPyApp swig_types[132]
2595 #define SWIGTYPE_p_wxPyCommandEvent swig_types[133]
2596 #define SWIGTYPE_p_wxPyControl swig_types[134]
2597 #define SWIGTYPE_p_wxPyEvent swig_types[135]
2598 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[136]
2599 #define SWIGTYPE_p_wxPyImageHandler swig_types[137]
2600 #define SWIGTYPE_p_wxPyListCtrl swig_types[138]
2601 #define SWIGTYPE_p_wxPyPanel swig_types[139]
2602 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[140]
2603 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[141]
2604 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[142]
2605 #define SWIGTYPE_p_wxPyPrintPreview swig_types[143]
2606 #define SWIGTYPE_p_wxPyPrintout swig_types[144]
2607 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[145]
2608 #define SWIGTYPE_p_wxPySizer swig_types[146]
2609 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[148]
2611 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[149]
2612 #define SWIGTYPE_p_wxPyTreeItemData swig_types[150]
2613 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[151]
2614 #define SWIGTYPE_p_wxPyVListBox swig_types[152]
2615 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[153]
2616 #define SWIGTYPE_p_wxPyValidator swig_types[154]
2617 #define SWIGTYPE_p_wxPyWindow swig_types[155]
2618 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[156]
2619 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[157]
2620 #define SWIGTYPE_p_wxRadioBox swig_types[158]
2621 #define SWIGTYPE_p_wxRadioButton swig_types[159]
2622 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[160]
2623 #define SWIGTYPE_p_wxSashEvent swig_types[161]
2624 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[162]
2625 #define SWIGTYPE_p_wxSashWindow swig_types[163]
2626 #define SWIGTYPE_p_wxScrollBar swig_types[164]
2627 #define SWIGTYPE_p_wxScrollEvent swig_types[165]
2628 #define SWIGTYPE_p_wxScrollWinEvent swig_types[166]
2629 #define SWIGTYPE_p_wxScrolledWindow swig_types[167]
2630 #define SWIGTYPE_p_wxSetCursorEvent swig_types[168]
2631 #define SWIGTYPE_p_wxShowEvent swig_types[169]
2632 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[170]
2633 #define SWIGTYPE_p_wxSizeEvent swig_types[171]
2634 #define SWIGTYPE_p_wxSizer swig_types[172]
2635 #define SWIGTYPE_p_wxSizerItem swig_types[173]
2636 #define SWIGTYPE_p_wxSlider swig_types[174]
2637 #define SWIGTYPE_p_wxSpinButton swig_types[175]
2638 #define SWIGTYPE_p_wxSpinCtrl swig_types[176]
2639 #define SWIGTYPE_p_wxSpinEvent swig_types[177]
2640 #define SWIGTYPE_p_wxSplashScreen swig_types[178]
2641 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[179]
2642 #define SWIGTYPE_p_wxSplitterEvent swig_types[180]
2643 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[181]
2644 #define SWIGTYPE_p_wxSplitterWindow swig_types[182]
2645 #define SWIGTYPE_p_wxStaticBitmap swig_types[183]
2646 #define SWIGTYPE_p_wxStaticBox swig_types[184]
2647 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[185]
2648 #define SWIGTYPE_p_wxStaticLine swig_types[186]
2649 #define SWIGTYPE_p_wxStaticPicture swig_types[187]
2650 #define SWIGTYPE_p_wxStaticText swig_types[188]
2651 #define SWIGTYPE_p_wxStatusBar swig_types[189]
2652 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[190]
2653 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[191]
2654 #define SWIGTYPE_p_wxTIFFHandler swig_types[192]
2655 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[193]
2656 #define SWIGTYPE_p_wxTextCtrl swig_types[194]
2657 #define SWIGTYPE_p_wxTextEntryDialog swig_types[195]
2658 #define SWIGTYPE_p_wxTextUrlEvent swig_types[196]
2659 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[197]
2660 #define SWIGTYPE_p_wxTipWindow swig_types[198]
2661 #define SWIGTYPE_p_wxToggleButton swig_types[199]
2662 #define SWIGTYPE_p_wxToolBar swig_types[200]
2663 #define SWIGTYPE_p_wxToolBarBase swig_types[201]
2664 #define SWIGTYPE_p_wxToolBarToolBase swig_types[202]
2665 #define SWIGTYPE_p_wxToolbook swig_types[203]
2666 #define SWIGTYPE_p_wxToolbookEvent swig_types[204]
2667 #define SWIGTYPE_p_wxTopLevelWindow swig_types[205]
2668 #define SWIGTYPE_p_wxTreeEvent swig_types[206]
2669 #define SWIGTYPE_p_wxTreeItemId swig_types[207]
2670 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[208]
2671 #define SWIGTYPE_p_wxTreebook swig_types[209]
2672 #define SWIGTYPE_p_wxTreebookEvent swig_types[210]
2673 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[211]
2674 #define SWIGTYPE_p_wxValidator swig_types[212]
2675 #define SWIGTYPE_p_wxWindow swig_types[213]
2676 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[214]
2677 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[215]
2678 #define SWIGTYPE_p_wxXPMHandler swig_types[216]
2679 static swig_type_info *swig_types[218];
2680 static swig_module_info swig_module = {swig_types, 217, 0, 0, 0, 0};
2681 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2682 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2683
2684 /* -------- TYPES TABLE (END) -------- */
2685
2686 #if (PY_VERSION_HEX <= 0x02000000)
2687 # if !defined(SWIG_PYTHON_CLASSIC)
2688 # error "This python version requires to use swig with the '-classic' option"
2689 # endif
2690 #endif
2691 #if (PY_VERSION_HEX <= 0x02020000)
2692 # error "This python version requires to use swig with the '-nomodern' option"
2693 #endif
2694 #if (PY_VERSION_HEX <= 0x02020000)
2695 # error "This python version requires to use swig with the '-nomodernargs' option"
2696 #endif
2697 #ifndef METH_O
2698 # error "This python version requires to use swig with the '-nofastunpack' option"
2699 #endif
2700
2701 /*-----------------------------------------------
2702 @(target):= _gizmos.so
2703 ------------------------------------------------*/
2704 #define SWIG_init init_gizmos
2705
2706 #define SWIG_name "_gizmos"
2707
2708 #define SWIGVERSION 0x010329
2709
2710
2711 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2712 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2713
2714
2715 #include <stdexcept>
2716
2717
2718 namespace swig {
2719 class PyObject_ptr {
2720 protected:
2721 PyObject *_obj;
2722
2723 public:
2724 PyObject_ptr() :_obj(0)
2725 {
2726 }
2727
2728 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2729 {
2730 Py_XINCREF(_obj);
2731 }
2732
2733 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2734 {
2735 if (initial_ref) Py_XINCREF(_obj);
2736 }
2737
2738 PyObject_ptr & operator=(const PyObject_ptr& item)
2739 {
2740 Py_XINCREF(item._obj);
2741 Py_XDECREF(_obj);
2742 _obj = item._obj;
2743 return *this;
2744 }
2745
2746 ~PyObject_ptr()
2747 {
2748 Py_XDECREF(_obj);
2749 }
2750
2751 operator PyObject *() const
2752 {
2753 return _obj;
2754 }
2755
2756 PyObject *operator->() const
2757 {
2758 return _obj;
2759 }
2760 };
2761 }
2762
2763
2764 namespace swig {
2765 struct PyObject_var : PyObject_ptr {
2766 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2767
2768 PyObject_var & operator = (PyObject* obj)
2769 {
2770 Py_XDECREF(_obj);
2771 _obj = obj;
2772 return *this;
2773 }
2774 };
2775 }
2776
2777
2778 #include "wx/wxPython/wxPython.h"
2779 #include "wx/wxPython/pyclasses.h"
2780
2781 #include <wx/gizmos/dynamicsash.h>
2782 #include <wx/gizmos/editlbox.h>
2783 #include <wx/gizmos/splittree.h>
2784 #include <wx/gizmos/ledctrl.h>
2785 #include <wx/gizmos/statpict.h>
2786
2787 #include <wx/listctrl.h>
2788 #include <wx/treectrl.h>
2789 #include <wx/imaglist.h>
2790
2791 #include "wx/treelistctrl.h"
2792 #include "wx/wxPython/pytree.h"
2793
2794
2795 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2796 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2797 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2798 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2799 static const wxString wxPyEmptyString(wxEmptyString);
2800
2801 #define SWIG_From_long PyInt_FromLong
2802
2803
2804 SWIGINTERNINLINE PyObject *
2805 SWIG_From_int (int value)
2806 {
2807 return SWIG_From_long (value);
2808 }
2809
2810
2811 #include <limits.h>
2812 #ifndef LLONG_MIN
2813 # define LLONG_MIN LONG_LONG_MIN
2814 #endif
2815 #ifndef LLONG_MAX
2816 # define LLONG_MAX LONG_LONG_MAX
2817 #endif
2818 #ifndef ULLONG_MAX
2819 # define ULLONG_MAX ULONG_LONG_MAX
2820 #endif
2821
2822
2823 SWIGINTERN int
2824 SWIG_AsVal_long (PyObject* obj, long* val)
2825 {
2826 if (PyNumber_Check(obj)) {
2827 if (val) *val = PyInt_AsLong(obj);
2828 return SWIG_OK;
2829 }
2830 return SWIG_TypeError;
2831 }
2832
2833
2834 SWIGINTERN int
2835 SWIG_AsVal_int (PyObject * obj, int *val)
2836 {
2837 long v;
2838 int res = SWIG_AsVal_long (obj, &v);
2839 if (SWIG_IsOK(res)) {
2840 if ((v < INT_MIN || v > INT_MAX)) {
2841 return SWIG_OverflowError;
2842 } else {
2843 if (val) *val = static_cast< int >(v);
2844 }
2845 }
2846 return res;
2847 }
2848
2849 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2850 wxArrayString strings;
2851 self->GetStrings(strings);
2852 return wxArrayString2PyList_helper(strings);
2853 }
2854
2855 typedef wxTreeCtrl wxPyTreeCtrl;
2856
2857
2858 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2859 {
2860 public:
2861 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2862 const wxPoint& pos = wxDefaultPosition,
2863 const wxSize& size = wxDefaultSize,
2864 long style = 0)
2865 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2866
2867
2868 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2869 bool found;
2870 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2871 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2872 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2873 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2874 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2875 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2876 Py_DECREF(dcobj);
2877 Py_DECREF(idobj);
2878 Py_DECREF(recobj);
2879 }
2880 wxPyEndBlockThreads(blocked);
2881 if (! found)
2882 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2883 }
2884
2885 PYPRIVATE;
2886 };
2887
2888
2889 SWIGINTERN int
2890 SWIG_AsVal_bool (PyObject *obj, bool *val)
2891 {
2892 if (obj == Py_True) {
2893 if (val) *val = true;
2894 return SWIG_OK;
2895 } else if (obj == Py_False) {
2896 if (val) *val = false;
2897 return SWIG_OK;
2898 } else {
2899 long v = 0;
2900 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2901 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2902 return res;
2903 }
2904 }
2905
2906
2907 SWIGINTERN int
2908 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2909 {
2910 long v = 0;
2911 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2912 return SWIG_TypeError;
2913 }
2914 else if (val)
2915 *val = (unsigned long)v;
2916 return SWIG_OK;
2917 }
2918
2919
2920 SWIGINTERNINLINE int
2921 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2922 {
2923 unsigned long v;
2924 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2925 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2926 return res;
2927 }
2928
2929
2930 SWIGINTERNINLINE PyObject*
2931 SWIG_From_unsigned_SS_long (unsigned long value)
2932 {
2933 return (value > LONG_MAX) ?
2934 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2935 }
2936
2937
2938 SWIGINTERNINLINE PyObject *
2939 SWIG_From_size_t (size_t value)
2940 {
2941 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2942 }
2943
2944 // C++ version of Python aware control
2945 class wxPyTreeListCtrl : public wxTreeListCtrl {
2946 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2947 public:
2948 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2949 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2950 const wxPoint& pos,
2951 const wxSize& size,
2952 long style,
2953 const wxValidator &validator,
2954 const wxString& name) :
2955 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2956
2957 int OnCompareItems(const wxTreeItemId& item1,
2958 const wxTreeItemId& item2) {
2959 int rval = 0;
2960 bool found;
2961 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2962 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2963 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2964 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2965 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2966 Py_DECREF(o1);
2967 Py_DECREF(o2);
2968 }
2969 wxPyEndBlockThreads(blocked);
2970 if (! found)
2971 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2972 return rval;
2973 }
2974 PYPRIVATE;
2975 };
2976
2977 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2978
2979
2980
2981 SWIGINTERNINLINE PyObject *
2982 SWIG_From_unsigned_SS_int (unsigned int value)
2983 {
2984 return SWIG_From_unsigned_SS_long (value);
2985 }
2986
2987
2988 SWIGINTERN int
2989 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
2990 {
2991 unsigned long v;
2992 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
2993 if (SWIG_IsOK(res)) {
2994 if ((v > UINT_MAX)) {
2995 return SWIG_OverflowError;
2996 } else {
2997 if (val) *val = static_cast< unsigned int >(v);
2998 }
2999 }
3000 return res;
3001 }
3002
3003 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3004 if (column < 0) column = self->GetMainColumn();
3005 return self->GetItemText(item, column);
3006 }
3007 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3008 if (column < 0) column = self->GetMainColumn();
3009 return self->GetItemImage(item, column, which);
3010 }
3011 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3012 if (column < 0) column = self->GetMainColumn();
3013 self->SetItemText(item, column, text);
3014 }
3015 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3016 if (column < 0) column = self->GetMainColumn();
3017 self->SetItemImage(item, column, image, which);
3018 }
3019 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3020 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3021 if (data == NULL) {
3022 data = new wxPyTreeItemData();
3023 data->SetId(item); // set the id
3024 self->SetItemData(item, data);
3025 }
3026 return data;
3027 }
3028 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3029 data->SetId(item); // set the id
3030 self->SetItemData(item, data);
3031 }
3032 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3033 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3034 if (data == NULL) {
3035 data = new wxPyTreeItemData();
3036 data->SetId(item); // set the id
3037 self->SetItemData(item, data);
3038 }
3039 return data->GetData();
3040 }
3041 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3042 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3043 if (data == NULL) {
3044 data = new wxPyTreeItemData(obj);
3045 data->SetId(item); // set the id
3046 self->SetItemData(item, data);
3047 } else
3048 data->SetData(obj);
3049 }
3050 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3051 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3052 PyObject* rval = PyList_New(0);
3053 wxArrayTreeItemIds array;
3054 size_t num, x;
3055 num = self->GetSelections(array);
3056 for (x=0; x < num; x++) {
3057 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3058 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3059 PyList_Append(rval, item);
3060 Py_DECREF(item);
3061 }
3062 wxPyEndBlockThreads(blocked);
3063 return rval;
3064 }
3065 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3066 void* cookie = 0;
3067 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3068 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3069 PyObject* tup = PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3071 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3072 wxPyEndBlockThreads(blocked);
3073 return tup;
3074 }
3075 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3076 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3077 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3078 PyObject* tup = PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3080 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3081 wxPyEndBlockThreads(blocked);
3082 return tup;
3083 }
3084 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3085 wxRect rect;
3086 if (self->GetBoundingRect(item, rect, textOnly)) {
3087 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3088 wxRect* r = new wxRect(rect);
3089 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3090 wxPyEndBlockThreads(blocked);
3091 return val;
3092 }
3093 else {
3094 RETURN_NONE();
3095 }
3096 }
3097
3098 #include <float.h>
3099
3100
3101 SWIGINTERN int
3102 SWIG_AsVal_double (PyObject *obj, double* val)
3103 {
3104 if (PyNumber_Check(obj)) {
3105 if (val) *val = PyFloat_AsDouble(obj);
3106 return SWIG_OK;
3107 }
3108 return SWIG_TypeError;
3109 }
3110
3111
3112 SWIGINTERN int
3113 SWIG_AsVal_float (PyObject * obj, float *val)
3114 {
3115 double v;
3116 int res = SWIG_AsVal_double (obj, &v);
3117 if (SWIG_IsOK(res)) {
3118 if ((v < -FLT_MAX || v > FLT_MAX)) {
3119 return SWIG_OverflowError;
3120 } else {
3121 if (val) *val = static_cast< float >(v);
3122 }
3123 }
3124 return res;
3125 }
3126
3127
3128 #define SWIG_From_double PyFloat_FromDouble
3129
3130
3131 SWIGINTERNINLINE PyObject *
3132 SWIG_From_float (float value)
3133 {
3134 return SWIG_From_double (value);
3135 }
3136
3137 #ifdef __cplusplus
3138 extern "C" {
3139 #endif
3140 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3141 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3142 return 1;
3143 }
3144
3145
3146 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3147 PyObject *pyobj = 0;
3148
3149 {
3150 #if wxUSE_UNICODE
3151 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3152 #else
3153 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3154 #endif
3155 }
3156 return pyobj;
3157 }
3158
3159
3160 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3161 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3162 return 1;
3163 }
3164
3165
3166 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3167 PyObject *pyobj = 0;
3168
3169 {
3170 #if wxUSE_UNICODE
3171 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3172 #else
3173 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3174 #endif
3175 }
3176 return pyobj;
3177 }
3178
3179
3180 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3181 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3182 return 1;
3183 }
3184
3185
3186 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3187 PyObject *pyobj = 0;
3188
3189 {
3190 #if wxUSE_UNICODE
3191 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3192 #else
3193 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
3194 #endif
3195 }
3196 return pyobj;
3197 }
3198
3199
3200 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3201 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3202 return 1;
3203 }
3204
3205
3206 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3207 PyObject *pyobj = 0;
3208
3209 {
3210 #if wxUSE_UNICODE
3211 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3212 #else
3213 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3214 #endif
3215 }
3216 return pyobj;
3217 }
3218
3219
3220 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3221 PyObject *resultobj = 0;
3222 wxObject *arg1 = (wxObject *) 0 ;
3223 wxDynamicSashSplitEvent *result = 0 ;
3224 void *argp1 = 0 ;
3225 int res1 = 0 ;
3226 PyObject * obj0 = 0 ;
3227 char * kwnames[] = {
3228 (char *) "target", NULL
3229 };
3230
3231 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3232 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3233 if (!SWIG_IsOK(res1)) {
3234 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3235 }
3236 arg1 = reinterpret_cast< wxObject * >(argp1);
3237 {
3238 PyThreadState* __tstate = wxPyBeginAllowThreads();
3239 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3240 wxPyEndAllowThreads(__tstate);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3244 return resultobj;
3245 fail:
3246 return NULL;
3247 }
3248
3249
3250 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3251 PyObject *obj;
3252 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3253 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3254 return SWIG_Py_Void();
3255 }
3256
3257 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3258 return SWIG_Python_InitShadowInstance(args);
3259 }
3260
3261 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3262 PyObject *resultobj = 0;
3263 wxObject *arg1 = (wxObject *) 0 ;
3264 wxDynamicSashUnifyEvent *result = 0 ;
3265 void *argp1 = 0 ;
3266 int res1 = 0 ;
3267 PyObject * obj0 = 0 ;
3268 char * kwnames[] = {
3269 (char *) "target", NULL
3270 };
3271
3272 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3273 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3274 if (!SWIG_IsOK(res1)) {
3275 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3276 }
3277 arg1 = reinterpret_cast< wxObject * >(argp1);
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3292 PyObject *obj;
3293 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3294 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3295 return SWIG_Py_Void();
3296 }
3297
3298 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3299 return SWIG_Python_InitShadowInstance(args);
3300 }
3301
3302 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj = 0;
3304 wxWindow *arg1 = (wxWindow *) 0 ;
3305 int arg2 = (int) -1 ;
3306 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3307 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3308 wxSize const &arg4_defvalue = wxDefaultSize ;
3309 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3310 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3311 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3312 wxString *arg6 = (wxString *) &arg6_defvalue ;
3313 wxDynamicSashWindow *result = 0 ;
3314 void *argp1 = 0 ;
3315 int res1 = 0 ;
3316 int val2 ;
3317 int ecode2 = 0 ;
3318 wxPoint temp3 ;
3319 wxSize temp4 ;
3320 long val5 ;
3321 int ecode5 = 0 ;
3322 bool temp6 = false ;
3323 PyObject * obj0 = 0 ;
3324 PyObject * obj1 = 0 ;
3325 PyObject * obj2 = 0 ;
3326 PyObject * obj3 = 0 ;
3327 PyObject * obj4 = 0 ;
3328 PyObject * obj5 = 0 ;
3329 char * kwnames[] = {
3330 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3331 };
3332
3333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3335 if (!SWIG_IsOK(res1)) {
3336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3337 }
3338 arg1 = reinterpret_cast< wxWindow * >(argp1);
3339 if (obj1) {
3340 ecode2 = SWIG_AsVal_int(obj1, &val2);
3341 if (!SWIG_IsOK(ecode2)) {
3342 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3343 }
3344 arg2 = static_cast< int >(val2);
3345 }
3346 if (obj2) {
3347 {
3348 arg3 = &temp3;
3349 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3350 }
3351 }
3352 if (obj3) {
3353 {
3354 arg4 = &temp4;
3355 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3356 }
3357 }
3358 if (obj4) {
3359 ecode5 = SWIG_AsVal_long(obj4, &val5);
3360 if (!SWIG_IsOK(ecode5)) {
3361 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3362 }
3363 arg5 = static_cast< long >(val5);
3364 }
3365 if (obj5) {
3366 {
3367 arg6 = wxString_in_helper(obj5);
3368 if (arg6 == NULL) SWIG_fail;
3369 temp6 = true;
3370 }
3371 }
3372 {
3373 if (!wxPyCheckForApp()) SWIG_fail;
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3376 wxPyEndAllowThreads(__tstate);
3377 if (PyErr_Occurred()) SWIG_fail;
3378 }
3379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3380 {
3381 if (temp6)
3382 delete arg6;
3383 }
3384 return resultobj;
3385 fail:
3386 {
3387 if (temp6)
3388 delete arg6;
3389 }
3390 return NULL;
3391 }
3392
3393
3394 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3395 PyObject *resultobj = 0;
3396 wxDynamicSashWindow *result = 0 ;
3397
3398 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3399 {
3400 if (!wxPyCheckForApp()) SWIG_fail;
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3403 wxPyEndAllowThreads(__tstate);
3404 if (PyErr_Occurred()) SWIG_fail;
3405 }
3406 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3407 return resultobj;
3408 fail:
3409 return NULL;
3410 }
3411
3412
3413 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3414 PyObject *resultobj = 0;
3415 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3416 wxWindow *arg2 = (wxWindow *) 0 ;
3417 int arg3 = (int) -1 ;
3418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3420 wxSize const &arg5_defvalue = wxDefaultSize ;
3421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3422 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3423 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3424 wxString *arg7 = (wxString *) &arg7_defvalue ;
3425 bool result;
3426 void *argp1 = 0 ;
3427 int res1 = 0 ;
3428 void *argp2 = 0 ;
3429 int res2 = 0 ;
3430 int val3 ;
3431 int ecode3 = 0 ;
3432 wxPoint temp4 ;
3433 wxSize temp5 ;
3434 long val6 ;
3435 int ecode6 = 0 ;
3436 bool temp7 = false ;
3437 PyObject * obj0 = 0 ;
3438 PyObject * obj1 = 0 ;
3439 PyObject * obj2 = 0 ;
3440 PyObject * obj3 = 0 ;
3441 PyObject * obj4 = 0 ;
3442 PyObject * obj5 = 0 ;
3443 PyObject * obj6 = 0 ;
3444 char * kwnames[] = {
3445 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3446 };
3447
3448 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3449 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3450 if (!SWIG_IsOK(res1)) {
3451 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3452 }
3453 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3454 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3455 if (!SWIG_IsOK(res2)) {
3456 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3457 }
3458 arg2 = reinterpret_cast< wxWindow * >(argp2);
3459 if (obj2) {
3460 ecode3 = SWIG_AsVal_int(obj2, &val3);
3461 if (!SWIG_IsOK(ecode3)) {
3462 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3463 }
3464 arg3 = static_cast< int >(val3);
3465 }
3466 if (obj3) {
3467 {
3468 arg4 = &temp4;
3469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3470 }
3471 }
3472 if (obj4) {
3473 {
3474 arg5 = &temp5;
3475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3476 }
3477 }
3478 if (obj5) {
3479 ecode6 = SWIG_AsVal_long(obj5, &val6);
3480 if (!SWIG_IsOK(ecode6)) {
3481 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3482 }
3483 arg6 = static_cast< long >(val6);
3484 }
3485 if (obj6) {
3486 {
3487 arg7 = wxString_in_helper(obj6);
3488 if (arg7 == NULL) SWIG_fail;
3489 temp7 = true;
3490 }
3491 }
3492 {
3493 PyThreadState* __tstate = wxPyBeginAllowThreads();
3494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 {
3499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3500 }
3501 {
3502 if (temp7)
3503 delete arg7;
3504 }
3505 return resultobj;
3506 fail:
3507 {
3508 if (temp7)
3509 delete arg7;
3510 }
3511 return NULL;
3512 }
3513
3514
3515 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3516 PyObject *resultobj = 0;
3517 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3518 wxWindow *arg2 = (wxWindow *) 0 ;
3519 wxScrollBar *result = 0 ;
3520 void *argp1 = 0 ;
3521 int res1 = 0 ;
3522 void *argp2 = 0 ;
3523 int res2 = 0 ;
3524 PyObject * obj0 = 0 ;
3525 PyObject * obj1 = 0 ;
3526 char * kwnames[] = {
3527 (char *) "self",(char *) "child", NULL
3528 };
3529
3530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3532 if (!SWIG_IsOK(res1)) {
3533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3534 }
3535 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3536 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3537 if (!SWIG_IsOK(res2)) {
3538 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3539 }
3540 arg2 = reinterpret_cast< wxWindow * >(argp2);
3541 {
3542 PyThreadState* __tstate = wxPyBeginAllowThreads();
3543 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3548 return resultobj;
3549 fail:
3550 return NULL;
3551 }
3552
3553
3554 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3555 PyObject *resultobj = 0;
3556 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3557 wxWindow *arg2 = (wxWindow *) 0 ;
3558 wxScrollBar *result = 0 ;
3559 void *argp1 = 0 ;
3560 int res1 = 0 ;
3561 void *argp2 = 0 ;
3562 int res2 = 0 ;
3563 PyObject * obj0 = 0 ;
3564 PyObject * obj1 = 0 ;
3565 char * kwnames[] = {
3566 (char *) "self",(char *) "child", NULL
3567 };
3568
3569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3571 if (!SWIG_IsOK(res1)) {
3572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3573 }
3574 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3575 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3576 if (!SWIG_IsOK(res2)) {
3577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3578 }
3579 arg2 = reinterpret_cast< wxWindow * >(argp2);
3580 {
3581 PyThreadState* __tstate = wxPyBeginAllowThreads();
3582 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3583 wxPyEndAllowThreads(__tstate);
3584 if (PyErr_Occurred()) SWIG_fail;
3585 }
3586 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3587 return resultobj;
3588 fail:
3589 return NULL;
3590 }
3591
3592
3593 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3594 PyObject *obj;
3595 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3596 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3597 return SWIG_Py_Void();
3598 }
3599
3600 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3601 return SWIG_Python_InitShadowInstance(args);
3602 }
3603
3604 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3605 PyObject *resultobj = 0;
3606 wxWindow *arg1 = (wxWindow *) 0 ;
3607 int arg2 = (int) -1 ;
3608 wxString const &arg3_defvalue = wxPyEmptyString ;
3609 wxString *arg3 = (wxString *) &arg3_defvalue ;
3610 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3611 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3612 wxSize const &arg5_defvalue = wxDefaultSize ;
3613 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3614 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3615 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3616 wxString *arg7 = (wxString *) &arg7_defvalue ;
3617 wxEditableListBox *result = 0 ;
3618 void *argp1 = 0 ;
3619 int res1 = 0 ;
3620 int val2 ;
3621 int ecode2 = 0 ;
3622 bool temp3 = false ;
3623 wxPoint temp4 ;
3624 wxSize temp5 ;
3625 long val6 ;
3626 int ecode6 = 0 ;
3627 bool temp7 = false ;
3628 PyObject * obj0 = 0 ;
3629 PyObject * obj1 = 0 ;
3630 PyObject * obj2 = 0 ;
3631 PyObject * obj3 = 0 ;
3632 PyObject * obj4 = 0 ;
3633 PyObject * obj5 = 0 ;
3634 PyObject * obj6 = 0 ;
3635 char * kwnames[] = {
3636 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3637 };
3638
3639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3641 if (!SWIG_IsOK(res1)) {
3642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3643 }
3644 arg1 = reinterpret_cast< wxWindow * >(argp1);
3645 if (obj1) {
3646 ecode2 = SWIG_AsVal_int(obj1, &val2);
3647 if (!SWIG_IsOK(ecode2)) {
3648 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3649 }
3650 arg2 = static_cast< int >(val2);
3651 }
3652 if (obj2) {
3653 {
3654 arg3 = wxString_in_helper(obj2);
3655 if (arg3 == NULL) SWIG_fail;
3656 temp3 = true;
3657 }
3658 }
3659 if (obj3) {
3660 {
3661 arg4 = &temp4;
3662 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3663 }
3664 }
3665 if (obj4) {
3666 {
3667 arg5 = &temp5;
3668 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3669 }
3670 }
3671 if (obj5) {
3672 ecode6 = SWIG_AsVal_long(obj5, &val6);
3673 if (!SWIG_IsOK(ecode6)) {
3674 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3675 }
3676 arg6 = static_cast< long >(val6);
3677 }
3678 if (obj6) {
3679 {
3680 arg7 = wxString_in_helper(obj6);
3681 if (arg7 == NULL) SWIG_fail;
3682 temp7 = true;
3683 }
3684 }
3685 {
3686 if (!wxPyCheckForApp()) SWIG_fail;
3687 PyThreadState* __tstate = wxPyBeginAllowThreads();
3688 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3689 wxPyEndAllowThreads(__tstate);
3690 if (PyErr_Occurred()) SWIG_fail;
3691 }
3692 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3693 {
3694 if (temp3)
3695 delete arg3;
3696 }
3697 {
3698 if (temp7)
3699 delete arg7;
3700 }
3701 return resultobj;
3702 fail:
3703 {
3704 if (temp3)
3705 delete arg3;
3706 }
3707 {
3708 if (temp7)
3709 delete arg7;
3710 }
3711 return NULL;
3712 }
3713
3714
3715 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3716 PyObject *resultobj = 0;
3717 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3718 wxArrayString *arg2 = 0 ;
3719 void *argp1 = 0 ;
3720 int res1 = 0 ;
3721 bool temp2 = false ;
3722 PyObject * obj0 = 0 ;
3723 PyObject * obj1 = 0 ;
3724 char * kwnames[] = {
3725 (char *) "self",(char *) "strings", NULL
3726 };
3727
3728 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3729 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3730 if (!SWIG_IsOK(res1)) {
3731 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3732 }
3733 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3734 {
3735 if (! PySequence_Check(obj1)) {
3736 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3737 SWIG_fail;
3738 }
3739 arg2 = new wxArrayString;
3740 temp2 = true;
3741 int i, len=PySequence_Length(obj1);
3742 for (i=0; i<len; i++) {
3743 PyObject* item = PySequence_GetItem(obj1, i);
3744 wxString* s = wxString_in_helper(item);
3745 if (PyErr_Occurred()) SWIG_fail;
3746 arg2->Add(*s);
3747 delete s;
3748 Py_DECREF(item);
3749 }
3750 }
3751 {
3752 PyThreadState* __tstate = wxPyBeginAllowThreads();
3753 (arg1)->SetStrings((wxArrayString const &)*arg2);
3754 wxPyEndAllowThreads(__tstate);
3755 if (PyErr_Occurred()) SWIG_fail;
3756 }
3757 resultobj = SWIG_Py_Void();
3758 {
3759 if (temp2) delete arg2;
3760 }
3761 return resultobj;
3762 fail:
3763 {
3764 if (temp2) delete arg2;
3765 }
3766 return NULL;
3767 }
3768
3769
3770 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3771 PyObject *resultobj = 0;
3772 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3773 PyObject *result = 0 ;
3774 void *argp1 = 0 ;
3775 int res1 = 0 ;
3776 PyObject *swig_obj[1] ;
3777
3778 if (!args) SWIG_fail;
3779 swig_obj[0] = args;
3780 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3781 if (!SWIG_IsOK(res1)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3783 }
3784 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3785 {
3786 PyThreadState* __tstate = wxPyBeginAllowThreads();
3787 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3788 wxPyEndAllowThreads(__tstate);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 }
3791 resultobj = result;
3792 return resultobj;
3793 fail:
3794 return NULL;
3795 }
3796
3797
3798 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3799 PyObject *resultobj = 0;
3800 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3801 wxPyListCtrl *result = 0 ;
3802 void *argp1 = 0 ;
3803 int res1 = 0 ;
3804 PyObject *swig_obj[1] ;
3805
3806 if (!args) SWIG_fail;
3807 swig_obj[0] = args;
3808 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3809 if (!SWIG_IsOK(res1)) {
3810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3811 }
3812 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3813 {
3814 PyThreadState* __tstate = wxPyBeginAllowThreads();
3815 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3820 return resultobj;
3821 fail:
3822 return NULL;
3823 }
3824
3825
3826 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3827 PyObject *resultobj = 0;
3828 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3829 wxBitmapButton *result = 0 ;
3830 void *argp1 = 0 ;
3831 int res1 = 0 ;
3832 PyObject *swig_obj[1] ;
3833
3834 if (!args) SWIG_fail;
3835 swig_obj[0] = args;
3836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3837 if (!SWIG_IsOK(res1)) {
3838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3839 }
3840 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3841 {
3842 PyThreadState* __tstate = wxPyBeginAllowThreads();
3843 result = (wxBitmapButton *)(arg1)->GetDelButton();
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
3847 {
3848 resultobj = wxPyMake_wxObject(result, 0);
3849 }
3850 return resultobj;
3851 fail:
3852 return NULL;
3853 }
3854
3855
3856 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3857 PyObject *resultobj = 0;
3858 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3859 wxBitmapButton *result = 0 ;
3860 void *argp1 = 0 ;
3861 int res1 = 0 ;
3862 PyObject *swig_obj[1] ;
3863
3864 if (!args) SWIG_fail;
3865 swig_obj[0] = args;
3866 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3867 if (!SWIG_IsOK(res1)) {
3868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3869 }
3870 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 result = (wxBitmapButton *)(arg1)->GetNewButton();
3874 wxPyEndAllowThreads(__tstate);
3875 if (PyErr_Occurred()) SWIG_fail;
3876 }
3877 {
3878 resultobj = wxPyMake_wxObject(result, 0);
3879 }
3880 return resultobj;
3881 fail:
3882 return NULL;
3883 }
3884
3885
3886 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3887 PyObject *resultobj = 0;
3888 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3889 wxBitmapButton *result = 0 ;
3890 void *argp1 = 0 ;
3891 int res1 = 0 ;
3892 PyObject *swig_obj[1] ;
3893
3894 if (!args) SWIG_fail;
3895 swig_obj[0] = args;
3896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3897 if (!SWIG_IsOK(res1)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3899 }
3900 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3901 {
3902 PyThreadState* __tstate = wxPyBeginAllowThreads();
3903 result = (wxBitmapButton *)(arg1)->GetUpButton();
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 {
3908 resultobj = wxPyMake_wxObject(result, 0);
3909 }
3910 return resultobj;
3911 fail:
3912 return NULL;
3913 }
3914
3915
3916 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3917 PyObject *resultobj = 0;
3918 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3919 wxBitmapButton *result = 0 ;
3920 void *argp1 = 0 ;
3921 int res1 = 0 ;
3922 PyObject *swig_obj[1] ;
3923
3924 if (!args) SWIG_fail;
3925 swig_obj[0] = args;
3926 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3927 if (!SWIG_IsOK(res1)) {
3928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3929 }
3930 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (wxBitmapButton *)(arg1)->GetDownButton();
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 {
3938 resultobj = wxPyMake_wxObject(result, 0);
3939 }
3940 return resultobj;
3941 fail:
3942 return NULL;
3943 }
3944
3945
3946 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3947 PyObject *resultobj = 0;
3948 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3949 wxBitmapButton *result = 0 ;
3950 void *argp1 = 0 ;
3951 int res1 = 0 ;
3952 PyObject *swig_obj[1] ;
3953
3954 if (!args) SWIG_fail;
3955 swig_obj[0] = args;
3956 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3957 if (!SWIG_IsOK(res1)) {
3958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3959 }
3960 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3961 {
3962 PyThreadState* __tstate = wxPyBeginAllowThreads();
3963 result = (wxBitmapButton *)(arg1)->GetEditButton();
3964 wxPyEndAllowThreads(__tstate);
3965 if (PyErr_Occurred()) SWIG_fail;
3966 }
3967 {
3968 resultobj = wxPyMake_wxObject(result, 0);
3969 }
3970 return resultobj;
3971 fail:
3972 return NULL;
3973 }
3974
3975
3976 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3977 PyObject *obj;
3978 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3979 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3980 return SWIG_Py_Void();
3981 }
3982
3983 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3984 return SWIG_Python_InitShadowInstance(args);
3985 }
3986
3987 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3988 PyObject *resultobj = 0;
3989 wxWindow *arg1 = (wxWindow *) 0 ;
3990 int arg2 ;
3991 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3992 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3993 wxSize const &arg4_defvalue = wxDefaultSize ;
3994 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3995 long arg5 = (long) wxTR_HAS_BUTTONS ;
3996 wxRemotelyScrolledTreeCtrl *result = 0 ;
3997 void *argp1 = 0 ;
3998 int res1 = 0 ;
3999 int val2 ;
4000 int ecode2 = 0 ;
4001 wxPoint temp3 ;
4002 wxSize temp4 ;
4003 long val5 ;
4004 int ecode5 = 0 ;
4005 PyObject * obj0 = 0 ;
4006 PyObject * obj1 = 0 ;
4007 PyObject * obj2 = 0 ;
4008 PyObject * obj3 = 0 ;
4009 PyObject * obj4 = 0 ;
4010 char * kwnames[] = {
4011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4012 };
4013
4014 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4015 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4016 if (!SWIG_IsOK(res1)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4018 }
4019 arg1 = reinterpret_cast< wxWindow * >(argp1);
4020 ecode2 = SWIG_AsVal_int(obj1, &val2);
4021 if (!SWIG_IsOK(ecode2)) {
4022 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4023 }
4024 arg2 = static_cast< int >(val2);
4025 if (obj2) {
4026 {
4027 arg3 = &temp3;
4028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4029 }
4030 }
4031 if (obj3) {
4032 {
4033 arg4 = &temp4;
4034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4035 }
4036 }
4037 if (obj4) {
4038 ecode5 = SWIG_AsVal_long(obj4, &val5);
4039 if (!SWIG_IsOK(ecode5)) {
4040 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4041 }
4042 arg5 = static_cast< long >(val5);
4043 }
4044 {
4045 if (!wxPyCheckForApp()) SWIG_fail;
4046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4047 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4048 wxPyEndAllowThreads(__tstate);
4049 if (PyErr_Occurred()) SWIG_fail;
4050 }
4051 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4052 return resultobj;
4053 fail:
4054 return NULL;
4055 }
4056
4057
4058 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4059 PyObject *resultobj = 0;
4060 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4061 void *argp1 = 0 ;
4062 int res1 = 0 ;
4063 PyObject *swig_obj[1] ;
4064
4065 if (!args) SWIG_fail;
4066 swig_obj[0] = args;
4067 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4068 if (!SWIG_IsOK(res1)) {
4069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4070 }
4071 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4072 {
4073 PyThreadState* __tstate = wxPyBeginAllowThreads();
4074 (arg1)->HideVScrollbar();
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 resultobj = SWIG_Py_Void();
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4086 PyObject *resultobj = 0;
4087 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4088 void *argp1 = 0 ;
4089 int res1 = 0 ;
4090 PyObject *swig_obj[1] ;
4091
4092 if (!args) SWIG_fail;
4093 swig_obj[0] = args;
4094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4095 if (!SWIG_IsOK(res1)) {
4096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4097 }
4098 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4099 {
4100 PyThreadState* __tstate = wxPyBeginAllowThreads();
4101 (arg1)->AdjustRemoteScrollbars();
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 resultobj = SWIG_Py_Void();
4106 return resultobj;
4107 fail:
4108 return NULL;
4109 }
4110
4111
4112 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4113 PyObject *resultobj = 0;
4114 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4115 wxScrolledWindow *result = 0 ;
4116 void *argp1 = 0 ;
4117 int res1 = 0 ;
4118 PyObject *swig_obj[1] ;
4119
4120 if (!args) SWIG_fail;
4121 swig_obj[0] = args;
4122 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4123 if (!SWIG_IsOK(res1)) {
4124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4125 }
4126 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4127 {
4128 PyThreadState* __tstate = wxPyBeginAllowThreads();
4129 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4130 wxPyEndAllowThreads(__tstate);
4131 if (PyErr_Occurred()) SWIG_fail;
4132 }
4133 {
4134 resultobj = wxPyMake_wxObject(result, 0);
4135 }
4136 return resultobj;
4137 fail:
4138 return NULL;
4139 }
4140
4141
4142 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj = 0;
4144 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4145 int arg2 ;
4146 int arg3 ;
4147 void *argp1 = 0 ;
4148 int res1 = 0 ;
4149 int val2 ;
4150 int ecode2 = 0 ;
4151 int val3 ;
4152 int ecode3 = 0 ;
4153 PyObject * obj0 = 0 ;
4154 PyObject * obj1 = 0 ;
4155 PyObject * obj2 = 0 ;
4156 char * kwnames[] = {
4157 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4158 };
4159
4160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4162 if (!SWIG_IsOK(res1)) {
4163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4164 }
4165 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4166 ecode2 = SWIG_AsVal_int(obj1, &val2);
4167 if (!SWIG_IsOK(ecode2)) {
4168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4169 }
4170 arg2 = static_cast< int >(val2);
4171 ecode3 = SWIG_AsVal_int(obj2, &val3);
4172 if (!SWIG_IsOK(ecode3)) {
4173 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4174 }
4175 arg3 = static_cast< int >(val3);
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 (arg1)->ScrollToLine(arg2,arg3);
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 resultobj = SWIG_Py_Void();
4183 return resultobj;
4184 fail:
4185 return NULL;
4186 }
4187
4188
4189 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj = 0;
4191 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4192 wxWindow *arg2 = (wxWindow *) 0 ;
4193 void *argp1 = 0 ;
4194 int res1 = 0 ;
4195 void *argp2 = 0 ;
4196 int res2 = 0 ;
4197 PyObject * obj0 = 0 ;
4198 PyObject * obj1 = 0 ;
4199 char * kwnames[] = {
4200 (char *) "self",(char *) "companion", NULL
4201 };
4202
4203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4205 if (!SWIG_IsOK(res1)) {
4206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4207 }
4208 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4209 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4210 if (!SWIG_IsOK(res2)) {
4211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4212 }
4213 arg2 = reinterpret_cast< wxWindow * >(argp2);
4214 {
4215 PyThreadState* __tstate = wxPyBeginAllowThreads();
4216 (arg1)->SetCompanionWindow(arg2);
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 resultobj = SWIG_Py_Void();
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4228 PyObject *resultobj = 0;
4229 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4230 wxWindow *result = 0 ;
4231 void *argp1 = 0 ;
4232 int res1 = 0 ;
4233 PyObject *swig_obj[1] ;
4234
4235 if (!args) SWIG_fail;
4236 swig_obj[0] = args;
4237 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4238 if (!SWIG_IsOK(res1)) {
4239 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4240 }
4241 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4242 {
4243 PyThreadState* __tstate = wxPyBeginAllowThreads();
4244 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 {
4249 resultobj = wxPyMake_wxObject(result, 0);
4250 }
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4258 PyObject *obj;
4259 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4260 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4261 return SWIG_Py_Void();
4262 }
4263
4264 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4265 return SWIG_Python_InitShadowInstance(args);
4266 }
4267
4268 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj = 0;
4270 wxWindow *arg1 = (wxWindow *) 0 ;
4271 int arg2 = (int) -1 ;
4272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4274 wxSize const &arg4_defvalue = wxDefaultSize ;
4275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4276 long arg5 = (long) 0 ;
4277 wxPyTreeCompanionWindow *result = 0 ;
4278 void *argp1 = 0 ;
4279 int res1 = 0 ;
4280 int val2 ;
4281 int ecode2 = 0 ;
4282 wxPoint temp3 ;
4283 wxSize temp4 ;
4284 long val5 ;
4285 int ecode5 = 0 ;
4286 PyObject * obj0 = 0 ;
4287 PyObject * obj1 = 0 ;
4288 PyObject * obj2 = 0 ;
4289 PyObject * obj3 = 0 ;
4290 PyObject * obj4 = 0 ;
4291 char * kwnames[] = {
4292 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4293 };
4294
4295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4297 if (!SWIG_IsOK(res1)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4299 }
4300 arg1 = reinterpret_cast< wxWindow * >(argp1);
4301 if (obj1) {
4302 ecode2 = SWIG_AsVal_int(obj1, &val2);
4303 if (!SWIG_IsOK(ecode2)) {
4304 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4305 }
4306 arg2 = static_cast< int >(val2);
4307 }
4308 if (obj2) {
4309 {
4310 arg3 = &temp3;
4311 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4312 }
4313 }
4314 if (obj3) {
4315 {
4316 arg4 = &temp4;
4317 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4318 }
4319 }
4320 if (obj4) {
4321 ecode5 = SWIG_AsVal_long(obj4, &val5);
4322 if (!SWIG_IsOK(ecode5)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4324 }
4325 arg5 = static_cast< long >(val5);
4326 }
4327 {
4328 if (!wxPyCheckForApp()) SWIG_fail;
4329 PyThreadState* __tstate = wxPyBeginAllowThreads();
4330 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4335 return resultobj;
4336 fail:
4337 return NULL;
4338 }
4339
4340
4341 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4342 PyObject *resultobj = 0;
4343 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4344 PyObject *arg2 = (PyObject *) 0 ;
4345 PyObject *arg3 = (PyObject *) 0 ;
4346 void *argp1 = 0 ;
4347 int res1 = 0 ;
4348 PyObject * obj0 = 0 ;
4349 PyObject * obj1 = 0 ;
4350 PyObject * obj2 = 0 ;
4351 char * kwnames[] = {
4352 (char *) "self",(char *) "self",(char *) "_class", NULL
4353 };
4354
4355 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4356 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4357 if (!SWIG_IsOK(res1)) {
4358 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4359 }
4360 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4361 arg2 = obj1;
4362 arg3 = obj2;
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 (arg1)->_setCallbackInfo(arg2,arg3);
4366 wxPyEndAllowThreads(__tstate);
4367 if (PyErr_Occurred()) SWIG_fail;
4368 }
4369 resultobj = SWIG_Py_Void();
4370 return resultobj;
4371 fail:
4372 return NULL;
4373 }
4374
4375
4376 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4377 PyObject *resultobj = 0;
4378 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4379 wxRemotelyScrolledTreeCtrl *result = 0 ;
4380 void *argp1 = 0 ;
4381 int res1 = 0 ;
4382 PyObject *swig_obj[1] ;
4383
4384 if (!args) SWIG_fail;
4385 swig_obj[0] = args;
4386 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4387 if (!SWIG_IsOK(res1)) {
4388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4389 }
4390 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4391 {
4392 PyThreadState* __tstate = wxPyBeginAllowThreads();
4393 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4394 wxPyEndAllowThreads(__tstate);
4395 if (PyErr_Occurred()) SWIG_fail;
4396 }
4397 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4398 return resultobj;
4399 fail:
4400 return NULL;
4401 }
4402
4403
4404 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4405 PyObject *resultobj = 0;
4406 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4407 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4408 void *argp1 = 0 ;
4409 int res1 = 0 ;
4410 void *argp2 = 0 ;
4411 int res2 = 0 ;
4412 PyObject * obj0 = 0 ;
4413 PyObject * obj1 = 0 ;
4414 char * kwnames[] = {
4415 (char *) "self",(char *) "treeCtrl", NULL
4416 };
4417
4418 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4419 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4420 if (!SWIG_IsOK(res1)) {
4421 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4422 }
4423 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4424 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4425 if (!SWIG_IsOK(res2)) {
4426 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4427 }
4428 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4429 {
4430 PyThreadState* __tstate = wxPyBeginAllowThreads();
4431 (arg1)->SetTreeCtrl(arg2);
4432 wxPyEndAllowThreads(__tstate);
4433 if (PyErr_Occurred()) SWIG_fail;
4434 }
4435 resultobj = SWIG_Py_Void();
4436 return resultobj;
4437 fail:
4438 return NULL;
4439 }
4440
4441
4442 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4443 PyObject *obj;
4444 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4446 return SWIG_Py_Void();
4447 }
4448
4449 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4450 return SWIG_Python_InitShadowInstance(args);
4451 }
4452
4453 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj = 0;
4455 wxWindow *arg1 = (wxWindow *) 0 ;
4456 int arg2 = (int) -1 ;
4457 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4458 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4459 wxSize const &arg4_defvalue = wxDefaultSize ;
4460 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4461 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4462 wxThinSplitterWindow *result = 0 ;
4463 void *argp1 = 0 ;
4464 int res1 = 0 ;
4465 int val2 ;
4466 int ecode2 = 0 ;
4467 wxPoint temp3 ;
4468 wxSize temp4 ;
4469 long val5 ;
4470 int ecode5 = 0 ;
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 PyObject * obj2 = 0 ;
4474 PyObject * obj3 = 0 ;
4475 PyObject * obj4 = 0 ;
4476 char * kwnames[] = {
4477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4478 };
4479
4480 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4481 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4482 if (!SWIG_IsOK(res1)) {
4483 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4484 }
4485 arg1 = reinterpret_cast< wxWindow * >(argp1);
4486 if (obj1) {
4487 ecode2 = SWIG_AsVal_int(obj1, &val2);
4488 if (!SWIG_IsOK(ecode2)) {
4489 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4490 }
4491 arg2 = static_cast< int >(val2);
4492 }
4493 if (obj2) {
4494 {
4495 arg3 = &temp3;
4496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4497 }
4498 }
4499 if (obj3) {
4500 {
4501 arg4 = &temp4;
4502 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4503 }
4504 }
4505 if (obj4) {
4506 ecode5 = SWIG_AsVal_long(obj4, &val5);
4507 if (!SWIG_IsOK(ecode5)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4509 }
4510 arg5 = static_cast< long >(val5);
4511 }
4512 {
4513 if (!wxPyCheckForApp()) SWIG_fail;
4514 PyThreadState* __tstate = wxPyBeginAllowThreads();
4515 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4516 wxPyEndAllowThreads(__tstate);
4517 if (PyErr_Occurred()) SWIG_fail;
4518 }
4519 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4520 return resultobj;
4521 fail:
4522 return NULL;
4523 }
4524
4525
4526 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4527 PyObject *obj;
4528 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4529 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4530 return SWIG_Py_Void();
4531 }
4532
4533 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4534 return SWIG_Python_InitShadowInstance(args);
4535 }
4536
4537 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4538 PyObject *resultobj = 0;
4539 wxWindow *arg1 = (wxWindow *) 0 ;
4540 int arg2 = (int) -1 ;
4541 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4542 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4543 wxSize const &arg4_defvalue = wxDefaultSize ;
4544 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4545 long arg5 = (long) 0 ;
4546 wxSplitterScrolledWindow *result = 0 ;
4547 void *argp1 = 0 ;
4548 int res1 = 0 ;
4549 int val2 ;
4550 int ecode2 = 0 ;
4551 wxPoint temp3 ;
4552 wxSize temp4 ;
4553 long val5 ;
4554 int ecode5 = 0 ;
4555 PyObject * obj0 = 0 ;
4556 PyObject * obj1 = 0 ;
4557 PyObject * obj2 = 0 ;
4558 PyObject * obj3 = 0 ;
4559 PyObject * obj4 = 0 ;
4560 char * kwnames[] = {
4561 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4562 };
4563
4564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4566 if (!SWIG_IsOK(res1)) {
4567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4568 }
4569 arg1 = reinterpret_cast< wxWindow * >(argp1);
4570 if (obj1) {
4571 ecode2 = SWIG_AsVal_int(obj1, &val2);
4572 if (!SWIG_IsOK(ecode2)) {
4573 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4574 }
4575 arg2 = static_cast< int >(val2);
4576 }
4577 if (obj2) {
4578 {
4579 arg3 = &temp3;
4580 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4581 }
4582 }
4583 if (obj3) {
4584 {
4585 arg4 = &temp4;
4586 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4587 }
4588 }
4589 if (obj4) {
4590 ecode5 = SWIG_AsVal_long(obj4, &val5);
4591 if (!SWIG_IsOK(ecode5)) {
4592 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4593 }
4594 arg5 = static_cast< long >(val5);
4595 }
4596 {
4597 if (!wxPyCheckForApp()) SWIG_fail;
4598 PyThreadState* __tstate = wxPyBeginAllowThreads();
4599 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4600 wxPyEndAllowThreads(__tstate);
4601 if (PyErr_Occurred()) SWIG_fail;
4602 }
4603 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4604 return resultobj;
4605 fail:
4606 return NULL;
4607 }
4608
4609
4610 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4611 PyObject *obj;
4612 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4613 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4614 return SWIG_Py_Void();
4615 }
4616
4617 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4618 return SWIG_Python_InitShadowInstance(args);
4619 }
4620
4621 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4622 PyObject *resultobj = 0;
4623 wxWindow *arg1 = (wxWindow *) 0 ;
4624 int arg2 = (int) -1 ;
4625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4627 wxSize const &arg4_defvalue = wxDefaultSize ;
4628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4629 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4630 wxLEDNumberCtrl *result = 0 ;
4631 void *argp1 = 0 ;
4632 int res1 = 0 ;
4633 int val2 ;
4634 int ecode2 = 0 ;
4635 wxPoint temp3 ;
4636 wxSize temp4 ;
4637 long val5 ;
4638 int ecode5 = 0 ;
4639 PyObject * obj0 = 0 ;
4640 PyObject * obj1 = 0 ;
4641 PyObject * obj2 = 0 ;
4642 PyObject * obj3 = 0 ;
4643 PyObject * obj4 = 0 ;
4644 char * kwnames[] = {
4645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4646 };
4647
4648 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4649 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4650 if (!SWIG_IsOK(res1)) {
4651 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4652 }
4653 arg1 = reinterpret_cast< wxWindow * >(argp1);
4654 if (obj1) {
4655 ecode2 = SWIG_AsVal_int(obj1, &val2);
4656 if (!SWIG_IsOK(ecode2)) {
4657 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4658 }
4659 arg2 = static_cast< int >(val2);
4660 }
4661 if (obj2) {
4662 {
4663 arg3 = &temp3;
4664 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4665 }
4666 }
4667 if (obj3) {
4668 {
4669 arg4 = &temp4;
4670 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4671 }
4672 }
4673 if (obj4) {
4674 ecode5 = SWIG_AsVal_long(obj4, &val5);
4675 if (!SWIG_IsOK(ecode5)) {
4676 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4677 }
4678 arg5 = static_cast< long >(val5);
4679 }
4680 {
4681 if (!wxPyCheckForApp()) SWIG_fail;
4682 PyThreadState* __tstate = wxPyBeginAllowThreads();
4683 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4688 return resultobj;
4689 fail:
4690 return NULL;
4691 }
4692
4693
4694 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4695 PyObject *resultobj = 0;
4696 wxLEDNumberCtrl *result = 0 ;
4697
4698 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4699 {
4700 if (!wxPyCheckForApp()) SWIG_fail;
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4703 wxPyEndAllowThreads(__tstate);
4704 if (PyErr_Occurred()) SWIG_fail;
4705 }
4706 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4707 return resultobj;
4708 fail:
4709 return NULL;
4710 }
4711
4712
4713 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj = 0;
4715 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4716 wxWindow *arg2 = (wxWindow *) 0 ;
4717 int arg3 = (int) -1 ;
4718 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4719 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4720 wxSize const &arg5_defvalue = wxDefaultSize ;
4721 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4722 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4723 bool result;
4724 void *argp1 = 0 ;
4725 int res1 = 0 ;
4726 void *argp2 = 0 ;
4727 int res2 = 0 ;
4728 int val3 ;
4729 int ecode3 = 0 ;
4730 wxPoint temp4 ;
4731 wxSize temp5 ;
4732 long val6 ;
4733 int ecode6 = 0 ;
4734 PyObject * obj0 = 0 ;
4735 PyObject * obj1 = 0 ;
4736 PyObject * obj2 = 0 ;
4737 PyObject * obj3 = 0 ;
4738 PyObject * obj4 = 0 ;
4739 PyObject * obj5 = 0 ;
4740 char * kwnames[] = {
4741 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4742 };
4743
4744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4746 if (!SWIG_IsOK(res1)) {
4747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4748 }
4749 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4750 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4751 if (!SWIG_IsOK(res2)) {
4752 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4753 }
4754 arg2 = reinterpret_cast< wxWindow * >(argp2);
4755 if (obj2) {
4756 ecode3 = SWIG_AsVal_int(obj2, &val3);
4757 if (!SWIG_IsOK(ecode3)) {
4758 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4759 }
4760 arg3 = static_cast< int >(val3);
4761 }
4762 if (obj3) {
4763 {
4764 arg4 = &temp4;
4765 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4766 }
4767 }
4768 if (obj4) {
4769 {
4770 arg5 = &temp5;
4771 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4772 }
4773 }
4774 if (obj5) {
4775 ecode6 = SWIG_AsVal_long(obj5, &val6);
4776 if (!SWIG_IsOK(ecode6)) {
4777 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4778 }
4779 arg6 = static_cast< long >(val6);
4780 }
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4784 wxPyEndAllowThreads(__tstate);
4785 if (PyErr_Occurred()) SWIG_fail;
4786 }
4787 {
4788 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4789 }
4790 return resultobj;
4791 fail:
4792 return NULL;
4793 }
4794
4795
4796 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4797 PyObject *resultobj = 0;
4798 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4799 wxLEDValueAlign result;
4800 void *argp1 = 0 ;
4801 int res1 = 0 ;
4802 PyObject *swig_obj[1] ;
4803
4804 if (!args) SWIG_fail;
4805 swig_obj[0] = args;
4806 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4807 if (!SWIG_IsOK(res1)) {
4808 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4809 }
4810 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4811 {
4812 PyThreadState* __tstate = wxPyBeginAllowThreads();
4813 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 resultobj = SWIG_From_int(static_cast< int >(result));
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4825 PyObject *resultobj = 0;
4826 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4827 bool result;
4828 void *argp1 = 0 ;
4829 int res1 = 0 ;
4830 PyObject *swig_obj[1] ;
4831
4832 if (!args) SWIG_fail;
4833 swig_obj[0] = args;
4834 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4835 if (!SWIG_IsOK(res1)) {
4836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4837 }
4838 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4845 {
4846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4847 }
4848 return resultobj;
4849 fail:
4850 return NULL;
4851 }
4852
4853
4854 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4855 PyObject *resultobj = 0;
4856 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4857 wxString *result = 0 ;
4858 void *argp1 = 0 ;
4859 int res1 = 0 ;
4860 PyObject *swig_obj[1] ;
4861
4862 if (!args) SWIG_fail;
4863 swig_obj[0] = args;
4864 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4865 if (!SWIG_IsOK(res1)) {
4866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4867 }
4868 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 {
4872 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4873 result = (wxString *) &_result_ref;
4874 }
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 {
4879 #if wxUSE_UNICODE
4880 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4881 #else
4882 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4883 #endif
4884 }
4885 return resultobj;
4886 fail:
4887 return NULL;
4888 }
4889
4890
4891 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4892 PyObject *resultobj = 0;
4893 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4894 wxLEDValueAlign arg2 ;
4895 bool arg3 = (bool) true ;
4896 void *argp1 = 0 ;
4897 int res1 = 0 ;
4898 int val2 ;
4899 int ecode2 = 0 ;
4900 bool val3 ;
4901 int ecode3 = 0 ;
4902 PyObject * obj0 = 0 ;
4903 PyObject * obj1 = 0 ;
4904 PyObject * obj2 = 0 ;
4905 char * kwnames[] = {
4906 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4907 };
4908
4909 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4910 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4911 if (!SWIG_IsOK(res1)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4913 }
4914 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4915 ecode2 = SWIG_AsVal_int(obj1, &val2);
4916 if (!SWIG_IsOK(ecode2)) {
4917 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4918 }
4919 arg2 = static_cast< wxLEDValueAlign >(val2);
4920 if (obj2) {
4921 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4922 if (!SWIG_IsOK(ecode3)) {
4923 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4924 }
4925 arg3 = static_cast< bool >(val3);
4926 }
4927 {
4928 PyThreadState* __tstate = wxPyBeginAllowThreads();
4929 (arg1)->SetAlignment(arg2,arg3);
4930 wxPyEndAllowThreads(__tstate);
4931 if (PyErr_Occurred()) SWIG_fail;
4932 }
4933 resultobj = SWIG_Py_Void();
4934 return resultobj;
4935 fail:
4936 return NULL;
4937 }
4938
4939
4940 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj = 0;
4942 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4943 bool arg2 ;
4944 bool arg3 = (bool) true ;
4945 void *argp1 = 0 ;
4946 int res1 = 0 ;
4947 bool val2 ;
4948 int ecode2 = 0 ;
4949 bool val3 ;
4950 int ecode3 = 0 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 PyObject * obj2 = 0 ;
4954 char * kwnames[] = {
4955 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4956 };
4957
4958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4960 if (!SWIG_IsOK(res1)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4962 }
4963 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4964 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4965 if (!SWIG_IsOK(ecode2)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4967 }
4968 arg2 = static_cast< bool >(val2);
4969 if (obj2) {
4970 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4971 if (!SWIG_IsOK(ecode3)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4973 }
4974 arg3 = static_cast< bool >(val3);
4975 }
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 (arg1)->SetDrawFaded(arg2,arg3);
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 resultobj = SWIG_Py_Void();
4983 return resultobj;
4984 fail:
4985 return NULL;
4986 }
4987
4988
4989 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj = 0;
4991 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4992 wxString *arg2 = 0 ;
4993 bool arg3 = (bool) true ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 bool temp2 = false ;
4997 bool val3 ;
4998 int ecode3 = 0 ;
4999 PyObject * obj0 = 0 ;
5000 PyObject * obj1 = 0 ;
5001 PyObject * obj2 = 0 ;
5002 char * kwnames[] = {
5003 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5004 };
5005
5006 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5007 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5008 if (!SWIG_IsOK(res1)) {
5009 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5010 }
5011 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5012 {
5013 arg2 = wxString_in_helper(obj1);
5014 if (arg2 == NULL) SWIG_fail;
5015 temp2 = true;
5016 }
5017 if (obj2) {
5018 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5019 if (!SWIG_IsOK(ecode3)) {
5020 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5021 }
5022 arg3 = static_cast< bool >(val3);
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 (arg1)->SetValue((wxString const &)*arg2,arg3);
5027 wxPyEndAllowThreads(__tstate);
5028 if (PyErr_Occurred()) SWIG_fail;
5029 }
5030 resultobj = SWIG_Py_Void();
5031 {
5032 if (temp2)
5033 delete arg2;
5034 }
5035 return resultobj;
5036 fail:
5037 {
5038 if (temp2)
5039 delete arg2;
5040 }
5041 return NULL;
5042 }
5043
5044
5045 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5046 PyObject *obj;
5047 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5048 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5049 return SWIG_Py_Void();
5050 }
5051
5052 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5053 return SWIG_Python_InitShadowInstance(args);
5054 }
5055
5056 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj = 0;
5058 wxString const &arg1_defvalue = wxPyEmptyString ;
5059 wxString *arg1 = (wxString *) &arg1_defvalue ;
5060 int arg2 = (int) -1 ;
5061 size_t arg3 = (size_t) 100 ;
5062 bool arg4 = (bool) true ;
5063 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5064 wxTreeListColumnInfo *result = 0 ;
5065 bool temp1 = false ;
5066 int val2 ;
5067 int ecode2 = 0 ;
5068 size_t val3 ;
5069 int ecode3 = 0 ;
5070 bool val4 ;
5071 int ecode4 = 0 ;
5072 int val5 ;
5073 int ecode5 = 0 ;
5074 PyObject * obj0 = 0 ;
5075 PyObject * obj1 = 0 ;
5076 PyObject * obj2 = 0 ;
5077 PyObject * obj3 = 0 ;
5078 PyObject * obj4 = 0 ;
5079 char * kwnames[] = {
5080 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5081 };
5082
5083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5084 if (obj0) {
5085 {
5086 arg1 = wxString_in_helper(obj0);
5087 if (arg1 == NULL) SWIG_fail;
5088 temp1 = true;
5089 }
5090 }
5091 if (obj1) {
5092 ecode2 = SWIG_AsVal_int(obj1, &val2);
5093 if (!SWIG_IsOK(ecode2)) {
5094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5095 }
5096 arg2 = static_cast< int >(val2);
5097 }
5098 if (obj2) {
5099 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5100 if (!SWIG_IsOK(ecode3)) {
5101 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5102 }
5103 arg3 = static_cast< size_t >(val3);
5104 }
5105 if (obj3) {
5106 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5107 if (!SWIG_IsOK(ecode4)) {
5108 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5109 }
5110 arg4 = static_cast< bool >(val4);
5111 }
5112 if (obj4) {
5113 ecode5 = SWIG_AsVal_int(obj4, &val5);
5114 if (!SWIG_IsOK(ecode5)) {
5115 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5116 }
5117 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5118 }
5119 {
5120 PyThreadState* __tstate = wxPyBeginAllowThreads();
5121 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5122 wxPyEndAllowThreads(__tstate);
5123 if (PyErr_Occurred()) SWIG_fail;
5124 }
5125 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5126 {
5127 if (temp1)
5128 delete arg1;
5129 }
5130 return resultobj;
5131 fail:
5132 {
5133 if (temp1)
5134 delete arg1;
5135 }
5136 return NULL;
5137 }
5138
5139
5140 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5141 PyObject *resultobj = 0;
5142 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5143 void *argp1 = 0 ;
5144 int res1 = 0 ;
5145 PyObject *swig_obj[1] ;
5146
5147 if (!args) SWIG_fail;
5148 swig_obj[0] = args;
5149 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5150 if (!SWIG_IsOK(res1)) {
5151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5152 }
5153 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5154 {
5155 PyThreadState* __tstate = wxPyBeginAllowThreads();
5156 delete arg1;
5157
5158 wxPyEndAllowThreads(__tstate);
5159 if (PyErr_Occurred()) SWIG_fail;
5160 }
5161 resultobj = SWIG_Py_Void();
5162 return resultobj;
5163 fail:
5164 return NULL;
5165 }
5166
5167
5168 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5169 PyObject *resultobj = 0;
5170 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5171 bool result;
5172 void *argp1 = 0 ;
5173 int res1 = 0 ;
5174 PyObject *swig_obj[1] ;
5175
5176 if (!args) SWIG_fail;
5177 swig_obj[0] = args;
5178 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5179 if (!SWIG_IsOK(res1)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5181 }
5182 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5183 {
5184 PyThreadState* __tstate = wxPyBeginAllowThreads();
5185 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5186 wxPyEndAllowThreads(__tstate);
5187 if (PyErr_Occurred()) SWIG_fail;
5188 }
5189 {
5190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5191 }
5192 return resultobj;
5193 fail:
5194 return NULL;
5195 }
5196
5197
5198 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5199 PyObject *resultobj = 0;
5200 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5201 wxTreeListColumnAlign result;
5202 void *argp1 = 0 ;
5203 int res1 = 0 ;
5204 PyObject *swig_obj[1] ;
5205
5206 if (!args) SWIG_fail;
5207 swig_obj[0] = args;
5208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5209 if (!SWIG_IsOK(res1)) {
5210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5211 }
5212 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5213 {
5214 PyThreadState* __tstate = wxPyBeginAllowThreads();
5215 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
5219 resultobj = SWIG_From_int(static_cast< int >(result));
5220 return resultobj;
5221 fail:
5222 return NULL;
5223 }
5224
5225
5226 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5227 PyObject *resultobj = 0;
5228 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5229 wxString result;
5230 void *argp1 = 0 ;
5231 int res1 = 0 ;
5232 PyObject *swig_obj[1] ;
5233
5234 if (!args) SWIG_fail;
5235 swig_obj[0] = args;
5236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5237 if (!SWIG_IsOK(res1)) {
5238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5239 }
5240 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5244 wxPyEndAllowThreads(__tstate);
5245 if (PyErr_Occurred()) SWIG_fail;
5246 }
5247 {
5248 #if wxUSE_UNICODE
5249 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5250 #else
5251 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5252 #endif
5253 }
5254 return resultobj;
5255 fail:
5256 return NULL;
5257 }
5258
5259
5260 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5261 PyObject *resultobj = 0;
5262 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5263 int result;
5264 void *argp1 = 0 ;
5265 int res1 = 0 ;
5266 PyObject *swig_obj[1] ;
5267
5268 if (!args) SWIG_fail;
5269 swig_obj[0] = args;
5270 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5271 if (!SWIG_IsOK(res1)) {
5272 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5273 }
5274 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5278 wxPyEndAllowThreads(__tstate);
5279 if (PyErr_Occurred()) SWIG_fail;
5280 }
5281 resultobj = SWIG_From_int(static_cast< int >(result));
5282 return resultobj;
5283 fail:
5284 return NULL;
5285 }
5286
5287
5288 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5289 PyObject *resultobj = 0;
5290 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5291 int result;
5292 void *argp1 = 0 ;
5293 int res1 = 0 ;
5294 PyObject *swig_obj[1] ;
5295
5296 if (!args) SWIG_fail;
5297 swig_obj[0] = args;
5298 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5299 if (!SWIG_IsOK(res1)) {
5300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5301 }
5302 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5303 {
5304 PyThreadState* __tstate = wxPyBeginAllowThreads();
5305 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 resultobj = SWIG_From_int(static_cast< int >(result));
5310 return resultobj;
5311 fail:
5312 return NULL;
5313 }
5314
5315
5316 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5317 PyObject *resultobj = 0;
5318 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5319 size_t result;
5320 void *argp1 = 0 ;
5321 int res1 = 0 ;
5322 PyObject *swig_obj[1] ;
5323
5324 if (!args) SWIG_fail;
5325 swig_obj[0] = args;
5326 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5327 if (!SWIG_IsOK(res1)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5329 }
5330 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5334 wxPyEndAllowThreads(__tstate);
5335 if (PyErr_Occurred()) SWIG_fail;
5336 }
5337 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5338 return resultobj;
5339 fail:
5340 return NULL;
5341 }
5342
5343
5344 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5345 PyObject *resultobj = 0;
5346 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5347 bool arg2 ;
5348 void *argp1 = 0 ;
5349 int res1 = 0 ;
5350 bool val2 ;
5351 int ecode2 = 0 ;
5352 PyObject * obj0 = 0 ;
5353 PyObject * obj1 = 0 ;
5354 char * kwnames[] = {
5355 (char *) "self",(char *) "shown", NULL
5356 };
5357
5358 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5359 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5360 if (!SWIG_IsOK(res1)) {
5361 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5362 }
5363 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5364 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5365 if (!SWIG_IsOK(ecode2)) {
5366 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5367 }
5368 arg2 = static_cast< bool >(val2);
5369 {
5370 PyThreadState* __tstate = wxPyBeginAllowThreads();
5371 (arg1)->SetShown(arg2);
5372 wxPyEndAllowThreads(__tstate);
5373 if (PyErr_Occurred()) SWIG_fail;
5374 }
5375 resultobj = SWIG_Py_Void();
5376 return resultobj;
5377 fail:
5378 return NULL;
5379 }
5380
5381
5382 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5383 PyObject *resultobj = 0;
5384 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5385 wxTreeListColumnAlign arg2 ;
5386 void *argp1 = 0 ;
5387 int res1 = 0 ;
5388 int val2 ;
5389 int ecode2 = 0 ;
5390 PyObject * obj0 = 0 ;
5391 PyObject * obj1 = 0 ;
5392 char * kwnames[] = {
5393 (char *) "self",(char *) "alignment", NULL
5394 };
5395
5396 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5397 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5398 if (!SWIG_IsOK(res1)) {
5399 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5400 }
5401 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5402 ecode2 = SWIG_AsVal_int(obj1, &val2);
5403 if (!SWIG_IsOK(ecode2)) {
5404 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5405 }
5406 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5407 {
5408 PyThreadState* __tstate = wxPyBeginAllowThreads();
5409 (arg1)->SetAlignment(arg2);
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 resultobj = SWIG_Py_Void();
5414 return resultobj;
5415 fail:
5416 return NULL;
5417 }
5418
5419
5420 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj = 0;
5422 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5423 wxString *arg2 = 0 ;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 bool temp2 = false ;
5427 PyObject * obj0 = 0 ;
5428 PyObject * obj1 = 0 ;
5429 char * kwnames[] = {
5430 (char *) "self",(char *) "text", NULL
5431 };
5432
5433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5435 if (!SWIG_IsOK(res1)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5437 }
5438 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5439 {
5440 arg2 = wxString_in_helper(obj1);
5441 if (arg2 == NULL) SWIG_fail;
5442 temp2 = true;
5443 }
5444 {
5445 PyThreadState* __tstate = wxPyBeginAllowThreads();
5446 (arg1)->SetText((wxString const &)*arg2);
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_Py_Void();
5451 {
5452 if (temp2)
5453 delete arg2;
5454 }
5455 return resultobj;
5456 fail:
5457 {
5458 if (temp2)
5459 delete arg2;
5460 }
5461 return NULL;
5462 }
5463
5464
5465 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5466 PyObject *resultobj = 0;
5467 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5468 int arg2 ;
5469 void *argp1 = 0 ;
5470 int res1 = 0 ;
5471 int val2 ;
5472 int ecode2 = 0 ;
5473 PyObject * obj0 = 0 ;
5474 PyObject * obj1 = 0 ;
5475 char * kwnames[] = {
5476 (char *) "self",(char *) "image", NULL
5477 };
5478
5479 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5480 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5481 if (!SWIG_IsOK(res1)) {
5482 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5483 }
5484 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5485 ecode2 = SWIG_AsVal_int(obj1, &val2);
5486 if (!SWIG_IsOK(ecode2)) {
5487 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5488 }
5489 arg2 = static_cast< int >(val2);
5490 {
5491 PyThreadState* __tstate = wxPyBeginAllowThreads();
5492 (arg1)->SetImage(arg2);
5493 wxPyEndAllowThreads(__tstate);
5494 if (PyErr_Occurred()) SWIG_fail;
5495 }
5496 resultobj = SWIG_Py_Void();
5497 return resultobj;
5498 fail:
5499 return NULL;
5500 }
5501
5502
5503 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5504 PyObject *resultobj = 0;
5505 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5506 int arg2 ;
5507 void *argp1 = 0 ;
5508 int res1 = 0 ;
5509 int val2 ;
5510 int ecode2 = 0 ;
5511 PyObject * obj0 = 0 ;
5512 PyObject * obj1 = 0 ;
5513 char * kwnames[] = {
5514 (char *) "self",(char *) "image", NULL
5515 };
5516
5517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5519 if (!SWIG_IsOK(res1)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5521 }
5522 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5523 ecode2 = SWIG_AsVal_int(obj1, &val2);
5524 if (!SWIG_IsOK(ecode2)) {
5525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5526 }
5527 arg2 = static_cast< int >(val2);
5528 {
5529 PyThreadState* __tstate = wxPyBeginAllowThreads();
5530 (arg1)->SetSelectedImage(arg2);
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 resultobj = SWIG_Py_Void();
5535 return resultobj;
5536 fail:
5537 return NULL;
5538 }
5539
5540
5541 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj = 0;
5543 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5544 size_t arg2 ;
5545 void *argp1 = 0 ;
5546 int res1 = 0 ;
5547 size_t val2 ;
5548 int ecode2 = 0 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char * kwnames[] = {
5552 (char *) "self",(char *) "with", NULL
5553 };
5554
5555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5557 if (!SWIG_IsOK(res1)) {
5558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5559 }
5560 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5561 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5562 if (!SWIG_IsOK(ecode2)) {
5563 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5564 }
5565 arg2 = static_cast< size_t >(val2);
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetWidth(arg2);
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 resultobj = SWIG_Py_Void();
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5580 PyObject *obj;
5581 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5582 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5583 return SWIG_Py_Void();
5584 }
5585
5586 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5587 return SWIG_Python_InitShadowInstance(args);
5588 }
5589
5590 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5591 PyObject *resultobj = 0;
5592 wxWindow *arg1 = (wxWindow *) 0 ;
5593 int arg2 = (int) -1 ;
5594 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5595 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5596 wxSize const &arg4_defvalue = wxDefaultSize ;
5597 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5598 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5599 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5600 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5601 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5602 wxString *arg7 = (wxString *) &arg7_defvalue ;
5603 wxPyTreeListCtrl *result = 0 ;
5604 void *argp1 = 0 ;
5605 int res1 = 0 ;
5606 int val2 ;
5607 int ecode2 = 0 ;
5608 wxPoint temp3 ;
5609 wxSize temp4 ;
5610 long val5 ;
5611 int ecode5 = 0 ;
5612 void *argp6 = 0 ;
5613 int res6 = 0 ;
5614 bool temp7 = false ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 PyObject * obj2 = 0 ;
5618 PyObject * obj3 = 0 ;
5619 PyObject * obj4 = 0 ;
5620 PyObject * obj5 = 0 ;
5621 PyObject * obj6 = 0 ;
5622 char * kwnames[] = {
5623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5624 };
5625
5626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5628 if (!SWIG_IsOK(res1)) {
5629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5630 }
5631 arg1 = reinterpret_cast< wxWindow * >(argp1);
5632 if (obj1) {
5633 ecode2 = SWIG_AsVal_int(obj1, &val2);
5634 if (!SWIG_IsOK(ecode2)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5636 }
5637 arg2 = static_cast< int >(val2);
5638 }
5639 if (obj2) {
5640 {
5641 arg3 = &temp3;
5642 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5643 }
5644 }
5645 if (obj3) {
5646 {
5647 arg4 = &temp4;
5648 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5649 }
5650 }
5651 if (obj4) {
5652 ecode5 = SWIG_AsVal_long(obj4, &val5);
5653 if (!SWIG_IsOK(ecode5)) {
5654 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5655 }
5656 arg5 = static_cast< long >(val5);
5657 }
5658 if (obj5) {
5659 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5660 if (!SWIG_IsOK(res6)) {
5661 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5662 }
5663 if (!argp6) {
5664 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5665 }
5666 arg6 = reinterpret_cast< wxValidator * >(argp6);
5667 }
5668 if (obj6) {
5669 {
5670 arg7 = wxString_in_helper(obj6);
5671 if (arg7 == NULL) SWIG_fail;
5672 temp7 = true;
5673 }
5674 }
5675 {
5676 if (!wxPyCheckForApp()) SWIG_fail;
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5683 {
5684 if (temp7)
5685 delete arg7;
5686 }
5687 return resultobj;
5688 fail:
5689 {
5690 if (temp7)
5691 delete arg7;
5692 }
5693 return NULL;
5694 }
5695
5696
5697 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5698 PyObject *resultobj = 0;
5699 wxPyTreeListCtrl *result = 0 ;
5700
5701 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5702 {
5703 if (!wxPyCheckForApp()) SWIG_fail;
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5706 wxPyEndAllowThreads(__tstate);
5707 if (PyErr_Occurred()) SWIG_fail;
5708 }
5709 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5710 return resultobj;
5711 fail:
5712 return NULL;
5713 }
5714
5715
5716 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5717 PyObject *resultobj = 0;
5718 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5719 wxWindow *arg2 = (wxWindow *) 0 ;
5720 int arg3 = (int) -1 ;
5721 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5722 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5723 wxSize const &arg5_defvalue = wxDefaultSize ;
5724 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5725 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5726 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5727 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5728 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5729 wxString *arg8 = (wxString *) &arg8_defvalue ;
5730 bool result;
5731 void *argp1 = 0 ;
5732 int res1 = 0 ;
5733 void *argp2 = 0 ;
5734 int res2 = 0 ;
5735 int val3 ;
5736 int ecode3 = 0 ;
5737 wxPoint temp4 ;
5738 wxSize temp5 ;
5739 long val6 ;
5740 int ecode6 = 0 ;
5741 void *argp7 = 0 ;
5742 int res7 = 0 ;
5743 bool temp8 = false ;
5744 PyObject * obj0 = 0 ;
5745 PyObject * obj1 = 0 ;
5746 PyObject * obj2 = 0 ;
5747 PyObject * obj3 = 0 ;
5748 PyObject * obj4 = 0 ;
5749 PyObject * obj5 = 0 ;
5750 PyObject * obj6 = 0 ;
5751 PyObject * obj7 = 0 ;
5752 char * kwnames[] = {
5753 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5754 };
5755
5756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5758 if (!SWIG_IsOK(res1)) {
5759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5760 }
5761 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5762 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5763 if (!SWIG_IsOK(res2)) {
5764 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5765 }
5766 arg2 = reinterpret_cast< wxWindow * >(argp2);
5767 if (obj2) {
5768 ecode3 = SWIG_AsVal_int(obj2, &val3);
5769 if (!SWIG_IsOK(ecode3)) {
5770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5771 }
5772 arg3 = static_cast< int >(val3);
5773 }
5774 if (obj3) {
5775 {
5776 arg4 = &temp4;
5777 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5778 }
5779 }
5780 if (obj4) {
5781 {
5782 arg5 = &temp5;
5783 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5784 }
5785 }
5786 if (obj5) {
5787 ecode6 = SWIG_AsVal_long(obj5, &val6);
5788 if (!SWIG_IsOK(ecode6)) {
5789 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5790 }
5791 arg6 = static_cast< long >(val6);
5792 }
5793 if (obj6) {
5794 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5795 if (!SWIG_IsOK(res7)) {
5796 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5797 }
5798 if (!argp7) {
5799 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5800 }
5801 arg7 = reinterpret_cast< wxValidator * >(argp7);
5802 }
5803 if (obj7) {
5804 {
5805 arg8 = wxString_in_helper(obj7);
5806 if (arg8 == NULL) SWIG_fail;
5807 temp8 = true;
5808 }
5809 }
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 {
5817 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5818 }
5819 {
5820 if (temp8)
5821 delete arg8;
5822 }
5823 return resultobj;
5824 fail:
5825 {
5826 if (temp8)
5827 delete arg8;
5828 }
5829 return NULL;
5830 }
5831
5832
5833 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5834 PyObject *resultobj = 0;
5835 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5836 PyObject *arg2 = (PyObject *) 0 ;
5837 PyObject *arg3 = (PyObject *) 0 ;
5838 void *argp1 = 0 ;
5839 int res1 = 0 ;
5840 PyObject * obj0 = 0 ;
5841 PyObject * obj1 = 0 ;
5842 PyObject * obj2 = 0 ;
5843 char * kwnames[] = {
5844 (char *) "self",(char *) "self",(char *) "_class", NULL
5845 };
5846
5847 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5848 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5849 if (!SWIG_IsOK(res1)) {
5850 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5851 }
5852 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5853 arg2 = obj1;
5854 arg3 = obj2;
5855 {
5856 PyThreadState* __tstate = wxPyBeginAllowThreads();
5857 (arg1)->_setCallbackInfo(arg2,arg3);
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 resultobj = SWIG_Py_Void();
5862 return resultobj;
5863 fail:
5864 return NULL;
5865 }
5866
5867
5868 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5869 PyObject *resultobj = 0;
5870 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5871 size_t result;
5872 void *argp1 = 0 ;
5873 int res1 = 0 ;
5874 PyObject *swig_obj[1] ;
5875
5876 if (!args) SWIG_fail;
5877 swig_obj[0] = args;
5878 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5879 if (!SWIG_IsOK(res1)) {
5880 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5881 }
5882 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5883 {
5884 PyThreadState* __tstate = wxPyBeginAllowThreads();
5885 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5886 wxPyEndAllowThreads(__tstate);
5887 if (PyErr_Occurred()) SWIG_fail;
5888 }
5889 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5890 return resultobj;
5891 fail:
5892 return NULL;
5893 }
5894
5895
5896 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5897 PyObject *resultobj = 0;
5898 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5899 unsigned int result;
5900 void *argp1 = 0 ;
5901 int res1 = 0 ;
5902 PyObject *swig_obj[1] ;
5903
5904 if (!args) SWIG_fail;
5905 swig_obj[0] = args;
5906 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5909 }
5910 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5911 {
5912 PyThreadState* __tstate = wxPyBeginAllowThreads();
5913 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5914 wxPyEndAllowThreads(__tstate);
5915 if (PyErr_Occurred()) SWIG_fail;
5916 }
5917 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5918 return resultobj;
5919 fail:
5920 return NULL;
5921 }
5922
5923
5924 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5925 PyObject *resultobj = 0;
5926 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5927 unsigned int arg2 ;
5928 void *argp1 = 0 ;
5929 int res1 = 0 ;
5930 unsigned int val2 ;
5931 int ecode2 = 0 ;
5932 PyObject * obj0 = 0 ;
5933 PyObject * obj1 = 0 ;
5934 char * kwnames[] = {
5935 (char *) "self",(char *) "indent", NULL
5936 };
5937
5938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5940 if (!SWIG_IsOK(res1)) {
5941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5942 }
5943 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5944 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5945 if (!SWIG_IsOK(ecode2)) {
5946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5947 }
5948 arg2 = static_cast< unsigned int >(val2);
5949 {
5950 PyThreadState* __tstate = wxPyBeginAllowThreads();
5951 (arg1)->SetIndent(arg2);
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
5955 resultobj = SWIG_Py_Void();
5956 return resultobj;
5957 fail:
5958 return NULL;
5959 }
5960
5961
5962 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5963 PyObject *resultobj = 0;
5964 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5965 unsigned int result;
5966 void *argp1 = 0 ;
5967 int res1 = 0 ;
5968 PyObject *swig_obj[1] ;
5969
5970 if (!args) SWIG_fail;
5971 swig_obj[0] = args;
5972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5973 if (!SWIG_IsOK(res1)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5975 }
5976 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5977 {
5978 PyThreadState* __tstate = wxPyBeginAllowThreads();
5979 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5984 return resultobj;
5985 fail:
5986 return NULL;
5987 }
5988
5989
5990 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj = 0;
5992 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5993 unsigned int arg2 ;
5994 void *argp1 = 0 ;
5995 int res1 = 0 ;
5996 unsigned int val2 ;
5997 int ecode2 = 0 ;
5998 PyObject * obj0 = 0 ;
5999 PyObject * obj1 = 0 ;
6000 char * kwnames[] = {
6001 (char *) "self",(char *) "spacing", NULL
6002 };
6003
6004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6006 if (!SWIG_IsOK(res1)) {
6007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6008 }
6009 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6010 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6011 if (!SWIG_IsOK(ecode2)) {
6012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6013 }
6014 arg2 = static_cast< unsigned int >(val2);
6015 {
6016 PyThreadState* __tstate = wxPyBeginAllowThreads();
6017 (arg1)->SetLineSpacing(arg2);
6018 wxPyEndAllowThreads(__tstate);
6019 if (PyErr_Occurred()) SWIG_fail;
6020 }
6021 resultobj = SWIG_Py_Void();
6022 return resultobj;
6023 fail:
6024 return NULL;
6025 }
6026
6027
6028 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6029 PyObject *resultobj = 0;
6030 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6031 wxImageList *result = 0 ;
6032 void *argp1 = 0 ;
6033 int res1 = 0 ;
6034 PyObject *swig_obj[1] ;
6035
6036 if (!args) SWIG_fail;
6037 swig_obj[0] = args;
6038 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6039 if (!SWIG_IsOK(res1)) {
6040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6041 }
6042 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6043 {
6044 PyThreadState* __tstate = wxPyBeginAllowThreads();
6045 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6046 wxPyEndAllowThreads(__tstate);
6047 if (PyErr_Occurred()) SWIG_fail;
6048 }
6049 {
6050 resultobj = wxPyMake_wxObject(result, (bool)0);
6051 }
6052 return resultobj;
6053 fail:
6054 return NULL;
6055 }
6056
6057
6058 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6059 PyObject *resultobj = 0;
6060 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6061 wxImageList *result = 0 ;
6062 void *argp1 = 0 ;
6063 int res1 = 0 ;
6064 PyObject *swig_obj[1] ;
6065
6066 if (!args) SWIG_fail;
6067 swig_obj[0] = args;
6068 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6069 if (!SWIG_IsOK(res1)) {
6070 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6071 }
6072 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
6079 {
6080 resultobj = wxPyMake_wxObject(result, (bool)0);
6081 }
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6089 PyObject *resultobj = 0;
6090 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6091 wxImageList *result = 0 ;
6092 void *argp1 = 0 ;
6093 int res1 = 0 ;
6094 PyObject *swig_obj[1] ;
6095
6096 if (!args) SWIG_fail;
6097 swig_obj[0] = args;
6098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6099 if (!SWIG_IsOK(res1)) {
6100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6101 }
6102 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6103 {
6104 PyThreadState* __tstate = wxPyBeginAllowThreads();
6105 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 resultobj = wxPyMake_wxObject(result, (bool)0);
6111 }
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj = 0;
6120 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6121 wxImageList *arg2 = (wxImageList *) 0 ;
6122 void *argp1 = 0 ;
6123 int res1 = 0 ;
6124 void *argp2 = 0 ;
6125 int res2 = 0 ;
6126 PyObject * obj0 = 0 ;
6127 PyObject * obj1 = 0 ;
6128 char * kwnames[] = {
6129 (char *) "self",(char *) "imageList", NULL
6130 };
6131
6132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6134 if (!SWIG_IsOK(res1)) {
6135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6136 }
6137 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6138 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6139 if (!SWIG_IsOK(res2)) {
6140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6141 }
6142 arg2 = reinterpret_cast< wxImageList * >(argp2);
6143 {
6144 PyThreadState* __tstate = wxPyBeginAllowThreads();
6145 (arg1)->SetImageList(arg2);
6146 wxPyEndAllowThreads(__tstate);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 resultobj = SWIG_Py_Void();
6150 return resultobj;
6151 fail:
6152 return NULL;
6153 }
6154
6155
6156 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6157 PyObject *resultobj = 0;
6158 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6159 wxImageList *arg2 = (wxImageList *) 0 ;
6160 void *argp1 = 0 ;
6161 int res1 = 0 ;
6162 void *argp2 = 0 ;
6163 int res2 = 0 ;
6164 PyObject * obj0 = 0 ;
6165 PyObject * obj1 = 0 ;
6166 char * kwnames[] = {
6167 (char *) "self",(char *) "imageList", NULL
6168 };
6169
6170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6172 if (!SWIG_IsOK(res1)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6174 }
6175 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6176 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6177 if (!SWIG_IsOK(res2)) {
6178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6179 }
6180 arg2 = reinterpret_cast< wxImageList * >(argp2);
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 (arg1)->SetStateImageList(arg2);
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
6187 resultobj = SWIG_Py_Void();
6188 return resultobj;
6189 fail:
6190 return NULL;
6191 }
6192
6193
6194 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj = 0;
6196 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6197 wxImageList *arg2 = (wxImageList *) 0 ;
6198 void *argp1 = 0 ;
6199 int res1 = 0 ;
6200 void *argp2 = 0 ;
6201 int res2 = 0 ;
6202 PyObject * obj0 = 0 ;
6203 PyObject * obj1 = 0 ;
6204 char * kwnames[] = {
6205 (char *) "self",(char *) "imageList", NULL
6206 };
6207
6208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6210 if (!SWIG_IsOK(res1)) {
6211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6212 }
6213 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6214 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6215 if (!SWIG_IsOK(res2)) {
6216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6217 }
6218 arg2 = reinterpret_cast< wxImageList * >(argp2);
6219 {
6220 PyThreadState* __tstate = wxPyBeginAllowThreads();
6221 (arg1)->SetButtonsImageList(arg2);
6222 wxPyEndAllowThreads(__tstate);
6223 if (PyErr_Occurred()) SWIG_fail;
6224 }
6225 resultobj = SWIG_Py_Void();
6226 return resultobj;
6227 fail:
6228 return NULL;
6229 }
6230
6231
6232 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6233 PyObject *resultobj = 0;
6234 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6235 wxImageList *arg2 = (wxImageList *) 0 ;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 int res2 = 0 ;
6239 PyObject * obj0 = 0 ;
6240 PyObject * obj1 = 0 ;
6241 char * kwnames[] = {
6242 (char *) "self",(char *) "imageList", NULL
6243 };
6244
6245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6247 if (!SWIG_IsOK(res1)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6249 }
6250 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6251 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6252 if (!SWIG_IsOK(res2)) {
6253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6254 }
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 (arg1)->AssignImageList(arg2);
6258 wxPyEndAllowThreads(__tstate);
6259 if (PyErr_Occurred()) SWIG_fail;
6260 }
6261 resultobj = SWIG_Py_Void();
6262 return resultobj;
6263 fail:
6264 return NULL;
6265 }
6266
6267
6268 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6269 PyObject *resultobj = 0;
6270 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6271 wxImageList *arg2 = (wxImageList *) 0 ;
6272 void *argp1 = 0 ;
6273 int res1 = 0 ;
6274 int res2 = 0 ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "self",(char *) "imageList", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6285 }
6286 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6287 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6288 if (!SWIG_IsOK(res2)) {
6289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6290 }
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 (arg1)->AssignStateImageList(arg2);
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 resultobj = SWIG_Py_Void();
6298 return resultobj;
6299 fail:
6300 return NULL;
6301 }
6302
6303
6304 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj = 0;
6306 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6307 wxImageList *arg2 = (wxImageList *) 0 ;
6308 void *argp1 = 0 ;
6309 int res1 = 0 ;
6310 int res2 = 0 ;
6311 PyObject * obj0 = 0 ;
6312 PyObject * obj1 = 0 ;
6313 char * kwnames[] = {
6314 (char *) "self",(char *) "imageList", NULL
6315 };
6316
6317 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6318 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6319 if (!SWIG_IsOK(res1)) {
6320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6321 }
6322 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6323 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6324 if (!SWIG_IsOK(res2)) {
6325 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6326 }
6327 {
6328 PyThreadState* __tstate = wxPyBeginAllowThreads();
6329 (arg1)->AssignButtonsImageList(arg2);
6330 wxPyEndAllowThreads(__tstate);
6331 if (PyErr_Occurred()) SWIG_fail;
6332 }
6333 resultobj = SWIG_Py_Void();
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj = 0;
6342 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6343 wxString *arg2 = 0 ;
6344 void *argp1 = 0 ;
6345 int res1 = 0 ;
6346 bool temp2 = false ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char * kwnames[] = {
6350 (char *) "self",(char *) "text", NULL
6351 };
6352
6353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6355 if (!SWIG_IsOK(res1)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6357 }
6358 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6359 {
6360 arg2 = wxString_in_helper(obj1);
6361 if (arg2 == NULL) SWIG_fail;
6362 temp2 = true;
6363 }
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->AddColumn((wxString const &)*arg2);
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_Py_Void();
6371 {
6372 if (temp2)
6373 delete arg2;
6374 }
6375 return resultobj;
6376 fail:
6377 {
6378 if (temp2)
6379 delete arg2;
6380 }
6381 return NULL;
6382 }
6383
6384
6385 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj = 0;
6387 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6388 wxTreeListColumnInfo *arg2 = 0 ;
6389 void *argp1 = 0 ;
6390 int res1 = 0 ;
6391 void *argp2 = 0 ;
6392 int res2 = 0 ;
6393 PyObject * obj0 = 0 ;
6394 PyObject * obj1 = 0 ;
6395 char * kwnames[] = {
6396 (char *) "self",(char *) "col", NULL
6397 };
6398
6399 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6400 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6401 if (!SWIG_IsOK(res1)) {
6402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6403 }
6404 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6405 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6406 if (!SWIG_IsOK(res2)) {
6407 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6408 }
6409 if (!argp2) {
6410 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6411 }
6412 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6413 {
6414 PyThreadState* __tstate = wxPyBeginAllowThreads();
6415 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6416 wxPyEndAllowThreads(__tstate);
6417 if (PyErr_Occurred()) SWIG_fail;
6418 }
6419 resultobj = SWIG_Py_Void();
6420 return resultobj;
6421 fail:
6422 return NULL;
6423 }
6424
6425
6426 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6427 PyObject *resultobj = 0;
6428 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6429 size_t arg2 ;
6430 wxString *arg3 = 0 ;
6431 void *argp1 = 0 ;
6432 int res1 = 0 ;
6433 size_t val2 ;
6434 int ecode2 = 0 ;
6435 bool temp3 = false ;
6436 PyObject * obj0 = 0 ;
6437 PyObject * obj1 = 0 ;
6438 PyObject * obj2 = 0 ;
6439 char * kwnames[] = {
6440 (char *) "self",(char *) "before",(char *) "text", NULL
6441 };
6442
6443 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6444 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6445 if (!SWIG_IsOK(res1)) {
6446 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6447 }
6448 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6449 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6450 if (!SWIG_IsOK(ecode2)) {
6451 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6452 }
6453 arg2 = static_cast< size_t >(val2);
6454 {
6455 arg3 = wxString_in_helper(obj2);
6456 if (arg3 == NULL) SWIG_fail;
6457 temp3 = true;
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = SWIG_Py_Void();
6466 {
6467 if (temp3)
6468 delete arg3;
6469 }
6470 return resultobj;
6471 fail:
6472 {
6473 if (temp3)
6474 delete arg3;
6475 }
6476 return NULL;
6477 }
6478
6479
6480 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6481 PyObject *resultobj = 0;
6482 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6483 size_t arg2 ;
6484 wxTreeListColumnInfo *arg3 = 0 ;
6485 void *argp1 = 0 ;
6486 int res1 = 0 ;
6487 size_t val2 ;
6488 int ecode2 = 0 ;
6489 void *argp3 = 0 ;
6490 int res3 = 0 ;
6491 PyObject * obj0 = 0 ;
6492 PyObject * obj1 = 0 ;
6493 PyObject * obj2 = 0 ;
6494 char * kwnames[] = {
6495 (char *) "self",(char *) "before",(char *) "col", NULL
6496 };
6497
6498 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6499 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6500 if (!SWIG_IsOK(res1)) {
6501 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6502 }
6503 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6504 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6505 if (!SWIG_IsOK(ecode2)) {
6506 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6507 }
6508 arg2 = static_cast< size_t >(val2);
6509 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6510 if (!SWIG_IsOK(res3)) {
6511 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6512 }
6513 if (!argp3) {
6514 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6515 }
6516 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6520 wxPyEndAllowThreads(__tstate);
6521 if (PyErr_Occurred()) SWIG_fail;
6522 }
6523 resultobj = SWIG_Py_Void();
6524 return resultobj;
6525 fail:
6526 return NULL;
6527 }
6528
6529
6530 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6531 PyObject *resultobj = 0;
6532 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6533 size_t arg2 ;
6534 void *argp1 = 0 ;
6535 int res1 = 0 ;
6536 size_t val2 ;
6537 int ecode2 = 0 ;
6538 PyObject * obj0 = 0 ;
6539 PyObject * obj1 = 0 ;
6540 char * kwnames[] = {
6541 (char *) "self",(char *) "column", NULL
6542 };
6543
6544 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6545 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6546 if (!SWIG_IsOK(res1)) {
6547 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6548 }
6549 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6550 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6551 if (!SWIG_IsOK(ecode2)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6553 }
6554 arg2 = static_cast< size_t >(val2);
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->RemoveColumn(arg2);
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_Py_Void();
6562 return resultobj;
6563 fail:
6564 return NULL;
6565 }
6566
6567
6568 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6569 PyObject *resultobj = 0;
6570 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6571 size_t result;
6572 void *argp1 = 0 ;
6573 int res1 = 0 ;
6574 PyObject *swig_obj[1] ;
6575
6576 if (!args) SWIG_fail;
6577 swig_obj[0] = args;
6578 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6579 if (!SWIG_IsOK(res1)) {
6580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6581 }
6582 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6583 {
6584 PyThreadState* __tstate = wxPyBeginAllowThreads();
6585 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6590 return resultobj;
6591 fail:
6592 return NULL;
6593 }
6594
6595
6596 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj = 0;
6598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6599 size_t arg2 ;
6600 size_t arg3 ;
6601 void *argp1 = 0 ;
6602 int res1 = 0 ;
6603 size_t val2 ;
6604 int ecode2 = 0 ;
6605 size_t val3 ;
6606 int ecode3 = 0 ;
6607 PyObject * obj0 = 0 ;
6608 PyObject * obj1 = 0 ;
6609 PyObject * obj2 = 0 ;
6610 char * kwnames[] = {
6611 (char *) "self",(char *) "column",(char *) "width", NULL
6612 };
6613
6614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6616 if (!SWIG_IsOK(res1)) {
6617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6618 }
6619 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6620 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6621 if (!SWIG_IsOK(ecode2)) {
6622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6623 }
6624 arg2 = static_cast< size_t >(val2);
6625 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6626 if (!SWIG_IsOK(ecode3)) {
6627 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6628 }
6629 arg3 = static_cast< size_t >(val3);
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 (arg1)->SetColumnWidth(arg2,arg3);
6633 wxPyEndAllowThreads(__tstate);
6634 if (PyErr_Occurred()) SWIG_fail;
6635 }
6636 resultobj = SWIG_Py_Void();
6637 return resultobj;
6638 fail:
6639 return NULL;
6640 }
6641
6642
6643 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6644 PyObject *resultobj = 0;
6645 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6646 size_t arg2 ;
6647 int result;
6648 void *argp1 = 0 ;
6649 int res1 = 0 ;
6650 size_t val2 ;
6651 int ecode2 = 0 ;
6652 PyObject * obj0 = 0 ;
6653 PyObject * obj1 = 0 ;
6654 char * kwnames[] = {
6655 (char *) "self",(char *) "column", NULL
6656 };
6657
6658 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6659 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6660 if (!SWIG_IsOK(res1)) {
6661 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6662 }
6663 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6664 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6665 if (!SWIG_IsOK(ecode2)) {
6666 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6667 }
6668 arg2 = static_cast< size_t >(val2);
6669 {
6670 PyThreadState* __tstate = wxPyBeginAllowThreads();
6671 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = SWIG_From_int(static_cast< int >(result));
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj = 0;
6684 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6685 size_t arg2 ;
6686 void *argp1 = 0 ;
6687 int res1 = 0 ;
6688 size_t val2 ;
6689 int ecode2 = 0 ;
6690 PyObject * obj0 = 0 ;
6691 PyObject * obj1 = 0 ;
6692 char * kwnames[] = {
6693 (char *) "self",(char *) "column", NULL
6694 };
6695
6696 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6697 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6698 if (!SWIG_IsOK(res1)) {
6699 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6700 }
6701 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6702 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6703 if (!SWIG_IsOK(ecode2)) {
6704 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6705 }
6706 arg2 = static_cast< size_t >(val2);
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 (arg1)->SetMainColumn(arg2);
6710 wxPyEndAllowThreads(__tstate);
6711 if (PyErr_Occurred()) SWIG_fail;
6712 }
6713 resultobj = SWIG_Py_Void();
6714 return resultobj;
6715 fail:
6716 return NULL;
6717 }
6718
6719
6720 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6721 PyObject *resultobj = 0;
6722 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6723 size_t result;
6724 void *argp1 = 0 ;
6725 int res1 = 0 ;
6726 PyObject *swig_obj[1] ;
6727
6728 if (!args) SWIG_fail;
6729 swig_obj[0] = args;
6730 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6731 if (!SWIG_IsOK(res1)) {
6732 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6733 }
6734 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6738 wxPyEndAllowThreads(__tstate);
6739 if (PyErr_Occurred()) SWIG_fail;
6740 }
6741 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6742 return resultobj;
6743 fail:
6744 return NULL;
6745 }
6746
6747
6748 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6749 PyObject *resultobj = 0;
6750 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6751 size_t arg2 ;
6752 wxString *arg3 = 0 ;
6753 void *argp1 = 0 ;
6754 int res1 = 0 ;
6755 size_t val2 ;
6756 int ecode2 = 0 ;
6757 bool temp3 = false ;
6758 PyObject * obj0 = 0 ;
6759 PyObject * obj1 = 0 ;
6760 PyObject * obj2 = 0 ;
6761 char * kwnames[] = {
6762 (char *) "self",(char *) "column",(char *) "text", NULL
6763 };
6764
6765 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6766 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6767 if (!SWIG_IsOK(res1)) {
6768 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6769 }
6770 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6771 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6772 if (!SWIG_IsOK(ecode2)) {
6773 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6774 }
6775 arg2 = static_cast< size_t >(val2);
6776 {
6777 arg3 = wxString_in_helper(obj2);
6778 if (arg3 == NULL) SWIG_fail;
6779 temp3 = true;
6780 }
6781 {
6782 PyThreadState* __tstate = wxPyBeginAllowThreads();
6783 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6784 wxPyEndAllowThreads(__tstate);
6785 if (PyErr_Occurred()) SWIG_fail;
6786 }
6787 resultobj = SWIG_Py_Void();
6788 {
6789 if (temp3)
6790 delete arg3;
6791 }
6792 return resultobj;
6793 fail:
6794 {
6795 if (temp3)
6796 delete arg3;
6797 }
6798 return NULL;
6799 }
6800
6801
6802 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj = 0;
6804 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6805 size_t arg2 ;
6806 wxString result;
6807 void *argp1 = 0 ;
6808 int res1 = 0 ;
6809 size_t val2 ;
6810 int ecode2 = 0 ;
6811 PyObject * obj0 = 0 ;
6812 PyObject * obj1 = 0 ;
6813 char * kwnames[] = {
6814 (char *) "self",(char *) "column", NULL
6815 };
6816
6817 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6818 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6819 if (!SWIG_IsOK(res1)) {
6820 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6821 }
6822 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6823 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6824 if (!SWIG_IsOK(ecode2)) {
6825 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6826 }
6827 arg2 = static_cast< size_t >(val2);
6828 {
6829 PyThreadState* __tstate = wxPyBeginAllowThreads();
6830 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6831 wxPyEndAllowThreads(__tstate);
6832 if (PyErr_Occurred()) SWIG_fail;
6833 }
6834 {
6835 #if wxUSE_UNICODE
6836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6837 #else
6838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6839 #endif
6840 }
6841 return resultobj;
6842 fail:
6843 return NULL;
6844 }
6845
6846
6847 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj = 0;
6849 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6850 size_t arg2 ;
6851 wxTreeListColumnInfo *arg3 = 0 ;
6852 void *argp1 = 0 ;
6853 int res1 = 0 ;
6854 size_t val2 ;
6855 int ecode2 = 0 ;
6856 void *argp3 = 0 ;
6857 int res3 = 0 ;
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
6860 PyObject * obj2 = 0 ;
6861 char * kwnames[] = {
6862 (char *) "self",(char *) "column",(char *) "info", NULL
6863 };
6864
6865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6867 if (!SWIG_IsOK(res1)) {
6868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6869 }
6870 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6871 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6872 if (!SWIG_IsOK(ecode2)) {
6873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6874 }
6875 arg2 = static_cast< size_t >(val2);
6876 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6877 if (!SWIG_IsOK(res3)) {
6878 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6879 }
6880 if (!argp3) {
6881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6882 }
6883 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6884 {
6885 PyThreadState* __tstate = wxPyBeginAllowThreads();
6886 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6887 wxPyEndAllowThreads(__tstate);
6888 if (PyErr_Occurred()) SWIG_fail;
6889 }
6890 resultobj = SWIG_Py_Void();
6891 return resultobj;
6892 fail:
6893 return NULL;
6894 }
6895
6896
6897 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6898 PyObject *resultobj = 0;
6899 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6900 size_t arg2 ;
6901 wxTreeListColumnInfo *result = 0 ;
6902 void *argp1 = 0 ;
6903 int res1 = 0 ;
6904 size_t val2 ;
6905 int ecode2 = 0 ;
6906 PyObject * obj0 = 0 ;
6907 PyObject * obj1 = 0 ;
6908 char * kwnames[] = {
6909 (char *) "self",(char *) "column", NULL
6910 };
6911
6912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6914 if (!SWIG_IsOK(res1)) {
6915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6916 }
6917 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6918 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6919 if (!SWIG_IsOK(ecode2)) {
6920 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6921 }
6922 arg2 = static_cast< size_t >(val2);
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 {
6926 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6927 result = (wxTreeListColumnInfo *) &_result_ref;
6928 }
6929 wxPyEndAllowThreads(__tstate);
6930 if (PyErr_Occurred()) SWIG_fail;
6931 }
6932 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6933 return resultobj;
6934 fail:
6935 return NULL;
6936 }
6937
6938
6939 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6940 PyObject *resultobj = 0;
6941 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6942 size_t arg2 ;
6943 wxTreeListColumnAlign arg3 ;
6944 void *argp1 = 0 ;
6945 int res1 = 0 ;
6946 size_t val2 ;
6947 int ecode2 = 0 ;
6948 int val3 ;
6949 int ecode3 = 0 ;
6950 PyObject * obj0 = 0 ;
6951 PyObject * obj1 = 0 ;
6952 PyObject * obj2 = 0 ;
6953 char * kwnames[] = {
6954 (char *) "self",(char *) "column",(char *) "align", NULL
6955 };
6956
6957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6959 if (!SWIG_IsOK(res1)) {
6960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6961 }
6962 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6963 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6964 if (!SWIG_IsOK(ecode2)) {
6965 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6966 }
6967 arg2 = static_cast< size_t >(val2);
6968 ecode3 = SWIG_AsVal_int(obj2, &val3);
6969 if (!SWIG_IsOK(ecode3)) {
6970 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6971 }
6972 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 (arg1)->SetColumnAlignment(arg2,arg3);
6976 wxPyEndAllowThreads(__tstate);
6977 if (PyErr_Occurred()) SWIG_fail;
6978 }
6979 resultobj = SWIG_Py_Void();
6980 return resultobj;
6981 fail:
6982 return NULL;
6983 }
6984
6985
6986 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6987 PyObject *resultobj = 0;
6988 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6989 size_t arg2 ;
6990 wxTreeListColumnAlign result;
6991 void *argp1 = 0 ;
6992 int res1 = 0 ;
6993 size_t val2 ;
6994 int ecode2 = 0 ;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 char * kwnames[] = {
6998 (char *) "self",(char *) "column", NULL
6999 };
7000
7001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7003 if (!SWIG_IsOK(res1)) {
7004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7005 }
7006 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7007 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7008 if (!SWIG_IsOK(ecode2)) {
7009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7010 }
7011 arg2 = static_cast< size_t >(val2);
7012 {
7013 PyThreadState* __tstate = wxPyBeginAllowThreads();
7014 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7015 wxPyEndAllowThreads(__tstate);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 resultobj = SWIG_From_int(static_cast< int >(result));
7019 return resultobj;
7020 fail:
7021 return NULL;
7022 }
7023
7024
7025 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7026 PyObject *resultobj = 0;
7027 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7028 size_t arg2 ;
7029 int arg3 ;
7030 void *argp1 = 0 ;
7031 int res1 = 0 ;
7032 size_t val2 ;
7033 int ecode2 = 0 ;
7034 int val3 ;
7035 int ecode3 = 0 ;
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 PyObject * obj2 = 0 ;
7039 char * kwnames[] = {
7040 (char *) "self",(char *) "column",(char *) "image", NULL
7041 };
7042
7043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7045 if (!SWIG_IsOK(res1)) {
7046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7047 }
7048 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7049 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7050 if (!SWIG_IsOK(ecode2)) {
7051 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7052 }
7053 arg2 = static_cast< size_t >(val2);
7054 ecode3 = SWIG_AsVal_int(obj2, &val3);
7055 if (!SWIG_IsOK(ecode3)) {
7056 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7057 }
7058 arg3 = static_cast< int >(val3);
7059 {
7060 PyThreadState* __tstate = wxPyBeginAllowThreads();
7061 (arg1)->SetColumnImage(arg2,arg3);
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 resultobj = SWIG_Py_Void();
7066 return resultobj;
7067 fail:
7068 return NULL;
7069 }
7070
7071
7072 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7073 PyObject *resultobj = 0;
7074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7075 size_t arg2 ;
7076 int result;
7077 void *argp1 = 0 ;
7078 int res1 = 0 ;
7079 size_t val2 ;
7080 int ecode2 = 0 ;
7081 PyObject * obj0 = 0 ;
7082 PyObject * obj1 = 0 ;
7083 char * kwnames[] = {
7084 (char *) "self",(char *) "column", NULL
7085 };
7086
7087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7089 if (!SWIG_IsOK(res1)) {
7090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7091 }
7092 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7093 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7094 if (!SWIG_IsOK(ecode2)) {
7095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7096 }
7097 arg2 = static_cast< size_t >(val2);
7098 {
7099 PyThreadState* __tstate = wxPyBeginAllowThreads();
7100 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 resultobj = SWIG_From_int(static_cast< int >(result));
7105 return resultobj;
7106 fail:
7107 return NULL;
7108 }
7109
7110
7111 SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj = 0;
7113 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7114 size_t arg2 ;
7115 bool arg3 ;
7116 void *argp1 = 0 ;
7117 int res1 = 0 ;
7118 size_t val2 ;
7119 int ecode2 = 0 ;
7120 bool val3 ;
7121 int ecode3 = 0 ;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 PyObject * obj2 = 0 ;
7125 char * kwnames[] = {
7126 (char *) "self",(char *) "column",(char *) "shown", NULL
7127 };
7128
7129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7131 if (!SWIG_IsOK(res1)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7133 }
7134 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7135 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7136 if (!SWIG_IsOK(ecode2)) {
7137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7138 }
7139 arg2 = static_cast< size_t >(val2);
7140 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7141 if (!SWIG_IsOK(ecode3)) {
7142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7143 }
7144 arg3 = static_cast< bool >(val3);
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->ShowColumn(arg2,arg3);
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = SWIG_Py_Void();
7152 return resultobj;
7153 fail:
7154 return NULL;
7155 }
7156
7157
7158 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj = 0;
7160 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7161 size_t arg2 ;
7162 bool result;
7163 void *argp1 = 0 ;
7164 int res1 = 0 ;
7165 size_t val2 ;
7166 int ecode2 = 0 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char * kwnames[] = {
7170 (char *) "self",(char *) "column", NULL
7171 };
7172
7173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7175 if (!SWIG_IsOK(res1)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7177 }
7178 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7179 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7180 if (!SWIG_IsOK(ecode2)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7182 }
7183 arg2 = static_cast< size_t >(val2);
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 {
7191 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7192 }
7193 return resultobj;
7194 fail:
7195 return NULL;
7196 }
7197
7198
7199 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7200 PyObject *resultobj = 0;
7201 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7202 wxTreeItemId *arg2 = 0 ;
7203 int arg3 = (int) -1 ;
7204 wxString result;
7205 void *argp1 = 0 ;
7206 int res1 = 0 ;
7207 void *argp2 = 0 ;
7208 int res2 = 0 ;
7209 int val3 ;
7210 int ecode3 = 0 ;
7211 PyObject * obj0 = 0 ;
7212 PyObject * obj1 = 0 ;
7213 PyObject * obj2 = 0 ;
7214 char * kwnames[] = {
7215 (char *) "self",(char *) "item",(char *) "column", NULL
7216 };
7217
7218 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7219 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7220 if (!SWIG_IsOK(res1)) {
7221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7222 }
7223 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7224 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7225 if (!SWIG_IsOK(res2)) {
7226 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7227 }
7228 if (!argp2) {
7229 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7230 }
7231 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7232 if (obj2) {
7233 ecode3 = SWIG_AsVal_int(obj2, &val3);
7234 if (!SWIG_IsOK(ecode3)) {
7235 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7236 }
7237 arg3 = static_cast< int >(val3);
7238 }
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 {
7246 #if wxUSE_UNICODE
7247 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7248 #else
7249 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7250 #endif
7251 }
7252 return resultobj;
7253 fail:
7254 return NULL;
7255 }
7256
7257
7258 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7259 PyObject *resultobj = 0;
7260 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7261 wxTreeItemId *arg2 = 0 ;
7262 int arg3 = (int) -1 ;
7263 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7264 int result;
7265 void *argp1 = 0 ;
7266 int res1 = 0 ;
7267 void *argp2 = 0 ;
7268 int res2 = 0 ;
7269 int val3 ;
7270 int ecode3 = 0 ;
7271 int val4 ;
7272 int ecode4 = 0 ;
7273 PyObject * obj0 = 0 ;
7274 PyObject * obj1 = 0 ;
7275 PyObject * obj2 = 0 ;
7276 PyObject * obj3 = 0 ;
7277 char * kwnames[] = {
7278 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7279 };
7280
7281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7283 if (!SWIG_IsOK(res1)) {
7284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7285 }
7286 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7287 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7288 if (!SWIG_IsOK(res2)) {
7289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7290 }
7291 if (!argp2) {
7292 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7293 }
7294 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7295 if (obj2) {
7296 ecode3 = SWIG_AsVal_int(obj2, &val3);
7297 if (!SWIG_IsOK(ecode3)) {
7298 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7299 }
7300 arg3 = static_cast< int >(val3);
7301 }
7302 if (obj3) {
7303 ecode4 = SWIG_AsVal_int(obj3, &val4);
7304 if (!SWIG_IsOK(ecode4)) {
7305 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7306 }
7307 arg4 = static_cast< wxTreeItemIcon >(val4);
7308 }
7309 {
7310 PyThreadState* __tstate = wxPyBeginAllowThreads();
7311 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7312 wxPyEndAllowThreads(__tstate);
7313 if (PyErr_Occurred()) SWIG_fail;
7314 }
7315 resultobj = SWIG_From_int(static_cast< int >(result));
7316 return resultobj;
7317 fail:
7318 return NULL;
7319 }
7320
7321
7322 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7323 PyObject *resultobj = 0;
7324 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7325 wxTreeItemId *arg2 = 0 ;
7326 wxString *arg3 = 0 ;
7327 int arg4 = (int) -1 ;
7328 void *argp1 = 0 ;
7329 int res1 = 0 ;
7330 void *argp2 = 0 ;
7331 int res2 = 0 ;
7332 bool temp3 = false ;
7333 int val4 ;
7334 int ecode4 = 0 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 PyObject * obj2 = 0 ;
7338 PyObject * obj3 = 0 ;
7339 char * kwnames[] = {
7340 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7341 };
7342
7343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7345 if (!SWIG_IsOK(res1)) {
7346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7347 }
7348 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7350 if (!SWIG_IsOK(res2)) {
7351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7352 }
7353 if (!argp2) {
7354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7355 }
7356 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7357 {
7358 arg3 = wxString_in_helper(obj2);
7359 if (arg3 == NULL) SWIG_fail;
7360 temp3 = true;
7361 }
7362 if (obj3) {
7363 ecode4 = SWIG_AsVal_int(obj3, &val4);
7364 if (!SWIG_IsOK(ecode4)) {
7365 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7366 }
7367 arg4 = static_cast< int >(val4);
7368 }
7369 {
7370 PyThreadState* __tstate = wxPyBeginAllowThreads();
7371 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7372 wxPyEndAllowThreads(__tstate);
7373 if (PyErr_Occurred()) SWIG_fail;
7374 }
7375 resultobj = SWIG_Py_Void();
7376 {
7377 if (temp3)
7378 delete arg3;
7379 }
7380 return resultobj;
7381 fail:
7382 {
7383 if (temp3)
7384 delete arg3;
7385 }
7386 return NULL;
7387 }
7388
7389
7390 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7391 PyObject *resultobj = 0;
7392 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7393 wxTreeItemId *arg2 = 0 ;
7394 int arg3 ;
7395 int arg4 = (int) -1 ;
7396 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7397 void *argp1 = 0 ;
7398 int res1 = 0 ;
7399 void *argp2 = 0 ;
7400 int res2 = 0 ;
7401 int val3 ;
7402 int ecode3 = 0 ;
7403 int val4 ;
7404 int ecode4 = 0 ;
7405 int val5 ;
7406 int ecode5 = 0 ;
7407 PyObject * obj0 = 0 ;
7408 PyObject * obj1 = 0 ;
7409 PyObject * obj2 = 0 ;
7410 PyObject * obj3 = 0 ;
7411 PyObject * obj4 = 0 ;
7412 char * kwnames[] = {
7413 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7414 };
7415
7416 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7417 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7418 if (!SWIG_IsOK(res1)) {
7419 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7420 }
7421 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7422 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7423 if (!SWIG_IsOK(res2)) {
7424 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7425 }
7426 if (!argp2) {
7427 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7428 }
7429 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7430 ecode3 = SWIG_AsVal_int(obj2, &val3);
7431 if (!SWIG_IsOK(ecode3)) {
7432 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7433 }
7434 arg3 = static_cast< int >(val3);
7435 if (obj3) {
7436 ecode4 = SWIG_AsVal_int(obj3, &val4);
7437 if (!SWIG_IsOK(ecode4)) {
7438 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7439 }
7440 arg4 = static_cast< int >(val4);
7441 }
7442 if (obj4) {
7443 ecode5 = SWIG_AsVal_int(obj4, &val5);
7444 if (!SWIG_IsOK(ecode5)) {
7445 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7446 }
7447 arg5 = static_cast< wxTreeItemIcon >(val5);
7448 }
7449 {
7450 PyThreadState* __tstate = wxPyBeginAllowThreads();
7451 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_Py_Void();
7456 return resultobj;
7457 fail:
7458 return NULL;
7459 }
7460
7461
7462 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj = 0;
7464 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7465 wxTreeItemId *arg2 = 0 ;
7466 wxPyTreeItemData *result = 0 ;
7467 void *argp1 = 0 ;
7468 int res1 = 0 ;
7469 void *argp2 = 0 ;
7470 int res2 = 0 ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 char * kwnames[] = {
7474 (char *) "self",(char *) "item", NULL
7475 };
7476
7477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7479 if (!SWIG_IsOK(res1)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7481 }
7482 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7483 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7484 if (!SWIG_IsOK(res2)) {
7485 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7486 }
7487 if (!argp2) {
7488 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7489 }
7490 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7498 return resultobj;
7499 fail:
7500 return NULL;
7501 }
7502
7503
7504 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj = 0;
7506 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7507 wxTreeItemId *arg2 = 0 ;
7508 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 void *argp2 = 0 ;
7512 int res2 = 0 ;
7513 int res3 = 0 ;
7514 PyObject * obj0 = 0 ;
7515 PyObject * obj1 = 0 ;
7516 PyObject * obj2 = 0 ;
7517 char * kwnames[] = {
7518 (char *) "self",(char *) "item",(char *) "data", NULL
7519 };
7520
7521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7523 if (!SWIG_IsOK(res1)) {
7524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7525 }
7526 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7528 if (!SWIG_IsOK(res2)) {
7529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7530 }
7531 if (!argp2) {
7532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7533 }
7534 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7535 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7536 if (!SWIG_IsOK(res3)) {
7537 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7538 }
7539 {
7540 PyThreadState* __tstate = wxPyBeginAllowThreads();
7541 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = SWIG_Py_Void();
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj = 0;
7554 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7555 wxTreeItemId *arg2 = 0 ;
7556 PyObject *result = 0 ;
7557 void *argp1 = 0 ;
7558 int res1 = 0 ;
7559 void *argp2 = 0 ;
7560 int res2 = 0 ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 char * kwnames[] = {
7564 (char *) "self",(char *) "item", NULL
7565 };
7566
7567 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7568 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7569 if (!SWIG_IsOK(res1)) {
7570 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7571 }
7572 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7573 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7574 if (!SWIG_IsOK(res2)) {
7575 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7576 }
7577 if (!argp2) {
7578 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7579 }
7580 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 resultobj = result;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj = 0;
7596 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7597 wxTreeItemId *arg2 = 0 ;
7598 PyObject *arg3 = (PyObject *) 0 ;
7599 void *argp1 = 0 ;
7600 int res1 = 0 ;
7601 void *argp2 = 0 ;
7602 int res2 = 0 ;
7603 PyObject * obj0 = 0 ;
7604 PyObject * obj1 = 0 ;
7605 PyObject * obj2 = 0 ;
7606 char * kwnames[] = {
7607 (char *) "self",(char *) "item",(char *) "obj", NULL
7608 };
7609
7610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7612 if (!SWIG_IsOK(res1)) {
7613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7614 }
7615 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7616 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7617 if (!SWIG_IsOK(res2)) {
7618 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7619 }
7620 if (!argp2) {
7621 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7622 }
7623 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7624 arg3 = obj2;
7625 {
7626 PyThreadState* __tstate = wxPyBeginAllowThreads();
7627 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7628 wxPyEndAllowThreads(__tstate);
7629 if (PyErr_Occurred()) SWIG_fail;
7630 }
7631 resultobj = SWIG_Py_Void();
7632 return resultobj;
7633 fail:
7634 return NULL;
7635 }
7636
7637
7638 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7639 PyObject *resultobj = 0;
7640 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7641 wxTreeItemId *arg2 = 0 ;
7642 bool arg3 = (bool) true ;
7643 void *argp1 = 0 ;
7644 int res1 = 0 ;
7645 void *argp2 = 0 ;
7646 int res2 = 0 ;
7647 bool val3 ;
7648 int ecode3 = 0 ;
7649 PyObject * obj0 = 0 ;
7650 PyObject * obj1 = 0 ;
7651 PyObject * obj2 = 0 ;
7652 char * kwnames[] = {
7653 (char *) "self",(char *) "item",(char *) "has", NULL
7654 };
7655
7656 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7657 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7658 if (!SWIG_IsOK(res1)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7660 }
7661 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7662 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7663 if (!SWIG_IsOK(res2)) {
7664 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7665 }
7666 if (!argp2) {
7667 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7668 }
7669 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7670 if (obj2) {
7671 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7672 if (!SWIG_IsOK(ecode3)) {
7673 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7674 }
7675 arg3 = static_cast< bool >(val3);
7676 }
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7680 wxPyEndAllowThreads(__tstate);
7681 if (PyErr_Occurred()) SWIG_fail;
7682 }
7683 resultobj = SWIG_Py_Void();
7684 return resultobj;
7685 fail:
7686 return NULL;
7687 }
7688
7689
7690 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7691 PyObject *resultobj = 0;
7692 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7693 wxTreeItemId *arg2 = 0 ;
7694 bool arg3 = (bool) true ;
7695 void *argp1 = 0 ;
7696 int res1 = 0 ;
7697 void *argp2 = 0 ;
7698 int res2 = 0 ;
7699 bool val3 ;
7700 int ecode3 = 0 ;
7701 PyObject * obj0 = 0 ;
7702 PyObject * obj1 = 0 ;
7703 PyObject * obj2 = 0 ;
7704 char * kwnames[] = {
7705 (char *) "self",(char *) "item",(char *) "bold", NULL
7706 };
7707
7708 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7709 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7710 if (!SWIG_IsOK(res1)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7712 }
7713 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7714 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7715 if (!SWIG_IsOK(res2)) {
7716 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7717 }
7718 if (!argp2) {
7719 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7720 }
7721 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7722 if (obj2) {
7723 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7724 if (!SWIG_IsOK(ecode3)) {
7725 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7726 }
7727 arg3 = static_cast< bool >(val3);
7728 }
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = SWIG_Py_Void();
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj = 0;
7744 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7745 wxTreeItemId *arg2 = 0 ;
7746 wxColour *arg3 = 0 ;
7747 void *argp1 = 0 ;
7748 int res1 = 0 ;
7749 void *argp2 = 0 ;
7750 int res2 = 0 ;
7751 wxColour temp3 ;
7752 PyObject * obj0 = 0 ;
7753 PyObject * obj1 = 0 ;
7754 PyObject * obj2 = 0 ;
7755 char * kwnames[] = {
7756 (char *) "self",(char *) "item",(char *) "colour", NULL
7757 };
7758
7759 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7760 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7761 if (!SWIG_IsOK(res1)) {
7762 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7763 }
7764 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7765 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7766 if (!SWIG_IsOK(res2)) {
7767 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7768 }
7769 if (!argp2) {
7770 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7771 }
7772 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7773 {
7774 arg3 = &temp3;
7775 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7776 }
7777 {
7778 PyThreadState* __tstate = wxPyBeginAllowThreads();
7779 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7780 wxPyEndAllowThreads(__tstate);
7781 if (PyErr_Occurred()) SWIG_fail;
7782 }
7783 resultobj = SWIG_Py_Void();
7784 return resultobj;
7785 fail:
7786 return NULL;
7787 }
7788
7789
7790 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7791 PyObject *resultobj = 0;
7792 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7793 wxTreeItemId *arg2 = 0 ;
7794 wxColour *arg3 = 0 ;
7795 void *argp1 = 0 ;
7796 int res1 = 0 ;
7797 void *argp2 = 0 ;
7798 int res2 = 0 ;
7799 wxColour temp3 ;
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 PyObject * obj2 = 0 ;
7803 char * kwnames[] = {
7804 (char *) "self",(char *) "item",(char *) "colour", NULL
7805 };
7806
7807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7809 if (!SWIG_IsOK(res1)) {
7810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7811 }
7812 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7813 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7814 if (!SWIG_IsOK(res2)) {
7815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7816 }
7817 if (!argp2) {
7818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7819 }
7820 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7821 {
7822 arg3 = &temp3;
7823 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7824 }
7825 {
7826 PyThreadState* __tstate = wxPyBeginAllowThreads();
7827 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7828 wxPyEndAllowThreads(__tstate);
7829 if (PyErr_Occurred()) SWIG_fail;
7830 }
7831 resultobj = SWIG_Py_Void();
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7839 PyObject *resultobj = 0;
7840 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7841 wxTreeItemId *arg2 = 0 ;
7842 wxFont *arg3 = 0 ;
7843 void *argp1 = 0 ;
7844 int res1 = 0 ;
7845 void *argp2 = 0 ;
7846 int res2 = 0 ;
7847 void *argp3 = 0 ;
7848 int res3 = 0 ;
7849 PyObject * obj0 = 0 ;
7850 PyObject * obj1 = 0 ;
7851 PyObject * obj2 = 0 ;
7852 char * kwnames[] = {
7853 (char *) "self",(char *) "item",(char *) "font", NULL
7854 };
7855
7856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7858 if (!SWIG_IsOK(res1)) {
7859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7860 }
7861 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7862 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7863 if (!SWIG_IsOK(res2)) {
7864 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7865 }
7866 if (!argp2) {
7867 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7868 }
7869 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7870 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7871 if (!SWIG_IsOK(res3)) {
7872 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7873 }
7874 if (!argp3) {
7875 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7876 }
7877 arg3 = reinterpret_cast< wxFont * >(argp3);
7878 {
7879 PyThreadState* __tstate = wxPyBeginAllowThreads();
7880 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 resultobj = SWIG_Py_Void();
7885 return resultobj;
7886 fail:
7887 return NULL;
7888 }
7889
7890
7891 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj = 0;
7893 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7894 wxTreeItemId *arg2 = 0 ;
7895 bool result;
7896 void *argp1 = 0 ;
7897 int res1 = 0 ;
7898 void *argp2 = 0 ;
7899 int res2 = 0 ;
7900 PyObject * obj0 = 0 ;
7901 PyObject * obj1 = 0 ;
7902 char * kwnames[] = {
7903 (char *) "self",(char *) "item", NULL
7904 };
7905
7906 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7907 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7908 if (!SWIG_IsOK(res1)) {
7909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7910 }
7911 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7912 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7913 if (!SWIG_IsOK(res2)) {
7914 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7915 }
7916 if (!argp2) {
7917 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7918 }
7919 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 {
7927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7928 }
7929 return resultobj;
7930 fail:
7931 return NULL;
7932 }
7933
7934
7935 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj = 0;
7937 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7938 wxTreeItemId *arg2 = 0 ;
7939 wxColour result;
7940 void *argp1 = 0 ;
7941 int res1 = 0 ;
7942 void *argp2 = 0 ;
7943 int res2 = 0 ;
7944 PyObject * obj0 = 0 ;
7945 PyObject * obj1 = 0 ;
7946 char * kwnames[] = {
7947 (char *) "self",(char *) "item", NULL
7948 };
7949
7950 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7951 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7952 if (!SWIG_IsOK(res1)) {
7953 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7954 }
7955 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7956 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7957 if (!SWIG_IsOK(res2)) {
7958 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7959 }
7960 if (!argp2) {
7961 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7962 }
7963 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7971 return resultobj;
7972 fail:
7973 return NULL;
7974 }
7975
7976
7977 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj = 0;
7979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7980 wxTreeItemId *arg2 = 0 ;
7981 wxColour result;
7982 void *argp1 = 0 ;
7983 int res1 = 0 ;
7984 void *argp2 = 0 ;
7985 int res2 = 0 ;
7986 PyObject * obj0 = 0 ;
7987 PyObject * obj1 = 0 ;
7988 char * kwnames[] = {
7989 (char *) "self",(char *) "item", NULL
7990 };
7991
7992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
7993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7994 if (!SWIG_IsOK(res1)) {
7995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7996 }
7997 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7998 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7999 if (!SWIG_IsOK(res2)) {
8000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8001 }
8002 if (!argp2) {
8003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8004 }
8005 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8006 {
8007 PyThreadState* __tstate = wxPyBeginAllowThreads();
8008 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8013 return resultobj;
8014 fail:
8015 return NULL;
8016 }
8017
8018
8019 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj = 0;
8021 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8022 wxTreeItemId *arg2 = 0 ;
8023 wxFont result;
8024 void *argp1 = 0 ;
8025 int res1 = 0 ;
8026 void *argp2 = 0 ;
8027 int res2 = 0 ;
8028 PyObject * obj0 = 0 ;
8029 PyObject * obj1 = 0 ;
8030 char * kwnames[] = {
8031 (char *) "self",(char *) "item", NULL
8032 };
8033
8034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8036 if (!SWIG_IsOK(res1)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8038 }
8039 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8041 if (!SWIG_IsOK(res2)) {
8042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8043 }
8044 if (!argp2) {
8045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8046 }
8047 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8055 return resultobj;
8056 fail:
8057 return NULL;
8058 }
8059
8060
8061 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8062 PyObject *resultobj = 0;
8063 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8064 wxTreeItemId *arg2 = 0 ;
8065 bool result;
8066 void *argp1 = 0 ;
8067 int res1 = 0 ;
8068 void *argp2 = 0 ;
8069 int res2 = 0 ;
8070 PyObject * obj0 = 0 ;
8071 PyObject * obj1 = 0 ;
8072 char * kwnames[] = {
8073 (char *) "self",(char *) "item", NULL
8074 };
8075
8076 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8077 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8078 if (!SWIG_IsOK(res1)) {
8079 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8080 }
8081 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8082 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8083 if (!SWIG_IsOK(res2)) {
8084 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8085 }
8086 if (!argp2) {
8087 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8088 }
8089 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8093 wxPyEndAllowThreads(__tstate);
8094 if (PyErr_Occurred()) SWIG_fail;
8095 }
8096 {
8097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8098 }
8099 return resultobj;
8100 fail:
8101 return NULL;
8102 }
8103
8104
8105 SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj = 0;
8107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8108 wxTreeItemId *arg2 = 0 ;
8109 bool result;
8110 void *argp1 = 0 ;
8111 int res1 = 0 ;
8112 void *argp2 = 0 ;
8113 int res2 = 0 ;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj1 = 0 ;
8116 char * kwnames[] = {
8117 (char *) "self",(char *) "item", NULL
8118 };
8119
8120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8122 if (!SWIG_IsOK(res1)) {
8123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8124 }
8125 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8126 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8127 if (!SWIG_IsOK(res2)) {
8128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8129 }
8130 if (!argp2) {
8131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8132 }
8133 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8134 {
8135 PyThreadState* __tstate = wxPyBeginAllowThreads();
8136 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 {
8141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8142 }
8143 return resultobj;
8144 fail:
8145 return NULL;
8146 }
8147
8148
8149 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8150 PyObject *resultobj = 0;
8151 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8152 wxTreeItemId *arg2 = 0 ;
8153 bool result;
8154 void *argp1 = 0 ;
8155 int res1 = 0 ;
8156 void *argp2 = 0 ;
8157 int res2 = 0 ;
8158 PyObject * obj0 = 0 ;
8159 PyObject * obj1 = 0 ;
8160 char * kwnames[] = {
8161 (char *) "self",(char *) "item", NULL
8162 };
8163
8164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8165 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8166 if (!SWIG_IsOK(res1)) {
8167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8168 }
8169 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8170 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8171 if (!SWIG_IsOK(res2)) {
8172 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8173 }
8174 if (!argp2) {
8175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8176 }
8177 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8178 {
8179 PyThreadState* __tstate = wxPyBeginAllowThreads();
8180 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 {
8185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8186 }
8187 return resultobj;
8188 fail:
8189 return NULL;
8190 }
8191
8192
8193 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8194 PyObject *resultobj = 0;
8195 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8196 wxTreeItemId *arg2 = 0 ;
8197 bool result;
8198 void *argp1 = 0 ;
8199 int res1 = 0 ;
8200 void *argp2 = 0 ;
8201 int res2 = 0 ;
8202 PyObject * obj0 = 0 ;
8203 PyObject * obj1 = 0 ;
8204 char * kwnames[] = {
8205 (char *) "self",(char *) "item", NULL
8206 };
8207
8208 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8209 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8210 if (!SWIG_IsOK(res1)) {
8211 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8212 }
8213 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8214 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8215 if (!SWIG_IsOK(res2)) {
8216 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8217 }
8218 if (!argp2) {
8219 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8220 }
8221 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 {
8229 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8230 }
8231 return resultobj;
8232 fail:
8233 return NULL;
8234 }
8235
8236
8237 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj = 0;
8239 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8240 wxTreeItemId *arg2 = 0 ;
8241 bool result;
8242 void *argp1 = 0 ;
8243 int res1 = 0 ;
8244 void *argp2 = 0 ;
8245 int res2 = 0 ;
8246 PyObject * obj0 = 0 ;
8247 PyObject * obj1 = 0 ;
8248 char * kwnames[] = {
8249 (char *) "self",(char *) "item", NULL
8250 };
8251
8252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8254 if (!SWIG_IsOK(res1)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8256 }
8257 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8259 if (!SWIG_IsOK(res2)) {
8260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8261 }
8262 if (!argp2) {
8263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8264 }
8265 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8266 {
8267 PyThreadState* __tstate = wxPyBeginAllowThreads();
8268 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 {
8273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8274 }
8275 return resultobj;
8276 fail:
8277 return NULL;
8278 }
8279
8280
8281 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8282 PyObject *resultobj = 0;
8283 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8284 wxTreeItemId *arg2 = 0 ;
8285 bool arg3 = (bool) true ;
8286 size_t result;
8287 void *argp1 = 0 ;
8288 int res1 = 0 ;
8289 void *argp2 = 0 ;
8290 int res2 = 0 ;
8291 bool val3 ;
8292 int ecode3 = 0 ;
8293 PyObject * obj0 = 0 ;
8294 PyObject * obj1 = 0 ;
8295 PyObject * obj2 = 0 ;
8296 char * kwnames[] = {
8297 (char *) "self",(char *) "item",(char *) "recursively", NULL
8298 };
8299
8300 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8301 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8302 if (!SWIG_IsOK(res1)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8304 }
8305 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8306 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8307 if (!SWIG_IsOK(res2)) {
8308 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8309 }
8310 if (!argp2) {
8311 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8312 }
8313 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8314 if (obj2) {
8315 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8316 if (!SWIG_IsOK(ecode3)) {
8317 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8318 }
8319 arg3 = static_cast< bool >(val3);
8320 }
8321 {
8322 PyThreadState* __tstate = wxPyBeginAllowThreads();
8323 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8324 wxPyEndAllowThreads(__tstate);
8325 if (PyErr_Occurred()) SWIG_fail;
8326 }
8327 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8328 return resultobj;
8329 fail:
8330 return NULL;
8331 }
8332
8333
8334 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8335 PyObject *resultobj = 0;
8336 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8337 wxTreeItemId result;
8338 void *argp1 = 0 ;
8339 int res1 = 0 ;
8340 PyObject *swig_obj[1] ;
8341
8342 if (!args) SWIG_fail;
8343 swig_obj[0] = args;
8344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8345 if (!SWIG_IsOK(res1)) {
8346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8347 }
8348 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8349 {
8350 PyThreadState* __tstate = wxPyBeginAllowThreads();
8351 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8352 wxPyEndAllowThreads(__tstate);
8353 if (PyErr_Occurred()) SWIG_fail;
8354 }
8355 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8356 return resultobj;
8357 fail:
8358 return NULL;
8359 }
8360
8361
8362 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8363 PyObject *resultobj = 0;
8364 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8365 wxTreeItemId result;
8366 void *argp1 = 0 ;
8367 int res1 = 0 ;
8368 PyObject *swig_obj[1] ;
8369
8370 if (!args) SWIG_fail;
8371 swig_obj[0] = args;
8372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8373 if (!SWIG_IsOK(res1)) {
8374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8375 }
8376 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8377 {
8378 PyThreadState* __tstate = wxPyBeginAllowThreads();
8379 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8384 return resultobj;
8385 fail:
8386 return NULL;
8387 }
8388
8389
8390 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8391 PyObject *resultobj = 0;
8392 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8393 PyObject *result = 0 ;
8394 void *argp1 = 0 ;
8395 int res1 = 0 ;
8396 PyObject *swig_obj[1] ;
8397
8398 if (!args) SWIG_fail;
8399 swig_obj[0] = args;
8400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8401 if (!SWIG_IsOK(res1)) {
8402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8403 }
8404 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8405 {
8406 PyThreadState* __tstate = wxPyBeginAllowThreads();
8407 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8408 wxPyEndAllowThreads(__tstate);
8409 if (PyErr_Occurred()) SWIG_fail;
8410 }
8411 resultobj = result;
8412 return resultobj;
8413 fail:
8414 return NULL;
8415 }
8416
8417
8418 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8419 PyObject *resultobj = 0;
8420 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8421 wxTreeItemId *arg2 = 0 ;
8422 wxTreeItemId result;
8423 void *argp1 = 0 ;
8424 int res1 = 0 ;
8425 void *argp2 = 0 ;
8426 int res2 = 0 ;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 char * kwnames[] = {
8430 (char *) "self",(char *) "item", NULL
8431 };
8432
8433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8435 if (!SWIG_IsOK(res1)) {
8436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8437 }
8438 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8439 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8440 if (!SWIG_IsOK(res2)) {
8441 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8442 }
8443 if (!argp2) {
8444 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8445 }
8446 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8450 wxPyEndAllowThreads(__tstate);
8451 if (PyErr_Occurred()) SWIG_fail;
8452 }
8453 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8454 return resultobj;
8455 fail:
8456 return NULL;
8457 }
8458
8459
8460 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8461 PyObject *resultobj = 0;
8462 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8463 wxTreeItemId *arg2 = 0 ;
8464 PyObject *result = 0 ;
8465 void *argp1 = 0 ;
8466 int res1 = 0 ;
8467 void *argp2 = 0 ;
8468 int res2 = 0 ;
8469 PyObject * obj0 = 0 ;
8470 PyObject * obj1 = 0 ;
8471 char * kwnames[] = {
8472 (char *) "self",(char *) "item", NULL
8473 };
8474
8475 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8476 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8477 if (!SWIG_IsOK(res1)) {
8478 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8479 }
8480 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8481 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8482 if (!SWIG_IsOK(res2)) {
8483 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8484 }
8485 if (!argp2) {
8486 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8487 }
8488 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = result;
8496 return resultobj;
8497 fail:
8498 return NULL;
8499 }
8500
8501
8502 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj = 0;
8504 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8505 wxTreeItemId *arg2 = 0 ;
8506 void *arg3 = (void *) 0 ;
8507 PyObject *result = 0 ;
8508 void *argp1 = 0 ;
8509 int res1 = 0 ;
8510 void *argp2 = 0 ;
8511 int res2 = 0 ;
8512 int res3 ;
8513 PyObject * obj0 = 0 ;
8514 PyObject * obj1 = 0 ;
8515 PyObject * obj2 = 0 ;
8516 char * kwnames[] = {
8517 (char *) "self",(char *) "item",(char *) "cookie", NULL
8518 };
8519
8520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8522 if (!SWIG_IsOK(res1)) {
8523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8524 }
8525 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8526 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8527 if (!SWIG_IsOK(res2)) {
8528 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8529 }
8530 if (!argp2) {
8531 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8532 }
8533 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8534 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8535 if (!SWIG_IsOK(res3)) {
8536 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8537 }
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = result;
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj = 0;
8553 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8554 wxTreeItemId *arg2 = 0 ;
8555 wxTreeItemId result;
8556 void *argp1 = 0 ;
8557 int res1 = 0 ;
8558 void *argp2 = 0 ;
8559 int res2 = 0 ;
8560 PyObject * obj0 = 0 ;
8561 PyObject * obj1 = 0 ;
8562 char * kwnames[] = {
8563 (char *) "self",(char *) "item", NULL
8564 };
8565
8566 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8567 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8568 if (!SWIG_IsOK(res1)) {
8569 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8570 }
8571 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8572 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8573 if (!SWIG_IsOK(res2)) {
8574 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8575 }
8576 if (!argp2) {
8577 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8578 }
8579 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8583 wxPyEndAllowThreads(__tstate);
8584 if (PyErr_Occurred()) SWIG_fail;
8585 }
8586 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8587 return resultobj;
8588 fail:
8589 return NULL;
8590 }
8591
8592
8593 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8594 PyObject *resultobj = 0;
8595 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8596 wxTreeItemId *arg2 = 0 ;
8597 wxTreeItemId result;
8598 void *argp1 = 0 ;
8599 int res1 = 0 ;
8600 void *argp2 = 0 ;
8601 int res2 = 0 ;
8602 PyObject * obj0 = 0 ;
8603 PyObject * obj1 = 0 ;
8604 char * kwnames[] = {
8605 (char *) "self",(char *) "item", NULL
8606 };
8607
8608 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8609 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8610 if (!SWIG_IsOK(res1)) {
8611 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8612 }
8613 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8614 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8615 if (!SWIG_IsOK(res2)) {
8616 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8617 }
8618 if (!argp2) {
8619 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8620 }
8621 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8625 wxPyEndAllowThreads(__tstate);
8626 if (PyErr_Occurred()) SWIG_fail;
8627 }
8628 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8629 return resultobj;
8630 fail:
8631 return NULL;
8632 }
8633
8634
8635 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8636 PyObject *resultobj = 0;
8637 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8638 wxTreeItemId *arg2 = 0 ;
8639 wxTreeItemId result;
8640 void *argp1 = 0 ;
8641 int res1 = 0 ;
8642 void *argp2 = 0 ;
8643 int res2 = 0 ;
8644 PyObject * obj0 = 0 ;
8645 PyObject * obj1 = 0 ;
8646 char * kwnames[] = {
8647 (char *) "self",(char *) "item", NULL
8648 };
8649
8650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8654 }
8655 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8657 if (!SWIG_IsOK(res2)) {
8658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8659 }
8660 if (!argp2) {
8661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8662 }
8663 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8664 {
8665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8666 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8678 PyObject *resultobj = 0;
8679 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8680 wxTreeItemId result;
8681 void *argp1 = 0 ;
8682 int res1 = 0 ;
8683 PyObject *swig_obj[1] ;
8684
8685 if (!args) SWIG_fail;
8686 swig_obj[0] = args;
8687 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8688 if (!SWIG_IsOK(res1)) {
8689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8690 }
8691 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8695 wxPyEndAllowThreads(__tstate);
8696 if (PyErr_Occurred()) SWIG_fail;
8697 }
8698 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8699 return resultobj;
8700 fail:
8701 return NULL;
8702 }
8703
8704
8705 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8706 PyObject *resultobj = 0;
8707 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8708 wxTreeItemId *arg2 = 0 ;
8709 wxTreeItemId result;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 void *argp2 = 0 ;
8713 int res2 = 0 ;
8714 PyObject * obj0 = 0 ;
8715 PyObject * obj1 = 0 ;
8716 char * kwnames[] = {
8717 (char *) "self",(char *) "item", NULL
8718 };
8719
8720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8722 if (!SWIG_IsOK(res1)) {
8723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8724 }
8725 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8727 if (!SWIG_IsOK(res2)) {
8728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8729 }
8730 if (!argp2) {
8731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8732 }
8733 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8734 {
8735 PyThreadState* __tstate = wxPyBeginAllowThreads();
8736 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8737 wxPyEndAllowThreads(__tstate);
8738 if (PyErr_Occurred()) SWIG_fail;
8739 }
8740 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8741 return resultobj;
8742 fail:
8743 return NULL;
8744 }
8745
8746
8747 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8748 PyObject *resultobj = 0;
8749 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8750 wxTreeItemId *arg2 = 0 ;
8751 wxTreeItemId result;
8752 void *argp1 = 0 ;
8753 int res1 = 0 ;
8754 void *argp2 = 0 ;
8755 int res2 = 0 ;
8756 PyObject * obj0 = 0 ;
8757 PyObject * obj1 = 0 ;
8758 char * kwnames[] = {
8759 (char *) "self",(char *) "item", NULL
8760 };
8761
8762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8764 if (!SWIG_IsOK(res1)) {
8765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8766 }
8767 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8768 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8769 if (!SWIG_IsOK(res2)) {
8770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8771 }
8772 if (!argp2) {
8773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8774 }
8775 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8776 {
8777 PyThreadState* __tstate = wxPyBeginAllowThreads();
8778 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8779 wxPyEndAllowThreads(__tstate);
8780 if (PyErr_Occurred()) SWIG_fail;
8781 }
8782 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8783 return resultobj;
8784 fail:
8785 return NULL;
8786 }
8787
8788
8789 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8790 PyObject *resultobj = 0;
8791 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8792 wxTreeItemId *arg2 = 0 ;
8793 wxTreeItemId result;
8794 void *argp1 = 0 ;
8795 int res1 = 0 ;
8796 void *argp2 = 0 ;
8797 int res2 = 0 ;
8798 PyObject * obj0 = 0 ;
8799 PyObject * obj1 = 0 ;
8800 char * kwnames[] = {
8801 (char *) "self",(char *) "item", NULL
8802 };
8803
8804 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8805 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8806 if (!SWIG_IsOK(res1)) {
8807 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8808 }
8809 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8810 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8811 if (!SWIG_IsOK(res2)) {
8812 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8813 }
8814 if (!argp2) {
8815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8816 }
8817 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj = 0;
8833 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8834 wxString *arg2 = 0 ;
8835 int arg3 = (int) -1 ;
8836 int arg4 = (int) -1 ;
8837 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8838 wxTreeItemId result;
8839 void *argp1 = 0 ;
8840 int res1 = 0 ;
8841 bool temp2 = false ;
8842 int val3 ;
8843 int ecode3 = 0 ;
8844 int val4 ;
8845 int ecode4 = 0 ;
8846 int res5 = 0 ;
8847 PyObject * obj0 = 0 ;
8848 PyObject * obj1 = 0 ;
8849 PyObject * obj2 = 0 ;
8850 PyObject * obj3 = 0 ;
8851 PyObject * obj4 = 0 ;
8852 char * kwnames[] = {
8853 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8854 };
8855
8856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8858 if (!SWIG_IsOK(res1)) {
8859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8860 }
8861 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8862 {
8863 arg2 = wxString_in_helper(obj1);
8864 if (arg2 == NULL) SWIG_fail;
8865 temp2 = true;
8866 }
8867 if (obj2) {
8868 ecode3 = SWIG_AsVal_int(obj2, &val3);
8869 if (!SWIG_IsOK(ecode3)) {
8870 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8871 }
8872 arg3 = static_cast< int >(val3);
8873 }
8874 if (obj3) {
8875 ecode4 = SWIG_AsVal_int(obj3, &val4);
8876 if (!SWIG_IsOK(ecode4)) {
8877 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8878 }
8879 arg4 = static_cast< int >(val4);
8880 }
8881 if (obj4) {
8882 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8883 if (!SWIG_IsOK(res5)) {
8884 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
8885 }
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8894 {
8895 if (temp2)
8896 delete arg2;
8897 }
8898 return resultobj;
8899 fail:
8900 {
8901 if (temp2)
8902 delete arg2;
8903 }
8904 return NULL;
8905 }
8906
8907
8908 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj = 0;
8910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8911 wxTreeItemId *arg2 = 0 ;
8912 wxString *arg3 = 0 ;
8913 int arg4 = (int) -1 ;
8914 int arg5 = (int) -1 ;
8915 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8916 wxTreeItemId result;
8917 void *argp1 = 0 ;
8918 int res1 = 0 ;
8919 void *argp2 = 0 ;
8920 int res2 = 0 ;
8921 bool temp3 = false ;
8922 int val4 ;
8923 int ecode4 = 0 ;
8924 int val5 ;
8925 int ecode5 = 0 ;
8926 int res6 = 0 ;
8927 PyObject * obj0 = 0 ;
8928 PyObject * obj1 = 0 ;
8929 PyObject * obj2 = 0 ;
8930 PyObject * obj3 = 0 ;
8931 PyObject * obj4 = 0 ;
8932 PyObject * obj5 = 0 ;
8933 char * kwnames[] = {
8934 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8935 };
8936
8937 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8938 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8939 if (!SWIG_IsOK(res1)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8941 }
8942 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8943 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8944 if (!SWIG_IsOK(res2)) {
8945 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8946 }
8947 if (!argp2) {
8948 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8949 }
8950 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8951 {
8952 arg3 = wxString_in_helper(obj2);
8953 if (arg3 == NULL) SWIG_fail;
8954 temp3 = true;
8955 }
8956 if (obj3) {
8957 ecode4 = SWIG_AsVal_int(obj3, &val4);
8958 if (!SWIG_IsOK(ecode4)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8960 }
8961 arg4 = static_cast< int >(val4);
8962 }
8963 if (obj4) {
8964 ecode5 = SWIG_AsVal_int(obj4, &val5);
8965 if (!SWIG_IsOK(ecode5)) {
8966 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8967 }
8968 arg5 = static_cast< int >(val5);
8969 }
8970 if (obj5) {
8971 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
8972 if (!SWIG_IsOK(res6)) {
8973 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
8974 }
8975 }
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8983 {
8984 if (temp3)
8985 delete arg3;
8986 }
8987 return resultobj;
8988 fail:
8989 {
8990 if (temp3)
8991 delete arg3;
8992 }
8993 return NULL;
8994 }
8995
8996
8997 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8998 PyObject *resultobj = 0;
8999 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9000 wxTreeItemId *arg2 = 0 ;
9001 wxTreeItemId *arg3 = 0 ;
9002 wxString *arg4 = 0 ;
9003 int arg5 = (int) -1 ;
9004 int arg6 = (int) -1 ;
9005 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9006 wxTreeItemId result;
9007 void *argp1 = 0 ;
9008 int res1 = 0 ;
9009 void *argp2 = 0 ;
9010 int res2 = 0 ;
9011 void *argp3 = 0 ;
9012 int res3 = 0 ;
9013 bool temp4 = false ;
9014 int val5 ;
9015 int ecode5 = 0 ;
9016 int val6 ;
9017 int ecode6 = 0 ;
9018 int res7 = 0 ;
9019 PyObject * obj0 = 0 ;
9020 PyObject * obj1 = 0 ;
9021 PyObject * obj2 = 0 ;
9022 PyObject * obj3 = 0 ;
9023 PyObject * obj4 = 0 ;
9024 PyObject * obj5 = 0 ;
9025 PyObject * obj6 = 0 ;
9026 char * kwnames[] = {
9027 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9028 };
9029
9030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9032 if (!SWIG_IsOK(res1)) {
9033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9034 }
9035 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9036 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9037 if (!SWIG_IsOK(res2)) {
9038 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9039 }
9040 if (!argp2) {
9041 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9042 }
9043 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9044 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9045 if (!SWIG_IsOK(res3)) {
9046 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9047 }
9048 if (!argp3) {
9049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9050 }
9051 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9052 {
9053 arg4 = wxString_in_helper(obj3);
9054 if (arg4 == NULL) SWIG_fail;
9055 temp4 = true;
9056 }
9057 if (obj4) {
9058 ecode5 = SWIG_AsVal_int(obj4, &val5);
9059 if (!SWIG_IsOK(ecode5)) {
9060 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9061 }
9062 arg5 = static_cast< int >(val5);
9063 }
9064 if (obj5) {
9065 ecode6 = SWIG_AsVal_int(obj5, &val6);
9066 if (!SWIG_IsOK(ecode6)) {
9067 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9068 }
9069 arg6 = static_cast< int >(val6);
9070 }
9071 if (obj6) {
9072 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9073 if (!SWIG_IsOK(res7)) {
9074 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9075 }
9076 }
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9080 wxPyEndAllowThreads(__tstate);
9081 if (PyErr_Occurred()) SWIG_fail;
9082 }
9083 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9084 {
9085 if (temp4)
9086 delete arg4;
9087 }
9088 return resultobj;
9089 fail:
9090 {
9091 if (temp4)
9092 delete arg4;
9093 }
9094 return NULL;
9095 }
9096
9097
9098 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9099 PyObject *resultobj = 0;
9100 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9101 wxTreeItemId *arg2 = 0 ;
9102 size_t arg3 ;
9103 wxString *arg4 = 0 ;
9104 int arg5 = (int) -1 ;
9105 int arg6 = (int) -1 ;
9106 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9107 wxTreeItemId result;
9108 void *argp1 = 0 ;
9109 int res1 = 0 ;
9110 void *argp2 = 0 ;
9111 int res2 = 0 ;
9112 size_t val3 ;
9113 int ecode3 = 0 ;
9114 bool temp4 = false ;
9115 int val5 ;
9116 int ecode5 = 0 ;
9117 int val6 ;
9118 int ecode6 = 0 ;
9119 int res7 = 0 ;
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 PyObject * obj2 = 0 ;
9123 PyObject * obj3 = 0 ;
9124 PyObject * obj4 = 0 ;
9125 PyObject * obj5 = 0 ;
9126 PyObject * obj6 = 0 ;
9127 char * kwnames[] = {
9128 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9129 };
9130
9131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9133 if (!SWIG_IsOK(res1)) {
9134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9135 }
9136 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9138 if (!SWIG_IsOK(res2)) {
9139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9140 }
9141 if (!argp2) {
9142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9143 }
9144 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9145 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9146 if (!SWIG_IsOK(ecode3)) {
9147 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9148 }
9149 arg3 = static_cast< size_t >(val3);
9150 {
9151 arg4 = wxString_in_helper(obj3);
9152 if (arg4 == NULL) SWIG_fail;
9153 temp4 = true;
9154 }
9155 if (obj4) {
9156 ecode5 = SWIG_AsVal_int(obj4, &val5);
9157 if (!SWIG_IsOK(ecode5)) {
9158 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9159 }
9160 arg5 = static_cast< int >(val5);
9161 }
9162 if (obj5) {
9163 ecode6 = SWIG_AsVal_int(obj5, &val6);
9164 if (!SWIG_IsOK(ecode6)) {
9165 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9166 }
9167 arg6 = static_cast< int >(val6);
9168 }
9169 if (obj6) {
9170 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9171 if (!SWIG_IsOK(res7)) {
9172 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9173 }
9174 }
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9182 {
9183 if (temp4)
9184 delete arg4;
9185 }
9186 return resultobj;
9187 fail:
9188 {
9189 if (temp4)
9190 delete arg4;
9191 }
9192 return NULL;
9193 }
9194
9195
9196 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj = 0;
9198 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9199 wxTreeItemId *arg2 = 0 ;
9200 wxString *arg3 = 0 ;
9201 int arg4 = (int) -1 ;
9202 int arg5 = (int) -1 ;
9203 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9204 wxTreeItemId result;
9205 void *argp1 = 0 ;
9206 int res1 = 0 ;
9207 void *argp2 = 0 ;
9208 int res2 = 0 ;
9209 bool temp3 = false ;
9210 int val4 ;
9211 int ecode4 = 0 ;
9212 int val5 ;
9213 int ecode5 = 0 ;
9214 int res6 = 0 ;
9215 PyObject * obj0 = 0 ;
9216 PyObject * obj1 = 0 ;
9217 PyObject * obj2 = 0 ;
9218 PyObject * obj3 = 0 ;
9219 PyObject * obj4 = 0 ;
9220 PyObject * obj5 = 0 ;
9221 char * kwnames[] = {
9222 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9223 };
9224
9225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9227 if (!SWIG_IsOK(res1)) {
9228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9229 }
9230 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9232 if (!SWIG_IsOK(res2)) {
9233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9234 }
9235 if (!argp2) {
9236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9237 }
9238 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9239 {
9240 arg3 = wxString_in_helper(obj2);
9241 if (arg3 == NULL) SWIG_fail;
9242 temp3 = true;
9243 }
9244 if (obj3) {
9245 ecode4 = SWIG_AsVal_int(obj3, &val4);
9246 if (!SWIG_IsOK(ecode4)) {
9247 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9248 }
9249 arg4 = static_cast< int >(val4);
9250 }
9251 if (obj4) {
9252 ecode5 = SWIG_AsVal_int(obj4, &val5);
9253 if (!SWIG_IsOK(ecode5)) {
9254 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9255 }
9256 arg5 = static_cast< int >(val5);
9257 }
9258 if (obj5) {
9259 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9260 if (!SWIG_IsOK(res6)) {
9261 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9262 }
9263 }
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9267 wxPyEndAllowThreads(__tstate);
9268 if (PyErr_Occurred()) SWIG_fail;
9269 }
9270 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9271 {
9272 if (temp3)
9273 delete arg3;
9274 }
9275 return resultobj;
9276 fail:
9277 {
9278 if (temp3)
9279 delete arg3;
9280 }
9281 return NULL;
9282 }
9283
9284
9285 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj = 0;
9287 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9288 wxTreeItemId *arg2 = 0 ;
9289 void *argp1 = 0 ;
9290 int res1 = 0 ;
9291 void *argp2 = 0 ;
9292 int res2 = 0 ;
9293 PyObject * obj0 = 0 ;
9294 PyObject * obj1 = 0 ;
9295 char * kwnames[] = {
9296 (char *) "self",(char *) "item", NULL
9297 };
9298
9299 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9300 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9301 if (!SWIG_IsOK(res1)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9303 }
9304 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9305 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9306 if (!SWIG_IsOK(res2)) {
9307 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9308 }
9309 if (!argp2) {
9310 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9311 }
9312 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9313 {
9314 PyThreadState* __tstate = wxPyBeginAllowThreads();
9315 (arg1)->Delete((wxTreeItemId const &)*arg2);
9316 wxPyEndAllowThreads(__tstate);
9317 if (PyErr_Occurred()) SWIG_fail;
9318 }
9319 resultobj = SWIG_Py_Void();
9320 return resultobj;
9321 fail:
9322 return NULL;
9323 }
9324
9325
9326 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9327 PyObject *resultobj = 0;
9328 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9329 wxTreeItemId *arg2 = 0 ;
9330 void *argp1 = 0 ;
9331 int res1 = 0 ;
9332 void *argp2 = 0 ;
9333 int res2 = 0 ;
9334 PyObject * obj0 = 0 ;
9335 PyObject * obj1 = 0 ;
9336 char * kwnames[] = {
9337 (char *) "self",(char *) "item", NULL
9338 };
9339
9340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9342 if (!SWIG_IsOK(res1)) {
9343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9344 }
9345 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9346 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9347 if (!SWIG_IsOK(res2)) {
9348 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9349 }
9350 if (!argp2) {
9351 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9352 }
9353 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_Py_Void();
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9368 PyObject *resultobj = 0;
9369 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9370 void *argp1 = 0 ;
9371 int res1 = 0 ;
9372 PyObject *swig_obj[1] ;
9373
9374 if (!args) SWIG_fail;
9375 swig_obj[0] = args;
9376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9377 if (!SWIG_IsOK(res1)) {
9378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9379 }
9380 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 (arg1)->DeleteAllItems();
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 resultobj = SWIG_Py_Void();
9388 return resultobj;
9389 fail:
9390 return NULL;
9391 }
9392
9393
9394 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj = 0;
9396 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9397 wxTreeItemId *arg2 = 0 ;
9398 void *argp1 = 0 ;
9399 int res1 = 0 ;
9400 void *argp2 = 0 ;
9401 int res2 = 0 ;
9402 PyObject * obj0 = 0 ;
9403 PyObject * obj1 = 0 ;
9404 char * kwnames[] = {
9405 (char *) "self",(char *) "item", NULL
9406 };
9407
9408 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9409 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9410 if (!SWIG_IsOK(res1)) {
9411 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9412 }
9413 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9414 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9415 if (!SWIG_IsOK(res2)) {
9416 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9417 }
9418 if (!argp2) {
9419 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9420 }
9421 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9422 {
9423 PyThreadState* __tstate = wxPyBeginAllowThreads();
9424 (arg1)->Expand((wxTreeItemId const &)*arg2);
9425 wxPyEndAllowThreads(__tstate);
9426 if (PyErr_Occurred()) SWIG_fail;
9427 }
9428 resultobj = SWIG_Py_Void();
9429 return resultobj;
9430 fail:
9431 return NULL;
9432 }
9433
9434
9435 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9436 PyObject *resultobj = 0;
9437 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9438 wxTreeItemId *arg2 = 0 ;
9439 void *argp1 = 0 ;
9440 int res1 = 0 ;
9441 void *argp2 = 0 ;
9442 int res2 = 0 ;
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 char * kwnames[] = {
9446 (char *) "self",(char *) "item", NULL
9447 };
9448
9449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9451 if (!SWIG_IsOK(res1)) {
9452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9453 }
9454 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9455 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9456 if (!SWIG_IsOK(res2)) {
9457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9458 }
9459 if (!argp2) {
9460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9461 }
9462 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 resultobj = SWIG_Py_Void();
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj = 0;
9478 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9479 wxTreeItemId *arg2 = 0 ;
9480 void *argp1 = 0 ;
9481 int res1 = 0 ;
9482 void *argp2 = 0 ;
9483 int res2 = 0 ;
9484 PyObject * obj0 = 0 ;
9485 PyObject * obj1 = 0 ;
9486 char * kwnames[] = {
9487 (char *) "self",(char *) "item", NULL
9488 };
9489
9490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9492 if (!SWIG_IsOK(res1)) {
9493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9494 }
9495 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9496 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9497 if (!SWIG_IsOK(res2)) {
9498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9499 }
9500 if (!argp2) {
9501 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9502 }
9503 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9504 {
9505 PyThreadState* __tstate = wxPyBeginAllowThreads();
9506 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = SWIG_Py_Void();
9511 return resultobj;
9512 fail:
9513 return NULL;
9514 }
9515
9516
9517 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj = 0;
9519 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9520 wxTreeItemId *arg2 = 0 ;
9521 void *argp1 = 0 ;
9522 int res1 = 0 ;
9523 void *argp2 = 0 ;
9524 int res2 = 0 ;
9525 PyObject * obj0 = 0 ;
9526 PyObject * obj1 = 0 ;
9527 char * kwnames[] = {
9528 (char *) "self",(char *) "item", NULL
9529 };
9530
9531 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9532 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9533 if (!SWIG_IsOK(res1)) {
9534 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9535 }
9536 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9537 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9538 if (!SWIG_IsOK(res2)) {
9539 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9540 }
9541 if (!argp2) {
9542 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9543 }
9544 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9545 {
9546 PyThreadState* __tstate = wxPyBeginAllowThreads();
9547 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9548 wxPyEndAllowThreads(__tstate);
9549 if (PyErr_Occurred()) SWIG_fail;
9550 }
9551 resultobj = SWIG_Py_Void();
9552 return resultobj;
9553 fail:
9554 return NULL;
9555 }
9556
9557
9558 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9559 PyObject *resultobj = 0;
9560 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9561 wxTreeItemId *arg2 = 0 ;
9562 void *argp1 = 0 ;
9563 int res1 = 0 ;
9564 void *argp2 = 0 ;
9565 int res2 = 0 ;
9566 PyObject * obj0 = 0 ;
9567 PyObject * obj1 = 0 ;
9568 char * kwnames[] = {
9569 (char *) "self",(char *) "item", NULL
9570 };
9571
9572 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9573 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9574 if (!SWIG_IsOK(res1)) {
9575 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9576 }
9577 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9578 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9579 if (!SWIG_IsOK(res2)) {
9580 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9581 }
9582 if (!argp2) {
9583 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9584 }
9585 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9586 {
9587 PyThreadState* __tstate = wxPyBeginAllowThreads();
9588 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9589 wxPyEndAllowThreads(__tstate);
9590 if (PyErr_Occurred()) SWIG_fail;
9591 }
9592 resultobj = SWIG_Py_Void();
9593 return resultobj;
9594 fail:
9595 return NULL;
9596 }
9597
9598
9599 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9600 PyObject *resultobj = 0;
9601 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9602 void *argp1 = 0 ;
9603 int res1 = 0 ;
9604 PyObject *swig_obj[1] ;
9605
9606 if (!args) SWIG_fail;
9607 swig_obj[0] = args;
9608 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9609 if (!SWIG_IsOK(res1)) {
9610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9611 }
9612 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9613 {
9614 PyThreadState* __tstate = wxPyBeginAllowThreads();
9615 (arg1)->Unselect();
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 resultobj = SWIG_Py_Void();
9620 return resultobj;
9621 fail:
9622 return NULL;
9623 }
9624
9625
9626 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9627 PyObject *resultobj = 0;
9628 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9629 void *argp1 = 0 ;
9630 int res1 = 0 ;
9631 PyObject *swig_obj[1] ;
9632
9633 if (!args) SWIG_fail;
9634 swig_obj[0] = args;
9635 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9636 if (!SWIG_IsOK(res1)) {
9637 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9638 }
9639 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 (arg1)->UnselectAll();
9643 wxPyEndAllowThreads(__tstate);
9644 if (PyErr_Occurred()) SWIG_fail;
9645 }
9646 resultobj = SWIG_Py_Void();
9647 return resultobj;
9648 fail:
9649 return NULL;
9650 }
9651
9652
9653 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9654 PyObject *resultobj = 0;
9655 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9656 wxTreeItemId *arg2 = 0 ;
9657 bool arg3 = (bool) true ;
9658 bool arg4 = (bool) false ;
9659 void *argp1 = 0 ;
9660 int res1 = 0 ;
9661 void *argp2 = 0 ;
9662 int res2 = 0 ;
9663 bool val3 ;
9664 int ecode3 = 0 ;
9665 bool val4 ;
9666 int ecode4 = 0 ;
9667 PyObject * obj0 = 0 ;
9668 PyObject * obj1 = 0 ;
9669 PyObject * obj2 = 0 ;
9670 PyObject * obj3 = 0 ;
9671 char * kwnames[] = {
9672 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9673 };
9674
9675 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9676 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9677 if (!SWIG_IsOK(res1)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9679 }
9680 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9681 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9682 if (!SWIG_IsOK(res2)) {
9683 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9684 }
9685 if (!argp2) {
9686 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9687 }
9688 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9689 if (obj2) {
9690 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9691 if (!SWIG_IsOK(ecode3)) {
9692 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9693 }
9694 arg3 = static_cast< bool >(val3);
9695 }
9696 if (obj3) {
9697 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9698 if (!SWIG_IsOK(ecode4)) {
9699 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9700 }
9701 arg4 = static_cast< bool >(val4);
9702 }
9703 {
9704 PyThreadState* __tstate = wxPyBeginAllowThreads();
9705 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
9709 resultobj = SWIG_Py_Void();
9710 return resultobj;
9711 fail:
9712 return NULL;
9713 }
9714
9715
9716 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9717 PyObject *resultobj = 0;
9718 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9719 bool arg2 = (bool) false ;
9720 void *argp1 = 0 ;
9721 int res1 = 0 ;
9722 bool val2 ;
9723 int ecode2 = 0 ;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 char * kwnames[] = {
9727 (char *) "self",(char *) "extended_select", NULL
9728 };
9729
9730 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9731 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9732 if (!SWIG_IsOK(res1)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9734 }
9735 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9736 if (obj1) {
9737 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9738 if (!SWIG_IsOK(ecode2)) {
9739 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9740 }
9741 arg2 = static_cast< bool >(val2);
9742 }
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 (arg1)->SelectAll(arg2);
9746 wxPyEndAllowThreads(__tstate);
9747 if (PyErr_Occurred()) SWIG_fail;
9748 }
9749 resultobj = SWIG_Py_Void();
9750 return resultobj;
9751 fail:
9752 return NULL;
9753 }
9754
9755
9756 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9757 PyObject *resultobj = 0;
9758 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9759 wxTreeItemId *arg2 = 0 ;
9760 void *argp1 = 0 ;
9761 int res1 = 0 ;
9762 void *argp2 = 0 ;
9763 int res2 = 0 ;
9764 PyObject * obj0 = 0 ;
9765 PyObject * obj1 = 0 ;
9766 char * kwnames[] = {
9767 (char *) "self",(char *) "item", NULL
9768 };
9769
9770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9772 if (!SWIG_IsOK(res1)) {
9773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9774 }
9775 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9776 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9777 if (!SWIG_IsOK(res2)) {
9778 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9779 }
9780 if (!argp2) {
9781 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9782 }
9783 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9784 {
9785 PyThreadState* __tstate = wxPyBeginAllowThreads();
9786 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9787 wxPyEndAllowThreads(__tstate);
9788 if (PyErr_Occurred()) SWIG_fail;
9789 }
9790 resultobj = SWIG_Py_Void();
9791 return resultobj;
9792 fail:
9793 return NULL;
9794 }
9795
9796
9797 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9798 PyObject *resultobj = 0;
9799 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9800 wxTreeItemId *arg2 = 0 ;
9801 void *argp1 = 0 ;
9802 int res1 = 0 ;
9803 void *argp2 = 0 ;
9804 int res2 = 0 ;
9805 PyObject * obj0 = 0 ;
9806 PyObject * obj1 = 0 ;
9807 char * kwnames[] = {
9808 (char *) "self",(char *) "item", NULL
9809 };
9810
9811 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9812 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9813 if (!SWIG_IsOK(res1)) {
9814 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9815 }
9816 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9817 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9818 if (!SWIG_IsOK(res2)) {
9819 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9820 }
9821 if (!argp2) {
9822 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9823 }
9824 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9825 {
9826 PyThreadState* __tstate = wxPyBeginAllowThreads();
9827 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9828 wxPyEndAllowThreads(__tstate);
9829 if (PyErr_Occurred()) SWIG_fail;
9830 }
9831 resultobj = SWIG_Py_Void();
9832 return resultobj;
9833 fail:
9834 return NULL;
9835 }
9836
9837
9838 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9839 PyObject *resultobj = 0;
9840 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9841 wxPoint *arg2 = 0 ;
9842 int *arg3 = 0 ;
9843 int *arg4 = 0 ;
9844 wxTreeItemId result;
9845 void *argp1 = 0 ;
9846 int res1 = 0 ;
9847 wxPoint temp2 ;
9848 int temp3 ;
9849 int res3 = SWIG_TMPOBJ ;
9850 int temp4 ;
9851 int res4 = SWIG_TMPOBJ ;
9852 PyObject * obj0 = 0 ;
9853 PyObject * obj1 = 0 ;
9854 char * kwnames[] = {
9855 (char *) "self",(char *) "point", NULL
9856 };
9857
9858 arg3 = &temp3;
9859 arg4 = &temp4;
9860 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9861 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9862 if (!SWIG_IsOK(res1)) {
9863 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9864 }
9865 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9866 {
9867 arg2 = &temp2;
9868 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9869 }
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9877 if (SWIG_IsTmpObj(res3)) {
9878 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9879 } else {
9880 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9881 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9882 }
9883 if (SWIG_IsTmpObj(res4)) {
9884 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9885 } else {
9886 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9887 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9888 }
9889 return resultobj;
9890 fail:
9891 return NULL;
9892 }
9893
9894
9895 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9896 PyObject *resultobj = 0;
9897 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9898 wxTreeItemId *arg2 = 0 ;
9899 bool arg3 = (bool) false ;
9900 PyObject *result = 0 ;
9901 void *argp1 = 0 ;
9902 int res1 = 0 ;
9903 void *argp2 = 0 ;
9904 int res2 = 0 ;
9905 bool val3 ;
9906 int ecode3 = 0 ;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 PyObject * obj2 = 0 ;
9910 char * kwnames[] = {
9911 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9912 };
9913
9914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9916 if (!SWIG_IsOK(res1)) {
9917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9918 }
9919 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9920 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9921 if (!SWIG_IsOK(res2)) {
9922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9923 }
9924 if (!argp2) {
9925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9926 }
9927 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9928 if (obj2) {
9929 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9930 if (!SWIG_IsOK(ecode3)) {
9931 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9932 }
9933 arg3 = static_cast< bool >(val3);
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 resultobj = result;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945 }
9946
9947
9948 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj = 0;
9950 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9951 wxTreeItemId *arg2 = 0 ;
9952 void *argp1 = 0 ;
9953 int res1 = 0 ;
9954 void *argp2 = 0 ;
9955 int res2 = 0 ;
9956 PyObject * obj0 = 0 ;
9957 PyObject * obj1 = 0 ;
9958 char * kwnames[] = {
9959 (char *) "self",(char *) "item", NULL
9960 };
9961
9962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9964 if (!SWIG_IsOK(res1)) {
9965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9966 }
9967 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9968 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9969 if (!SWIG_IsOK(res2)) {
9970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9971 }
9972 if (!argp2) {
9973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9974 }
9975 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9979 wxPyEndAllowThreads(__tstate);
9980 if (PyErr_Occurred()) SWIG_fail;
9981 }
9982 resultobj = SWIG_Py_Void();
9983 return resultobj;
9984 fail:
9985 return NULL;
9986 }
9987
9988
9989 SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9990 PyObject *resultobj = 0;
9991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9992 wxTreeItemId *arg2 = 0 ;
9993 void *argp1 = 0 ;
9994 int res1 = 0 ;
9995 void *argp2 = 0 ;
9996 int res2 = 0 ;
9997 PyObject * obj0 = 0 ;
9998 PyObject * obj1 = 0 ;
9999 char * kwnames[] = {
10000 (char *) "self",(char *) "item", NULL
10001 };
10002
10003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10005 if (!SWIG_IsOK(res1)) {
10006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10007 }
10008 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10009 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10010 if (!SWIG_IsOK(res2)) {
10011 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10012 }
10013 if (!argp2) {
10014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10015 }
10016 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 (arg1)->Edit((wxTreeItemId const &)*arg2);
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 resultobj = SWIG_Py_Void();
10024 return resultobj;
10025 fail:
10026 return NULL;
10027 }
10028
10029
10030 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10031 PyObject *resultobj = 0;
10032 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10033 wxTreeItemId *arg2 = 0 ;
10034 void *argp1 = 0 ;
10035 int res1 = 0 ;
10036 void *argp2 = 0 ;
10037 int res2 = 0 ;
10038 PyObject * obj0 = 0 ;
10039 PyObject * obj1 = 0 ;
10040 char * kwnames[] = {
10041 (char *) "self",(char *) "item", NULL
10042 };
10043
10044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10046 if (!SWIG_IsOK(res1)) {
10047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10048 }
10049 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10051 if (!SWIG_IsOK(res2)) {
10052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10053 }
10054 if (!argp2) {
10055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10056 }
10057 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10061 wxPyEndAllowThreads(__tstate);
10062 if (PyErr_Occurred()) SWIG_fail;
10063 }
10064 resultobj = SWIG_Py_Void();
10065 return resultobj;
10066 fail:
10067 return NULL;
10068 }
10069
10070
10071 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10072 PyObject *resultobj = 0;
10073 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10074 wxTreeItemId *arg2 = 0 ;
10075 wxString *arg3 = 0 ;
10076 int arg4 = (int) 0 ;
10077 wxTreeItemId result;
10078 void *argp1 = 0 ;
10079 int res1 = 0 ;
10080 void *argp2 = 0 ;
10081 int res2 = 0 ;
10082 bool temp3 = false ;
10083 int val4 ;
10084 int ecode4 = 0 ;
10085 PyObject * obj0 = 0 ;
10086 PyObject * obj1 = 0 ;
10087 PyObject * obj2 = 0 ;
10088 PyObject * obj3 = 0 ;
10089 char * kwnames[] = {
10090 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10091 };
10092
10093 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10094 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10095 if (!SWIG_IsOK(res1)) {
10096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10097 }
10098 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10099 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10100 if (!SWIG_IsOK(res2)) {
10101 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10102 }
10103 if (!argp2) {
10104 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10105 }
10106 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10107 {
10108 arg3 = wxString_in_helper(obj2);
10109 if (arg3 == NULL) SWIG_fail;
10110 temp3 = true;
10111 }
10112 if (obj3) {
10113 ecode4 = SWIG_AsVal_int(obj3, &val4);
10114 if (!SWIG_IsOK(ecode4)) {
10115 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10116 }
10117 arg4 = static_cast< int >(val4);
10118 }
10119 {
10120 PyThreadState* __tstate = wxPyBeginAllowThreads();
10121 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10122 wxPyEndAllowThreads(__tstate);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10126 {
10127 if (temp3)
10128 delete arg3;
10129 }
10130 return resultobj;
10131 fail:
10132 {
10133 if (temp3)
10134 delete arg3;
10135 }
10136 return NULL;
10137 }
10138
10139
10140 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10141 PyObject *resultobj = 0;
10142 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10143 wxWindow *result = 0 ;
10144 void *argp1 = 0 ;
10145 int res1 = 0 ;
10146 PyObject *swig_obj[1] ;
10147
10148 if (!args) SWIG_fail;
10149 swig_obj[0] = args;
10150 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10151 if (!SWIG_IsOK(res1)) {
10152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10153 }
10154 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10155 {
10156 PyThreadState* __tstate = wxPyBeginAllowThreads();
10157 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 {
10162 resultobj = wxPyMake_wxObject(result, 0);
10163 }
10164 return resultobj;
10165 fail:
10166 return NULL;
10167 }
10168
10169
10170 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10171 PyObject *resultobj = 0;
10172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10173 wxScrolledWindow *result = 0 ;
10174 void *argp1 = 0 ;
10175 int res1 = 0 ;
10176 PyObject *swig_obj[1] ;
10177
10178 if (!args) SWIG_fail;
10179 swig_obj[0] = args;
10180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10181 if (!SWIG_IsOK(res1)) {
10182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10183 }
10184 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10185 {
10186 PyThreadState* __tstate = wxPyBeginAllowThreads();
10187 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 {
10192 resultobj = wxPyMake_wxObject(result, 0);
10193 }
10194 return resultobj;
10195 fail:
10196 return NULL;
10197 }
10198
10199
10200 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10201 PyObject *obj;
10202 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10203 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10204 return SWIG_Py_Void();
10205 }
10206
10207 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10208 return SWIG_Python_InitShadowInstance(args);
10209 }
10210
10211 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10212 PyObject *resultobj = 0;
10213 wxWindow *arg1 = (wxWindow *) 0 ;
10214 int arg2 = (int) -1 ;
10215 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10216 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10217 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10218 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10219 wxSize const &arg5_defvalue = wxDefaultSize ;
10220 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10221 long arg6 = (long) 0 ;
10222 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10223 wxString *arg7 = (wxString *) &arg7_defvalue ;
10224 wxStaticPicture *result = 0 ;
10225 void *argp1 = 0 ;
10226 int res1 = 0 ;
10227 int val2 ;
10228 int ecode2 = 0 ;
10229 void *argp3 = 0 ;
10230 int res3 = 0 ;
10231 wxPoint temp4 ;
10232 wxSize temp5 ;
10233 long val6 ;
10234 int ecode6 = 0 ;
10235 bool temp7 = false ;
10236 PyObject * obj0 = 0 ;
10237 PyObject * obj1 = 0 ;
10238 PyObject * obj2 = 0 ;
10239 PyObject * obj3 = 0 ;
10240 PyObject * obj4 = 0 ;
10241 PyObject * obj5 = 0 ;
10242 PyObject * obj6 = 0 ;
10243 char * kwnames[] = {
10244 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10245 };
10246
10247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10249 if (!SWIG_IsOK(res1)) {
10250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10251 }
10252 arg1 = reinterpret_cast< wxWindow * >(argp1);
10253 if (obj1) {
10254 ecode2 = SWIG_AsVal_int(obj1, &val2);
10255 if (!SWIG_IsOK(ecode2)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10257 }
10258 arg2 = static_cast< int >(val2);
10259 }
10260 if (obj2) {
10261 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10262 if (!SWIG_IsOK(res3)) {
10263 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10264 }
10265 if (!argp3) {
10266 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10267 }
10268 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10269 }
10270 if (obj3) {
10271 {
10272 arg4 = &temp4;
10273 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10274 }
10275 }
10276 if (obj4) {
10277 {
10278 arg5 = &temp5;
10279 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10280 }
10281 }
10282 if (obj5) {
10283 ecode6 = SWIG_AsVal_long(obj5, &val6);
10284 if (!SWIG_IsOK(ecode6)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10286 }
10287 arg6 = static_cast< long >(val6);
10288 }
10289 if (obj6) {
10290 {
10291 arg7 = wxString_in_helper(obj6);
10292 if (arg7 == NULL) SWIG_fail;
10293 temp7 = true;
10294 }
10295 }
10296 {
10297 if (!wxPyCheckForApp()) SWIG_fail;
10298 PyThreadState* __tstate = wxPyBeginAllowThreads();
10299 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10304 {
10305 if (temp7)
10306 delete arg7;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp7)
10312 delete arg7;
10313 }
10314 return NULL;
10315 }
10316
10317
10318 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10319 PyObject *resultobj = 0;
10320 wxStaticPicture *result = 0 ;
10321
10322 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10323 {
10324 if (!wxPyCheckForApp()) SWIG_fail;
10325 PyThreadState* __tstate = wxPyBeginAllowThreads();
10326 result = (wxStaticPicture *)new wxStaticPicture();
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10331 return resultobj;
10332 fail:
10333 return NULL;
10334 }
10335
10336
10337 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj = 0;
10339 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10340 wxWindow *arg2 = (wxWindow *) 0 ;
10341 int arg3 = (int) -1 ;
10342 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10343 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10344 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10345 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10346 wxSize const &arg6_defvalue = wxDefaultSize ;
10347 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10348 long arg7 = (long) 0 ;
10349 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10350 wxString *arg8 = (wxString *) &arg8_defvalue ;
10351 bool result;
10352 void *argp1 = 0 ;
10353 int res1 = 0 ;
10354 void *argp2 = 0 ;
10355 int res2 = 0 ;
10356 int val3 ;
10357 int ecode3 = 0 ;
10358 void *argp4 = 0 ;
10359 int res4 = 0 ;
10360 wxPoint temp5 ;
10361 wxSize temp6 ;
10362 long val7 ;
10363 int ecode7 = 0 ;
10364 bool temp8 = false ;
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 PyObject * obj2 = 0 ;
10368 PyObject * obj3 = 0 ;
10369 PyObject * obj4 = 0 ;
10370 PyObject * obj5 = 0 ;
10371 PyObject * obj6 = 0 ;
10372 PyObject * obj7 = 0 ;
10373 char * kwnames[] = {
10374 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10375 };
10376
10377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10379 if (!SWIG_IsOK(res1)) {
10380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10381 }
10382 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10383 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10384 if (!SWIG_IsOK(res2)) {
10385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10386 }
10387 arg2 = reinterpret_cast< wxWindow * >(argp2);
10388 if (obj2) {
10389 ecode3 = SWIG_AsVal_int(obj2, &val3);
10390 if (!SWIG_IsOK(ecode3)) {
10391 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10392 }
10393 arg3 = static_cast< int >(val3);
10394 }
10395 if (obj3) {
10396 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10397 if (!SWIG_IsOK(res4)) {
10398 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10399 }
10400 if (!argp4) {
10401 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10402 }
10403 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10404 }
10405 if (obj4) {
10406 {
10407 arg5 = &temp5;
10408 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10409 }
10410 }
10411 if (obj5) {
10412 {
10413 arg6 = &temp6;
10414 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10415 }
10416 }
10417 if (obj6) {
10418 ecode7 = SWIG_AsVal_long(obj6, &val7);
10419 if (!SWIG_IsOK(ecode7)) {
10420 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10421 }
10422 arg7 = static_cast< long >(val7);
10423 }
10424 if (obj7) {
10425 {
10426 arg8 = wxString_in_helper(obj7);
10427 if (arg8 == NULL) SWIG_fail;
10428 temp8 = true;
10429 }
10430 }
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 {
10438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10439 }
10440 {
10441 if (temp8)
10442 delete arg8;
10443 }
10444 return resultobj;
10445 fail:
10446 {
10447 if (temp8)
10448 delete arg8;
10449 }
10450 return NULL;
10451 }
10452
10453
10454 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10455 PyObject *resultobj = 0;
10456 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10457 wxBitmap *arg2 = 0 ;
10458 void *argp1 = 0 ;
10459 int res1 = 0 ;
10460 void *argp2 = 0 ;
10461 int res2 = 0 ;
10462 PyObject * obj0 = 0 ;
10463 PyObject * obj1 = 0 ;
10464 char * kwnames[] = {
10465 (char *) "self",(char *) "bmp", NULL
10466 };
10467
10468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10470 if (!SWIG_IsOK(res1)) {
10471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10472 }
10473 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10474 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10475 if (!SWIG_IsOK(res2)) {
10476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10477 }
10478 if (!argp2) {
10479 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10480 }
10481 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = SWIG_Py_Void();
10489 return resultobj;
10490 fail:
10491 return NULL;
10492 }
10493
10494
10495 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10496 PyObject *resultobj = 0;
10497 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10498 wxBitmap result;
10499 void *argp1 = 0 ;
10500 int res1 = 0 ;
10501 PyObject *swig_obj[1] ;
10502
10503 if (!args) SWIG_fail;
10504 swig_obj[0] = args;
10505 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10506 if (!SWIG_IsOK(res1)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10508 }
10509 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10517 return resultobj;
10518 fail:
10519 return NULL;
10520 }
10521
10522
10523 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj = 0;
10525 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10526 wxIcon *arg2 = 0 ;
10527 void *argp1 = 0 ;
10528 int res1 = 0 ;
10529 void *argp2 = 0 ;
10530 int res2 = 0 ;
10531 PyObject * obj0 = 0 ;
10532 PyObject * obj1 = 0 ;
10533 char * kwnames[] = {
10534 (char *) "self",(char *) "icon", NULL
10535 };
10536
10537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10539 if (!SWIG_IsOK(res1)) {
10540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10541 }
10542 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10543 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10544 if (!SWIG_IsOK(res2)) {
10545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10546 }
10547 if (!argp2) {
10548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10549 }
10550 arg2 = reinterpret_cast< wxIcon * >(argp2);
10551 {
10552 PyThreadState* __tstate = wxPyBeginAllowThreads();
10553 (arg1)->SetIcon((wxIcon const &)*arg2);
10554 wxPyEndAllowThreads(__tstate);
10555 if (PyErr_Occurred()) SWIG_fail;
10556 }
10557 resultobj = SWIG_Py_Void();
10558 return resultobj;
10559 fail:
10560 return NULL;
10561 }
10562
10563
10564 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10565 PyObject *resultobj = 0;
10566 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10567 wxIcon result;
10568 void *argp1 = 0 ;
10569 int res1 = 0 ;
10570 PyObject *swig_obj[1] ;
10571
10572 if (!args) SWIG_fail;
10573 swig_obj[0] = args;
10574 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10575 if (!SWIG_IsOK(res1)) {
10576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10577 }
10578 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10579 {
10580 PyThreadState* __tstate = wxPyBeginAllowThreads();
10581 result = ((wxStaticPicture const *)arg1)->GetIcon();
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10586 return resultobj;
10587 fail:
10588 return NULL;
10589 }
10590
10591
10592 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj = 0;
10594 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10595 int arg2 ;
10596 void *argp1 = 0 ;
10597 int res1 = 0 ;
10598 int val2 ;
10599 int ecode2 = 0 ;
10600 PyObject * obj0 = 0 ;
10601 PyObject * obj1 = 0 ;
10602 char * kwnames[] = {
10603 (char *) "self",(char *) "align", NULL
10604 };
10605
10606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10608 if (!SWIG_IsOK(res1)) {
10609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10610 }
10611 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10612 ecode2 = SWIG_AsVal_int(obj1, &val2);
10613 if (!SWIG_IsOK(ecode2)) {
10614 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10615 }
10616 arg2 = static_cast< int >(val2);
10617 {
10618 PyThreadState* __tstate = wxPyBeginAllowThreads();
10619 (arg1)->SetAlignment(arg2);
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 resultobj = SWIG_Py_Void();
10624 return resultobj;
10625 fail:
10626 return NULL;
10627 }
10628
10629
10630 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10631 PyObject *resultobj = 0;
10632 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10633 int result;
10634 void *argp1 = 0 ;
10635 int res1 = 0 ;
10636 PyObject *swig_obj[1] ;
10637
10638 if (!args) SWIG_fail;
10639 swig_obj[0] = args;
10640 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10641 if (!SWIG_IsOK(res1)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10643 }
10644 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = SWIG_From_int(static_cast< int >(result));
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj = 0;
10660 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10661 int arg2 ;
10662 void *argp1 = 0 ;
10663 int res1 = 0 ;
10664 int val2 ;
10665 int ecode2 = 0 ;
10666 PyObject * obj0 = 0 ;
10667 PyObject * obj1 = 0 ;
10668 char * kwnames[] = {
10669 (char *) "self",(char *) "scale", NULL
10670 };
10671
10672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10674 if (!SWIG_IsOK(res1)) {
10675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10676 }
10677 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10678 ecode2 = SWIG_AsVal_int(obj1, &val2);
10679 if (!SWIG_IsOK(ecode2)) {
10680 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10681 }
10682 arg2 = static_cast< int >(val2);
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 (arg1)->SetScale(arg2);
10686 wxPyEndAllowThreads(__tstate);
10687 if (PyErr_Occurred()) SWIG_fail;
10688 }
10689 resultobj = SWIG_Py_Void();
10690 return resultobj;
10691 fail:
10692 return NULL;
10693 }
10694
10695
10696 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10697 PyObject *resultobj = 0;
10698 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10699 int result;
10700 void *argp1 = 0 ;
10701 int res1 = 0 ;
10702 PyObject *swig_obj[1] ;
10703
10704 if (!args) SWIG_fail;
10705 swig_obj[0] = args;
10706 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10707 if (!SWIG_IsOK(res1)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10709 }
10710 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10711 {
10712 PyThreadState* __tstate = wxPyBeginAllowThreads();
10713 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10714 wxPyEndAllowThreads(__tstate);
10715 if (PyErr_Occurred()) SWIG_fail;
10716 }
10717 resultobj = SWIG_From_int(static_cast< int >(result));
10718 return resultobj;
10719 fail:
10720 return NULL;
10721 }
10722
10723
10724 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10725 PyObject *resultobj = 0;
10726 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10727 float arg2 ;
10728 float arg3 ;
10729 void *argp1 = 0 ;
10730 int res1 = 0 ;
10731 float val2 ;
10732 int ecode2 = 0 ;
10733 float val3 ;
10734 int ecode3 = 0 ;
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 PyObject * obj2 = 0 ;
10738 char * kwnames[] = {
10739 (char *) "self",(char *) "sx",(char *) "sy", NULL
10740 };
10741
10742 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10743 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10746 }
10747 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10748 ecode2 = SWIG_AsVal_float(obj1, &val2);
10749 if (!SWIG_IsOK(ecode2)) {
10750 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10751 }
10752 arg2 = static_cast< float >(val2);
10753 ecode3 = SWIG_AsVal_float(obj2, &val3);
10754 if (!SWIG_IsOK(ecode3)) {
10755 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10756 }
10757 arg3 = static_cast< float >(val3);
10758 {
10759 PyThreadState* __tstate = wxPyBeginAllowThreads();
10760 (arg1)->SetCustomScale(arg2,arg3);
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 resultobj = SWIG_Py_Void();
10765 return resultobj;
10766 fail:
10767 return NULL;
10768 }
10769
10770
10771 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10772 PyObject *resultobj = 0;
10773 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10774 float *arg2 = (float *) 0 ;
10775 float *arg3 = (float *) 0 ;
10776 void *argp1 = 0 ;
10777 int res1 = 0 ;
10778 float temp2 ;
10779 int res2 = SWIG_TMPOBJ ;
10780 float temp3 ;
10781 int res3 = SWIG_TMPOBJ ;
10782 PyObject *swig_obj[1] ;
10783
10784 arg2 = &temp2;
10785 arg3 = &temp3;
10786 if (!args) SWIG_fail;
10787 swig_obj[0] = args;
10788 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10789 if (!SWIG_IsOK(res1)) {
10790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10791 }
10792 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10796 wxPyEndAllowThreads(__tstate);
10797 if (PyErr_Occurred()) SWIG_fail;
10798 }
10799 resultobj = SWIG_Py_Void();
10800 if (SWIG_IsTmpObj(res2)) {
10801 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10802 } else {
10803 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10804 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10805 }
10806 if (SWIG_IsTmpObj(res3)) {
10807 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10808 } else {
10809 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10810 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10811 }
10812 return resultobj;
10813 fail:
10814 return NULL;
10815 }
10816
10817
10818 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10819 PyObject *obj;
10820 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10821 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10822 return SWIG_Py_Void();
10823 }
10824
10825 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10826 return SWIG_Python_InitShadowInstance(args);
10827 }
10828
10829 static PyMethodDef SwigMethods[] = {
10830 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10831 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
10832 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
10833 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10834 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
10835 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
10836 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10837 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
10838 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10839 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10840 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10841 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
10842 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
10843 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10844 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
10845 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10846 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10847 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10848 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10849 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10850 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10851 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
10852 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
10853 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
10854 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10855 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10856 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10857 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
10858 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10859 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10860 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
10861 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
10862 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
10863 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10864 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10865 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
10866 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10867 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
10868 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
10869 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10870 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
10871 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
10872 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10873 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
10874 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
10875 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10876 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
10877 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10878 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10879 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10880 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
10881 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10882 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10883 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10884 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
10885 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
10886 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10887 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
10888 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10889 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10890 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10891 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10892 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10893 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
10894 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10895 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10896 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10897 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10900 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
10901 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
10902 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10903 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
10904 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10905 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10906 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10907 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
10908 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
10909 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
10910 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
10911 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10912 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10913 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
10914 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10915 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10916 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10917 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10918 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10919 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10920 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10921 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10922 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10923 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10924 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10925 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
10926 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10927 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10928 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10929 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
10930 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10931 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10941 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10942 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10945 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10946 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10964 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10965 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
10966 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10967 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
10973 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10976 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10979 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10980 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10981 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10982 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
10984 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
10988 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
10989 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
10990 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
10991 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
10999 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11000 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11001 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11002 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11003 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11004 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11005 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11006 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11007 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11008 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11010 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11012 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11013 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11014 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11015 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11016 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11017 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11018 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11019 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11020 { NULL, NULL, 0, NULL }
11021 };
11022
11023
11024 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11025
11026 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11027 return (void *)((wxValidator *) ((wxPyValidator *) x));
11028 }
11029 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11030 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11031 }
11032 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11033 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11034 }
11035 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11036 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11037 }
11038 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11039 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11040 }
11041 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11042 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11043 }
11044 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11045 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11046 }
11047 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11048 return (void *)((wxPanel *) ((wxPyPanel *) x));
11049 }
11050 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11051 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11052 }
11053 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11054 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11055 }
11056 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11057 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11058 }
11059 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11060 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11061 }
11062 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11063 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11064 }
11065 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11066 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11067 }
11068 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11069 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11070 }
11071 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11072 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11073 }
11074 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11075 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11076 }
11077 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11078 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11079 }
11080 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11081 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11082 }
11083 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11084 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11085 }
11086 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11087 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11088 }
11089 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11090 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11091 }
11092 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11093 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11094 }
11095 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11096 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11097 }
11098 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11099 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11100 }
11101 static void *_p_wxControlTo_p_wxWindow(void *x) {
11102 return (void *)((wxWindow *) ((wxControl *) x));
11103 }
11104 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11105 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11106 }
11107 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11108 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11109 }
11110 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11111 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11112 }
11113 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11114 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11115 }
11116 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11117 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11118 }
11119 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11120 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11121 }
11122 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11123 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11124 }
11125 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11126 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11127 }
11128 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11129 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11130 }
11131 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11132 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11133 }
11134 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11135 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11136 }
11137 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11138 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11139 }
11140 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11141 return (void *)((wxWindow *) ((wxPyWindow *) x));
11142 }
11143 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11144 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11145 }
11146 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11147 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11148 }
11149 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11150 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11151 }
11152 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11153 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11154 }
11155 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11156 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11157 }
11158 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11159 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11160 }
11161 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11162 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11163 }
11164 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11165 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11166 }
11167 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11168 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11169 }
11170 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11171 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11172 }
11173 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11174 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11175 }
11176 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11177 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11178 }
11179 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11180 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11181 }
11182 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11183 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11184 }
11185 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11186 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11187 }
11188 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11189 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11190 }
11191 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11192 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11193 }
11194 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11195 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11196 }
11197 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11198 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11199 }
11200 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11201 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11202 }
11203 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11204 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11205 }
11206 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11207 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11208 }
11209 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11210 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11211 }
11212 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11213 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11214 }
11215 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11216 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11217 }
11218 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11219 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11220 }
11221 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11222 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11223 }
11224 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11225 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11226 }
11227 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11228 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11229 }
11230 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11231 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11232 }
11233 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11234 return (void *)((wxWindow *) ((wxStatusBar *) x));
11235 }
11236 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11237 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11238 }
11239 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11240 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11241 }
11242 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11243 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11244 }
11245 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11246 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11247 }
11248 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11249 return (void *)((wxWindow *) ((wxSashWindow *) x));
11250 }
11251 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11252 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11253 }
11254 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11255 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11256 }
11257 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11258 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11259 }
11260 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11261 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11262 }
11263 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11264 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11265 }
11266 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11267 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11268 }
11269 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11270 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11271 }
11272 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11273 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11274 }
11275 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11276 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11277 }
11278 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11279 return (void *)((wxWindow *) ((wxMenuBar *) x));
11280 }
11281 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11282 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11283 }
11284 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11285 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11286 }
11287 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11288 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11289 }
11290 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11291 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11292 }
11293 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11294 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11295 }
11296 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11297 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11298 }
11299 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11300 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11301 }
11302 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11303 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11304 }
11305 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11306 return (void *)((wxWindow *) ((wxPanel *) x));
11307 }
11308 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11309 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11310 }
11311 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11312 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11313 }
11314 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11315 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11316 }
11317 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11318 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11319 }
11320 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11321 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11322 }
11323 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11324 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11325 }
11326 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11327 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11328 }
11329 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11330 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11331 }
11332 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11333 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11334 }
11335 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11336 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11337 }
11338 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11339 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11340 }
11341 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11342 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11343 }
11344 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11345 return (void *)((wxControl *) ((wxToggleButton *) x));
11346 }
11347 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11348 return (void *)((wxControl *) ((wxRadioButton *) x));
11349 }
11350 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11351 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11352 }
11353 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11354 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11355 }
11356 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11357 return (void *)((wxControl *) ((wxToolBarBase *) x));
11358 }
11359 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11360 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11361 }
11362 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11363 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11364 }
11365 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11366 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11367 }
11368 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11369 return (void *)((wxControl *) ((wxPyControl *) x));
11370 }
11371 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11372 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11373 }
11374 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11375 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11376 }
11377 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11378 return (void *)((wxControl *) ((wxScrollBar *) x));
11379 }
11380 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11381 return (void *)((wxControl *) ((wxControlWithItems *) x));
11382 }
11383 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11384 return (void *)((wxControl *) ((wxGauge *) x));
11385 }
11386 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11387 return (void *)((wxControl *) ((wxStaticLine *) x));
11388 }
11389 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
11390 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
11391 }
11392 static void *_p_wxListbookTo_p_wxControl(void *x) {
11393 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
11394 }
11395 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11396 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11397 }
11398 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11399 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11400 }
11401 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11402 return (void *)((wxControl *) ((wxCheckBox *) x));
11403 }
11404 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11405 return (void *)((wxControl *) ((wxRadioBox *) x));
11406 }
11407 static void *_p_wxChoiceTo_p_wxControl(void *x) {
11408 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11409 }
11410 static void *_p_wxListBoxTo_p_wxControl(void *x) {
11411 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11412 }
11413 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11414 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11415 }
11416 static void *_p_wxListViewTo_p_wxControl(void *x) {
11417 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11418 }
11419 static void *_p_wxNotebookTo_p_wxControl(void *x) {
11420 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
11421 }
11422 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11423 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11424 }
11425 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11426 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11427 }
11428 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11429 return (void *)((wxControl *) ((wxStaticText *) x));
11430 }
11431 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11432 return (void *)((wxControl *) ((wxStaticBox *) x));
11433 }
11434 static void *_p_wxSliderTo_p_wxControl(void *x) {
11435 return (void *)((wxControl *) ((wxSlider *) x));
11436 }
11437 static void *_p_wxTreebookTo_p_wxControl(void *x) {
11438 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
11439 }
11440 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11441 return (void *)((wxControl *) ((wxSpinButton *) x));
11442 }
11443 static void *_p_wxButtonTo_p_wxControl(void *x) {
11444 return (void *)((wxControl *) ((wxButton *) x));
11445 }
11446 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11447 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11448 }
11449 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11450 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11451 }
11452 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11453 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11454 }
11455 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11456 return (void *)((wxControl *) ((wxStaticPicture *) x));
11457 }
11458 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11459 return (void *)((wxControl *) ((wxTextCtrl *) x));
11460 }
11461 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11462 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11463 }
11464 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11465 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11466 }
11467 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11468 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11469 }
11470 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11471 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11472 }
11473 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11474 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11475 }
11476 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11477 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11478 }
11479 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11480 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11481 }
11482 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11483 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11484 }
11485 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11486 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11487 }
11488 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11489 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11490 }
11491 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11492 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11493 }
11494 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11495 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11496 }
11497 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11499 }
11500 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11501 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11502 }
11503 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11504 return (void *)((wxEvent *) ((wxPyEvent *) x));
11505 }
11506 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11507 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11508 }
11509 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11510 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11511 }
11512 static void *_p_wxListEventTo_p_wxEvent(void *x) {
11513 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11514 }
11515 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11517 }
11518 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11519 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11520 }
11521 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
11522 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
11523 }
11524 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
11525 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
11526 }
11527 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
11528 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
11529 }
11530 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11531 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11532 }
11533 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11534 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11535 }
11536 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11537 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11538 }
11539 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11540 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11541 }
11542 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11543 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11544 }
11545 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11546 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11547 }
11548 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11549 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11550 }
11551 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11552 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11553 }
11554 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11555 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11556 }
11557 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11558 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11559 }
11560 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11561 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11562 }
11563 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11564 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11565 }
11566 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11567 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11568 }
11569 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11570 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11571 }
11572 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11573 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11574 }
11575 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11576 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11577 }
11578 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11579 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11580 }
11581 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11582 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11583 }
11584 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11585 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11586 }
11587 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11588 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11589 }
11590 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11591 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11592 }
11593 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11594 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11595 }
11596 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11597 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11598 }
11599 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11600 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11601 }
11602 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11603 return (void *)((wxEvent *) ((wxShowEvent *) x));
11604 }
11605 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11606 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11607 }
11608 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11609 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11610 }
11611 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11612 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11613 }
11614 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11615 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11616 }
11617 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11618 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11619 }
11620 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11621 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11622 }
11623 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11624 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11625 }
11626 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11627 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11628 }
11629 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11630 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11631 }
11632 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11633 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11634 }
11635 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11636 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11637 }
11638 static void *_p_wxEventTo_p_wxObject(void *x) {
11639 return (void *)((wxObject *) ((wxEvent *) x));
11640 }
11641 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11642 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11643 }
11644 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11645 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11646 }
11647 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11648 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11649 }
11650 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11652 }
11653 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11655 }
11656 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11658 }
11659 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11660 return (void *)((wxObject *) ((wxMenuItem *) x));
11661 }
11662 static void *_p_wxImageTo_p_wxObject(void *x) {
11663 return (void *)((wxObject *) ((wxImage *) x));
11664 }
11665 static void *_p_wxPySizerTo_p_wxObject(void *x) {
11666 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11667 }
11668 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11670 }
11671 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11672 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11673 }
11674 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11676 }
11677 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11678 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
11679 }
11680 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11681 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11682 }
11683 static void *_p_wxPyAppTo_p_wxObject(void *x) {
11684 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11685 }
11686 static void *_p_wxTreebookTo_p_wxObject(void *x) {
11687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11688 }
11689 static void *_p_wxNotebookTo_p_wxObject(void *x) {
11690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11691 }
11692 static void *_p_wxListItemTo_p_wxObject(void *x) {
11693 return (void *)((wxObject *) ((wxListItem *) x));
11694 }
11695 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
11696 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11697 }
11698 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
11700 }
11701 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11703 }
11704 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11705 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11706 }
11707 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11708 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11709 }
11710 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11711 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11712 }
11713 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11714 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11715 }
11716 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11717 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11718 }
11719 static void *_p_wxValidatorTo_p_wxObject(void *x) {
11720 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11721 }
11722 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11723 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11724 }
11725 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11726 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11727 }
11728 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11729 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11730 }
11731 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11732 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11733 }
11734 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11735 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11736 }
11737 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11738 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11739 }
11740 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11741 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11742 }
11743 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11744 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11745 }
11746 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11747 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11748 }
11749 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11750 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11751 }
11752 static void *_p_wxPrinterTo_p_wxObject(void *x) {
11753 return (void *)((wxObject *) ((wxPrinter *) x));
11754 }
11755 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11757 }
11758 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11760 }
11761 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11762 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11763 }
11764 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11765 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11766 }
11767 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11768 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11769 }
11770 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11771 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11772 }
11773 static void *_p_wxControlTo_p_wxObject(void *x) {
11774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11775 }
11776 static void *_p_wxPyControlTo_p_wxObject(void *x) {
11777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11778 }
11779 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11780 return (void *)((wxObject *) ((wxContextHelp *) x));
11781 }
11782 static void *_p_wxColourDataTo_p_wxObject(void *x) {
11783 return (void *)((wxObject *) ((wxColourData *) x));
11784 }
11785 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11786 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11787 }
11788 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11789 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11790 }
11791 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11792 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11793 }
11794 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11795 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11796 }
11797 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11798 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11799 }
11800 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11801 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11802 }
11803 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11804 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11805 }
11806 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11807 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11808 }
11809 static void *_p_wxDateEventTo_p_wxObject(void *x) {
11810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11811 }
11812 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11814 }
11815 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11816 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11817 }
11818 static void *_p_wxListEventTo_p_wxObject(void *x) {
11819 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11820 }
11821 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11822 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11823 }
11824 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11825 return (void *)((wxObject *) ((wxPyPrintout *) x));
11826 }
11827 static void *_p_wxGaugeTo_p_wxObject(void *x) {
11828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11829 }
11830 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11832 }
11833 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11834 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11835 }
11836 static void *_p_wxChoiceTo_p_wxObject(void *x) {
11837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11838 }
11839 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11841 }
11842 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11844 }
11845 static void *_p_wxButtonTo_p_wxObject(void *x) {
11846 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11847 }
11848 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11849 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11850 }
11851 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11852 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11853 }
11854 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11855 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11856 }
11857 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11859 }
11860 static void *_p_wxSashEventTo_p_wxObject(void *x) {
11861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11862 }
11863 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11864 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11865 }
11866 static void *_p_wxListBoxTo_p_wxObject(void *x) {
11867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11868 }
11869 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11870 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11871 }
11872 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11874 }
11875 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11876 return (void *)((wxObject *) ((wxPrintData *) x));
11877 }
11878 static void *_p_wxFontDataTo_p_wxObject(void *x) {
11879 return (void *)((wxObject *) ((wxFontData *) x));
11880 }
11881 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11883 }
11884 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11886 }
11887 static void *_p_wxListbookTo_p_wxObject(void *x) {
11888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11889 }
11890 static void *_p_wxFrameTo_p_wxObject(void *x) {
11891 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11892 }
11893 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11895 }
11896 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11898 }
11899 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11900 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11901 }
11902 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11904 }
11905 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11906 return (void *)((wxObject *) ((wxFileSystem *) x));
11907 }
11908 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11909 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11910 }
11911 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11912 return (void *)((wxObject *) ((wxPrintPreview *) x));
11913 }
11914 static void *_p_wxListViewTo_p_wxObject(void *x) {
11915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11916 }
11917 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11918 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11919 }
11920 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11922 }
11923 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11925 }
11926 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11928 }
11929 static void *_p_wxSizerTo_p_wxObject(void *x) {
11930 return (void *)((wxObject *) ((wxSizer *) x));
11931 }
11932 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
11933 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
11934 }
11935 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
11936 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
11937 }
11938 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
11939 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
11940 }
11941 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
11942 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
11943 }
11944 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
11945 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
11946 }
11947 static void *_p_wxFSFileTo_p_wxObject(void *x) {
11948 return (void *)((wxObject *) ((wxFSFile *) x));
11949 }
11950 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
11951 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11952 }
11953 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
11954 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
11955 }
11956 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
11957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
11958 }
11959 static void *_p_wxMenuTo_p_wxObject(void *x) {
11960 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
11961 }
11962 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
11963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
11964 }
11965 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
11966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
11967 }
11968 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
11969 return (void *)((wxObject *) ((wxSizerItem *) x));
11970 }
11971 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
11972 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
11973 }
11974 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
11975 return (void *)((wxObject *) ((wxPrintDialog *) x));
11976 }
11977 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
11978 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
11979 }
11980 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
11981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11982 }
11983 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
11984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11985 }
11986 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
11987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11988 }
11989 static void *_p_wxDialogTo_p_wxObject(void *x) {
11990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
11991 }
11992 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
11993 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
11994 }
11995 static void *_p_wxPyEventTo_p_wxObject(void *x) {
11996 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
11997 }
11998 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
11999 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12000 }
12001 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12002 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12003 }
12004 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12005 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12006 }
12007 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12008 return (void *)((wxObject *) ((wxEvtHandler *) x));
12009 }
12010 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12011 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12012 }
12013 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12014 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12015 }
12016 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12017 return (void *)((wxObject *) ((wxImageHandler *) x));
12018 }
12019 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12020 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12021 }
12022 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12023 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12024 }
12025 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12026 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12027 }
12028 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12029 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12030 }
12031 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12032 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12033 }
12034 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12035 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12036 }
12037 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12038 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12039 }
12040 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12041 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12042 }
12043 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12044 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12045 }
12046 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12047 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12048 }
12049 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12050 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12051 }
12052 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12053 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12054 }
12055 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12057 }
12058 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12060 }
12061 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12062 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12063 }
12064 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12066 }
12067 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12069 }
12070 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12072 }
12073 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12075 }
12076 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12078 }
12079 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12081 }
12082 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12084 }
12085 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12087 }
12088 static void *_p_wxWindowTo_p_wxObject(void *x) {
12089 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12090 }
12091 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12093 }
12094 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12096 }
12097 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12099 }
12100 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12101 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12102 }
12103 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12104 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12105 }
12106 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12107 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12108 }
12109 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12110 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12111 }
12112 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12113 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12114 }
12115 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12116 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12117 }
12118 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12119 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12120 }
12121 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12123 }
12124 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12126 }
12127 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12129 }
12130 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12132 }
12133 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12134 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12135 }
12136 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12138 }
12139 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12140 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12141 }
12142 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12144 }
12145 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12146 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12147 }
12148 static void *_p_wxSliderTo_p_wxObject(void *x) {
12149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12150 }
12151 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12153 }
12154 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12156 }
12157 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12158 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12159 }
12160 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12161 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12162 }
12163 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12164 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12165 }
12166 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12167 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12168 }
12169 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12171 }
12172 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12173 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12174 }
12175 static void *_p_wxPanelTo_p_wxObject(void *x) {
12176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12177 }
12178 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12180 }
12181 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12182 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12183 }
12184 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12185 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12186 }
12187 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12188 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12189 }
12190 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12191 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12192 }
12193 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12195 }
12196 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12197 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12198 }
12199 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12200 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12201 }
12202 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12204 }
12205 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12207 }
12208 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12210 }
12211 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12212 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12213 }
12214 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12215 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12216 }
12217 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12218 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12219 }
12220 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12222 }
12223 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12225 }
12226 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12228 }
12229 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12230 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12231 }
12232 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12233 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12234 }
12235 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12237 }
12238 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12240 }
12241 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12243 }
12244 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12245 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12246 }
12247 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12248 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12249 }
12250 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12252 }
12253 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12254 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12255 }
12256 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12258 }
12259 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12261 }
12262 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12263 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12264 }
12265 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12267 }
12268 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12269 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12270 }
12271 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12273 }
12274 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12276 }
12277 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12278 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12279 }
12280 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12282 }
12283 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12284 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12285 }
12286 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12287 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12288 }
12289 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12290 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12291 }
12292 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12293 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12294 }
12295 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12296 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12297 }
12298 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12299 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12300 }
12301 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12302 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12303 }
12304 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12305 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12306 }
12307 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12308 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12309 }
12310 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12311 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12312 }
12313 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
12314 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12315 }
12316 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12317 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12318 }
12319 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12320 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12321 }
12322 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12323 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12324 }
12325 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12326 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12327 }
12328 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12329 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12330 }
12331 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12332 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12333 }
12334 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12335 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12336 }
12337 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12338 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12339 }
12340 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12341 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12342 }
12343 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12344 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12345 }
12346 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12347 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12348 }
12349 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12350 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12351 }
12352 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12353 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12354 }
12355 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12356 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12357 }
12358 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12359 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12360 }
12361 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12362 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12363 }
12364 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12365 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12366 }
12367 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12368 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12369 }
12370 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12371 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12372 }
12373 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12374 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12375 }
12376 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12377 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12378 }
12379 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12380 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12381 }
12382 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12383 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12384 }
12385 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12386 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12387 }
12388 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12389 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12390 }
12391 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12392 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12393 }
12394 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12395 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12396 }
12397 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12398 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12399 }
12400 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12401 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12402 }
12403 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12404 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12405 }
12406 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12407 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12408 }
12409 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12410 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12411 }
12412 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12413 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12414 }
12415 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12416 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12417 }
12418 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12419 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12420 }
12421 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12422 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12423 }
12424 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12425 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12426 }
12427 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12428 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12429 }
12430 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12431 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12432 }
12433 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12434 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12435 }
12436 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12437 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12438 }
12439 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12440 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12441 }
12442 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12443 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12444 }
12445 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12446 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12447 }
12448 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12449 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12450 }
12451 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12452 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12453 }
12454 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12455 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12456 }
12457 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12458 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12459 }
12460 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12461 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12462 }
12463 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12464 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12465 }
12466 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12467 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12468 }
12469 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12470 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12471 }
12472 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12473 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12474 }
12475 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12476 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12477 }
12478 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12479 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12480 }
12481 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12482 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12483 }
12484 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12485 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12486 }
12487 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12488 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12489 }
12490 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12491 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12492 }
12493 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12494 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12495 }
12496 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12497 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12498 }
12499 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12500 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12501 }
12502 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12503 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12504 }
12505 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12506 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12507 }
12508 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12509 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12510 }
12511 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12512 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12513 }
12514 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12515 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12516 }
12517 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12518 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12519 }
12520 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12521 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12522 }
12523 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12524 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12525 }
12526 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12527 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12528 }
12529 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12530 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12531 }
12532 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12533 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12534 }
12535 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
12536 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12537 }
12538 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
12539 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12540 }
12541 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
12542 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12543 }
12544 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12545 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12546 }
12547 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12548 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12549 }
12550 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12551 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12552 }
12553 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12554 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12555 }
12556 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12557 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12558 }
12559 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12560 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12561 }
12562 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12563 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12564 }
12565 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12566 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12567 }
12568 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12569 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12570 }
12571 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12572 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12573 }
12574 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12575 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12576 }
12577 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12578 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12579 }
12580 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12581 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12582 }
12583 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12584 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12585 }
12586 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12587 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12588 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};
12589 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12590 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12591 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12592 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12593 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12594 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12595 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12596 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12597 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12598 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
12599 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
12600 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12601 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12602 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12603 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12604 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12605 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12606 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12607 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12608 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12609 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12610 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12611 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12612 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12613 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12614 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12615 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12616 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12617 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12618 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12619 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12620 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12621 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12622 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
12623 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12624 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12625 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12626 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12627 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12628 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12629 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12630 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12631 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12632 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12633 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12634 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12635 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
12636 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12637 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12638 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12639 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12640 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12641 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12642 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12643 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12644 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12645 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12646 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12647 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12648 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12649 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12650 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12651 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12652 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12653 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
12654 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12655 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12656 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12657 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12658 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12659 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12660 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12661 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12662 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12663 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12664 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12665 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12666 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12667 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12668 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12669 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12670 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12671 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12672 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12673 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12674 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12675 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12676 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12677 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12678 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12679 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12680 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12681 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12682 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12683 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12684 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12685 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12686 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12687 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12688 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12689 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12690 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12691 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12692 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12693 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12694 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12695 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12696 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12697 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12698 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12699 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
12700 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
12701 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12702 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
12703 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12704 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12705 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12706 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12707 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12708 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12709 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12710 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12711 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12712 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12713 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
12714 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
12715 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12716 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12717 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
12718 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
12719 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
12720 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
12721 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12722 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12723 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
12724 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12725 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12726 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12727 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12728 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12729 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12730 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12731 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12732 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12733 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12734 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12735 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12736 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12737 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12738 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12739 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12740 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12741 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12742 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12743 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12744 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12745 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12746 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12747 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12748 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12749 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12750 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12751 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12752 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12753 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12754 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12755 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12756 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12757 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12758 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12759 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12760 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12761 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12762 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12763 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12764 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12765 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12766 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
12767 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
12768 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
12769 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
12770 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
12771 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
12772 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
12773 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
12774 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12775 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12776 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12777 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12778 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12779 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12780 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12781 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12782 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12783 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12784 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12785 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12786 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12787 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12788 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12789 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12790 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12791 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12792 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12793 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12794 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12795 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12796 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12797 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12798 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12799 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12800 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12801 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12802 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
12803
12804 static swig_type_info *swig_type_initial[] = {
12805 &_swigt__p_char,
12806 &_swigt__p_float,
12807 &_swigt__p_form_ops_t,
12808 &_swigt__p_int,
12809 &_swigt__p_unsigned_char,
12810 &_swigt__p_unsigned_int,
12811 &_swigt__p_unsigned_long,
12812 &_swigt__p_wxANIHandler,
12813 &_swigt__p_wxAcceleratorTable,
12814 &_swigt__p_wxActivateEvent,
12815 &_swigt__p_wxArrayString,
12816 &_swigt__p_wxBMPHandler,
12817 &_swigt__p_wxBitmap,
12818 &_swigt__p_wxBitmapButton,
12819 &_swigt__p_wxBookCtrlBase,
12820 &_swigt__p_wxBookCtrlBaseEvent,
12821 &_swigt__p_wxBoxSizer,
12822 &_swigt__p_wxButton,
12823 &_swigt__p_wxCURHandler,
12824 &_swigt__p_wxCalculateLayoutEvent,
12825 &_swigt__p_wxCheckBox,
12826 &_swigt__p_wxCheckListBox,
12827 &_swigt__p_wxChildFocusEvent,
12828 &_swigt__p_wxChoice,
12829 &_swigt__p_wxChoicebook,
12830 &_swigt__p_wxChoicebookEvent,
12831 &_swigt__p_wxCloseEvent,
12832 &_swigt__p_wxColour,
12833 &_swigt__p_wxColourData,
12834 &_swigt__p_wxColourDialog,
12835 &_swigt__p_wxComboBox,
12836 &_swigt__p_wxCommandEvent,
12837 &_swigt__p_wxContextHelp,
12838 &_swigt__p_wxContextHelpButton,
12839 &_swigt__p_wxContextMenuEvent,
12840 &_swigt__p_wxControl,
12841 &_swigt__p_wxControlWithItems,
12842 &_swigt__p_wxDateEvent,
12843 &_swigt__p_wxDatePickerCtrl,
12844 &_swigt__p_wxDialog,
12845 &_swigt__p_wxDirDialog,
12846 &_swigt__p_wxDirFilterListCtrl,
12847 &_swigt__p_wxDisplayChangedEvent,
12848 &_swigt__p_wxDropFilesEvent,
12849 &_swigt__p_wxDuplexMode,
12850 &_swigt__p_wxDynamicSashSplitEvent,
12851 &_swigt__p_wxDynamicSashUnifyEvent,
12852 &_swigt__p_wxDynamicSashWindow,
12853 &_swigt__p_wxEditableListBox,
12854 &_swigt__p_wxEraseEvent,
12855 &_swigt__p_wxEvent,
12856 &_swigt__p_wxEvtHandler,
12857 &_swigt__p_wxFSFile,
12858 &_swigt__p_wxFileDialog,
12859 &_swigt__p_wxFileSystem,
12860 &_swigt__p_wxFindDialogEvent,
12861 &_swigt__p_wxFindReplaceData,
12862 &_swigt__p_wxFindReplaceDialog,
12863 &_swigt__p_wxFlexGridSizer,
12864 &_swigt__p_wxFocusEvent,
12865 &_swigt__p_wxFont,
12866 &_swigt__p_wxFontData,
12867 &_swigt__p_wxFontDialog,
12868 &_swigt__p_wxFrame,
12869 &_swigt__p_wxGBSizerItem,
12870 &_swigt__p_wxGIFHandler,
12871 &_swigt__p_wxGauge,
12872 &_swigt__p_wxGenericDirCtrl,
12873 &_swigt__p_wxGenericDragImage,
12874 &_swigt__p_wxGridBagSizer,
12875 &_swigt__p_wxGridSizer,
12876 &_swigt__p_wxHelpEvent,
12877 &_swigt__p_wxICOHandler,
12878 &_swigt__p_wxIcon,
12879 &_swigt__p_wxIconizeEvent,
12880 &_swigt__p_wxIdleEvent,
12881 &_swigt__p_wxImage,
12882 &_swigt__p_wxImageHandler,
12883 &_swigt__p_wxImageList,
12884 &_swigt__p_wxIndividualLayoutConstraint,
12885 &_swigt__p_wxInitDialogEvent,
12886 &_swigt__p_wxJPEGHandler,
12887 &_swigt__p_wxKeyEvent,
12888 &_swigt__p_wxLEDNumberCtrl,
12889 &_swigt__p_wxLayoutAlgorithm,
12890 &_swigt__p_wxLayoutConstraints,
12891 &_swigt__p_wxListBox,
12892 &_swigt__p_wxListEvent,
12893 &_swigt__p_wxListItem,
12894 &_swigt__p_wxListView,
12895 &_swigt__p_wxListbook,
12896 &_swigt__p_wxListbookEvent,
12897 &_swigt__p_wxMDIChildFrame,
12898 &_swigt__p_wxMDIClientWindow,
12899 &_swigt__p_wxMDIParentFrame,
12900 &_swigt__p_wxMaximizeEvent,
12901 &_swigt__p_wxMenu,
12902 &_swigt__p_wxMenuBar,
12903 &_swigt__p_wxMenuEvent,
12904 &_swigt__p_wxMenuItem,
12905 &_swigt__p_wxMessageDialog,
12906 &_swigt__p_wxMiniFrame,
12907 &_swigt__p_wxMouseCaptureChangedEvent,
12908 &_swigt__p_wxMouseEvent,
12909 &_swigt__p_wxMoveEvent,
12910 &_swigt__p_wxMultiChoiceDialog,
12911 &_swigt__p_wxNavigationKeyEvent,
12912 &_swigt__p_wxNcPaintEvent,
12913 &_swigt__p_wxNotebook,
12914 &_swigt__p_wxNotebookEvent,
12915 &_swigt__p_wxNotifyEvent,
12916 &_swigt__p_wxObject,
12917 &_swigt__p_wxPCXHandler,
12918 &_swigt__p_wxPNGHandler,
12919 &_swigt__p_wxPNMHandler,
12920 &_swigt__p_wxPageSetupDialog,
12921 &_swigt__p_wxPageSetupDialogData,
12922 &_swigt__p_wxPaintEvent,
12923 &_swigt__p_wxPaletteChangedEvent,
12924 &_swigt__p_wxPanel,
12925 &_swigt__p_wxPaperSize,
12926 &_swigt__p_wxPasswordEntryDialog,
12927 &_swigt__p_wxPopupWindow,
12928 &_swigt__p_wxPreviewCanvas,
12929 &_swigt__p_wxPreviewControlBar,
12930 &_swigt__p_wxPreviewFrame,
12931 &_swigt__p_wxPrintData,
12932 &_swigt__p_wxPrintDialog,
12933 &_swigt__p_wxPrintDialogData,
12934 &_swigt__p_wxPrintPreview,
12935 &_swigt__p_wxPrinter,
12936 &_swigt__p_wxProgressDialog,
12937 &_swigt__p_wxPyApp,
12938 &_swigt__p_wxPyCommandEvent,
12939 &_swigt__p_wxPyControl,
12940 &_swigt__p_wxPyEvent,
12941 &_swigt__p_wxPyHtmlListBox,
12942 &_swigt__p_wxPyImageHandler,
12943 &_swigt__p_wxPyListCtrl,
12944 &_swigt__p_wxPyPanel,
12945 &_swigt__p_wxPyPopupTransientWindow,
12946 &_swigt__p_wxPyPreviewControlBar,
12947 &_swigt__p_wxPyPreviewFrame,
12948 &_swigt__p_wxPyPrintPreview,
12949 &_swigt__p_wxPyPrintout,
12950 &_swigt__p_wxPyScrolledWindow,
12951 &_swigt__p_wxPySizer,
12952 &_swigt__p_wxPyTaskBarIcon,
12953 &_swigt__p_wxPyTreeCompanionWindow,
12954 &_swigt__p_wxPyTreeCtrl,
12955 &_swigt__p_wxPyTreeItemData,
12956 &_swigt__p_wxPyTreeListCtrl,
12957 &_swigt__p_wxPyVListBox,
12958 &_swigt__p_wxPyVScrolledWindow,
12959 &_swigt__p_wxPyValidator,
12960 &_swigt__p_wxPyWindow,
12961 &_swigt__p_wxQueryLayoutInfoEvent,
12962 &_swigt__p_wxQueryNewPaletteEvent,
12963 &_swigt__p_wxRadioBox,
12964 &_swigt__p_wxRadioButton,
12965 &_swigt__p_wxRemotelyScrolledTreeCtrl,
12966 &_swigt__p_wxSashEvent,
12967 &_swigt__p_wxSashLayoutWindow,
12968 &_swigt__p_wxSashWindow,
12969 &_swigt__p_wxScrollBar,
12970 &_swigt__p_wxScrollEvent,
12971 &_swigt__p_wxScrollWinEvent,
12972 &_swigt__p_wxScrolledWindow,
12973 &_swigt__p_wxSetCursorEvent,
12974 &_swigt__p_wxShowEvent,
12975 &_swigt__p_wxSingleChoiceDialog,
12976 &_swigt__p_wxSizeEvent,
12977 &_swigt__p_wxSizer,
12978 &_swigt__p_wxSizerItem,
12979 &_swigt__p_wxSlider,
12980 &_swigt__p_wxSpinButton,
12981 &_swigt__p_wxSpinCtrl,
12982 &_swigt__p_wxSpinEvent,
12983 &_swigt__p_wxSplashScreen,
12984 &_swigt__p_wxSplashScreenWindow,
12985 &_swigt__p_wxSplitterEvent,
12986 &_swigt__p_wxSplitterScrolledWindow,
12987 &_swigt__p_wxSplitterWindow,
12988 &_swigt__p_wxStaticBitmap,
12989 &_swigt__p_wxStaticBox,
12990 &_swigt__p_wxStaticBoxSizer,
12991 &_swigt__p_wxStaticLine,
12992 &_swigt__p_wxStaticPicture,
12993 &_swigt__p_wxStaticText,
12994 &_swigt__p_wxStatusBar,
12995 &_swigt__p_wxStdDialogButtonSizer,
12996 &_swigt__p_wxSysColourChangedEvent,
12997 &_swigt__p_wxTIFFHandler,
12998 &_swigt__p_wxTaskBarIconEvent,
12999 &_swigt__p_wxTextCtrl,
13000 &_swigt__p_wxTextEntryDialog,
13001 &_swigt__p_wxTextUrlEvent,
13002 &_swigt__p_wxThinSplitterWindow,
13003 &_swigt__p_wxTipWindow,
13004 &_swigt__p_wxToggleButton,
13005 &_swigt__p_wxToolBar,
13006 &_swigt__p_wxToolBarBase,
13007 &_swigt__p_wxToolBarToolBase,
13008 &_swigt__p_wxToolbook,
13009 &_swigt__p_wxToolbookEvent,
13010 &_swigt__p_wxTopLevelWindow,
13011 &_swigt__p_wxTreeEvent,
13012 &_swigt__p_wxTreeItemId,
13013 &_swigt__p_wxTreeListColumnInfo,
13014 &_swigt__p_wxTreebook,
13015 &_swigt__p_wxTreebookEvent,
13016 &_swigt__p_wxUpdateUIEvent,
13017 &_swigt__p_wxValidator,
13018 &_swigt__p_wxWindow,
13019 &_swigt__p_wxWindowCreateEvent,
13020 &_swigt__p_wxWindowDestroyEvent,
13021 &_swigt__p_wxXPMHandler,
13022 };
13023
13024 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13025 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13026 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13027 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13028 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13029 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13030 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13031 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13032 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13033 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13034 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13035 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13036 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13037 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13038 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13039 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13040 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13041 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13042 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13043 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13044 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13045 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13046 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13047 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13048 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13049 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13050 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13051 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13052 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13053 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13054 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13055 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13056 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13057 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_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}};
13058 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13059 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13060 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13061 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13062 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13063 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13064 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13065 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13066 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13067 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13068 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13069 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13070 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13071 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13072 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13073 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13074 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13075 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13076 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13077 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13078 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13079 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13080 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13081 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13082 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13083 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13084 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13085 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13086 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13087 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13088 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13089 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13090 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13091 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13092 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13093 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13094 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13095 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13096 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13097 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13098 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13099 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13100 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13101 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13102 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13103 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13104 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13105 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13106 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13107 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13108 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13109 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13110 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13111 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13112 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13113 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13114 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13115 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13116 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13117 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13118 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13119 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13120 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13121 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13122 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13123 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13124 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13125 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13126 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13127 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_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_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13128 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13129 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13130 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13131 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13132 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13133 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13134 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13135 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13136 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13137 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13138 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13139 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13140 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13141 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13142 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13143 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13144 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13145 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13146 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13147 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13148 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13149 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13150 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13151 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13152 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13153 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13154 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13155 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13156 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13157 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13158 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13159 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13160 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13161 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13162 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13163 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13164 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13165 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13166 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13167 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13168 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13169 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13170 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13171 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13172 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13173 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13174 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13175 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13176 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13177 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13178 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13179 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13180 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13181 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13182 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13183 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13184 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13185 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13186 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13187 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13188 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13189 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13190 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13191 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13192 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13193 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13194 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13195 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13196 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13197 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13198 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13199 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13200 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13201 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13202 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13203 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13204 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13205 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13206 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13207 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13208 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13209 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13210 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13211 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13212 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13213 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13214 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13215 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13216 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13217 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13218 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13219 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13220 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13221 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13222 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13223 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}};
13224 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13225 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}};
13226 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13227 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}};
13228 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13229 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13230 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13231 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13232 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}};
13233 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13234 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}};
13235 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13236 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13237 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13238 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13239 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}};
13240 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
13241
13242 static swig_cast_info *swig_cast_initial[] = {
13243 _swigc__p_char,
13244 _swigc__p_float,
13245 _swigc__p_form_ops_t,
13246 _swigc__p_int,
13247 _swigc__p_unsigned_char,
13248 _swigc__p_unsigned_int,
13249 _swigc__p_unsigned_long,
13250 _swigc__p_wxANIHandler,
13251 _swigc__p_wxAcceleratorTable,
13252 _swigc__p_wxActivateEvent,
13253 _swigc__p_wxArrayString,
13254 _swigc__p_wxBMPHandler,
13255 _swigc__p_wxBitmap,
13256 _swigc__p_wxBitmapButton,
13257 _swigc__p_wxBookCtrlBase,
13258 _swigc__p_wxBookCtrlBaseEvent,
13259 _swigc__p_wxBoxSizer,
13260 _swigc__p_wxButton,
13261 _swigc__p_wxCURHandler,
13262 _swigc__p_wxCalculateLayoutEvent,
13263 _swigc__p_wxCheckBox,
13264 _swigc__p_wxCheckListBox,
13265 _swigc__p_wxChildFocusEvent,
13266 _swigc__p_wxChoice,
13267 _swigc__p_wxChoicebook,
13268 _swigc__p_wxChoicebookEvent,
13269 _swigc__p_wxCloseEvent,
13270 _swigc__p_wxColour,
13271 _swigc__p_wxColourData,
13272 _swigc__p_wxColourDialog,
13273 _swigc__p_wxComboBox,
13274 _swigc__p_wxCommandEvent,
13275 _swigc__p_wxContextHelp,
13276 _swigc__p_wxContextHelpButton,
13277 _swigc__p_wxContextMenuEvent,
13278 _swigc__p_wxControl,
13279 _swigc__p_wxControlWithItems,
13280 _swigc__p_wxDateEvent,
13281 _swigc__p_wxDatePickerCtrl,
13282 _swigc__p_wxDialog,
13283 _swigc__p_wxDirDialog,
13284 _swigc__p_wxDirFilterListCtrl,
13285 _swigc__p_wxDisplayChangedEvent,
13286 _swigc__p_wxDropFilesEvent,
13287 _swigc__p_wxDuplexMode,
13288 _swigc__p_wxDynamicSashSplitEvent,
13289 _swigc__p_wxDynamicSashUnifyEvent,
13290 _swigc__p_wxDynamicSashWindow,
13291 _swigc__p_wxEditableListBox,
13292 _swigc__p_wxEraseEvent,
13293 _swigc__p_wxEvent,
13294 _swigc__p_wxEvtHandler,
13295 _swigc__p_wxFSFile,
13296 _swigc__p_wxFileDialog,
13297 _swigc__p_wxFileSystem,
13298 _swigc__p_wxFindDialogEvent,
13299 _swigc__p_wxFindReplaceData,
13300 _swigc__p_wxFindReplaceDialog,
13301 _swigc__p_wxFlexGridSizer,
13302 _swigc__p_wxFocusEvent,
13303 _swigc__p_wxFont,
13304 _swigc__p_wxFontData,
13305 _swigc__p_wxFontDialog,
13306 _swigc__p_wxFrame,
13307 _swigc__p_wxGBSizerItem,
13308 _swigc__p_wxGIFHandler,
13309 _swigc__p_wxGauge,
13310 _swigc__p_wxGenericDirCtrl,
13311 _swigc__p_wxGenericDragImage,
13312 _swigc__p_wxGridBagSizer,
13313 _swigc__p_wxGridSizer,
13314 _swigc__p_wxHelpEvent,
13315 _swigc__p_wxICOHandler,
13316 _swigc__p_wxIcon,
13317 _swigc__p_wxIconizeEvent,
13318 _swigc__p_wxIdleEvent,
13319 _swigc__p_wxImage,
13320 _swigc__p_wxImageHandler,
13321 _swigc__p_wxImageList,
13322 _swigc__p_wxIndividualLayoutConstraint,
13323 _swigc__p_wxInitDialogEvent,
13324 _swigc__p_wxJPEGHandler,
13325 _swigc__p_wxKeyEvent,
13326 _swigc__p_wxLEDNumberCtrl,
13327 _swigc__p_wxLayoutAlgorithm,
13328 _swigc__p_wxLayoutConstraints,
13329 _swigc__p_wxListBox,
13330 _swigc__p_wxListEvent,
13331 _swigc__p_wxListItem,
13332 _swigc__p_wxListView,
13333 _swigc__p_wxListbook,
13334 _swigc__p_wxListbookEvent,
13335 _swigc__p_wxMDIChildFrame,
13336 _swigc__p_wxMDIClientWindow,
13337 _swigc__p_wxMDIParentFrame,
13338 _swigc__p_wxMaximizeEvent,
13339 _swigc__p_wxMenu,
13340 _swigc__p_wxMenuBar,
13341 _swigc__p_wxMenuEvent,
13342 _swigc__p_wxMenuItem,
13343 _swigc__p_wxMessageDialog,
13344 _swigc__p_wxMiniFrame,
13345 _swigc__p_wxMouseCaptureChangedEvent,
13346 _swigc__p_wxMouseEvent,
13347 _swigc__p_wxMoveEvent,
13348 _swigc__p_wxMultiChoiceDialog,
13349 _swigc__p_wxNavigationKeyEvent,
13350 _swigc__p_wxNcPaintEvent,
13351 _swigc__p_wxNotebook,
13352 _swigc__p_wxNotebookEvent,
13353 _swigc__p_wxNotifyEvent,
13354 _swigc__p_wxObject,
13355 _swigc__p_wxPCXHandler,
13356 _swigc__p_wxPNGHandler,
13357 _swigc__p_wxPNMHandler,
13358 _swigc__p_wxPageSetupDialog,
13359 _swigc__p_wxPageSetupDialogData,
13360 _swigc__p_wxPaintEvent,
13361 _swigc__p_wxPaletteChangedEvent,
13362 _swigc__p_wxPanel,
13363 _swigc__p_wxPaperSize,
13364 _swigc__p_wxPasswordEntryDialog,
13365 _swigc__p_wxPopupWindow,
13366 _swigc__p_wxPreviewCanvas,
13367 _swigc__p_wxPreviewControlBar,
13368 _swigc__p_wxPreviewFrame,
13369 _swigc__p_wxPrintData,
13370 _swigc__p_wxPrintDialog,
13371 _swigc__p_wxPrintDialogData,
13372 _swigc__p_wxPrintPreview,
13373 _swigc__p_wxPrinter,
13374 _swigc__p_wxProgressDialog,
13375 _swigc__p_wxPyApp,
13376 _swigc__p_wxPyCommandEvent,
13377 _swigc__p_wxPyControl,
13378 _swigc__p_wxPyEvent,
13379 _swigc__p_wxPyHtmlListBox,
13380 _swigc__p_wxPyImageHandler,
13381 _swigc__p_wxPyListCtrl,
13382 _swigc__p_wxPyPanel,
13383 _swigc__p_wxPyPopupTransientWindow,
13384 _swigc__p_wxPyPreviewControlBar,
13385 _swigc__p_wxPyPreviewFrame,
13386 _swigc__p_wxPyPrintPreview,
13387 _swigc__p_wxPyPrintout,
13388 _swigc__p_wxPyScrolledWindow,
13389 _swigc__p_wxPySizer,
13390 _swigc__p_wxPyTaskBarIcon,
13391 _swigc__p_wxPyTreeCompanionWindow,
13392 _swigc__p_wxPyTreeCtrl,
13393 _swigc__p_wxPyTreeItemData,
13394 _swigc__p_wxPyTreeListCtrl,
13395 _swigc__p_wxPyVListBox,
13396 _swigc__p_wxPyVScrolledWindow,
13397 _swigc__p_wxPyValidator,
13398 _swigc__p_wxPyWindow,
13399 _swigc__p_wxQueryLayoutInfoEvent,
13400 _swigc__p_wxQueryNewPaletteEvent,
13401 _swigc__p_wxRadioBox,
13402 _swigc__p_wxRadioButton,
13403 _swigc__p_wxRemotelyScrolledTreeCtrl,
13404 _swigc__p_wxSashEvent,
13405 _swigc__p_wxSashLayoutWindow,
13406 _swigc__p_wxSashWindow,
13407 _swigc__p_wxScrollBar,
13408 _swigc__p_wxScrollEvent,
13409 _swigc__p_wxScrollWinEvent,
13410 _swigc__p_wxScrolledWindow,
13411 _swigc__p_wxSetCursorEvent,
13412 _swigc__p_wxShowEvent,
13413 _swigc__p_wxSingleChoiceDialog,
13414 _swigc__p_wxSizeEvent,
13415 _swigc__p_wxSizer,
13416 _swigc__p_wxSizerItem,
13417 _swigc__p_wxSlider,
13418 _swigc__p_wxSpinButton,
13419 _swigc__p_wxSpinCtrl,
13420 _swigc__p_wxSpinEvent,
13421 _swigc__p_wxSplashScreen,
13422 _swigc__p_wxSplashScreenWindow,
13423 _swigc__p_wxSplitterEvent,
13424 _swigc__p_wxSplitterScrolledWindow,
13425 _swigc__p_wxSplitterWindow,
13426 _swigc__p_wxStaticBitmap,
13427 _swigc__p_wxStaticBox,
13428 _swigc__p_wxStaticBoxSizer,
13429 _swigc__p_wxStaticLine,
13430 _swigc__p_wxStaticPicture,
13431 _swigc__p_wxStaticText,
13432 _swigc__p_wxStatusBar,
13433 _swigc__p_wxStdDialogButtonSizer,
13434 _swigc__p_wxSysColourChangedEvent,
13435 _swigc__p_wxTIFFHandler,
13436 _swigc__p_wxTaskBarIconEvent,
13437 _swigc__p_wxTextCtrl,
13438 _swigc__p_wxTextEntryDialog,
13439 _swigc__p_wxTextUrlEvent,
13440 _swigc__p_wxThinSplitterWindow,
13441 _swigc__p_wxTipWindow,
13442 _swigc__p_wxToggleButton,
13443 _swigc__p_wxToolBar,
13444 _swigc__p_wxToolBarBase,
13445 _swigc__p_wxToolBarToolBase,
13446 _swigc__p_wxToolbook,
13447 _swigc__p_wxToolbookEvent,
13448 _swigc__p_wxTopLevelWindow,
13449 _swigc__p_wxTreeEvent,
13450 _swigc__p_wxTreeItemId,
13451 _swigc__p_wxTreeListColumnInfo,
13452 _swigc__p_wxTreebook,
13453 _swigc__p_wxTreebookEvent,
13454 _swigc__p_wxUpdateUIEvent,
13455 _swigc__p_wxValidator,
13456 _swigc__p_wxWindow,
13457 _swigc__p_wxWindowCreateEvent,
13458 _swigc__p_wxWindowDestroyEvent,
13459 _swigc__p_wxXPMHandler,
13460 };
13461
13462
13463 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13464
13465 static swig_const_info swig_const_table[] = {
13466 {0, 0, 0, 0.0, 0, 0}};
13467
13468 #ifdef __cplusplus
13469 }
13470 #endif
13471 /* -----------------------------------------------------------------------------
13472 * Type initialization:
13473 * This problem is tough by the requirement that no dynamic
13474 * memory is used. Also, since swig_type_info structures store pointers to
13475 * swig_cast_info structures and swig_cast_info structures store pointers back
13476 * to swig_type_info structures, we need some lookup code at initialization.
13477 * The idea is that swig generates all the structures that are needed.
13478 * The runtime then collects these partially filled structures.
13479 * The SWIG_InitializeModule function takes these initial arrays out of
13480 * swig_module, and does all the lookup, filling in the swig_module.types
13481 * array with the correct data and linking the correct swig_cast_info
13482 * structures together.
13483 *
13484 * The generated swig_type_info structures are assigned staticly to an initial
13485 * array. We just loop though that array, and handle each type individually.
13486 * First we lookup if this type has been already loaded, and if so, use the
13487 * loaded structure instead of the generated one. Then we have to fill in the
13488 * cast linked list. The cast data is initially stored in something like a
13489 * two-dimensional array. Each row corresponds to a type (there are the same
13490 * number of rows as there are in the swig_type_initial array). Each entry in
13491 * a column is one of the swig_cast_info structures for that type.
13492 * The cast_initial array is actually an array of arrays, because each row has
13493 * a variable number of columns. So to actually build the cast linked list,
13494 * we find the array of casts associated with the type, and loop through it
13495 * adding the casts to the list. The one last trick we need to do is making
13496 * sure the type pointer in the swig_cast_info struct is correct.
13497 *
13498 * First off, we lookup the cast->type name to see if it is already loaded.
13499 * There are three cases to handle:
13500 * 1) If the cast->type has already been loaded AND the type we are adding
13501 * casting info to has not been loaded (it is in this module), THEN we
13502 * replace the cast->type pointer with the type pointer that has already
13503 * been loaded.
13504 * 2) If BOTH types (the one we are adding casting info to, and the
13505 * cast->type) are loaded, THEN the cast info has already been loaded by
13506 * the previous module so we just ignore it.
13507 * 3) Finally, if cast->type has not already been loaded, then we add that
13508 * swig_cast_info to the linked list (because the cast->type) pointer will
13509 * be correct.
13510 * ----------------------------------------------------------------------------- */
13511
13512 #ifdef __cplusplus
13513 extern "C" {
13514 #if 0
13515 } /* c-mode */
13516 #endif
13517 #endif
13518
13519 #if 0
13520 #define SWIGRUNTIME_DEBUG
13521 #endif
13522
13523 SWIGRUNTIME void
13524 SWIG_InitializeModule(void *clientdata) {
13525 size_t i;
13526 swig_module_info *module_head;
13527 static int init_run = 0;
13528
13529 clientdata = clientdata;
13530
13531 if (init_run) return;
13532 init_run = 1;
13533
13534 /* Initialize the swig_module */
13535 swig_module.type_initial = swig_type_initial;
13536 swig_module.cast_initial = swig_cast_initial;
13537
13538 /* Try and load any already created modules */
13539 module_head = SWIG_GetModule(clientdata);
13540 if (module_head) {
13541 swig_module.next = module_head->next;
13542 module_head->next = &swig_module;
13543 } else {
13544 /* This is the first module loaded */
13545 swig_module.next = &swig_module;
13546 SWIG_SetModule(clientdata, &swig_module);
13547 }
13548
13549 /* Now work on filling in swig_module.types */
13550 #ifdef SWIGRUNTIME_DEBUG
13551 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
13552 #endif
13553 for (i = 0; i < swig_module.size; ++i) {
13554 swig_type_info *type = 0;
13555 swig_type_info *ret;
13556 swig_cast_info *cast;
13557
13558 #ifdef SWIGRUNTIME_DEBUG
13559 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13560 #endif
13561
13562 /* if there is another module already loaded */
13563 if (swig_module.next != &swig_module) {
13564 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13565 }
13566 if (type) {
13567 /* Overwrite clientdata field */
13568 #ifdef SWIGRUNTIME_DEBUG
13569 printf("SWIG_InitializeModule: found type %s\n", type->name);
13570 #endif
13571 if (swig_module.type_initial[i]->clientdata) {
13572 type->clientdata = swig_module.type_initial[i]->clientdata;
13573 #ifdef SWIGRUNTIME_DEBUG
13574 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
13575 #endif
13576 }
13577 } else {
13578 type = swig_module.type_initial[i];
13579 }
13580
13581 /* Insert casting types */
13582 cast = swig_module.cast_initial[i];
13583 while (cast->type) {
13584 /* Don't need to add information already in the list */
13585 ret = 0;
13586 #ifdef SWIGRUNTIME_DEBUG
13587 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
13588 #endif
13589 if (swig_module.next != &swig_module) {
13590 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
13591 #ifdef SWIGRUNTIME_DEBUG
13592 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
13593 #endif
13594 }
13595 if (ret) {
13596 if (type == swig_module.type_initial[i]) {
13597 #ifdef SWIGRUNTIME_DEBUG
13598 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
13599 #endif
13600 cast->type = ret;
13601 ret = 0;
13602 } else {
13603 /* Check for casting already in the list */
13604 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
13605 #ifdef SWIGRUNTIME_DEBUG
13606 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
13607 #endif
13608 if (!ocast) ret = 0;
13609 }
13610 }
13611
13612 if (!ret) {
13613 #ifdef SWIGRUNTIME_DEBUG
13614 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
13615 #endif
13616 if (type->cast) {
13617 type->cast->prev = cast;
13618 cast->next = type->cast;
13619 }
13620 type->cast = cast;
13621 }
13622 cast++;
13623 }
13624 /* Set entry in modules->types array equal to the type */
13625 swig_module.types[i] = type;
13626 }
13627 swig_module.types[i] = 0;
13628
13629 #ifdef SWIGRUNTIME_DEBUG
13630 printf("**** SWIG_InitializeModule: Cast List ******\n");
13631 for (i = 0; i < swig_module.size; ++i) {
13632 int j = 0;
13633 swig_cast_info *cast = swig_module.cast_initial[i];
13634 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13635 while (cast->type) {
13636 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13637 cast++;
13638 ++j;
13639 }
13640 printf("---- Total casts: %d\n",j);
13641 }
13642 printf("**** SWIG_InitializeModule: Cast List ******\n");
13643 #endif
13644 }
13645
13646 /* This function will propagate the clientdata field of type to
13647 * any new swig_type_info structures that have been added into the list
13648 * of equivalent types. It is like calling
13649 * SWIG_TypeClientData(type, clientdata) a second time.
13650 */
13651 SWIGRUNTIME void
13652 SWIG_PropagateClientData(void) {
13653 size_t i;
13654 swig_cast_info *equiv;
13655 static int init_run = 0;
13656
13657 if (init_run) return;
13658 init_run = 1;
13659
13660 for (i = 0; i < swig_module.size; i++) {
13661 if (swig_module.types[i]->clientdata) {
13662 equiv = swig_module.types[i]->cast;
13663 while (equiv) {
13664 if (!equiv->converter) {
13665 if (equiv->type && !equiv->type->clientdata)
13666 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13667 }
13668 equiv = equiv->next;
13669 }
13670 }
13671 }
13672 }
13673
13674 #ifdef __cplusplus
13675 #if 0
13676 {
13677 /* c-mode */
13678 #endif
13679 }
13680 #endif
13681
13682
13683
13684 #ifdef __cplusplus
13685 extern "C" {
13686 #endif
13687
13688 /* Python-specific SWIG API */
13689 #define SWIG_newvarlink() SWIG_Python_newvarlink()
13690 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13691 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
13692
13693 /* -----------------------------------------------------------------------------
13694 * global variable support code.
13695 * ----------------------------------------------------------------------------- */
13696
13697 typedef struct swig_globalvar {
13698 char *name; /* Name of global variable */
13699 PyObject *(*get_attr)(void); /* Return the current value */
13700 int (*set_attr)(PyObject *); /* Set the value */
13701 struct swig_globalvar *next;
13702 } swig_globalvar;
13703
13704 typedef struct swig_varlinkobject {
13705 PyObject_HEAD
13706 swig_globalvar *vars;
13707 } swig_varlinkobject;
13708
13709 SWIGINTERN PyObject *
13710 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13711 return PyString_FromString("<Swig global variables>");
13712 }
13713
13714 SWIGINTERN PyObject *
13715 swig_varlink_str(swig_varlinkobject *v) {
13716 PyObject *str = PyString_FromString("(");
13717 swig_globalvar *var;
13718 for (var = v->vars; var; var=var->next) {
13719 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13720 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13721 }
13722 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13723 return str;
13724 }
13725
13726 SWIGINTERN int
13727 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13728 PyObject *str = swig_varlink_str(v);
13729 fprintf(fp,"Swig global variables ");
13730 fprintf(fp,"%s\n", PyString_AsString(str));
13731 Py_DECREF(str);
13732 return 0;
13733 }
13734
13735 SWIGINTERN void
13736 swig_varlink_dealloc(swig_varlinkobject *v) {
13737 swig_globalvar *var = v->vars;
13738 while (var) {
13739 swig_globalvar *n = var->next;
13740 free(var->name);
13741 free(var);
13742 var = n;
13743 }
13744 }
13745
13746 SWIGINTERN PyObject *
13747 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13748 PyObject *res = NULL;
13749 swig_globalvar *var = v->vars;
13750 while (var) {
13751 if (strcmp(var->name,n) == 0) {
13752 res = (*var->get_attr)();
13753 break;
13754 }
13755 var = var->next;
13756 }
13757 if (res == NULL && !PyErr_Occurred()) {
13758 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13759 }
13760 return res;
13761 }
13762
13763 SWIGINTERN int
13764 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13765 int res = 1;
13766 swig_globalvar *var = v->vars;
13767 while (var) {
13768 if (strcmp(var->name,n) == 0) {
13769 res = (*var->set_attr)(p);
13770 break;
13771 }
13772 var = var->next;
13773 }
13774 if (res == 1 && !PyErr_Occurred()) {
13775 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13776 }
13777 return res;
13778 }
13779
13780 SWIGINTERN PyTypeObject*
13781 swig_varlink_type(void) {
13782 static char varlink__doc__[] = "Swig var link object";
13783 static PyTypeObject varlink_type;
13784 static int type_init = 0;
13785 if (!type_init) {
13786 const PyTypeObject tmp
13787 = {
13788 PyObject_HEAD_INIT(NULL)
13789 0, /* Number of items in variable part (ob_size) */
13790 (char *)"swigvarlink", /* Type name (tp_name) */
13791 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13792 0, /* Itemsize (tp_itemsize) */
13793 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13794 (printfunc) swig_varlink_print, /* Print (tp_print) */
13795 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13796 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13797 0, /* tp_compare */
13798 (reprfunc) swig_varlink_repr, /* tp_repr */
13799 0, /* tp_as_number */
13800 0, /* tp_as_sequence */
13801 0, /* tp_as_mapping */
13802 0, /* tp_hash */
13803 0, /* tp_call */
13804 (reprfunc)swig_varlink_str, /* tp_str */
13805 0, /* tp_getattro */
13806 0, /* tp_setattro */
13807 0, /* tp_as_buffer */
13808 0, /* tp_flags */
13809 varlink__doc__, /* tp_doc */
13810 0, /* tp_traverse */
13811 0, /* tp_clear */
13812 0, /* tp_richcompare */
13813 0, /* tp_weaklistoffset */
13814 #if PY_VERSION_HEX >= 0x02020000
13815 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
13816 #endif
13817 #if PY_VERSION_HEX >= 0x02030000
13818 0, /* tp_del */
13819 #endif
13820 #ifdef COUNT_ALLOCS
13821 0,0,0,0 /* tp_alloc -> tp_next */
13822 #endif
13823 };
13824 varlink_type = tmp;
13825 varlink_type.ob_type = &PyType_Type;
13826 type_init = 1;
13827 }
13828 return &varlink_type;
13829 }
13830
13831 /* Create a variable linking object for use later */
13832 SWIGINTERN PyObject *
13833 SWIG_Python_newvarlink(void) {
13834 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
13835 if (result) {
13836 result->vars = 0;
13837 }
13838 return ((PyObject*) result);
13839 }
13840
13841 SWIGINTERN void
13842 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
13843 swig_varlinkobject *v = (swig_varlinkobject *) p;
13844 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
13845 if (gv) {
13846 size_t size = strlen(name)+1;
13847 gv->name = (char *)malloc(size);
13848 if (gv->name) {
13849 strncpy(gv->name,name,size);
13850 gv->get_attr = get_attr;
13851 gv->set_attr = set_attr;
13852 gv->next = v->vars;
13853 }
13854 }
13855 v->vars = gv;
13856 }
13857
13858 SWIGINTERN PyObject *
13859 SWIG_globals() {
13860 static PyObject *_SWIG_globals = 0;
13861 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
13862 return _SWIG_globals;
13863 }
13864
13865 /* -----------------------------------------------------------------------------
13866 * constants/methods manipulation
13867 * ----------------------------------------------------------------------------- */
13868
13869 /* Install Constants */
13870 SWIGINTERN void
13871 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
13872 PyObject *obj = 0;
13873 size_t i;
13874 for (i = 0; constants[i].type; ++i) {
13875 switch(constants[i].type) {
13876 case SWIG_PY_POINTER:
13877 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
13878 break;
13879 case SWIG_PY_BINARY:
13880 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
13881 break;
13882 default:
13883 obj = 0;
13884 break;
13885 }
13886 if (obj) {
13887 PyDict_SetItemString(d, constants[i].name, obj);
13888 Py_DECREF(obj);
13889 }
13890 }
13891 }
13892
13893 /* -----------------------------------------------------------------------------*/
13894 /* Fix SwigMethods to carry the callback ptrs when needed */
13895 /* -----------------------------------------------------------------------------*/
13896
13897 SWIGINTERN void
13898 SWIG_Python_FixMethods(PyMethodDef *methods,
13899 swig_const_info *const_table,
13900 swig_type_info **types,
13901 swig_type_info **types_initial) {
13902 size_t i;
13903 for (i = 0; methods[i].ml_name; ++i) {
13904 char *c = methods[i].ml_doc;
13905 if (c && (c = strstr(c, "swig_ptr: "))) {
13906 int j;
13907 swig_const_info *ci = 0;
13908 char *name = c + 10;
13909 for (j = 0; const_table[j].type; ++j) {
13910 if (strncmp(const_table[j].name, name,
13911 strlen(const_table[j].name)) == 0) {
13912 ci = &(const_table[j]);
13913 break;
13914 }
13915 }
13916 if (ci) {
13917 size_t shift = (ci->ptype) - types;
13918 swig_type_info *ty = types_initial[shift];
13919 size_t ldoc = (c - methods[i].ml_doc);
13920 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
13921 char *ndoc = (char*)malloc(ldoc + lptr + 10);
13922 if (ndoc) {
13923 char *buff = ndoc;
13924 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
13925 if (ptr) {
13926 strncpy(buff, methods[i].ml_doc, ldoc);
13927 buff += ldoc;
13928 strncpy(buff, "swig_ptr: ", 10);
13929 buff += 10;
13930 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
13931 methods[i].ml_doc = ndoc;
13932 }
13933 }
13934 }
13935 }
13936 }
13937 }
13938
13939 #ifdef __cplusplus
13940 }
13941 #endif
13942
13943 /* -----------------------------------------------------------------------------*
13944 * Partial Init method
13945 * -----------------------------------------------------------------------------*/
13946
13947 #ifdef __cplusplus
13948 extern "C"
13949 #endif
13950 SWIGEXPORT void SWIG_init(void) {
13951 PyObject *m, *d;
13952
13953 /* Fix SwigMethods to carry the callback ptrs when needed */
13954 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
13955
13956 m = Py_InitModule((char *) SWIG_name, SwigMethods);
13957 d = PyModule_GetDict(m);
13958
13959 SWIG_InitializeModule(0);
13960 SWIG_InstallConstants(d,swig_const_table);
13961
13962
13963 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
13964 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
13965 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
13966 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
13967 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
13968 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
13969 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
13970 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
13971 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
13972 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
13973 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
13974 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
13975 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
13976 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
13977 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
13978 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
13979 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
13980 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
13981 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
13982 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
13983 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
13984 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
13985 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
13986 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
13987 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
13988 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
13989 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
13990 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
13991 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
13992 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
13993 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
13994
13995
13996 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
13997 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
13998
13999 }
14000