]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_float swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2487 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxChoice swig_types[23]
2490 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2491 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourData swig_types[29]
2496 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508 #define SWIGTYPE_p_wxDialog swig_types[42]
2509 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2510 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvent swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2524 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2527 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532 #define SWIGTYPE_p_wxFont swig_types[66]
2533 #define SWIGTYPE_p_wxFontData swig_types[67]
2534 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2535 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537 #define SWIGTYPE_p_wxFrame swig_types[71]
2538 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540 #define SWIGTYPE_p_wxGauge swig_types[74]
2541 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2545 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2549 #define SWIGTYPE_p_wxIcon swig_types[83]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552 #define SWIGTYPE_p_wxImage swig_types[86]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2554 #define SWIGTYPE_p_wxImageList swig_types[88]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562 #define SWIGTYPE_p_wxListBox swig_types[96]
2563 #define SWIGTYPE_p_wxListEvent swig_types[97]
2564 #define SWIGTYPE_p_wxListItem swig_types[98]
2565 #define SWIGTYPE_p_wxListView swig_types[99]
2566 #define SWIGTYPE_p_wxListbook swig_types[100]
2567 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572 #define SWIGTYPE_p_wxMenu swig_types[106]
2573 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2574 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2576 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxNotebook swig_types[119]
2586 #define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589 #define SWIGTYPE_p_wxObject swig_types[123]
2590 #define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxPanel swig_types[131]
2598 #define SWIGTYPE_p_wxPaperSize swig_types[132]
2599 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600 #define SWIGTYPE_p_wxPickerBase swig_types[134]
2601 #define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602 #define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603 #define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604 #define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605 #define SWIGTYPE_p_wxPrintData swig_types[139]
2606 #define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608 #define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609 #define SWIGTYPE_p_wxPrinter swig_types[143]
2610 #define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611 #define SWIGTYPE_p_wxPyApp swig_types[145]
2612 #define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613 #define SWIGTYPE_p_wxPyControl swig_types[147]
2614 #define SWIGTYPE_p_wxPyEvent swig_types[148]
2615 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616 #define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617 #define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618 #define SWIGTYPE_p_wxPyPanel swig_types[152]
2619 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622 #define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623 #define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625 #define SWIGTYPE_p_wxPySizer swig_types[159]
2626 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631 #define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633 #define SWIGTYPE_p_wxPyValidator swig_types[167]
2634 #define SWIGTYPE_p_wxPyWindow swig_types[168]
2635 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637 #define SWIGTYPE_p_wxRadioBox swig_types[171]
2638 #define SWIGTYPE_p_wxRadioButton swig_types[172]
2639 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640 #define SWIGTYPE_p_wxSashEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642 #define SWIGTYPE_p_wxSashWindow swig_types[176]
2643 #define SWIGTYPE_p_wxScrollBar swig_types[177]
2644 #define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645 #define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646 #define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647 #define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648 #define SWIGTYPE_p_wxShowEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650 #define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651 #define SWIGTYPE_p_wxSizer swig_types[185]
2652 #define SWIGTYPE_p_wxSizerItem swig_types[186]
2653 #define SWIGTYPE_p_wxSlider swig_types[187]
2654 #define SWIGTYPE_p_wxSpinButton swig_types[188]
2655 #define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656 #define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657 #define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659 #define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661 #define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662 #define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663 #define SWIGTYPE_p_wxStaticBox swig_types[197]
2664 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665 #define SWIGTYPE_p_wxStaticLine swig_types[199]
2666 #define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667 #define SWIGTYPE_p_wxStaticText swig_types[201]
2668 #define SWIGTYPE_p_wxStatusBar swig_types[202]
2669 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
2671 #define SWIGTYPE_p_wxTIFFHandler swig_types[205]
2672 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[206]
2673 #define SWIGTYPE_p_wxTextCtrl swig_types[207]
2674 #define SWIGTYPE_p_wxTextEntryDialog swig_types[208]
2675 #define SWIGTYPE_p_wxTextUrlEvent swig_types[209]
2676 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[210]
2677 #define SWIGTYPE_p_wxTipWindow swig_types[211]
2678 #define SWIGTYPE_p_wxToggleButton swig_types[212]
2679 #define SWIGTYPE_p_wxToolBar swig_types[213]
2680 #define SWIGTYPE_p_wxToolBarBase swig_types[214]
2681 #define SWIGTYPE_p_wxToolBarToolBase swig_types[215]
2682 #define SWIGTYPE_p_wxToolbook swig_types[216]
2683 #define SWIGTYPE_p_wxToolbookEvent swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxTreeEvent swig_types[219]
2686 #define SWIGTYPE_p_wxTreeItemId swig_types[220]
2687 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[221]
2688 #define SWIGTYPE_p_wxTreebook swig_types[222]
2689 #define SWIGTYPE_p_wxTreebookEvent swig_types[223]
2690 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[224]
2691 #define SWIGTYPE_p_wxValidator swig_types[225]
2692 #define SWIGTYPE_p_wxWindow swig_types[226]
2693 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[227]
2694 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228]
2695 #define SWIGTYPE_p_wxXPMHandler swig_types[229]
2696 static swig_type_info *swig_types[231];
2697 static swig_module_info swig_module = {swig_types, 230, 0, 0, 0, 0};
2698 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2699 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2700
2701 /* -------- TYPES TABLE (END) -------- */
2702
2703 #if (PY_VERSION_HEX <= 0x02000000)
2704 # if !defined(SWIG_PYTHON_CLASSIC)
2705 # error "This python version requires to use swig with the '-classic' option"
2706 # endif
2707 #endif
2708 #if (PY_VERSION_HEX <= 0x02020000)
2709 # error "This python version requires to use swig with the '-nomodern' option"
2710 #endif
2711 #if (PY_VERSION_HEX <= 0x02020000)
2712 # error "This python version requires to use swig with the '-nomodernargs' option"
2713 #endif
2714 #ifndef METH_O
2715 # error "This python version requires to use swig with the '-nofastunpack' option"
2716 #endif
2717
2718 /*-----------------------------------------------
2719 @(target):= _gizmos.so
2720 ------------------------------------------------*/
2721 #define SWIG_init init_gizmos
2722
2723 #define SWIG_name "_gizmos"
2724
2725 #define SWIGVERSION 0x010329
2726
2727
2728 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2729 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2730
2731
2732 #include <stdexcept>
2733
2734
2735 namespace swig {
2736 class PyObject_ptr {
2737 protected:
2738 PyObject *_obj;
2739
2740 public:
2741 PyObject_ptr() :_obj(0)
2742 {
2743 }
2744
2745 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2746 {
2747 Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2751 {
2752 if (initial_ref) Py_XINCREF(_obj);
2753 }
2754
2755 PyObject_ptr & operator=(const PyObject_ptr& item)
2756 {
2757 Py_XINCREF(item._obj);
2758 Py_XDECREF(_obj);
2759 _obj = item._obj;
2760 return *this;
2761 }
2762
2763 ~PyObject_ptr()
2764 {
2765 Py_XDECREF(_obj);
2766 }
2767
2768 operator PyObject *() const
2769 {
2770 return _obj;
2771 }
2772
2773 PyObject *operator->() const
2774 {
2775 return _obj;
2776 }
2777 };
2778 }
2779
2780
2781 namespace swig {
2782 struct PyObject_var : PyObject_ptr {
2783 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2784
2785 PyObject_var & operator = (PyObject* obj)
2786 {
2787 Py_XDECREF(_obj);
2788 _obj = obj;
2789 return *this;
2790 }
2791 };
2792 }
2793
2794
2795 #include "wx/wxPython/wxPython.h"
2796 #include "wx/wxPython/pyclasses.h"
2797
2798 #include <wx/gizmos/dynamicsash.h>
2799 #include <wx/gizmos/editlbox.h>
2800 #include <wx/gizmos/splittree.h>
2801 #include <wx/gizmos/ledctrl.h>
2802 #include <wx/gizmos/statpict.h>
2803
2804 #include <wx/listctrl.h>
2805 #include <wx/treectrl.h>
2806 #include <wx/imaglist.h>
2807
2808
2809 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2810 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2811 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2812 static const wxString wxPyEmptyString(wxEmptyString);
2813
2814 #define SWIG_From_long PyInt_FromLong
2815
2816
2817 SWIGINTERNINLINE PyObject *
2818 SWIG_From_int (int value)
2819 {
2820 return SWIG_From_long (value);
2821 }
2822
2823
2824 #include <limits.h>
2825 #ifndef LLONG_MIN
2826 # define LLONG_MIN LONG_LONG_MIN
2827 #endif
2828 #ifndef LLONG_MAX
2829 # define LLONG_MAX LONG_LONG_MAX
2830 #endif
2831 #ifndef ULLONG_MAX
2832 # define ULLONG_MAX ULONG_LONG_MAX
2833 #endif
2834
2835
2836 SWIGINTERN int
2837 SWIG_AsVal_long (PyObject* obj, long* val)
2838 {
2839 if (PyNumber_Check(obj)) {
2840 if (val) *val = PyInt_AsLong(obj);
2841 return SWIG_OK;
2842 }
2843 return SWIG_TypeError;
2844 }
2845
2846
2847 SWIGINTERN int
2848 SWIG_AsVal_int (PyObject * obj, int *val)
2849 {
2850 long v;
2851 int res = SWIG_AsVal_long (obj, &v);
2852 if (SWIG_IsOK(res)) {
2853 if ((v < INT_MIN || v > INT_MAX)) {
2854 return SWIG_OverflowError;
2855 } else {
2856 if (val) *val = static_cast< int >(v);
2857 }
2858 }
2859 return res;
2860 }
2861
2862 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2863 wxArrayString strings;
2864 self->GetStrings(strings);
2865 return wxArrayString2PyList_helper(strings);
2866 }
2867
2868 typedef wxTreeCtrl wxPyTreeCtrl;
2869
2870
2871 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2872 {
2873 public:
2874 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2875 const wxPoint& pos = wxDefaultPosition,
2876 const wxSize& size = wxDefaultSize,
2877 long style = 0)
2878 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2879
2880
2881 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2882 bool found;
2883 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2884 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2885 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2886 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2887 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2888 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2889 Py_DECREF(dcobj);
2890 Py_DECREF(idobj);
2891 Py_DECREF(recobj);
2892 }
2893 wxPyEndBlockThreads(blocked);
2894 if (! found)
2895 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2896 }
2897
2898 PYPRIVATE;
2899 };
2900
2901
2902 SWIGINTERN int
2903 SWIG_AsVal_bool (PyObject *obj, bool *val)
2904 {
2905 if (obj == Py_True) {
2906 if (val) *val = true;
2907 return SWIG_OK;
2908 } else if (obj == Py_False) {
2909 if (val) *val = false;
2910 return SWIG_OK;
2911 } else {
2912 long v = 0;
2913 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2914 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2915 return res;
2916 }
2917 }
2918
2919
2920 #include "wx/treelistctrl.h"
2921 #include "wx/wxPython/pytree.h"
2922
2923
2924 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2925
2926 SWIGINTERNINLINE PyObject*
2927 SWIG_From_unsigned_SS_long (unsigned long value)
2928 {
2929 return (value > LONG_MAX) ?
2930 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2931 }
2932
2933
2934 SWIGINTERNINLINE PyObject *
2935 SWIG_From_size_t (size_t value)
2936 {
2937 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2938 }
2939
2940
2941 SWIGINTERN int
2942 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2943 {
2944 long v = 0;
2945 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2946 return SWIG_TypeError;
2947 }
2948 else if (val)
2949 *val = (unsigned long)v;
2950 return SWIG_OK;
2951 }
2952
2953
2954 SWIGINTERNINLINE int
2955 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2956 {
2957 unsigned long v;
2958 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2959 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2960 return res;
2961 }
2962
2963 // C++ version of Python aware control
2964 class wxPyTreeListCtrl : public wxTreeListCtrl {
2965 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2966 public:
2967 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2968 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2969 const wxPoint& pos,
2970 const wxSize& size,
2971 long style,
2972 const wxValidator &validator,
2973 const wxString& name) :
2974 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2975
2976 virtual int OnCompareItems(const wxTreeItemId& item1,
2977 const wxTreeItemId& item2) {
2978 int rval = 0;
2979 bool found;
2980 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2981 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2982 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2983 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2984 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2985 Py_DECREF(o1);
2986 Py_DECREF(o2);
2987 }
2988 wxPyEndBlockThreads(blocked);
2989 if (! found)
2990 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2991 return rval;
2992 }
2993
2994 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
2995 wxString rval;
2996 bool found;
2997 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2998 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
2999 PyObject* ro;
3000 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3001 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3002 Py_DECREF(itemo);
3003 if (ro) {
3004 rval = Py2wxString(ro);
3005 Py_DECREF(ro);
3006 }
3007 }
3008 wxPyEndBlockThreads(blocked);
3009 if (! found)
3010 rval = wxTreeListCtrl::OnGetItemText(item, column);
3011 return rval;
3012 }
3013
3014 PYPRIVATE;
3015 };
3016
3017 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3018
3019
3020
3021 SWIGINTERNINLINE PyObject *
3022 SWIG_From_unsigned_SS_int (unsigned int value)
3023 {
3024 return SWIG_From_unsigned_SS_long (value);
3025 }
3026
3027
3028 SWIGINTERN int
3029 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3030 {
3031 unsigned long v;
3032 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3033 if (SWIG_IsOK(res)) {
3034 if ((v > UINT_MAX)) {
3035 return SWIG_OverflowError;
3036 } else {
3037 if (val) *val = static_cast< unsigned int >(v);
3038 }
3039 }
3040 return res;
3041 }
3042
3043 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3044 if (column < 0) column = self->GetMainColumn();
3045 return self->GetItemText(item, column);
3046 }
3047 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3048 if (column < 0) column = self->GetMainColumn();
3049 return self->GetItemImage(item, column, which);
3050 }
3051 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3052 if (column < 0) column = self->GetMainColumn();
3053 self->SetItemText(item, column, text);
3054 }
3055 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3056 if (column < 0) column = self->GetMainColumn();
3057 self->SetItemImage(item, column, image, which);
3058 }
3059 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3060 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3061 if (data == NULL) {
3062 data = new wxPyTreeItemData();
3063 data->SetId(item); // set the id
3064 self->SetItemData(item, data);
3065 }
3066 return data;
3067 }
3068 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3069 data->SetId(item); // set the id
3070 self->SetItemData(item, data);
3071 }
3072 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3073 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3074 if (data == NULL) {
3075 data = new wxPyTreeItemData();
3076 data->SetId(item); // set the id
3077 self->SetItemData(item, data);
3078 }
3079 return data->GetData();
3080 }
3081 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3082 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3083 if (data == NULL) {
3084 data = new wxPyTreeItemData(obj);
3085 data->SetId(item); // set the id
3086 self->SetItemData(item, data);
3087 } else
3088 data->SetData(obj);
3089 }
3090 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3091 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3092 PyObject* rval = PyList_New(0);
3093 wxArrayTreeItemIds array;
3094 size_t num, x;
3095 num = self->GetSelections(array);
3096 for (x=0; x < num; x++) {
3097 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3098 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3099 PyList_Append(rval, item);
3100 Py_DECREF(item);
3101 }
3102 wxPyEndBlockThreads(blocked);
3103 return rval;
3104 }
3105 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3106 void* cookie = 0;
3107 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3108 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3109 PyObject* tup = PyTuple_New(2);
3110 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3111 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3112 wxPyEndBlockThreads(blocked);
3113 return tup;
3114 }
3115 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3116 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3117 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3118 PyObject* tup = PyTuple_New(2);
3119 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3120 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3121 wxPyEndBlockThreads(blocked);
3122 return tup;
3123 }
3124 SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3125 void* cookie = 0;
3126 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3127 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3128 PyObject* tup = PyTuple_New(2);
3129 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3130 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3131 wxPyEndBlockThreads(blocked);
3132 return tup;
3133 }
3134 SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3135 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 PyObject* tup = PyTuple_New(2);
3138 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3139 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3140 wxPyEndBlockThreads(blocked);
3141 return tup;
3142 }
3143 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3144 wxRect rect;
3145 if (self->GetBoundingRect(item, rect, textOnly)) {
3146 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3147 wxRect* r = new wxRect(rect);
3148 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3149 wxPyEndBlockThreads(blocked);
3150 return val;
3151 }
3152 else {
3153 RETURN_NONE();
3154 }
3155 }
3156 SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3157 if (column < 0) column = self->GetMainColumn();
3158 self->EditLabel(item, column);
3159 }
3160
3161 #include <float.h>
3162
3163
3164 SWIGINTERN int
3165 SWIG_AsVal_double (PyObject *obj, double* val)
3166 {
3167 if (PyNumber_Check(obj)) {
3168 if (val) *val = PyFloat_AsDouble(obj);
3169 return SWIG_OK;
3170 }
3171 return SWIG_TypeError;
3172 }
3173
3174
3175 SWIGINTERN int
3176 SWIG_AsVal_float (PyObject * obj, float *val)
3177 {
3178 double v;
3179 int res = SWIG_AsVal_double (obj, &v);
3180 if (SWIG_IsOK(res)) {
3181 if ((v < -FLT_MAX || v > FLT_MAX)) {
3182 return SWIG_OverflowError;
3183 } else {
3184 if (val) *val = static_cast< float >(v);
3185 }
3186 }
3187 return res;
3188 }
3189
3190
3191 #define SWIG_From_double PyFloat_FromDouble
3192
3193
3194 SWIGINTERNINLINE PyObject *
3195 SWIG_From_float (float value)
3196 {
3197 return SWIG_From_double (value);
3198 }
3199
3200 #ifdef __cplusplus
3201 extern "C" {
3202 #endif
3203 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3204 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3205 return 1;
3206 }
3207
3208
3209 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3210 PyObject *pyobj = 0;
3211
3212 {
3213 #if wxUSE_UNICODE
3214 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3215 #else
3216 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3217 #endif
3218 }
3219 return pyobj;
3220 }
3221
3222
3223 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3224 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3225 return 1;
3226 }
3227
3228
3229 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3230 PyObject *pyobj = 0;
3231
3232 {
3233 #if wxUSE_UNICODE
3234 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3235 #else
3236 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3237 #endif
3238 }
3239 return pyobj;
3240 }
3241
3242
3243 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3244 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3245 return 1;
3246 }
3247
3248
3249 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3250 PyObject *pyobj = 0;
3251
3252 {
3253 #if wxUSE_UNICODE
3254 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3255 #else
3256 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3257 #endif
3258 }
3259 return pyobj;
3260 }
3261
3262
3263 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj = 0;
3265 wxObject *arg1 = (wxObject *) 0 ;
3266 wxDynamicSashSplitEvent *result = 0 ;
3267 void *argp1 = 0 ;
3268 int res1 = 0 ;
3269 PyObject * obj0 = 0 ;
3270 char * kwnames[] = {
3271 (char *) "target", NULL
3272 };
3273
3274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3276 if (!SWIG_IsOK(res1)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3278 }
3279 arg1 = reinterpret_cast< wxObject * >(argp1);
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3287 return resultobj;
3288 fail:
3289 return NULL;
3290 }
3291
3292
3293 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3294 PyObject *obj;
3295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3296 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3297 return SWIG_Py_Void();
3298 }
3299
3300 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3301 return SWIG_Python_InitShadowInstance(args);
3302 }
3303
3304 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj = 0;
3306 wxObject *arg1 = (wxObject *) 0 ;
3307 wxDynamicSashUnifyEvent *result = 0 ;
3308 void *argp1 = 0 ;
3309 int res1 = 0 ;
3310 PyObject * obj0 = 0 ;
3311 char * kwnames[] = {
3312 (char *) "target", NULL
3313 };
3314
3315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3317 if (!SWIG_IsOK(res1)) {
3318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3319 }
3320 arg1 = reinterpret_cast< wxObject * >(argp1);
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3335 PyObject *obj;
3336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3337 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3338 return SWIG_Py_Void();
3339 }
3340
3341 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3342 return SWIG_Python_InitShadowInstance(args);
3343 }
3344
3345 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj = 0;
3347 wxWindow *arg1 = (wxWindow *) 0 ;
3348 int arg2 = (int) -1 ;
3349 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3350 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3351 wxSize const &arg4_defvalue = wxDefaultSize ;
3352 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3353 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3354 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3355 wxString *arg6 = (wxString *) &arg6_defvalue ;
3356 wxDynamicSashWindow *result = 0 ;
3357 void *argp1 = 0 ;
3358 int res1 = 0 ;
3359 int val2 ;
3360 int ecode2 = 0 ;
3361 wxPoint temp3 ;
3362 wxSize temp4 ;
3363 long val5 ;
3364 int ecode5 = 0 ;
3365 bool temp6 = false ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 PyObject * obj4 = 0 ;
3371 PyObject * obj5 = 0 ;
3372 char * kwnames[] = {
3373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3374 };
3375
3376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3378 if (!SWIG_IsOK(res1)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3380 }
3381 arg1 = reinterpret_cast< wxWindow * >(argp1);
3382 if (obj1) {
3383 ecode2 = SWIG_AsVal_int(obj1, &val2);
3384 if (!SWIG_IsOK(ecode2)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3386 }
3387 arg2 = static_cast< int >(val2);
3388 }
3389 if (obj2) {
3390 {
3391 arg3 = &temp3;
3392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3393 }
3394 }
3395 if (obj3) {
3396 {
3397 arg4 = &temp4;
3398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3399 }
3400 }
3401 if (obj4) {
3402 ecode5 = SWIG_AsVal_long(obj4, &val5);
3403 if (!SWIG_IsOK(ecode5)) {
3404 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3405 }
3406 arg5 = static_cast< long >(val5);
3407 }
3408 if (obj5) {
3409 {
3410 arg6 = wxString_in_helper(obj5);
3411 if (arg6 == NULL) SWIG_fail;
3412 temp6 = true;
3413 }
3414 }
3415 {
3416 if (!wxPyCheckForApp()) SWIG_fail;
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3423 {
3424 if (temp6)
3425 delete arg6;
3426 }
3427 return resultobj;
3428 fail:
3429 {
3430 if (temp6)
3431 delete arg6;
3432 }
3433 return NULL;
3434 }
3435
3436
3437 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3438 PyObject *resultobj = 0;
3439 wxDynamicSashWindow *result = 0 ;
3440
3441 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3442 {
3443 if (!wxPyCheckForApp()) SWIG_fail;
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj = 0;
3458 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3459 wxWindow *arg2 = (wxWindow *) 0 ;
3460 int arg3 = (int) -1 ;
3461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3463 wxSize const &arg5_defvalue = wxDefaultSize ;
3464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3465 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3466 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3467 wxString *arg7 = (wxString *) &arg7_defvalue ;
3468 bool result;
3469 void *argp1 = 0 ;
3470 int res1 = 0 ;
3471 void *argp2 = 0 ;
3472 int res2 = 0 ;
3473 int val3 ;
3474 int ecode3 = 0 ;
3475 wxPoint temp4 ;
3476 wxSize temp5 ;
3477 long val6 ;
3478 int ecode6 = 0 ;
3479 bool temp7 = false ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 PyObject * obj2 = 0 ;
3483 PyObject * obj3 = 0 ;
3484 PyObject * obj4 = 0 ;
3485 PyObject * obj5 = 0 ;
3486 PyObject * obj6 = 0 ;
3487 char * kwnames[] = {
3488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3489 };
3490
3491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3495 }
3496 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3498 if (!SWIG_IsOK(res2)) {
3499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3500 }
3501 arg2 = reinterpret_cast< wxWindow * >(argp2);
3502 if (obj2) {
3503 ecode3 = SWIG_AsVal_int(obj2, &val3);
3504 if (!SWIG_IsOK(ecode3)) {
3505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3506 }
3507 arg3 = static_cast< int >(val3);
3508 }
3509 if (obj3) {
3510 {
3511 arg4 = &temp4;
3512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3513 }
3514 }
3515 if (obj4) {
3516 {
3517 arg5 = &temp5;
3518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3519 }
3520 }
3521 if (obj5) {
3522 ecode6 = SWIG_AsVal_long(obj5, &val6);
3523 if (!SWIG_IsOK(ecode6)) {
3524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3525 }
3526 arg6 = static_cast< long >(val6);
3527 }
3528 if (obj6) {
3529 {
3530 arg7 = wxString_in_helper(obj6);
3531 if (arg7 == NULL) SWIG_fail;
3532 temp7 = true;
3533 }
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3543 }
3544 {
3545 if (temp7)
3546 delete arg7;
3547 }
3548 return resultobj;
3549 fail:
3550 {
3551 if (temp7)
3552 delete arg7;
3553 }
3554 return NULL;
3555 }
3556
3557
3558 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj = 0;
3560 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3561 wxWindow *arg2 = (wxWindow *) 0 ;
3562 wxScrollBar *result = 0 ;
3563 void *argp1 = 0 ;
3564 int res1 = 0 ;
3565 void *argp2 = 0 ;
3566 int res2 = 0 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char * kwnames[] = {
3570 (char *) "self",(char *) "child", NULL
3571 };
3572
3573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3575 if (!SWIG_IsOK(res1)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3577 }
3578 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3580 if (!SWIG_IsOK(res2)) {
3581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3582 }
3583 arg2 = reinterpret_cast< wxWindow * >(argp2);
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj = 0;
3599 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3600 wxWindow *arg2 = (wxWindow *) 0 ;
3601 wxScrollBar *result = 0 ;
3602 void *argp1 = 0 ;
3603 int res1 = 0 ;
3604 void *argp2 = 0 ;
3605 int res2 = 0 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char * kwnames[] = {
3609 (char *) "self",(char *) "child", NULL
3610 };
3611
3612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3614 if (!SWIG_IsOK(res1)) {
3615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3616 }
3617 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3619 if (!SWIG_IsOK(res2)) {
3620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3621 }
3622 arg2 = reinterpret_cast< wxWindow * >(argp2);
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3630 return resultobj;
3631 fail:
3632 return NULL;
3633 }
3634
3635
3636 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3637 PyObject *obj;
3638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3640 return SWIG_Py_Void();
3641 }
3642
3643 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3644 return SWIG_Python_InitShadowInstance(args);
3645 }
3646
3647 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj = 0;
3649 wxWindow *arg1 = (wxWindow *) 0 ;
3650 int arg2 = (int) -1 ;
3651 wxString const &arg3_defvalue = wxPyEmptyString ;
3652 wxString *arg3 = (wxString *) &arg3_defvalue ;
3653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3655 wxSize const &arg5_defvalue = wxDefaultSize ;
3656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3657 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3658 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3659 wxString *arg7 = (wxString *) &arg7_defvalue ;
3660 wxEditableListBox *result = 0 ;
3661 void *argp1 = 0 ;
3662 int res1 = 0 ;
3663 int val2 ;
3664 int ecode2 = 0 ;
3665 bool temp3 = false ;
3666 wxPoint temp4 ;
3667 wxSize temp5 ;
3668 long val6 ;
3669 int ecode6 = 0 ;
3670 bool temp7 = false ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 PyObject * obj3 = 0 ;
3675 PyObject * obj4 = 0 ;
3676 PyObject * obj5 = 0 ;
3677 PyObject * obj6 = 0 ;
3678 char * kwnames[] = {
3679 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3680 };
3681
3682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3684 if (!SWIG_IsOK(res1)) {
3685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3686 }
3687 arg1 = reinterpret_cast< wxWindow * >(argp1);
3688 if (obj1) {
3689 ecode2 = SWIG_AsVal_int(obj1, &val2);
3690 if (!SWIG_IsOK(ecode2)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3692 }
3693 arg2 = static_cast< int >(val2);
3694 }
3695 if (obj2) {
3696 {
3697 arg3 = wxString_in_helper(obj2);
3698 if (arg3 == NULL) SWIG_fail;
3699 temp3 = true;
3700 }
3701 }
3702 if (obj3) {
3703 {
3704 arg4 = &temp4;
3705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3706 }
3707 }
3708 if (obj4) {
3709 {
3710 arg5 = &temp5;
3711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3712 }
3713 }
3714 if (obj5) {
3715 ecode6 = SWIG_AsVal_long(obj5, &val6);
3716 if (!SWIG_IsOK(ecode6)) {
3717 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3718 }
3719 arg6 = static_cast< long >(val6);
3720 }
3721 if (obj6) {
3722 {
3723 arg7 = wxString_in_helper(obj6);
3724 if (arg7 == NULL) SWIG_fail;
3725 temp7 = true;
3726 }
3727 }
3728 {
3729 if (!wxPyCheckForApp()) SWIG_fail;
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3736 {
3737 if (temp3)
3738 delete arg3;
3739 }
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745 fail:
3746 {
3747 if (temp3)
3748 delete arg3;
3749 }
3750 {
3751 if (temp7)
3752 delete arg7;
3753 }
3754 return NULL;
3755 }
3756
3757
3758 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3761 wxArrayString *arg2 = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 bool temp2 = false ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "self",(char *) "strings", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3775 }
3776 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3777 {
3778 if (! PySequence_Check(obj1)) {
3779 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3780 SWIG_fail;
3781 }
3782 arg2 = new wxArrayString;
3783 temp2 = true;
3784 int i, len=PySequence_Length(obj1);
3785 for (i=0; i<len; i++) {
3786 PyObject* item = PySequence_GetItem(obj1, i);
3787 wxString* s = wxString_in_helper(item);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 arg2->Add(*s);
3790 delete s;
3791 Py_DECREF(item);
3792 }
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetStrings((wxArrayString const &)*arg2);
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 resultobj = SWIG_Py_Void();
3801 {
3802 if (temp2) delete arg2;
3803 }
3804 return resultobj;
3805 fail:
3806 {
3807 if (temp2) delete arg2;
3808 }
3809 return NULL;
3810 }
3811
3812
3813 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3814 PyObject *resultobj = 0;
3815 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3816 PyObject *result = 0 ;
3817 void *argp1 = 0 ;
3818 int res1 = 0 ;
3819 PyObject *swig_obj[1] ;
3820
3821 if (!args) SWIG_fail;
3822 swig_obj[0] = args;
3823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3824 if (!SWIG_IsOK(res1)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3826 }
3827 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 resultobj = result;
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3844 wxPyListCtrl *result = 0 ;
3845 void *argp1 = 0 ;
3846 int res1 = 0 ;
3847 PyObject *swig_obj[1] ;
3848
3849 if (!args) SWIG_fail;
3850 swig_obj[0] = args;
3851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3852 if (!SWIG_IsOK(res1)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3854 }
3855 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3870 PyObject *resultobj = 0;
3871 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3872 wxBitmapButton *result = 0 ;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 PyObject *swig_obj[1] ;
3876
3877 if (!args) SWIG_fail;
3878 swig_obj[0] = args;
3879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3880 if (!SWIG_IsOK(res1)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3882 }
3883 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (wxBitmapButton *)(arg1)->GetDelButton();
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 {
3891 resultobj = wxPyMake_wxObject(result, 0);
3892 }
3893 return resultobj;
3894 fail:
3895 return NULL;
3896 }
3897
3898
3899 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3900 PyObject *resultobj = 0;
3901 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3902 wxBitmapButton *result = 0 ;
3903 void *argp1 = 0 ;
3904 int res1 = 0 ;
3905 PyObject *swig_obj[1] ;
3906
3907 if (!args) SWIG_fail;
3908 swig_obj[0] = args;
3909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3910 if (!SWIG_IsOK(res1)) {
3911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3912 }
3913 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3914 {
3915 PyThreadState* __tstate = wxPyBeginAllowThreads();
3916 result = (wxBitmapButton *)(arg1)->GetNewButton();
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 {
3921 resultobj = wxPyMake_wxObject(result, 0);
3922 }
3923 return resultobj;
3924 fail:
3925 return NULL;
3926 }
3927
3928
3929 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3930 PyObject *resultobj = 0;
3931 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3932 wxBitmapButton *result = 0 ;
3933 void *argp1 = 0 ;
3934 int res1 = 0 ;
3935 PyObject *swig_obj[1] ;
3936
3937 if (!args) SWIG_fail;
3938 swig_obj[0] = args;
3939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3940 if (!SWIG_IsOK(res1)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3942 }
3943 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (wxBitmapButton *)(arg1)->GetUpButton();
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 {
3951 resultobj = wxPyMake_wxObject(result, 0);
3952 }
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3960 PyObject *resultobj = 0;
3961 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3962 wxBitmapButton *result = 0 ;
3963 void *argp1 = 0 ;
3964 int res1 = 0 ;
3965 PyObject *swig_obj[1] ;
3966
3967 if (!args) SWIG_fail;
3968 swig_obj[0] = args;
3969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3970 if (!SWIG_IsOK(res1)) {
3971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3972 }
3973 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = (wxBitmapButton *)(arg1)->GetDownButton();
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 {
3981 resultobj = wxPyMake_wxObject(result, 0);
3982 }
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3990 PyObject *resultobj = 0;
3991 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3992 wxBitmapButton *result = 0 ;
3993 void *argp1 = 0 ;
3994 int res1 = 0 ;
3995 PyObject *swig_obj[1] ;
3996
3997 if (!args) SWIG_fail;
3998 swig_obj[0] = args;
3999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4000 if (!SWIG_IsOK(res1)) {
4001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4002 }
4003 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (wxBitmapButton *)(arg1)->GetEditButton();
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 {
4011 resultobj = wxPyMake_wxObject(result, 0);
4012 }
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4020 PyObject *obj;
4021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4022 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4023 return SWIG_Py_Void();
4024 }
4025
4026 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4027 return SWIG_Python_InitShadowInstance(args);
4028 }
4029
4030 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj = 0;
4032 wxWindow *arg1 = (wxWindow *) 0 ;
4033 int arg2 ;
4034 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4035 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4036 wxSize const &arg4_defvalue = wxDefaultSize ;
4037 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4038 long arg5 = (long) wxTR_HAS_BUTTONS ;
4039 wxRemotelyScrolledTreeCtrl *result = 0 ;
4040 void *argp1 = 0 ;
4041 int res1 = 0 ;
4042 int val2 ;
4043 int ecode2 = 0 ;
4044 wxPoint temp3 ;
4045 wxSize temp4 ;
4046 long val5 ;
4047 int ecode5 = 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 PyObject * obj2 = 0 ;
4051 PyObject * obj3 = 0 ;
4052 PyObject * obj4 = 0 ;
4053 char * kwnames[] = {
4054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4055 };
4056
4057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4061 }
4062 arg1 = reinterpret_cast< wxWindow * >(argp1);
4063 ecode2 = SWIG_AsVal_int(obj1, &val2);
4064 if (!SWIG_IsOK(ecode2)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4066 }
4067 arg2 = static_cast< int >(val2);
4068 if (obj2) {
4069 {
4070 arg3 = &temp3;
4071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4072 }
4073 }
4074 if (obj3) {
4075 {
4076 arg4 = &temp4;
4077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4078 }
4079 }
4080 if (obj4) {
4081 ecode5 = SWIG_AsVal_long(obj4, &val5);
4082 if (!SWIG_IsOK(ecode5)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4084 }
4085 arg5 = static_cast< long >(val5);
4086 }
4087 {
4088 if (!wxPyCheckForApp()) SWIG_fail;
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102 PyObject *resultobj = 0;
4103 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4104 void *argp1 = 0 ;
4105 int res1 = 0 ;
4106 PyObject *swig_obj[1] ;
4107
4108 if (!args) SWIG_fail;
4109 swig_obj[0] = args;
4110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4113 }
4114 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->HideVScrollbar();
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_Py_Void();
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4131 void *argp1 = 0 ;
4132 int res1 = 0 ;
4133 PyObject *swig_obj[1] ;
4134
4135 if (!args) SWIG_fail;
4136 swig_obj[0] = args;
4137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4138 if (!SWIG_IsOK(res1)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4140 }
4141 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 (arg1)->AdjustRemoteScrollbars();
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_Py_Void();
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4156 PyObject *resultobj = 0;
4157 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4158 wxScrolledWindow *result = 0 ;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 PyObject *swig_obj[1] ;
4162
4163 if (!args) SWIG_fail;
4164 swig_obj[0] = args;
4165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4166 if (!SWIG_IsOK(res1)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4168 }
4169 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = wxPyMake_wxObject(result, 0);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182 }
4183
4184
4185 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj = 0;
4187 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4188 int arg2 ;
4189 int arg3 ;
4190 void *argp1 = 0 ;
4191 int res1 = 0 ;
4192 int val2 ;
4193 int ecode2 = 0 ;
4194 int val3 ;
4195 int ecode3 = 0 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 PyObject * obj2 = 0 ;
4199 char * kwnames[] = {
4200 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4201 };
4202
4203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) 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_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4207 }
4208 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4209 ecode2 = SWIG_AsVal_int(obj1, &val2);
4210 if (!SWIG_IsOK(ecode2)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4212 }
4213 arg2 = static_cast< int >(val2);
4214 ecode3 = SWIG_AsVal_int(obj2, &val3);
4215 if (!SWIG_IsOK(ecode3)) {
4216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4217 }
4218 arg3 = static_cast< int >(val3);
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 (arg1)->ScrollToLine(arg2,arg3);
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_Py_Void();
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4235 wxWindow *arg2 = (wxWindow *) 0 ;
4236 void *argp1 = 0 ;
4237 int res1 = 0 ;
4238 void *argp2 = 0 ;
4239 int res2 = 0 ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 char * kwnames[] = {
4243 (char *) "self",(char *) "companion", NULL
4244 };
4245
4246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4248 if (!SWIG_IsOK(res1)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4250 }
4251 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4253 if (!SWIG_IsOK(res2)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4255 }
4256 arg2 = reinterpret_cast< wxWindow * >(argp2);
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetCompanionWindow(arg2);
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 resultobj = SWIG_Py_Void();
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4271 PyObject *resultobj = 0;
4272 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4273 wxWindow *result = 0 ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 PyObject *swig_obj[1] ;
4277
4278 if (!args) SWIG_fail;
4279 swig_obj[0] = args;
4280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4281 if (!SWIG_IsOK(res1)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4283 }
4284 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4285 {
4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
4287 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 {
4292 resultobj = wxPyMake_wxObject(result, 0);
4293 }
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4301 PyObject *obj;
4302 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4303 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4304 return SWIG_Py_Void();
4305 }
4306
4307 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4308 return SWIG_Python_InitShadowInstance(args);
4309 }
4310
4311 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = 0;
4313 wxWindow *arg1 = (wxWindow *) 0 ;
4314 int arg2 = (int) -1 ;
4315 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4316 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4317 wxSize const &arg4_defvalue = wxDefaultSize ;
4318 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4319 long arg5 = (long) 0 ;
4320 wxPyTreeCompanionWindow *result = 0 ;
4321 void *argp1 = 0 ;
4322 int res1 = 0 ;
4323 int val2 ;
4324 int ecode2 = 0 ;
4325 wxPoint temp3 ;
4326 wxSize temp4 ;
4327 long val5 ;
4328 int ecode5 = 0 ;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 PyObject * obj2 = 0 ;
4332 PyObject * obj3 = 0 ;
4333 PyObject * obj4 = 0 ;
4334 char * kwnames[] = {
4335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4336 };
4337
4338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4340 if (!SWIG_IsOK(res1)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4342 }
4343 arg1 = reinterpret_cast< wxWindow * >(argp1);
4344 if (obj1) {
4345 ecode2 = SWIG_AsVal_int(obj1, &val2);
4346 if (!SWIG_IsOK(ecode2)) {
4347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4348 }
4349 arg2 = static_cast< int >(val2);
4350 }
4351 if (obj2) {
4352 {
4353 arg3 = &temp3;
4354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4355 }
4356 }
4357 if (obj3) {
4358 {
4359 arg4 = &temp4;
4360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4361 }
4362 }
4363 if (obj4) {
4364 ecode5 = SWIG_AsVal_long(obj4, &val5);
4365 if (!SWIG_IsOK(ecode5)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4367 }
4368 arg5 = static_cast< long >(val5);
4369 }
4370 {
4371 if (!wxPyCheckForApp()) SWIG_fail;
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4378 return resultobj;
4379 fail:
4380 return NULL;
4381 }
4382
4383
4384 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj = 0;
4386 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4387 PyObject *arg2 = (PyObject *) 0 ;
4388 PyObject *arg3 = (PyObject *) 0 ;
4389 void *argp1 = 0 ;
4390 int res1 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 PyObject * obj2 = 0 ;
4394 char * kwnames[] = {
4395 (char *) "self",(char *) "self",(char *) "_class", NULL
4396 };
4397
4398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4400 if (!SWIG_IsOK(res1)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4402 }
4403 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4404 arg2 = obj1;
4405 arg3 = obj2;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 (arg1)->_setCallbackInfo(arg2,arg3);
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 resultobj = SWIG_Py_Void();
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4420 PyObject *resultobj = 0;
4421 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4422 wxRemotelyScrolledTreeCtrl *result = 0 ;
4423 void *argp1 = 0 ;
4424 int res1 = 0 ;
4425 PyObject *swig_obj[1] ;
4426
4427 if (!args) SWIG_fail;
4428 swig_obj[0] = args;
4429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4430 if (!SWIG_IsOK(res1)) {
4431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4432 }
4433 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj = 0;
4449 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4450 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4451 void *argp1 = 0 ;
4452 int res1 = 0 ;
4453 void *argp2 = 0 ;
4454 int res2 = 0 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char * kwnames[] = {
4458 (char *) "self",(char *) "treeCtrl", NULL
4459 };
4460
4461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4463 if (!SWIG_IsOK(res1)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4465 }
4466 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4468 if (!SWIG_IsOK(res2)) {
4469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4470 }
4471 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 (arg1)->SetTreeCtrl(arg2);
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 resultobj = SWIG_Py_Void();
4479 return resultobj;
4480 fail:
4481 return NULL;
4482 }
4483
4484
4485 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4486 PyObject *obj;
4487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4489 return SWIG_Py_Void();
4490 }
4491
4492 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4493 return SWIG_Python_InitShadowInstance(args);
4494 }
4495
4496 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = 0;
4498 wxWindow *arg1 = (wxWindow *) 0 ;
4499 int arg2 = (int) -1 ;
4500 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4501 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4502 wxSize const &arg4_defvalue = wxDefaultSize ;
4503 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4504 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4505 wxThinSplitterWindow *result = 0 ;
4506 void *argp1 = 0 ;
4507 int res1 = 0 ;
4508 int val2 ;
4509 int ecode2 = 0 ;
4510 wxPoint temp3 ;
4511 wxSize temp4 ;
4512 long val5 ;
4513 int ecode5 = 0 ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 PyObject * obj2 = 0 ;
4517 PyObject * obj3 = 0 ;
4518 PyObject * obj4 = 0 ;
4519 char * kwnames[] = {
4520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4521 };
4522
4523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4525 if (!SWIG_IsOK(res1)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4527 }
4528 arg1 = reinterpret_cast< wxWindow * >(argp1);
4529 if (obj1) {
4530 ecode2 = SWIG_AsVal_int(obj1, &val2);
4531 if (!SWIG_IsOK(ecode2)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4533 }
4534 arg2 = static_cast< int >(val2);
4535 }
4536 if (obj2) {
4537 {
4538 arg3 = &temp3;
4539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4540 }
4541 }
4542 if (obj3) {
4543 {
4544 arg4 = &temp4;
4545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4546 }
4547 }
4548 if (obj4) {
4549 ecode5 = SWIG_AsVal_long(obj4, &val5);
4550 if (!SWIG_IsOK(ecode5)) {
4551 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4552 }
4553 arg5 = static_cast< long >(val5);
4554 }
4555 {
4556 if (!wxPyCheckForApp()) SWIG_fail;
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4563 return resultobj;
4564 fail:
4565 return NULL;
4566 }
4567
4568
4569 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4570 PyObject *obj;
4571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4572 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4573 return SWIG_Py_Void();
4574 }
4575
4576 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4577 return SWIG_Python_InitShadowInstance(args);
4578 }
4579
4580 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = 0;
4582 wxWindow *arg1 = (wxWindow *) 0 ;
4583 int arg2 = (int) -1 ;
4584 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4585 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4586 wxSize const &arg4_defvalue = wxDefaultSize ;
4587 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4588 long arg5 = (long) 0 ;
4589 wxSplitterScrolledWindow *result = 0 ;
4590 void *argp1 = 0 ;
4591 int res1 = 0 ;
4592 int val2 ;
4593 int ecode2 = 0 ;
4594 wxPoint temp3 ;
4595 wxSize temp4 ;
4596 long val5 ;
4597 int ecode5 = 0 ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 PyObject * obj2 = 0 ;
4601 PyObject * obj3 = 0 ;
4602 PyObject * obj4 = 0 ;
4603 char * kwnames[] = {
4604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4605 };
4606
4607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4609 if (!SWIG_IsOK(res1)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4611 }
4612 arg1 = reinterpret_cast< wxWindow * >(argp1);
4613 if (obj1) {
4614 ecode2 = SWIG_AsVal_int(obj1, &val2);
4615 if (!SWIG_IsOK(ecode2)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4617 }
4618 arg2 = static_cast< int >(val2);
4619 }
4620 if (obj2) {
4621 {
4622 arg3 = &temp3;
4623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4624 }
4625 }
4626 if (obj3) {
4627 {
4628 arg4 = &temp4;
4629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4630 }
4631 }
4632 if (obj4) {
4633 ecode5 = SWIG_AsVal_long(obj4, &val5);
4634 if (!SWIG_IsOK(ecode5)) {
4635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4636 }
4637 arg5 = static_cast< long >(val5);
4638 }
4639 {
4640 if (!wxPyCheckForApp()) SWIG_fail;
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4654 PyObject *obj;
4655 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4656 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4657 return SWIG_Py_Void();
4658 }
4659
4660 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4661 return SWIG_Python_InitShadowInstance(args);
4662 }
4663
4664 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxWindow *arg1 = (wxWindow *) 0 ;
4667 int arg2 = (int) -1 ;
4668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4670 wxSize const &arg4_defvalue = wxDefaultSize ;
4671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4672 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4673 wxLEDNumberCtrl *result = 0 ;
4674 void *argp1 = 0 ;
4675 int res1 = 0 ;
4676 int val2 ;
4677 int ecode2 = 0 ;
4678 wxPoint temp3 ;
4679 wxSize temp4 ;
4680 long val5 ;
4681 int ecode5 = 0 ;
4682 PyObject * obj0 = 0 ;
4683 PyObject * obj1 = 0 ;
4684 PyObject * obj2 = 0 ;
4685 PyObject * obj3 = 0 ;
4686 PyObject * obj4 = 0 ;
4687 char * kwnames[] = {
4688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4689 };
4690
4691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4693 if (!SWIG_IsOK(res1)) {
4694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4695 }
4696 arg1 = reinterpret_cast< wxWindow * >(argp1);
4697 if (obj1) {
4698 ecode2 = SWIG_AsVal_int(obj1, &val2);
4699 if (!SWIG_IsOK(ecode2)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4701 }
4702 arg2 = static_cast< int >(val2);
4703 }
4704 if (obj2) {
4705 {
4706 arg3 = &temp3;
4707 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4708 }
4709 }
4710 if (obj3) {
4711 {
4712 arg4 = &temp4;
4713 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4714 }
4715 }
4716 if (obj4) {
4717 ecode5 = SWIG_AsVal_long(obj4, &val5);
4718 if (!SWIG_IsOK(ecode5)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4720 }
4721 arg5 = static_cast< long >(val5);
4722 }
4723 {
4724 if (!wxPyCheckForApp()) SWIG_fail;
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4738 PyObject *resultobj = 0;
4739 wxLEDNumberCtrl *result = 0 ;
4740
4741 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4742 {
4743 if (!wxPyCheckForApp()) SWIG_fail;
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj = 0;
4758 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4759 wxWindow *arg2 = (wxWindow *) 0 ;
4760 int arg3 = (int) -1 ;
4761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4763 wxSize const &arg5_defvalue = wxDefaultSize ;
4764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4765 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4766 bool result;
4767 void *argp1 = 0 ;
4768 int res1 = 0 ;
4769 void *argp2 = 0 ;
4770 int res2 = 0 ;
4771 int val3 ;
4772 int ecode3 = 0 ;
4773 wxPoint temp4 ;
4774 wxSize temp5 ;
4775 long val6 ;
4776 int ecode6 = 0 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 PyObject * obj2 = 0 ;
4780 PyObject * obj3 = 0 ;
4781 PyObject * obj4 = 0 ;
4782 PyObject * obj5 = 0 ;
4783 char * kwnames[] = {
4784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4785 };
4786
4787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4791 }
4792 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4794 if (!SWIG_IsOK(res2)) {
4795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4796 }
4797 arg2 = reinterpret_cast< wxWindow * >(argp2);
4798 if (obj2) {
4799 ecode3 = SWIG_AsVal_int(obj2, &val3);
4800 if (!SWIG_IsOK(ecode3)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4802 }
4803 arg3 = static_cast< int >(val3);
4804 }
4805 if (obj3) {
4806 {
4807 arg4 = &temp4;
4808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4809 }
4810 }
4811 if (obj4) {
4812 {
4813 arg5 = &temp5;
4814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4815 }
4816 }
4817 if (obj5) {
4818 ecode6 = SWIG_AsVal_long(obj5, &val6);
4819 if (!SWIG_IsOK(ecode6)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4821 }
4822 arg6 = static_cast< long >(val6);
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 {
4831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4832 }
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4840 PyObject *resultobj = 0;
4841 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4842 wxLEDValueAlign result;
4843 void *argp1 = 0 ;
4844 int res1 = 0 ;
4845 PyObject *swig_obj[1] ;
4846
4847 if (!args) SWIG_fail;
4848 swig_obj[0] = args;
4849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4850 if (!SWIG_IsOK(res1)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4852 }
4853 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_From_int(static_cast< int >(result));
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4868 PyObject *resultobj = 0;
4869 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4870 bool result;
4871 void *argp1 = 0 ;
4872 int res1 = 0 ;
4873 PyObject *swig_obj[1] ;
4874
4875 if (!args) SWIG_fail;
4876 swig_obj[0] = args;
4877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4878 if (!SWIG_IsOK(res1)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4880 }
4881 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 {
4889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4890 }
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4898 PyObject *resultobj = 0;
4899 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4900 wxString *result = 0 ;
4901 void *argp1 = 0 ;
4902 int res1 = 0 ;
4903 PyObject *swig_obj[1] ;
4904
4905 if (!args) SWIG_fail;
4906 swig_obj[0] = args;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4910 }
4911 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 {
4915 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4916 result = (wxString *) &_result_ref;
4917 }
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 {
4922 #if wxUSE_UNICODE
4923 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4924 #else
4925 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4926 #endif
4927 }
4928 return resultobj;
4929 fail:
4930 return NULL;
4931 }
4932
4933
4934 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj = 0;
4936 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4937 wxLEDValueAlign arg2 ;
4938 bool arg3 = (bool) true ;
4939 void *argp1 = 0 ;
4940 int res1 = 0 ;
4941 int val2 ;
4942 int ecode2 = 0 ;
4943 bool val3 ;
4944 int ecode3 = 0 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 char * kwnames[] = {
4949 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4950 };
4951
4952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4954 if (!SWIG_IsOK(res1)) {
4955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4956 }
4957 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4958 ecode2 = SWIG_AsVal_int(obj1, &val2);
4959 if (!SWIG_IsOK(ecode2)) {
4960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4961 }
4962 arg2 = static_cast< wxLEDValueAlign >(val2);
4963 if (obj2) {
4964 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4965 if (!SWIG_IsOK(ecode3)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4967 }
4968 arg3 = static_cast< bool >(val3);
4969 }
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 (arg1)->SetAlignment(arg2,arg3);
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 resultobj = SWIG_Py_Void();
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj = 0;
4985 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4986 bool arg2 ;
4987 bool arg3 = (bool) true ;
4988 void *argp1 = 0 ;
4989 int res1 = 0 ;
4990 bool val2 ;
4991 int ecode2 = 0 ;
4992 bool val3 ;
4993 int ecode3 = 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 PyObject * obj2 = 0 ;
4997 char * kwnames[] = {
4998 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4999 };
5000
5001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5005 }
5006 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5007 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5008 if (!SWIG_IsOK(ecode2)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5010 }
5011 arg2 = static_cast< bool >(val2);
5012 if (obj2) {
5013 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5014 if (!SWIG_IsOK(ecode3)) {
5015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5016 }
5017 arg3 = static_cast< bool >(val3);
5018 }
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->SetDrawFaded(arg2,arg3);
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 resultobj = SWIG_Py_Void();
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = 0;
5034 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5035 wxString *arg2 = 0 ;
5036 bool arg3 = (bool) true ;
5037 void *argp1 = 0 ;
5038 int res1 = 0 ;
5039 bool temp2 = false ;
5040 bool val3 ;
5041 int ecode3 = 0 ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 PyObject * obj2 = 0 ;
5045 char * kwnames[] = {
5046 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5047 };
5048
5049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5051 if (!SWIG_IsOK(res1)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5053 }
5054 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5055 {
5056 arg2 = wxString_in_helper(obj1);
5057 if (arg2 == NULL) SWIG_fail;
5058 temp2 = true;
5059 }
5060 if (obj2) {
5061 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5062 if (!SWIG_IsOK(ecode3)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5064 }
5065 arg3 = static_cast< bool >(val3);
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 (arg1)->SetValue((wxString const &)*arg2,arg3);
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_Py_Void();
5074 {
5075 if (temp2)
5076 delete arg2;
5077 }
5078 return resultobj;
5079 fail:
5080 {
5081 if (temp2)
5082 delete arg2;
5083 }
5084 return NULL;
5085 }
5086
5087
5088 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5089 PyObject *obj;
5090 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5091 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5092 return SWIG_Py_Void();
5093 }
5094
5095 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5096 return SWIG_Python_InitShadowInstance(args);
5097 }
5098
5099 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5100 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5101 return 1;
5102 }
5103
5104
5105 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5106 PyObject *pyobj = 0;
5107
5108 {
5109 #if wxUSE_UNICODE
5110 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5111 #else
5112 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5113 #endif
5114 }
5115 return pyobj;
5116 }
5117
5118
5119 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj = 0;
5121 wxString const &arg1_defvalue = wxPyEmptyString ;
5122 wxString *arg1 = (wxString *) &arg1_defvalue ;
5123 int arg2 = (int) DEFAULT_COL_WIDTH ;
5124 int arg3 = (int) wxALIGN_LEFT ;
5125 int arg4 = (int) -1 ;
5126 bool arg5 = (bool) true ;
5127 bool arg6 = (bool) false ;
5128 wxTreeListColumnInfo *result = 0 ;
5129 bool temp1 = false ;
5130 int val2 ;
5131 int ecode2 = 0 ;
5132 int val3 ;
5133 int ecode3 = 0 ;
5134 int val4 ;
5135 int ecode4 = 0 ;
5136 bool val5 ;
5137 int ecode5 = 0 ;
5138 bool val6 ;
5139 int ecode6 = 0 ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 PyObject * obj2 = 0 ;
5143 PyObject * obj3 = 0 ;
5144 PyObject * obj4 = 0 ;
5145 PyObject * obj5 = 0 ;
5146 char * kwnames[] = {
5147 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5148 };
5149
5150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
5151 if (obj0) {
5152 {
5153 arg1 = wxString_in_helper(obj0);
5154 if (arg1 == NULL) SWIG_fail;
5155 temp1 = true;
5156 }
5157 }
5158 if (obj1) {
5159 ecode2 = SWIG_AsVal_int(obj1, &val2);
5160 if (!SWIG_IsOK(ecode2)) {
5161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5162 }
5163 arg2 = static_cast< int >(val2);
5164 }
5165 if (obj2) {
5166 ecode3 = SWIG_AsVal_int(obj2, &val3);
5167 if (!SWIG_IsOK(ecode3)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5169 }
5170 arg3 = static_cast< int >(val3);
5171 }
5172 if (obj3) {
5173 ecode4 = SWIG_AsVal_int(obj3, &val4);
5174 if (!SWIG_IsOK(ecode4)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5176 }
5177 arg4 = static_cast< int >(val4);
5178 }
5179 if (obj4) {
5180 ecode5 = SWIG_AsVal_bool(obj4, &val5);
5181 if (!SWIG_IsOK(ecode5)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5183 }
5184 arg5 = static_cast< bool >(val5);
5185 }
5186 if (obj5) {
5187 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5188 if (!SWIG_IsOK(ecode6)) {
5189 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5190 }
5191 arg6 = static_cast< bool >(val6);
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5200 {
5201 if (temp1)
5202 delete arg1;
5203 }
5204 return resultobj;
5205 fail:
5206 {
5207 if (temp1)
5208 delete arg1;
5209 }
5210 return NULL;
5211 }
5212
5213
5214 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5215 PyObject *resultobj = 0;
5216 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5217 void *argp1 = 0 ;
5218 int res1 = 0 ;
5219 PyObject *swig_obj[1] ;
5220
5221 if (!args) SWIG_fail;
5222 swig_obj[0] = args;
5223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5224 if (!SWIG_IsOK(res1)) {
5225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5226 }
5227 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 delete arg1;
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = SWIG_Py_Void();
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5243 PyObject *resultobj = 0;
5244 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5245 int result;
5246 void *argp1 = 0 ;
5247 int res1 = 0 ;
5248 PyObject *swig_obj[1] ;
5249
5250 if (!args) SWIG_fail;
5251 swig_obj[0] = args;
5252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5253 if (!SWIG_IsOK(res1)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5255 }
5256 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_From_int(static_cast< int >(result));
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *resultobj = 0;
5272 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5273 wxString result;
5274 void *argp1 = 0 ;
5275 int res1 = 0 ;
5276 PyObject *swig_obj[1] ;
5277
5278 if (!args) SWIG_fail;
5279 swig_obj[0] = args;
5280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5281 if (!SWIG_IsOK(res1)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5283 }
5284 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 #if wxUSE_UNICODE
5293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5294 #else
5295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5296 #endif
5297 }
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5305 PyObject *resultobj = 0;
5306 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5307 int result;
5308 void *argp1 = 0 ;
5309 int res1 = 0 ;
5310 PyObject *swig_obj[1] ;
5311
5312 if (!args) SWIG_fail;
5313 swig_obj[0] = args;
5314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5315 if (!SWIG_IsOK(res1)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5317 }
5318 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 resultobj = SWIG_From_int(static_cast< int >(result));
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5333 PyObject *resultobj = 0;
5334 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5335 int result;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 PyObject *swig_obj[1] ;
5339
5340 if (!args) SWIG_fail;
5341 swig_obj[0] = args;
5342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5345 }
5346 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_From_int(static_cast< int >(result));
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5361 PyObject *resultobj = 0;
5362 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5363 size_t result;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 PyObject *swig_obj[1] ;
5367
5368 if (!args) SWIG_fail;
5369 swig_obj[0] = args;
5370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5371 if (!SWIG_IsOK(res1)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5373 }
5374 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5382 return resultobj;
5383 fail:
5384 return NULL;
5385 }
5386
5387
5388 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5389 PyObject *resultobj = 0;
5390 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5391 bool result;
5392 void *argp1 = 0 ;
5393 int res1 = 0 ;
5394 PyObject *swig_obj[1] ;
5395
5396 if (!args) SWIG_fail;
5397 swig_obj[0] = args;
5398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5399 if (!SWIG_IsOK(res1)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5401 }
5402 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5419 PyObject *resultobj = 0;
5420 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5421 bool result;
5422 void *argp1 = 0 ;
5423 int res1 = 0 ;
5424 PyObject *swig_obj[1] ;
5425
5426 if (!args) SWIG_fail;
5427 swig_obj[0] = args;
5428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5429 if (!SWIG_IsOK(res1)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5431 }
5432 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5451 int arg2 ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 int val2 ;
5455 int ecode2 = 0 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char * kwnames[] = {
5459 (char *) "self",(char *) "alignment", NULL
5460 };
5461
5462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5464 if (!SWIG_IsOK(res1)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5466 }
5467 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5468 ecode2 = SWIG_AsVal_int(obj1, &val2);
5469 if (!SWIG_IsOK(ecode2)) {
5470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5471 }
5472 arg2 = static_cast< int >(val2);
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->SetAlignment(arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj = 0;
5488 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5489 wxString *arg2 = 0 ;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 bool temp2 = false ;
5493 PyObject * obj0 = 0 ;
5494 PyObject * obj1 = 0 ;
5495 char * kwnames[] = {
5496 (char *) "self",(char *) "text", NULL
5497 };
5498
5499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5503 }
5504 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5505 {
5506 arg2 = wxString_in_helper(obj1);
5507 if (arg2 == NULL) SWIG_fail;
5508 temp2 = true;
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 (arg1)->SetText((wxString const &)*arg2);
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 resultobj = SWIG_Py_Void();
5517 {
5518 if (temp2)
5519 delete arg2;
5520 }
5521 return resultobj;
5522 fail:
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return NULL;
5528 }
5529
5530
5531 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj = 0;
5533 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5534 int arg2 ;
5535 void *argp1 = 0 ;
5536 int res1 = 0 ;
5537 int val2 ;
5538 int ecode2 = 0 ;
5539 PyObject * obj0 = 0 ;
5540 PyObject * obj1 = 0 ;
5541 char * kwnames[] = {
5542 (char *) "self",(char *) "image", NULL
5543 };
5544
5545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5547 if (!SWIG_IsOK(res1)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5549 }
5550 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5551 ecode2 = SWIG_AsVal_int(obj1, &val2);
5552 if (!SWIG_IsOK(ecode2)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5554 }
5555 arg2 = static_cast< int >(val2);
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->SetImage(arg2);
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 resultobj = SWIG_Py_Void();
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj = 0;
5571 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5572 int arg2 ;
5573 void *argp1 = 0 ;
5574 int res1 = 0 ;
5575 int val2 ;
5576 int ecode2 = 0 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char * kwnames[] = {
5580 (char *) "self",(char *) "image", NULL
5581 };
5582
5583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5587 }
5588 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5589 ecode2 = SWIG_AsVal_int(obj1, &val2);
5590 if (!SWIG_IsOK(ecode2)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5592 }
5593 arg2 = static_cast< int >(val2);
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 (arg1)->SetSelectedImage(arg2);
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 resultobj = SWIG_Py_Void();
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj = 0;
5609 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5610 size_t arg2 ;
5611 void *argp1 = 0 ;
5612 int res1 = 0 ;
5613 size_t val2 ;
5614 int ecode2 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 char * kwnames[] = {
5618 (char *) "self",(char *) "with", NULL
5619 };
5620
5621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5623 if (!SWIG_IsOK(res1)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5625 }
5626 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5627 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5628 if (!SWIG_IsOK(ecode2)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5630 }
5631 arg2 = static_cast< size_t >(val2);
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetWidth(arg2);
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = SWIG_Py_Void();
5639 return resultobj;
5640 fail:
5641 return NULL;
5642 }
5643
5644
5645 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj = 0;
5647 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5648 bool arg2 ;
5649 void *argp1 = 0 ;
5650 int res1 = 0 ;
5651 bool val2 ;
5652 int ecode2 = 0 ;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj1 = 0 ;
5655 char * kwnames[] = {
5656 (char *) "self",(char *) "edit", NULL
5657 };
5658
5659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5661 if (!SWIG_IsOK(res1)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5663 }
5664 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5665 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5666 if (!SWIG_IsOK(ecode2)) {
5667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5668 }
5669 arg2 = static_cast< bool >(val2);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetEditable(arg2);
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = SWIG_Py_Void();
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5686 bool arg2 ;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 bool val2 ;
5690 int ecode2 = 0 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char * kwnames[] = {
5694 (char *) "self",(char *) "shown", NULL
5695 };
5696
5697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5699 if (!SWIG_IsOK(res1)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5701 }
5702 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5703 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5704 if (!SWIG_IsOK(ecode2)) {
5705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5706 }
5707 arg2 = static_cast< bool >(val2);
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 (arg1)->SetShown(arg2);
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_Py_Void();
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5722 PyObject *obj;
5723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5725 return SWIG_Py_Void();
5726 }
5727
5728 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 return SWIG_Python_InitShadowInstance(args);
5730 }
5731
5732 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj = 0;
5734 wxWindow *arg1 = (wxWindow *) 0 ;
5735 int arg2 = (int) -1 ;
5736 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5737 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5738 wxSize const &arg4_defvalue = wxDefaultSize ;
5739 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5740 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5741 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5742 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5743 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5744 wxString *arg7 = (wxString *) &arg7_defvalue ;
5745 wxPyTreeListCtrl *result = 0 ;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 int val2 ;
5749 int ecode2 = 0 ;
5750 wxPoint temp3 ;
5751 wxSize temp4 ;
5752 long val5 ;
5753 int ecode5 = 0 ;
5754 void *argp6 = 0 ;
5755 int res6 = 0 ;
5756 bool temp7 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 PyObject * obj2 = 0 ;
5760 PyObject * obj3 = 0 ;
5761 PyObject * obj4 = 0 ;
5762 PyObject * obj5 = 0 ;
5763 PyObject * obj6 = 0 ;
5764 char * kwnames[] = {
5765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5766 };
5767
5768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5770 if (!SWIG_IsOK(res1)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5772 }
5773 arg1 = reinterpret_cast< wxWindow * >(argp1);
5774 if (obj1) {
5775 ecode2 = SWIG_AsVal_int(obj1, &val2);
5776 if (!SWIG_IsOK(ecode2)) {
5777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5778 }
5779 arg2 = static_cast< int >(val2);
5780 }
5781 if (obj2) {
5782 {
5783 arg3 = &temp3;
5784 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5785 }
5786 }
5787 if (obj3) {
5788 {
5789 arg4 = &temp4;
5790 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5791 }
5792 }
5793 if (obj4) {
5794 ecode5 = SWIG_AsVal_long(obj4, &val5);
5795 if (!SWIG_IsOK(ecode5)) {
5796 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5797 }
5798 arg5 = static_cast< long >(val5);
5799 }
5800 if (obj5) {
5801 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5802 if (!SWIG_IsOK(res6)) {
5803 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5804 }
5805 if (!argp6) {
5806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5807 }
5808 arg6 = reinterpret_cast< wxValidator * >(argp6);
5809 }
5810 if (obj6) {
5811 {
5812 arg7 = wxString_in_helper(obj6);
5813 if (arg7 == NULL) SWIG_fail;
5814 temp7 = true;
5815 }
5816 }
5817 {
5818 if (!wxPyCheckForApp()) SWIG_fail;
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5825 {
5826 if (temp7)
5827 delete arg7;
5828 }
5829 return resultobj;
5830 fail:
5831 {
5832 if (temp7)
5833 delete arg7;
5834 }
5835 return NULL;
5836 }
5837
5838
5839 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5840 PyObject *resultobj = 0;
5841 wxPyTreeListCtrl *result = 0 ;
5842
5843 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5844 {
5845 if (!wxPyCheckForApp()) SWIG_fail;
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj = 0;
5860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5861 wxWindow *arg2 = (wxWindow *) 0 ;
5862 int arg3 = (int) -1 ;
5863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5865 wxSize const &arg5_defvalue = wxDefaultSize ;
5866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5867 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5868 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5869 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5870 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5871 wxString *arg8 = (wxString *) &arg8_defvalue ;
5872 bool result;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 void *argp2 = 0 ;
5876 int res2 = 0 ;
5877 int val3 ;
5878 int ecode3 = 0 ;
5879 wxPoint temp4 ;
5880 wxSize temp5 ;
5881 long val6 ;
5882 int ecode6 = 0 ;
5883 void *argp7 = 0 ;
5884 int res7 = 0 ;
5885 bool temp8 = false ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 PyObject * obj2 = 0 ;
5889 PyObject * obj3 = 0 ;
5890 PyObject * obj4 = 0 ;
5891 PyObject * obj5 = 0 ;
5892 PyObject * obj6 = 0 ;
5893 PyObject * obj7 = 0 ;
5894 char * kwnames[] = {
5895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5896 };
5897
5898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5900 if (!SWIG_IsOK(res1)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5902 }
5903 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5905 if (!SWIG_IsOK(res2)) {
5906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5907 }
5908 arg2 = reinterpret_cast< wxWindow * >(argp2);
5909 if (obj2) {
5910 ecode3 = SWIG_AsVal_int(obj2, &val3);
5911 if (!SWIG_IsOK(ecode3)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5913 }
5914 arg3 = static_cast< int >(val3);
5915 }
5916 if (obj3) {
5917 {
5918 arg4 = &temp4;
5919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5920 }
5921 }
5922 if (obj4) {
5923 {
5924 arg5 = &temp5;
5925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5926 }
5927 }
5928 if (obj5) {
5929 ecode6 = SWIG_AsVal_long(obj5, &val6);
5930 if (!SWIG_IsOK(ecode6)) {
5931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5932 }
5933 arg6 = static_cast< long >(val6);
5934 }
5935 if (obj6) {
5936 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5937 if (!SWIG_IsOK(res7)) {
5938 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5939 }
5940 if (!argp7) {
5941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5942 }
5943 arg7 = reinterpret_cast< wxValidator * >(argp7);
5944 }
5945 if (obj7) {
5946 {
5947 arg8 = wxString_in_helper(obj7);
5948 if (arg8 == NULL) SWIG_fail;
5949 temp8 = true;
5950 }
5951 }
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 {
5959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5960 }
5961 {
5962 if (temp8)
5963 delete arg8;
5964 }
5965 return resultobj;
5966 fail:
5967 {
5968 if (temp8)
5969 delete arg8;
5970 }
5971 return NULL;
5972 }
5973
5974
5975 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj = 0;
5977 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5978 PyObject *arg2 = (PyObject *) 0 ;
5979 PyObject *arg3 = (PyObject *) 0 ;
5980 void *argp1 = 0 ;
5981 int res1 = 0 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 PyObject * obj2 = 0 ;
5985 char * kwnames[] = {
5986 (char *) "self",(char *) "self",(char *) "_class", NULL
5987 };
5988
5989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5991 if (!SWIG_IsOK(res1)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5993 }
5994 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5995 arg2 = obj1;
5996 arg3 = obj2;
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->_setCallbackInfo(arg2,arg3);
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_Py_Void();
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6011 PyObject *resultobj = 0;
6012 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6013 size_t result;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 PyObject *swig_obj[1] ;
6017
6018 if (!args) SWIG_fail;
6019 swig_obj[0] = args;
6020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6023 }
6024 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *resultobj = 0;
6040 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6041 unsigned int result;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 PyObject *swig_obj[1] ;
6045
6046 if (!args) SWIG_fail;
6047 swig_obj[0] = args;
6048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6049 if (!SWIG_IsOK(res1)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6051 }
6052 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj = 0;
6068 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6069 unsigned int arg2 ;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 unsigned int val2 ;
6073 int ecode2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "indent", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6084 }
6085 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6086 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6087 if (!SWIG_IsOK(ecode2)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6089 }
6090 arg2 = static_cast< unsigned int >(val2);
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetIndent(arg2);
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 resultobj = SWIG_Py_Void();
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6105 PyObject *resultobj = 0;
6106 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6107 unsigned int result;
6108 void *argp1 = 0 ;
6109 int res1 = 0 ;
6110 PyObject *swig_obj[1] ;
6111
6112 if (!args) SWIG_fail;
6113 swig_obj[0] = args;
6114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6115 if (!SWIG_IsOK(res1)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6117 }
6118 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj = 0;
6134 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6135 unsigned int arg2 ;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 unsigned int val2 ;
6139 int ecode2 = 0 ;
6140 PyObject * obj0 = 0 ;
6141 PyObject * obj1 = 0 ;
6142 char * kwnames[] = {
6143 (char *) "self",(char *) "spacing", NULL
6144 };
6145
6146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6148 if (!SWIG_IsOK(res1)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6150 }
6151 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6152 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6153 if (!SWIG_IsOK(ecode2)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6155 }
6156 arg2 = static_cast< unsigned int >(val2);
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 (arg1)->SetLineSpacing(arg2);
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 resultobj = SWIG_Py_Void();
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6171 PyObject *resultobj = 0;
6172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6173 wxImageList *result = 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 PyObject *swig_obj[1] ;
6177
6178 if (!args) SWIG_fail;
6179 swig_obj[0] = args;
6180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6183 }
6184 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImageList, 0 | 0 );
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6199 PyObject *resultobj = 0;
6200 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6201 wxImageList *result = 0 ;
6202 void *argp1 = 0 ;
6203 int res1 = 0 ;
6204 PyObject *swig_obj[1] ;
6205
6206 if (!args) SWIG_fail;
6207 swig_obj[0] = args;
6208 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6209 if (!SWIG_IsOK(res1)) {
6210 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6211 }
6212 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6216 wxPyEndAllowThreads(__tstate);
6217 if (PyErr_Occurred()) SWIG_fail;
6218 }
6219 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImageList, 0 | 0 );
6220 return resultobj;
6221 fail:
6222 return NULL;
6223 }
6224
6225
6226 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6227 PyObject *resultobj = 0;
6228 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6229 wxImageList *result = 0 ;
6230 void *argp1 = 0 ;
6231 int res1 = 0 ;
6232 PyObject *swig_obj[1] ;
6233
6234 if (!args) SWIG_fail;
6235 swig_obj[0] = args;
6236 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6237 if (!SWIG_IsOK(res1)) {
6238 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6239 }
6240 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6241 {
6242 PyThreadState* __tstate = wxPyBeginAllowThreads();
6243 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6244 wxPyEndAllowThreads(__tstate);
6245 if (PyErr_Occurred()) SWIG_fail;
6246 }
6247 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxImageList, 0 | 0 );
6248 return resultobj;
6249 fail:
6250 return NULL;
6251 }
6252
6253
6254 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6255 PyObject *resultobj = 0;
6256 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6257 wxImageList *arg2 = (wxImageList *) 0 ;
6258 void *argp1 = 0 ;
6259 int res1 = 0 ;
6260 void *argp2 = 0 ;
6261 int res2 = 0 ;
6262 PyObject * obj0 = 0 ;
6263 PyObject * obj1 = 0 ;
6264 char * kwnames[] = {
6265 (char *) "self",(char *) "imageList", NULL
6266 };
6267
6268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6270 if (!SWIG_IsOK(res1)) {
6271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6272 }
6273 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6274 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6275 if (!SWIG_IsOK(res2)) {
6276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6277 }
6278 arg2 = reinterpret_cast< wxImageList * >(argp2);
6279 {
6280 PyThreadState* __tstate = wxPyBeginAllowThreads();
6281 (arg1)->SetImageList(arg2);
6282 wxPyEndAllowThreads(__tstate);
6283 if (PyErr_Occurred()) SWIG_fail;
6284 }
6285 resultobj = SWIG_Py_Void();
6286 return resultobj;
6287 fail:
6288 return NULL;
6289 }
6290
6291
6292 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6293 PyObject *resultobj = 0;
6294 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6295 wxImageList *arg2 = (wxImageList *) 0 ;
6296 void *argp1 = 0 ;
6297 int res1 = 0 ;
6298 void *argp2 = 0 ;
6299 int res2 = 0 ;
6300 PyObject * obj0 = 0 ;
6301 PyObject * obj1 = 0 ;
6302 char * kwnames[] = {
6303 (char *) "self",(char *) "imageList", NULL
6304 };
6305
6306 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6307 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6308 if (!SWIG_IsOK(res1)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6310 }
6311 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6312 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6313 if (!SWIG_IsOK(res2)) {
6314 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6315 }
6316 arg2 = reinterpret_cast< wxImageList * >(argp2);
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 (arg1)->SetStateImageList(arg2);
6320 wxPyEndAllowThreads(__tstate);
6321 if (PyErr_Occurred()) SWIG_fail;
6322 }
6323 resultobj = SWIG_Py_Void();
6324 return resultobj;
6325 fail:
6326 return NULL;
6327 }
6328
6329
6330 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6331 PyObject *resultobj = 0;
6332 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6333 wxImageList *arg2 = (wxImageList *) 0 ;
6334 void *argp1 = 0 ;
6335 int res1 = 0 ;
6336 void *argp2 = 0 ;
6337 int res2 = 0 ;
6338 PyObject * obj0 = 0 ;
6339 PyObject * obj1 = 0 ;
6340 char * kwnames[] = {
6341 (char *) "self",(char *) "imageList", NULL
6342 };
6343
6344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6346 if (!SWIG_IsOK(res1)) {
6347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6348 }
6349 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6350 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6351 if (!SWIG_IsOK(res2)) {
6352 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6353 }
6354 arg2 = reinterpret_cast< wxImageList * >(argp2);
6355 {
6356 PyThreadState* __tstate = wxPyBeginAllowThreads();
6357 (arg1)->SetButtonsImageList(arg2);
6358 wxPyEndAllowThreads(__tstate);
6359 if (PyErr_Occurred()) SWIG_fail;
6360 }
6361 resultobj = SWIG_Py_Void();
6362 return resultobj;
6363 fail:
6364 return NULL;
6365 }
6366
6367
6368 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj = 0;
6370 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6371 wxImageList *arg2 = (wxImageList *) 0 ;
6372 void *argp1 = 0 ;
6373 int res1 = 0 ;
6374 int res2 = 0 ;
6375 PyObject * obj0 = 0 ;
6376 PyObject * obj1 = 0 ;
6377 char * kwnames[] = {
6378 (char *) "self",(char *) "imageList", NULL
6379 };
6380
6381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6383 if (!SWIG_IsOK(res1)) {
6384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6385 }
6386 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6387 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6388 if (!SWIG_IsOK(res2)) {
6389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6390 }
6391 {
6392 PyThreadState* __tstate = wxPyBeginAllowThreads();
6393 (arg1)->AssignImageList(arg2);
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 resultobj = SWIG_Py_Void();
6398 return resultobj;
6399 fail:
6400 return NULL;
6401 }
6402
6403
6404 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6405 PyObject *resultobj = 0;
6406 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6407 wxImageList *arg2 = (wxImageList *) 0 ;
6408 void *argp1 = 0 ;
6409 int res1 = 0 ;
6410 int res2 = 0 ;
6411 PyObject * obj0 = 0 ;
6412 PyObject * obj1 = 0 ;
6413 char * kwnames[] = {
6414 (char *) "self",(char *) "imageList", NULL
6415 };
6416
6417 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6418 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6419 if (!SWIG_IsOK(res1)) {
6420 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6421 }
6422 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6423 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6424 if (!SWIG_IsOK(res2)) {
6425 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6426 }
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 (arg1)->AssignStateImageList(arg2);
6430 wxPyEndAllowThreads(__tstate);
6431 if (PyErr_Occurred()) SWIG_fail;
6432 }
6433 resultobj = SWIG_Py_Void();
6434 return resultobj;
6435 fail:
6436 return NULL;
6437 }
6438
6439
6440 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6441 PyObject *resultobj = 0;
6442 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6443 wxImageList *arg2 = (wxImageList *) 0 ;
6444 void *argp1 = 0 ;
6445 int res1 = 0 ;
6446 int res2 = 0 ;
6447 PyObject * obj0 = 0 ;
6448 PyObject * obj1 = 0 ;
6449 char * kwnames[] = {
6450 (char *) "self",(char *) "imageList", NULL
6451 };
6452
6453 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6454 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6455 if (!SWIG_IsOK(res1)) {
6456 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6457 }
6458 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6459 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6460 if (!SWIG_IsOK(res2)) {
6461 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6462 }
6463 {
6464 PyThreadState* __tstate = wxPyBeginAllowThreads();
6465 (arg1)->AssignButtonsImageList(arg2);
6466 wxPyEndAllowThreads(__tstate);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 resultobj = SWIG_Py_Void();
6470 return resultobj;
6471 fail:
6472 return NULL;
6473 }
6474
6475
6476 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6477 PyObject *resultobj = 0;
6478 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6479 wxString *arg2 = 0 ;
6480 int arg3 = (int) DEFAULT_COL_WIDTH ;
6481 int arg4 = (int) wxALIGN_LEFT ;
6482 int arg5 = (int) -1 ;
6483 bool arg6 = (bool) true ;
6484 bool arg7 = (bool) false ;
6485 void *argp1 = 0 ;
6486 int res1 = 0 ;
6487 bool temp2 = false ;
6488 int val3 ;
6489 int ecode3 = 0 ;
6490 int val4 ;
6491 int ecode4 = 0 ;
6492 int val5 ;
6493 int ecode5 = 0 ;
6494 bool val6 ;
6495 int ecode6 = 0 ;
6496 bool val7 ;
6497 int ecode7 = 0 ;
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 PyObject * obj2 = 0 ;
6501 PyObject * obj3 = 0 ;
6502 PyObject * obj4 = 0 ;
6503 PyObject * obj5 = 0 ;
6504 PyObject * obj6 = 0 ;
6505 char * kwnames[] = {
6506 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6507 };
6508
6509 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6510 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6511 if (!SWIG_IsOK(res1)) {
6512 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6513 }
6514 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6515 {
6516 arg2 = wxString_in_helper(obj1);
6517 if (arg2 == NULL) SWIG_fail;
6518 temp2 = true;
6519 }
6520 if (obj2) {
6521 ecode3 = SWIG_AsVal_int(obj2, &val3);
6522 if (!SWIG_IsOK(ecode3)) {
6523 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6524 }
6525 arg3 = static_cast< int >(val3);
6526 }
6527 if (obj3) {
6528 ecode4 = SWIG_AsVal_int(obj3, &val4);
6529 if (!SWIG_IsOK(ecode4)) {
6530 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6531 }
6532 arg4 = static_cast< int >(val4);
6533 }
6534 if (obj4) {
6535 ecode5 = SWIG_AsVal_int(obj4, &val5);
6536 if (!SWIG_IsOK(ecode5)) {
6537 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6538 }
6539 arg5 = static_cast< int >(val5);
6540 }
6541 if (obj5) {
6542 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6543 if (!SWIG_IsOK(ecode6)) {
6544 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6545 }
6546 arg6 = static_cast< bool >(val6);
6547 }
6548 if (obj6) {
6549 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6550 if (!SWIG_IsOK(ecode7)) {
6551 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6552 }
6553 arg7 = static_cast< bool >(val7);
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = SWIG_Py_Void();
6562 {
6563 if (temp2)
6564 delete arg2;
6565 }
6566 return resultobj;
6567 fail:
6568 {
6569 if (temp2)
6570 delete arg2;
6571 }
6572 return NULL;
6573 }
6574
6575
6576 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6577 PyObject *resultobj = 0;
6578 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6579 wxTreeListColumnInfo *arg2 = 0 ;
6580 void *argp1 = 0 ;
6581 int res1 = 0 ;
6582 void *argp2 = 0 ;
6583 int res2 = 0 ;
6584 PyObject * obj0 = 0 ;
6585 PyObject * obj1 = 0 ;
6586 char * kwnames[] = {
6587 (char *) "self",(char *) "col", NULL
6588 };
6589
6590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6592 if (!SWIG_IsOK(res1)) {
6593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6594 }
6595 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6597 if (!SWIG_IsOK(res2)) {
6598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6599 }
6600 if (!argp2) {
6601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6602 }
6603 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 resultobj = SWIG_Py_Void();
6611 return resultobj;
6612 fail:
6613 return NULL;
6614 }
6615
6616
6617 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6618 PyObject *resultobj = 0;
6619 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6620 int arg2 ;
6621 wxString *arg3 = 0 ;
6622 int arg4 = (int) DEFAULT_COL_WIDTH ;
6623 int arg5 = (int) wxALIGN_LEFT ;
6624 int arg6 = (int) -1 ;
6625 bool arg7 = (bool) true ;
6626 bool arg8 = (bool) false ;
6627 void *argp1 = 0 ;
6628 int res1 = 0 ;
6629 int val2 ;
6630 int ecode2 = 0 ;
6631 bool temp3 = false ;
6632 int val4 ;
6633 int ecode4 = 0 ;
6634 int val5 ;
6635 int ecode5 = 0 ;
6636 int val6 ;
6637 int ecode6 = 0 ;
6638 bool val7 ;
6639 int ecode7 = 0 ;
6640 bool val8 ;
6641 int ecode8 = 0 ;
6642 PyObject * obj0 = 0 ;
6643 PyObject * obj1 = 0 ;
6644 PyObject * obj2 = 0 ;
6645 PyObject * obj3 = 0 ;
6646 PyObject * obj4 = 0 ;
6647 PyObject * obj5 = 0 ;
6648 PyObject * obj6 = 0 ;
6649 PyObject * obj7 = 0 ;
6650 char * kwnames[] = {
6651 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6652 };
6653
6654 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6655 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6656 if (!SWIG_IsOK(res1)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6658 }
6659 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6660 ecode2 = SWIG_AsVal_int(obj1, &val2);
6661 if (!SWIG_IsOK(ecode2)) {
6662 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6663 }
6664 arg2 = static_cast< int >(val2);
6665 {
6666 arg3 = wxString_in_helper(obj2);
6667 if (arg3 == NULL) SWIG_fail;
6668 temp3 = true;
6669 }
6670 if (obj3) {
6671 ecode4 = SWIG_AsVal_int(obj3, &val4);
6672 if (!SWIG_IsOK(ecode4)) {
6673 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6674 }
6675 arg4 = static_cast< int >(val4);
6676 }
6677 if (obj4) {
6678 ecode5 = SWIG_AsVal_int(obj4, &val5);
6679 if (!SWIG_IsOK(ecode5)) {
6680 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6681 }
6682 arg5 = static_cast< int >(val5);
6683 }
6684 if (obj5) {
6685 ecode6 = SWIG_AsVal_int(obj5, &val6);
6686 if (!SWIG_IsOK(ecode6)) {
6687 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6688 }
6689 arg6 = static_cast< int >(val6);
6690 }
6691 if (obj6) {
6692 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6693 if (!SWIG_IsOK(ecode7)) {
6694 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6695 }
6696 arg7 = static_cast< bool >(val7);
6697 }
6698 if (obj7) {
6699 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6700 if (!SWIG_IsOK(ecode8)) {
6701 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6702 }
6703 arg8 = static_cast< bool >(val8);
6704 }
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
6708 wxPyEndAllowThreads(__tstate);
6709 if (PyErr_Occurred()) SWIG_fail;
6710 }
6711 resultobj = SWIG_Py_Void();
6712 {
6713 if (temp3)
6714 delete arg3;
6715 }
6716 return resultobj;
6717 fail:
6718 {
6719 if (temp3)
6720 delete arg3;
6721 }
6722 return NULL;
6723 }
6724
6725
6726 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj = 0;
6728 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6729 size_t arg2 ;
6730 wxTreeListColumnInfo *arg3 = 0 ;
6731 void *argp1 = 0 ;
6732 int res1 = 0 ;
6733 size_t val2 ;
6734 int ecode2 = 0 ;
6735 void *argp3 = 0 ;
6736 int res3 = 0 ;
6737 PyObject * obj0 = 0 ;
6738 PyObject * obj1 = 0 ;
6739 PyObject * obj2 = 0 ;
6740 char * kwnames[] = {
6741 (char *) "self",(char *) "before",(char *) "col", NULL
6742 };
6743
6744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6746 if (!SWIG_IsOK(res1)) {
6747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6748 }
6749 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6750 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6751 if (!SWIG_IsOK(ecode2)) {
6752 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6753 }
6754 arg2 = static_cast< size_t >(val2);
6755 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6756 if (!SWIG_IsOK(res3)) {
6757 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6758 }
6759 if (!argp3) {
6760 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6761 }
6762 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6763 {
6764 PyThreadState* __tstate = wxPyBeginAllowThreads();
6765 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = SWIG_Py_Void();
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj = 0;
6778 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6779 size_t arg2 ;
6780 void *argp1 = 0 ;
6781 int res1 = 0 ;
6782 size_t val2 ;
6783 int ecode2 = 0 ;
6784 PyObject * obj0 = 0 ;
6785 PyObject * obj1 = 0 ;
6786 char * kwnames[] = {
6787 (char *) "self",(char *) "column", NULL
6788 };
6789
6790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6792 if (!SWIG_IsOK(res1)) {
6793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6794 }
6795 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6796 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6797 if (!SWIG_IsOK(ecode2)) {
6798 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6799 }
6800 arg2 = static_cast< size_t >(val2);
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 (arg1)->RemoveColumn(arg2);
6804 wxPyEndAllowThreads(__tstate);
6805 if (PyErr_Occurred()) SWIG_fail;
6806 }
6807 resultobj = SWIG_Py_Void();
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6815 PyObject *resultobj = 0;
6816 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6817 size_t result;
6818 void *argp1 = 0 ;
6819 int res1 = 0 ;
6820 PyObject *swig_obj[1] ;
6821
6822 if (!args) SWIG_fail;
6823 swig_obj[0] = args;
6824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6825 if (!SWIG_IsOK(res1)) {
6826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6827 }
6828 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6829 {
6830 PyThreadState* __tstate = wxPyBeginAllowThreads();
6831 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6832 wxPyEndAllowThreads(__tstate);
6833 if (PyErr_Occurred()) SWIG_fail;
6834 }
6835 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6836 return resultobj;
6837 fail:
6838 return NULL;
6839 }
6840
6841
6842 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6843 PyObject *resultobj = 0;
6844 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6845 size_t arg2 ;
6846 void *argp1 = 0 ;
6847 int res1 = 0 ;
6848 size_t val2 ;
6849 int ecode2 = 0 ;
6850 PyObject * obj0 = 0 ;
6851 PyObject * obj1 = 0 ;
6852 char * kwnames[] = {
6853 (char *) "self",(char *) "column", NULL
6854 };
6855
6856 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6857 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6858 if (!SWIG_IsOK(res1)) {
6859 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6860 }
6861 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6862 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6863 if (!SWIG_IsOK(ecode2)) {
6864 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6865 }
6866 arg2 = static_cast< size_t >(val2);
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 (arg1)->SetMainColumn(arg2);
6870 wxPyEndAllowThreads(__tstate);
6871 if (PyErr_Occurred()) SWIG_fail;
6872 }
6873 resultobj = SWIG_Py_Void();
6874 return resultobj;
6875 fail:
6876 return NULL;
6877 }
6878
6879
6880 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6881 PyObject *resultobj = 0;
6882 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6883 size_t result;
6884 void *argp1 = 0 ;
6885 int res1 = 0 ;
6886 PyObject *swig_obj[1] ;
6887
6888 if (!args) SWIG_fail;
6889 swig_obj[0] = args;
6890 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6891 if (!SWIG_IsOK(res1)) {
6892 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6893 }
6894 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6902 return resultobj;
6903 fail:
6904 return NULL;
6905 }
6906
6907
6908 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj = 0;
6910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6911 int arg2 ;
6912 wxTreeListColumnInfo *arg3 = 0 ;
6913 void *argp1 = 0 ;
6914 int res1 = 0 ;
6915 int val2 ;
6916 int ecode2 = 0 ;
6917 void *argp3 = 0 ;
6918 int res3 = 0 ;
6919 PyObject * obj0 = 0 ;
6920 PyObject * obj1 = 0 ;
6921 PyObject * obj2 = 0 ;
6922 char * kwnames[] = {
6923 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6924 };
6925
6926 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6927 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6928 if (!SWIG_IsOK(res1)) {
6929 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6930 }
6931 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6932 ecode2 = SWIG_AsVal_int(obj1, &val2);
6933 if (!SWIG_IsOK(ecode2)) {
6934 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6935 }
6936 arg2 = static_cast< int >(val2);
6937 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6938 if (!SWIG_IsOK(res3)) {
6939 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6940 }
6941 if (!argp3) {
6942 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6943 }
6944 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6945 {
6946 PyThreadState* __tstate = wxPyBeginAllowThreads();
6947 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6948 wxPyEndAllowThreads(__tstate);
6949 if (PyErr_Occurred()) SWIG_fail;
6950 }
6951 resultobj = SWIG_Py_Void();
6952 return resultobj;
6953 fail:
6954 return NULL;
6955 }
6956
6957
6958 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj = 0;
6960 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6961 int arg2 ;
6962 wxTreeListColumnInfo *result = 0 ;
6963 void *argp1 = 0 ;
6964 int res1 = 0 ;
6965 int val2 ;
6966 int ecode2 = 0 ;
6967 PyObject * obj0 = 0 ;
6968 PyObject * obj1 = 0 ;
6969 char * kwnames[] = {
6970 (char *) "self",(char *) "column", NULL
6971 };
6972
6973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6975 if (!SWIG_IsOK(res1)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6977 }
6978 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6979 ecode2 = SWIG_AsVal_int(obj1, &val2);
6980 if (!SWIG_IsOK(ecode2)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6982 }
6983 arg2 = static_cast< int >(val2);
6984 {
6985 PyThreadState* __tstate = wxPyBeginAllowThreads();
6986 {
6987 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6988 result = (wxTreeListColumnInfo *) &_result_ref;
6989 }
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6994 return resultobj;
6995 fail:
6996 return NULL;
6997 }
6998
6999
7000 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7001 PyObject *resultobj = 0;
7002 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7003 int arg2 ;
7004 wxString *arg3 = 0 ;
7005 void *argp1 = 0 ;
7006 int res1 = 0 ;
7007 int val2 ;
7008 int ecode2 = 0 ;
7009 bool temp3 = false ;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 PyObject * obj2 = 0 ;
7013 char * kwnames[] = {
7014 (char *) "self",(char *) "column",(char *) "text", NULL
7015 };
7016
7017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7019 if (!SWIG_IsOK(res1)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7021 }
7022 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7023 ecode2 = SWIG_AsVal_int(obj1, &val2);
7024 if (!SWIG_IsOK(ecode2)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7026 }
7027 arg2 = static_cast< int >(val2);
7028 {
7029 arg3 = wxString_in_helper(obj2);
7030 if (arg3 == NULL) SWIG_fail;
7031 temp3 = true;
7032 }
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 resultobj = SWIG_Py_Void();
7040 {
7041 if (temp3)
7042 delete arg3;
7043 }
7044 return resultobj;
7045 fail:
7046 {
7047 if (temp3)
7048 delete arg3;
7049 }
7050 return NULL;
7051 }
7052
7053
7054 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7055 PyObject *resultobj = 0;
7056 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7057 int arg2 ;
7058 wxString result;
7059 void *argp1 = 0 ;
7060 int res1 = 0 ;
7061 int val2 ;
7062 int ecode2 = 0 ;
7063 PyObject * obj0 = 0 ;
7064 PyObject * obj1 = 0 ;
7065 char * kwnames[] = {
7066 (char *) "self",(char *) "column", NULL
7067 };
7068
7069 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7070 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7071 if (!SWIG_IsOK(res1)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7073 }
7074 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7075 ecode2 = SWIG_AsVal_int(obj1, &val2);
7076 if (!SWIG_IsOK(ecode2)) {
7077 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7078 }
7079 arg2 = static_cast< int >(val2);
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7083 wxPyEndAllowThreads(__tstate);
7084 if (PyErr_Occurred()) SWIG_fail;
7085 }
7086 {
7087 #if wxUSE_UNICODE
7088 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7089 #else
7090 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7091 #endif
7092 }
7093 return resultobj;
7094 fail:
7095 return NULL;
7096 }
7097
7098
7099 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7100 PyObject *resultobj = 0;
7101 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7102 int arg2 ;
7103 int arg3 ;
7104 void *argp1 = 0 ;
7105 int res1 = 0 ;
7106 int val2 ;
7107 int ecode2 = 0 ;
7108 int val3 ;
7109 int ecode3 = 0 ;
7110 PyObject * obj0 = 0 ;
7111 PyObject * obj1 = 0 ;
7112 PyObject * obj2 = 0 ;
7113 char * kwnames[] = {
7114 (char *) "self",(char *) "column",(char *) "width", NULL
7115 };
7116
7117 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7118 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7119 if (!SWIG_IsOK(res1)) {
7120 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7121 }
7122 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7123 ecode2 = SWIG_AsVal_int(obj1, &val2);
7124 if (!SWIG_IsOK(ecode2)) {
7125 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7126 }
7127 arg2 = static_cast< int >(val2);
7128 ecode3 = SWIG_AsVal_int(obj2, &val3);
7129 if (!SWIG_IsOK(ecode3)) {
7130 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7131 }
7132 arg3 = static_cast< int >(val3);
7133 {
7134 PyThreadState* __tstate = wxPyBeginAllowThreads();
7135 (arg1)->SetColumnWidth(arg2,arg3);
7136 wxPyEndAllowThreads(__tstate);
7137 if (PyErr_Occurred()) SWIG_fail;
7138 }
7139 resultobj = SWIG_Py_Void();
7140 return resultobj;
7141 fail:
7142 return NULL;
7143 }
7144
7145
7146 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7147 PyObject *resultobj = 0;
7148 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7149 int arg2 ;
7150 int result;
7151 void *argp1 = 0 ;
7152 int res1 = 0 ;
7153 int val2 ;
7154 int ecode2 = 0 ;
7155 PyObject * obj0 = 0 ;
7156 PyObject * obj1 = 0 ;
7157 char * kwnames[] = {
7158 (char *) "self",(char *) "column", NULL
7159 };
7160
7161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7163 if (!SWIG_IsOK(res1)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7165 }
7166 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7167 ecode2 = SWIG_AsVal_int(obj1, &val2);
7168 if (!SWIG_IsOK(ecode2)) {
7169 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7170 }
7171 arg2 = static_cast< int >(val2);
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
7175 wxPyEndAllowThreads(__tstate);
7176 if (PyErr_Occurred()) SWIG_fail;
7177 }
7178 resultobj = SWIG_From_int(static_cast< int >(result));
7179 return resultobj;
7180 fail:
7181 return NULL;
7182 }
7183
7184
7185 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj = 0;
7187 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7188 int arg2 ;
7189 int arg3 ;
7190 void *argp1 = 0 ;
7191 int res1 = 0 ;
7192 int val2 ;
7193 int ecode2 = 0 ;
7194 int val3 ;
7195 int ecode3 = 0 ;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj1 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char * kwnames[] = {
7200 (char *) "self",(char *) "column",(char *) "flag", NULL
7201 };
7202
7203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7205 if (!SWIG_IsOK(res1)) {
7206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7207 }
7208 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7209 ecode2 = SWIG_AsVal_int(obj1, &val2);
7210 if (!SWIG_IsOK(ecode2)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7212 }
7213 arg2 = static_cast< int >(val2);
7214 ecode3 = SWIG_AsVal_int(obj2, &val3);
7215 if (!SWIG_IsOK(ecode3)) {
7216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7217 }
7218 arg3 = static_cast< int >(val3);
7219 {
7220 PyThreadState* __tstate = wxPyBeginAllowThreads();
7221 (arg1)->SetColumnAlignment(arg2,arg3);
7222 wxPyEndAllowThreads(__tstate);
7223 if (PyErr_Occurred()) SWIG_fail;
7224 }
7225 resultobj = SWIG_Py_Void();
7226 return resultobj;
7227 fail:
7228 return NULL;
7229 }
7230
7231
7232 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7233 PyObject *resultobj = 0;
7234 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7235 int arg2 ;
7236 int result;
7237 void *argp1 = 0 ;
7238 int res1 = 0 ;
7239 int val2 ;
7240 int ecode2 = 0 ;
7241 PyObject * obj0 = 0 ;
7242 PyObject * obj1 = 0 ;
7243 char * kwnames[] = {
7244 (char *) "self",(char *) "column", NULL
7245 };
7246
7247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7249 if (!SWIG_IsOK(res1)) {
7250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7251 }
7252 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7253 ecode2 = SWIG_AsVal_int(obj1, &val2);
7254 if (!SWIG_IsOK(ecode2)) {
7255 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7256 }
7257 arg2 = static_cast< int >(val2);
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7261 wxPyEndAllowThreads(__tstate);
7262 if (PyErr_Occurred()) SWIG_fail;
7263 }
7264 resultobj = SWIG_From_int(static_cast< int >(result));
7265 return resultobj;
7266 fail:
7267 return NULL;
7268 }
7269
7270
7271 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7272 PyObject *resultobj = 0;
7273 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7274 int arg2 ;
7275 int arg3 ;
7276 void *argp1 = 0 ;
7277 int res1 = 0 ;
7278 int val2 ;
7279 int ecode2 = 0 ;
7280 int val3 ;
7281 int ecode3 = 0 ;
7282 PyObject * obj0 = 0 ;
7283 PyObject * obj1 = 0 ;
7284 PyObject * obj2 = 0 ;
7285 char * kwnames[] = {
7286 (char *) "self",(char *) "column",(char *) "image", NULL
7287 };
7288
7289 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7290 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7291 if (!SWIG_IsOK(res1)) {
7292 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7293 }
7294 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7295 ecode2 = SWIG_AsVal_int(obj1, &val2);
7296 if (!SWIG_IsOK(ecode2)) {
7297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7298 }
7299 arg2 = static_cast< int >(val2);
7300 ecode3 = SWIG_AsVal_int(obj2, &val3);
7301 if (!SWIG_IsOK(ecode3)) {
7302 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7303 }
7304 arg3 = static_cast< int >(val3);
7305 {
7306 PyThreadState* __tstate = wxPyBeginAllowThreads();
7307 (arg1)->SetColumnImage(arg2,arg3);
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_Py_Void();
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj = 0;
7320 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7321 int arg2 ;
7322 int result;
7323 void *argp1 = 0 ;
7324 int res1 = 0 ;
7325 int val2 ;
7326 int ecode2 = 0 ;
7327 PyObject * obj0 = 0 ;
7328 PyObject * obj1 = 0 ;
7329 char * kwnames[] = {
7330 (char *) "self",(char *) "column", NULL
7331 };
7332
7333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7335 if (!SWIG_IsOK(res1)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7337 }
7338 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7339 ecode2 = SWIG_AsVal_int(obj1, &val2);
7340 if (!SWIG_IsOK(ecode2)) {
7341 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7342 }
7343 arg2 = static_cast< int >(val2);
7344 {
7345 PyThreadState* __tstate = wxPyBeginAllowThreads();
7346 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7347 wxPyEndAllowThreads(__tstate);
7348 if (PyErr_Occurred()) SWIG_fail;
7349 }
7350 resultobj = SWIG_From_int(static_cast< int >(result));
7351 return resultobj;
7352 fail:
7353 return NULL;
7354 }
7355
7356
7357 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7358 PyObject *resultobj = 0;
7359 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7360 int arg2 ;
7361 bool arg3 = (bool) true ;
7362 void *argp1 = 0 ;
7363 int res1 = 0 ;
7364 int val2 ;
7365 int ecode2 = 0 ;
7366 bool val3 ;
7367 int ecode3 = 0 ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 PyObject * obj2 = 0 ;
7371 char * kwnames[] = {
7372 (char *) "self",(char *) "column",(char *) "shown", NULL
7373 };
7374
7375 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7376 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7377 if (!SWIG_IsOK(res1)) {
7378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7379 }
7380 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7381 ecode2 = SWIG_AsVal_int(obj1, &val2);
7382 if (!SWIG_IsOK(ecode2)) {
7383 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7384 }
7385 arg2 = static_cast< int >(val2);
7386 if (obj2) {
7387 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7388 if (!SWIG_IsOK(ecode3)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7390 }
7391 arg3 = static_cast< bool >(val3);
7392 }
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 (arg1)->SetColumnShown(arg2,arg3);
7396 wxPyEndAllowThreads(__tstate);
7397 if (PyErr_Occurred()) SWIG_fail;
7398 }
7399 resultobj = SWIG_Py_Void();
7400 return resultobj;
7401 fail:
7402 return NULL;
7403 }
7404
7405
7406 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj = 0;
7408 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7409 int arg2 ;
7410 bool result;
7411 void *argp1 = 0 ;
7412 int res1 = 0 ;
7413 int val2 ;
7414 int ecode2 = 0 ;
7415 PyObject * obj0 = 0 ;
7416 PyObject * obj1 = 0 ;
7417 char * kwnames[] = {
7418 (char *) "self",(char *) "column", NULL
7419 };
7420
7421 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7422 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7423 if (!SWIG_IsOK(res1)) {
7424 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7425 }
7426 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7427 ecode2 = SWIG_AsVal_int(obj1, &val2);
7428 if (!SWIG_IsOK(ecode2)) {
7429 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7430 }
7431 arg2 = static_cast< int >(val2);
7432 {
7433 PyThreadState* __tstate = wxPyBeginAllowThreads();
7434 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 {
7439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7440 }
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj = 0;
7449 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7450 int arg2 ;
7451 bool arg3 = (bool) true ;
7452 void *argp1 = 0 ;
7453 int res1 = 0 ;
7454 int val2 ;
7455 int ecode2 = 0 ;
7456 bool val3 ;
7457 int ecode3 = 0 ;
7458 PyObject * obj0 = 0 ;
7459 PyObject * obj1 = 0 ;
7460 PyObject * obj2 = 0 ;
7461 char * kwnames[] = {
7462 (char *) "self",(char *) "column",(char *) "edit", NULL
7463 };
7464
7465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7467 if (!SWIG_IsOK(res1)) {
7468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7469 }
7470 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7471 ecode2 = SWIG_AsVal_int(obj1, &val2);
7472 if (!SWIG_IsOK(ecode2)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7474 }
7475 arg2 = static_cast< int >(val2);
7476 if (obj2) {
7477 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7478 if (!SWIG_IsOK(ecode3)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7480 }
7481 arg3 = static_cast< bool >(val3);
7482 }
7483 {
7484 PyThreadState* __tstate = wxPyBeginAllowThreads();
7485 (arg1)->SetColumnEditable(arg2,arg3);
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 resultobj = SWIG_Py_Void();
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj = 0;
7498 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7499 int arg2 ;
7500 bool result;
7501 void *argp1 = 0 ;
7502 int res1 = 0 ;
7503 int val2 ;
7504 int ecode2 = 0 ;
7505 PyObject * obj0 = 0 ;
7506 PyObject * obj1 = 0 ;
7507 char * kwnames[] = {
7508 (char *) "self",(char *) "column", NULL
7509 };
7510
7511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7513 if (!SWIG_IsOK(res1)) {
7514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7515 }
7516 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7517 ecode2 = SWIG_AsVal_int(obj1, &val2);
7518 if (!SWIG_IsOK(ecode2)) {
7519 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7520 }
7521 arg2 = static_cast< int >(val2);
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7525 wxPyEndAllowThreads(__tstate);
7526 if (PyErr_Occurred()) SWIG_fail;
7527 }
7528 {
7529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7530 }
7531 return resultobj;
7532 fail:
7533 return NULL;
7534 }
7535
7536
7537 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7538 PyObject *resultobj = 0;
7539 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7540 wxTreeItemId *arg2 = 0 ;
7541 int arg3 = (int) -1 ;
7542 wxString result;
7543 void *argp1 = 0 ;
7544 int res1 = 0 ;
7545 void *argp2 = 0 ;
7546 int res2 = 0 ;
7547 int val3 ;
7548 int ecode3 = 0 ;
7549 PyObject * obj0 = 0 ;
7550 PyObject * obj1 = 0 ;
7551 PyObject * obj2 = 0 ;
7552 char * kwnames[] = {
7553 (char *) "self",(char *) "item",(char *) "column", NULL
7554 };
7555
7556 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7557 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7558 if (!SWIG_IsOK(res1)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7560 }
7561 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7562 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7563 if (!SWIG_IsOK(res2)) {
7564 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7565 }
7566 if (!argp2) {
7567 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7568 }
7569 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7570 if (obj2) {
7571 ecode3 = SWIG_AsVal_int(obj2, &val3);
7572 if (!SWIG_IsOK(ecode3)) {
7573 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7574 }
7575 arg3 = static_cast< int >(val3);
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
7579 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 {
7584 #if wxUSE_UNICODE
7585 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7586 #else
7587 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7588 #endif
7589 }
7590 return resultobj;
7591 fail:
7592 return NULL;
7593 }
7594
7595
7596 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj = 0;
7598 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7599 wxTreeItemId *arg2 = 0 ;
7600 int arg3 = (int) -1 ;
7601 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7602 int result;
7603 void *argp1 = 0 ;
7604 int res1 = 0 ;
7605 void *argp2 = 0 ;
7606 int res2 = 0 ;
7607 int val3 ;
7608 int ecode3 = 0 ;
7609 int val4 ;
7610 int ecode4 = 0 ;
7611 PyObject * obj0 = 0 ;
7612 PyObject * obj1 = 0 ;
7613 PyObject * obj2 = 0 ;
7614 PyObject * obj3 = 0 ;
7615 char * kwnames[] = {
7616 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7617 };
7618
7619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7621 if (!SWIG_IsOK(res1)) {
7622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7623 }
7624 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7625 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7626 if (!SWIG_IsOK(res2)) {
7627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7628 }
7629 if (!argp2) {
7630 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7631 }
7632 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7633 if (obj2) {
7634 ecode3 = SWIG_AsVal_int(obj2, &val3);
7635 if (!SWIG_IsOK(ecode3)) {
7636 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7637 }
7638 arg3 = static_cast< int >(val3);
7639 }
7640 if (obj3) {
7641 ecode4 = SWIG_AsVal_int(obj3, &val4);
7642 if (!SWIG_IsOK(ecode4)) {
7643 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7644 }
7645 arg4 = static_cast< wxTreeItemIcon >(val4);
7646 }
7647 {
7648 PyThreadState* __tstate = wxPyBeginAllowThreads();
7649 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7650 wxPyEndAllowThreads(__tstate);
7651 if (PyErr_Occurred()) SWIG_fail;
7652 }
7653 resultobj = SWIG_From_int(static_cast< int >(result));
7654 return resultobj;
7655 fail:
7656 return NULL;
7657 }
7658
7659
7660 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7661 PyObject *resultobj = 0;
7662 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7663 wxTreeItemId *arg2 = 0 ;
7664 wxString *arg3 = 0 ;
7665 int arg4 = (int) -1 ;
7666 void *argp1 = 0 ;
7667 int res1 = 0 ;
7668 void *argp2 = 0 ;
7669 int res2 = 0 ;
7670 bool temp3 = false ;
7671 int val4 ;
7672 int ecode4 = 0 ;
7673 PyObject * obj0 = 0 ;
7674 PyObject * obj1 = 0 ;
7675 PyObject * obj2 = 0 ;
7676 PyObject * obj3 = 0 ;
7677 char * kwnames[] = {
7678 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7679 };
7680
7681 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7682 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7683 if (!SWIG_IsOK(res1)) {
7684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7685 }
7686 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7687 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7688 if (!SWIG_IsOK(res2)) {
7689 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7690 }
7691 if (!argp2) {
7692 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7693 }
7694 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7695 {
7696 arg3 = wxString_in_helper(obj2);
7697 if (arg3 == NULL) SWIG_fail;
7698 temp3 = true;
7699 }
7700 if (obj3) {
7701 ecode4 = SWIG_AsVal_int(obj3, &val4);
7702 if (!SWIG_IsOK(ecode4)) {
7703 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7704 }
7705 arg4 = static_cast< int >(val4);
7706 }
7707 {
7708 PyThreadState* __tstate = wxPyBeginAllowThreads();
7709 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7710 wxPyEndAllowThreads(__tstate);
7711 if (PyErr_Occurred()) SWIG_fail;
7712 }
7713 resultobj = SWIG_Py_Void();
7714 {
7715 if (temp3)
7716 delete arg3;
7717 }
7718 return resultobj;
7719 fail:
7720 {
7721 if (temp3)
7722 delete arg3;
7723 }
7724 return NULL;
7725 }
7726
7727
7728 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7729 PyObject *resultobj = 0;
7730 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7731 wxTreeItemId *arg2 = 0 ;
7732 int arg3 ;
7733 int arg4 = (int) -1 ;
7734 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7735 void *argp1 = 0 ;
7736 int res1 = 0 ;
7737 void *argp2 = 0 ;
7738 int res2 = 0 ;
7739 int val3 ;
7740 int ecode3 = 0 ;
7741 int val4 ;
7742 int ecode4 = 0 ;
7743 int val5 ;
7744 int ecode5 = 0 ;
7745 PyObject * obj0 = 0 ;
7746 PyObject * obj1 = 0 ;
7747 PyObject * obj2 = 0 ;
7748 PyObject * obj3 = 0 ;
7749 PyObject * obj4 = 0 ;
7750 char * kwnames[] = {
7751 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7752 };
7753
7754 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7755 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7756 if (!SWIG_IsOK(res1)) {
7757 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7758 }
7759 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7760 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7761 if (!SWIG_IsOK(res2)) {
7762 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7763 }
7764 if (!argp2) {
7765 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7766 }
7767 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7768 ecode3 = SWIG_AsVal_int(obj2, &val3);
7769 if (!SWIG_IsOK(ecode3)) {
7770 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7771 }
7772 arg3 = static_cast< int >(val3);
7773 if (obj3) {
7774 ecode4 = SWIG_AsVal_int(obj3, &val4);
7775 if (!SWIG_IsOK(ecode4)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7777 }
7778 arg4 = static_cast< int >(val4);
7779 }
7780 if (obj4) {
7781 ecode5 = SWIG_AsVal_int(obj4, &val5);
7782 if (!SWIG_IsOK(ecode5)) {
7783 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7784 }
7785 arg5 = static_cast< wxTreeItemIcon >(val5);
7786 }
7787 {
7788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7789 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 resultobj = SWIG_Py_Void();
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj = 0;
7802 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7803 wxTreeItemId *arg2 = 0 ;
7804 wxPyTreeItemData *result = 0 ;
7805 void *argp1 = 0 ;
7806 int res1 = 0 ;
7807 void *argp2 = 0 ;
7808 int res2 = 0 ;
7809 PyObject * obj0 = 0 ;
7810 PyObject * obj1 = 0 ;
7811 char * kwnames[] = {
7812 (char *) "self",(char *) "item", NULL
7813 };
7814
7815 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7816 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7817 if (!SWIG_IsOK(res1)) {
7818 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7819 }
7820 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7821 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7822 if (!SWIG_IsOK(res2)) {
7823 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7824 }
7825 if (!argp2) {
7826 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7827 }
7828 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7829 {
7830 PyThreadState* __tstate = wxPyBeginAllowThreads();
7831 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7832 wxPyEndAllowThreads(__tstate);
7833 if (PyErr_Occurred()) SWIG_fail;
7834 }
7835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7836 return resultobj;
7837 fail:
7838 return NULL;
7839 }
7840
7841
7842 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7843 PyObject *resultobj = 0;
7844 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7845 wxTreeItemId *arg2 = 0 ;
7846 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7847 void *argp1 = 0 ;
7848 int res1 = 0 ;
7849 void *argp2 = 0 ;
7850 int res2 = 0 ;
7851 int res3 = 0 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 PyObject * obj2 = 0 ;
7855 char * kwnames[] = {
7856 (char *) "self",(char *) "item",(char *) "data", NULL
7857 };
7858
7859 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7860 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7861 if (!SWIG_IsOK(res1)) {
7862 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7863 }
7864 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7865 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7866 if (!SWIG_IsOK(res2)) {
7867 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7868 }
7869 if (!argp2) {
7870 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7871 }
7872 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7873 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7874 if (!SWIG_IsOK(res3)) {
7875 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7876 }
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7880 wxPyEndAllowThreads(__tstate);
7881 if (PyErr_Occurred()) SWIG_fail;
7882 }
7883 resultobj = SWIG_Py_Void();
7884 return resultobj;
7885 fail:
7886 return NULL;
7887 }
7888
7889
7890 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7891 PyObject *resultobj = 0;
7892 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7893 wxTreeItemId *arg2 = 0 ;
7894 PyObject *result = 0 ;
7895 void *argp1 = 0 ;
7896 int res1 = 0 ;
7897 void *argp2 = 0 ;
7898 int res2 = 0 ;
7899 PyObject * obj0 = 0 ;
7900 PyObject * obj1 = 0 ;
7901 char * kwnames[] = {
7902 (char *) "self",(char *) "item", NULL
7903 };
7904
7905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7907 if (!SWIG_IsOK(res1)) {
7908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7909 }
7910 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7911 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7912 if (!SWIG_IsOK(res2)) {
7913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7914 }
7915 if (!argp2) {
7916 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7917 }
7918 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7922 wxPyEndAllowThreads(__tstate);
7923 if (PyErr_Occurred()) SWIG_fail;
7924 }
7925 resultobj = result;
7926 return resultobj;
7927 fail:
7928 return NULL;
7929 }
7930
7931
7932 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7933 PyObject *resultobj = 0;
7934 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7935 wxTreeItemId *arg2 = 0 ;
7936 PyObject *arg3 = (PyObject *) 0 ;
7937 void *argp1 = 0 ;
7938 int res1 = 0 ;
7939 void *argp2 = 0 ;
7940 int res2 = 0 ;
7941 PyObject * obj0 = 0 ;
7942 PyObject * obj1 = 0 ;
7943 PyObject * obj2 = 0 ;
7944 char * kwnames[] = {
7945 (char *) "self",(char *) "item",(char *) "obj", NULL
7946 };
7947
7948 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7949 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7950 if (!SWIG_IsOK(res1)) {
7951 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7952 }
7953 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7954 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7955 if (!SWIG_IsOK(res2)) {
7956 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7957 }
7958 if (!argp2) {
7959 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7960 }
7961 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7962 arg3 = obj2;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 resultobj = SWIG_Py_Void();
7970 return resultobj;
7971 fail:
7972 return NULL;
7973 }
7974
7975
7976 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7977 PyObject *resultobj = 0;
7978 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7979 wxTreeItemId *arg2 = 0 ;
7980 bool result;
7981 void *argp1 = 0 ;
7982 int res1 = 0 ;
7983 void *argp2 = 0 ;
7984 int res2 = 0 ;
7985 PyObject * obj0 = 0 ;
7986 PyObject * obj1 = 0 ;
7987 char * kwnames[] = {
7988 (char *) "self",(char *) "item", NULL
7989 };
7990
7991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7993 if (!SWIG_IsOK(res1)) {
7994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7995 }
7996 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7997 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7998 if (!SWIG_IsOK(res2)) {
7999 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8000 }
8001 if (!argp2) {
8002 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8003 }
8004 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 {
8012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8013 }
8014 return resultobj;
8015 fail:
8016 return NULL;
8017 }
8018
8019
8020 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8021 PyObject *resultobj = 0;
8022 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8023 wxTreeItemId *arg2 = 0 ;
8024 wxColour result;
8025 void *argp1 = 0 ;
8026 int res1 = 0 ;
8027 void *argp2 = 0 ;
8028 int res2 = 0 ;
8029 PyObject * obj0 = 0 ;
8030 PyObject * obj1 = 0 ;
8031 char * kwnames[] = {
8032 (char *) "self",(char *) "item", NULL
8033 };
8034
8035 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8036 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8037 if (!SWIG_IsOK(res1)) {
8038 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8039 }
8040 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8041 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8042 if (!SWIG_IsOK(res2)) {
8043 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8044 }
8045 if (!argp2) {
8046 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8047 }
8048 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8049 {
8050 PyThreadState* __tstate = wxPyBeginAllowThreads();
8051 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8056 return resultobj;
8057 fail:
8058 return NULL;
8059 }
8060
8061
8062 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8063 PyObject *resultobj = 0;
8064 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8065 wxTreeItemId *arg2 = 0 ;
8066 wxColour result;
8067 void *argp1 = 0 ;
8068 int res1 = 0 ;
8069 void *argp2 = 0 ;
8070 int res2 = 0 ;
8071 PyObject * obj0 = 0 ;
8072 PyObject * obj1 = 0 ;
8073 char * kwnames[] = {
8074 (char *) "self",(char *) "item", NULL
8075 };
8076
8077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8079 if (!SWIG_IsOK(res1)) {
8080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8081 }
8082 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8083 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8084 if (!SWIG_IsOK(res2)) {
8085 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8086 }
8087 if (!argp2) {
8088 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8089 }
8090 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8098 return resultobj;
8099 fail:
8100 return NULL;
8101 }
8102
8103
8104 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj = 0;
8106 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8107 wxTreeItemId *arg2 = 0 ;
8108 wxFont result;
8109 void *argp1 = 0 ;
8110 int res1 = 0 ;
8111 void *argp2 = 0 ;
8112 int res2 = 0 ;
8113 PyObject * obj0 = 0 ;
8114 PyObject * obj1 = 0 ;
8115 char * kwnames[] = {
8116 (char *) "self",(char *) "item", NULL
8117 };
8118
8119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8121 if (!SWIG_IsOK(res1)) {
8122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8123 }
8124 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8125 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8126 if (!SWIG_IsOK(res2)) {
8127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8128 }
8129 if (!argp2) {
8130 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8131 }
8132 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8140 return resultobj;
8141 fail:
8142 return NULL;
8143 }
8144
8145
8146 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8147 PyObject *resultobj = 0;
8148 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8149 wxTreeItemId *arg2 = 0 ;
8150 bool arg3 = (bool) true ;
8151 void *argp1 = 0 ;
8152 int res1 = 0 ;
8153 void *argp2 = 0 ;
8154 int res2 = 0 ;
8155 bool val3 ;
8156 int ecode3 = 0 ;
8157 PyObject * obj0 = 0 ;
8158 PyObject * obj1 = 0 ;
8159 PyObject * obj2 = 0 ;
8160 char * kwnames[] = {
8161 (char *) "self",(char *) "item",(char *) "has", NULL
8162 };
8163
8164 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) 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_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
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_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8173 }
8174 if (!argp2) {
8175 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8176 }
8177 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8178 if (obj2) {
8179 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8180 if (!SWIG_IsOK(ecode3)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8182 }
8183 arg3 = static_cast< bool >(val3);
8184 }
8185 {
8186 PyThreadState* __tstate = wxPyBeginAllowThreads();
8187 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
8188 wxPyEndAllowThreads(__tstate);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 }
8191 resultobj = SWIG_Py_Void();
8192 return resultobj;
8193 fail:
8194 return NULL;
8195 }
8196
8197
8198 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8199 PyObject *resultobj = 0;
8200 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8201 wxTreeItemId *arg2 = 0 ;
8202 bool arg3 = (bool) true ;
8203 void *argp1 = 0 ;
8204 int res1 = 0 ;
8205 void *argp2 = 0 ;
8206 int res2 = 0 ;
8207 bool val3 ;
8208 int ecode3 = 0 ;
8209 PyObject * obj0 = 0 ;
8210 PyObject * obj1 = 0 ;
8211 PyObject * obj2 = 0 ;
8212 char * kwnames[] = {
8213 (char *) "self",(char *) "item",(char *) "bold", NULL
8214 };
8215
8216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8218 if (!SWIG_IsOK(res1)) {
8219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8220 }
8221 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8222 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8223 if (!SWIG_IsOK(res2)) {
8224 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8225 }
8226 if (!argp2) {
8227 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8228 }
8229 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8230 if (obj2) {
8231 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8232 if (!SWIG_IsOK(ecode3)) {
8233 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8234 }
8235 arg3 = static_cast< bool >(val3);
8236 }
8237 {
8238 PyThreadState* __tstate = wxPyBeginAllowThreads();
8239 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
8240 wxPyEndAllowThreads(__tstate);
8241 if (PyErr_Occurred()) SWIG_fail;
8242 }
8243 resultobj = SWIG_Py_Void();
8244 return resultobj;
8245 fail:
8246 return NULL;
8247 }
8248
8249
8250 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8251 PyObject *resultobj = 0;
8252 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8253 wxTreeItemId *arg2 = 0 ;
8254 wxColour *arg3 = 0 ;
8255 void *argp1 = 0 ;
8256 int res1 = 0 ;
8257 void *argp2 = 0 ;
8258 int res2 = 0 ;
8259 wxColour temp3 ;
8260 PyObject * obj0 = 0 ;
8261 PyObject * obj1 = 0 ;
8262 PyObject * obj2 = 0 ;
8263 char * kwnames[] = {
8264 (char *) "self",(char *) "item",(char *) "colour", NULL
8265 };
8266
8267 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8268 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8269 if (!SWIG_IsOK(res1)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8271 }
8272 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8273 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8274 if (!SWIG_IsOK(res2)) {
8275 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8276 }
8277 if (!argp2) {
8278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8279 }
8280 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8281 {
8282 arg3 = &temp3;
8283 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8284 }
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 resultobj = SWIG_Py_Void();
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj = 0;
8300 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8301 wxTreeItemId *arg2 = 0 ;
8302 wxColour *arg3 = 0 ;
8303 void *argp1 = 0 ;
8304 int res1 = 0 ;
8305 void *argp2 = 0 ;
8306 int res2 = 0 ;
8307 wxColour temp3 ;
8308 PyObject * obj0 = 0 ;
8309 PyObject * obj1 = 0 ;
8310 PyObject * obj2 = 0 ;
8311 char * kwnames[] = {
8312 (char *) "self",(char *) "item",(char *) "colour", NULL
8313 };
8314
8315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8317 if (!SWIG_IsOK(res1)) {
8318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8319 }
8320 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8321 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8322 if (!SWIG_IsOK(res2)) {
8323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8324 }
8325 if (!argp2) {
8326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8327 }
8328 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8329 {
8330 arg3 = &temp3;
8331 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8332 }
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_Py_Void();
8340 return resultobj;
8341 fail:
8342 return NULL;
8343 }
8344
8345
8346 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj = 0;
8348 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8349 wxTreeItemId *arg2 = 0 ;
8350 wxFont *arg3 = 0 ;
8351 void *argp1 = 0 ;
8352 int res1 = 0 ;
8353 void *argp2 = 0 ;
8354 int res2 = 0 ;
8355 void *argp3 = 0 ;
8356 int res3 = 0 ;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 char * kwnames[] = {
8361 (char *) "self",(char *) "item",(char *) "font", NULL
8362 };
8363
8364 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8365 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8366 if (!SWIG_IsOK(res1)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8368 }
8369 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8370 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8371 if (!SWIG_IsOK(res2)) {
8372 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8373 }
8374 if (!argp2) {
8375 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8376 }
8377 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8378 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8379 if (!SWIG_IsOK(res3)) {
8380 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8381 }
8382 if (!argp3) {
8383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8384 }
8385 arg3 = reinterpret_cast< wxFont * >(argp3);
8386 {
8387 PyThreadState* __tstate = wxPyBeginAllowThreads();
8388 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = SWIG_Py_Void();
8393 return resultobj;
8394 fail:
8395 return NULL;
8396 }
8397
8398
8399 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8400 PyObject *resultobj = 0;
8401 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8402 wxTreeItemId *arg2 = 0 ;
8403 bool result;
8404 void *argp1 = 0 ;
8405 int res1 = 0 ;
8406 void *argp2 = 0 ;
8407 int res2 = 0 ;
8408 PyObject * obj0 = 0 ;
8409 PyObject * obj1 = 0 ;
8410 char * kwnames[] = {
8411 (char *) "self",(char *) "item", NULL
8412 };
8413
8414 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8415 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8416 if (!SWIG_IsOK(res1)) {
8417 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8418 }
8419 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8420 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8421 if (!SWIG_IsOK(res2)) {
8422 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8423 }
8424 if (!argp2) {
8425 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8426 }
8427 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8428 {
8429 PyThreadState* __tstate = wxPyBeginAllowThreads();
8430 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 {
8435 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8436 }
8437 return resultobj;
8438 fail:
8439 return NULL;
8440 }
8441
8442
8443 SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8444 PyObject *resultobj = 0;
8445 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8446 wxTreeItemId *arg2 = 0 ;
8447 bool result;
8448 void *argp1 = 0 ;
8449 int res1 = 0 ;
8450 void *argp2 = 0 ;
8451 int res2 = 0 ;
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 char * kwnames[] = {
8455 (char *) "self",(char *) "item", NULL
8456 };
8457
8458 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8459 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8460 if (!SWIG_IsOK(res1)) {
8461 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8462 }
8463 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8464 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8465 if (!SWIG_IsOK(res2)) {
8466 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8467 }
8468 if (!argp2) {
8469 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8470 }
8471 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 {
8479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8480 }
8481 return resultobj;
8482 fail:
8483 return NULL;
8484 }
8485
8486
8487 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8488 PyObject *resultobj = 0;
8489 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8490 wxTreeItemId *arg2 = 0 ;
8491 bool result;
8492 void *argp1 = 0 ;
8493 int res1 = 0 ;
8494 void *argp2 = 0 ;
8495 int res2 = 0 ;
8496 PyObject * obj0 = 0 ;
8497 PyObject * obj1 = 0 ;
8498 char * kwnames[] = {
8499 (char *) "self",(char *) "item", NULL
8500 };
8501
8502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8504 if (!SWIG_IsOK(res1)) {
8505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8506 }
8507 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8508 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8509 if (!SWIG_IsOK(res2)) {
8510 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8511 }
8512 if (!argp2) {
8513 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8514 }
8515 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8519 wxPyEndAllowThreads(__tstate);
8520 if (PyErr_Occurred()) SWIG_fail;
8521 }
8522 {
8523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8524 }
8525 return resultobj;
8526 fail:
8527 return NULL;
8528 }
8529
8530
8531 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj = 0;
8533 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8534 wxTreeItemId *arg2 = 0 ;
8535 bool result;
8536 void *argp1 = 0 ;
8537 int res1 = 0 ;
8538 void *argp2 = 0 ;
8539 int res2 = 0 ;
8540 PyObject * obj0 = 0 ;
8541 PyObject * obj1 = 0 ;
8542 char * kwnames[] = {
8543 (char *) "self",(char *) "item", NULL
8544 };
8545
8546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8548 if (!SWIG_IsOK(res1)) {
8549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8550 }
8551 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8552 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8553 if (!SWIG_IsOK(res2)) {
8554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8555 }
8556 if (!argp2) {
8557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8558 }
8559 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8560 {
8561 PyThreadState* __tstate = wxPyBeginAllowThreads();
8562 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8563 wxPyEndAllowThreads(__tstate);
8564 if (PyErr_Occurred()) SWIG_fail;
8565 }
8566 {
8567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8568 }
8569 return resultobj;
8570 fail:
8571 return NULL;
8572 }
8573
8574
8575 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8576 PyObject *resultobj = 0;
8577 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8578 wxTreeItemId *arg2 = 0 ;
8579 bool result;
8580 void *argp1 = 0 ;
8581 int res1 = 0 ;
8582 void *argp2 = 0 ;
8583 int res2 = 0 ;
8584 PyObject * obj0 = 0 ;
8585 PyObject * obj1 = 0 ;
8586 char * kwnames[] = {
8587 (char *) "self",(char *) "item", NULL
8588 };
8589
8590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8592 if (!SWIG_IsOK(res1)) {
8593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8594 }
8595 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8597 if (!SWIG_IsOK(res2)) {
8598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8599 }
8600 if (!argp2) {
8601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8602 }
8603 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8607 wxPyEndAllowThreads(__tstate);
8608 if (PyErr_Occurred()) SWIG_fail;
8609 }
8610 {
8611 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8612 }
8613 return resultobj;
8614 fail:
8615 return NULL;
8616 }
8617
8618
8619 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8620 PyObject *resultobj = 0;
8621 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8622 wxTreeItemId *arg2 = 0 ;
8623 bool arg3 = (bool) true ;
8624 size_t result;
8625 void *argp1 = 0 ;
8626 int res1 = 0 ;
8627 void *argp2 = 0 ;
8628 int res2 = 0 ;
8629 bool val3 ;
8630 int ecode3 = 0 ;
8631 PyObject * obj0 = 0 ;
8632 PyObject * obj1 = 0 ;
8633 PyObject * obj2 = 0 ;
8634 char * kwnames[] = {
8635 (char *) "self",(char *) "item",(char *) "recursively", NULL
8636 };
8637
8638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8640 if (!SWIG_IsOK(res1)) {
8641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8642 }
8643 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8645 if (!SWIG_IsOK(res2)) {
8646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8647 }
8648 if (!argp2) {
8649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8650 }
8651 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8652 if (obj2) {
8653 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8654 if (!SWIG_IsOK(ecode3)) {
8655 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8656 }
8657 arg3 = static_cast< bool >(val3);
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8662 wxPyEndAllowThreads(__tstate);
8663 if (PyErr_Occurred()) SWIG_fail;
8664 }
8665 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8666 return resultobj;
8667 fail:
8668 return NULL;
8669 }
8670
8671
8672 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8673 PyObject *resultobj = 0;
8674 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8675 wxTreeItemId result;
8676 void *argp1 = 0 ;
8677 int res1 = 0 ;
8678 PyObject *swig_obj[1] ;
8679
8680 if (!args) SWIG_fail;
8681 swig_obj[0] = args;
8682 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8683 if (!SWIG_IsOK(res1)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8685 }
8686 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8687 {
8688 PyThreadState* __tstate = wxPyBeginAllowThreads();
8689 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8690 wxPyEndAllowThreads(__tstate);
8691 if (PyErr_Occurred()) SWIG_fail;
8692 }
8693 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8694 return resultobj;
8695 fail:
8696 return NULL;
8697 }
8698
8699
8700 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8701 PyObject *resultobj = 0;
8702 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8703 wxTreeItemId result;
8704 void *argp1 = 0 ;
8705 int res1 = 0 ;
8706 PyObject *swig_obj[1] ;
8707
8708 if (!args) SWIG_fail;
8709 swig_obj[0] = args;
8710 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8711 if (!SWIG_IsOK(res1)) {
8712 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8713 }
8714 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8715 {
8716 PyThreadState* __tstate = wxPyBeginAllowThreads();
8717 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8718 wxPyEndAllowThreads(__tstate);
8719 if (PyErr_Occurred()) SWIG_fail;
8720 }
8721 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8722 return resultobj;
8723 fail:
8724 return NULL;
8725 }
8726
8727
8728 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8729 PyObject *resultobj = 0;
8730 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8731 PyObject *result = 0 ;
8732 void *argp1 = 0 ;
8733 int res1 = 0 ;
8734 PyObject *swig_obj[1] ;
8735
8736 if (!args) SWIG_fail;
8737 swig_obj[0] = args;
8738 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8739 if (!SWIG_IsOK(res1)) {
8740 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8741 }
8742 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8743 {
8744 PyThreadState* __tstate = wxPyBeginAllowThreads();
8745 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8746 wxPyEndAllowThreads(__tstate);
8747 if (PyErr_Occurred()) SWIG_fail;
8748 }
8749 resultobj = result;
8750 return resultobj;
8751 fail:
8752 return NULL;
8753 }
8754
8755
8756 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8757 PyObject *resultobj = 0;
8758 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8759 wxTreeItemId *arg2 = 0 ;
8760 wxTreeItemId result;
8761 void *argp1 = 0 ;
8762 int res1 = 0 ;
8763 void *argp2 = 0 ;
8764 int res2 = 0 ;
8765 PyObject * obj0 = 0 ;
8766 PyObject * obj1 = 0 ;
8767 char * kwnames[] = {
8768 (char *) "self",(char *) "item", NULL
8769 };
8770
8771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8773 if (!SWIG_IsOK(res1)) {
8774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8775 }
8776 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8777 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8778 if (!SWIG_IsOK(res2)) {
8779 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8780 }
8781 if (!argp2) {
8782 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8783 }
8784 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8785 {
8786 PyThreadState* __tstate = wxPyBeginAllowThreads();
8787 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8788 wxPyEndAllowThreads(__tstate);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 }
8791 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8792 return resultobj;
8793 fail:
8794 return NULL;
8795 }
8796
8797
8798 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8799 PyObject *resultobj = 0;
8800 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8801 wxTreeItemId *arg2 = 0 ;
8802 PyObject *result = 0 ;
8803 void *argp1 = 0 ;
8804 int res1 = 0 ;
8805 void *argp2 = 0 ;
8806 int res2 = 0 ;
8807 PyObject * obj0 = 0 ;
8808 PyObject * obj1 = 0 ;
8809 char * kwnames[] = {
8810 (char *) "self",(char *) "item", NULL
8811 };
8812
8813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8815 if (!SWIG_IsOK(res1)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8817 }
8818 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8819 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8820 if (!SWIG_IsOK(res2)) {
8821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8822 }
8823 if (!argp2) {
8824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8825 }
8826 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8830 wxPyEndAllowThreads(__tstate);
8831 if (PyErr_Occurred()) SWIG_fail;
8832 }
8833 resultobj = result;
8834 return resultobj;
8835 fail:
8836 return NULL;
8837 }
8838
8839
8840 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8841 PyObject *resultobj = 0;
8842 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8843 wxTreeItemId *arg2 = 0 ;
8844 void *arg3 = (void *) 0 ;
8845 PyObject *result = 0 ;
8846 void *argp1 = 0 ;
8847 int res1 = 0 ;
8848 void *argp2 = 0 ;
8849 int res2 = 0 ;
8850 int res3 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 PyObject * obj2 = 0 ;
8854 char * kwnames[] = {
8855 (char *) "self",(char *) "item",(char *) "cookie", NULL
8856 };
8857
8858 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8859 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8860 if (!SWIG_IsOK(res1)) {
8861 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8862 }
8863 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8864 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8865 if (!SWIG_IsOK(res2)) {
8866 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8867 }
8868 if (!argp2) {
8869 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8870 }
8871 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8872 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8873 if (!SWIG_IsOK(res3)) {
8874 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8875 }
8876 {
8877 PyThreadState* __tstate = wxPyBeginAllowThreads();
8878 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8879 wxPyEndAllowThreads(__tstate);
8880 if (PyErr_Occurred()) SWIG_fail;
8881 }
8882 resultobj = result;
8883 return resultobj;
8884 fail:
8885 return NULL;
8886 }
8887
8888
8889 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8890 PyObject *resultobj = 0;
8891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8892 wxTreeItemId *arg2 = 0 ;
8893 PyObject *result = 0 ;
8894 void *argp1 = 0 ;
8895 int res1 = 0 ;
8896 void *argp2 = 0 ;
8897 int res2 = 0 ;
8898 PyObject * obj0 = 0 ;
8899 PyObject * obj1 = 0 ;
8900 char * kwnames[] = {
8901 (char *) "self",(char *) "item", NULL
8902 };
8903
8904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8906 if (!SWIG_IsOK(res1)) {
8907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8908 }
8909 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8910 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8911 if (!SWIG_IsOK(res2)) {
8912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8913 }
8914 if (!argp2) {
8915 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8916 }
8917 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8918 {
8919 PyThreadState* __tstate = wxPyBeginAllowThreads();
8920 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8921 wxPyEndAllowThreads(__tstate);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 }
8924 resultobj = result;
8925 return resultobj;
8926 fail:
8927 return NULL;
8928 }
8929
8930
8931 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8932 PyObject *resultobj = 0;
8933 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8934 wxTreeItemId *arg2 = 0 ;
8935 void *arg3 = (void *) 0 ;
8936 PyObject *result = 0 ;
8937 void *argp1 = 0 ;
8938 int res1 = 0 ;
8939 void *argp2 = 0 ;
8940 int res2 = 0 ;
8941 int res3 ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 PyObject * obj2 = 0 ;
8945 char * kwnames[] = {
8946 (char *) "self",(char *) "item",(char *) "cookie", NULL
8947 };
8948
8949 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8950 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8951 if (!SWIG_IsOK(res1)) {
8952 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8953 }
8954 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8955 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8956 if (!SWIG_IsOK(res2)) {
8957 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8958 }
8959 if (!argp2) {
8960 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8961 }
8962 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8963 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8964 if (!SWIG_IsOK(res3)) {
8965 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8966 }
8967 {
8968 PyThreadState* __tstate = wxPyBeginAllowThreads();
8969 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = result;
8974 return resultobj;
8975 fail:
8976 return NULL;
8977 }
8978
8979
8980 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj = 0;
8982 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8983 wxTreeItemId *arg2 = 0 ;
8984 wxTreeItemId result;
8985 void *argp1 = 0 ;
8986 int res1 = 0 ;
8987 void *argp2 = 0 ;
8988 int res2 = 0 ;
8989 PyObject * obj0 = 0 ;
8990 PyObject * obj1 = 0 ;
8991 char * kwnames[] = {
8992 (char *) "self",(char *) "item", NULL
8993 };
8994
8995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8997 if (!SWIG_IsOK(res1)) {
8998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8999 }
9000 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9001 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9002 if (!SWIG_IsOK(res2)) {
9003 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9004 }
9005 if (!argp2) {
9006 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9007 }
9008 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9012 wxPyEndAllowThreads(__tstate);
9013 if (PyErr_Occurred()) SWIG_fail;
9014 }
9015 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9016 return resultobj;
9017 fail:
9018 return NULL;
9019 }
9020
9021
9022 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9023 PyObject *resultobj = 0;
9024 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9025 wxTreeItemId *arg2 = 0 ;
9026 wxTreeItemId result;
9027 void *argp1 = 0 ;
9028 int res1 = 0 ;
9029 void *argp2 = 0 ;
9030 int res2 = 0 ;
9031 PyObject * obj0 = 0 ;
9032 PyObject * obj1 = 0 ;
9033 char * kwnames[] = {
9034 (char *) "self",(char *) "item", NULL
9035 };
9036
9037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9039 if (!SWIG_IsOK(res1)) {
9040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9041 }
9042 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9044 if (!SWIG_IsOK(res2)) {
9045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9046 }
9047 if (!argp2) {
9048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9049 }
9050 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9051 {
9052 PyThreadState* __tstate = wxPyBeginAllowThreads();
9053 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9058 return resultobj;
9059 fail:
9060 return NULL;
9061 }
9062
9063
9064 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj = 0;
9066 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9067 wxTreeItemId *arg2 = 0 ;
9068 wxTreeItemId result;
9069 void *argp1 = 0 ;
9070 int res1 = 0 ;
9071 void *argp2 = 0 ;
9072 int res2 = 0 ;
9073 PyObject * obj0 = 0 ;
9074 PyObject * obj1 = 0 ;
9075 char * kwnames[] = {
9076 (char *) "self",(char *) "item", NULL
9077 };
9078
9079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9081 if (!SWIG_IsOK(res1)) {
9082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9083 }
9084 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9085 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9086 if (!SWIG_IsOK(res2)) {
9087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9088 }
9089 if (!argp2) {
9090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9091 }
9092 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9100 return resultobj;
9101 fail:
9102 return NULL;
9103 }
9104
9105
9106 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9107 PyObject *resultobj = 0;
9108 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9109 wxTreeItemId *arg2 = 0 ;
9110 wxTreeItemId result;
9111 void *argp1 = 0 ;
9112 int res1 = 0 ;
9113 void *argp2 = 0 ;
9114 int res2 = 0 ;
9115 PyObject * obj0 = 0 ;
9116 PyObject * obj1 = 0 ;
9117 char * kwnames[] = {
9118 (char *) "self",(char *) "item", NULL
9119 };
9120
9121 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
9122 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9123 if (!SWIG_IsOK(res1)) {
9124 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9125 }
9126 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9127 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9128 if (!SWIG_IsOK(res2)) {
9129 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9130 }
9131 if (!argp2) {
9132 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9133 }
9134 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9135 {
9136 PyThreadState* __tstate = wxPyBeginAllowThreads();
9137 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9142 return resultobj;
9143 fail:
9144 return NULL;
9145 }
9146
9147
9148 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9149 PyObject *resultobj = 0;
9150 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9151 wxTreeItemId result;
9152 void *argp1 = 0 ;
9153 int res1 = 0 ;
9154 PyObject *swig_obj[1] ;
9155
9156 if (!args) SWIG_fail;
9157 swig_obj[0] = args;
9158 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9159 if (!SWIG_IsOK(res1)) {
9160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9161 }
9162 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
9166 wxPyEndAllowThreads(__tstate);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 }
9169 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9170 return resultobj;
9171 fail:
9172 return NULL;
9173 }
9174
9175
9176 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9177 PyObject *resultobj = 0;
9178 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9179 wxTreeItemId *arg2 = 0 ;
9180 wxTreeItemId result;
9181 void *argp1 = 0 ;
9182 int res1 = 0 ;
9183 void *argp2 = 0 ;
9184 int res2 = 0 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char * kwnames[] = {
9188 (char *) "self",(char *) "item", NULL
9189 };
9190
9191 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9192 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9193 if (!SWIG_IsOK(res1)) {
9194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9195 }
9196 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9197 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9198 if (!SWIG_IsOK(res2)) {
9199 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9200 }
9201 if (!argp2) {
9202 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9203 }
9204 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9205 {
9206 PyThreadState* __tstate = wxPyBeginAllowThreads();
9207 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9212 return resultobj;
9213 fail:
9214 return NULL;
9215 }
9216
9217
9218 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj = 0;
9220 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9221 wxTreeItemId *arg2 = 0 ;
9222 wxTreeItemId result;
9223 void *argp1 = 0 ;
9224 int res1 = 0 ;
9225 void *argp2 = 0 ;
9226 int res2 = 0 ;
9227 PyObject * obj0 = 0 ;
9228 PyObject * obj1 = 0 ;
9229 char * kwnames[] = {
9230 (char *) "self",(char *) "item", NULL
9231 };
9232
9233 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9234 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9235 if (!SWIG_IsOK(res1)) {
9236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9237 }
9238 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9239 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9240 if (!SWIG_IsOK(res2)) {
9241 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9242 }
9243 if (!argp2) {
9244 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9245 }
9246 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
9250 wxPyEndAllowThreads(__tstate);
9251 if (PyErr_Occurred()) SWIG_fail;
9252 }
9253 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9254 return resultobj;
9255 fail:
9256 return NULL;
9257 }
9258
9259
9260 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9261 PyObject *resultobj = 0;
9262 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9263 bool arg2 = (bool) false ;
9264 wxTreeItemId result;
9265 void *argp1 = 0 ;
9266 int res1 = 0 ;
9267 bool val2 ;
9268 int ecode2 = 0 ;
9269 PyObject * obj0 = 0 ;
9270 PyObject * obj1 = 0 ;
9271 char * kwnames[] = {
9272 (char *) "self",(char *) "fullRow", NULL
9273 };
9274
9275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
9276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9277 if (!SWIG_IsOK(res1)) {
9278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9279 }
9280 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9281 if (obj1) {
9282 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9283 if (!SWIG_IsOK(ecode2)) {
9284 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9285 }
9286 arg2 = static_cast< bool >(val2);
9287 }
9288 {
9289 PyThreadState* __tstate = wxPyBeginAllowThreads();
9290 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
9291 wxPyEndAllowThreads(__tstate);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9295 return resultobj;
9296 fail:
9297 return NULL;
9298 }
9299
9300
9301 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj = 0;
9303 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9304 wxTreeItemId *arg2 = 0 ;
9305 bool arg3 = (bool) false ;
9306 wxTreeItemId result;
9307 void *argp1 = 0 ;
9308 int res1 = 0 ;
9309 void *argp2 = 0 ;
9310 int res2 = 0 ;
9311 bool val3 ;
9312 int ecode3 = 0 ;
9313 PyObject * obj0 = 0 ;
9314 PyObject * obj1 = 0 ;
9315 PyObject * obj2 = 0 ;
9316 char * kwnames[] = {
9317 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9318 };
9319
9320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9322 if (!SWIG_IsOK(res1)) {
9323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9324 }
9325 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9326 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9327 if (!SWIG_IsOK(res2)) {
9328 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9329 }
9330 if (!argp2) {
9331 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9332 }
9333 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9334 if (obj2) {
9335 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9336 if (!SWIG_IsOK(ecode3)) {
9337 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9338 }
9339 arg3 = static_cast< bool >(val3);
9340 }
9341 {
9342 PyThreadState* __tstate = wxPyBeginAllowThreads();
9343 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
9344 wxPyEndAllowThreads(__tstate);
9345 if (PyErr_Occurred()) SWIG_fail;
9346 }
9347 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9348 return resultobj;
9349 fail:
9350 return NULL;
9351 }
9352
9353
9354 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj = 0;
9356 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9357 wxTreeItemId *arg2 = 0 ;
9358 bool arg3 = (bool) false ;
9359 wxTreeItemId result;
9360 void *argp1 = 0 ;
9361 int res1 = 0 ;
9362 void *argp2 = 0 ;
9363 int res2 = 0 ;
9364 bool val3 ;
9365 int ecode3 = 0 ;
9366 PyObject * obj0 = 0 ;
9367 PyObject * obj1 = 0 ;
9368 PyObject * obj2 = 0 ;
9369 char * kwnames[] = {
9370 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9371 };
9372
9373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9375 if (!SWIG_IsOK(res1)) {
9376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9377 }
9378 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9379 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9380 if (!SWIG_IsOK(res2)) {
9381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9382 }
9383 if (!argp2) {
9384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9385 }
9386 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9387 if (obj2) {
9388 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9389 if (!SWIG_IsOK(ecode3)) {
9390 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9391 }
9392 arg3 = static_cast< bool >(val3);
9393 }
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
9397 wxPyEndAllowThreads(__tstate);
9398 if (PyErr_Occurred()) SWIG_fail;
9399 }
9400 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9401 return resultobj;
9402 fail:
9403 return NULL;
9404 }
9405
9406
9407 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9408 PyObject *resultobj = 0;
9409 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9410 wxString *arg2 = 0 ;
9411 int arg3 = (int) -1 ;
9412 int arg4 = (int) -1 ;
9413 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9414 wxTreeItemId result;
9415 void *argp1 = 0 ;
9416 int res1 = 0 ;
9417 bool temp2 = false ;
9418 int val3 ;
9419 int ecode3 = 0 ;
9420 int val4 ;
9421 int ecode4 = 0 ;
9422 int res5 = 0 ;
9423 PyObject * obj0 = 0 ;
9424 PyObject * obj1 = 0 ;
9425 PyObject * obj2 = 0 ;
9426 PyObject * obj3 = 0 ;
9427 PyObject * obj4 = 0 ;
9428 char * kwnames[] = {
9429 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9430 };
9431
9432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9434 if (!SWIG_IsOK(res1)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9436 }
9437 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9438 {
9439 arg2 = wxString_in_helper(obj1);
9440 if (arg2 == NULL) SWIG_fail;
9441 temp2 = true;
9442 }
9443 if (obj2) {
9444 ecode3 = SWIG_AsVal_int(obj2, &val3);
9445 if (!SWIG_IsOK(ecode3)) {
9446 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9447 }
9448 arg3 = static_cast< int >(val3);
9449 }
9450 if (obj3) {
9451 ecode4 = SWIG_AsVal_int(obj3, &val4);
9452 if (!SWIG_IsOK(ecode4)) {
9453 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9454 }
9455 arg4 = static_cast< int >(val4);
9456 }
9457 if (obj4) {
9458 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9459 if (!SWIG_IsOK(res5)) {
9460 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9461 }
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9470 {
9471 if (temp2)
9472 delete arg2;
9473 }
9474 return resultobj;
9475 fail:
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 return NULL;
9481 }
9482
9483
9484 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj = 0;
9486 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9487 wxTreeItemId *arg2 = 0 ;
9488 wxString *arg3 = 0 ;
9489 int arg4 = (int) -1 ;
9490 int arg5 = (int) -1 ;
9491 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9492 wxTreeItemId result;
9493 void *argp1 = 0 ;
9494 int res1 = 0 ;
9495 void *argp2 = 0 ;
9496 int res2 = 0 ;
9497 bool temp3 = false ;
9498 int val4 ;
9499 int ecode4 = 0 ;
9500 int val5 ;
9501 int ecode5 = 0 ;
9502 int res6 = 0 ;
9503 PyObject * obj0 = 0 ;
9504 PyObject * obj1 = 0 ;
9505 PyObject * obj2 = 0 ;
9506 PyObject * obj3 = 0 ;
9507 PyObject * obj4 = 0 ;
9508 PyObject * obj5 = 0 ;
9509 char * kwnames[] = {
9510 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9511 };
9512
9513 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9514 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9515 if (!SWIG_IsOK(res1)) {
9516 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9517 }
9518 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9519 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9520 if (!SWIG_IsOK(res2)) {
9521 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9522 }
9523 if (!argp2) {
9524 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9525 }
9526 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9527 {
9528 arg3 = wxString_in_helper(obj2);
9529 if (arg3 == NULL) SWIG_fail;
9530 temp3 = true;
9531 }
9532 if (obj3) {
9533 ecode4 = SWIG_AsVal_int(obj3, &val4);
9534 if (!SWIG_IsOK(ecode4)) {
9535 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9536 }
9537 arg4 = static_cast< int >(val4);
9538 }
9539 if (obj4) {
9540 ecode5 = SWIG_AsVal_int(obj4, &val5);
9541 if (!SWIG_IsOK(ecode5)) {
9542 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9543 }
9544 arg5 = static_cast< int >(val5);
9545 }
9546 if (obj5) {
9547 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9548 if (!SWIG_IsOK(res6)) {
9549 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9550 }
9551 }
9552 {
9553 PyThreadState* __tstate = wxPyBeginAllowThreads();
9554 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9559 {
9560 if (temp3)
9561 delete arg3;
9562 }
9563 return resultobj;
9564 fail:
9565 {
9566 if (temp3)
9567 delete arg3;
9568 }
9569 return NULL;
9570 }
9571
9572
9573 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj = 0;
9575 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9576 wxTreeItemId *arg2 = 0 ;
9577 wxTreeItemId *arg3 = 0 ;
9578 wxString *arg4 = 0 ;
9579 int arg5 = (int) -1 ;
9580 int arg6 = (int) -1 ;
9581 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9582 wxTreeItemId result;
9583 void *argp1 = 0 ;
9584 int res1 = 0 ;
9585 void *argp2 = 0 ;
9586 int res2 = 0 ;
9587 void *argp3 = 0 ;
9588 int res3 = 0 ;
9589 bool temp4 = false ;
9590 int val5 ;
9591 int ecode5 = 0 ;
9592 int val6 ;
9593 int ecode6 = 0 ;
9594 int res7 = 0 ;
9595 PyObject * obj0 = 0 ;
9596 PyObject * obj1 = 0 ;
9597 PyObject * obj2 = 0 ;
9598 PyObject * obj3 = 0 ;
9599 PyObject * obj4 = 0 ;
9600 PyObject * obj5 = 0 ;
9601 PyObject * obj6 = 0 ;
9602 char * kwnames[] = {
9603 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9604 };
9605
9606 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9607 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9608 if (!SWIG_IsOK(res1)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9610 }
9611 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9612 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9613 if (!SWIG_IsOK(res2)) {
9614 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9615 }
9616 if (!argp2) {
9617 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9618 }
9619 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9620 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9621 if (!SWIG_IsOK(res3)) {
9622 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9623 }
9624 if (!argp3) {
9625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9626 }
9627 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9628 {
9629 arg4 = wxString_in_helper(obj3);
9630 if (arg4 == NULL) SWIG_fail;
9631 temp4 = true;
9632 }
9633 if (obj4) {
9634 ecode5 = SWIG_AsVal_int(obj4, &val5);
9635 if (!SWIG_IsOK(ecode5)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9637 }
9638 arg5 = static_cast< int >(val5);
9639 }
9640 if (obj5) {
9641 ecode6 = SWIG_AsVal_int(obj5, &val6);
9642 if (!SWIG_IsOK(ecode6)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9644 }
9645 arg6 = static_cast< int >(val6);
9646 }
9647 if (obj6) {
9648 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9649 if (!SWIG_IsOK(res7)) {
9650 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9651 }
9652 }
9653 {
9654 PyThreadState* __tstate = wxPyBeginAllowThreads();
9655 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9656 wxPyEndAllowThreads(__tstate);
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9660 {
9661 if (temp4)
9662 delete arg4;
9663 }
9664 return resultobj;
9665 fail:
9666 {
9667 if (temp4)
9668 delete arg4;
9669 }
9670 return NULL;
9671 }
9672
9673
9674 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9675 PyObject *resultobj = 0;
9676 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9677 wxTreeItemId *arg2 = 0 ;
9678 size_t arg3 ;
9679 wxString *arg4 = 0 ;
9680 int arg5 = (int) -1 ;
9681 int arg6 = (int) -1 ;
9682 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9683 wxTreeItemId result;
9684 void *argp1 = 0 ;
9685 int res1 = 0 ;
9686 void *argp2 = 0 ;
9687 int res2 = 0 ;
9688 size_t val3 ;
9689 int ecode3 = 0 ;
9690 bool temp4 = false ;
9691 int val5 ;
9692 int ecode5 = 0 ;
9693 int val6 ;
9694 int ecode6 = 0 ;
9695 int res7 = 0 ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj1 = 0 ;
9698 PyObject * obj2 = 0 ;
9699 PyObject * obj3 = 0 ;
9700 PyObject * obj4 = 0 ;
9701 PyObject * obj5 = 0 ;
9702 PyObject * obj6 = 0 ;
9703 char * kwnames[] = {
9704 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9705 };
9706
9707 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9708 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9709 if (!SWIG_IsOK(res1)) {
9710 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9711 }
9712 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9713 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9714 if (!SWIG_IsOK(res2)) {
9715 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9716 }
9717 if (!argp2) {
9718 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9719 }
9720 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9721 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9722 if (!SWIG_IsOK(ecode3)) {
9723 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9724 }
9725 arg3 = static_cast< size_t >(val3);
9726 {
9727 arg4 = wxString_in_helper(obj3);
9728 if (arg4 == NULL) SWIG_fail;
9729 temp4 = true;
9730 }
9731 if (obj4) {
9732 ecode5 = SWIG_AsVal_int(obj4, &val5);
9733 if (!SWIG_IsOK(ecode5)) {
9734 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9735 }
9736 arg5 = static_cast< int >(val5);
9737 }
9738 if (obj5) {
9739 ecode6 = SWIG_AsVal_int(obj5, &val6);
9740 if (!SWIG_IsOK(ecode6)) {
9741 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9742 }
9743 arg6 = static_cast< int >(val6);
9744 }
9745 if (obj6) {
9746 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9747 if (!SWIG_IsOK(res7)) {
9748 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9749 }
9750 }
9751 {
9752 PyThreadState* __tstate = wxPyBeginAllowThreads();
9753 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9758 {
9759 if (temp4)
9760 delete arg4;
9761 }
9762 return resultobj;
9763 fail:
9764 {
9765 if (temp4)
9766 delete arg4;
9767 }
9768 return NULL;
9769 }
9770
9771
9772 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj = 0;
9774 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9775 wxTreeItemId *arg2 = 0 ;
9776 wxString *arg3 = 0 ;
9777 int arg4 = (int) -1 ;
9778 int arg5 = (int) -1 ;
9779 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9780 wxTreeItemId result;
9781 void *argp1 = 0 ;
9782 int res1 = 0 ;
9783 void *argp2 = 0 ;
9784 int res2 = 0 ;
9785 bool temp3 = false ;
9786 int val4 ;
9787 int ecode4 = 0 ;
9788 int val5 ;
9789 int ecode5 = 0 ;
9790 int res6 = 0 ;
9791 PyObject * obj0 = 0 ;
9792 PyObject * obj1 = 0 ;
9793 PyObject * obj2 = 0 ;
9794 PyObject * obj3 = 0 ;
9795 PyObject * obj4 = 0 ;
9796 PyObject * obj5 = 0 ;
9797 char * kwnames[] = {
9798 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9799 };
9800
9801 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9802 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9803 if (!SWIG_IsOK(res1)) {
9804 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9805 }
9806 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9807 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9808 if (!SWIG_IsOK(res2)) {
9809 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9810 }
9811 if (!argp2) {
9812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9813 }
9814 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9815 {
9816 arg3 = wxString_in_helper(obj2);
9817 if (arg3 == NULL) SWIG_fail;
9818 temp3 = true;
9819 }
9820 if (obj3) {
9821 ecode4 = SWIG_AsVal_int(obj3, &val4);
9822 if (!SWIG_IsOK(ecode4)) {
9823 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9824 }
9825 arg4 = static_cast< int >(val4);
9826 }
9827 if (obj4) {
9828 ecode5 = SWIG_AsVal_int(obj4, &val5);
9829 if (!SWIG_IsOK(ecode5)) {
9830 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9831 }
9832 arg5 = static_cast< int >(val5);
9833 }
9834 if (obj5) {
9835 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9836 if (!SWIG_IsOK(res6)) {
9837 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9838 }
9839 }
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9843 wxPyEndAllowThreads(__tstate);
9844 if (PyErr_Occurred()) SWIG_fail;
9845 }
9846 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9847 {
9848 if (temp3)
9849 delete arg3;
9850 }
9851 return resultobj;
9852 fail:
9853 {
9854 if (temp3)
9855 delete arg3;
9856 }
9857 return NULL;
9858 }
9859
9860
9861 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj = 0;
9863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9864 wxTreeItemId *arg2 = 0 ;
9865 void *argp1 = 0 ;
9866 int res1 = 0 ;
9867 void *argp2 = 0 ;
9868 int res2 = 0 ;
9869 PyObject * obj0 = 0 ;
9870 PyObject * obj1 = 0 ;
9871 char * kwnames[] = {
9872 (char *) "self",(char *) "item", NULL
9873 };
9874
9875 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9876 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9877 if (!SWIG_IsOK(res1)) {
9878 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9879 }
9880 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9881 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9882 if (!SWIG_IsOK(res2)) {
9883 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9884 }
9885 if (!argp2) {
9886 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9887 }
9888 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9889 {
9890 PyThreadState* __tstate = wxPyBeginAllowThreads();
9891 (arg1)->Delete((wxTreeItemId const &)*arg2);
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 resultobj = SWIG_Py_Void();
9896 return resultobj;
9897 fail:
9898 return NULL;
9899 }
9900
9901
9902 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj = 0;
9904 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9905 wxTreeItemId *arg2 = 0 ;
9906 void *argp1 = 0 ;
9907 int res1 = 0 ;
9908 void *argp2 = 0 ;
9909 int res2 = 0 ;
9910 PyObject * obj0 = 0 ;
9911 PyObject * obj1 = 0 ;
9912 char * kwnames[] = {
9913 (char *) "self",(char *) "item", NULL
9914 };
9915
9916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9918 if (!SWIG_IsOK(res1)) {
9919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9920 }
9921 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9922 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9923 if (!SWIG_IsOK(res2)) {
9924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9925 }
9926 if (!argp2) {
9927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9928 }
9929 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9930 {
9931 PyThreadState* __tstate = wxPyBeginAllowThreads();
9932 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9933 wxPyEndAllowThreads(__tstate);
9934 if (PyErr_Occurred()) SWIG_fail;
9935 }
9936 resultobj = SWIG_Py_Void();
9937 return resultobj;
9938 fail:
9939 return NULL;
9940 }
9941
9942
9943 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9944 PyObject *resultobj = 0;
9945 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9946 void *argp1 = 0 ;
9947 int res1 = 0 ;
9948 PyObject *swig_obj[1] ;
9949
9950 if (!args) SWIG_fail;
9951 swig_obj[0] = args;
9952 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9953 if (!SWIG_IsOK(res1)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9955 }
9956 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9957 {
9958 PyThreadState* __tstate = wxPyBeginAllowThreads();
9959 (arg1)->DeleteRoot();
9960 wxPyEndAllowThreads(__tstate);
9961 if (PyErr_Occurred()) SWIG_fail;
9962 }
9963 resultobj = SWIG_Py_Void();
9964 return resultobj;
9965 fail:
9966 return NULL;
9967 }
9968
9969
9970 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj = 0;
9972 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9973 wxTreeItemId *arg2 = 0 ;
9974 void *argp1 = 0 ;
9975 int res1 = 0 ;
9976 void *argp2 = 0 ;
9977 int res2 = 0 ;
9978 PyObject * obj0 = 0 ;
9979 PyObject * obj1 = 0 ;
9980 char * kwnames[] = {
9981 (char *) "self",(char *) "item", NULL
9982 };
9983
9984 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9985 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9986 if (!SWIG_IsOK(res1)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9988 }
9989 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9990 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9991 if (!SWIG_IsOK(res2)) {
9992 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9993 }
9994 if (!argp2) {
9995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9996 }
9997 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 (arg1)->Expand((wxTreeItemId const &)*arg2);
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 resultobj = SWIG_Py_Void();
10005 return resultobj;
10006 fail:
10007 return NULL;
10008 }
10009
10010
10011 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10012 PyObject *resultobj = 0;
10013 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10014 wxTreeItemId *arg2 = 0 ;
10015 void *argp1 = 0 ;
10016 int res1 = 0 ;
10017 void *argp2 = 0 ;
10018 int res2 = 0 ;
10019 PyObject * obj0 = 0 ;
10020 PyObject * obj1 = 0 ;
10021 char * kwnames[] = {
10022 (char *) "self",(char *) "item", NULL
10023 };
10024
10025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10027 if (!SWIG_IsOK(res1)) {
10028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10029 }
10030 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10031 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10032 if (!SWIG_IsOK(res2)) {
10033 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10034 }
10035 if (!argp2) {
10036 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10037 }
10038 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10039 {
10040 PyThreadState* __tstate = wxPyBeginAllowThreads();
10041 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10042 wxPyEndAllowThreads(__tstate);
10043 if (PyErr_Occurred()) SWIG_fail;
10044 }
10045 resultobj = SWIG_Py_Void();
10046 return resultobj;
10047 fail:
10048 return NULL;
10049 }
10050
10051
10052 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10053 PyObject *resultobj = 0;
10054 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10055 wxTreeItemId *arg2 = 0 ;
10056 void *argp1 = 0 ;
10057 int res1 = 0 ;
10058 void *argp2 = 0 ;
10059 int res2 = 0 ;
10060 PyObject * obj0 = 0 ;
10061 PyObject * obj1 = 0 ;
10062 char * kwnames[] = {
10063 (char *) "self",(char *) "item", NULL
10064 };
10065
10066 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10067 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10068 if (!SWIG_IsOK(res1)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10070 }
10071 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10072 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10073 if (!SWIG_IsOK(res2)) {
10074 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10075 }
10076 if (!argp2) {
10077 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10078 }
10079 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10083 wxPyEndAllowThreads(__tstate);
10084 if (PyErr_Occurred()) SWIG_fail;
10085 }
10086 resultobj = SWIG_Py_Void();
10087 return resultobj;
10088 fail:
10089 return NULL;
10090 }
10091
10092
10093 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10094 PyObject *resultobj = 0;
10095 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10096 wxTreeItemId *arg2 = 0 ;
10097 void *argp1 = 0 ;
10098 int res1 = 0 ;
10099 void *argp2 = 0 ;
10100 int res2 = 0 ;
10101 PyObject * obj0 = 0 ;
10102 PyObject * obj1 = 0 ;
10103 char * kwnames[] = {
10104 (char *) "self",(char *) "item", NULL
10105 };
10106
10107 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10108 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10109 if (!SWIG_IsOK(res1)) {
10110 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10111 }
10112 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10113 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10114 if (!SWIG_IsOK(res2)) {
10115 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10116 }
10117 if (!argp2) {
10118 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10119 }
10120 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10121 {
10122 PyThreadState* __tstate = wxPyBeginAllowThreads();
10123 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10124 wxPyEndAllowThreads(__tstate);
10125 if (PyErr_Occurred()) SWIG_fail;
10126 }
10127 resultobj = SWIG_Py_Void();
10128 return resultobj;
10129 fail:
10130 return NULL;
10131 }
10132
10133
10134 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10135 PyObject *resultobj = 0;
10136 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10137 wxTreeItemId *arg2 = 0 ;
10138 void *argp1 = 0 ;
10139 int res1 = 0 ;
10140 void *argp2 = 0 ;
10141 int res2 = 0 ;
10142 PyObject * obj0 = 0 ;
10143 PyObject * obj1 = 0 ;
10144 char * kwnames[] = {
10145 (char *) "self",(char *) "item", NULL
10146 };
10147
10148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10150 if (!SWIG_IsOK(res1)) {
10151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10152 }
10153 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10154 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10155 if (!SWIG_IsOK(res2)) {
10156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10157 }
10158 if (!argp2) {
10159 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10160 }
10161 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10162 {
10163 PyThreadState* __tstate = wxPyBeginAllowThreads();
10164 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_Py_Void();
10169 return resultobj;
10170 fail:
10171 return NULL;
10172 }
10173
10174
10175 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10176 PyObject *resultobj = 0;
10177 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10178 void *argp1 = 0 ;
10179 int res1 = 0 ;
10180 PyObject *swig_obj[1] ;
10181
10182 if (!args) SWIG_fail;
10183 swig_obj[0] = args;
10184 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10185 if (!SWIG_IsOK(res1)) {
10186 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10187 }
10188 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10189 {
10190 PyThreadState* __tstate = wxPyBeginAllowThreads();
10191 (arg1)->Unselect();
10192 wxPyEndAllowThreads(__tstate);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 resultobj = SWIG_Py_Void();
10196 return resultobj;
10197 fail:
10198 return NULL;
10199 }
10200
10201
10202 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10203 PyObject *resultobj = 0;
10204 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10205 void *argp1 = 0 ;
10206 int res1 = 0 ;
10207 PyObject *swig_obj[1] ;
10208
10209 if (!args) SWIG_fail;
10210 swig_obj[0] = args;
10211 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10212 if (!SWIG_IsOK(res1)) {
10213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10214 }
10215 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->UnselectAll();
10219 wxPyEndAllowThreads(__tstate);
10220 if (PyErr_Occurred()) SWIG_fail;
10221 }
10222 resultobj = SWIG_Py_Void();
10223 return resultobj;
10224 fail:
10225 return NULL;
10226 }
10227
10228
10229 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj = 0;
10231 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10232 wxTreeItemId *arg2 = 0 ;
10233 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10234 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10235 bool arg4 = (bool) true ;
10236 void *argp1 = 0 ;
10237 int res1 = 0 ;
10238 void *argp2 = 0 ;
10239 int res2 = 0 ;
10240 void *argp3 = 0 ;
10241 int res3 = 0 ;
10242 bool val4 ;
10243 int ecode4 = 0 ;
10244 PyObject * obj0 = 0 ;
10245 PyObject * obj1 = 0 ;
10246 PyObject * obj2 = 0 ;
10247 PyObject * obj3 = 0 ;
10248 char * kwnames[] = {
10249 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10250 };
10251
10252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10254 if (!SWIG_IsOK(res1)) {
10255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10256 }
10257 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10258 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10259 if (!SWIG_IsOK(res2)) {
10260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10261 }
10262 if (!argp2) {
10263 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10264 }
10265 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10266 if (obj2) {
10267 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10268 if (!SWIG_IsOK(res3)) {
10269 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10270 }
10271 if (!argp3) {
10272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10273 }
10274 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
10275 }
10276 if (obj3) {
10277 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10278 if (!SWIG_IsOK(ecode4)) {
10279 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10280 }
10281 arg4 = static_cast< bool >(val4);
10282 }
10283 {
10284 PyThreadState* __tstate = wxPyBeginAllowThreads();
10285 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
10286 wxPyEndAllowThreads(__tstate);
10287 if (PyErr_Occurred()) SWIG_fail;
10288 }
10289 resultobj = SWIG_Py_Void();
10290 return resultobj;
10291 fail:
10292 return NULL;
10293 }
10294
10295
10296 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10297 PyObject *resultobj = 0;
10298 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10299 void *argp1 = 0 ;
10300 int res1 = 0 ;
10301 PyObject *swig_obj[1] ;
10302
10303 if (!args) SWIG_fail;
10304 swig_obj[0] = args;
10305 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10306 if (!SWIG_IsOK(res1)) {
10307 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10308 }
10309 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 (arg1)->SelectAll();
10313 wxPyEndAllowThreads(__tstate);
10314 if (PyErr_Occurred()) SWIG_fail;
10315 }
10316 resultobj = SWIG_Py_Void();
10317 return resultobj;
10318 fail:
10319 return NULL;
10320 }
10321
10322
10323 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10324 PyObject *resultobj = 0;
10325 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10326 wxTreeItemId *arg2 = 0 ;
10327 void *argp1 = 0 ;
10328 int res1 = 0 ;
10329 void *argp2 = 0 ;
10330 int res2 = 0 ;
10331 PyObject * obj0 = 0 ;
10332 PyObject * obj1 = 0 ;
10333 char * kwnames[] = {
10334 (char *) "self",(char *) "item", NULL
10335 };
10336
10337 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10338 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10339 if (!SWIG_IsOK(res1)) {
10340 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10341 }
10342 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10343 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10344 if (!SWIG_IsOK(res2)) {
10345 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10346 }
10347 if (!argp2) {
10348 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10349 }
10350 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10354 wxPyEndAllowThreads(__tstate);
10355 if (PyErr_Occurred()) SWIG_fail;
10356 }
10357 resultobj = SWIG_Py_Void();
10358 return resultobj;
10359 fail:
10360 return NULL;
10361 }
10362
10363
10364 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10365 PyObject *resultobj = 0;
10366 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10367 wxTreeItemId *arg2 = 0 ;
10368 void *argp1 = 0 ;
10369 int res1 = 0 ;
10370 void *argp2 = 0 ;
10371 int res2 = 0 ;
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char * kwnames[] = {
10375 (char *) "self",(char *) "item", NULL
10376 };
10377
10378 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10379 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10380 if (!SWIG_IsOK(res1)) {
10381 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10382 }
10383 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10384 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10385 if (!SWIG_IsOK(res2)) {
10386 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10387 }
10388 if (!argp2) {
10389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10390 }
10391 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10395 wxPyEndAllowThreads(__tstate);
10396 if (PyErr_Occurred()) SWIG_fail;
10397 }
10398 resultobj = SWIG_Py_Void();
10399 return resultobj;
10400 fail:
10401 return NULL;
10402 }
10403
10404
10405 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10406 PyObject *resultobj = 0;
10407 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10408 wxPoint *arg2 = 0 ;
10409 int *arg3 = 0 ;
10410 int *arg4 = 0 ;
10411 wxTreeItemId result;
10412 void *argp1 = 0 ;
10413 int res1 = 0 ;
10414 wxPoint temp2 ;
10415 int temp3 ;
10416 int res3 = SWIG_TMPOBJ ;
10417 int temp4 ;
10418 int res4 = SWIG_TMPOBJ ;
10419 PyObject * obj0 = 0 ;
10420 PyObject * obj1 = 0 ;
10421 char * kwnames[] = {
10422 (char *) "self",(char *) "point", NULL
10423 };
10424
10425 arg3 = &temp3;
10426 arg4 = &temp4;
10427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10429 if (!SWIG_IsOK(res1)) {
10430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10431 }
10432 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10433 {
10434 arg2 = &temp2;
10435 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10436 }
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10444 if (SWIG_IsTmpObj(res3)) {
10445 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10446 } else {
10447 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10448 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10449 }
10450 if (SWIG_IsTmpObj(res4)) {
10451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10452 } else {
10453 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10455 }
10456 return resultobj;
10457 fail:
10458 return NULL;
10459 }
10460
10461
10462 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10463 PyObject *resultobj = 0;
10464 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10465 wxTreeItemId *arg2 = 0 ;
10466 bool arg3 = (bool) false ;
10467 PyObject *result = 0 ;
10468 void *argp1 = 0 ;
10469 int res1 = 0 ;
10470 void *argp2 = 0 ;
10471 int res2 = 0 ;
10472 bool val3 ;
10473 int ecode3 = 0 ;
10474 PyObject * obj0 = 0 ;
10475 PyObject * obj1 = 0 ;
10476 PyObject * obj2 = 0 ;
10477 char * kwnames[] = {
10478 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10479 };
10480
10481 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10482 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10483 if (!SWIG_IsOK(res1)) {
10484 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10485 }
10486 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10487 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10488 if (!SWIG_IsOK(res2)) {
10489 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10490 }
10491 if (!argp2) {
10492 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10493 }
10494 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10495 if (obj2) {
10496 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10497 if (!SWIG_IsOK(ecode3)) {
10498 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10499 }
10500 arg3 = static_cast< bool >(val3);
10501 }
10502 {
10503 PyThreadState* __tstate = wxPyBeginAllowThreads();
10504 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = result;
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj = 0;
10517 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10518 wxTreeItemId *arg2 = 0 ;
10519 int arg3 = (int) -1 ;
10520 void *argp1 = 0 ;
10521 int res1 = 0 ;
10522 void *argp2 = 0 ;
10523 int res2 = 0 ;
10524 int val3 ;
10525 int ecode3 = 0 ;
10526 PyObject * obj0 = 0 ;
10527 PyObject * obj1 = 0 ;
10528 PyObject * obj2 = 0 ;
10529 char * kwnames[] = {
10530 (char *) "self",(char *) "item",(char *) "column", NULL
10531 };
10532
10533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10535 if (!SWIG_IsOK(res1)) {
10536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10537 }
10538 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10539 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10540 if (!SWIG_IsOK(res2)) {
10541 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10542 }
10543 if (!argp2) {
10544 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10545 }
10546 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10547 if (obj2) {
10548 ecode3 = SWIG_AsVal_int(obj2, &val3);
10549 if (!SWIG_IsOK(ecode3)) {
10550 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10551 }
10552 arg3 = static_cast< int >(val3);
10553 }
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
10557 wxPyEndAllowThreads(__tstate);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 }
10560 resultobj = SWIG_Py_Void();
10561 return resultobj;
10562 fail:
10563 return NULL;
10564 }
10565
10566
10567 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10568 PyObject *resultobj = 0;
10569 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10570 wxTreeItemId *arg2 = 0 ;
10571 void *argp1 = 0 ;
10572 int res1 = 0 ;
10573 void *argp2 = 0 ;
10574 int res2 = 0 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char * kwnames[] = {
10578 (char *) "self",(char *) "item", NULL
10579 };
10580
10581 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10582 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10583 if (!SWIG_IsOK(res1)) {
10584 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10585 }
10586 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10587 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10588 if (!SWIG_IsOK(res2)) {
10589 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10590 }
10591 if (!argp2) {
10592 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10593 }
10594 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 resultobj = SWIG_Py_Void();
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj = 0;
10610 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10611 wxTreeItemId *arg2 = 0 ;
10612 wxString *arg3 = 0 ;
10613 int arg4 = (int) 0 ;
10614 wxTreeItemId result;
10615 void *argp1 = 0 ;
10616 int res1 = 0 ;
10617 void *argp2 = 0 ;
10618 int res2 = 0 ;
10619 bool temp3 = false ;
10620 int val4 ;
10621 int ecode4 = 0 ;
10622 PyObject * obj0 = 0 ;
10623 PyObject * obj1 = 0 ;
10624 PyObject * obj2 = 0 ;
10625 PyObject * obj3 = 0 ;
10626 char * kwnames[] = {
10627 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10628 };
10629
10630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10632 if (!SWIG_IsOK(res1)) {
10633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10634 }
10635 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10636 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10637 if (!SWIG_IsOK(res2)) {
10638 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10639 }
10640 if (!argp2) {
10641 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10642 }
10643 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10644 {
10645 arg3 = wxString_in_helper(obj2);
10646 if (arg3 == NULL) SWIG_fail;
10647 temp3 = true;
10648 }
10649 if (obj3) {
10650 ecode4 = SWIG_AsVal_int(obj3, &val4);
10651 if (!SWIG_IsOK(ecode4)) {
10652 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10653 }
10654 arg4 = static_cast< int >(val4);
10655 }
10656 {
10657 PyThreadState* __tstate = wxPyBeginAllowThreads();
10658 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10663 {
10664 if (temp3)
10665 delete arg3;
10666 }
10667 return resultobj;
10668 fail:
10669 {
10670 if (temp3)
10671 delete arg3;
10672 }
10673 return NULL;
10674 }
10675
10676
10677 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj = 0;
10679 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10680 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10681 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10682 void *argp1 = 0 ;
10683 int res1 = 0 ;
10684 void *argp2 = 0 ;
10685 int res2 = 0 ;
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char * kwnames[] = {
10689 (char *) "self",(char *) "item", NULL
10690 };
10691
10692 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10693 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10694 if (!SWIG_IsOK(res1)) {
10695 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10696 }
10697 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10698 if (obj1) {
10699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10700 if (!SWIG_IsOK(res2)) {
10701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10702 }
10703 if (!argp2) {
10704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10705 }
10706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10707 }
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10711 wxPyEndAllowThreads(__tstate);
10712 if (PyErr_Occurred()) SWIG_fail;
10713 }
10714 resultobj = SWIG_Py_Void();
10715 return resultobj;
10716 fail:
10717 return NULL;
10718 }
10719
10720
10721 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10722 PyObject *resultobj = 0;
10723 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10724 wxWindow *result = 0 ;
10725 void *argp1 = 0 ;
10726 int res1 = 0 ;
10727 PyObject *swig_obj[1] ;
10728
10729 if (!args) SWIG_fail;
10730 swig_obj[0] = args;
10731 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10732 if (!SWIG_IsOK(res1)) {
10733 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10734 }
10735 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 {
10743 resultobj = wxPyMake_wxObject(result, 0);
10744 }
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10752 PyObject *resultobj = 0;
10753 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10754 wxScrolledWindow *result = 0 ;
10755 void *argp1 = 0 ;
10756 int res1 = 0 ;
10757 PyObject *swig_obj[1] ;
10758
10759 if (!args) SWIG_fail;
10760 swig_obj[0] = args;
10761 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10762 if (!SWIG_IsOK(res1)) {
10763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10764 }
10765 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10766 {
10767 PyThreadState* __tstate = wxPyBeginAllowThreads();
10768 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10769 wxPyEndAllowThreads(__tstate);
10770 if (PyErr_Occurred()) SWIG_fail;
10771 }
10772 {
10773 resultobj = wxPyMake_wxObject(result, 0);
10774 }
10775 return resultobj;
10776 fail:
10777 return NULL;
10778 }
10779
10780
10781 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10782 PyObject *obj;
10783 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10784 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10785 return SWIG_Py_Void();
10786 }
10787
10788 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10789 return SWIG_Python_InitShadowInstance(args);
10790 }
10791
10792 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10793 PyObject *resultobj = 0;
10794 wxWindow *arg1 = (wxWindow *) 0 ;
10795 int arg2 = (int) -1 ;
10796 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10797 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10800 wxSize const &arg5_defvalue = wxDefaultSize ;
10801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10802 long arg6 = (long) 0 ;
10803 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10804 wxString *arg7 = (wxString *) &arg7_defvalue ;
10805 wxStaticPicture *result = 0 ;
10806 void *argp1 = 0 ;
10807 int res1 = 0 ;
10808 int val2 ;
10809 int ecode2 = 0 ;
10810 void *argp3 = 0 ;
10811 int res3 = 0 ;
10812 wxPoint temp4 ;
10813 wxSize temp5 ;
10814 long val6 ;
10815 int ecode6 = 0 ;
10816 bool temp7 = false ;
10817 PyObject * obj0 = 0 ;
10818 PyObject * obj1 = 0 ;
10819 PyObject * obj2 = 0 ;
10820 PyObject * obj3 = 0 ;
10821 PyObject * obj4 = 0 ;
10822 PyObject * obj5 = 0 ;
10823 PyObject * obj6 = 0 ;
10824 char * kwnames[] = {
10825 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10826 };
10827
10828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10830 if (!SWIG_IsOK(res1)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10832 }
10833 arg1 = reinterpret_cast< wxWindow * >(argp1);
10834 if (obj1) {
10835 ecode2 = SWIG_AsVal_int(obj1, &val2);
10836 if (!SWIG_IsOK(ecode2)) {
10837 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10838 }
10839 arg2 = static_cast< int >(val2);
10840 }
10841 if (obj2) {
10842 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10843 if (!SWIG_IsOK(res3)) {
10844 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10845 }
10846 if (!argp3) {
10847 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10848 }
10849 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10850 }
10851 if (obj3) {
10852 {
10853 arg4 = &temp4;
10854 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10855 }
10856 }
10857 if (obj4) {
10858 {
10859 arg5 = &temp5;
10860 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10861 }
10862 }
10863 if (obj5) {
10864 ecode6 = SWIG_AsVal_long(obj5, &val6);
10865 if (!SWIG_IsOK(ecode6)) {
10866 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10867 }
10868 arg6 = static_cast< long >(val6);
10869 }
10870 if (obj6) {
10871 {
10872 arg7 = wxString_in_helper(obj6);
10873 if (arg7 == NULL) SWIG_fail;
10874 temp7 = true;
10875 }
10876 }
10877 {
10878 if (!wxPyCheckForApp()) SWIG_fail;
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10881 wxPyEndAllowThreads(__tstate);
10882 if (PyErr_Occurred()) SWIG_fail;
10883 }
10884 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10885 {
10886 if (temp7)
10887 delete arg7;
10888 }
10889 return resultobj;
10890 fail:
10891 {
10892 if (temp7)
10893 delete arg7;
10894 }
10895 return NULL;
10896 }
10897
10898
10899 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10900 PyObject *resultobj = 0;
10901 wxStaticPicture *result = 0 ;
10902
10903 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10904 {
10905 if (!wxPyCheckForApp()) SWIG_fail;
10906 PyThreadState* __tstate = wxPyBeginAllowThreads();
10907 result = (wxStaticPicture *)new wxStaticPicture();
10908 wxPyEndAllowThreads(__tstate);
10909 if (PyErr_Occurred()) SWIG_fail;
10910 }
10911 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10912 return resultobj;
10913 fail:
10914 return NULL;
10915 }
10916
10917
10918 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10919 PyObject *resultobj = 0;
10920 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10921 wxWindow *arg2 = (wxWindow *) 0 ;
10922 int arg3 = (int) -1 ;
10923 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10924 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10925 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10926 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10927 wxSize const &arg6_defvalue = wxDefaultSize ;
10928 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10929 long arg7 = (long) 0 ;
10930 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10931 wxString *arg8 = (wxString *) &arg8_defvalue ;
10932 bool result;
10933 void *argp1 = 0 ;
10934 int res1 = 0 ;
10935 void *argp2 = 0 ;
10936 int res2 = 0 ;
10937 int val3 ;
10938 int ecode3 = 0 ;
10939 void *argp4 = 0 ;
10940 int res4 = 0 ;
10941 wxPoint temp5 ;
10942 wxSize temp6 ;
10943 long val7 ;
10944 int ecode7 = 0 ;
10945 bool temp8 = false ;
10946 PyObject * obj0 = 0 ;
10947 PyObject * obj1 = 0 ;
10948 PyObject * obj2 = 0 ;
10949 PyObject * obj3 = 0 ;
10950 PyObject * obj4 = 0 ;
10951 PyObject * obj5 = 0 ;
10952 PyObject * obj6 = 0 ;
10953 PyObject * obj7 = 0 ;
10954 char * kwnames[] = {
10955 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10956 };
10957
10958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10960 if (!SWIG_IsOK(res1)) {
10961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10962 }
10963 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10964 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10965 if (!SWIG_IsOK(res2)) {
10966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10967 }
10968 arg2 = reinterpret_cast< wxWindow * >(argp2);
10969 if (obj2) {
10970 ecode3 = SWIG_AsVal_int(obj2, &val3);
10971 if (!SWIG_IsOK(ecode3)) {
10972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10973 }
10974 arg3 = static_cast< int >(val3);
10975 }
10976 if (obj3) {
10977 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10978 if (!SWIG_IsOK(res4)) {
10979 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10980 }
10981 if (!argp4) {
10982 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10983 }
10984 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10985 }
10986 if (obj4) {
10987 {
10988 arg5 = &temp5;
10989 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10990 }
10991 }
10992 if (obj5) {
10993 {
10994 arg6 = &temp6;
10995 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10996 }
10997 }
10998 if (obj6) {
10999 ecode7 = SWIG_AsVal_long(obj6, &val7);
11000 if (!SWIG_IsOK(ecode7)) {
11001 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11002 }
11003 arg7 = static_cast< long >(val7);
11004 }
11005 if (obj7) {
11006 {
11007 arg8 = wxString_in_helper(obj7);
11008 if (arg8 == NULL) SWIG_fail;
11009 temp8 = true;
11010 }
11011 }
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11015 wxPyEndAllowThreads(__tstate);
11016 if (PyErr_Occurred()) SWIG_fail;
11017 }
11018 {
11019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11020 }
11021 {
11022 if (temp8)
11023 delete arg8;
11024 }
11025 return resultobj;
11026 fail:
11027 {
11028 if (temp8)
11029 delete arg8;
11030 }
11031 return NULL;
11032 }
11033
11034
11035 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11036 PyObject *resultobj = 0;
11037 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11038 wxBitmap *arg2 = 0 ;
11039 void *argp1 = 0 ;
11040 int res1 = 0 ;
11041 void *argp2 = 0 ;
11042 int res2 = 0 ;
11043 PyObject * obj0 = 0 ;
11044 PyObject * obj1 = 0 ;
11045 char * kwnames[] = {
11046 (char *) "self",(char *) "bmp", NULL
11047 };
11048
11049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11051 if (!SWIG_IsOK(res1)) {
11052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11053 }
11054 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11055 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11056 if (!SWIG_IsOK(res2)) {
11057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11058 }
11059 if (!argp2) {
11060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11061 }
11062 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11063 {
11064 PyThreadState* __tstate = wxPyBeginAllowThreads();
11065 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11066 wxPyEndAllowThreads(__tstate);
11067 if (PyErr_Occurred()) SWIG_fail;
11068 }
11069 resultobj = SWIG_Py_Void();
11070 return resultobj;
11071 fail:
11072 return NULL;
11073 }
11074
11075
11076 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11077 PyObject *resultobj = 0;
11078 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11079 wxBitmap result;
11080 void *argp1 = 0 ;
11081 int res1 = 0 ;
11082 PyObject *swig_obj[1] ;
11083
11084 if (!args) SWIG_fail;
11085 swig_obj[0] = args;
11086 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11087 if (!SWIG_IsOK(res1)) {
11088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11089 }
11090 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11091 {
11092 PyThreadState* __tstate = wxPyBeginAllowThreads();
11093 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11094 wxPyEndAllowThreads(__tstate);
11095 if (PyErr_Occurred()) SWIG_fail;
11096 }
11097 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11098 return resultobj;
11099 fail:
11100 return NULL;
11101 }
11102
11103
11104 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11105 PyObject *resultobj = 0;
11106 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11107 wxIcon *arg2 = 0 ;
11108 void *argp1 = 0 ;
11109 int res1 = 0 ;
11110 void *argp2 = 0 ;
11111 int res2 = 0 ;
11112 PyObject * obj0 = 0 ;
11113 PyObject * obj1 = 0 ;
11114 char * kwnames[] = {
11115 (char *) "self",(char *) "icon", NULL
11116 };
11117
11118 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11119 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11120 if (!SWIG_IsOK(res1)) {
11121 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11122 }
11123 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11124 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11125 if (!SWIG_IsOK(res2)) {
11126 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11127 }
11128 if (!argp2) {
11129 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11130 }
11131 arg2 = reinterpret_cast< wxIcon * >(argp2);
11132 {
11133 PyThreadState* __tstate = wxPyBeginAllowThreads();
11134 (arg1)->SetIcon((wxIcon const &)*arg2);
11135 wxPyEndAllowThreads(__tstate);
11136 if (PyErr_Occurred()) SWIG_fail;
11137 }
11138 resultobj = SWIG_Py_Void();
11139 return resultobj;
11140 fail:
11141 return NULL;
11142 }
11143
11144
11145 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11146 PyObject *resultobj = 0;
11147 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11148 wxIcon result;
11149 void *argp1 = 0 ;
11150 int res1 = 0 ;
11151 PyObject *swig_obj[1] ;
11152
11153 if (!args) SWIG_fail;
11154 swig_obj[0] = args;
11155 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11156 if (!SWIG_IsOK(res1)) {
11157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11158 }
11159 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 result = ((wxStaticPicture const *)arg1)->GetIcon();
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11167 return resultobj;
11168 fail:
11169 return NULL;
11170 }
11171
11172
11173 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11174 PyObject *resultobj = 0;
11175 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11176 int arg2 ;
11177 void *argp1 = 0 ;
11178 int res1 = 0 ;
11179 int val2 ;
11180 int ecode2 = 0 ;
11181 PyObject * obj0 = 0 ;
11182 PyObject * obj1 = 0 ;
11183 char * kwnames[] = {
11184 (char *) "self",(char *) "align", NULL
11185 };
11186
11187 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11188 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11189 if (!SWIG_IsOK(res1)) {
11190 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11191 }
11192 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11193 ecode2 = SWIG_AsVal_int(obj1, &val2);
11194 if (!SWIG_IsOK(ecode2)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11196 }
11197 arg2 = static_cast< int >(val2);
11198 {
11199 PyThreadState* __tstate = wxPyBeginAllowThreads();
11200 (arg1)->SetAlignment(arg2);
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = SWIG_Py_Void();
11205 return resultobj;
11206 fail:
11207 return NULL;
11208 }
11209
11210
11211 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11212 PyObject *resultobj = 0;
11213 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11214 int result;
11215 void *argp1 = 0 ;
11216 int res1 = 0 ;
11217 PyObject *swig_obj[1] ;
11218
11219 if (!args) SWIG_fail;
11220 swig_obj[0] = args;
11221 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11222 if (!SWIG_IsOK(res1)) {
11223 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11224 }
11225 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = SWIG_From_int(static_cast< int >(result));
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj = 0;
11241 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11242 int arg2 ;
11243 void *argp1 = 0 ;
11244 int res1 = 0 ;
11245 int val2 ;
11246 int ecode2 = 0 ;
11247 PyObject * obj0 = 0 ;
11248 PyObject * obj1 = 0 ;
11249 char * kwnames[] = {
11250 (char *) "self",(char *) "scale", NULL
11251 };
11252
11253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11255 if (!SWIG_IsOK(res1)) {
11256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11257 }
11258 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11259 ecode2 = SWIG_AsVal_int(obj1, &val2);
11260 if (!SWIG_IsOK(ecode2)) {
11261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11262 }
11263 arg2 = static_cast< int >(val2);
11264 {
11265 PyThreadState* __tstate = wxPyBeginAllowThreads();
11266 (arg1)->SetScale(arg2);
11267 wxPyEndAllowThreads(__tstate);
11268 if (PyErr_Occurred()) SWIG_fail;
11269 }
11270 resultobj = SWIG_Py_Void();
11271 return resultobj;
11272 fail:
11273 return NULL;
11274 }
11275
11276
11277 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11278 PyObject *resultobj = 0;
11279 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11280 int result;
11281 void *argp1 = 0 ;
11282 int res1 = 0 ;
11283 PyObject *swig_obj[1] ;
11284
11285 if (!args) SWIG_fail;
11286 swig_obj[0] = args;
11287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11288 if (!SWIG_IsOK(res1)) {
11289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11290 }
11291 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11292 {
11293 PyThreadState* __tstate = wxPyBeginAllowThreads();
11294 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11295 wxPyEndAllowThreads(__tstate);
11296 if (PyErr_Occurred()) SWIG_fail;
11297 }
11298 resultobj = SWIG_From_int(static_cast< int >(result));
11299 return resultobj;
11300 fail:
11301 return NULL;
11302 }
11303
11304
11305 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj = 0;
11307 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11308 float arg2 ;
11309 float arg3 ;
11310 void *argp1 = 0 ;
11311 int res1 = 0 ;
11312 float val2 ;
11313 int ecode2 = 0 ;
11314 float val3 ;
11315 int ecode3 = 0 ;
11316 PyObject * obj0 = 0 ;
11317 PyObject * obj1 = 0 ;
11318 PyObject * obj2 = 0 ;
11319 char * kwnames[] = {
11320 (char *) "self",(char *) "sx",(char *) "sy", NULL
11321 };
11322
11323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11325 if (!SWIG_IsOK(res1)) {
11326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11327 }
11328 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11329 ecode2 = SWIG_AsVal_float(obj1, &val2);
11330 if (!SWIG_IsOK(ecode2)) {
11331 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11332 }
11333 arg2 = static_cast< float >(val2);
11334 ecode3 = SWIG_AsVal_float(obj2, &val3);
11335 if (!SWIG_IsOK(ecode3)) {
11336 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11337 }
11338 arg3 = static_cast< float >(val3);
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 (arg1)->SetCustomScale(arg2,arg3);
11342 wxPyEndAllowThreads(__tstate);
11343 if (PyErr_Occurred()) SWIG_fail;
11344 }
11345 resultobj = SWIG_Py_Void();
11346 return resultobj;
11347 fail:
11348 return NULL;
11349 }
11350
11351
11352 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11353 PyObject *resultobj = 0;
11354 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11355 float *arg2 = (float *) 0 ;
11356 float *arg3 = (float *) 0 ;
11357 void *argp1 = 0 ;
11358 int res1 = 0 ;
11359 float temp2 ;
11360 int res2 = SWIG_TMPOBJ ;
11361 float temp3 ;
11362 int res3 = SWIG_TMPOBJ ;
11363 PyObject *swig_obj[1] ;
11364
11365 arg2 = &temp2;
11366 arg3 = &temp3;
11367 if (!args) SWIG_fail;
11368 swig_obj[0] = args;
11369 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11370 if (!SWIG_IsOK(res1)) {
11371 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11372 }
11373 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11374 {
11375 PyThreadState* __tstate = wxPyBeginAllowThreads();
11376 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 resultobj = SWIG_Py_Void();
11381 if (SWIG_IsTmpObj(res2)) {
11382 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11383 } else {
11384 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11385 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11386 }
11387 if (SWIG_IsTmpObj(res3)) {
11388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11389 } else {
11390 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11392 }
11393 return resultobj;
11394 fail:
11395 return NULL;
11396 }
11397
11398
11399 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11400 PyObject *obj;
11401 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11402 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11403 return SWIG_Py_Void();
11404 }
11405
11406 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11407 return SWIG_Python_InitShadowInstance(args);
11408 }
11409
11410 static PyMethodDef SwigMethods[] = {
11411 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11412 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
11413 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
11414 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11415 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
11416 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
11417 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11418 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
11419 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11420 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11421 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11422 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
11423 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
11424 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11425 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
11426 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11427 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11428 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11429 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11430 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11431 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11432 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
11433 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
11434 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
11435 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11436 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11437 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11438 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
11439 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11440 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11441 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
11442 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
11443 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
11444 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11445 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11446 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
11447 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11448 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
11449 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
11450 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11451 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
11452 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
11453 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11454 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
11455 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
11456 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11457 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
11458 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11459 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11460 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11461 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
11462 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11463 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11464 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11465 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
11466 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
11467 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11468 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
11469 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11470 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11471 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11472 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11473 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
11474 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11475 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
11476 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11477 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11478 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11479 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11480 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11481 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11482 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
11483 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
11484 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
11485 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11486 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
11487 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11488 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11489 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11490 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
11491 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11492 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
11493 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11494 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11495 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11496 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
11497 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11498 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11499 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11500 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11501 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11502 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11503 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11504 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11505 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11506 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11507 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11508 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
11509 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11510 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
11511 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11517 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11518 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11519 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11521 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11522 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11530 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11549 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11550 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
11551 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11557 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11561 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11563 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
11564 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
11574 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11580 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11581 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11582 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
11583 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11586 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11587 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11588 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11589 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11590 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
11591 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11592 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11593 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11594 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11595 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11596 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11597 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11598 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11599 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11600 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11601 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11602 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11603 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11604 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11605 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11606 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11607 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11608 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11609 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11610 { NULL, NULL, 0, NULL }
11611 };
11612
11613
11614 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11615
11616 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11617 return (void *)((wxValidator *) ((wxPyValidator *) x));
11618 }
11619 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11620 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11621 }
11622 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11623 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11624 }
11625 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11626 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11627 }
11628 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11629 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11630 }
11631 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11632 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11633 }
11634 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11635 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11636 }
11637 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11638 return (void *)((wxPanel *) ((wxPyPanel *) x));
11639 }
11640 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11641 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11642 }
11643 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11644 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11645 }
11646 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11647 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11648 }
11649 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11650 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11651 }
11652 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11653 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11654 }
11655 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11656 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11657 }
11658 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11660 }
11661 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11662 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11663 }
11664 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11665 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11666 }
11667 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11668 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11669 }
11670 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11671 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11672 }
11673 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11674 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11675 }
11676 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11677 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11678 }
11679 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11680 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11681 }
11682 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11683 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11684 }
11685 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11686 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11687 }
11688 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11689 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11690 }
11691 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11692 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11693 }
11694 static void *_p_wxControlTo_p_wxWindow(void *x) {
11695 return (void *)((wxWindow *) ((wxControl *) x));
11696 }
11697 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11698 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11699 }
11700 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11701 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11702 }
11703 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11704 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11705 }
11706 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11707 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11708 }
11709 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11710 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11711 }
11712 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11713 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11714 }
11715 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11716 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11717 }
11718 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11719 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11720 }
11721 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11722 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11723 }
11724 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11725 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11726 }
11727 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11728 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11729 }
11730 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11731 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11732 }
11733 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11734 return (void *)((wxWindow *) ((wxPyWindow *) x));
11735 }
11736 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11738 }
11739 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11740 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11741 }
11742 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11744 }
11745 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11747 }
11748 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11750 }
11751 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11753 }
11754 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11756 }
11757 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11759 }
11760 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11762 }
11763 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11765 }
11766 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11768 }
11769 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11770 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11771 }
11772 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11773 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11774 }
11775 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11776 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11777 }
11778 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11779 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11780 }
11781 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11782 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11783 }
11784 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11785 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11786 }
11787 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11788 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11789 }
11790 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11791 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11792 }
11793 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11794 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11795 }
11796 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11797 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11798 }
11799 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11800 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11801 }
11802 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11803 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11804 }
11805 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11806 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11807 }
11808 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11809 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11810 }
11811 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11812 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11813 }
11814 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11815 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11816 }
11817 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11818 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11819 }
11820 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11821 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11822 }
11823 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11824 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11825 }
11826 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11827 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11828 }
11829 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11830 return (void *)((wxWindow *) ((wxStatusBar *) x));
11831 }
11832 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11833 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11834 }
11835 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11836 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11837 }
11838 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11839 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11840 }
11841 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11842 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11843 }
11844 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11845 return (void *)((wxWindow *) ((wxSashWindow *) x));
11846 }
11847 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11848 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11849 }
11850 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11851 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11852 }
11853 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11854 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11855 }
11856 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11857 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11858 }
11859 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11860 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11861 }
11862 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11863 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11864 }
11865 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11866 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11867 }
11868 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11869 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11870 }
11871 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11872 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11873 }
11874 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11875 return (void *)((wxWindow *) ((wxMenuBar *) x));
11876 }
11877 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11878 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11879 }
11880 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11881 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11882 }
11883 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11884 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11885 }
11886 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11887 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11888 }
11889 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11890 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11891 }
11892 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11893 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11894 }
11895 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11896 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11897 }
11898 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11900 }
11901 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11902 return (void *)((wxWindow *) ((wxPanel *) x));
11903 }
11904 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11905 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11906 }
11907 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11908 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11909 }
11910 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11911 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11912 }
11913 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11914 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11915 }
11916 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11917 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11918 }
11919 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11920 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11921 }
11922 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11923 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11924 }
11925 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11926 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11927 }
11928 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11929 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11930 }
11931 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11932 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11933 }
11934 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11935 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11936 }
11937 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11938 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11939 }
11940 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11941 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11942 }
11943 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11944 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11945 }
11946 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11947 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11948 }
11949 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11950 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11951 }
11952 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11953 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11954 }
11955 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11956 return (void *)((wxControl *) ((wxPickerBase *) x));
11957 }
11958 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11959 return (void *)((wxControl *) ((wxToggleButton *) x));
11960 }
11961 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11962 return (void *)((wxControl *) ((wxRadioButton *) x));
11963 }
11964 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11965 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11966 }
11967 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11968 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11969 }
11970 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11971 return (void *)((wxControl *) ((wxToolBarBase *) x));
11972 }
11973 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11974 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11975 }
11976 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11977 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11978 }
11979 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11980 return (void *)((wxControl *) ((wxComboBox *) x));
11981 }
11982 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11983 return (void *)((wxControl *) ((wxPyControl *) x));
11984 }
11985 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11986 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11987 }
11988 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11989 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11990 }
11991 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11992 return (void *)((wxControl *) ((wxScrollBar *) x));
11993 }
11994 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11995 return (void *)((wxControl *) ((wxControlWithItems *) x));
11996 }
11997 static void *_p_wxGaugeTo_p_wxControl(void *x) {
11998 return (void *)((wxControl *) ((wxGauge *) x));
11999 }
12000 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12001 return (void *)((wxControl *) ((wxStaticLine *) x));
12002 }
12003 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
12004 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
12005 }
12006 static void *_p_wxListbookTo_p_wxControl(void *x) {
12007 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
12008 }
12009 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12010 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12011 }
12012 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12013 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12014 }
12015 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12016 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12017 }
12018 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12019 return (void *)((wxControl *) ((wxCheckBox *) x));
12020 }
12021 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12022 return (void *)((wxControl *) ((wxRadioBox *) x));
12023 }
12024 static void *_p_wxChoiceTo_p_wxControl(void *x) {
12025 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12026 }
12027 static void *_p_wxListBoxTo_p_wxControl(void *x) {
12028 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12029 }
12030 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12031 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12032 }
12033 static void *_p_wxListViewTo_p_wxControl(void *x) {
12034 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12035 }
12036 static void *_p_wxNotebookTo_p_wxControl(void *x) {
12037 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
12038 }
12039 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12040 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12041 }
12042 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12043 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12044 }
12045 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12046 return (void *)((wxControl *) ((wxStaticText *) x));
12047 }
12048 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12049 return (void *)((wxControl *) ((wxStaticBox *) x));
12050 }
12051 static void *_p_wxSliderTo_p_wxControl(void *x) {
12052 return (void *)((wxControl *) ((wxSlider *) x));
12053 }
12054 static void *_p_wxTreebookTo_p_wxControl(void *x) {
12055 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
12056 }
12057 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12058 return (void *)((wxControl *) ((wxSpinButton *) x));
12059 }
12060 static void *_p_wxButtonTo_p_wxControl(void *x) {
12061 return (void *)((wxControl *) ((wxButton *) x));
12062 }
12063 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12064 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12065 }
12066 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12067 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12068 }
12069 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12070 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12071 }
12072 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12073 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12074 }
12075 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12076 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12077 }
12078 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12079 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12080 }
12081 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12082 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12083 }
12084 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12085 return (void *)((wxControl *) ((wxStaticPicture *) x));
12086 }
12087 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12088 return (void *)((wxControl *) ((wxTextCtrl *) x));
12089 }
12090 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
12091 return (void *)((wxPyListCtrl *) ((wxListView *) x));
12092 }
12093 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12094 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12095 }
12096 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12097 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12098 }
12099 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12100 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12101 }
12102 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12103 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12104 }
12105 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12106 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12107 }
12108 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12109 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12110 }
12111 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12112 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12113 }
12114 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12115 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12116 }
12117 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12118 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12119 }
12120 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12122 }
12123 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12125 }
12126 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12128 }
12129 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12130 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12131 }
12132 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12134 }
12135 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12136 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12137 }
12138 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12140 }
12141 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12143 }
12144 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12145 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12146 }
12147 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12148 return (void *)((wxEvent *) ((wxPyEvent *) x));
12149 }
12150 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12151 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12152 }
12153 static void *_p_wxListEventTo_p_wxEvent(void *x) {
12154 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12155 }
12156 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12158 }
12159 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12161 }
12162 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
12163 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12164 }
12165 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
12166 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12167 }
12168 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
12169 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12170 }
12171 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12172 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12173 }
12174 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12176 }
12177 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12179 }
12180 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12181 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12182 }
12183 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12185 }
12186 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12187 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12188 }
12189 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12190 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12191 }
12192 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12193 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12194 }
12195 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12196 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12197 }
12198 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12199 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12200 }
12201 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12202 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12203 }
12204 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12205 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12206 }
12207 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12208 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12209 }
12210 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12211 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12212 }
12213 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12214 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12215 }
12216 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12217 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12218 }
12219 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12220 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12221 }
12222 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12223 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12224 }
12225 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12226 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12227 }
12228 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12229 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12230 }
12231 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12232 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12233 }
12234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12235 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12236 }
12237 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12238 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12239 }
12240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12241 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12242 }
12243 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12244 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12245 }
12246 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12247 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12248 }
12249 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12250 return (void *)((wxEvent *) ((wxShowEvent *) x));
12251 }
12252 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12253 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12254 }
12255 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12256 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12257 }
12258 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12259 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12260 }
12261 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12262 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12263 }
12264 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12265 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12266 }
12267 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12268 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12269 }
12270 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12271 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12272 }
12273 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12274 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12275 }
12276 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12277 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12278 }
12279 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12280 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12281 }
12282 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12284 }
12285 static void *_p_wxEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) ((wxEvent *) x));
12287 }
12288 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12290 }
12291 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12293 }
12294 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12296 }
12297 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12299 }
12300 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12302 }
12303 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12305 }
12306 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) ((wxMenuItem *) x));
12308 }
12309 static void *_p_wxImageTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) ((wxImage *) x));
12311 }
12312 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12314 }
12315 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12317 }
12318 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12320 }
12321 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12323 }
12324 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12326 }
12327 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12329 }
12330 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12332 }
12333 static void *_p_wxTreebookTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12335 }
12336 static void *_p_wxNotebookTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12338 }
12339 static void *_p_wxListItemTo_p_wxObject(void *x) {
12340 return (void *)((wxObject *) ((wxListItem *) x));
12341 }
12342 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
12343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12344 }
12345 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12347 }
12348 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12350 }
12351 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12353 }
12354 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12356 }
12357 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12359 }
12360 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12361 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12362 }
12363 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12365 }
12366 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12367 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12368 }
12369 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12370 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12371 }
12372 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12373 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12374 }
12375 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12376 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12377 }
12378 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12379 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12380 }
12381 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12382 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12383 }
12384 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12385 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12386 }
12387 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12389 }
12390 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12392 }
12393 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12394 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12395 }
12396 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12397 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12398 }
12399 static void *_p_wxPrinterTo_p_wxObject(void *x) {
12400 return (void *)((wxObject *) ((wxPrinter *) x));
12401 }
12402 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12404 }
12405 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12407 }
12408 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12409 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12410 }
12411 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12412 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12413 }
12414 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12415 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12416 }
12417 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12418 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12419 }
12420 static void *_p_wxControlTo_p_wxObject(void *x) {
12421 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12422 }
12423 static void *_p_wxPyControlTo_p_wxObject(void *x) {
12424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12425 }
12426 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12427 return (void *)((wxObject *) ((wxContextHelp *) x));
12428 }
12429 static void *_p_wxColourDataTo_p_wxObject(void *x) {
12430 return (void *)((wxObject *) ((wxColourData *) x));
12431 }
12432 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12433 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12434 }
12435 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12436 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12437 }
12438 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12439 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12440 }
12441 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12442 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12443 }
12444 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12445 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12446 }
12447 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12448 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12449 }
12450 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12451 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12452 }
12453 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12454 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12455 }
12456 static void *_p_wxDateEventTo_p_wxObject(void *x) {
12457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12458 }
12459 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12461 }
12462 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12463 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12464 }
12465 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12466 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12467 }
12468 static void *_p_wxListEventTo_p_wxObject(void *x) {
12469 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12470 }
12471 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12472 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12473 }
12474 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12475 return (void *)((wxObject *) ((wxPyPrintout *) x));
12476 }
12477 static void *_p_wxGaugeTo_p_wxObject(void *x) {
12478 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12479 }
12480 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12481 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12482 }
12483 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12484 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12485 }
12486 static void *_p_wxChoiceTo_p_wxObject(void *x) {
12487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12488 }
12489 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12491 }
12492 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12494 }
12495 static void *_p_wxButtonTo_p_wxObject(void *x) {
12496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12497 }
12498 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12500 }
12501 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12502 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12503 }
12504 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12505 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12506 }
12507 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12508 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12509 }
12510 static void *_p_wxSashEventTo_p_wxObject(void *x) {
12511 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12512 }
12513 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12514 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12515 }
12516 static void *_p_wxListBoxTo_p_wxObject(void *x) {
12517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12518 }
12519 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12521 }
12522 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12524 }
12525 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12526 return (void *)((wxObject *) ((wxPrintData *) x));
12527 }
12528 static void *_p_wxFontDataTo_p_wxObject(void *x) {
12529 return (void *)((wxObject *) ((wxFontData *) x));
12530 }
12531 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12532 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12533 }
12534 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12535 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12536 }
12537 static void *_p_wxListbookTo_p_wxObject(void *x) {
12538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12539 }
12540 static void *_p_wxFrameTo_p_wxObject(void *x) {
12541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12542 }
12543 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12545 }
12546 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12548 }
12549 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12550 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12551 }
12552 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12554 }
12555 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12556 return (void *)((wxObject *) ((wxFileSystem *) x));
12557 }
12558 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12559 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12560 }
12561 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12562 return (void *)((wxObject *) ((wxPrintPreview *) x));
12563 }
12564 static void *_p_wxListViewTo_p_wxObject(void *x) {
12565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12566 }
12567 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12568 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12569 }
12570 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12572 }
12573 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12575 }
12576 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12578 }
12579 static void *_p_wxSizerTo_p_wxObject(void *x) {
12580 return (void *)((wxObject *) ((wxSizer *) x));
12581 }
12582 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12583 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12584 }
12585 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12586 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12587 }
12588 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12589 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12590 }
12591 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12592 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12593 }
12594 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12595 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12596 }
12597 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12598 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12599 }
12600 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12601 return (void *)((wxObject *) ((wxFSFile *) x));
12602 }
12603 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12605 }
12606 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12607 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12608 }
12609 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12610 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12611 }
12612 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12614 }
12615 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12616 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12617 }
12618 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12620 }
12621 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12622 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12623 }
12624 static void *_p_wxMenuTo_p_wxObject(void *x) {
12625 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12626 }
12627 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12628 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12629 }
12630 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12631 return (void *)((wxObject *) ((wxSizerItem *) x));
12632 }
12633 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12635 }
12636 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12638 }
12639 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12640 return (void *)((wxObject *) ((wxPrintDialog *) x));
12641 }
12642 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12643 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12644 }
12645 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12647 }
12648 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12650 }
12651 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12653 }
12654 static void *_p_wxDialogTo_p_wxObject(void *x) {
12655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12656 }
12657 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12658 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12659 }
12660 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12661 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12662 }
12663 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12664 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12665 }
12666 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12667 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12668 }
12669 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12671 }
12672 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12673 return (void *)((wxObject *) ((wxEvtHandler *) x));
12674 }
12675 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12676 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12677 }
12678 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12679 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12680 }
12681 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12682 return (void *)((wxObject *) ((wxImageHandler *) x));
12683 }
12684 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12685 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12686 }
12687 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12688 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12689 }
12690 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12691 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12692 }
12693 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12694 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12695 }
12696 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12697 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12698 }
12699 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12700 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12701 }
12702 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12703 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12704 }
12705 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12706 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12707 }
12708 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12709 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12710 }
12711 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12712 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12713 }
12714 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12715 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12716 }
12717 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12718 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12719 }
12720 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12722 }
12723 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12725 }
12726 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12728 }
12729 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12731 }
12732 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12734 }
12735 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12737 }
12738 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12740 }
12741 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12743 }
12744 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12746 }
12747 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12749 }
12750 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12752 }
12753 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12755 }
12756 static void *_p_wxWindowTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12758 }
12759 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12761 }
12762 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12764 }
12765 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12767 }
12768 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12770 }
12771 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12773 }
12774 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12776 }
12777 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12779 }
12780 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12782 }
12783 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12785 }
12786 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12788 }
12789 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12791 }
12792 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12794 }
12795 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12797 }
12798 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12800 }
12801 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12803 }
12804 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12806 }
12807 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12809 }
12810 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12812 }
12813 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12815 }
12816 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12818 }
12819 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12821 }
12822 static void *_p_wxSliderTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12824 }
12825 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12827 }
12828 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12830 }
12831 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12833 }
12834 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12836 }
12837 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12839 }
12840 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12842 }
12843 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12845 }
12846 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12848 }
12849 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12851 }
12852 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12854 }
12855 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12857 }
12858 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12860 }
12861 static void *_p_wxPanelTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12863 }
12864 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12866 }
12867 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12869 }
12870 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12872 }
12873 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12875 }
12876 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12878 }
12879 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12881 }
12882 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12884 }
12885 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12887 }
12888 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12890 }
12891 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12893 }
12894 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12896 }
12897 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12899 }
12900 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12902 }
12903 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12905 }
12906 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12908 }
12909 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12911 }
12912 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12913 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12914 }
12915 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12916 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12917 }
12918 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12919 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12920 }
12921 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12922 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12923 }
12924 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12925 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12926 }
12927 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12928 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12929 }
12930 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12931 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12932 }
12933 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12934 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12935 }
12936 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12937 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12938 }
12939 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12940 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12941 }
12942 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12943 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12944 }
12945 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12946 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12947 }
12948 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12950 }
12951 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12952 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12953 }
12954 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12955 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12956 }
12957 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12958 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12959 }
12960 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12961 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12962 }
12963 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12964 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12965 }
12966 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12967 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12968 }
12969 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12970 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12971 }
12972 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12974 }
12975 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12977 }
12978 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12979 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12980 }
12981 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12982 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12983 }
12984 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12985 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12986 }
12987 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12988 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12989 }
12990 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12992 }
12993 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
12994 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12995 }
12996 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12997 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12998 }
12999 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13001 }
13002 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
13003 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
13004 }
13005 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13007 }
13008 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13010 }
13011 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13013 }
13014 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13016 }
13017 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13019 }
13020 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13021 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13022 }
13023 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13024 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13025 }
13026 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13028 }
13029 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13031 }
13032 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13033 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13034 }
13035 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13036 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13037 }
13038 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13040 }
13041 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13042 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13043 }
13044 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13045 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13046 }
13047 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13048 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13049 }
13050 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13051 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13052 }
13053 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13054 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13055 }
13056 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13057 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13058 }
13059 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13060 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13061 }
13062 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13063 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13064 }
13065 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13067 }
13068 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13070 }
13071 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13073 }
13074 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13076 }
13077 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13079 }
13080 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13082 }
13083 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13084 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13085 }
13086 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13087 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13088 }
13089 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13091 }
13092 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13093 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13094 }
13095 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13097 }
13098 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13100 }
13101 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13102 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13103 }
13104 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13105 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13106 }
13107 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13108 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13109 }
13110 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13111 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13112 }
13113 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13114 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13115 }
13116 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13118 }
13119 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13120 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13121 }
13122 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13124 }
13125 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13126 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13127 }
13128 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13130 }
13131 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13132 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13133 }
13134 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13135 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13136 }
13137 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13138 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13139 }
13140 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13141 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13142 }
13143 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13145 }
13146 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13148 }
13149 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13151 }
13152 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13153 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13154 }
13155 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13156 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13157 }
13158 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13159 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13160 }
13161 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13162 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13163 }
13164 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13166 }
13167 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13169 }
13170 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13171 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13172 }
13173 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13174 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13175 }
13176 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13178 }
13179 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13180 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13181 }
13182 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13183 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13184 }
13185 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13187 }
13188 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13190 }
13191 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13193 }
13194 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13196 }
13197 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13199 }
13200 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13202 }
13203 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13205 }
13206 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13208 }
13209 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13210 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13211 }
13212 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13213 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13214 }
13215 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13216 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13217 }
13218 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13219 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13220 }
13221 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13222 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13223 }
13224 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13225 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13226 }
13227 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13228 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13229 }
13230 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13231 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13232 }
13233 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13234 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13235 }
13236 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13237 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13238 }
13239 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13240 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13241 }
13242 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13243 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13244 }
13245 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13246 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13247 }
13248 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13249 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13250 }
13251 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13252 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13253 }
13254 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13255 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13256 }
13257 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
13258 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
13259 }
13260 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
13261 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
13262 }
13263 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
13264 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
13265 }
13266 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13267 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13268 }
13269 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13270 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13271 }
13272 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13273 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13274 }
13275 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13276 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13277 }
13278 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13279 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13280 }
13281 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13282 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13283 }
13284 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13285 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13286 }
13287 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13288 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13289 }
13290 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13291 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13292 }
13293 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13294 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13295 }
13296 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13297 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13298 }
13299 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13300 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13301 }
13302 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13303 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13304 }
13305 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13306 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13307 }
13308 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13309 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13310 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};
13311 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13312 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13313 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13314 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13315 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13316 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13317 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13318 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13319 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13320 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13321 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13322 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13323 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13324 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13325 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13326 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13327 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13328 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13329 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13330 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13331 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13332 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13333 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13334 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13335 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13336 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13337 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13338 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13339 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13340 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13341 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13342 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13343 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13344 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13345 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13346 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13347 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13348 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13349 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
13350 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13351 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13352 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13353 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13354 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13355 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13356 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13357 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13358 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13359 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13360 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13361 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13362 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13363 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
13364 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13365 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13366 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13367 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13368 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13369 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13370 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13371 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13372 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13373 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13374 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13375 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13376 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13377 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13378 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13379 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13380 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13381 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13382 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13383 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13384 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13385 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13386 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13387 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13388 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13389 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13390 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13391 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13392 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13393 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13394 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13395 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13396 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13397 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13398 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13399 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13400 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13401 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13402 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13403 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13404 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13405 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13406 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13407 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13408 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13409 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13410 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13411 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13412 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13413 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13414 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13415 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13416 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13417 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13418 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13419 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13420 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13421 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13422 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13423 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13424 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13425 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13426 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13427 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13428 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13429 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13430 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13431 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13432 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13433 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13434 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13435 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13436 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13437 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13438 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13439 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13440 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13441 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13442 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13443 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13444 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13445 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13446 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13447 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13448 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13449 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13450 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13451 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13452 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13453 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13454 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13455 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13456 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13457 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13458 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13459 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13460 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13461 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13462 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13463 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13464 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13465 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13466 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13467 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13468 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13469 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13470 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13471 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13472 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13473 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13474 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13475 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13476 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13477 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13478 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13479 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13480 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13481 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13482 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13483 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13484 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13485 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13486 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13487 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13488 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13489 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13490 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13491 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13492 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13493 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13494 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13495 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13496 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13497 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13498 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13499 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13500 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13501 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13502 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13503 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13504 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13505 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13506 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13507 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13508 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13509 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13510 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13511 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13512 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13513 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13514 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13515 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13516 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13517 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13518 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13519 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13520 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13521 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13522 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
13523 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13524 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13525 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13526 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13527 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13528 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13529 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13530 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13531 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13532 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13533 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13534 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13535 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13536 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13537 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13538
13539 static swig_type_info *swig_type_initial[] = {
13540 &_swigt__p_char,
13541 &_swigt__p_float,
13542 &_swigt__p_form_ops_t,
13543 &_swigt__p_int,
13544 &_swigt__p_unsigned_char,
13545 &_swigt__p_unsigned_int,
13546 &_swigt__p_unsigned_long,
13547 &_swigt__p_wxANIHandler,
13548 &_swigt__p_wxAcceleratorTable,
13549 &_swigt__p_wxActivateEvent,
13550 &_swigt__p_wxArrayString,
13551 &_swigt__p_wxBMPHandler,
13552 &_swigt__p_wxBitmap,
13553 &_swigt__p_wxBitmapButton,
13554 &_swigt__p_wxBookCtrlBase,
13555 &_swigt__p_wxBookCtrlBaseEvent,
13556 &_swigt__p_wxBoxSizer,
13557 &_swigt__p_wxButton,
13558 &_swigt__p_wxCURHandler,
13559 &_swigt__p_wxCalculateLayoutEvent,
13560 &_swigt__p_wxCheckBox,
13561 &_swigt__p_wxCheckListBox,
13562 &_swigt__p_wxChildFocusEvent,
13563 &_swigt__p_wxChoice,
13564 &_swigt__p_wxChoicebook,
13565 &_swigt__p_wxChoicebookEvent,
13566 &_swigt__p_wxClipboardTextEvent,
13567 &_swigt__p_wxCloseEvent,
13568 &_swigt__p_wxColour,
13569 &_swigt__p_wxColourData,
13570 &_swigt__p_wxColourDialog,
13571 &_swigt__p_wxColourPickerCtrl,
13572 &_swigt__p_wxColourPickerEvent,
13573 &_swigt__p_wxComboBox,
13574 &_swigt__p_wxCommandEvent,
13575 &_swigt__p_wxContextHelp,
13576 &_swigt__p_wxContextHelpButton,
13577 &_swigt__p_wxContextMenuEvent,
13578 &_swigt__p_wxControl,
13579 &_swigt__p_wxControlWithItems,
13580 &_swigt__p_wxDateEvent,
13581 &_swigt__p_wxDatePickerCtrl,
13582 &_swigt__p_wxDialog,
13583 &_swigt__p_wxDirDialog,
13584 &_swigt__p_wxDirFilterListCtrl,
13585 &_swigt__p_wxDirPickerCtrl,
13586 &_swigt__p_wxDisplayChangedEvent,
13587 &_swigt__p_wxDropFilesEvent,
13588 &_swigt__p_wxDuplexMode,
13589 &_swigt__p_wxDynamicSashSplitEvent,
13590 &_swigt__p_wxDynamicSashUnifyEvent,
13591 &_swigt__p_wxDynamicSashWindow,
13592 &_swigt__p_wxEditableListBox,
13593 &_swigt__p_wxEraseEvent,
13594 &_swigt__p_wxEvent,
13595 &_swigt__p_wxEvtHandler,
13596 &_swigt__p_wxFSFile,
13597 &_swigt__p_wxFileDialog,
13598 &_swigt__p_wxFileDirPickerEvent,
13599 &_swigt__p_wxFilePickerCtrl,
13600 &_swigt__p_wxFileSystem,
13601 &_swigt__p_wxFindDialogEvent,
13602 &_swigt__p_wxFindReplaceData,
13603 &_swigt__p_wxFindReplaceDialog,
13604 &_swigt__p_wxFlexGridSizer,
13605 &_swigt__p_wxFocusEvent,
13606 &_swigt__p_wxFont,
13607 &_swigt__p_wxFontData,
13608 &_swigt__p_wxFontDialog,
13609 &_swigt__p_wxFontPickerCtrl,
13610 &_swigt__p_wxFontPickerEvent,
13611 &_swigt__p_wxFrame,
13612 &_swigt__p_wxGBSizerItem,
13613 &_swigt__p_wxGIFHandler,
13614 &_swigt__p_wxGauge,
13615 &_swigt__p_wxGenericDirCtrl,
13616 &_swigt__p_wxGenericDragImage,
13617 &_swigt__p_wxGridBagSizer,
13618 &_swigt__p_wxGridSizer,
13619 &_swigt__p_wxHelpEvent,
13620 &_swigt__p_wxHyperlinkCtrl,
13621 &_swigt__p_wxHyperlinkEvent,
13622 &_swigt__p_wxICOHandler,
13623 &_swigt__p_wxIcon,
13624 &_swigt__p_wxIconizeEvent,
13625 &_swigt__p_wxIdleEvent,
13626 &_swigt__p_wxImage,
13627 &_swigt__p_wxImageHandler,
13628 &_swigt__p_wxImageList,
13629 &_swigt__p_wxIndividualLayoutConstraint,
13630 &_swigt__p_wxInitDialogEvent,
13631 &_swigt__p_wxJPEGHandler,
13632 &_swigt__p_wxKeyEvent,
13633 &_swigt__p_wxLEDNumberCtrl,
13634 &_swigt__p_wxLayoutAlgorithm,
13635 &_swigt__p_wxLayoutConstraints,
13636 &_swigt__p_wxListBox,
13637 &_swigt__p_wxListEvent,
13638 &_swigt__p_wxListItem,
13639 &_swigt__p_wxListView,
13640 &_swigt__p_wxListbook,
13641 &_swigt__p_wxListbookEvent,
13642 &_swigt__p_wxMDIChildFrame,
13643 &_swigt__p_wxMDIClientWindow,
13644 &_swigt__p_wxMDIParentFrame,
13645 &_swigt__p_wxMaximizeEvent,
13646 &_swigt__p_wxMenu,
13647 &_swigt__p_wxMenuBar,
13648 &_swigt__p_wxMenuEvent,
13649 &_swigt__p_wxMenuItem,
13650 &_swigt__p_wxMessageDialog,
13651 &_swigt__p_wxMiniFrame,
13652 &_swigt__p_wxMouseCaptureChangedEvent,
13653 &_swigt__p_wxMouseCaptureLostEvent,
13654 &_swigt__p_wxMouseEvent,
13655 &_swigt__p_wxMoveEvent,
13656 &_swigt__p_wxMultiChoiceDialog,
13657 &_swigt__p_wxNavigationKeyEvent,
13658 &_swigt__p_wxNcPaintEvent,
13659 &_swigt__p_wxNotebook,
13660 &_swigt__p_wxNotebookEvent,
13661 &_swigt__p_wxNotifyEvent,
13662 &_swigt__p_wxNumberEntryDialog,
13663 &_swigt__p_wxObject,
13664 &_swigt__p_wxPCXHandler,
13665 &_swigt__p_wxPNGHandler,
13666 &_swigt__p_wxPNMHandler,
13667 &_swigt__p_wxPageSetupDialog,
13668 &_swigt__p_wxPageSetupDialogData,
13669 &_swigt__p_wxPaintEvent,
13670 &_swigt__p_wxPaletteChangedEvent,
13671 &_swigt__p_wxPanel,
13672 &_swigt__p_wxPaperSize,
13673 &_swigt__p_wxPasswordEntryDialog,
13674 &_swigt__p_wxPickerBase,
13675 &_swigt__p_wxPopupWindow,
13676 &_swigt__p_wxPreviewCanvas,
13677 &_swigt__p_wxPreviewControlBar,
13678 &_swigt__p_wxPreviewFrame,
13679 &_swigt__p_wxPrintData,
13680 &_swigt__p_wxPrintDialog,
13681 &_swigt__p_wxPrintDialogData,
13682 &_swigt__p_wxPrintPreview,
13683 &_swigt__p_wxPrinter,
13684 &_swigt__p_wxProgressDialog,
13685 &_swigt__p_wxPyApp,
13686 &_swigt__p_wxPyCommandEvent,
13687 &_swigt__p_wxPyControl,
13688 &_swigt__p_wxPyEvent,
13689 &_swigt__p_wxPyHtmlListBox,
13690 &_swigt__p_wxPyImageHandler,
13691 &_swigt__p_wxPyListCtrl,
13692 &_swigt__p_wxPyPanel,
13693 &_swigt__p_wxPyPopupTransientWindow,
13694 &_swigt__p_wxPyPreviewControlBar,
13695 &_swigt__p_wxPyPreviewFrame,
13696 &_swigt__p_wxPyPrintPreview,
13697 &_swigt__p_wxPyPrintout,
13698 &_swigt__p_wxPyScrolledWindow,
13699 &_swigt__p_wxPySizer,
13700 &_swigt__p_wxPyTaskBarIcon,
13701 &_swigt__p_wxPyTreeCompanionWindow,
13702 &_swigt__p_wxPyTreeCtrl,
13703 &_swigt__p_wxPyTreeItemData,
13704 &_swigt__p_wxPyTreeListCtrl,
13705 &_swigt__p_wxPyVListBox,
13706 &_swigt__p_wxPyVScrolledWindow,
13707 &_swigt__p_wxPyValidator,
13708 &_swigt__p_wxPyWindow,
13709 &_swigt__p_wxQueryLayoutInfoEvent,
13710 &_swigt__p_wxQueryNewPaletteEvent,
13711 &_swigt__p_wxRadioBox,
13712 &_swigt__p_wxRadioButton,
13713 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13714 &_swigt__p_wxSashEvent,
13715 &_swigt__p_wxSashLayoutWindow,
13716 &_swigt__p_wxSashWindow,
13717 &_swigt__p_wxScrollBar,
13718 &_swigt__p_wxScrollEvent,
13719 &_swigt__p_wxScrollWinEvent,
13720 &_swigt__p_wxScrolledWindow,
13721 &_swigt__p_wxSetCursorEvent,
13722 &_swigt__p_wxShowEvent,
13723 &_swigt__p_wxSingleChoiceDialog,
13724 &_swigt__p_wxSizeEvent,
13725 &_swigt__p_wxSizer,
13726 &_swigt__p_wxSizerItem,
13727 &_swigt__p_wxSlider,
13728 &_swigt__p_wxSpinButton,
13729 &_swigt__p_wxSpinCtrl,
13730 &_swigt__p_wxSpinEvent,
13731 &_swigt__p_wxSplashScreen,
13732 &_swigt__p_wxSplashScreenWindow,
13733 &_swigt__p_wxSplitterEvent,
13734 &_swigt__p_wxSplitterScrolledWindow,
13735 &_swigt__p_wxSplitterWindow,
13736 &_swigt__p_wxStaticBitmap,
13737 &_swigt__p_wxStaticBox,
13738 &_swigt__p_wxStaticBoxSizer,
13739 &_swigt__p_wxStaticLine,
13740 &_swigt__p_wxStaticPicture,
13741 &_swigt__p_wxStaticText,
13742 &_swigt__p_wxStatusBar,
13743 &_swigt__p_wxStdDialogButtonSizer,
13744 &_swigt__p_wxSysColourChangedEvent,
13745 &_swigt__p_wxTIFFHandler,
13746 &_swigt__p_wxTaskBarIconEvent,
13747 &_swigt__p_wxTextCtrl,
13748 &_swigt__p_wxTextEntryDialog,
13749 &_swigt__p_wxTextUrlEvent,
13750 &_swigt__p_wxThinSplitterWindow,
13751 &_swigt__p_wxTipWindow,
13752 &_swigt__p_wxToggleButton,
13753 &_swigt__p_wxToolBar,
13754 &_swigt__p_wxToolBarBase,
13755 &_swigt__p_wxToolBarToolBase,
13756 &_swigt__p_wxToolbook,
13757 &_swigt__p_wxToolbookEvent,
13758 &_swigt__p_wxTopLevelWindow,
13759 &_swigt__p_wxTreeEvent,
13760 &_swigt__p_wxTreeItemId,
13761 &_swigt__p_wxTreeListColumnInfo,
13762 &_swigt__p_wxTreebook,
13763 &_swigt__p_wxTreebookEvent,
13764 &_swigt__p_wxUpdateUIEvent,
13765 &_swigt__p_wxValidator,
13766 &_swigt__p_wxWindow,
13767 &_swigt__p_wxWindowCreateEvent,
13768 &_swigt__p_wxWindowDestroyEvent,
13769 &_swigt__p_wxXPMHandler,
13770 };
13771
13772 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13773 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13774 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13775 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13776 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13777 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13778 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13779 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13780 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13781 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13782 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13783 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13784 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13785 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13786 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13787 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13788 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13789 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13790 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13791 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13792 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13793 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13794 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13795 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13796 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13797 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13798 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13799 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13800 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13801 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13802 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13803 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13804 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13805 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13806 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13807 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13808 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13809 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13810 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
13811 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13812 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13813 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13814 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13815 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13816 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13817 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13818 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13819 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13820 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13821 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13822 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13823 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13824 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13825 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13826 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13827 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13828 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13829 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13830 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13831 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13832 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13833 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13834 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13835 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13836 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13837 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13838 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13839 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13840 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13841 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13842 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13843 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13844 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13845 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13846 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13847 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13848 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13849 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13850 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13851 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13852 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13853 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13854 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13855 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13856 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13857 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13858 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13859 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13860 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13861 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13862 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13863 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13864 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13865 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13866 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13867 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13868 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13869 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13870 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13871 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13872 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13873 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13874 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13875 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13876 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13877 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13878 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13879 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13880 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13881 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13882 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13883 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13884 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13885 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13886 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13887 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13888 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13889 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13890 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13891 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13892 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13893 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13894 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13895 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13896 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13897 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13898 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13899 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13900 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13901 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13902 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13903 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13904 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13905 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13906 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13907 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13908 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13909 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13910 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13911 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13912 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13913 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13914 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13915 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13916 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13917 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13918 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13919 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13920 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13921 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13922 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13923 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13924 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13925 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13926 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13927 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13928 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13929 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13930 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13931 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13932 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13933 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13934 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13935 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13936 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13937 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13938 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13939 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13940 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13941 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13942 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13943 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13944 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13945 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13946 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13947 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13948 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13949 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13950 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13951 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13952 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13953 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13954 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13955 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13956 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13957 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13958 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13959 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13960 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13961 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13962 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13963 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13964 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13965 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13966 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13967 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13968 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13969 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13970 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13971 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13972 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13973 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13974 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13975 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13976 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13977 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13978 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13979 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13980 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13981 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13982 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13983 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13984 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}};
13985 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13986 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}};
13987 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13988 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}};
13989 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13990 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13991 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13992 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13993 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}};
13994 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13995 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}};
13996 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13997 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13998 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13999 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14000 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}};
14001 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
14002
14003 static swig_cast_info *swig_cast_initial[] = {
14004 _swigc__p_char,
14005 _swigc__p_float,
14006 _swigc__p_form_ops_t,
14007 _swigc__p_int,
14008 _swigc__p_unsigned_char,
14009 _swigc__p_unsigned_int,
14010 _swigc__p_unsigned_long,
14011 _swigc__p_wxANIHandler,
14012 _swigc__p_wxAcceleratorTable,
14013 _swigc__p_wxActivateEvent,
14014 _swigc__p_wxArrayString,
14015 _swigc__p_wxBMPHandler,
14016 _swigc__p_wxBitmap,
14017 _swigc__p_wxBitmapButton,
14018 _swigc__p_wxBookCtrlBase,
14019 _swigc__p_wxBookCtrlBaseEvent,
14020 _swigc__p_wxBoxSizer,
14021 _swigc__p_wxButton,
14022 _swigc__p_wxCURHandler,
14023 _swigc__p_wxCalculateLayoutEvent,
14024 _swigc__p_wxCheckBox,
14025 _swigc__p_wxCheckListBox,
14026 _swigc__p_wxChildFocusEvent,
14027 _swigc__p_wxChoice,
14028 _swigc__p_wxChoicebook,
14029 _swigc__p_wxChoicebookEvent,
14030 _swigc__p_wxClipboardTextEvent,
14031 _swigc__p_wxCloseEvent,
14032 _swigc__p_wxColour,
14033 _swigc__p_wxColourData,
14034 _swigc__p_wxColourDialog,
14035 _swigc__p_wxColourPickerCtrl,
14036 _swigc__p_wxColourPickerEvent,
14037 _swigc__p_wxComboBox,
14038 _swigc__p_wxCommandEvent,
14039 _swigc__p_wxContextHelp,
14040 _swigc__p_wxContextHelpButton,
14041 _swigc__p_wxContextMenuEvent,
14042 _swigc__p_wxControl,
14043 _swigc__p_wxControlWithItems,
14044 _swigc__p_wxDateEvent,
14045 _swigc__p_wxDatePickerCtrl,
14046 _swigc__p_wxDialog,
14047 _swigc__p_wxDirDialog,
14048 _swigc__p_wxDirFilterListCtrl,
14049 _swigc__p_wxDirPickerCtrl,
14050 _swigc__p_wxDisplayChangedEvent,
14051 _swigc__p_wxDropFilesEvent,
14052 _swigc__p_wxDuplexMode,
14053 _swigc__p_wxDynamicSashSplitEvent,
14054 _swigc__p_wxDynamicSashUnifyEvent,
14055 _swigc__p_wxDynamicSashWindow,
14056 _swigc__p_wxEditableListBox,
14057 _swigc__p_wxEraseEvent,
14058 _swigc__p_wxEvent,
14059 _swigc__p_wxEvtHandler,
14060 _swigc__p_wxFSFile,
14061 _swigc__p_wxFileDialog,
14062 _swigc__p_wxFileDirPickerEvent,
14063 _swigc__p_wxFilePickerCtrl,
14064 _swigc__p_wxFileSystem,
14065 _swigc__p_wxFindDialogEvent,
14066 _swigc__p_wxFindReplaceData,
14067 _swigc__p_wxFindReplaceDialog,
14068 _swigc__p_wxFlexGridSizer,
14069 _swigc__p_wxFocusEvent,
14070 _swigc__p_wxFont,
14071 _swigc__p_wxFontData,
14072 _swigc__p_wxFontDialog,
14073 _swigc__p_wxFontPickerCtrl,
14074 _swigc__p_wxFontPickerEvent,
14075 _swigc__p_wxFrame,
14076 _swigc__p_wxGBSizerItem,
14077 _swigc__p_wxGIFHandler,
14078 _swigc__p_wxGauge,
14079 _swigc__p_wxGenericDirCtrl,
14080 _swigc__p_wxGenericDragImage,
14081 _swigc__p_wxGridBagSizer,
14082 _swigc__p_wxGridSizer,
14083 _swigc__p_wxHelpEvent,
14084 _swigc__p_wxHyperlinkCtrl,
14085 _swigc__p_wxHyperlinkEvent,
14086 _swigc__p_wxICOHandler,
14087 _swigc__p_wxIcon,
14088 _swigc__p_wxIconizeEvent,
14089 _swigc__p_wxIdleEvent,
14090 _swigc__p_wxImage,
14091 _swigc__p_wxImageHandler,
14092 _swigc__p_wxImageList,
14093 _swigc__p_wxIndividualLayoutConstraint,
14094 _swigc__p_wxInitDialogEvent,
14095 _swigc__p_wxJPEGHandler,
14096 _swigc__p_wxKeyEvent,
14097 _swigc__p_wxLEDNumberCtrl,
14098 _swigc__p_wxLayoutAlgorithm,
14099 _swigc__p_wxLayoutConstraints,
14100 _swigc__p_wxListBox,
14101 _swigc__p_wxListEvent,
14102 _swigc__p_wxListItem,
14103 _swigc__p_wxListView,
14104 _swigc__p_wxListbook,
14105 _swigc__p_wxListbookEvent,
14106 _swigc__p_wxMDIChildFrame,
14107 _swigc__p_wxMDIClientWindow,
14108 _swigc__p_wxMDIParentFrame,
14109 _swigc__p_wxMaximizeEvent,
14110 _swigc__p_wxMenu,
14111 _swigc__p_wxMenuBar,
14112 _swigc__p_wxMenuEvent,
14113 _swigc__p_wxMenuItem,
14114 _swigc__p_wxMessageDialog,
14115 _swigc__p_wxMiniFrame,
14116 _swigc__p_wxMouseCaptureChangedEvent,
14117 _swigc__p_wxMouseCaptureLostEvent,
14118 _swigc__p_wxMouseEvent,
14119 _swigc__p_wxMoveEvent,
14120 _swigc__p_wxMultiChoiceDialog,
14121 _swigc__p_wxNavigationKeyEvent,
14122 _swigc__p_wxNcPaintEvent,
14123 _swigc__p_wxNotebook,
14124 _swigc__p_wxNotebookEvent,
14125 _swigc__p_wxNotifyEvent,
14126 _swigc__p_wxNumberEntryDialog,
14127 _swigc__p_wxObject,
14128 _swigc__p_wxPCXHandler,
14129 _swigc__p_wxPNGHandler,
14130 _swigc__p_wxPNMHandler,
14131 _swigc__p_wxPageSetupDialog,
14132 _swigc__p_wxPageSetupDialogData,
14133 _swigc__p_wxPaintEvent,
14134 _swigc__p_wxPaletteChangedEvent,
14135 _swigc__p_wxPanel,
14136 _swigc__p_wxPaperSize,
14137 _swigc__p_wxPasswordEntryDialog,
14138 _swigc__p_wxPickerBase,
14139 _swigc__p_wxPopupWindow,
14140 _swigc__p_wxPreviewCanvas,
14141 _swigc__p_wxPreviewControlBar,
14142 _swigc__p_wxPreviewFrame,
14143 _swigc__p_wxPrintData,
14144 _swigc__p_wxPrintDialog,
14145 _swigc__p_wxPrintDialogData,
14146 _swigc__p_wxPrintPreview,
14147 _swigc__p_wxPrinter,
14148 _swigc__p_wxProgressDialog,
14149 _swigc__p_wxPyApp,
14150 _swigc__p_wxPyCommandEvent,
14151 _swigc__p_wxPyControl,
14152 _swigc__p_wxPyEvent,
14153 _swigc__p_wxPyHtmlListBox,
14154 _swigc__p_wxPyImageHandler,
14155 _swigc__p_wxPyListCtrl,
14156 _swigc__p_wxPyPanel,
14157 _swigc__p_wxPyPopupTransientWindow,
14158 _swigc__p_wxPyPreviewControlBar,
14159 _swigc__p_wxPyPreviewFrame,
14160 _swigc__p_wxPyPrintPreview,
14161 _swigc__p_wxPyPrintout,
14162 _swigc__p_wxPyScrolledWindow,
14163 _swigc__p_wxPySizer,
14164 _swigc__p_wxPyTaskBarIcon,
14165 _swigc__p_wxPyTreeCompanionWindow,
14166 _swigc__p_wxPyTreeCtrl,
14167 _swigc__p_wxPyTreeItemData,
14168 _swigc__p_wxPyTreeListCtrl,
14169 _swigc__p_wxPyVListBox,
14170 _swigc__p_wxPyVScrolledWindow,
14171 _swigc__p_wxPyValidator,
14172 _swigc__p_wxPyWindow,
14173 _swigc__p_wxQueryLayoutInfoEvent,
14174 _swigc__p_wxQueryNewPaletteEvent,
14175 _swigc__p_wxRadioBox,
14176 _swigc__p_wxRadioButton,
14177 _swigc__p_wxRemotelyScrolledTreeCtrl,
14178 _swigc__p_wxSashEvent,
14179 _swigc__p_wxSashLayoutWindow,
14180 _swigc__p_wxSashWindow,
14181 _swigc__p_wxScrollBar,
14182 _swigc__p_wxScrollEvent,
14183 _swigc__p_wxScrollWinEvent,
14184 _swigc__p_wxScrolledWindow,
14185 _swigc__p_wxSetCursorEvent,
14186 _swigc__p_wxShowEvent,
14187 _swigc__p_wxSingleChoiceDialog,
14188 _swigc__p_wxSizeEvent,
14189 _swigc__p_wxSizer,
14190 _swigc__p_wxSizerItem,
14191 _swigc__p_wxSlider,
14192 _swigc__p_wxSpinButton,
14193 _swigc__p_wxSpinCtrl,
14194 _swigc__p_wxSpinEvent,
14195 _swigc__p_wxSplashScreen,
14196 _swigc__p_wxSplashScreenWindow,
14197 _swigc__p_wxSplitterEvent,
14198 _swigc__p_wxSplitterScrolledWindow,
14199 _swigc__p_wxSplitterWindow,
14200 _swigc__p_wxStaticBitmap,
14201 _swigc__p_wxStaticBox,
14202 _swigc__p_wxStaticBoxSizer,
14203 _swigc__p_wxStaticLine,
14204 _swigc__p_wxStaticPicture,
14205 _swigc__p_wxStaticText,
14206 _swigc__p_wxStatusBar,
14207 _swigc__p_wxStdDialogButtonSizer,
14208 _swigc__p_wxSysColourChangedEvent,
14209 _swigc__p_wxTIFFHandler,
14210 _swigc__p_wxTaskBarIconEvent,
14211 _swigc__p_wxTextCtrl,
14212 _swigc__p_wxTextEntryDialog,
14213 _swigc__p_wxTextUrlEvent,
14214 _swigc__p_wxThinSplitterWindow,
14215 _swigc__p_wxTipWindow,
14216 _swigc__p_wxToggleButton,
14217 _swigc__p_wxToolBar,
14218 _swigc__p_wxToolBarBase,
14219 _swigc__p_wxToolBarToolBase,
14220 _swigc__p_wxToolbook,
14221 _swigc__p_wxToolbookEvent,
14222 _swigc__p_wxTopLevelWindow,
14223 _swigc__p_wxTreeEvent,
14224 _swigc__p_wxTreeItemId,
14225 _swigc__p_wxTreeListColumnInfo,
14226 _swigc__p_wxTreebook,
14227 _swigc__p_wxTreebookEvent,
14228 _swigc__p_wxUpdateUIEvent,
14229 _swigc__p_wxValidator,
14230 _swigc__p_wxWindow,
14231 _swigc__p_wxWindowCreateEvent,
14232 _swigc__p_wxWindowDestroyEvent,
14233 _swigc__p_wxXPMHandler,
14234 };
14235
14236
14237 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14238
14239 static swig_const_info swig_const_table[] = {
14240 {0, 0, 0, 0.0, 0, 0}};
14241
14242 #ifdef __cplusplus
14243 }
14244 #endif
14245 /* -----------------------------------------------------------------------------
14246 * Type initialization:
14247 * This problem is tough by the requirement that no dynamic
14248 * memory is used. Also, since swig_type_info structures store pointers to
14249 * swig_cast_info structures and swig_cast_info structures store pointers back
14250 * to swig_type_info structures, we need some lookup code at initialization.
14251 * The idea is that swig generates all the structures that are needed.
14252 * The runtime then collects these partially filled structures.
14253 * The SWIG_InitializeModule function takes these initial arrays out of
14254 * swig_module, and does all the lookup, filling in the swig_module.types
14255 * array with the correct data and linking the correct swig_cast_info
14256 * structures together.
14257 *
14258 * The generated swig_type_info structures are assigned staticly to an initial
14259 * array. We just loop though that array, and handle each type individually.
14260 * First we lookup if this type has been already loaded, and if so, use the
14261 * loaded structure instead of the generated one. Then we have to fill in the
14262 * cast linked list. The cast data is initially stored in something like a
14263 * two-dimensional array. Each row corresponds to a type (there are the same
14264 * number of rows as there are in the swig_type_initial array). Each entry in
14265 * a column is one of the swig_cast_info structures for that type.
14266 * The cast_initial array is actually an array of arrays, because each row has
14267 * a variable number of columns. So to actually build the cast linked list,
14268 * we find the array of casts associated with the type, and loop through it
14269 * adding the casts to the list. The one last trick we need to do is making
14270 * sure the type pointer in the swig_cast_info struct is correct.
14271 *
14272 * First off, we lookup the cast->type name to see if it is already loaded.
14273 * There are three cases to handle:
14274 * 1) If the cast->type has already been loaded AND the type we are adding
14275 * casting info to has not been loaded (it is in this module), THEN we
14276 * replace the cast->type pointer with the type pointer that has already
14277 * been loaded.
14278 * 2) If BOTH types (the one we are adding casting info to, and the
14279 * cast->type) are loaded, THEN the cast info has already been loaded by
14280 * the previous module so we just ignore it.
14281 * 3) Finally, if cast->type has not already been loaded, then we add that
14282 * swig_cast_info to the linked list (because the cast->type) pointer will
14283 * be correct.
14284 * ----------------------------------------------------------------------------- */
14285
14286 #ifdef __cplusplus
14287 extern "C" {
14288 #if 0
14289 } /* c-mode */
14290 #endif
14291 #endif
14292
14293 #if 0
14294 #define SWIGRUNTIME_DEBUG
14295 #endif
14296
14297 SWIGRUNTIME void
14298 SWIG_InitializeModule(void *clientdata) {
14299 size_t i;
14300 swig_module_info *module_head;
14301 static int init_run = 0;
14302
14303 clientdata = clientdata;
14304
14305 if (init_run) return;
14306 init_run = 1;
14307
14308 /* Initialize the swig_module */
14309 swig_module.type_initial = swig_type_initial;
14310 swig_module.cast_initial = swig_cast_initial;
14311
14312 /* Try and load any already created modules */
14313 module_head = SWIG_GetModule(clientdata);
14314 if (module_head) {
14315 swig_module.next = module_head->next;
14316 module_head->next = &swig_module;
14317 } else {
14318 /* This is the first module loaded */
14319 swig_module.next = &swig_module;
14320 SWIG_SetModule(clientdata, &swig_module);
14321 }
14322
14323 /* Now work on filling in swig_module.types */
14324 #ifdef SWIGRUNTIME_DEBUG
14325 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
14326 #endif
14327 for (i = 0; i < swig_module.size; ++i) {
14328 swig_type_info *type = 0;
14329 swig_type_info *ret;
14330 swig_cast_info *cast;
14331
14332 #ifdef SWIGRUNTIME_DEBUG
14333 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14334 #endif
14335
14336 /* if there is another module already loaded */
14337 if (swig_module.next != &swig_module) {
14338 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14339 }
14340 if (type) {
14341 /* Overwrite clientdata field */
14342 #ifdef SWIGRUNTIME_DEBUG
14343 printf("SWIG_InitializeModule: found type %s\n", type->name);
14344 #endif
14345 if (swig_module.type_initial[i]->clientdata) {
14346 type->clientdata = swig_module.type_initial[i]->clientdata;
14347 #ifdef SWIGRUNTIME_DEBUG
14348 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14349 #endif
14350 }
14351 } else {
14352 type = swig_module.type_initial[i];
14353 }
14354
14355 /* Insert casting types */
14356 cast = swig_module.cast_initial[i];
14357 while (cast->type) {
14358 /* Don't need to add information already in the list */
14359 ret = 0;
14360 #ifdef SWIGRUNTIME_DEBUG
14361 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14362 #endif
14363 if (swig_module.next != &swig_module) {
14364 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14365 #ifdef SWIGRUNTIME_DEBUG
14366 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14367 #endif
14368 }
14369 if (ret) {
14370 if (type == swig_module.type_initial[i]) {
14371 #ifdef SWIGRUNTIME_DEBUG
14372 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14373 #endif
14374 cast->type = ret;
14375 ret = 0;
14376 } else {
14377 /* Check for casting already in the list */
14378 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14379 #ifdef SWIGRUNTIME_DEBUG
14380 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14381 #endif
14382 if (!ocast) ret = 0;
14383 }
14384 }
14385
14386 if (!ret) {
14387 #ifdef SWIGRUNTIME_DEBUG
14388 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14389 #endif
14390 if (type->cast) {
14391 type->cast->prev = cast;
14392 cast->next = type->cast;
14393 }
14394 type->cast = cast;
14395 }
14396 cast++;
14397 }
14398 /* Set entry in modules->types array equal to the type */
14399 swig_module.types[i] = type;
14400 }
14401 swig_module.types[i] = 0;
14402
14403 #ifdef SWIGRUNTIME_DEBUG
14404 printf("**** SWIG_InitializeModule: Cast List ******\n");
14405 for (i = 0; i < swig_module.size; ++i) {
14406 int j = 0;
14407 swig_cast_info *cast = swig_module.cast_initial[i];
14408 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14409 while (cast->type) {
14410 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14411 cast++;
14412 ++j;
14413 }
14414 printf("---- Total casts: %d\n",j);
14415 }
14416 printf("**** SWIG_InitializeModule: Cast List ******\n");
14417 #endif
14418 }
14419
14420 /* This function will propagate the clientdata field of type to
14421 * any new swig_type_info structures that have been added into the list
14422 * of equivalent types. It is like calling
14423 * SWIG_TypeClientData(type, clientdata) a second time.
14424 */
14425 SWIGRUNTIME void
14426 SWIG_PropagateClientData(void) {
14427 size_t i;
14428 swig_cast_info *equiv;
14429 static int init_run = 0;
14430
14431 if (init_run) return;
14432 init_run = 1;
14433
14434 for (i = 0; i < swig_module.size; i++) {
14435 if (swig_module.types[i]->clientdata) {
14436 equiv = swig_module.types[i]->cast;
14437 while (equiv) {
14438 if (!equiv->converter) {
14439 if (equiv->type && !equiv->type->clientdata)
14440 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14441 }
14442 equiv = equiv->next;
14443 }
14444 }
14445 }
14446 }
14447
14448 #ifdef __cplusplus
14449 #if 0
14450 {
14451 /* c-mode */
14452 #endif
14453 }
14454 #endif
14455
14456
14457
14458 #ifdef __cplusplus
14459 extern "C" {
14460 #endif
14461
14462 /* Python-specific SWIG API */
14463 #define SWIG_newvarlink() SWIG_Python_newvarlink()
14464 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14465 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14466
14467 /* -----------------------------------------------------------------------------
14468 * global variable support code.
14469 * ----------------------------------------------------------------------------- */
14470
14471 typedef struct swig_globalvar {
14472 char *name; /* Name of global variable */
14473 PyObject *(*get_attr)(void); /* Return the current value */
14474 int (*set_attr)(PyObject *); /* Set the value */
14475 struct swig_globalvar *next;
14476 } swig_globalvar;
14477
14478 typedef struct swig_varlinkobject {
14479 PyObject_HEAD
14480 swig_globalvar *vars;
14481 } swig_varlinkobject;
14482
14483 SWIGINTERN PyObject *
14484 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14485 return PyString_FromString("<Swig global variables>");
14486 }
14487
14488 SWIGINTERN PyObject *
14489 swig_varlink_str(swig_varlinkobject *v) {
14490 PyObject *str = PyString_FromString("(");
14491 swig_globalvar *var;
14492 for (var = v->vars; var; var=var->next) {
14493 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14494 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14495 }
14496 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14497 return str;
14498 }
14499
14500 SWIGINTERN int
14501 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14502 PyObject *str = swig_varlink_str(v);
14503 fprintf(fp,"Swig global variables ");
14504 fprintf(fp,"%s\n", PyString_AsString(str));
14505 Py_DECREF(str);
14506 return 0;
14507 }
14508
14509 SWIGINTERN void
14510 swig_varlink_dealloc(swig_varlinkobject *v) {
14511 swig_globalvar *var = v->vars;
14512 while (var) {
14513 swig_globalvar *n = var->next;
14514 free(var->name);
14515 free(var);
14516 var = n;
14517 }
14518 }
14519
14520 SWIGINTERN PyObject *
14521 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14522 PyObject *res = NULL;
14523 swig_globalvar *var = v->vars;
14524 while (var) {
14525 if (strcmp(var->name,n) == 0) {
14526 res = (*var->get_attr)();
14527 break;
14528 }
14529 var = var->next;
14530 }
14531 if (res == NULL && !PyErr_Occurred()) {
14532 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14533 }
14534 return res;
14535 }
14536
14537 SWIGINTERN int
14538 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14539 int res = 1;
14540 swig_globalvar *var = v->vars;
14541 while (var) {
14542 if (strcmp(var->name,n) == 0) {
14543 res = (*var->set_attr)(p);
14544 break;
14545 }
14546 var = var->next;
14547 }
14548 if (res == 1 && !PyErr_Occurred()) {
14549 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14550 }
14551 return res;
14552 }
14553
14554 SWIGINTERN PyTypeObject*
14555 swig_varlink_type(void) {
14556 static char varlink__doc__[] = "Swig var link object";
14557 static PyTypeObject varlink_type;
14558 static int type_init = 0;
14559 if (!type_init) {
14560 const PyTypeObject tmp
14561 = {
14562 PyObject_HEAD_INIT(NULL)
14563 0, /* Number of items in variable part (ob_size) */
14564 (char *)"swigvarlink", /* Type name (tp_name) */
14565 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14566 0, /* Itemsize (tp_itemsize) */
14567 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14568 (printfunc) swig_varlink_print, /* Print (tp_print) */
14569 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14570 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14571 0, /* tp_compare */
14572 (reprfunc) swig_varlink_repr, /* tp_repr */
14573 0, /* tp_as_number */
14574 0, /* tp_as_sequence */
14575 0, /* tp_as_mapping */
14576 0, /* tp_hash */
14577 0, /* tp_call */
14578 (reprfunc)swig_varlink_str, /* tp_str */
14579 0, /* tp_getattro */
14580 0, /* tp_setattro */
14581 0, /* tp_as_buffer */
14582 0, /* tp_flags */
14583 varlink__doc__, /* tp_doc */
14584 0, /* tp_traverse */
14585 0, /* tp_clear */
14586 0, /* tp_richcompare */
14587 0, /* tp_weaklistoffset */
14588 #if PY_VERSION_HEX >= 0x02020000
14589 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14590 #endif
14591 #if PY_VERSION_HEX >= 0x02030000
14592 0, /* tp_del */
14593 #endif
14594 #ifdef COUNT_ALLOCS
14595 0,0,0,0 /* tp_alloc -> tp_next */
14596 #endif
14597 };
14598 varlink_type = tmp;
14599 varlink_type.ob_type = &PyType_Type;
14600 type_init = 1;
14601 }
14602 return &varlink_type;
14603 }
14604
14605 /* Create a variable linking object for use later */
14606 SWIGINTERN PyObject *
14607 SWIG_Python_newvarlink(void) {
14608 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14609 if (result) {
14610 result->vars = 0;
14611 }
14612 return ((PyObject*) result);
14613 }
14614
14615 SWIGINTERN void
14616 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14617 swig_varlinkobject *v = (swig_varlinkobject *) p;
14618 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14619 if (gv) {
14620 size_t size = strlen(name)+1;
14621 gv->name = (char *)malloc(size);
14622 if (gv->name) {
14623 strncpy(gv->name,name,size);
14624 gv->get_attr = get_attr;
14625 gv->set_attr = set_attr;
14626 gv->next = v->vars;
14627 }
14628 }
14629 v->vars = gv;
14630 }
14631
14632 SWIGINTERN PyObject *
14633 SWIG_globals() {
14634 static PyObject *_SWIG_globals = 0;
14635 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14636 return _SWIG_globals;
14637 }
14638
14639 /* -----------------------------------------------------------------------------
14640 * constants/methods manipulation
14641 * ----------------------------------------------------------------------------- */
14642
14643 /* Install Constants */
14644 SWIGINTERN void
14645 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14646 PyObject *obj = 0;
14647 size_t i;
14648 for (i = 0; constants[i].type; ++i) {
14649 switch(constants[i].type) {
14650 case SWIG_PY_POINTER:
14651 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14652 break;
14653 case SWIG_PY_BINARY:
14654 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14655 break;
14656 default:
14657 obj = 0;
14658 break;
14659 }
14660 if (obj) {
14661 PyDict_SetItemString(d, constants[i].name, obj);
14662 Py_DECREF(obj);
14663 }
14664 }
14665 }
14666
14667 /* -----------------------------------------------------------------------------*/
14668 /* Fix SwigMethods to carry the callback ptrs when needed */
14669 /* -----------------------------------------------------------------------------*/
14670
14671 SWIGINTERN void
14672 SWIG_Python_FixMethods(PyMethodDef *methods,
14673 swig_const_info *const_table,
14674 swig_type_info **types,
14675 swig_type_info **types_initial) {
14676 size_t i;
14677 for (i = 0; methods[i].ml_name; ++i) {
14678 const char *c = methods[i].ml_doc;
14679 if (c && (c = strstr(c, "swig_ptr: "))) {
14680 int j;
14681 swig_const_info *ci = 0;
14682 const char *name = c + 10;
14683 for (j = 0; const_table[j].type; ++j) {
14684 if (strncmp(const_table[j].name, name,
14685 strlen(const_table[j].name)) == 0) {
14686 ci = &(const_table[j]);
14687 break;
14688 }
14689 }
14690 if (ci) {
14691 size_t shift = (ci->ptype) - types;
14692 swig_type_info *ty = types_initial[shift];
14693 size_t ldoc = (c - methods[i].ml_doc);
14694 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14695 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14696 if (ndoc) {
14697 char *buff = ndoc;
14698 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14699 if (ptr) {
14700 strncpy(buff, methods[i].ml_doc, ldoc);
14701 buff += ldoc;
14702 strncpy(buff, "swig_ptr: ", 10);
14703 buff += 10;
14704 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14705 methods[i].ml_doc = ndoc;
14706 }
14707 }
14708 }
14709 }
14710 }
14711 }
14712
14713 #ifdef __cplusplus
14714 }
14715 #endif
14716
14717 /* -----------------------------------------------------------------------------*
14718 * Partial Init method
14719 * -----------------------------------------------------------------------------*/
14720
14721 #ifdef __cplusplus
14722 extern "C"
14723 #endif
14724 SWIGEXPORT void SWIG_init(void) {
14725 PyObject *m, *d;
14726
14727 /* Fix SwigMethods to carry the callback ptrs when needed */
14728 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14729
14730 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14731 d = PyModule_GetDict(m);
14732
14733 SWIG_InitializeModule(0);
14734 SWIG_InstallConstants(d,swig_const_table);
14735
14736
14737 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14738 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14739 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14740 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14741 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14742 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14743 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14744 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14745 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14746 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14747 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14748 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14749 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14750 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14751 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14752 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14753 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14754 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14755 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14756 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14757 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14758 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14759 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14760 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14761 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
14762 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14763 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14764 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14765
14766 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14767
14768 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14769 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14770 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14771 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14772
14773 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14774
14775 }
14776