]> 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_wxCollapsiblePane swig_types[28]
2495 #define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[29]
2496 #define SWIGTYPE_p_wxColour swig_types[30]
2497 #define SWIGTYPE_p_wxColourData swig_types[31]
2498 #define SWIGTYPE_p_wxColourDialog swig_types[32]
2499 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500 #define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501 #define SWIGTYPE_p_wxComboBox swig_types[35]
2502 #define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503 #define SWIGTYPE_p_wxContextHelp swig_types[37]
2504 #define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505 #define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506 #define SWIGTYPE_p_wxControl swig_types[40]
2507 #define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508 #define SWIGTYPE_p_wxDateEvent swig_types[42]
2509 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510 #define SWIGTYPE_p_wxDialog swig_types[44]
2511 #define SWIGTYPE_p_wxDirDialog swig_types[45]
2512 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[46]
2513 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[47]
2514 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48]
2515 #define SWIGTYPE_p_wxDropFilesEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDuplexMode swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[51]
2518 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[52]
2519 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[53]
2520 #define SWIGTYPE_p_wxEditableListBox swig_types[54]
2521 #define SWIGTYPE_p_wxEraseEvent swig_types[55]
2522 #define SWIGTYPE_p_wxEvent swig_types[56]
2523 #define SWIGTYPE_p_wxEvtHandler swig_types[57]
2524 #define SWIGTYPE_p_wxFSFile swig_types[58]
2525 #define SWIGTYPE_p_wxFileDialog swig_types[59]
2526 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[60]
2527 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[61]
2528 #define SWIGTYPE_p_wxFileSystem swig_types[62]
2529 #define SWIGTYPE_p_wxFindDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxFindReplaceData swig_types[64]
2531 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[65]
2532 #define SWIGTYPE_p_wxFlexGridSizer swig_types[66]
2533 #define SWIGTYPE_p_wxFocusEvent swig_types[67]
2534 #define SWIGTYPE_p_wxFont swig_types[68]
2535 #define SWIGTYPE_p_wxFontData swig_types[69]
2536 #define SWIGTYPE_p_wxFontDialog swig_types[70]
2537 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[71]
2538 #define SWIGTYPE_p_wxFontPickerEvent swig_types[72]
2539 #define SWIGTYPE_p_wxFrame swig_types[73]
2540 #define SWIGTYPE_p_wxGBSizerItem swig_types[74]
2541 #define SWIGTYPE_p_wxGIFHandler swig_types[75]
2542 #define SWIGTYPE_p_wxGauge swig_types[76]
2543 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[77]
2544 #define SWIGTYPE_p_wxGenericDragImage swig_types[78]
2545 #define SWIGTYPE_p_wxGridBagSizer swig_types[79]
2546 #define SWIGTYPE_p_wxGridSizer swig_types[80]
2547 #define SWIGTYPE_p_wxHelpEvent swig_types[81]
2548 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[82]
2549 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[83]
2550 #define SWIGTYPE_p_wxICOHandler swig_types[84]
2551 #define SWIGTYPE_p_wxIcon swig_types[85]
2552 #define SWIGTYPE_p_wxIconizeEvent swig_types[86]
2553 #define SWIGTYPE_p_wxIdleEvent swig_types[87]
2554 #define SWIGTYPE_p_wxImage swig_types[88]
2555 #define SWIGTYPE_p_wxImageHandler swig_types[89]
2556 #define SWIGTYPE_p_wxImageList swig_types[90]
2557 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
2558 #define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
2559 #define SWIGTYPE_p_wxJPEGHandler swig_types[93]
2560 #define SWIGTYPE_p_wxKeyEvent swig_types[94]
2561 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[95]
2562 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[96]
2563 #define SWIGTYPE_p_wxLayoutConstraints swig_types[97]
2564 #define SWIGTYPE_p_wxListBox swig_types[98]
2565 #define SWIGTYPE_p_wxListEvent swig_types[99]
2566 #define SWIGTYPE_p_wxListItem swig_types[100]
2567 #define SWIGTYPE_p_wxListView swig_types[101]
2568 #define SWIGTYPE_p_wxListbook swig_types[102]
2569 #define SWIGTYPE_p_wxListbookEvent swig_types[103]
2570 #define SWIGTYPE_p_wxMDIChildFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMDIClientWindow swig_types[105]
2572 #define SWIGTYPE_p_wxMDIParentFrame swig_types[106]
2573 #define SWIGTYPE_p_wxMaximizeEvent swig_types[107]
2574 #define SWIGTYPE_p_wxMenu swig_types[108]
2575 #define SWIGTYPE_p_wxMenuBar swig_types[109]
2576 #define SWIGTYPE_p_wxMenuEvent swig_types[110]
2577 #define SWIGTYPE_p_wxMenuItem swig_types[111]
2578 #define SWIGTYPE_p_wxMessageDialog swig_types[112]
2579 #define SWIGTYPE_p_wxMiniFrame swig_types[113]
2580 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMouseEvent swig_types[116]
2583 #define SWIGTYPE_p_wxMoveEvent swig_types[117]
2584 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[118]
2585 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[119]
2586 #define SWIGTYPE_p_wxNcPaintEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNotebook swig_types[121]
2588 #define SWIGTYPE_p_wxNotebookEvent swig_types[122]
2589 #define SWIGTYPE_p_wxNotifyEvent swig_types[123]
2590 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[124]
2591 #define SWIGTYPE_p_wxObject swig_types[125]
2592 #define SWIGTYPE_p_wxPCXHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPNGHandler swig_types[127]
2594 #define SWIGTYPE_p_wxPNMHandler swig_types[128]
2595 #define SWIGTYPE_p_wxPageSetupDialog swig_types[129]
2596 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[130]
2597 #define SWIGTYPE_p_wxPaintEvent swig_types[131]
2598 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[132]
2599 #define SWIGTYPE_p_wxPanel swig_types[133]
2600 #define SWIGTYPE_p_wxPaperSize swig_types[134]
2601 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[135]
2602 #define SWIGTYPE_p_wxPickerBase swig_types[136]
2603 #define SWIGTYPE_p_wxPopupWindow swig_types[137]
2604 #define SWIGTYPE_p_wxPreviewCanvas swig_types[138]
2605 #define SWIGTYPE_p_wxPreviewControlBar swig_types[139]
2606 #define SWIGTYPE_p_wxPreviewFrame swig_types[140]
2607 #define SWIGTYPE_p_wxPrintData swig_types[141]
2608 #define SWIGTYPE_p_wxPrintDialog swig_types[142]
2609 #define SWIGTYPE_p_wxPrintDialogData swig_types[143]
2610 #define SWIGTYPE_p_wxPrintPreview swig_types[144]
2611 #define SWIGTYPE_p_wxPrinter swig_types[145]
2612 #define SWIGTYPE_p_wxProgressDialog swig_types[146]
2613 #define SWIGTYPE_p_wxPyApp swig_types[147]
2614 #define SWIGTYPE_p_wxPyCommandEvent swig_types[148]
2615 #define SWIGTYPE_p_wxPyControl swig_types[149]
2616 #define SWIGTYPE_p_wxPyEvent swig_types[150]
2617 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[151]
2618 #define SWIGTYPE_p_wxPyImageHandler swig_types[152]
2619 #define SWIGTYPE_p_wxPyListCtrl swig_types[153]
2620 #define SWIGTYPE_p_wxPyPanel swig_types[154]
2621 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[155]
2622 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[156]
2623 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[157]
2624 #define SWIGTYPE_p_wxPyPrintPreview swig_types[158]
2625 #define SWIGTYPE_p_wxPyPrintout swig_types[159]
2626 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[160]
2627 #define SWIGTYPE_p_wxPySizer swig_types[161]
2628 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[162]
2629 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[164]
2631 #define SWIGTYPE_p_wxPyTreeItemData swig_types[165]
2632 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[166]
2633 #define SWIGTYPE_p_wxPyVListBox swig_types[167]
2634 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[168]
2635 #define SWIGTYPE_p_wxPyValidator swig_types[169]
2636 #define SWIGTYPE_p_wxPyWindow swig_types[170]
2637 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[171]
2638 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[172]
2639 #define SWIGTYPE_p_wxRadioBox swig_types[173]
2640 #define SWIGTYPE_p_wxRadioButton swig_types[174]
2641 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[175]
2642 #define SWIGTYPE_p_wxSashEvent swig_types[176]
2643 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[177]
2644 #define SWIGTYPE_p_wxSashWindow swig_types[178]
2645 #define SWIGTYPE_p_wxScrollBar swig_types[179]
2646 #define SWIGTYPE_p_wxScrollEvent swig_types[180]
2647 #define SWIGTYPE_p_wxScrollWinEvent swig_types[181]
2648 #define SWIGTYPE_p_wxScrolledWindow swig_types[182]
2649 #define SWIGTYPE_p_wxSearchCtrl swig_types[183]
2650 #define SWIGTYPE_p_wxSetCursorEvent swig_types[184]
2651 #define SWIGTYPE_p_wxShowEvent swig_types[185]
2652 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[186]
2653 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[187]
2654 #define SWIGTYPE_p_wxSizeEvent swig_types[188]
2655 #define SWIGTYPE_p_wxSizer swig_types[189]
2656 #define SWIGTYPE_p_wxSizerItem swig_types[190]
2657 #define SWIGTYPE_p_wxSlider swig_types[191]
2658 #define SWIGTYPE_p_wxSpinButton swig_types[192]
2659 #define SWIGTYPE_p_wxSpinCtrl swig_types[193]
2660 #define SWIGTYPE_p_wxSpinEvent swig_types[194]
2661 #define SWIGTYPE_p_wxSplashScreen swig_types[195]
2662 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[196]
2663 #define SWIGTYPE_p_wxSplitterEvent swig_types[197]
2664 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[198]
2665 #define SWIGTYPE_p_wxSplitterWindow swig_types[199]
2666 #define SWIGTYPE_p_wxStaticBitmap swig_types[200]
2667 #define SWIGTYPE_p_wxStaticBox swig_types[201]
2668 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[202]
2669 #define SWIGTYPE_p_wxStaticLine swig_types[203]
2670 #define SWIGTYPE_p_wxStaticPicture swig_types[204]
2671 #define SWIGTYPE_p_wxStaticText swig_types[205]
2672 #define SWIGTYPE_p_wxStatusBar swig_types[206]
2673 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[207]
2674 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[208]
2675 #define SWIGTYPE_p_wxTGAHandler swig_types[209]
2676 #define SWIGTYPE_p_wxTIFFHandler swig_types[210]
2677 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[211]
2678 #define SWIGTYPE_p_wxTextCtrl swig_types[212]
2679 #define SWIGTYPE_p_wxTextEntryDialog swig_types[213]
2680 #define SWIGTYPE_p_wxTextUrlEvent swig_types[214]
2681 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[215]
2682 #define SWIGTYPE_p_wxTipWindow swig_types[216]
2683 #define SWIGTYPE_p_wxToggleButton swig_types[217]
2684 #define SWIGTYPE_p_wxToolBar swig_types[218]
2685 #define SWIGTYPE_p_wxToolBarBase swig_types[219]
2686 #define SWIGTYPE_p_wxToolBarToolBase swig_types[220]
2687 #define SWIGTYPE_p_wxToolbook swig_types[221]
2688 #define SWIGTYPE_p_wxToolbookEvent swig_types[222]
2689 #define SWIGTYPE_p_wxTopLevelWindow swig_types[223]
2690 #define SWIGTYPE_p_wxTreeEvent swig_types[224]
2691 #define SWIGTYPE_p_wxTreeItemId swig_types[225]
2692 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[226]
2693 #define SWIGTYPE_p_wxTreebook swig_types[227]
2694 #define SWIGTYPE_p_wxTreebookEvent swig_types[228]
2695 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[229]
2696 #define SWIGTYPE_p_wxValidator swig_types[230]
2697 #define SWIGTYPE_p_wxWindow swig_types[231]
2698 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[232]
2699 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[233]
2700 #define SWIGTYPE_p_wxXPMHandler swig_types[234]
2701 static swig_type_info *swig_types[236];
2702 static swig_module_info swig_module = {swig_types, 235, 0, 0, 0, 0};
2703 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2704 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2705
2706 /* -------- TYPES TABLE (END) -------- */
2707
2708 #if (PY_VERSION_HEX <= 0x02000000)
2709 # if !defined(SWIG_PYTHON_CLASSIC)
2710 # error "This python version requires to use swig with the '-classic' option"
2711 # endif
2712 #endif
2713 #if (PY_VERSION_HEX <= 0x02020000)
2714 # error "This python version requires to use swig with the '-nomodern' option"
2715 #endif
2716 #if (PY_VERSION_HEX <= 0x02020000)
2717 # error "This python version requires to use swig with the '-nomodernargs' option"
2718 #endif
2719 #ifndef METH_O
2720 # error "This python version requires to use swig with the '-nofastunpack' option"
2721 #endif
2722
2723 /*-----------------------------------------------
2724 @(target):= _gizmos.so
2725 ------------------------------------------------*/
2726 #define SWIG_init init_gizmos
2727
2728 #define SWIG_name "_gizmos"
2729
2730 #define SWIGVERSION 0x010329
2731
2732
2733 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2734 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2735
2736
2737 #include <stdexcept>
2738
2739
2740 namespace swig {
2741 class PyObject_ptr {
2742 protected:
2743 PyObject *_obj;
2744
2745 public:
2746 PyObject_ptr() :_obj(0)
2747 {
2748 }
2749
2750 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2751 {
2752 Py_XINCREF(_obj);
2753 }
2754
2755 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2756 {
2757 if (initial_ref) Py_XINCREF(_obj);
2758 }
2759
2760 PyObject_ptr & operator=(const PyObject_ptr& item)
2761 {
2762 Py_XINCREF(item._obj);
2763 Py_XDECREF(_obj);
2764 _obj = item._obj;
2765 return *this;
2766 }
2767
2768 ~PyObject_ptr()
2769 {
2770 Py_XDECREF(_obj);
2771 }
2772
2773 operator PyObject *() const
2774 {
2775 return _obj;
2776 }
2777
2778 PyObject *operator->() const
2779 {
2780 return _obj;
2781 }
2782 };
2783 }
2784
2785
2786 namespace swig {
2787 struct PyObject_var : PyObject_ptr {
2788 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2789
2790 PyObject_var & operator = (PyObject* obj)
2791 {
2792 Py_XDECREF(_obj);
2793 _obj = obj;
2794 return *this;
2795 }
2796 };
2797 }
2798
2799
2800 #include "wx/wxPython/wxPython.h"
2801 #include "wx/wxPython/pyclasses.h"
2802
2803 #include <wx/gizmos/dynamicsash.h>
2804 #include <wx/gizmos/editlbox.h>
2805 #include <wx/gizmos/splittree.h>
2806 #include <wx/gizmos/ledctrl.h>
2807 #include <wx/gizmos/statpict.h>
2808
2809 #include <wx/listctrl.h>
2810 #include <wx/treectrl.h>
2811 #include <wx/imaglist.h>
2812
2813
2814 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2815 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2816 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2817 static const wxString wxPyEmptyString(wxEmptyString);
2818
2819 #define SWIG_From_long PyInt_FromLong
2820
2821
2822 SWIGINTERNINLINE PyObject *
2823 SWIG_From_int (int value)
2824 {
2825 return SWIG_From_long (value);
2826 }
2827
2828
2829 #include <limits.h>
2830 #ifndef LLONG_MIN
2831 # define LLONG_MIN LONG_LONG_MIN
2832 #endif
2833 #ifndef LLONG_MAX
2834 # define LLONG_MAX LONG_LONG_MAX
2835 #endif
2836 #ifndef ULLONG_MAX
2837 # define ULLONG_MAX ULONG_LONG_MAX
2838 #endif
2839
2840
2841 SWIGINTERN int
2842 SWIG_AsVal_long (PyObject* obj, long* val)
2843 {
2844 if (PyNumber_Check(obj)) {
2845 if (val) *val = PyInt_AsLong(obj);
2846 return SWIG_OK;
2847 }
2848 return SWIG_TypeError;
2849 }
2850
2851
2852 SWIGINTERN int
2853 SWIG_AsVal_int (PyObject * obj, int *val)
2854 {
2855 long v;
2856 int res = SWIG_AsVal_long (obj, &v);
2857 if (SWIG_IsOK(res)) {
2858 if ((v < INT_MIN || v > INT_MAX)) {
2859 return SWIG_OverflowError;
2860 } else {
2861 if (val) *val = static_cast< int >(v);
2862 }
2863 }
2864 return res;
2865 }
2866
2867 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2868 wxArrayString strings;
2869 self->GetStrings(strings);
2870 return wxArrayString2PyList_helper(strings);
2871 }
2872
2873 typedef wxTreeCtrl wxPyTreeCtrl;
2874
2875
2876 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2877 {
2878 public:
2879 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2880 const wxPoint& pos = wxDefaultPosition,
2881 const wxSize& size = wxDefaultSize,
2882 long style = 0)
2883 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2884
2885
2886 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2887 bool found;
2888 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2889 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2890 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2891 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2892 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2893 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2894 Py_DECREF(dcobj);
2895 Py_DECREF(idobj);
2896 Py_DECREF(recobj);
2897 }
2898 wxPyEndBlockThreads(blocked);
2899 if (! found)
2900 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2901 }
2902
2903 PYPRIVATE;
2904 };
2905
2906
2907 SWIGINTERN int
2908 SWIG_AsVal_bool (PyObject *obj, bool *val)
2909 {
2910 if (obj == Py_True) {
2911 if (val) *val = true;
2912 return SWIG_OK;
2913 } else if (obj == Py_False) {
2914 if (val) *val = false;
2915 return SWIG_OK;
2916 } else {
2917 long v = 0;
2918 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2919 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2920 return res;
2921 }
2922 }
2923
2924
2925 #include "wx/treelistctrl.h"
2926 #include "wx/wxPython/pytree.h"
2927
2928
2929 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2930
2931 SWIGINTERNINLINE PyObject*
2932 SWIG_From_unsigned_SS_long (unsigned long value)
2933 {
2934 return (value > LONG_MAX) ?
2935 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2936 }
2937
2938
2939 SWIGINTERNINLINE PyObject *
2940 SWIG_From_size_t (size_t value)
2941 {
2942 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2943 }
2944
2945
2946 SWIGINTERN int
2947 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2948 {
2949 long v = 0;
2950 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2951 return SWIG_TypeError;
2952 }
2953 else if (val)
2954 *val = (unsigned long)v;
2955 return SWIG_OK;
2956 }
2957
2958
2959 SWIGINTERNINLINE int
2960 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2961 {
2962 unsigned long v;
2963 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2964 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2965 return res;
2966 }
2967
2968 // C++ version of Python aware control
2969 class wxPyTreeListCtrl : public wxTreeListCtrl {
2970 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2971 public:
2972 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2973 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2974 const wxPoint& pos,
2975 const wxSize& size,
2976 long style,
2977 const wxValidator &validator,
2978 const wxString& name) :
2979 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2980
2981 virtual int OnCompareItems(const wxTreeItemId& item1,
2982 const wxTreeItemId& item2) {
2983 int rval = 0;
2984 bool found;
2985 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2986 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2987 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2988 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2989 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2990 Py_DECREF(o1);
2991 Py_DECREF(o2);
2992 }
2993 wxPyEndBlockThreads(blocked);
2994 if (! found)
2995 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2996 return rval;
2997 }
2998
2999 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
3000 wxString rval;
3001 bool found;
3002 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3003 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
3004 PyObject* ro;
3005 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3006 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3007 Py_DECREF(itemo);
3008 if (ro) {
3009 rval = Py2wxString(ro);
3010 Py_DECREF(ro);
3011 }
3012 }
3013 wxPyEndBlockThreads(blocked);
3014 if (! found)
3015 rval = wxTreeListCtrl::OnGetItemText(item, column);
3016 return rval;
3017 }
3018
3019 PYPRIVATE;
3020 };
3021
3022 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3023
3024
3025
3026 SWIGINTERNINLINE PyObject *
3027 SWIG_From_unsigned_SS_int (unsigned int value)
3028 {
3029 return SWIG_From_unsigned_SS_long (value);
3030 }
3031
3032
3033 SWIGINTERN int
3034 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3035 {
3036 unsigned long v;
3037 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3038 if (SWIG_IsOK(res)) {
3039 if ((v > UINT_MAX)) {
3040 return SWIG_OverflowError;
3041 } else {
3042 if (val) *val = static_cast< unsigned int >(v);
3043 }
3044 }
3045 return res;
3046 }
3047
3048 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3049 if (column < 0) column = self->GetMainColumn();
3050 return self->GetItemText(item, column);
3051 }
3052 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3053 if (column < 0) column = self->GetMainColumn();
3054 return self->GetItemImage(item, column, which);
3055 }
3056 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3057 if (column < 0) column = self->GetMainColumn();
3058 self->SetItemText(item, column, text);
3059 }
3060 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3061 if (column < 0) column = self->GetMainColumn();
3062 self->SetItemImage(item, column, image, which);
3063 }
3064 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3065 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3066 if (data == NULL) {
3067 data = new wxPyTreeItemData();
3068 data->SetId(item); // set the id
3069 self->SetItemData(item, data);
3070 }
3071 return data;
3072 }
3073 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3074 data->SetId(item); // set the id
3075 self->SetItemData(item, data);
3076 }
3077 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3078 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3079 if (data == NULL) {
3080 data = new wxPyTreeItemData();
3081 data->SetId(item); // set the id
3082 self->SetItemData(item, data);
3083 }
3084 return data->GetData();
3085 }
3086 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3087 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3088 if (data == NULL) {
3089 data = new wxPyTreeItemData(obj);
3090 data->SetId(item); // set the id
3091 self->SetItemData(item, data);
3092 } else
3093 data->SetData(obj);
3094 }
3095 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3096 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3097 PyObject* rval = PyList_New(0);
3098 wxArrayTreeItemIds array;
3099 size_t num, x;
3100 num = self->GetSelections(array);
3101 for (x=0; x < num; x++) {
3102 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3103 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3104 PyList_Append(rval, item);
3105 Py_DECREF(item);
3106 }
3107 wxPyEndBlockThreads(blocked);
3108 return rval;
3109 }
3110 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3111 void* cookie = 0;
3112 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3113 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3114 PyObject* tup = PyTuple_New(2);
3115 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3116 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3117 wxPyEndBlockThreads(blocked);
3118 return tup;
3119 }
3120 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3121 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3122 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3123 PyObject* tup = PyTuple_New(2);
3124 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3125 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3126 wxPyEndBlockThreads(blocked);
3127 return tup;
3128 }
3129 SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3130 void* cookie = 0;
3131 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3132 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3133 PyObject* tup = PyTuple_New(2);
3134 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3135 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3136 wxPyEndBlockThreads(blocked);
3137 return tup;
3138 }
3139 SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3140 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3141 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3142 PyObject* tup = PyTuple_New(2);
3143 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3144 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3145 wxPyEndBlockThreads(blocked);
3146 return tup;
3147 }
3148 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3149 wxRect rect;
3150 if (self->GetBoundingRect(item, rect, textOnly)) {
3151 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3152 wxRect* r = new wxRect(rect);
3153 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3154 wxPyEndBlockThreads(blocked);
3155 return val;
3156 }
3157 else {
3158 RETURN_NONE();
3159 }
3160 }
3161 SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3162 if (column < 0) column = self->GetMainColumn();
3163 self->EditLabel(item, column);
3164 }
3165
3166 #include <float.h>
3167
3168
3169 SWIGINTERN int
3170 SWIG_AsVal_double (PyObject *obj, double* val)
3171 {
3172 if (PyNumber_Check(obj)) {
3173 if (val) *val = PyFloat_AsDouble(obj);
3174 return SWIG_OK;
3175 }
3176 return SWIG_TypeError;
3177 }
3178
3179
3180 SWIGINTERN int
3181 SWIG_AsVal_float (PyObject * obj, float *val)
3182 {
3183 double v;
3184 int res = SWIG_AsVal_double (obj, &v);
3185 if (SWIG_IsOK(res)) {
3186 if ((v < -FLT_MAX || v > FLT_MAX)) {
3187 return SWIG_OverflowError;
3188 } else {
3189 if (val) *val = static_cast< float >(v);
3190 }
3191 }
3192 return res;
3193 }
3194
3195
3196 #define SWIG_From_double PyFloat_FromDouble
3197
3198
3199 SWIGINTERNINLINE PyObject *
3200 SWIG_From_float (float value)
3201 {
3202 return SWIG_From_double (value);
3203 }
3204
3205 #ifdef __cplusplus
3206 extern "C" {
3207 #endif
3208 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3209 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3210 return 1;
3211 }
3212
3213
3214 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3215 PyObject *pyobj = 0;
3216
3217 {
3218 #if wxUSE_UNICODE
3219 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3220 #else
3221 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3222 #endif
3223 }
3224 return pyobj;
3225 }
3226
3227
3228 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3229 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3230 return 1;
3231 }
3232
3233
3234 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3235 PyObject *pyobj = 0;
3236
3237 {
3238 #if wxUSE_UNICODE
3239 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3240 #else
3241 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3242 #endif
3243 }
3244 return pyobj;
3245 }
3246
3247
3248 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3249 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3250 return 1;
3251 }
3252
3253
3254 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3255 PyObject *pyobj = 0;
3256
3257 {
3258 #if wxUSE_UNICODE
3259 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3260 #else
3261 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3262 #endif
3263 }
3264 return pyobj;
3265 }
3266
3267
3268 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj = 0;
3270 wxObject *arg1 = (wxObject *) 0 ;
3271 wxDynamicSashSplitEvent *result = 0 ;
3272 void *argp1 = 0 ;
3273 int res1 = 0 ;
3274 PyObject * obj0 = 0 ;
3275 char * kwnames[] = {
3276 (char *) "target", NULL
3277 };
3278
3279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3281 if (!SWIG_IsOK(res1)) {
3282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3283 }
3284 arg1 = reinterpret_cast< wxObject * >(argp1);
3285 {
3286 PyThreadState* __tstate = wxPyBeginAllowThreads();
3287 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3288 wxPyEndAllowThreads(__tstate);
3289 if (PyErr_Occurred()) SWIG_fail;
3290 }
3291 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3292 return resultobj;
3293 fail:
3294 return NULL;
3295 }
3296
3297
3298 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3299 PyObject *obj;
3300 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3301 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3302 return SWIG_Py_Void();
3303 }
3304
3305 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3306 return SWIG_Python_InitShadowInstance(args);
3307 }
3308
3309 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3310 PyObject *resultobj = 0;
3311 wxObject *arg1 = (wxObject *) 0 ;
3312 wxDynamicSashUnifyEvent *result = 0 ;
3313 void *argp1 = 0 ;
3314 int res1 = 0 ;
3315 PyObject * obj0 = 0 ;
3316 char * kwnames[] = {
3317 (char *) "target", NULL
3318 };
3319
3320 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3321 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3322 if (!SWIG_IsOK(res1)) {
3323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3324 }
3325 arg1 = reinterpret_cast< wxObject * >(argp1);
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3333 return resultobj;
3334 fail:
3335 return NULL;
3336 }
3337
3338
3339 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3340 PyObject *obj;
3341 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3342 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3343 return SWIG_Py_Void();
3344 }
3345
3346 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3347 return SWIG_Python_InitShadowInstance(args);
3348 }
3349
3350 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3351 PyObject *resultobj = 0;
3352 wxWindow *arg1 = (wxWindow *) 0 ;
3353 int arg2 = (int) -1 ;
3354 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3355 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3356 wxSize const &arg4_defvalue = wxDefaultSize ;
3357 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3358 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3359 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3360 wxString *arg6 = (wxString *) &arg6_defvalue ;
3361 wxDynamicSashWindow *result = 0 ;
3362 void *argp1 = 0 ;
3363 int res1 = 0 ;
3364 int val2 ;
3365 int ecode2 = 0 ;
3366 wxPoint temp3 ;
3367 wxSize temp4 ;
3368 long val5 ;
3369 int ecode5 = 0 ;
3370 bool temp6 = false ;
3371 PyObject * obj0 = 0 ;
3372 PyObject * obj1 = 0 ;
3373 PyObject * obj2 = 0 ;
3374 PyObject * obj3 = 0 ;
3375 PyObject * obj4 = 0 ;
3376 PyObject * obj5 = 0 ;
3377 char * kwnames[] = {
3378 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3379 };
3380
3381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3383 if (!SWIG_IsOK(res1)) {
3384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3385 }
3386 arg1 = reinterpret_cast< wxWindow * >(argp1);
3387 if (obj1) {
3388 ecode2 = SWIG_AsVal_int(obj1, &val2);
3389 if (!SWIG_IsOK(ecode2)) {
3390 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3391 }
3392 arg2 = static_cast< int >(val2);
3393 }
3394 if (obj2) {
3395 {
3396 arg3 = &temp3;
3397 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3398 }
3399 }
3400 if (obj3) {
3401 {
3402 arg4 = &temp4;
3403 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3404 }
3405 }
3406 if (obj4) {
3407 ecode5 = SWIG_AsVal_long(obj4, &val5);
3408 if (!SWIG_IsOK(ecode5)) {
3409 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3410 }
3411 arg5 = static_cast< long >(val5);
3412 }
3413 if (obj5) {
3414 {
3415 arg6 = wxString_in_helper(obj5);
3416 if (arg6 == NULL) SWIG_fail;
3417 temp6 = true;
3418 }
3419 }
3420 {
3421 if (!wxPyCheckForApp()) SWIG_fail;
3422 PyThreadState* __tstate = wxPyBeginAllowThreads();
3423 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3424 wxPyEndAllowThreads(__tstate);
3425 if (PyErr_Occurred()) SWIG_fail;
3426 }
3427 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3428 {
3429 if (temp6)
3430 delete arg6;
3431 }
3432 return resultobj;
3433 fail:
3434 {
3435 if (temp6)
3436 delete arg6;
3437 }
3438 return NULL;
3439 }
3440
3441
3442 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3443 PyObject *resultobj = 0;
3444 wxDynamicSashWindow *result = 0 ;
3445
3446 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3447 {
3448 if (!wxPyCheckForApp()) SWIG_fail;
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3451 wxPyEndAllowThreads(__tstate);
3452 if (PyErr_Occurred()) SWIG_fail;
3453 }
3454 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3455 return resultobj;
3456 fail:
3457 return NULL;
3458 }
3459
3460
3461 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3462 PyObject *resultobj = 0;
3463 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3464 wxWindow *arg2 = (wxWindow *) 0 ;
3465 int arg3 = (int) -1 ;
3466 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3467 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3468 wxSize const &arg5_defvalue = wxDefaultSize ;
3469 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3470 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3471 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3472 wxString *arg7 = (wxString *) &arg7_defvalue ;
3473 bool result;
3474 void *argp1 = 0 ;
3475 int res1 = 0 ;
3476 void *argp2 = 0 ;
3477 int res2 = 0 ;
3478 int val3 ;
3479 int ecode3 = 0 ;
3480 wxPoint temp4 ;
3481 wxSize temp5 ;
3482 long val6 ;
3483 int ecode6 = 0 ;
3484 bool temp7 = false ;
3485 PyObject * obj0 = 0 ;
3486 PyObject * obj1 = 0 ;
3487 PyObject * obj2 = 0 ;
3488 PyObject * obj3 = 0 ;
3489 PyObject * obj4 = 0 ;
3490 PyObject * obj5 = 0 ;
3491 PyObject * obj6 = 0 ;
3492 char * kwnames[] = {
3493 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3494 };
3495
3496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3498 if (!SWIG_IsOK(res1)) {
3499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3500 }
3501 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3502 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3503 if (!SWIG_IsOK(res2)) {
3504 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3505 }
3506 arg2 = reinterpret_cast< wxWindow * >(argp2);
3507 if (obj2) {
3508 ecode3 = SWIG_AsVal_int(obj2, &val3);
3509 if (!SWIG_IsOK(ecode3)) {
3510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3511 }
3512 arg3 = static_cast< int >(val3);
3513 }
3514 if (obj3) {
3515 {
3516 arg4 = &temp4;
3517 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3518 }
3519 }
3520 if (obj4) {
3521 {
3522 arg5 = &temp5;
3523 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3524 }
3525 }
3526 if (obj5) {
3527 ecode6 = SWIG_AsVal_long(obj5, &val6);
3528 if (!SWIG_IsOK(ecode6)) {
3529 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3530 }
3531 arg6 = static_cast< long >(val6);
3532 }
3533 if (obj6) {
3534 {
3535 arg7 = wxString_in_helper(obj6);
3536 if (arg7 == NULL) SWIG_fail;
3537 temp7 = true;
3538 }
3539 }
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 {
3547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3548 }
3549 {
3550 if (temp7)
3551 delete arg7;
3552 }
3553 return resultobj;
3554 fail:
3555 {
3556 if (temp7)
3557 delete arg7;
3558 }
3559 return NULL;
3560 }
3561
3562
3563 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3564 PyObject *resultobj = 0;
3565 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3566 wxWindow *arg2 = (wxWindow *) 0 ;
3567 wxScrollBar *result = 0 ;
3568 void *argp1 = 0 ;
3569 int res1 = 0 ;
3570 void *argp2 = 0 ;
3571 int res2 = 0 ;
3572 PyObject * obj0 = 0 ;
3573 PyObject * obj1 = 0 ;
3574 char * kwnames[] = {
3575 (char *) "self",(char *) "child", NULL
3576 };
3577
3578 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3579 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3580 if (!SWIG_IsOK(res1)) {
3581 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3582 }
3583 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3584 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3585 if (!SWIG_IsOK(res2)) {
3586 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3587 }
3588 arg2 = reinterpret_cast< wxWindow * >(argp2);
3589 {
3590 PyThreadState* __tstate = wxPyBeginAllowThreads();
3591 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3596 return resultobj;
3597 fail:
3598 return NULL;
3599 }
3600
3601
3602 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3603 PyObject *resultobj = 0;
3604 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3605 wxWindow *arg2 = (wxWindow *) 0 ;
3606 wxScrollBar *result = 0 ;
3607 void *argp1 = 0 ;
3608 int res1 = 0 ;
3609 void *argp2 = 0 ;
3610 int res2 = 0 ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj1 = 0 ;
3613 char * kwnames[] = {
3614 (char *) "self",(char *) "child", NULL
3615 };
3616
3617 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3618 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3619 if (!SWIG_IsOK(res1)) {
3620 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3621 }
3622 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3623 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3624 if (!SWIG_IsOK(res2)) {
3625 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3626 }
3627 arg2 = reinterpret_cast< wxWindow * >(argp2);
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3631 wxPyEndAllowThreads(__tstate);
3632 if (PyErr_Occurred()) SWIG_fail;
3633 }
3634 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3635 return resultobj;
3636 fail:
3637 return NULL;
3638 }
3639
3640
3641 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3642 PyObject *obj;
3643 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3644 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3645 return SWIG_Py_Void();
3646 }
3647
3648 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3649 return SWIG_Python_InitShadowInstance(args);
3650 }
3651
3652 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3653 PyObject *resultobj = 0;
3654 wxWindow *arg1 = (wxWindow *) 0 ;
3655 int arg2 = (int) -1 ;
3656 wxString const &arg3_defvalue = wxPyEmptyString ;
3657 wxString *arg3 = (wxString *) &arg3_defvalue ;
3658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3660 wxSize const &arg5_defvalue = wxDefaultSize ;
3661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3662 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3663 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3664 wxString *arg7 = (wxString *) &arg7_defvalue ;
3665 wxEditableListBox *result = 0 ;
3666 void *argp1 = 0 ;
3667 int res1 = 0 ;
3668 int val2 ;
3669 int ecode2 = 0 ;
3670 bool temp3 = false ;
3671 wxPoint temp4 ;
3672 wxSize temp5 ;
3673 long val6 ;
3674 int ecode6 = 0 ;
3675 bool temp7 = false ;
3676 PyObject * obj0 = 0 ;
3677 PyObject * obj1 = 0 ;
3678 PyObject * obj2 = 0 ;
3679 PyObject * obj3 = 0 ;
3680 PyObject * obj4 = 0 ;
3681 PyObject * obj5 = 0 ;
3682 PyObject * obj6 = 0 ;
3683 char * kwnames[] = {
3684 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3685 };
3686
3687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3689 if (!SWIG_IsOK(res1)) {
3690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3691 }
3692 arg1 = reinterpret_cast< wxWindow * >(argp1);
3693 if (obj1) {
3694 ecode2 = SWIG_AsVal_int(obj1, &val2);
3695 if (!SWIG_IsOK(ecode2)) {
3696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3697 }
3698 arg2 = static_cast< int >(val2);
3699 }
3700 if (obj2) {
3701 {
3702 arg3 = wxString_in_helper(obj2);
3703 if (arg3 == NULL) SWIG_fail;
3704 temp3 = true;
3705 }
3706 }
3707 if (obj3) {
3708 {
3709 arg4 = &temp4;
3710 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3711 }
3712 }
3713 if (obj4) {
3714 {
3715 arg5 = &temp5;
3716 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3717 }
3718 }
3719 if (obj5) {
3720 ecode6 = SWIG_AsVal_long(obj5, &val6);
3721 if (!SWIG_IsOK(ecode6)) {
3722 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3723 }
3724 arg6 = static_cast< long >(val6);
3725 }
3726 if (obj6) {
3727 {
3728 arg7 = wxString_in_helper(obj6);
3729 if (arg7 == NULL) SWIG_fail;
3730 temp7 = true;
3731 }
3732 }
3733 {
3734 if (!wxPyCheckForApp()) SWIG_fail;
3735 PyThreadState* __tstate = wxPyBeginAllowThreads();
3736 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3737 wxPyEndAllowThreads(__tstate);
3738 if (PyErr_Occurred()) SWIG_fail;
3739 }
3740 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3741 {
3742 if (temp3)
3743 delete arg3;
3744 }
3745 {
3746 if (temp7)
3747 delete arg7;
3748 }
3749 return resultobj;
3750 fail:
3751 {
3752 if (temp3)
3753 delete arg3;
3754 }
3755 {
3756 if (temp7)
3757 delete arg7;
3758 }
3759 return NULL;
3760 }
3761
3762
3763 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3764 PyObject *resultobj = 0;
3765 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3766 wxArrayString *arg2 = 0 ;
3767 void *argp1 = 0 ;
3768 int res1 = 0 ;
3769 bool temp2 = false ;
3770 PyObject * obj0 = 0 ;
3771 PyObject * obj1 = 0 ;
3772 char * kwnames[] = {
3773 (char *) "self",(char *) "strings", NULL
3774 };
3775
3776 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3777 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3778 if (!SWIG_IsOK(res1)) {
3779 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3780 }
3781 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3782 {
3783 if (! PySequence_Check(obj1)) {
3784 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3785 SWIG_fail;
3786 }
3787 arg2 = new wxArrayString;
3788 temp2 = true;
3789 int i, len=PySequence_Length(obj1);
3790 for (i=0; i<len; i++) {
3791 PyObject* item = PySequence_GetItem(obj1, i);
3792 wxString* s = wxString_in_helper(item);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 arg2->Add(*s);
3795 delete s;
3796 Py_DECREF(item);
3797 }
3798 }
3799 {
3800 PyThreadState* __tstate = wxPyBeginAllowThreads();
3801 (arg1)->SetStrings((wxArrayString const &)*arg2);
3802 wxPyEndAllowThreads(__tstate);
3803 if (PyErr_Occurred()) SWIG_fail;
3804 }
3805 resultobj = SWIG_Py_Void();
3806 {
3807 if (temp2) delete arg2;
3808 }
3809 return resultobj;
3810 fail:
3811 {
3812 if (temp2) delete arg2;
3813 }
3814 return NULL;
3815 }
3816
3817
3818 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3819 PyObject *resultobj = 0;
3820 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3821 PyObject *result = 0 ;
3822 void *argp1 = 0 ;
3823 int res1 = 0 ;
3824 PyObject *swig_obj[1] ;
3825
3826 if (!args) SWIG_fail;
3827 swig_obj[0] = args;
3828 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3829 if (!SWIG_IsOK(res1)) {
3830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3831 }
3832 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3836 wxPyEndAllowThreads(__tstate);
3837 if (PyErr_Occurred()) SWIG_fail;
3838 }
3839 resultobj = result;
3840 return resultobj;
3841 fail:
3842 return NULL;
3843 }
3844
3845
3846 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3847 PyObject *resultobj = 0;
3848 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3849 wxPyListCtrl *result = 0 ;
3850 void *argp1 = 0 ;
3851 int res1 = 0 ;
3852 PyObject *swig_obj[1] ;
3853
3854 if (!args) SWIG_fail;
3855 swig_obj[0] = args;
3856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3857 if (!SWIG_IsOK(res1)) {
3858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3859 }
3860 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3861 {
3862 PyThreadState* __tstate = wxPyBeginAllowThreads();
3863 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 {
3868 resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0);
3869 }
3870 return resultobj;
3871 fail:
3872 return NULL;
3873 }
3874
3875
3876 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3877 PyObject *resultobj = 0;
3878 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3879 wxBitmapButton *result = 0 ;
3880 void *argp1 = 0 ;
3881 int res1 = 0 ;
3882 PyObject *swig_obj[1] ;
3883
3884 if (!args) SWIG_fail;
3885 swig_obj[0] = args;
3886 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3887 if (!SWIG_IsOK(res1)) {
3888 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3889 }
3890 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3891 {
3892 PyThreadState* __tstate = wxPyBeginAllowThreads();
3893 result = (wxBitmapButton *)(arg1)->GetDelButton();
3894 wxPyEndAllowThreads(__tstate);
3895 if (PyErr_Occurred()) SWIG_fail;
3896 }
3897 {
3898 resultobj = wxPyMake_wxObject(result, 0);
3899 }
3900 return resultobj;
3901 fail:
3902 return NULL;
3903 }
3904
3905
3906 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3907 PyObject *resultobj = 0;
3908 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3909 wxBitmapButton *result = 0 ;
3910 void *argp1 = 0 ;
3911 int res1 = 0 ;
3912 PyObject *swig_obj[1] ;
3913
3914 if (!args) SWIG_fail;
3915 swig_obj[0] = args;
3916 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3917 if (!SWIG_IsOK(res1)) {
3918 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3919 }
3920 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3921 {
3922 PyThreadState* __tstate = wxPyBeginAllowThreads();
3923 result = (wxBitmapButton *)(arg1)->GetNewButton();
3924 wxPyEndAllowThreads(__tstate);
3925 if (PyErr_Occurred()) SWIG_fail;
3926 }
3927 {
3928 resultobj = wxPyMake_wxObject(result, 0);
3929 }
3930 return resultobj;
3931 fail:
3932 return NULL;
3933 }
3934
3935
3936 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3937 PyObject *resultobj = 0;
3938 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3939 wxBitmapButton *result = 0 ;
3940 void *argp1 = 0 ;
3941 int res1 = 0 ;
3942 PyObject *swig_obj[1] ;
3943
3944 if (!args) SWIG_fail;
3945 swig_obj[0] = args;
3946 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3947 if (!SWIG_IsOK(res1)) {
3948 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3949 }
3950 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 result = (wxBitmapButton *)(arg1)->GetUpButton();
3954 wxPyEndAllowThreads(__tstate);
3955 if (PyErr_Occurred()) SWIG_fail;
3956 }
3957 {
3958 resultobj = wxPyMake_wxObject(result, 0);
3959 }
3960 return resultobj;
3961 fail:
3962 return NULL;
3963 }
3964
3965
3966 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3967 PyObject *resultobj = 0;
3968 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3969 wxBitmapButton *result = 0 ;
3970 void *argp1 = 0 ;
3971 int res1 = 0 ;
3972 PyObject *swig_obj[1] ;
3973
3974 if (!args) SWIG_fail;
3975 swig_obj[0] = args;
3976 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3977 if (!SWIG_IsOK(res1)) {
3978 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3979 }
3980 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3981 {
3982 PyThreadState* __tstate = wxPyBeginAllowThreads();
3983 result = (wxBitmapButton *)(arg1)->GetDownButton();
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 {
3988 resultobj = wxPyMake_wxObject(result, 0);
3989 }
3990 return resultobj;
3991 fail:
3992 return NULL;
3993 }
3994
3995
3996 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3997 PyObject *resultobj = 0;
3998 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3999 wxBitmapButton *result = 0 ;
4000 void *argp1 = 0 ;
4001 int res1 = 0 ;
4002 PyObject *swig_obj[1] ;
4003
4004 if (!args) SWIG_fail;
4005 swig_obj[0] = args;
4006 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4007 if (!SWIG_IsOK(res1)) {
4008 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4009 }
4010 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4011 {
4012 PyThreadState* __tstate = wxPyBeginAllowThreads();
4013 result = (wxBitmapButton *)(arg1)->GetEditButton();
4014 wxPyEndAllowThreads(__tstate);
4015 if (PyErr_Occurred()) SWIG_fail;
4016 }
4017 {
4018 resultobj = wxPyMake_wxObject(result, 0);
4019 }
4020 return resultobj;
4021 fail:
4022 return NULL;
4023 }
4024
4025
4026 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4027 PyObject *obj;
4028 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4029 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4030 return SWIG_Py_Void();
4031 }
4032
4033 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4034 return SWIG_Python_InitShadowInstance(args);
4035 }
4036
4037 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4038 PyObject *resultobj = 0;
4039 wxWindow *arg1 = (wxWindow *) 0 ;
4040 int arg2 ;
4041 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4042 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4043 wxSize const &arg4_defvalue = wxDefaultSize ;
4044 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4045 long arg5 = (long) wxTR_HAS_BUTTONS ;
4046 wxRemotelyScrolledTreeCtrl *result = 0 ;
4047 void *argp1 = 0 ;
4048 int res1 = 0 ;
4049 int val2 ;
4050 int ecode2 = 0 ;
4051 wxPoint temp3 ;
4052 wxSize temp4 ;
4053 long val5 ;
4054 int ecode5 = 0 ;
4055 PyObject * obj0 = 0 ;
4056 PyObject * obj1 = 0 ;
4057 PyObject * obj2 = 0 ;
4058 PyObject * obj3 = 0 ;
4059 PyObject * obj4 = 0 ;
4060 char * kwnames[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4062 };
4063
4064 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4065 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4066 if (!SWIG_IsOK(res1)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 }
4069 arg1 = reinterpret_cast< wxWindow * >(argp1);
4070 ecode2 = SWIG_AsVal_int(obj1, &val2);
4071 if (!SWIG_IsOK(ecode2)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4073 }
4074 arg2 = static_cast< int >(val2);
4075 if (obj2) {
4076 {
4077 arg3 = &temp3;
4078 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4079 }
4080 }
4081 if (obj3) {
4082 {
4083 arg4 = &temp4;
4084 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4085 }
4086 }
4087 if (obj4) {
4088 ecode5 = SWIG_AsVal_long(obj4, &val5);
4089 if (!SWIG_IsOK(ecode5)) {
4090 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4091 }
4092 arg5 = static_cast< long >(val5);
4093 }
4094 {
4095 if (!wxPyCheckForApp()) SWIG_fail;
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4098 wxPyEndAllowThreads(__tstate);
4099 if (PyErr_Occurred()) SWIG_fail;
4100 }
4101 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4102 return resultobj;
4103 fail:
4104 return NULL;
4105 }
4106
4107
4108 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4109 PyObject *resultobj = 0;
4110 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4111 void *argp1 = 0 ;
4112 int res1 = 0 ;
4113 PyObject *swig_obj[1] ;
4114
4115 if (!args) SWIG_fail;
4116 swig_obj[0] = args;
4117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4118 if (!SWIG_IsOK(res1)) {
4119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4120 }
4121 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 (arg1)->HideVScrollbar();
4125 wxPyEndAllowThreads(__tstate);
4126 if (PyErr_Occurred()) SWIG_fail;
4127 }
4128 resultobj = SWIG_Py_Void();
4129 return resultobj;
4130 fail:
4131 return NULL;
4132 }
4133
4134
4135 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4136 PyObject *resultobj = 0;
4137 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4138 void *argp1 = 0 ;
4139 int res1 = 0 ;
4140 PyObject *swig_obj[1] ;
4141
4142 if (!args) SWIG_fail;
4143 swig_obj[0] = args;
4144 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4145 if (!SWIG_IsOK(res1)) {
4146 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4147 }
4148 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4149 {
4150 PyThreadState* __tstate = wxPyBeginAllowThreads();
4151 (arg1)->AdjustRemoteScrollbars();
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_Py_Void();
4156 return resultobj;
4157 fail:
4158 return NULL;
4159 }
4160
4161
4162 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4163 PyObject *resultobj = 0;
4164 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4165 wxScrolledWindow *result = 0 ;
4166 void *argp1 = 0 ;
4167 int res1 = 0 ;
4168 PyObject *swig_obj[1] ;
4169
4170 if (!args) SWIG_fail;
4171 swig_obj[0] = args;
4172 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4173 if (!SWIG_IsOK(res1)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4175 }
4176 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4180 wxPyEndAllowThreads(__tstate);
4181 if (PyErr_Occurred()) SWIG_fail;
4182 }
4183 {
4184 resultobj = wxPyMake_wxObject(result, 0);
4185 }
4186 return resultobj;
4187 fail:
4188 return NULL;
4189 }
4190
4191
4192 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4193 PyObject *resultobj = 0;
4194 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4195 int arg2 ;
4196 int arg3 ;
4197 void *argp1 = 0 ;
4198 int res1 = 0 ;
4199 int val2 ;
4200 int ecode2 = 0 ;
4201 int val3 ;
4202 int ecode3 = 0 ;
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj1 = 0 ;
4205 PyObject * obj2 = 0 ;
4206 char * kwnames[] = {
4207 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4208 };
4209
4210 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4211 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4212 if (!SWIG_IsOK(res1)) {
4213 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4214 }
4215 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4216 ecode2 = SWIG_AsVal_int(obj1, &val2);
4217 if (!SWIG_IsOK(ecode2)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4219 }
4220 arg2 = static_cast< int >(val2);
4221 ecode3 = SWIG_AsVal_int(obj2, &val3);
4222 if (!SWIG_IsOK(ecode3)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4224 }
4225 arg3 = static_cast< int >(val3);
4226 {
4227 PyThreadState* __tstate = wxPyBeginAllowThreads();
4228 (arg1)->ScrollToLine(arg2,arg3);
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 resultobj = SWIG_Py_Void();
4233 return resultobj;
4234 fail:
4235 return NULL;
4236 }
4237
4238
4239 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4240 PyObject *resultobj = 0;
4241 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4242 wxWindow *arg2 = (wxWindow *) 0 ;
4243 void *argp1 = 0 ;
4244 int res1 = 0 ;
4245 void *argp2 = 0 ;
4246 int res2 = 0 ;
4247 PyObject * obj0 = 0 ;
4248 PyObject * obj1 = 0 ;
4249 char * kwnames[] = {
4250 (char *) "self",(char *) "companion", NULL
4251 };
4252
4253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4255 if (!SWIG_IsOK(res1)) {
4256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4257 }
4258 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4259 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4260 if (!SWIG_IsOK(res2)) {
4261 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4262 }
4263 arg2 = reinterpret_cast< wxWindow * >(argp2);
4264 {
4265 PyThreadState* __tstate = wxPyBeginAllowThreads();
4266 (arg1)->SetCompanionWindow(arg2);
4267 wxPyEndAllowThreads(__tstate);
4268 if (PyErr_Occurred()) SWIG_fail;
4269 }
4270 resultobj = SWIG_Py_Void();
4271 return resultobj;
4272 fail:
4273 return NULL;
4274 }
4275
4276
4277 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4278 PyObject *resultobj = 0;
4279 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4280 wxWindow *result = 0 ;
4281 void *argp1 = 0 ;
4282 int res1 = 0 ;
4283 PyObject *swig_obj[1] ;
4284
4285 if (!args) SWIG_fail;
4286 swig_obj[0] = args;
4287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4288 if (!SWIG_IsOK(res1)) {
4289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4290 }
4291 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4292 {
4293 PyThreadState* __tstate = wxPyBeginAllowThreads();
4294 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4295 wxPyEndAllowThreads(__tstate);
4296 if (PyErr_Occurred()) SWIG_fail;
4297 }
4298 {
4299 resultobj = wxPyMake_wxObject(result, 0);
4300 }
4301 return resultobj;
4302 fail:
4303 return NULL;
4304 }
4305
4306
4307 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4308 PyObject *obj;
4309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4310 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4311 return SWIG_Py_Void();
4312 }
4313
4314 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4315 return SWIG_Python_InitShadowInstance(args);
4316 }
4317
4318 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj = 0;
4320 wxWindow *arg1 = (wxWindow *) 0 ;
4321 int arg2 = (int) -1 ;
4322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4324 wxSize const &arg4_defvalue = wxDefaultSize ;
4325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4326 long arg5 = (long) 0 ;
4327 wxPyTreeCompanionWindow *result = 0 ;
4328 void *argp1 = 0 ;
4329 int res1 = 0 ;
4330 int val2 ;
4331 int ecode2 = 0 ;
4332 wxPoint temp3 ;
4333 wxSize temp4 ;
4334 long val5 ;
4335 int ecode5 = 0 ;
4336 PyObject * obj0 = 0 ;
4337 PyObject * obj1 = 0 ;
4338 PyObject * obj2 = 0 ;
4339 PyObject * obj3 = 0 ;
4340 PyObject * obj4 = 0 ;
4341 char * kwnames[] = {
4342 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4343 };
4344
4345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4347 if (!SWIG_IsOK(res1)) {
4348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4349 }
4350 arg1 = reinterpret_cast< wxWindow * >(argp1);
4351 if (obj1) {
4352 ecode2 = SWIG_AsVal_int(obj1, &val2);
4353 if (!SWIG_IsOK(ecode2)) {
4354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4355 }
4356 arg2 = static_cast< int >(val2);
4357 }
4358 if (obj2) {
4359 {
4360 arg3 = &temp3;
4361 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4362 }
4363 }
4364 if (obj3) {
4365 {
4366 arg4 = &temp4;
4367 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4368 }
4369 }
4370 if (obj4) {
4371 ecode5 = SWIG_AsVal_long(obj4, &val5);
4372 if (!SWIG_IsOK(ecode5)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4374 }
4375 arg5 = static_cast< long >(val5);
4376 }
4377 {
4378 if (!wxPyCheckForApp()) SWIG_fail;
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4385 return resultobj;
4386 fail:
4387 return NULL;
4388 }
4389
4390
4391 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4392 PyObject *resultobj = 0;
4393 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4394 PyObject *arg2 = (PyObject *) 0 ;
4395 PyObject *arg3 = (PyObject *) 0 ;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 PyObject * obj2 = 0 ;
4401 char * kwnames[] = {
4402 (char *) "self",(char *) "self",(char *) "_class", NULL
4403 };
4404
4405 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4406 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4407 if (!SWIG_IsOK(res1)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4409 }
4410 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4411 arg2 = obj1;
4412 arg3 = obj2;
4413 {
4414 PyThreadState* __tstate = wxPyBeginAllowThreads();
4415 (arg1)->_setCallbackInfo(arg2,arg3);
4416 wxPyEndAllowThreads(__tstate);
4417 if (PyErr_Occurred()) SWIG_fail;
4418 }
4419 resultobj = SWIG_Py_Void();
4420 return resultobj;
4421 fail:
4422 return NULL;
4423 }
4424
4425
4426 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4427 PyObject *resultobj = 0;
4428 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4429 wxRemotelyScrolledTreeCtrl *result = 0 ;
4430 void *argp1 = 0 ;
4431 int res1 = 0 ;
4432 PyObject *swig_obj[1] ;
4433
4434 if (!args) SWIG_fail;
4435 swig_obj[0] = args;
4436 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4437 if (!SWIG_IsOK(res1)) {
4438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4439 }
4440 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4441 {
4442 PyThreadState* __tstate = wxPyBeginAllowThreads();
4443 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4444 wxPyEndAllowThreads(__tstate);
4445 if (PyErr_Occurred()) SWIG_fail;
4446 }
4447 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4448 return resultobj;
4449 fail:
4450 return NULL;
4451 }
4452
4453
4454 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4455 PyObject *resultobj = 0;
4456 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4457 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4458 void *argp1 = 0 ;
4459 int res1 = 0 ;
4460 void *argp2 = 0 ;
4461 int res2 = 0 ;
4462 PyObject * obj0 = 0 ;
4463 PyObject * obj1 = 0 ;
4464 char * kwnames[] = {
4465 (char *) "self",(char *) "treeCtrl", NULL
4466 };
4467
4468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4470 if (!SWIG_IsOK(res1)) {
4471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4472 }
4473 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4474 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4475 if (!SWIG_IsOK(res2)) {
4476 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4477 }
4478 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4479 {
4480 PyThreadState* __tstate = wxPyBeginAllowThreads();
4481 (arg1)->SetTreeCtrl(arg2);
4482 wxPyEndAllowThreads(__tstate);
4483 if (PyErr_Occurred()) SWIG_fail;
4484 }
4485 resultobj = SWIG_Py_Void();
4486 return resultobj;
4487 fail:
4488 return NULL;
4489 }
4490
4491
4492 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4493 PyObject *obj;
4494 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4495 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4496 return SWIG_Py_Void();
4497 }
4498
4499 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4500 return SWIG_Python_InitShadowInstance(args);
4501 }
4502
4503 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4504 PyObject *resultobj = 0;
4505 wxWindow *arg1 = (wxWindow *) 0 ;
4506 int arg2 = (int) -1 ;
4507 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4508 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4509 wxSize const &arg4_defvalue = wxDefaultSize ;
4510 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4511 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4512 wxThinSplitterWindow *result = 0 ;
4513 void *argp1 = 0 ;
4514 int res1 = 0 ;
4515 int val2 ;
4516 int ecode2 = 0 ;
4517 wxPoint temp3 ;
4518 wxSize temp4 ;
4519 long val5 ;
4520 int ecode5 = 0 ;
4521 PyObject * obj0 = 0 ;
4522 PyObject * obj1 = 0 ;
4523 PyObject * obj2 = 0 ;
4524 PyObject * obj3 = 0 ;
4525 PyObject * obj4 = 0 ;
4526 char * kwnames[] = {
4527 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4528 };
4529
4530 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4531 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4532 if (!SWIG_IsOK(res1)) {
4533 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4534 }
4535 arg1 = reinterpret_cast< wxWindow * >(argp1);
4536 if (obj1) {
4537 ecode2 = SWIG_AsVal_int(obj1, &val2);
4538 if (!SWIG_IsOK(ecode2)) {
4539 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4540 }
4541 arg2 = static_cast< int >(val2);
4542 }
4543 if (obj2) {
4544 {
4545 arg3 = &temp3;
4546 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4547 }
4548 }
4549 if (obj3) {
4550 {
4551 arg4 = &temp4;
4552 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4553 }
4554 }
4555 if (obj4) {
4556 ecode5 = SWIG_AsVal_long(obj4, &val5);
4557 if (!SWIG_IsOK(ecode5)) {
4558 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4559 }
4560 arg5 = static_cast< long >(val5);
4561 }
4562 {
4563 if (!wxPyCheckForApp()) SWIG_fail;
4564 PyThreadState* __tstate = wxPyBeginAllowThreads();
4565 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4566 wxPyEndAllowThreads(__tstate);
4567 if (PyErr_Occurred()) SWIG_fail;
4568 }
4569 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4570 return resultobj;
4571 fail:
4572 return NULL;
4573 }
4574
4575
4576 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4577 PyObject *obj;
4578 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4579 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4580 return SWIG_Py_Void();
4581 }
4582
4583 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4584 return SWIG_Python_InitShadowInstance(args);
4585 }
4586
4587 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4588 PyObject *resultobj = 0;
4589 wxWindow *arg1 = (wxWindow *) 0 ;
4590 int arg2 = (int) -1 ;
4591 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4592 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4593 wxSize const &arg4_defvalue = wxDefaultSize ;
4594 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4595 long arg5 = (long) 0 ;
4596 wxSplitterScrolledWindow *result = 0 ;
4597 void *argp1 = 0 ;
4598 int res1 = 0 ;
4599 int val2 ;
4600 int ecode2 = 0 ;
4601 wxPoint temp3 ;
4602 wxSize temp4 ;
4603 long val5 ;
4604 int ecode5 = 0 ;
4605 PyObject * obj0 = 0 ;
4606 PyObject * obj1 = 0 ;
4607 PyObject * obj2 = 0 ;
4608 PyObject * obj3 = 0 ;
4609 PyObject * obj4 = 0 ;
4610 char * kwnames[] = {
4611 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4612 };
4613
4614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4616 if (!SWIG_IsOK(res1)) {
4617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4618 }
4619 arg1 = reinterpret_cast< wxWindow * >(argp1);
4620 if (obj1) {
4621 ecode2 = SWIG_AsVal_int(obj1, &val2);
4622 if (!SWIG_IsOK(ecode2)) {
4623 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4624 }
4625 arg2 = static_cast< int >(val2);
4626 }
4627 if (obj2) {
4628 {
4629 arg3 = &temp3;
4630 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4631 }
4632 }
4633 if (obj3) {
4634 {
4635 arg4 = &temp4;
4636 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4637 }
4638 }
4639 if (obj4) {
4640 ecode5 = SWIG_AsVal_long(obj4, &val5);
4641 if (!SWIG_IsOK(ecode5)) {
4642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4643 }
4644 arg5 = static_cast< long >(val5);
4645 }
4646 {
4647 if (!wxPyCheckForApp()) SWIG_fail;
4648 PyThreadState* __tstate = wxPyBeginAllowThreads();
4649 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4650 wxPyEndAllowThreads(__tstate);
4651 if (PyErr_Occurred()) SWIG_fail;
4652 }
4653 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4654 return resultobj;
4655 fail:
4656 return NULL;
4657 }
4658
4659
4660 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4661 PyObject *obj;
4662 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4663 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4664 return SWIG_Py_Void();
4665 }
4666
4667 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4668 return SWIG_Python_InitShadowInstance(args);
4669 }
4670
4671 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4672 PyObject *resultobj = 0;
4673 wxWindow *arg1 = (wxWindow *) 0 ;
4674 int arg2 = (int) -1 ;
4675 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4676 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4677 wxSize const &arg4_defvalue = wxDefaultSize ;
4678 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4679 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4680 wxLEDNumberCtrl *result = 0 ;
4681 void *argp1 = 0 ;
4682 int res1 = 0 ;
4683 int val2 ;
4684 int ecode2 = 0 ;
4685 wxPoint temp3 ;
4686 wxSize temp4 ;
4687 long val5 ;
4688 int ecode5 = 0 ;
4689 PyObject * obj0 = 0 ;
4690 PyObject * obj1 = 0 ;
4691 PyObject * obj2 = 0 ;
4692 PyObject * obj3 = 0 ;
4693 PyObject * obj4 = 0 ;
4694 char * kwnames[] = {
4695 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4696 };
4697
4698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4700 if (!SWIG_IsOK(res1)) {
4701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4702 }
4703 arg1 = reinterpret_cast< wxWindow * >(argp1);
4704 if (obj1) {
4705 ecode2 = SWIG_AsVal_int(obj1, &val2);
4706 if (!SWIG_IsOK(ecode2)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4708 }
4709 arg2 = static_cast< int >(val2);
4710 }
4711 if (obj2) {
4712 {
4713 arg3 = &temp3;
4714 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4715 }
4716 }
4717 if (obj3) {
4718 {
4719 arg4 = &temp4;
4720 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4721 }
4722 }
4723 if (obj4) {
4724 ecode5 = SWIG_AsVal_long(obj4, &val5);
4725 if (!SWIG_IsOK(ecode5)) {
4726 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4727 }
4728 arg5 = static_cast< long >(val5);
4729 }
4730 {
4731 if (!wxPyCheckForApp()) SWIG_fail;
4732 PyThreadState* __tstate = wxPyBeginAllowThreads();
4733 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4745 PyObject *resultobj = 0;
4746 wxLEDNumberCtrl *result = 0 ;
4747
4748 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4749 {
4750 if (!wxPyCheckForApp()) SWIG_fail;
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4753 wxPyEndAllowThreads(__tstate);
4754 if (PyErr_Occurred()) SWIG_fail;
4755 }
4756 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4757 return resultobj;
4758 fail:
4759 return NULL;
4760 }
4761
4762
4763 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4764 PyObject *resultobj = 0;
4765 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4766 wxWindow *arg2 = (wxWindow *) 0 ;
4767 int arg3 = (int) -1 ;
4768 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4769 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4770 wxSize const &arg5_defvalue = wxDefaultSize ;
4771 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4772 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4773 bool result;
4774 void *argp1 = 0 ;
4775 int res1 = 0 ;
4776 void *argp2 = 0 ;
4777 int res2 = 0 ;
4778 int val3 ;
4779 int ecode3 = 0 ;
4780 wxPoint temp4 ;
4781 wxSize temp5 ;
4782 long val6 ;
4783 int ecode6 = 0 ;
4784 PyObject * obj0 = 0 ;
4785 PyObject * obj1 = 0 ;
4786 PyObject * obj2 = 0 ;
4787 PyObject * obj3 = 0 ;
4788 PyObject * obj4 = 0 ;
4789 PyObject * obj5 = 0 ;
4790 char * kwnames[] = {
4791 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4792 };
4793
4794 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4795 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4796 if (!SWIG_IsOK(res1)) {
4797 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4798 }
4799 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4800 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4801 if (!SWIG_IsOK(res2)) {
4802 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4803 }
4804 arg2 = reinterpret_cast< wxWindow * >(argp2);
4805 if (obj2) {
4806 ecode3 = SWIG_AsVal_int(obj2, &val3);
4807 if (!SWIG_IsOK(ecode3)) {
4808 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4809 }
4810 arg3 = static_cast< int >(val3);
4811 }
4812 if (obj3) {
4813 {
4814 arg4 = &temp4;
4815 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4816 }
4817 }
4818 if (obj4) {
4819 {
4820 arg5 = &temp5;
4821 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4822 }
4823 }
4824 if (obj5) {
4825 ecode6 = SWIG_AsVal_long(obj5, &val6);
4826 if (!SWIG_IsOK(ecode6)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4828 }
4829 arg6 = static_cast< long >(val6);
4830 }
4831 {
4832 PyThreadState* __tstate = wxPyBeginAllowThreads();
4833 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4834 wxPyEndAllowThreads(__tstate);
4835 if (PyErr_Occurred()) SWIG_fail;
4836 }
4837 {
4838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4839 }
4840 return resultobj;
4841 fail:
4842 return NULL;
4843 }
4844
4845
4846 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4847 PyObject *resultobj = 0;
4848 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4849 wxLEDValueAlign result;
4850 void *argp1 = 0 ;
4851 int res1 = 0 ;
4852 PyObject *swig_obj[1] ;
4853
4854 if (!args) SWIG_fail;
4855 swig_obj[0] = args;
4856 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4857 if (!SWIG_IsOK(res1)) {
4858 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4859 }
4860 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
4867 resultobj = SWIG_From_int(static_cast< int >(result));
4868 return resultobj;
4869 fail:
4870 return NULL;
4871 }
4872
4873
4874 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4875 PyObject *resultobj = 0;
4876 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4877 bool result;
4878 void *argp1 = 0 ;
4879 int res1 = 0 ;
4880 PyObject *swig_obj[1] ;
4881
4882 if (!args) SWIG_fail;
4883 swig_obj[0] = args;
4884 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4885 if (!SWIG_IsOK(res1)) {
4886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4887 }
4888 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4892 wxPyEndAllowThreads(__tstate);
4893 if (PyErr_Occurred()) SWIG_fail;
4894 }
4895 {
4896 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4897 }
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4905 PyObject *resultobj = 0;
4906 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4907 wxString *result = 0 ;
4908 void *argp1 = 0 ;
4909 int res1 = 0 ;
4910 PyObject *swig_obj[1] ;
4911
4912 if (!args) SWIG_fail;
4913 swig_obj[0] = args;
4914 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4915 if (!SWIG_IsOK(res1)) {
4916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4917 }
4918 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 {
4922 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4923 result = (wxString *) &_result_ref;
4924 }
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 {
4929 #if wxUSE_UNICODE
4930 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4931 #else
4932 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4933 #endif
4934 }
4935 return resultobj;
4936 fail:
4937 return NULL;
4938 }
4939
4940
4941 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4942 PyObject *resultobj = 0;
4943 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4944 wxLEDValueAlign arg2 ;
4945 bool arg3 = (bool) true ;
4946 void *argp1 = 0 ;
4947 int res1 = 0 ;
4948 int val2 ;
4949 int ecode2 = 0 ;
4950 bool val3 ;
4951 int ecode3 = 0 ;
4952 PyObject * obj0 = 0 ;
4953 PyObject * obj1 = 0 ;
4954 PyObject * obj2 = 0 ;
4955 char * kwnames[] = {
4956 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4957 };
4958
4959 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4960 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4961 if (!SWIG_IsOK(res1)) {
4962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4963 }
4964 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4965 ecode2 = SWIG_AsVal_int(obj1, &val2);
4966 if (!SWIG_IsOK(ecode2)) {
4967 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4968 }
4969 arg2 = static_cast< wxLEDValueAlign >(val2);
4970 if (obj2) {
4971 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4972 if (!SWIG_IsOK(ecode3)) {
4973 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4974 }
4975 arg3 = static_cast< bool >(val3);
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 (arg1)->SetAlignment(arg2,arg3);
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 resultobj = SWIG_Py_Void();
4984 return resultobj;
4985 fail:
4986 return NULL;
4987 }
4988
4989
4990 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj = 0;
4992 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4993 bool arg2 ;
4994 bool arg3 = (bool) true ;
4995 void *argp1 = 0 ;
4996 int res1 = 0 ;
4997 bool val2 ;
4998 int ecode2 = 0 ;
4999 bool val3 ;
5000 int ecode3 = 0 ;
5001 PyObject * obj0 = 0 ;
5002 PyObject * obj1 = 0 ;
5003 PyObject * obj2 = 0 ;
5004 char * kwnames[] = {
5005 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5006 };
5007
5008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5010 if (!SWIG_IsOK(res1)) {
5011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5012 }
5013 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5014 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5015 if (!SWIG_IsOK(ecode2)) {
5016 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5017 }
5018 arg2 = static_cast< bool >(val2);
5019 if (obj2) {
5020 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5021 if (!SWIG_IsOK(ecode3)) {
5022 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5023 }
5024 arg3 = static_cast< bool >(val3);
5025 }
5026 {
5027 PyThreadState* __tstate = wxPyBeginAllowThreads();
5028 (arg1)->SetDrawFaded(arg2,arg3);
5029 wxPyEndAllowThreads(__tstate);
5030 if (PyErr_Occurred()) SWIG_fail;
5031 }
5032 resultobj = SWIG_Py_Void();
5033 return resultobj;
5034 fail:
5035 return NULL;
5036 }
5037
5038
5039 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5040 PyObject *resultobj = 0;
5041 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5042 wxString *arg2 = 0 ;
5043 bool arg3 = (bool) true ;
5044 void *argp1 = 0 ;
5045 int res1 = 0 ;
5046 bool temp2 = false ;
5047 bool val3 ;
5048 int ecode3 = 0 ;
5049 PyObject * obj0 = 0 ;
5050 PyObject * obj1 = 0 ;
5051 PyObject * obj2 = 0 ;
5052 char * kwnames[] = {
5053 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5054 };
5055
5056 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5057 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5058 if (!SWIG_IsOK(res1)) {
5059 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5060 }
5061 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5062 {
5063 arg2 = wxString_in_helper(obj1);
5064 if (arg2 == NULL) SWIG_fail;
5065 temp2 = true;
5066 }
5067 if (obj2) {
5068 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5069 if (!SWIG_IsOK(ecode3)) {
5070 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5071 }
5072 arg3 = static_cast< bool >(val3);
5073 }
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 (arg1)->SetValue((wxString const &)*arg2,arg3);
5077 wxPyEndAllowThreads(__tstate);
5078 if (PyErr_Occurred()) SWIG_fail;
5079 }
5080 resultobj = SWIG_Py_Void();
5081 {
5082 if (temp2)
5083 delete arg2;
5084 }
5085 return resultobj;
5086 fail:
5087 {
5088 if (temp2)
5089 delete arg2;
5090 }
5091 return NULL;
5092 }
5093
5094
5095 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5096 PyObject *obj;
5097 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5098 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5099 return SWIG_Py_Void();
5100 }
5101
5102 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5103 return SWIG_Python_InitShadowInstance(args);
5104 }
5105
5106 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5107 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5108 return 1;
5109 }
5110
5111
5112 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5113 PyObject *pyobj = 0;
5114
5115 {
5116 #if wxUSE_UNICODE
5117 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5118 #else
5119 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5120 #endif
5121 }
5122 return pyobj;
5123 }
5124
5125
5126 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5127 PyObject *resultobj = 0;
5128 wxString const &arg1_defvalue = wxPyEmptyString ;
5129 wxString *arg1 = (wxString *) &arg1_defvalue ;
5130 int arg2 = (int) DEFAULT_COL_WIDTH ;
5131 int arg3 = (int) wxALIGN_LEFT ;
5132 int arg4 = (int) -1 ;
5133 bool arg5 = (bool) true ;
5134 bool arg6 = (bool) false ;
5135 wxTreeListColumnInfo *result = 0 ;
5136 bool temp1 = false ;
5137 int val2 ;
5138 int ecode2 = 0 ;
5139 int val3 ;
5140 int ecode3 = 0 ;
5141 int val4 ;
5142 int ecode4 = 0 ;
5143 bool val5 ;
5144 int ecode5 = 0 ;
5145 bool val6 ;
5146 int ecode6 = 0 ;
5147 PyObject * obj0 = 0 ;
5148 PyObject * obj1 = 0 ;
5149 PyObject * obj2 = 0 ;
5150 PyObject * obj3 = 0 ;
5151 PyObject * obj4 = 0 ;
5152 PyObject * obj5 = 0 ;
5153 char * kwnames[] = {
5154 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5155 };
5156
5157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
5158 if (obj0) {
5159 {
5160 arg1 = wxString_in_helper(obj0);
5161 if (arg1 == NULL) SWIG_fail;
5162 temp1 = true;
5163 }
5164 }
5165 if (obj1) {
5166 ecode2 = SWIG_AsVal_int(obj1, &val2);
5167 if (!SWIG_IsOK(ecode2)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5169 }
5170 arg2 = static_cast< int >(val2);
5171 }
5172 if (obj2) {
5173 ecode3 = SWIG_AsVal_int(obj2, &val3);
5174 if (!SWIG_IsOK(ecode3)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5176 }
5177 arg3 = static_cast< int >(val3);
5178 }
5179 if (obj3) {
5180 ecode4 = SWIG_AsVal_int(obj3, &val4);
5181 if (!SWIG_IsOK(ecode4)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5183 }
5184 arg4 = static_cast< int >(val4);
5185 }
5186 if (obj4) {
5187 ecode5 = SWIG_AsVal_bool(obj4, &val5);
5188 if (!SWIG_IsOK(ecode5)) {
5189 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5190 }
5191 arg5 = static_cast< bool >(val5);
5192 }
5193 if (obj5) {
5194 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5195 if (!SWIG_IsOK(ecode6)) {
5196 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5197 }
5198 arg6 = static_cast< bool >(val6);
5199 }
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
5203 wxPyEndAllowThreads(__tstate);
5204 if (PyErr_Occurred()) SWIG_fail;
5205 }
5206 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5207 {
5208 if (temp1)
5209 delete arg1;
5210 }
5211 return resultobj;
5212 fail:
5213 {
5214 if (temp1)
5215 delete arg1;
5216 }
5217 return NULL;
5218 }
5219
5220
5221 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5222 PyObject *resultobj = 0;
5223 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5224 void *argp1 = 0 ;
5225 int res1 = 0 ;
5226 PyObject *swig_obj[1] ;
5227
5228 if (!args) SWIG_fail;
5229 swig_obj[0] = args;
5230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5231 if (!SWIG_IsOK(res1)) {
5232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5233 }
5234 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 delete arg1;
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 resultobj = SWIG_Py_Void();
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5250 PyObject *resultobj = 0;
5251 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5252 int result;
5253 void *argp1 = 0 ;
5254 int res1 = 0 ;
5255 PyObject *swig_obj[1] ;
5256
5257 if (!args) SWIG_fail;
5258 swig_obj[0] = args;
5259 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5260 if (!SWIG_IsOK(res1)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5262 }
5263 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5264 {
5265 PyThreadState* __tstate = wxPyBeginAllowThreads();
5266 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = SWIG_From_int(static_cast< int >(result));
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5278 PyObject *resultobj = 0;
5279 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5280 wxString result;
5281 void *argp1 = 0 ;
5282 int res1 = 0 ;
5283 PyObject *swig_obj[1] ;
5284
5285 if (!args) SWIG_fail;
5286 swig_obj[0] = args;
5287 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5288 if (!SWIG_IsOK(res1)) {
5289 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5290 }
5291 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5295 wxPyEndAllowThreads(__tstate);
5296 if (PyErr_Occurred()) SWIG_fail;
5297 }
5298 {
5299 #if wxUSE_UNICODE
5300 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5301 #else
5302 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5303 #endif
5304 }
5305 return resultobj;
5306 fail:
5307 return NULL;
5308 }
5309
5310
5311 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5312 PyObject *resultobj = 0;
5313 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5314 int result;
5315 void *argp1 = 0 ;
5316 int res1 = 0 ;
5317 PyObject *swig_obj[1] ;
5318
5319 if (!args) SWIG_fail;
5320 swig_obj[0] = args;
5321 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5322 if (!SWIG_IsOK(res1)) {
5323 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5324 }
5325 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5326 {
5327 PyThreadState* __tstate = wxPyBeginAllowThreads();
5328 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 resultobj = SWIG_From_int(static_cast< int >(result));
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5340 PyObject *resultobj = 0;
5341 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5342 int result;
5343 void *argp1 = 0 ;
5344 int res1 = 0 ;
5345 PyObject *swig_obj[1] ;
5346
5347 if (!args) SWIG_fail;
5348 swig_obj[0] = args;
5349 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5350 if (!SWIG_IsOK(res1)) {
5351 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5352 }
5353 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5357 wxPyEndAllowThreads(__tstate);
5358 if (PyErr_Occurred()) SWIG_fail;
5359 }
5360 resultobj = SWIG_From_int(static_cast< int >(result));
5361 return resultobj;
5362 fail:
5363 return NULL;
5364 }
5365
5366
5367 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5368 PyObject *resultobj = 0;
5369 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5370 size_t result;
5371 void *argp1 = 0 ;
5372 int res1 = 0 ;
5373 PyObject *swig_obj[1] ;
5374
5375 if (!args) SWIG_fail;
5376 swig_obj[0] = args;
5377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5378 if (!SWIG_IsOK(res1)) {
5379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5380 }
5381 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5385 wxPyEndAllowThreads(__tstate);
5386 if (PyErr_Occurred()) SWIG_fail;
5387 }
5388 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5389 return resultobj;
5390 fail:
5391 return NULL;
5392 }
5393
5394
5395 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5396 PyObject *resultobj = 0;
5397 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5398 bool result;
5399 void *argp1 = 0 ;
5400 int res1 = 0 ;
5401 PyObject *swig_obj[1] ;
5402
5403 if (!args) SWIG_fail;
5404 swig_obj[0] = args;
5405 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5406 if (!SWIG_IsOK(res1)) {
5407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5408 }
5409 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5410 {
5411 PyThreadState* __tstate = wxPyBeginAllowThreads();
5412 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
5413 wxPyEndAllowThreads(__tstate);
5414 if (PyErr_Occurred()) SWIG_fail;
5415 }
5416 {
5417 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5418 }
5419 return resultobj;
5420 fail:
5421 return NULL;
5422 }
5423
5424
5425 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5426 PyObject *resultobj = 0;
5427 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5428 bool result;
5429 void *argp1 = 0 ;
5430 int res1 = 0 ;
5431 PyObject *swig_obj[1] ;
5432
5433 if (!args) SWIG_fail;
5434 swig_obj[0] = args;
5435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5436 if (!SWIG_IsOK(res1)) {
5437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5438 }
5439 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5440 {
5441 PyThreadState* __tstate = wxPyBeginAllowThreads();
5442 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5443 wxPyEndAllowThreads(__tstate);
5444 if (PyErr_Occurred()) SWIG_fail;
5445 }
5446 {
5447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5448 }
5449 return resultobj;
5450 fail:
5451 return NULL;
5452 }
5453
5454
5455 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5456 PyObject *resultobj = 0;
5457 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5458 int arg2 ;
5459 void *argp1 = 0 ;
5460 int res1 = 0 ;
5461 int val2 ;
5462 int ecode2 = 0 ;
5463 PyObject * obj0 = 0 ;
5464 PyObject * obj1 = 0 ;
5465 char * kwnames[] = {
5466 (char *) "self",(char *) "alignment", NULL
5467 };
5468
5469 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5470 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5471 if (!SWIG_IsOK(res1)) {
5472 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5473 }
5474 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5475 ecode2 = SWIG_AsVal_int(obj1, &val2);
5476 if (!SWIG_IsOK(ecode2)) {
5477 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5478 }
5479 arg2 = static_cast< int >(val2);
5480 {
5481 PyThreadState* __tstate = wxPyBeginAllowThreads();
5482 (arg1)->SetAlignment(arg2);
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 resultobj = SWIG_Py_Void();
5487 return resultobj;
5488 fail:
5489 return NULL;
5490 }
5491
5492
5493 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj = 0;
5495 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5496 wxString *arg2 = 0 ;
5497 void *argp1 = 0 ;
5498 int res1 = 0 ;
5499 bool temp2 = false ;
5500 PyObject * obj0 = 0 ;
5501 PyObject * obj1 = 0 ;
5502 char * kwnames[] = {
5503 (char *) "self",(char *) "text", NULL
5504 };
5505
5506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5508 if (!SWIG_IsOK(res1)) {
5509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5510 }
5511 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5512 {
5513 arg2 = wxString_in_helper(obj1);
5514 if (arg2 == NULL) SWIG_fail;
5515 temp2 = true;
5516 }
5517 {
5518 PyThreadState* __tstate = wxPyBeginAllowThreads();
5519 (arg1)->SetText((wxString const &)*arg2);
5520 wxPyEndAllowThreads(__tstate);
5521 if (PyErr_Occurred()) SWIG_fail;
5522 }
5523 resultobj = SWIG_Py_Void();
5524 {
5525 if (temp2)
5526 delete arg2;
5527 }
5528 return resultobj;
5529 fail:
5530 {
5531 if (temp2)
5532 delete arg2;
5533 }
5534 return NULL;
5535 }
5536
5537
5538 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj = 0;
5540 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5541 int arg2 ;
5542 void *argp1 = 0 ;
5543 int res1 = 0 ;
5544 int val2 ;
5545 int ecode2 = 0 ;
5546 PyObject * obj0 = 0 ;
5547 PyObject * obj1 = 0 ;
5548 char * kwnames[] = {
5549 (char *) "self",(char *) "image", NULL
5550 };
5551
5552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5554 if (!SWIG_IsOK(res1)) {
5555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5556 }
5557 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5558 ecode2 = SWIG_AsVal_int(obj1, &val2);
5559 if (!SWIG_IsOK(ecode2)) {
5560 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5561 }
5562 arg2 = static_cast< int >(val2);
5563 {
5564 PyThreadState* __tstate = wxPyBeginAllowThreads();
5565 (arg1)->SetImage(arg2);
5566 wxPyEndAllowThreads(__tstate);
5567 if (PyErr_Occurred()) SWIG_fail;
5568 }
5569 resultobj = SWIG_Py_Void();
5570 return resultobj;
5571 fail:
5572 return NULL;
5573 }
5574
5575
5576 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5577 PyObject *resultobj = 0;
5578 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5579 int arg2 ;
5580 void *argp1 = 0 ;
5581 int res1 = 0 ;
5582 int val2 ;
5583 int ecode2 = 0 ;
5584 PyObject * obj0 = 0 ;
5585 PyObject * obj1 = 0 ;
5586 char * kwnames[] = {
5587 (char *) "self",(char *) "image", NULL
5588 };
5589
5590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5592 if (!SWIG_IsOK(res1)) {
5593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5594 }
5595 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5596 ecode2 = SWIG_AsVal_int(obj1, &val2);
5597 if (!SWIG_IsOK(ecode2)) {
5598 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5599 }
5600 arg2 = static_cast< int >(val2);
5601 {
5602 PyThreadState* __tstate = wxPyBeginAllowThreads();
5603 (arg1)->SetSelectedImage(arg2);
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = SWIG_Py_Void();
5608 return resultobj;
5609 fail:
5610 return NULL;
5611 }
5612
5613
5614 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj = 0;
5616 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5617 size_t arg2 ;
5618 void *argp1 = 0 ;
5619 int res1 = 0 ;
5620 size_t val2 ;
5621 int ecode2 = 0 ;
5622 PyObject * obj0 = 0 ;
5623 PyObject * obj1 = 0 ;
5624 char * kwnames[] = {
5625 (char *) "self",(char *) "with", NULL
5626 };
5627
5628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5630 if (!SWIG_IsOK(res1)) {
5631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5632 }
5633 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5634 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5635 if (!SWIG_IsOK(ecode2)) {
5636 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5637 }
5638 arg2 = static_cast< size_t >(val2);
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 (arg1)->SetWidth(arg2);
5642 wxPyEndAllowThreads(__tstate);
5643 if (PyErr_Occurred()) SWIG_fail;
5644 }
5645 resultobj = SWIG_Py_Void();
5646 return resultobj;
5647 fail:
5648 return NULL;
5649 }
5650
5651
5652 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj = 0;
5654 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5655 bool arg2 ;
5656 void *argp1 = 0 ;
5657 int res1 = 0 ;
5658 bool val2 ;
5659 int ecode2 = 0 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 char * kwnames[] = {
5663 (char *) "self",(char *) "edit", NULL
5664 };
5665
5666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5668 if (!SWIG_IsOK(res1)) {
5669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5670 }
5671 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5672 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5673 if (!SWIG_IsOK(ecode2)) {
5674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5675 }
5676 arg2 = static_cast< bool >(val2);
5677 {
5678 PyThreadState* __tstate = wxPyBeginAllowThreads();
5679 (arg1)->SetEditable(arg2);
5680 wxPyEndAllowThreads(__tstate);
5681 if (PyErr_Occurred()) SWIG_fail;
5682 }
5683 resultobj = SWIG_Py_Void();
5684 return resultobj;
5685 fail:
5686 return NULL;
5687 }
5688
5689
5690 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5691 PyObject *resultobj = 0;
5692 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5693 bool arg2 ;
5694 void *argp1 = 0 ;
5695 int res1 = 0 ;
5696 bool val2 ;
5697 int ecode2 = 0 ;
5698 PyObject * obj0 = 0 ;
5699 PyObject * obj1 = 0 ;
5700 char * kwnames[] = {
5701 (char *) "self",(char *) "shown", NULL
5702 };
5703
5704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5706 if (!SWIG_IsOK(res1)) {
5707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5708 }
5709 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5710 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5711 if (!SWIG_IsOK(ecode2)) {
5712 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5713 }
5714 arg2 = static_cast< bool >(val2);
5715 {
5716 PyThreadState* __tstate = wxPyBeginAllowThreads();
5717 (arg1)->SetShown(arg2);
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 resultobj = SWIG_Py_Void();
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 PyObject *obj;
5730 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5731 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5732 return SWIG_Py_Void();
5733 }
5734
5735 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5736 return SWIG_Python_InitShadowInstance(args);
5737 }
5738
5739 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj = 0;
5741 wxWindow *arg1 = (wxWindow *) 0 ;
5742 int arg2 = (int) -1 ;
5743 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5744 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5745 wxSize const &arg4_defvalue = wxDefaultSize ;
5746 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5747 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5748 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5749 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5750 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5751 wxString *arg7 = (wxString *) &arg7_defvalue ;
5752 wxPyTreeListCtrl *result = 0 ;
5753 void *argp1 = 0 ;
5754 int res1 = 0 ;
5755 int val2 ;
5756 int ecode2 = 0 ;
5757 wxPoint temp3 ;
5758 wxSize temp4 ;
5759 long val5 ;
5760 int ecode5 = 0 ;
5761 void *argp6 = 0 ;
5762 int res6 = 0 ;
5763 bool temp7 = false ;
5764 PyObject * obj0 = 0 ;
5765 PyObject * obj1 = 0 ;
5766 PyObject * obj2 = 0 ;
5767 PyObject * obj3 = 0 ;
5768 PyObject * obj4 = 0 ;
5769 PyObject * obj5 = 0 ;
5770 PyObject * obj6 = 0 ;
5771 char * kwnames[] = {
5772 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5773 };
5774
5775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5777 if (!SWIG_IsOK(res1)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5779 }
5780 arg1 = reinterpret_cast< wxWindow * >(argp1);
5781 if (obj1) {
5782 ecode2 = SWIG_AsVal_int(obj1, &val2);
5783 if (!SWIG_IsOK(ecode2)) {
5784 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5785 }
5786 arg2 = static_cast< int >(val2);
5787 }
5788 if (obj2) {
5789 {
5790 arg3 = &temp3;
5791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5792 }
5793 }
5794 if (obj3) {
5795 {
5796 arg4 = &temp4;
5797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5798 }
5799 }
5800 if (obj4) {
5801 ecode5 = SWIG_AsVal_long(obj4, &val5);
5802 if (!SWIG_IsOK(ecode5)) {
5803 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5804 }
5805 arg5 = static_cast< long >(val5);
5806 }
5807 if (obj5) {
5808 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5809 if (!SWIG_IsOK(res6)) {
5810 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5811 }
5812 if (!argp6) {
5813 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5814 }
5815 arg6 = reinterpret_cast< wxValidator * >(argp6);
5816 }
5817 if (obj6) {
5818 {
5819 arg7 = wxString_in_helper(obj6);
5820 if (arg7 == NULL) SWIG_fail;
5821 temp7 = true;
5822 }
5823 }
5824 {
5825 if (!wxPyCheckForApp()) SWIG_fail;
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5828 wxPyEndAllowThreads(__tstate);
5829 if (PyErr_Occurred()) SWIG_fail;
5830 }
5831 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5832 {
5833 if (temp7)
5834 delete arg7;
5835 }
5836 return resultobj;
5837 fail:
5838 {
5839 if (temp7)
5840 delete arg7;
5841 }
5842 return NULL;
5843 }
5844
5845
5846 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5847 PyObject *resultobj = 0;
5848 wxPyTreeListCtrl *result = 0 ;
5849
5850 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5851 {
5852 if (!wxPyCheckForApp()) SWIG_fail;
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5859 return resultobj;
5860 fail:
5861 return NULL;
5862 }
5863
5864
5865 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj = 0;
5867 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5868 wxWindow *arg2 = (wxWindow *) 0 ;
5869 int arg3 = (int) -1 ;
5870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5872 wxSize const &arg5_defvalue = wxDefaultSize ;
5873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5874 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5875 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5876 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5877 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5878 wxString *arg8 = (wxString *) &arg8_defvalue ;
5879 bool result;
5880 void *argp1 = 0 ;
5881 int res1 = 0 ;
5882 void *argp2 = 0 ;
5883 int res2 = 0 ;
5884 int val3 ;
5885 int ecode3 = 0 ;
5886 wxPoint temp4 ;
5887 wxSize temp5 ;
5888 long val6 ;
5889 int ecode6 = 0 ;
5890 void *argp7 = 0 ;
5891 int res7 = 0 ;
5892 bool temp8 = false ;
5893 PyObject * obj0 = 0 ;
5894 PyObject * obj1 = 0 ;
5895 PyObject * obj2 = 0 ;
5896 PyObject * obj3 = 0 ;
5897 PyObject * obj4 = 0 ;
5898 PyObject * obj5 = 0 ;
5899 PyObject * obj6 = 0 ;
5900 PyObject * obj7 = 0 ;
5901 char * kwnames[] = {
5902 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5903 };
5904
5905 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5906 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5907 if (!SWIG_IsOK(res1)) {
5908 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5909 }
5910 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5911 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5912 if (!SWIG_IsOK(res2)) {
5913 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5914 }
5915 arg2 = reinterpret_cast< wxWindow * >(argp2);
5916 if (obj2) {
5917 ecode3 = SWIG_AsVal_int(obj2, &val3);
5918 if (!SWIG_IsOK(ecode3)) {
5919 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5920 }
5921 arg3 = static_cast< int >(val3);
5922 }
5923 if (obj3) {
5924 {
5925 arg4 = &temp4;
5926 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5927 }
5928 }
5929 if (obj4) {
5930 {
5931 arg5 = &temp5;
5932 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5933 }
5934 }
5935 if (obj5) {
5936 ecode6 = SWIG_AsVal_long(obj5, &val6);
5937 if (!SWIG_IsOK(ecode6)) {
5938 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5939 }
5940 arg6 = static_cast< long >(val6);
5941 }
5942 if (obj6) {
5943 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5944 if (!SWIG_IsOK(res7)) {
5945 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5946 }
5947 if (!argp7) {
5948 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5949 }
5950 arg7 = reinterpret_cast< wxValidator * >(argp7);
5951 }
5952 if (obj7) {
5953 {
5954 arg8 = wxString_in_helper(obj7);
5955 if (arg8 == NULL) SWIG_fail;
5956 temp8 = true;
5957 }
5958 }
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
5965 {
5966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5967 }
5968 {
5969 if (temp8)
5970 delete arg8;
5971 }
5972 return resultobj;
5973 fail:
5974 {
5975 if (temp8)
5976 delete arg8;
5977 }
5978 return NULL;
5979 }
5980
5981
5982 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj = 0;
5984 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5985 PyObject *arg2 = (PyObject *) 0 ;
5986 PyObject *arg3 = (PyObject *) 0 ;
5987 void *argp1 = 0 ;
5988 int res1 = 0 ;
5989 PyObject * obj0 = 0 ;
5990 PyObject * obj1 = 0 ;
5991 PyObject * obj2 = 0 ;
5992 char * kwnames[] = {
5993 (char *) "self",(char *) "self",(char *) "_class", NULL
5994 };
5995
5996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5998 if (!SWIG_IsOK(res1)) {
5999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6000 }
6001 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6002 arg2 = obj1;
6003 arg3 = obj2;
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 (arg1)->_setCallbackInfo(arg2,arg3);
6007 wxPyEndAllowThreads(__tstate);
6008 if (PyErr_Occurred()) SWIG_fail;
6009 }
6010 resultobj = SWIG_Py_Void();
6011 return resultobj;
6012 fail:
6013 return NULL;
6014 }
6015
6016
6017 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6018 PyObject *resultobj = 0;
6019 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6020 size_t result;
6021 void *argp1 = 0 ;
6022 int res1 = 0 ;
6023 PyObject *swig_obj[1] ;
6024
6025 if (!args) SWIG_fail;
6026 swig_obj[0] = args;
6027 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6028 if (!SWIG_IsOK(res1)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6030 }
6031 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6032 {
6033 PyThreadState* __tstate = wxPyBeginAllowThreads();
6034 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6035 wxPyEndAllowThreads(__tstate);
6036 if (PyErr_Occurred()) SWIG_fail;
6037 }
6038 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6039 return resultobj;
6040 fail:
6041 return NULL;
6042 }
6043
6044
6045 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6046 PyObject *resultobj = 0;
6047 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6048 unsigned int result;
6049 void *argp1 = 0 ;
6050 int res1 = 0 ;
6051 PyObject *swig_obj[1] ;
6052
6053 if (!args) SWIG_fail;
6054 swig_obj[0] = args;
6055 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6056 if (!SWIG_IsOK(res1)) {
6057 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6058 }
6059 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6060 {
6061 PyThreadState* __tstate = wxPyBeginAllowThreads();
6062 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6063 wxPyEndAllowThreads(__tstate);
6064 if (PyErr_Occurred()) SWIG_fail;
6065 }
6066 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6067 return resultobj;
6068 fail:
6069 return NULL;
6070 }
6071
6072
6073 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj = 0;
6075 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6076 unsigned int arg2 ;
6077 void *argp1 = 0 ;
6078 int res1 = 0 ;
6079 unsigned int val2 ;
6080 int ecode2 = 0 ;
6081 PyObject * obj0 = 0 ;
6082 PyObject * obj1 = 0 ;
6083 char * kwnames[] = {
6084 (char *) "self",(char *) "indent", NULL
6085 };
6086
6087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6089 if (!SWIG_IsOK(res1)) {
6090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6091 }
6092 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6093 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6094 if (!SWIG_IsOK(ecode2)) {
6095 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6096 }
6097 arg2 = static_cast< unsigned int >(val2);
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 (arg1)->SetIndent(arg2);
6101 wxPyEndAllowThreads(__tstate);
6102 if (PyErr_Occurred()) SWIG_fail;
6103 }
6104 resultobj = SWIG_Py_Void();
6105 return resultobj;
6106 fail:
6107 return NULL;
6108 }
6109
6110
6111 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6112 PyObject *resultobj = 0;
6113 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6114 unsigned int result;
6115 void *argp1 = 0 ;
6116 int res1 = 0 ;
6117 PyObject *swig_obj[1] ;
6118
6119 if (!args) SWIG_fail;
6120 swig_obj[0] = args;
6121 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6122 if (!SWIG_IsOK(res1)) {
6123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6124 }
6125 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6133 return resultobj;
6134 fail:
6135 return NULL;
6136 }
6137
6138
6139 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj = 0;
6141 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6142 unsigned int arg2 ;
6143 void *argp1 = 0 ;
6144 int res1 = 0 ;
6145 unsigned int val2 ;
6146 int ecode2 = 0 ;
6147 PyObject * obj0 = 0 ;
6148 PyObject * obj1 = 0 ;
6149 char * kwnames[] = {
6150 (char *) "self",(char *) "spacing", NULL
6151 };
6152
6153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6154 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6155 if (!SWIG_IsOK(res1)) {
6156 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6157 }
6158 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6159 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6160 if (!SWIG_IsOK(ecode2)) {
6161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6162 }
6163 arg2 = static_cast< unsigned int >(val2);
6164 {
6165 PyThreadState* __tstate = wxPyBeginAllowThreads();
6166 (arg1)->SetLineSpacing(arg2);
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 resultobj = SWIG_Py_Void();
6171 return resultobj;
6172 fail:
6173 return NULL;
6174 }
6175
6176
6177 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6178 PyObject *resultobj = 0;
6179 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6180 wxImageList *result = 0 ;
6181 void *argp1 = 0 ;
6182 int res1 = 0 ;
6183 PyObject *swig_obj[1] ;
6184
6185 if (!args) SWIG_fail;
6186 swig_obj[0] = args;
6187 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6188 if (!SWIG_IsOK(res1)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6190 }
6191 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6192 {
6193 PyThreadState* __tstate = wxPyBeginAllowThreads();
6194 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 {
6199 resultobj = wxPyMake_wxObject(result, (bool)0);
6200 }
6201 return resultobj;
6202 fail:
6203 return NULL;
6204 }
6205
6206
6207 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6208 PyObject *resultobj = 0;
6209 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6210 wxImageList *result = 0 ;
6211 void *argp1 = 0 ;
6212 int res1 = 0 ;
6213 PyObject *swig_obj[1] ;
6214
6215 if (!args) SWIG_fail;
6216 swig_obj[0] = args;
6217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6218 if (!SWIG_IsOK(res1)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6220 }
6221 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6222 {
6223 PyThreadState* __tstate = wxPyBeginAllowThreads();
6224 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6225 wxPyEndAllowThreads(__tstate);
6226 if (PyErr_Occurred()) SWIG_fail;
6227 }
6228 {
6229 resultobj = wxPyMake_wxObject(result, (bool)0);
6230 }
6231 return resultobj;
6232 fail:
6233 return NULL;
6234 }
6235
6236
6237 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6238 PyObject *resultobj = 0;
6239 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6240 wxImageList *result = 0 ;
6241 void *argp1 = 0 ;
6242 int res1 = 0 ;
6243 PyObject *swig_obj[1] ;
6244
6245 if (!args) SWIG_fail;
6246 swig_obj[0] = args;
6247 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6248 if (!SWIG_IsOK(res1)) {
6249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6250 }
6251 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 {
6259 resultobj = wxPyMake_wxObject(result, (bool)0);
6260 }
6261 return resultobj;
6262 fail:
6263 return NULL;
6264 }
6265
6266
6267 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6268 PyObject *resultobj = 0;
6269 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6270 wxImageList *arg2 = (wxImageList *) 0 ;
6271 void *argp1 = 0 ;
6272 int res1 = 0 ;
6273 void *argp2 = 0 ;
6274 int res2 = 0 ;
6275 PyObject * obj0 = 0 ;
6276 PyObject * obj1 = 0 ;
6277 char * kwnames[] = {
6278 (char *) "self",(char *) "imageList", NULL
6279 };
6280
6281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6283 if (!SWIG_IsOK(res1)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6285 }
6286 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6287 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6288 if (!SWIG_IsOK(res2)) {
6289 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6290 }
6291 arg2 = reinterpret_cast< wxImageList * >(argp2);
6292 {
6293 PyThreadState* __tstate = wxPyBeginAllowThreads();
6294 (arg1)->SetImageList(arg2);
6295 wxPyEndAllowThreads(__tstate);
6296 if (PyErr_Occurred()) SWIG_fail;
6297 }
6298 resultobj = SWIG_Py_Void();
6299 return resultobj;
6300 fail:
6301 return NULL;
6302 }
6303
6304
6305 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj = 0;
6307 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6308 wxImageList *arg2 = (wxImageList *) 0 ;
6309 void *argp1 = 0 ;
6310 int res1 = 0 ;
6311 void *argp2 = 0 ;
6312 int res2 = 0 ;
6313 PyObject * obj0 = 0 ;
6314 PyObject * obj1 = 0 ;
6315 char * kwnames[] = {
6316 (char *) "self",(char *) "imageList", NULL
6317 };
6318
6319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6321 if (!SWIG_IsOK(res1)) {
6322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6323 }
6324 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6325 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6326 if (!SWIG_IsOK(res2)) {
6327 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6328 }
6329 arg2 = reinterpret_cast< wxImageList * >(argp2);
6330 {
6331 PyThreadState* __tstate = wxPyBeginAllowThreads();
6332 (arg1)->SetStateImageList(arg2);
6333 wxPyEndAllowThreads(__tstate);
6334 if (PyErr_Occurred()) SWIG_fail;
6335 }
6336 resultobj = SWIG_Py_Void();
6337 return resultobj;
6338 fail:
6339 return NULL;
6340 }
6341
6342
6343 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6344 PyObject *resultobj = 0;
6345 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6346 wxImageList *arg2 = (wxImageList *) 0 ;
6347 void *argp1 = 0 ;
6348 int res1 = 0 ;
6349 void *argp2 = 0 ;
6350 int res2 = 0 ;
6351 PyObject * obj0 = 0 ;
6352 PyObject * obj1 = 0 ;
6353 char * kwnames[] = {
6354 (char *) "self",(char *) "imageList", NULL
6355 };
6356
6357 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6358 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6359 if (!SWIG_IsOK(res1)) {
6360 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6361 }
6362 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6363 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6364 if (!SWIG_IsOK(res2)) {
6365 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6366 }
6367 arg2 = reinterpret_cast< wxImageList * >(argp2);
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 (arg1)->SetButtonsImageList(arg2);
6371 wxPyEndAllowThreads(__tstate);
6372 if (PyErr_Occurred()) SWIG_fail;
6373 }
6374 resultobj = SWIG_Py_Void();
6375 return resultobj;
6376 fail:
6377 return NULL;
6378 }
6379
6380
6381 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6382 PyObject *resultobj = 0;
6383 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6384 wxImageList *arg2 = (wxImageList *) 0 ;
6385 void *argp1 = 0 ;
6386 int res1 = 0 ;
6387 int res2 = 0 ;
6388 PyObject * obj0 = 0 ;
6389 PyObject * obj1 = 0 ;
6390 char * kwnames[] = {
6391 (char *) "self",(char *) "imageList", NULL
6392 };
6393
6394 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6395 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6396 if (!SWIG_IsOK(res1)) {
6397 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6398 }
6399 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6400 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6401 if (!SWIG_IsOK(res2)) {
6402 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6403 }
6404 {
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 (arg1)->AssignImageList(arg2);
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
6410 resultobj = SWIG_Py_Void();
6411 return resultobj;
6412 fail:
6413 return NULL;
6414 }
6415
6416
6417 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj = 0;
6419 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6420 wxImageList *arg2 = (wxImageList *) 0 ;
6421 void *argp1 = 0 ;
6422 int res1 = 0 ;
6423 int res2 = 0 ;
6424 PyObject * obj0 = 0 ;
6425 PyObject * obj1 = 0 ;
6426 char * kwnames[] = {
6427 (char *) "self",(char *) "imageList", NULL
6428 };
6429
6430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6432 if (!SWIG_IsOK(res1)) {
6433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6434 }
6435 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6436 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6437 if (!SWIG_IsOK(res2)) {
6438 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 (arg1)->AssignStateImageList(arg2);
6443 wxPyEndAllowThreads(__tstate);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 resultobj = SWIG_Py_Void();
6447 return resultobj;
6448 fail:
6449 return NULL;
6450 }
6451
6452
6453 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6454 PyObject *resultobj = 0;
6455 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6456 wxImageList *arg2 = (wxImageList *) 0 ;
6457 void *argp1 = 0 ;
6458 int res1 = 0 ;
6459 int res2 = 0 ;
6460 PyObject * obj0 = 0 ;
6461 PyObject * obj1 = 0 ;
6462 char * kwnames[] = {
6463 (char *) "self",(char *) "imageList", NULL
6464 };
6465
6466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6468 if (!SWIG_IsOK(res1)) {
6469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6470 }
6471 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6472 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6473 if (!SWIG_IsOK(res2)) {
6474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6475 }
6476 {
6477 PyThreadState* __tstate = wxPyBeginAllowThreads();
6478 (arg1)->AssignButtonsImageList(arg2);
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 resultobj = SWIG_Py_Void();
6483 return resultobj;
6484 fail:
6485 return NULL;
6486 }
6487
6488
6489 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj = 0;
6491 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6492 wxString *arg2 = 0 ;
6493 int arg3 = (int) DEFAULT_COL_WIDTH ;
6494 int arg4 = (int) wxALIGN_LEFT ;
6495 int arg5 = (int) -1 ;
6496 bool arg6 = (bool) true ;
6497 bool arg7 = (bool) false ;
6498 void *argp1 = 0 ;
6499 int res1 = 0 ;
6500 bool temp2 = false ;
6501 int val3 ;
6502 int ecode3 = 0 ;
6503 int val4 ;
6504 int ecode4 = 0 ;
6505 int val5 ;
6506 int ecode5 = 0 ;
6507 bool val6 ;
6508 int ecode6 = 0 ;
6509 bool val7 ;
6510 int ecode7 = 0 ;
6511 PyObject * obj0 = 0 ;
6512 PyObject * obj1 = 0 ;
6513 PyObject * obj2 = 0 ;
6514 PyObject * obj3 = 0 ;
6515 PyObject * obj4 = 0 ;
6516 PyObject * obj5 = 0 ;
6517 PyObject * obj6 = 0 ;
6518 char * kwnames[] = {
6519 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6520 };
6521
6522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6524 if (!SWIG_IsOK(res1)) {
6525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6526 }
6527 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6528 {
6529 arg2 = wxString_in_helper(obj1);
6530 if (arg2 == NULL) SWIG_fail;
6531 temp2 = true;
6532 }
6533 if (obj2) {
6534 ecode3 = SWIG_AsVal_int(obj2, &val3);
6535 if (!SWIG_IsOK(ecode3)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6537 }
6538 arg3 = static_cast< int >(val3);
6539 }
6540 if (obj3) {
6541 ecode4 = SWIG_AsVal_int(obj3, &val4);
6542 if (!SWIG_IsOK(ecode4)) {
6543 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6544 }
6545 arg4 = static_cast< int >(val4);
6546 }
6547 if (obj4) {
6548 ecode5 = SWIG_AsVal_int(obj4, &val5);
6549 if (!SWIG_IsOK(ecode5)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6551 }
6552 arg5 = static_cast< int >(val5);
6553 }
6554 if (obj5) {
6555 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6556 if (!SWIG_IsOK(ecode6)) {
6557 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6558 }
6559 arg6 = static_cast< bool >(val6);
6560 }
6561 if (obj6) {
6562 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6563 if (!SWIG_IsOK(ecode7)) {
6564 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6565 }
6566 arg7 = static_cast< bool >(val7);
6567 }
6568 {
6569 PyThreadState* __tstate = wxPyBeginAllowThreads();
6570 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 resultobj = SWIG_Py_Void();
6575 {
6576 if (temp2)
6577 delete arg2;
6578 }
6579 return resultobj;
6580 fail:
6581 {
6582 if (temp2)
6583 delete arg2;
6584 }
6585 return NULL;
6586 }
6587
6588
6589 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6590 PyObject *resultobj = 0;
6591 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6592 wxTreeListColumnInfo *arg2 = 0 ;
6593 void *argp1 = 0 ;
6594 int res1 = 0 ;
6595 void *argp2 = 0 ;
6596 int res2 = 0 ;
6597 PyObject * obj0 = 0 ;
6598 PyObject * obj1 = 0 ;
6599 char * kwnames[] = {
6600 (char *) "self",(char *) "col", NULL
6601 };
6602
6603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6605 if (!SWIG_IsOK(res1)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6607 }
6608 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6610 if (!SWIG_IsOK(res2)) {
6611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6612 }
6613 if (!argp2) {
6614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6615 }
6616 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6617 {
6618 PyThreadState* __tstate = wxPyBeginAllowThreads();
6619 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6620 wxPyEndAllowThreads(__tstate);
6621 if (PyErr_Occurred()) SWIG_fail;
6622 }
6623 resultobj = SWIG_Py_Void();
6624 return resultobj;
6625 fail:
6626 return NULL;
6627 }
6628
6629
6630 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6631 PyObject *resultobj = 0;
6632 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6633 int arg2 ;
6634 wxString *arg3 = 0 ;
6635 int arg4 = (int) DEFAULT_COL_WIDTH ;
6636 int arg5 = (int) wxALIGN_LEFT ;
6637 int arg6 = (int) -1 ;
6638 bool arg7 = (bool) true ;
6639 bool arg8 = (bool) false ;
6640 void *argp1 = 0 ;
6641 int res1 = 0 ;
6642 int val2 ;
6643 int ecode2 = 0 ;
6644 bool temp3 = false ;
6645 int val4 ;
6646 int ecode4 = 0 ;
6647 int val5 ;
6648 int ecode5 = 0 ;
6649 int val6 ;
6650 int ecode6 = 0 ;
6651 bool val7 ;
6652 int ecode7 = 0 ;
6653 bool val8 ;
6654 int ecode8 = 0 ;
6655 PyObject * obj0 = 0 ;
6656 PyObject * obj1 = 0 ;
6657 PyObject * obj2 = 0 ;
6658 PyObject * obj3 = 0 ;
6659 PyObject * obj4 = 0 ;
6660 PyObject * obj5 = 0 ;
6661 PyObject * obj6 = 0 ;
6662 PyObject * obj7 = 0 ;
6663 char * kwnames[] = {
6664 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6665 };
6666
6667 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6668 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6669 if (!SWIG_IsOK(res1)) {
6670 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6671 }
6672 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6673 ecode2 = SWIG_AsVal_int(obj1, &val2);
6674 if (!SWIG_IsOK(ecode2)) {
6675 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6676 }
6677 arg2 = static_cast< int >(val2);
6678 {
6679 arg3 = wxString_in_helper(obj2);
6680 if (arg3 == NULL) SWIG_fail;
6681 temp3 = true;
6682 }
6683 if (obj3) {
6684 ecode4 = SWIG_AsVal_int(obj3, &val4);
6685 if (!SWIG_IsOK(ecode4)) {
6686 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6687 }
6688 arg4 = static_cast< int >(val4);
6689 }
6690 if (obj4) {
6691 ecode5 = SWIG_AsVal_int(obj4, &val5);
6692 if (!SWIG_IsOK(ecode5)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6694 }
6695 arg5 = static_cast< int >(val5);
6696 }
6697 if (obj5) {
6698 ecode6 = SWIG_AsVal_int(obj5, &val6);
6699 if (!SWIG_IsOK(ecode6)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6701 }
6702 arg6 = static_cast< int >(val6);
6703 }
6704 if (obj6) {
6705 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6706 if (!SWIG_IsOK(ecode7)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6708 }
6709 arg7 = static_cast< bool >(val7);
6710 }
6711 if (obj7) {
6712 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6713 if (!SWIG_IsOK(ecode8)) {
6714 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6715 }
6716 arg8 = static_cast< bool >(val8);
6717 }
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
6721 wxPyEndAllowThreads(__tstate);
6722 if (PyErr_Occurred()) SWIG_fail;
6723 }
6724 resultobj = SWIG_Py_Void();
6725 {
6726 if (temp3)
6727 delete arg3;
6728 }
6729 return resultobj;
6730 fail:
6731 {
6732 if (temp3)
6733 delete arg3;
6734 }
6735 return NULL;
6736 }
6737
6738
6739 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6740 PyObject *resultobj = 0;
6741 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6742 size_t arg2 ;
6743 wxTreeListColumnInfo *arg3 = 0 ;
6744 void *argp1 = 0 ;
6745 int res1 = 0 ;
6746 size_t val2 ;
6747 int ecode2 = 0 ;
6748 void *argp3 = 0 ;
6749 int res3 = 0 ;
6750 PyObject * obj0 = 0 ;
6751 PyObject * obj1 = 0 ;
6752 PyObject * obj2 = 0 ;
6753 char * kwnames[] = {
6754 (char *) "self",(char *) "before",(char *) "col", NULL
6755 };
6756
6757 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6758 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6759 if (!SWIG_IsOK(res1)) {
6760 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6761 }
6762 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6763 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6764 if (!SWIG_IsOK(ecode2)) {
6765 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6766 }
6767 arg2 = static_cast< size_t >(val2);
6768 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6769 if (!SWIG_IsOK(res3)) {
6770 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6771 }
6772 if (!argp3) {
6773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6774 }
6775 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6776 {
6777 PyThreadState* __tstate = wxPyBeginAllowThreads();
6778 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6779 wxPyEndAllowThreads(__tstate);
6780 if (PyErr_Occurred()) SWIG_fail;
6781 }
6782 resultobj = SWIG_Py_Void();
6783 return resultobj;
6784 fail:
6785 return NULL;
6786 }
6787
6788
6789 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj = 0;
6791 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6792 size_t arg2 ;
6793 void *argp1 = 0 ;
6794 int res1 = 0 ;
6795 size_t val2 ;
6796 int ecode2 = 0 ;
6797 PyObject * obj0 = 0 ;
6798 PyObject * obj1 = 0 ;
6799 char * kwnames[] = {
6800 (char *) "self",(char *) "column", NULL
6801 };
6802
6803 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6804 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6805 if (!SWIG_IsOK(res1)) {
6806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6807 }
6808 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6809 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6810 if (!SWIG_IsOK(ecode2)) {
6811 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6812 }
6813 arg2 = static_cast< size_t >(val2);
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->RemoveColumn(arg2);
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 resultobj = SWIG_Py_Void();
6821 return resultobj;
6822 fail:
6823 return NULL;
6824 }
6825
6826
6827 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6828 PyObject *resultobj = 0;
6829 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6830 size_t result;
6831 void *argp1 = 0 ;
6832 int res1 = 0 ;
6833 PyObject *swig_obj[1] ;
6834
6835 if (!args) SWIG_fail;
6836 swig_obj[0] = args;
6837 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6838 if (!SWIG_IsOK(res1)) {
6839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6840 }
6841 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6845 wxPyEndAllowThreads(__tstate);
6846 if (PyErr_Occurred()) SWIG_fail;
6847 }
6848 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6849 return resultobj;
6850 fail:
6851 return NULL;
6852 }
6853
6854
6855 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6856 PyObject *resultobj = 0;
6857 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6858 size_t arg2 ;
6859 void *argp1 = 0 ;
6860 int res1 = 0 ;
6861 size_t val2 ;
6862 int ecode2 = 0 ;
6863 PyObject * obj0 = 0 ;
6864 PyObject * obj1 = 0 ;
6865 char * kwnames[] = {
6866 (char *) "self",(char *) "column", NULL
6867 };
6868
6869 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6870 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6871 if (!SWIG_IsOK(res1)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6873 }
6874 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6875 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6876 if (!SWIG_IsOK(ecode2)) {
6877 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6878 }
6879 arg2 = static_cast< size_t >(val2);
6880 {
6881 PyThreadState* __tstate = wxPyBeginAllowThreads();
6882 (arg1)->SetMainColumn(arg2);
6883 wxPyEndAllowThreads(__tstate);
6884 if (PyErr_Occurred()) SWIG_fail;
6885 }
6886 resultobj = SWIG_Py_Void();
6887 return resultobj;
6888 fail:
6889 return NULL;
6890 }
6891
6892
6893 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6894 PyObject *resultobj = 0;
6895 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6896 size_t result;
6897 void *argp1 = 0 ;
6898 int res1 = 0 ;
6899 PyObject *swig_obj[1] ;
6900
6901 if (!args) SWIG_fail;
6902 swig_obj[0] = args;
6903 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6904 if (!SWIG_IsOK(res1)) {
6905 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6906 }
6907 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6908 {
6909 PyThreadState* __tstate = wxPyBeginAllowThreads();
6910 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6915 return resultobj;
6916 fail:
6917 return NULL;
6918 }
6919
6920
6921 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6922 PyObject *resultobj = 0;
6923 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6924 int arg2 ;
6925 wxTreeListColumnInfo *arg3 = 0 ;
6926 void *argp1 = 0 ;
6927 int res1 = 0 ;
6928 int val2 ;
6929 int ecode2 = 0 ;
6930 void *argp3 = 0 ;
6931 int res3 = 0 ;
6932 PyObject * obj0 = 0 ;
6933 PyObject * obj1 = 0 ;
6934 PyObject * obj2 = 0 ;
6935 char * kwnames[] = {
6936 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6937 };
6938
6939 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6940 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6941 if (!SWIG_IsOK(res1)) {
6942 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6943 }
6944 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6945 ecode2 = SWIG_AsVal_int(obj1, &val2);
6946 if (!SWIG_IsOK(ecode2)) {
6947 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6948 }
6949 arg2 = static_cast< int >(val2);
6950 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6951 if (!SWIG_IsOK(res3)) {
6952 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6953 }
6954 if (!argp3) {
6955 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6956 }
6957 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6958 {
6959 PyThreadState* __tstate = wxPyBeginAllowThreads();
6960 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6961 wxPyEndAllowThreads(__tstate);
6962 if (PyErr_Occurred()) SWIG_fail;
6963 }
6964 resultobj = SWIG_Py_Void();
6965 return resultobj;
6966 fail:
6967 return NULL;
6968 }
6969
6970
6971 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj = 0;
6973 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6974 int arg2 ;
6975 wxTreeListColumnInfo *result = 0 ;
6976 void *argp1 = 0 ;
6977 int res1 = 0 ;
6978 int val2 ;
6979 int ecode2 = 0 ;
6980 PyObject * obj0 = 0 ;
6981 PyObject * obj1 = 0 ;
6982 char * kwnames[] = {
6983 (char *) "self",(char *) "column", NULL
6984 };
6985
6986 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6987 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6988 if (!SWIG_IsOK(res1)) {
6989 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6990 }
6991 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6992 ecode2 = SWIG_AsVal_int(obj1, &val2);
6993 if (!SWIG_IsOK(ecode2)) {
6994 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6995 }
6996 arg2 = static_cast< int >(val2);
6997 {
6998 PyThreadState* __tstate = wxPyBeginAllowThreads();
6999 {
7000 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
7001 result = (wxTreeListColumnInfo *) &_result_ref;
7002 }
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
7007 return resultobj;
7008 fail:
7009 return NULL;
7010 }
7011
7012
7013 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7014 PyObject *resultobj = 0;
7015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7016 int arg2 ;
7017 wxString *arg3 = 0 ;
7018 void *argp1 = 0 ;
7019 int res1 = 0 ;
7020 int val2 ;
7021 int ecode2 = 0 ;
7022 bool temp3 = false ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 PyObject * obj2 = 0 ;
7026 char * kwnames[] = {
7027 (char *) "self",(char *) "column",(char *) "text", NULL
7028 };
7029
7030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7032 if (!SWIG_IsOK(res1)) {
7033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7034 }
7035 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7036 ecode2 = SWIG_AsVal_int(obj1, &val2);
7037 if (!SWIG_IsOK(ecode2)) {
7038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7039 }
7040 arg2 = static_cast< int >(val2);
7041 {
7042 arg3 = wxString_in_helper(obj2);
7043 if (arg3 == NULL) SWIG_fail;
7044 temp3 = true;
7045 }
7046 {
7047 PyThreadState* __tstate = wxPyBeginAllowThreads();
7048 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7049 wxPyEndAllowThreads(__tstate);
7050 if (PyErr_Occurred()) SWIG_fail;
7051 }
7052 resultobj = SWIG_Py_Void();
7053 {
7054 if (temp3)
7055 delete arg3;
7056 }
7057 return resultobj;
7058 fail:
7059 {
7060 if (temp3)
7061 delete arg3;
7062 }
7063 return NULL;
7064 }
7065
7066
7067 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7068 PyObject *resultobj = 0;
7069 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7070 int arg2 ;
7071 wxString result;
7072 void *argp1 = 0 ;
7073 int res1 = 0 ;
7074 int val2 ;
7075 int ecode2 = 0 ;
7076 PyObject * obj0 = 0 ;
7077 PyObject * obj1 = 0 ;
7078 char * kwnames[] = {
7079 (char *) "self",(char *) "column", NULL
7080 };
7081
7082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7084 if (!SWIG_IsOK(res1)) {
7085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7086 }
7087 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7088 ecode2 = SWIG_AsVal_int(obj1, &val2);
7089 if (!SWIG_IsOK(ecode2)) {
7090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7091 }
7092 arg2 = static_cast< int >(val2);
7093 {
7094 PyThreadState* __tstate = wxPyBeginAllowThreads();
7095 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 {
7100 #if wxUSE_UNICODE
7101 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7102 #else
7103 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7104 #endif
7105 }
7106 return resultobj;
7107 fail:
7108 return NULL;
7109 }
7110
7111
7112 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj = 0;
7114 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7115 int arg2 ;
7116 int arg3 ;
7117 void *argp1 = 0 ;
7118 int res1 = 0 ;
7119 int val2 ;
7120 int ecode2 = 0 ;
7121 int val3 ;
7122 int ecode3 = 0 ;
7123 PyObject * obj0 = 0 ;
7124 PyObject * obj1 = 0 ;
7125 PyObject * obj2 = 0 ;
7126 char * kwnames[] = {
7127 (char *) "self",(char *) "column",(char *) "width", NULL
7128 };
7129
7130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7132 if (!SWIG_IsOK(res1)) {
7133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7134 }
7135 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7136 ecode2 = SWIG_AsVal_int(obj1, &val2);
7137 if (!SWIG_IsOK(ecode2)) {
7138 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7139 }
7140 arg2 = static_cast< int >(val2);
7141 ecode3 = SWIG_AsVal_int(obj2, &val3);
7142 if (!SWIG_IsOK(ecode3)) {
7143 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7144 }
7145 arg3 = static_cast< int >(val3);
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 (arg1)->SetColumnWidth(arg2,arg3);
7149 wxPyEndAllowThreads(__tstate);
7150 if (PyErr_Occurred()) SWIG_fail;
7151 }
7152 resultobj = SWIG_Py_Void();
7153 return resultobj;
7154 fail:
7155 return NULL;
7156 }
7157
7158
7159 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj = 0;
7161 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7162 int arg2 ;
7163 int result;
7164 void *argp1 = 0 ;
7165 int res1 = 0 ;
7166 int val2 ;
7167 int ecode2 = 0 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char * kwnames[] = {
7171 (char *) "self",(char *) "column", NULL
7172 };
7173
7174 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7175 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7176 if (!SWIG_IsOK(res1)) {
7177 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7178 }
7179 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7180 ecode2 = SWIG_AsVal_int(obj1, &val2);
7181 if (!SWIG_IsOK(ecode2)) {
7182 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7183 }
7184 arg2 = static_cast< int >(val2);
7185 {
7186 PyThreadState* __tstate = wxPyBeginAllowThreads();
7187 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
7188 wxPyEndAllowThreads(__tstate);
7189 if (PyErr_Occurred()) SWIG_fail;
7190 }
7191 resultobj = SWIG_From_int(static_cast< int >(result));
7192 return resultobj;
7193 fail:
7194 return NULL;
7195 }
7196
7197
7198 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7199 PyObject *resultobj = 0;
7200 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7201 int arg2 ;
7202 int arg3 ;
7203 void *argp1 = 0 ;
7204 int res1 = 0 ;
7205 int val2 ;
7206 int ecode2 = 0 ;
7207 int val3 ;
7208 int ecode3 = 0 ;
7209 PyObject * obj0 = 0 ;
7210 PyObject * obj1 = 0 ;
7211 PyObject * obj2 = 0 ;
7212 char * kwnames[] = {
7213 (char *) "self",(char *) "column",(char *) "flag", NULL
7214 };
7215
7216 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7217 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7218 if (!SWIG_IsOK(res1)) {
7219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7220 }
7221 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7222 ecode2 = SWIG_AsVal_int(obj1, &val2);
7223 if (!SWIG_IsOK(ecode2)) {
7224 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7225 }
7226 arg2 = static_cast< int >(val2);
7227 ecode3 = SWIG_AsVal_int(obj2, &val3);
7228 if (!SWIG_IsOK(ecode3)) {
7229 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7230 }
7231 arg3 = static_cast< int >(val3);
7232 {
7233 PyThreadState* __tstate = wxPyBeginAllowThreads();
7234 (arg1)->SetColumnAlignment(arg2,arg3);
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = SWIG_Py_Void();
7239 return resultobj;
7240 fail:
7241 return NULL;
7242 }
7243
7244
7245 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj = 0;
7247 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7248 int arg2 ;
7249 int result;
7250 void *argp1 = 0 ;
7251 int res1 = 0 ;
7252 int val2 ;
7253 int ecode2 = 0 ;
7254 PyObject * obj0 = 0 ;
7255 PyObject * obj1 = 0 ;
7256 char * kwnames[] = {
7257 (char *) "self",(char *) "column", NULL
7258 };
7259
7260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7262 if (!SWIG_IsOK(res1)) {
7263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7264 }
7265 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7266 ecode2 = SWIG_AsVal_int(obj1, &val2);
7267 if (!SWIG_IsOK(ecode2)) {
7268 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7269 }
7270 arg2 = static_cast< int >(val2);
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7274 wxPyEndAllowThreads(__tstate);
7275 if (PyErr_Occurred()) SWIG_fail;
7276 }
7277 resultobj = SWIG_From_int(static_cast< int >(result));
7278 return resultobj;
7279 fail:
7280 return NULL;
7281 }
7282
7283
7284 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7285 PyObject *resultobj = 0;
7286 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7287 int arg2 ;
7288 int arg3 ;
7289 void *argp1 = 0 ;
7290 int res1 = 0 ;
7291 int val2 ;
7292 int ecode2 = 0 ;
7293 int val3 ;
7294 int ecode3 = 0 ;
7295 PyObject * obj0 = 0 ;
7296 PyObject * obj1 = 0 ;
7297 PyObject * obj2 = 0 ;
7298 char * kwnames[] = {
7299 (char *) "self",(char *) "column",(char *) "image", NULL
7300 };
7301
7302 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7303 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7304 if (!SWIG_IsOK(res1)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7306 }
7307 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7308 ecode2 = SWIG_AsVal_int(obj1, &val2);
7309 if (!SWIG_IsOK(ecode2)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7311 }
7312 arg2 = static_cast< int >(val2);
7313 ecode3 = SWIG_AsVal_int(obj2, &val3);
7314 if (!SWIG_IsOK(ecode3)) {
7315 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7316 }
7317 arg3 = static_cast< int >(val3);
7318 {
7319 PyThreadState* __tstate = wxPyBeginAllowThreads();
7320 (arg1)->SetColumnImage(arg2,arg3);
7321 wxPyEndAllowThreads(__tstate);
7322 if (PyErr_Occurred()) SWIG_fail;
7323 }
7324 resultobj = SWIG_Py_Void();
7325 return resultobj;
7326 fail:
7327 return NULL;
7328 }
7329
7330
7331 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7332 PyObject *resultobj = 0;
7333 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7334 int arg2 ;
7335 int result;
7336 void *argp1 = 0 ;
7337 int res1 = 0 ;
7338 int val2 ;
7339 int ecode2 = 0 ;
7340 PyObject * obj0 = 0 ;
7341 PyObject * obj1 = 0 ;
7342 char * kwnames[] = {
7343 (char *) "self",(char *) "column", NULL
7344 };
7345
7346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7348 if (!SWIG_IsOK(res1)) {
7349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7350 }
7351 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7352 ecode2 = SWIG_AsVal_int(obj1, &val2);
7353 if (!SWIG_IsOK(ecode2)) {
7354 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7355 }
7356 arg2 = static_cast< int >(val2);
7357 {
7358 PyThreadState* __tstate = wxPyBeginAllowThreads();
7359 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
7363 resultobj = SWIG_From_int(static_cast< int >(result));
7364 return resultobj;
7365 fail:
7366 return NULL;
7367 }
7368
7369
7370 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj = 0;
7372 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7373 int arg2 ;
7374 bool arg3 = (bool) true ;
7375 void *argp1 = 0 ;
7376 int res1 = 0 ;
7377 int val2 ;
7378 int ecode2 = 0 ;
7379 bool val3 ;
7380 int ecode3 = 0 ;
7381 PyObject * obj0 = 0 ;
7382 PyObject * obj1 = 0 ;
7383 PyObject * obj2 = 0 ;
7384 char * kwnames[] = {
7385 (char *) "self",(char *) "column",(char *) "shown", NULL
7386 };
7387
7388 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7389 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7390 if (!SWIG_IsOK(res1)) {
7391 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7392 }
7393 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7394 ecode2 = SWIG_AsVal_int(obj1, &val2);
7395 if (!SWIG_IsOK(ecode2)) {
7396 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7397 }
7398 arg2 = static_cast< int >(val2);
7399 if (obj2) {
7400 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7401 if (!SWIG_IsOK(ecode3)) {
7402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7403 }
7404 arg3 = static_cast< bool >(val3);
7405 }
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 (arg1)->SetColumnShown(arg2,arg3);
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_Py_Void();
7413 return resultobj;
7414 fail:
7415 return NULL;
7416 }
7417
7418
7419 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj = 0;
7421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7422 int arg2 ;
7423 bool result;
7424 void *argp1 = 0 ;
7425 int res1 = 0 ;
7426 int val2 ;
7427 int ecode2 = 0 ;
7428 PyObject * obj0 = 0 ;
7429 PyObject * obj1 = 0 ;
7430 char * kwnames[] = {
7431 (char *) "self",(char *) "column", NULL
7432 };
7433
7434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7436 if (!SWIG_IsOK(res1)) {
7437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7438 }
7439 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7440 ecode2 = SWIG_AsVal_int(obj1, &val2);
7441 if (!SWIG_IsOK(ecode2)) {
7442 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7443 }
7444 arg2 = static_cast< int >(val2);
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7448 wxPyEndAllowThreads(__tstate);
7449 if (PyErr_Occurred()) SWIG_fail;
7450 }
7451 {
7452 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7453 }
7454 return resultobj;
7455 fail:
7456 return NULL;
7457 }
7458
7459
7460 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7461 PyObject *resultobj = 0;
7462 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7463 int arg2 ;
7464 bool arg3 = (bool) true ;
7465 void *argp1 = 0 ;
7466 int res1 = 0 ;
7467 int val2 ;
7468 int ecode2 = 0 ;
7469 bool val3 ;
7470 int ecode3 = 0 ;
7471 PyObject * obj0 = 0 ;
7472 PyObject * obj1 = 0 ;
7473 PyObject * obj2 = 0 ;
7474 char * kwnames[] = {
7475 (char *) "self",(char *) "column",(char *) "edit", NULL
7476 };
7477
7478 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7479 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7480 if (!SWIG_IsOK(res1)) {
7481 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7482 }
7483 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7484 ecode2 = SWIG_AsVal_int(obj1, &val2);
7485 if (!SWIG_IsOK(ecode2)) {
7486 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7487 }
7488 arg2 = static_cast< int >(val2);
7489 if (obj2) {
7490 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7491 if (!SWIG_IsOK(ecode3)) {
7492 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7493 }
7494 arg3 = static_cast< bool >(val3);
7495 }
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 (arg1)->SetColumnEditable(arg2,arg3);
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 resultobj = SWIG_Py_Void();
7503 return resultobj;
7504 fail:
7505 return NULL;
7506 }
7507
7508
7509 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj = 0;
7511 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7512 int arg2 ;
7513 bool result;
7514 void *argp1 = 0 ;
7515 int res1 = 0 ;
7516 int val2 ;
7517 int ecode2 = 0 ;
7518 PyObject * obj0 = 0 ;
7519 PyObject * obj1 = 0 ;
7520 char * kwnames[] = {
7521 (char *) "self",(char *) "column", NULL
7522 };
7523
7524 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7525 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7526 if (!SWIG_IsOK(res1)) {
7527 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7528 }
7529 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7530 ecode2 = SWIG_AsVal_int(obj1, &val2);
7531 if (!SWIG_IsOK(ecode2)) {
7532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7533 }
7534 arg2 = static_cast< int >(val2);
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7538 wxPyEndAllowThreads(__tstate);
7539 if (PyErr_Occurred()) SWIG_fail;
7540 }
7541 {
7542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7543 }
7544 return resultobj;
7545 fail:
7546 return NULL;
7547 }
7548
7549
7550 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7551 PyObject *resultobj = 0;
7552 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7553 wxTreeItemId *arg2 = 0 ;
7554 int arg3 = (int) -1 ;
7555 wxString result;
7556 void *argp1 = 0 ;
7557 int res1 = 0 ;
7558 void *argp2 = 0 ;
7559 int res2 = 0 ;
7560 int val3 ;
7561 int ecode3 = 0 ;
7562 PyObject * obj0 = 0 ;
7563 PyObject * obj1 = 0 ;
7564 PyObject * obj2 = 0 ;
7565 char * kwnames[] = {
7566 (char *) "self",(char *) "item",(char *) "column", NULL
7567 };
7568
7569 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7570 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7571 if (!SWIG_IsOK(res1)) {
7572 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7573 }
7574 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7575 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7576 if (!SWIG_IsOK(res2)) {
7577 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7578 }
7579 if (!argp2) {
7580 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7581 }
7582 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7583 if (obj2) {
7584 ecode3 = SWIG_AsVal_int(obj2, &val3);
7585 if (!SWIG_IsOK(ecode3)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7587 }
7588 arg3 = static_cast< int >(val3);
7589 }
7590 {
7591 PyThreadState* __tstate = wxPyBeginAllowThreads();
7592 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7593 wxPyEndAllowThreads(__tstate);
7594 if (PyErr_Occurred()) SWIG_fail;
7595 }
7596 {
7597 #if wxUSE_UNICODE
7598 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7599 #else
7600 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7601 #endif
7602 }
7603 return resultobj;
7604 fail:
7605 return NULL;
7606 }
7607
7608
7609 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7610 PyObject *resultobj = 0;
7611 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7612 wxTreeItemId *arg2 = 0 ;
7613 int arg3 = (int) -1 ;
7614 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7615 int result;
7616 void *argp1 = 0 ;
7617 int res1 = 0 ;
7618 void *argp2 = 0 ;
7619 int res2 = 0 ;
7620 int val3 ;
7621 int ecode3 = 0 ;
7622 int val4 ;
7623 int ecode4 = 0 ;
7624 PyObject * obj0 = 0 ;
7625 PyObject * obj1 = 0 ;
7626 PyObject * obj2 = 0 ;
7627 PyObject * obj3 = 0 ;
7628 char * kwnames[] = {
7629 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7630 };
7631
7632 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7633 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7634 if (!SWIG_IsOK(res1)) {
7635 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7636 }
7637 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7638 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7639 if (!SWIG_IsOK(res2)) {
7640 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7641 }
7642 if (!argp2) {
7643 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7644 }
7645 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7646 if (obj2) {
7647 ecode3 = SWIG_AsVal_int(obj2, &val3);
7648 if (!SWIG_IsOK(ecode3)) {
7649 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7650 }
7651 arg3 = static_cast< int >(val3);
7652 }
7653 if (obj3) {
7654 ecode4 = SWIG_AsVal_int(obj3, &val4);
7655 if (!SWIG_IsOK(ecode4)) {
7656 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7657 }
7658 arg4 = static_cast< wxTreeItemIcon >(val4);
7659 }
7660 {
7661 PyThreadState* __tstate = wxPyBeginAllowThreads();
7662 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7663 wxPyEndAllowThreads(__tstate);
7664 if (PyErr_Occurred()) SWIG_fail;
7665 }
7666 resultobj = SWIG_From_int(static_cast< int >(result));
7667 return resultobj;
7668 fail:
7669 return NULL;
7670 }
7671
7672
7673 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7674 PyObject *resultobj = 0;
7675 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7676 wxTreeItemId *arg2 = 0 ;
7677 wxString *arg3 = 0 ;
7678 int arg4 = (int) -1 ;
7679 void *argp1 = 0 ;
7680 int res1 = 0 ;
7681 void *argp2 = 0 ;
7682 int res2 = 0 ;
7683 bool temp3 = false ;
7684 int val4 ;
7685 int ecode4 = 0 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 PyObject * obj2 = 0 ;
7689 PyObject * obj3 = 0 ;
7690 char * kwnames[] = {
7691 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7692 };
7693
7694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7696 if (!SWIG_IsOK(res1)) {
7697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7698 }
7699 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7700 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7701 if (!SWIG_IsOK(res2)) {
7702 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7703 }
7704 if (!argp2) {
7705 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7706 }
7707 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7708 {
7709 arg3 = wxString_in_helper(obj2);
7710 if (arg3 == NULL) SWIG_fail;
7711 temp3 = true;
7712 }
7713 if (obj3) {
7714 ecode4 = SWIG_AsVal_int(obj3, &val4);
7715 if (!SWIG_IsOK(ecode4)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7717 }
7718 arg4 = static_cast< int >(val4);
7719 }
7720 {
7721 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7723 wxPyEndAllowThreads(__tstate);
7724 if (PyErr_Occurred()) SWIG_fail;
7725 }
7726 resultobj = SWIG_Py_Void();
7727 {
7728 if (temp3)
7729 delete arg3;
7730 }
7731 return resultobj;
7732 fail:
7733 {
7734 if (temp3)
7735 delete arg3;
7736 }
7737 return NULL;
7738 }
7739
7740
7741 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7742 PyObject *resultobj = 0;
7743 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7744 wxTreeItemId *arg2 = 0 ;
7745 int arg3 ;
7746 int arg4 = (int) -1 ;
7747 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7748 void *argp1 = 0 ;
7749 int res1 = 0 ;
7750 void *argp2 = 0 ;
7751 int res2 = 0 ;
7752 int val3 ;
7753 int ecode3 = 0 ;
7754 int val4 ;
7755 int ecode4 = 0 ;
7756 int val5 ;
7757 int ecode5 = 0 ;
7758 PyObject * obj0 = 0 ;
7759 PyObject * obj1 = 0 ;
7760 PyObject * obj2 = 0 ;
7761 PyObject * obj3 = 0 ;
7762 PyObject * obj4 = 0 ;
7763 char * kwnames[] = {
7764 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7765 };
7766
7767 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7768 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7769 if (!SWIG_IsOK(res1)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7771 }
7772 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7773 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7774 if (!SWIG_IsOK(res2)) {
7775 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7776 }
7777 if (!argp2) {
7778 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7779 }
7780 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7781 ecode3 = SWIG_AsVal_int(obj2, &val3);
7782 if (!SWIG_IsOK(ecode3)) {
7783 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7784 }
7785 arg3 = static_cast< int >(val3);
7786 if (obj3) {
7787 ecode4 = SWIG_AsVal_int(obj3, &val4);
7788 if (!SWIG_IsOK(ecode4)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7790 }
7791 arg4 = static_cast< int >(val4);
7792 }
7793 if (obj4) {
7794 ecode5 = SWIG_AsVal_int(obj4, &val5);
7795 if (!SWIG_IsOK(ecode5)) {
7796 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7797 }
7798 arg5 = static_cast< wxTreeItemIcon >(val5);
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7803 wxPyEndAllowThreads(__tstate);
7804 if (PyErr_Occurred()) SWIG_fail;
7805 }
7806 resultobj = SWIG_Py_Void();
7807 return resultobj;
7808 fail:
7809 return NULL;
7810 }
7811
7812
7813 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7814 PyObject *resultobj = 0;
7815 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7816 wxTreeItemId *arg2 = 0 ;
7817 wxPyTreeItemData *result = 0 ;
7818 void *argp1 = 0 ;
7819 int res1 = 0 ;
7820 void *argp2 = 0 ;
7821 int res2 = 0 ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char * kwnames[] = {
7825 (char *) "self",(char *) "item", NULL
7826 };
7827
7828 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7829 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7830 if (!SWIG_IsOK(res1)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7832 }
7833 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7834 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7835 if (!SWIG_IsOK(res2)) {
7836 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7837 }
7838 if (!argp2) {
7839 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7840 }
7841 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7842 {
7843 PyThreadState* __tstate = wxPyBeginAllowThreads();
7844 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7845 wxPyEndAllowThreads(__tstate);
7846 if (PyErr_Occurred()) SWIG_fail;
7847 }
7848 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7856 PyObject *resultobj = 0;
7857 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7858 wxTreeItemId *arg2 = 0 ;
7859 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7860 void *argp1 = 0 ;
7861 int res1 = 0 ;
7862 void *argp2 = 0 ;
7863 int res2 = 0 ;
7864 int res3 = 0 ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj2 = 0 ;
7868 char * kwnames[] = {
7869 (char *) "self",(char *) "item",(char *) "data", NULL
7870 };
7871
7872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7874 if (!SWIG_IsOK(res1)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7876 }
7877 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7878 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7879 if (!SWIG_IsOK(res2)) {
7880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7881 }
7882 if (!argp2) {
7883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7884 }
7885 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7886 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7887 if (!SWIG_IsOK(res3)) {
7888 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7889 }
7890 {
7891 PyThreadState* __tstate = wxPyBeginAllowThreads();
7892 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7893 wxPyEndAllowThreads(__tstate);
7894 if (PyErr_Occurred()) SWIG_fail;
7895 }
7896 resultobj = SWIG_Py_Void();
7897 return resultobj;
7898 fail:
7899 return NULL;
7900 }
7901
7902
7903 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7904 PyObject *resultobj = 0;
7905 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7906 wxTreeItemId *arg2 = 0 ;
7907 PyObject *result = 0 ;
7908 void *argp1 = 0 ;
7909 int res1 = 0 ;
7910 void *argp2 = 0 ;
7911 int res2 = 0 ;
7912 PyObject * obj0 = 0 ;
7913 PyObject * obj1 = 0 ;
7914 char * kwnames[] = {
7915 (char *) "self",(char *) "item", NULL
7916 };
7917
7918 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7919 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7920 if (!SWIG_IsOK(res1)) {
7921 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7922 }
7923 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7924 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7925 if (!SWIG_IsOK(res2)) {
7926 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7927 }
7928 if (!argp2) {
7929 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7930 }
7931 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 resultobj = result;
7939 return resultobj;
7940 fail:
7941 return NULL;
7942 }
7943
7944
7945 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj = 0;
7947 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7948 wxTreeItemId *arg2 = 0 ;
7949 PyObject *arg3 = (PyObject *) 0 ;
7950 void *argp1 = 0 ;
7951 int res1 = 0 ;
7952 void *argp2 = 0 ;
7953 int res2 = 0 ;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 PyObject * obj2 = 0 ;
7957 char * kwnames[] = {
7958 (char *) "self",(char *) "item",(char *) "obj", NULL
7959 };
7960
7961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7963 if (!SWIG_IsOK(res1)) {
7964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7965 }
7966 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7967 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7968 if (!SWIG_IsOK(res2)) {
7969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7970 }
7971 if (!argp2) {
7972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7973 }
7974 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7975 arg3 = obj2;
7976 {
7977 PyThreadState* __tstate = wxPyBeginAllowThreads();
7978 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7979 wxPyEndAllowThreads(__tstate);
7980 if (PyErr_Occurred()) SWIG_fail;
7981 }
7982 resultobj = SWIG_Py_Void();
7983 return resultobj;
7984 fail:
7985 return NULL;
7986 }
7987
7988
7989 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7990 PyObject *resultobj = 0;
7991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7992 wxTreeItemId *arg2 = 0 ;
7993 bool result;
7994 void *argp1 = 0 ;
7995 int res1 = 0 ;
7996 void *argp2 = 0 ;
7997 int res2 = 0 ;
7998 PyObject * obj0 = 0 ;
7999 PyObject * obj1 = 0 ;
8000 char * kwnames[] = {
8001 (char *) "self",(char *) "item", NULL
8002 };
8003
8004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
8005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8006 if (!SWIG_IsOK(res1)) {
8007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8008 }
8009 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8011 if (!SWIG_IsOK(res2)) {
8012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8013 }
8014 if (!argp2) {
8015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8016 }
8017 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8018 {
8019 PyThreadState* __tstate = wxPyBeginAllowThreads();
8020 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8026 }
8027 return resultobj;
8028 fail:
8029 return NULL;
8030 }
8031
8032
8033 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8034 PyObject *resultobj = 0;
8035 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8036 wxTreeItemId *arg2 = 0 ;
8037 wxColour result;
8038 void *argp1 = 0 ;
8039 int res1 = 0 ;
8040 void *argp2 = 0 ;
8041 int res2 = 0 ;
8042 PyObject * obj0 = 0 ;
8043 PyObject * obj1 = 0 ;
8044 char * kwnames[] = {
8045 (char *) "self",(char *) "item", NULL
8046 };
8047
8048 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8049 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8050 if (!SWIG_IsOK(res1)) {
8051 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8052 }
8053 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8054 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8055 if (!SWIG_IsOK(res2)) {
8056 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8057 }
8058 if (!argp2) {
8059 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8060 }
8061 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8069 return resultobj;
8070 fail:
8071 return NULL;
8072 }
8073
8074
8075 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj = 0;
8077 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8078 wxTreeItemId *arg2 = 0 ;
8079 wxColour result;
8080 void *argp1 = 0 ;
8081 int res1 = 0 ;
8082 void *argp2 = 0 ;
8083 int res2 = 0 ;
8084 PyObject * obj0 = 0 ;
8085 PyObject * obj1 = 0 ;
8086 char * kwnames[] = {
8087 (char *) "self",(char *) "item", NULL
8088 };
8089
8090 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8091 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8092 if (!SWIG_IsOK(res1)) {
8093 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8094 }
8095 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8096 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8097 if (!SWIG_IsOK(res2)) {
8098 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8099 }
8100 if (!argp2) {
8101 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8102 }
8103 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8107 wxPyEndAllowThreads(__tstate);
8108 if (PyErr_Occurred()) SWIG_fail;
8109 }
8110 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8111 return resultobj;
8112 fail:
8113 return NULL;
8114 }
8115
8116
8117 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8118 PyObject *resultobj = 0;
8119 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8120 wxTreeItemId *arg2 = 0 ;
8121 wxFont result;
8122 void *argp1 = 0 ;
8123 int res1 = 0 ;
8124 void *argp2 = 0 ;
8125 int res2 = 0 ;
8126 PyObject * obj0 = 0 ;
8127 PyObject * obj1 = 0 ;
8128 char * kwnames[] = {
8129 (char *) "self",(char *) "item", NULL
8130 };
8131
8132 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8133 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8134 if (!SWIG_IsOK(res1)) {
8135 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8136 }
8137 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8138 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8139 if (!SWIG_IsOK(res2)) {
8140 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8141 }
8142 if (!argp2) {
8143 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8144 }
8145 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8149 wxPyEndAllowThreads(__tstate);
8150 if (PyErr_Occurred()) SWIG_fail;
8151 }
8152 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8153 return resultobj;
8154 fail:
8155 return NULL;
8156 }
8157
8158
8159 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8160 PyObject *resultobj = 0;
8161 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8162 wxTreeItemId *arg2 = 0 ;
8163 bool arg3 = (bool) true ;
8164 void *argp1 = 0 ;
8165 int res1 = 0 ;
8166 void *argp2 = 0 ;
8167 int res2 = 0 ;
8168 bool val3 ;
8169 int ecode3 = 0 ;
8170 PyObject * obj0 = 0 ;
8171 PyObject * obj1 = 0 ;
8172 PyObject * obj2 = 0 ;
8173 char * kwnames[] = {
8174 (char *) "self",(char *) "item",(char *) "has", NULL
8175 };
8176
8177 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8178 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8179 if (!SWIG_IsOK(res1)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8181 }
8182 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8183 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8184 if (!SWIG_IsOK(res2)) {
8185 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8186 }
8187 if (!argp2) {
8188 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8189 }
8190 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8191 if (obj2) {
8192 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8193 if (!SWIG_IsOK(ecode3)) {
8194 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8195 }
8196 arg3 = static_cast< bool >(val3);
8197 }
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = SWIG_Py_Void();
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj = 0;
8213 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8214 wxTreeItemId *arg2 = 0 ;
8215 bool arg3 = (bool) true ;
8216 void *argp1 = 0 ;
8217 int res1 = 0 ;
8218 void *argp2 = 0 ;
8219 int res2 = 0 ;
8220 bool val3 ;
8221 int ecode3 = 0 ;
8222 PyObject * obj0 = 0 ;
8223 PyObject * obj1 = 0 ;
8224 PyObject * obj2 = 0 ;
8225 char * kwnames[] = {
8226 (char *) "self",(char *) "item",(char *) "bold", NULL
8227 };
8228
8229 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8230 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8231 if (!SWIG_IsOK(res1)) {
8232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8233 }
8234 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8235 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8236 if (!SWIG_IsOK(res2)) {
8237 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8238 }
8239 if (!argp2) {
8240 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8241 }
8242 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8243 if (obj2) {
8244 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8245 if (!SWIG_IsOK(ecode3)) {
8246 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8247 }
8248 arg3 = static_cast< bool >(val3);
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
8253 wxPyEndAllowThreads(__tstate);
8254 if (PyErr_Occurred()) SWIG_fail;
8255 }
8256 resultobj = SWIG_Py_Void();
8257 return resultobj;
8258 fail:
8259 return NULL;
8260 }
8261
8262
8263 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8264 PyObject *resultobj = 0;
8265 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8266 wxTreeItemId *arg2 = 0 ;
8267 wxColour *arg3 = 0 ;
8268 void *argp1 = 0 ;
8269 int res1 = 0 ;
8270 void *argp2 = 0 ;
8271 int res2 = 0 ;
8272 wxColour temp3 ;
8273 PyObject * obj0 = 0 ;
8274 PyObject * obj1 = 0 ;
8275 PyObject * obj2 = 0 ;
8276 char * kwnames[] = {
8277 (char *) "self",(char *) "item",(char *) "colour", NULL
8278 };
8279
8280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8282 if (!SWIG_IsOK(res1)) {
8283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8284 }
8285 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8286 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8287 if (!SWIG_IsOK(res2)) {
8288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8289 }
8290 if (!argp2) {
8291 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8292 }
8293 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8294 {
8295 arg3 = &temp3;
8296 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8297 }
8298 {
8299 PyThreadState* __tstate = wxPyBeginAllowThreads();
8300 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8301 wxPyEndAllowThreads(__tstate);
8302 if (PyErr_Occurred()) SWIG_fail;
8303 }
8304 resultobj = SWIG_Py_Void();
8305 return resultobj;
8306 fail:
8307 return NULL;
8308 }
8309
8310
8311 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8312 PyObject *resultobj = 0;
8313 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8314 wxTreeItemId *arg2 = 0 ;
8315 wxColour *arg3 = 0 ;
8316 void *argp1 = 0 ;
8317 int res1 = 0 ;
8318 void *argp2 = 0 ;
8319 int res2 = 0 ;
8320 wxColour temp3 ;
8321 PyObject * obj0 = 0 ;
8322 PyObject * obj1 = 0 ;
8323 PyObject * obj2 = 0 ;
8324 char * kwnames[] = {
8325 (char *) "self",(char *) "item",(char *) "colour", NULL
8326 };
8327
8328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8330 if (!SWIG_IsOK(res1)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8332 }
8333 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8335 if (!SWIG_IsOK(res2)) {
8336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8337 }
8338 if (!argp2) {
8339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8340 }
8341 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8342 {
8343 arg3 = &temp3;
8344 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8345 }
8346 {
8347 PyThreadState* __tstate = wxPyBeginAllowThreads();
8348 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8349 wxPyEndAllowThreads(__tstate);
8350 if (PyErr_Occurred()) SWIG_fail;
8351 }
8352 resultobj = SWIG_Py_Void();
8353 return resultobj;
8354 fail:
8355 return NULL;
8356 }
8357
8358
8359 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8360 PyObject *resultobj = 0;
8361 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8362 wxTreeItemId *arg2 = 0 ;
8363 wxFont *arg3 = 0 ;
8364 void *argp1 = 0 ;
8365 int res1 = 0 ;
8366 void *argp2 = 0 ;
8367 int res2 = 0 ;
8368 void *argp3 = 0 ;
8369 int res3 = 0 ;
8370 PyObject * obj0 = 0 ;
8371 PyObject * obj1 = 0 ;
8372 PyObject * obj2 = 0 ;
8373 char * kwnames[] = {
8374 (char *) "self",(char *) "item",(char *) "font", NULL
8375 };
8376
8377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8379 if (!SWIG_IsOK(res1)) {
8380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8381 }
8382 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8383 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8384 if (!SWIG_IsOK(res2)) {
8385 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8386 }
8387 if (!argp2) {
8388 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8389 }
8390 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8391 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8392 if (!SWIG_IsOK(res3)) {
8393 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8394 }
8395 if (!argp3) {
8396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8397 }
8398 arg3 = reinterpret_cast< wxFont * >(argp3);
8399 {
8400 PyThreadState* __tstate = wxPyBeginAllowThreads();
8401 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
8402 wxPyEndAllowThreads(__tstate);
8403 if (PyErr_Occurred()) SWIG_fail;
8404 }
8405 resultobj = SWIG_Py_Void();
8406 return resultobj;
8407 fail:
8408 return NULL;
8409 }
8410
8411
8412 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8413 PyObject *resultobj = 0;
8414 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8415 wxTreeItemId *arg2 = 0 ;
8416 bool result;
8417 void *argp1 = 0 ;
8418 int res1 = 0 ;
8419 void *argp2 = 0 ;
8420 int res2 = 0 ;
8421 PyObject * obj0 = 0 ;
8422 PyObject * obj1 = 0 ;
8423 char * kwnames[] = {
8424 (char *) "self",(char *) "item", NULL
8425 };
8426
8427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8429 if (!SWIG_IsOK(res1)) {
8430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8431 }
8432 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8433 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8434 if (!SWIG_IsOK(res2)) {
8435 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8436 }
8437 if (!argp2) {
8438 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8439 }
8440 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8444 wxPyEndAllowThreads(__tstate);
8445 if (PyErr_Occurred()) SWIG_fail;
8446 }
8447 {
8448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8449 }
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj = 0;
8458 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8459 wxTreeItemId *arg2 = 0 ;
8460 bool result;
8461 void *argp1 = 0 ;
8462 int res1 = 0 ;
8463 void *argp2 = 0 ;
8464 int res2 = 0 ;
8465 PyObject * obj0 = 0 ;
8466 PyObject * obj1 = 0 ;
8467 char * kwnames[] = {
8468 (char *) "self",(char *) "item", NULL
8469 };
8470
8471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8473 if (!SWIG_IsOK(res1)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8475 }
8476 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8477 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8478 if (!SWIG_IsOK(res2)) {
8479 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8480 }
8481 if (!argp2) {
8482 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8483 }
8484 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8485 {
8486 PyThreadState* __tstate = wxPyBeginAllowThreads();
8487 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
8488 wxPyEndAllowThreads(__tstate);
8489 if (PyErr_Occurred()) SWIG_fail;
8490 }
8491 {
8492 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8493 }
8494 return resultobj;
8495 fail:
8496 return NULL;
8497 }
8498
8499
8500 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8501 PyObject *resultobj = 0;
8502 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8503 wxTreeItemId *arg2 = 0 ;
8504 bool result;
8505 void *argp1 = 0 ;
8506 int res1 = 0 ;
8507 void *argp2 = 0 ;
8508 int res2 = 0 ;
8509 PyObject * obj0 = 0 ;
8510 PyObject * obj1 = 0 ;
8511 char * kwnames[] = {
8512 (char *) "self",(char *) "item", NULL
8513 };
8514
8515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8517 if (!SWIG_IsOK(res1)) {
8518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8519 }
8520 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8521 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8522 if (!SWIG_IsOK(res2)) {
8523 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8524 }
8525 if (!argp2) {
8526 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8527 }
8528 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8529 {
8530 PyThreadState* __tstate = wxPyBeginAllowThreads();
8531 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8532 wxPyEndAllowThreads(__tstate);
8533 if (PyErr_Occurred()) SWIG_fail;
8534 }
8535 {
8536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8537 }
8538 return resultobj;
8539 fail:
8540 return NULL;
8541 }
8542
8543
8544 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8545 PyObject *resultobj = 0;
8546 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8547 wxTreeItemId *arg2 = 0 ;
8548 bool result;
8549 void *argp1 = 0 ;
8550 int res1 = 0 ;
8551 void *argp2 = 0 ;
8552 int res2 = 0 ;
8553 PyObject * obj0 = 0 ;
8554 PyObject * obj1 = 0 ;
8555 char * kwnames[] = {
8556 (char *) "self",(char *) "item", NULL
8557 };
8558
8559 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8560 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8561 if (!SWIG_IsOK(res1)) {
8562 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8563 }
8564 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8565 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8566 if (!SWIG_IsOK(res2)) {
8567 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8568 }
8569 if (!argp2) {
8570 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8571 }
8572 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8576 wxPyEndAllowThreads(__tstate);
8577 if (PyErr_Occurred()) SWIG_fail;
8578 }
8579 {
8580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8581 }
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj = 0;
8590 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8591 wxTreeItemId *arg2 = 0 ;
8592 bool result;
8593 void *argp1 = 0 ;
8594 int res1 = 0 ;
8595 void *argp2 = 0 ;
8596 int res2 = 0 ;
8597 PyObject * obj0 = 0 ;
8598 PyObject * obj1 = 0 ;
8599 char * kwnames[] = {
8600 (char *) "self",(char *) "item", NULL
8601 };
8602
8603 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8604 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8605 if (!SWIG_IsOK(res1)) {
8606 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8607 }
8608 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8609 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8610 if (!SWIG_IsOK(res2)) {
8611 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8612 }
8613 if (!argp2) {
8614 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8615 }
8616 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8617 {
8618 PyThreadState* __tstate = wxPyBeginAllowThreads();
8619 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 {
8624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8625 }
8626 return resultobj;
8627 fail:
8628 return NULL;
8629 }
8630
8631
8632 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj = 0;
8634 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8635 wxTreeItemId *arg2 = 0 ;
8636 bool arg3 = (bool) true ;
8637 size_t result;
8638 void *argp1 = 0 ;
8639 int res1 = 0 ;
8640 void *argp2 = 0 ;
8641 int res2 = 0 ;
8642 bool val3 ;
8643 int ecode3 = 0 ;
8644 PyObject * obj0 = 0 ;
8645 PyObject * obj1 = 0 ;
8646 PyObject * obj2 = 0 ;
8647 char * kwnames[] = {
8648 (char *) "self",(char *) "item",(char *) "recursively", NULL
8649 };
8650
8651 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8652 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8653 if (!SWIG_IsOK(res1)) {
8654 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8655 }
8656 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8657 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8658 if (!SWIG_IsOK(res2)) {
8659 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8660 }
8661 if (!argp2) {
8662 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8663 }
8664 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8665 if (obj2) {
8666 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8667 if (!SWIG_IsOK(ecode3)) {
8668 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8669 }
8670 arg3 = static_cast< bool >(val3);
8671 }
8672 {
8673 PyThreadState* __tstate = wxPyBeginAllowThreads();
8674 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8686 PyObject *resultobj = 0;
8687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8688 wxTreeItemId result;
8689 void *argp1 = 0 ;
8690 int res1 = 0 ;
8691 PyObject *swig_obj[1] ;
8692
8693 if (!args) SWIG_fail;
8694 swig_obj[0] = args;
8695 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8696 if (!SWIG_IsOK(res1)) {
8697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8698 }
8699 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8703 wxPyEndAllowThreads(__tstate);
8704 if (PyErr_Occurred()) SWIG_fail;
8705 }
8706 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8707 return resultobj;
8708 fail:
8709 return NULL;
8710 }
8711
8712
8713 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8714 PyObject *resultobj = 0;
8715 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8716 wxTreeItemId result;
8717 void *argp1 = 0 ;
8718 int res1 = 0 ;
8719 PyObject *swig_obj[1] ;
8720
8721 if (!args) SWIG_fail;
8722 swig_obj[0] = args;
8723 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8724 if (!SWIG_IsOK(res1)) {
8725 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8726 }
8727 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8728 {
8729 PyThreadState* __tstate = wxPyBeginAllowThreads();
8730 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8731 wxPyEndAllowThreads(__tstate);
8732 if (PyErr_Occurred()) SWIG_fail;
8733 }
8734 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8735 return resultobj;
8736 fail:
8737 return NULL;
8738 }
8739
8740
8741 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8742 PyObject *resultobj = 0;
8743 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8744 PyObject *result = 0 ;
8745 void *argp1 = 0 ;
8746 int res1 = 0 ;
8747 PyObject *swig_obj[1] ;
8748
8749 if (!args) SWIG_fail;
8750 swig_obj[0] = args;
8751 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8752 if (!SWIG_IsOK(res1)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8754 }
8755 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8759 wxPyEndAllowThreads(__tstate);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 resultobj = result;
8763 return resultobj;
8764 fail:
8765 return NULL;
8766 }
8767
8768
8769 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8770 PyObject *resultobj = 0;
8771 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8772 wxTreeItemId *arg2 = 0 ;
8773 wxTreeItemId result;
8774 void *argp1 = 0 ;
8775 int res1 = 0 ;
8776 void *argp2 = 0 ;
8777 int res2 = 0 ;
8778 PyObject * obj0 = 0 ;
8779 PyObject * obj1 = 0 ;
8780 char * kwnames[] = {
8781 (char *) "self",(char *) "item", NULL
8782 };
8783
8784 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8785 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8786 if (!SWIG_IsOK(res1)) {
8787 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8788 }
8789 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8790 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8791 if (!SWIG_IsOK(res2)) {
8792 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8793 }
8794 if (!argp2) {
8795 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8796 }
8797 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8798 {
8799 PyThreadState* __tstate = wxPyBeginAllowThreads();
8800 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8801 wxPyEndAllowThreads(__tstate);
8802 if (PyErr_Occurred()) SWIG_fail;
8803 }
8804 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8805 return resultobj;
8806 fail:
8807 return NULL;
8808 }
8809
8810
8811 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8812 PyObject *resultobj = 0;
8813 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8814 wxTreeItemId *arg2 = 0 ;
8815 PyObject *result = 0 ;
8816 void *argp1 = 0 ;
8817 int res1 = 0 ;
8818 void *argp2 = 0 ;
8819 int res2 = 0 ;
8820 PyObject * obj0 = 0 ;
8821 PyObject * obj1 = 0 ;
8822 char * kwnames[] = {
8823 (char *) "self",(char *) "item", NULL
8824 };
8825
8826 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8827 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8828 if (!SWIG_IsOK(res1)) {
8829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8830 }
8831 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8832 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8833 if (!SWIG_IsOK(res2)) {
8834 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8835 }
8836 if (!argp2) {
8837 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8838 }
8839 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8840 {
8841 PyThreadState* __tstate = wxPyBeginAllowThreads();
8842 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = result;
8847 return resultobj;
8848 fail:
8849 return NULL;
8850 }
8851
8852
8853 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj = 0;
8855 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8856 wxTreeItemId *arg2 = 0 ;
8857 void *arg3 = (void *) 0 ;
8858 PyObject *result = 0 ;
8859 void *argp1 = 0 ;
8860 int res1 = 0 ;
8861 void *argp2 = 0 ;
8862 int res2 = 0 ;
8863 int res3 ;
8864 PyObject * obj0 = 0 ;
8865 PyObject * obj1 = 0 ;
8866 PyObject * obj2 = 0 ;
8867 char * kwnames[] = {
8868 (char *) "self",(char *) "item",(char *) "cookie", NULL
8869 };
8870
8871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8873 if (!SWIG_IsOK(res1)) {
8874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8875 }
8876 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8877 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8878 if (!SWIG_IsOK(res2)) {
8879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8880 }
8881 if (!argp2) {
8882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8883 }
8884 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8885 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8886 if (!SWIG_IsOK(res3)) {
8887 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8888 }
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8892 wxPyEndAllowThreads(__tstate);
8893 if (PyErr_Occurred()) SWIG_fail;
8894 }
8895 resultobj = result;
8896 return resultobj;
8897 fail:
8898 return NULL;
8899 }
8900
8901
8902 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8903 PyObject *resultobj = 0;
8904 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8905 wxTreeItemId *arg2 = 0 ;
8906 PyObject *result = 0 ;
8907 void *argp1 = 0 ;
8908 int res1 = 0 ;
8909 void *argp2 = 0 ;
8910 int res2 = 0 ;
8911 PyObject * obj0 = 0 ;
8912 PyObject * obj1 = 0 ;
8913 char * kwnames[] = {
8914 (char *) "self",(char *) "item", NULL
8915 };
8916
8917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8919 if (!SWIG_IsOK(res1)) {
8920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8921 }
8922 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8924 if (!SWIG_IsOK(res2)) {
8925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8926 }
8927 if (!argp2) {
8928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8929 }
8930 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
8937 resultobj = result;
8938 return resultobj;
8939 fail:
8940 return NULL;
8941 }
8942
8943
8944 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8945 PyObject *resultobj = 0;
8946 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8947 wxTreeItemId *arg2 = 0 ;
8948 void *arg3 = (void *) 0 ;
8949 PyObject *result = 0 ;
8950 void *argp1 = 0 ;
8951 int res1 = 0 ;
8952 void *argp2 = 0 ;
8953 int res2 = 0 ;
8954 int res3 ;
8955 PyObject * obj0 = 0 ;
8956 PyObject * obj1 = 0 ;
8957 PyObject * obj2 = 0 ;
8958 char * kwnames[] = {
8959 (char *) "self",(char *) "item",(char *) "cookie", NULL
8960 };
8961
8962 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8963 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8964 if (!SWIG_IsOK(res1)) {
8965 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8966 }
8967 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8968 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8969 if (!SWIG_IsOK(res2)) {
8970 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8971 }
8972 if (!argp2) {
8973 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8974 }
8975 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8976 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8977 if (!SWIG_IsOK(res3)) {
8978 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8979 }
8980 {
8981 PyThreadState* __tstate = wxPyBeginAllowThreads();
8982 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8983 wxPyEndAllowThreads(__tstate);
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
8986 resultobj = result;
8987 return resultobj;
8988 fail:
8989 return NULL;
8990 }
8991
8992
8993 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj = 0;
8995 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8996 wxTreeItemId *arg2 = 0 ;
8997 wxTreeItemId result;
8998 void *argp1 = 0 ;
8999 int res1 = 0 ;
9000 void *argp2 = 0 ;
9001 int res2 = 0 ;
9002 PyObject * obj0 = 0 ;
9003 PyObject * obj1 = 0 ;
9004 char * kwnames[] = {
9005 (char *) "self",(char *) "item", NULL
9006 };
9007
9008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9010 if (!SWIG_IsOK(res1)) {
9011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9012 }
9013 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9014 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9015 if (!SWIG_IsOK(res2)) {
9016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9017 }
9018 if (!argp2) {
9019 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9020 }
9021 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9025 wxPyEndAllowThreads(__tstate);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 }
9028 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9029 return resultobj;
9030 fail:
9031 return NULL;
9032 }
9033
9034
9035 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9036 PyObject *resultobj = 0;
9037 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9038 wxTreeItemId *arg2 = 0 ;
9039 wxTreeItemId result;
9040 void *argp1 = 0 ;
9041 int res1 = 0 ;
9042 void *argp2 = 0 ;
9043 int res2 = 0 ;
9044 PyObject * obj0 = 0 ;
9045 PyObject * obj1 = 0 ;
9046 char * kwnames[] = {
9047 (char *) "self",(char *) "item", NULL
9048 };
9049
9050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9052 if (!SWIG_IsOK(res1)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9054 }
9055 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9057 if (!SWIG_IsOK(res2)) {
9058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9059 }
9060 if (!argp2) {
9061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9062 }
9063 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9064 {
9065 PyThreadState* __tstate = wxPyBeginAllowThreads();
9066 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9067 wxPyEndAllowThreads(__tstate);
9068 if (PyErr_Occurred()) SWIG_fail;
9069 }
9070 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9071 return resultobj;
9072 fail:
9073 return NULL;
9074 }
9075
9076
9077 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9078 PyObject *resultobj = 0;
9079 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9080 wxTreeItemId *arg2 = 0 ;
9081 wxTreeItemId result;
9082 void *argp1 = 0 ;
9083 int res1 = 0 ;
9084 void *argp2 = 0 ;
9085 int res2 = 0 ;
9086 PyObject * obj0 = 0 ;
9087 PyObject * obj1 = 0 ;
9088 char * kwnames[] = {
9089 (char *) "self",(char *) "item", NULL
9090 };
9091
9092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9094 if (!SWIG_IsOK(res1)) {
9095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9096 }
9097 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9098 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9099 if (!SWIG_IsOK(res2)) {
9100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9101 }
9102 if (!argp2) {
9103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9104 }
9105 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9106 {
9107 PyThreadState* __tstate = wxPyBeginAllowThreads();
9108 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9109 wxPyEndAllowThreads(__tstate);
9110 if (PyErr_Occurred()) SWIG_fail;
9111 }
9112 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9113 return resultobj;
9114 fail:
9115 return NULL;
9116 }
9117
9118
9119 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj = 0;
9121 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9122 wxTreeItemId *arg2 = 0 ;
9123 wxTreeItemId result;
9124 void *argp1 = 0 ;
9125 int res1 = 0 ;
9126 void *argp2 = 0 ;
9127 int res2 = 0 ;
9128 PyObject * obj0 = 0 ;
9129 PyObject * obj1 = 0 ;
9130 char * kwnames[] = {
9131 (char *) "self",(char *) "item", NULL
9132 };
9133
9134 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
9135 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9136 if (!SWIG_IsOK(res1)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9138 }
9139 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9140 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9141 if (!SWIG_IsOK(res2)) {
9142 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9143 }
9144 if (!argp2) {
9145 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9146 }
9147 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
9151 wxPyEndAllowThreads(__tstate);
9152 if (PyErr_Occurred()) SWIG_fail;
9153 }
9154 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9155 return resultobj;
9156 fail:
9157 return NULL;
9158 }
9159
9160
9161 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9162 PyObject *resultobj = 0;
9163 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9164 wxTreeItemId result;
9165 void *argp1 = 0 ;
9166 int res1 = 0 ;
9167 PyObject *swig_obj[1] ;
9168
9169 if (!args) SWIG_fail;
9170 swig_obj[0] = args;
9171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9172 if (!SWIG_IsOK(res1)) {
9173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9174 }
9175 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
9178 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
9179 wxPyEndAllowThreads(__tstate);
9180 if (PyErr_Occurred()) SWIG_fail;
9181 }
9182 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9183 return resultobj;
9184 fail:
9185 return NULL;
9186 }
9187
9188
9189 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9190 PyObject *resultobj = 0;
9191 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9192 wxTreeItemId *arg2 = 0 ;
9193 wxTreeItemId result;
9194 void *argp1 = 0 ;
9195 int res1 = 0 ;
9196 void *argp2 = 0 ;
9197 int res2 = 0 ;
9198 PyObject * obj0 = 0 ;
9199 PyObject * obj1 = 0 ;
9200 char * kwnames[] = {
9201 (char *) "self",(char *) "item", NULL
9202 };
9203
9204 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9205 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9206 if (!SWIG_IsOK(res1)) {
9207 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9208 }
9209 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9210 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9211 if (!SWIG_IsOK(res2)) {
9212 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9213 }
9214 if (!argp2) {
9215 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9216 }
9217 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9225 return resultobj;
9226 fail:
9227 return NULL;
9228 }
9229
9230
9231 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj = 0;
9233 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9234 wxTreeItemId *arg2 = 0 ;
9235 wxTreeItemId result;
9236 void *argp1 = 0 ;
9237 int res1 = 0 ;
9238 void *argp2 = 0 ;
9239 int res2 = 0 ;
9240 PyObject * obj0 = 0 ;
9241 PyObject * obj1 = 0 ;
9242 char * kwnames[] = {
9243 (char *) "self",(char *) "item", NULL
9244 };
9245
9246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9248 if (!SWIG_IsOK(res1)) {
9249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9250 }
9251 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9252 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9253 if (!SWIG_IsOK(res2)) {
9254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9255 }
9256 if (!argp2) {
9257 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9258 }
9259 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9260 {
9261 PyThreadState* __tstate = wxPyBeginAllowThreads();
9262 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
9263 wxPyEndAllowThreads(__tstate);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9267 return resultobj;
9268 fail:
9269 return NULL;
9270 }
9271
9272
9273 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9274 PyObject *resultobj = 0;
9275 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9276 bool arg2 = (bool) false ;
9277 wxTreeItemId result;
9278 void *argp1 = 0 ;
9279 int res1 = 0 ;
9280 bool val2 ;
9281 int ecode2 = 0 ;
9282 PyObject * obj0 = 0 ;
9283 PyObject * obj1 = 0 ;
9284 char * kwnames[] = {
9285 (char *) "self",(char *) "fullRow", NULL
9286 };
9287
9288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
9289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9290 if (!SWIG_IsOK(res1)) {
9291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9292 }
9293 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9294 if (obj1) {
9295 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9296 if (!SWIG_IsOK(ecode2)) {
9297 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9298 }
9299 arg2 = static_cast< bool >(val2);
9300 }
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9308 return resultobj;
9309 fail:
9310 return NULL;
9311 }
9312
9313
9314 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj = 0;
9316 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9317 wxTreeItemId *arg2 = 0 ;
9318 bool arg3 = (bool) false ;
9319 wxTreeItemId result;
9320 void *argp1 = 0 ;
9321 int res1 = 0 ;
9322 void *argp2 = 0 ;
9323 int res2 = 0 ;
9324 bool val3 ;
9325 int ecode3 = 0 ;
9326 PyObject * obj0 = 0 ;
9327 PyObject * obj1 = 0 ;
9328 PyObject * obj2 = 0 ;
9329 char * kwnames[] = {
9330 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9331 };
9332
9333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9335 if (!SWIG_IsOK(res1)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9337 }
9338 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9339 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9340 if (!SWIG_IsOK(res2)) {
9341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9342 }
9343 if (!argp2) {
9344 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9345 }
9346 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9347 if (obj2) {
9348 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9349 if (!SWIG_IsOK(ecode3)) {
9350 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9351 }
9352 arg3 = static_cast< bool >(val3);
9353 }
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
9357 wxPyEndAllowThreads(__tstate);
9358 if (PyErr_Occurred()) SWIG_fail;
9359 }
9360 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9361 return resultobj;
9362 fail:
9363 return NULL;
9364 }
9365
9366
9367 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9368 PyObject *resultobj = 0;
9369 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9370 wxTreeItemId *arg2 = 0 ;
9371 bool arg3 = (bool) false ;
9372 wxTreeItemId result;
9373 void *argp1 = 0 ;
9374 int res1 = 0 ;
9375 void *argp2 = 0 ;
9376 int res2 = 0 ;
9377 bool val3 ;
9378 int ecode3 = 0 ;
9379 PyObject * obj0 = 0 ;
9380 PyObject * obj1 = 0 ;
9381 PyObject * obj2 = 0 ;
9382 char * kwnames[] = {
9383 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9384 };
9385
9386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9388 if (!SWIG_IsOK(res1)) {
9389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9390 }
9391 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9393 if (!SWIG_IsOK(res2)) {
9394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9395 }
9396 if (!argp2) {
9397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9398 }
9399 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9400 if (obj2) {
9401 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9402 if (!SWIG_IsOK(ecode3)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9404 }
9405 arg3 = static_cast< bool >(val3);
9406 }
9407 {
9408 PyThreadState* __tstate = wxPyBeginAllowThreads();
9409 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9414 return resultobj;
9415 fail:
9416 return NULL;
9417 }
9418
9419
9420 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj = 0;
9422 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9423 wxString *arg2 = 0 ;
9424 int arg3 = (int) -1 ;
9425 int arg4 = (int) -1 ;
9426 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9427 wxTreeItemId result;
9428 void *argp1 = 0 ;
9429 int res1 = 0 ;
9430 bool temp2 = false ;
9431 int val3 ;
9432 int ecode3 = 0 ;
9433 int val4 ;
9434 int ecode4 = 0 ;
9435 int res5 = 0 ;
9436 PyObject * obj0 = 0 ;
9437 PyObject * obj1 = 0 ;
9438 PyObject * obj2 = 0 ;
9439 PyObject * obj3 = 0 ;
9440 PyObject * obj4 = 0 ;
9441 char * kwnames[] = {
9442 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9443 };
9444
9445 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9446 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9447 if (!SWIG_IsOK(res1)) {
9448 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9449 }
9450 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9451 {
9452 arg2 = wxString_in_helper(obj1);
9453 if (arg2 == NULL) SWIG_fail;
9454 temp2 = true;
9455 }
9456 if (obj2) {
9457 ecode3 = SWIG_AsVal_int(obj2, &val3);
9458 if (!SWIG_IsOK(ecode3)) {
9459 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9460 }
9461 arg3 = static_cast< int >(val3);
9462 }
9463 if (obj3) {
9464 ecode4 = SWIG_AsVal_int(obj3, &val4);
9465 if (!SWIG_IsOK(ecode4)) {
9466 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9467 }
9468 arg4 = static_cast< int >(val4);
9469 }
9470 if (obj4) {
9471 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9472 if (!SWIG_IsOK(res5)) {
9473 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9474 }
9475 }
9476 {
9477 PyThreadState* __tstate = wxPyBeginAllowThreads();
9478 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9479 wxPyEndAllowThreads(__tstate);
9480 if (PyErr_Occurred()) SWIG_fail;
9481 }
9482 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9483 {
9484 if (temp2)
9485 delete arg2;
9486 }
9487 return resultobj;
9488 fail:
9489 {
9490 if (temp2)
9491 delete arg2;
9492 }
9493 return NULL;
9494 }
9495
9496
9497 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj = 0;
9499 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9500 wxTreeItemId *arg2 = 0 ;
9501 wxString *arg3 = 0 ;
9502 int arg4 = (int) -1 ;
9503 int arg5 = (int) -1 ;
9504 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9505 wxTreeItemId result;
9506 void *argp1 = 0 ;
9507 int res1 = 0 ;
9508 void *argp2 = 0 ;
9509 int res2 = 0 ;
9510 bool temp3 = false ;
9511 int val4 ;
9512 int ecode4 = 0 ;
9513 int val5 ;
9514 int ecode5 = 0 ;
9515 int res6 = 0 ;
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 PyObject * obj2 = 0 ;
9519 PyObject * obj3 = 0 ;
9520 PyObject * obj4 = 0 ;
9521 PyObject * obj5 = 0 ;
9522 char * kwnames[] = {
9523 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9524 };
9525
9526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9528 if (!SWIG_IsOK(res1)) {
9529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9530 }
9531 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9532 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9533 if (!SWIG_IsOK(res2)) {
9534 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9535 }
9536 if (!argp2) {
9537 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9538 }
9539 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9540 {
9541 arg3 = wxString_in_helper(obj2);
9542 if (arg3 == NULL) SWIG_fail;
9543 temp3 = true;
9544 }
9545 if (obj3) {
9546 ecode4 = SWIG_AsVal_int(obj3, &val4);
9547 if (!SWIG_IsOK(ecode4)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9549 }
9550 arg4 = static_cast< int >(val4);
9551 }
9552 if (obj4) {
9553 ecode5 = SWIG_AsVal_int(obj4, &val5);
9554 if (!SWIG_IsOK(ecode5)) {
9555 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9556 }
9557 arg5 = static_cast< int >(val5);
9558 }
9559 if (obj5) {
9560 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9561 if (!SWIG_IsOK(res6)) {
9562 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9563 }
9564 }
9565 {
9566 PyThreadState* __tstate = wxPyBeginAllowThreads();
9567 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9572 {
9573 if (temp3)
9574 delete arg3;
9575 }
9576 return resultobj;
9577 fail:
9578 {
9579 if (temp3)
9580 delete arg3;
9581 }
9582 return NULL;
9583 }
9584
9585
9586 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9587 PyObject *resultobj = 0;
9588 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9589 wxTreeItemId *arg2 = 0 ;
9590 wxTreeItemId *arg3 = 0 ;
9591 wxString *arg4 = 0 ;
9592 int arg5 = (int) -1 ;
9593 int arg6 = (int) -1 ;
9594 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9595 wxTreeItemId result;
9596 void *argp1 = 0 ;
9597 int res1 = 0 ;
9598 void *argp2 = 0 ;
9599 int res2 = 0 ;
9600 void *argp3 = 0 ;
9601 int res3 = 0 ;
9602 bool temp4 = false ;
9603 int val5 ;
9604 int ecode5 = 0 ;
9605 int val6 ;
9606 int ecode6 = 0 ;
9607 int res7 = 0 ;
9608 PyObject * obj0 = 0 ;
9609 PyObject * obj1 = 0 ;
9610 PyObject * obj2 = 0 ;
9611 PyObject * obj3 = 0 ;
9612 PyObject * obj4 = 0 ;
9613 PyObject * obj5 = 0 ;
9614 PyObject * obj6 = 0 ;
9615 char * kwnames[] = {
9616 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9617 };
9618
9619 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9620 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9621 if (!SWIG_IsOK(res1)) {
9622 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9623 }
9624 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9625 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9626 if (!SWIG_IsOK(res2)) {
9627 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9628 }
9629 if (!argp2) {
9630 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9631 }
9632 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9633 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9634 if (!SWIG_IsOK(res3)) {
9635 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9636 }
9637 if (!argp3) {
9638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9639 }
9640 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9641 {
9642 arg4 = wxString_in_helper(obj3);
9643 if (arg4 == NULL) SWIG_fail;
9644 temp4 = true;
9645 }
9646 if (obj4) {
9647 ecode5 = SWIG_AsVal_int(obj4, &val5);
9648 if (!SWIG_IsOK(ecode5)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9650 }
9651 arg5 = static_cast< int >(val5);
9652 }
9653 if (obj5) {
9654 ecode6 = SWIG_AsVal_int(obj5, &val6);
9655 if (!SWIG_IsOK(ecode6)) {
9656 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9657 }
9658 arg6 = static_cast< int >(val6);
9659 }
9660 if (obj6) {
9661 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9662 if (!SWIG_IsOK(res7)) {
9663 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9664 }
9665 }
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9673 {
9674 if (temp4)
9675 delete arg4;
9676 }
9677 return resultobj;
9678 fail:
9679 {
9680 if (temp4)
9681 delete arg4;
9682 }
9683 return NULL;
9684 }
9685
9686
9687 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9688 PyObject *resultobj = 0;
9689 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9690 wxTreeItemId *arg2 = 0 ;
9691 size_t arg3 ;
9692 wxString *arg4 = 0 ;
9693 int arg5 = (int) -1 ;
9694 int arg6 = (int) -1 ;
9695 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9696 wxTreeItemId result;
9697 void *argp1 = 0 ;
9698 int res1 = 0 ;
9699 void *argp2 = 0 ;
9700 int res2 = 0 ;
9701 size_t val3 ;
9702 int ecode3 = 0 ;
9703 bool temp4 = false ;
9704 int val5 ;
9705 int ecode5 = 0 ;
9706 int val6 ;
9707 int ecode6 = 0 ;
9708 int res7 = 0 ;
9709 PyObject * obj0 = 0 ;
9710 PyObject * obj1 = 0 ;
9711 PyObject * obj2 = 0 ;
9712 PyObject * obj3 = 0 ;
9713 PyObject * obj4 = 0 ;
9714 PyObject * obj5 = 0 ;
9715 PyObject * obj6 = 0 ;
9716 char * kwnames[] = {
9717 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9718 };
9719
9720 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9721 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9722 if (!SWIG_IsOK(res1)) {
9723 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9724 }
9725 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9726 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9727 if (!SWIG_IsOK(res2)) {
9728 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9729 }
9730 if (!argp2) {
9731 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9732 }
9733 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9734 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9735 if (!SWIG_IsOK(ecode3)) {
9736 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9737 }
9738 arg3 = static_cast< size_t >(val3);
9739 {
9740 arg4 = wxString_in_helper(obj3);
9741 if (arg4 == NULL) SWIG_fail;
9742 temp4 = true;
9743 }
9744 if (obj4) {
9745 ecode5 = SWIG_AsVal_int(obj4, &val5);
9746 if (!SWIG_IsOK(ecode5)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9748 }
9749 arg5 = static_cast< int >(val5);
9750 }
9751 if (obj5) {
9752 ecode6 = SWIG_AsVal_int(obj5, &val6);
9753 if (!SWIG_IsOK(ecode6)) {
9754 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9755 }
9756 arg6 = static_cast< int >(val6);
9757 }
9758 if (obj6) {
9759 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9760 if (!SWIG_IsOK(res7)) {
9761 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9762 }
9763 }
9764 {
9765 PyThreadState* __tstate = wxPyBeginAllowThreads();
9766 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9767 wxPyEndAllowThreads(__tstate);
9768 if (PyErr_Occurred()) SWIG_fail;
9769 }
9770 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9771 {
9772 if (temp4)
9773 delete arg4;
9774 }
9775 return resultobj;
9776 fail:
9777 {
9778 if (temp4)
9779 delete arg4;
9780 }
9781 return NULL;
9782 }
9783
9784
9785 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj = 0;
9787 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9788 wxTreeItemId *arg2 = 0 ;
9789 wxString *arg3 = 0 ;
9790 int arg4 = (int) -1 ;
9791 int arg5 = (int) -1 ;
9792 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9793 wxTreeItemId result;
9794 void *argp1 = 0 ;
9795 int res1 = 0 ;
9796 void *argp2 = 0 ;
9797 int res2 = 0 ;
9798 bool temp3 = false ;
9799 int val4 ;
9800 int ecode4 = 0 ;
9801 int val5 ;
9802 int ecode5 = 0 ;
9803 int res6 = 0 ;
9804 PyObject * obj0 = 0 ;
9805 PyObject * obj1 = 0 ;
9806 PyObject * obj2 = 0 ;
9807 PyObject * obj3 = 0 ;
9808 PyObject * obj4 = 0 ;
9809 PyObject * obj5 = 0 ;
9810 char * kwnames[] = {
9811 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9812 };
9813
9814 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9815 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9816 if (!SWIG_IsOK(res1)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9818 }
9819 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9820 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9821 if (!SWIG_IsOK(res2)) {
9822 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9823 }
9824 if (!argp2) {
9825 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9826 }
9827 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9828 {
9829 arg3 = wxString_in_helper(obj2);
9830 if (arg3 == NULL) SWIG_fail;
9831 temp3 = true;
9832 }
9833 if (obj3) {
9834 ecode4 = SWIG_AsVal_int(obj3, &val4);
9835 if (!SWIG_IsOK(ecode4)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9837 }
9838 arg4 = static_cast< int >(val4);
9839 }
9840 if (obj4) {
9841 ecode5 = SWIG_AsVal_int(obj4, &val5);
9842 if (!SWIG_IsOK(ecode5)) {
9843 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9844 }
9845 arg5 = static_cast< int >(val5);
9846 }
9847 if (obj5) {
9848 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9849 if (!SWIG_IsOK(res6)) {
9850 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9851 }
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9860 {
9861 if (temp3)
9862 delete arg3;
9863 }
9864 return resultobj;
9865 fail:
9866 {
9867 if (temp3)
9868 delete arg3;
9869 }
9870 return NULL;
9871 }
9872
9873
9874 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj = 0;
9876 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9877 wxTreeItemId *arg2 = 0 ;
9878 void *argp1 = 0 ;
9879 int res1 = 0 ;
9880 void *argp2 = 0 ;
9881 int res2 = 0 ;
9882 PyObject * obj0 = 0 ;
9883 PyObject * obj1 = 0 ;
9884 char * kwnames[] = {
9885 (char *) "self",(char *) "item", NULL
9886 };
9887
9888 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9889 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9890 if (!SWIG_IsOK(res1)) {
9891 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9892 }
9893 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9894 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9895 if (!SWIG_IsOK(res2)) {
9896 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9897 }
9898 if (!argp2) {
9899 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9900 }
9901 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9902 {
9903 PyThreadState* __tstate = wxPyBeginAllowThreads();
9904 (arg1)->Delete((wxTreeItemId const &)*arg2);
9905 wxPyEndAllowThreads(__tstate);
9906 if (PyErr_Occurred()) SWIG_fail;
9907 }
9908 resultobj = SWIG_Py_Void();
9909 return resultobj;
9910 fail:
9911 return NULL;
9912 }
9913
9914
9915 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9916 PyObject *resultobj = 0;
9917 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9918 wxTreeItemId *arg2 = 0 ;
9919 void *argp1 = 0 ;
9920 int res1 = 0 ;
9921 void *argp2 = 0 ;
9922 int res2 = 0 ;
9923 PyObject * obj0 = 0 ;
9924 PyObject * obj1 = 0 ;
9925 char * kwnames[] = {
9926 (char *) "self",(char *) "item", NULL
9927 };
9928
9929 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9930 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9931 if (!SWIG_IsOK(res1)) {
9932 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9933 }
9934 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9935 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9936 if (!SWIG_IsOK(res2)) {
9937 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9938 }
9939 if (!argp2) {
9940 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9941 }
9942 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9943 {
9944 PyThreadState* __tstate = wxPyBeginAllowThreads();
9945 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9946 wxPyEndAllowThreads(__tstate);
9947 if (PyErr_Occurred()) SWIG_fail;
9948 }
9949 resultobj = SWIG_Py_Void();
9950 return resultobj;
9951 fail:
9952 return NULL;
9953 }
9954
9955
9956 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9957 PyObject *resultobj = 0;
9958 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9959 void *argp1 = 0 ;
9960 int res1 = 0 ;
9961 PyObject *swig_obj[1] ;
9962
9963 if (!args) SWIG_fail;
9964 swig_obj[0] = args;
9965 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9966 if (!SWIG_IsOK(res1)) {
9967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9968 }
9969 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9970 {
9971 PyThreadState* __tstate = wxPyBeginAllowThreads();
9972 (arg1)->DeleteRoot();
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = SWIG_Py_Void();
9977 return resultobj;
9978 fail:
9979 return NULL;
9980 }
9981
9982
9983 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj = 0;
9985 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9986 wxTreeItemId *arg2 = 0 ;
9987 void *argp1 = 0 ;
9988 int res1 = 0 ;
9989 void *argp2 = 0 ;
9990 int res2 = 0 ;
9991 PyObject * obj0 = 0 ;
9992 PyObject * obj1 = 0 ;
9993 char * kwnames[] = {
9994 (char *) "self",(char *) "item", NULL
9995 };
9996
9997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9999 if (!SWIG_IsOK(res1)) {
10000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10001 }
10002 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10003 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10004 if (!SWIG_IsOK(res2)) {
10005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10006 }
10007 if (!argp2) {
10008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10009 }
10010 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 (arg1)->Expand((wxTreeItemId const &)*arg2);
10014 wxPyEndAllowThreads(__tstate);
10015 if (PyErr_Occurred()) SWIG_fail;
10016 }
10017 resultobj = SWIG_Py_Void();
10018 return resultobj;
10019 fail:
10020 return NULL;
10021 }
10022
10023
10024 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10025 PyObject *resultobj = 0;
10026 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10027 wxTreeItemId *arg2 = 0 ;
10028 void *argp1 = 0 ;
10029 int res1 = 0 ;
10030 void *argp2 = 0 ;
10031 int res2 = 0 ;
10032 PyObject * obj0 = 0 ;
10033 PyObject * obj1 = 0 ;
10034 char * kwnames[] = {
10035 (char *) "self",(char *) "item", NULL
10036 };
10037
10038 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10039 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10040 if (!SWIG_IsOK(res1)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10042 }
10043 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10044 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10045 if (!SWIG_IsOK(res2)) {
10046 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10047 }
10048 if (!argp2) {
10049 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10050 }
10051 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10052 {
10053 PyThreadState* __tstate = wxPyBeginAllowThreads();
10054 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 resultobj = SWIG_Py_Void();
10059 return resultobj;
10060 fail:
10061 return NULL;
10062 }
10063
10064
10065 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj = 0;
10067 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10068 wxTreeItemId *arg2 = 0 ;
10069 void *argp1 = 0 ;
10070 int res1 = 0 ;
10071 void *argp2 = 0 ;
10072 int res2 = 0 ;
10073 PyObject * obj0 = 0 ;
10074 PyObject * obj1 = 0 ;
10075 char * kwnames[] = {
10076 (char *) "self",(char *) "item", NULL
10077 };
10078
10079 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10080 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10081 if (!SWIG_IsOK(res1)) {
10082 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10083 }
10084 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10085 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10086 if (!SWIG_IsOK(res2)) {
10087 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10088 }
10089 if (!argp2) {
10090 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10091 }
10092 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
10095 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10096 wxPyEndAllowThreads(__tstate);
10097 if (PyErr_Occurred()) SWIG_fail;
10098 }
10099 resultobj = SWIG_Py_Void();
10100 return resultobj;
10101 fail:
10102 return NULL;
10103 }
10104
10105
10106 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10107 PyObject *resultobj = 0;
10108 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10109 wxTreeItemId *arg2 = 0 ;
10110 void *argp1 = 0 ;
10111 int res1 = 0 ;
10112 void *argp2 = 0 ;
10113 int res2 = 0 ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 char * kwnames[] = {
10117 (char *) "self",(char *) "item", NULL
10118 };
10119
10120 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10121 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10122 if (!SWIG_IsOK(res1)) {
10123 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10124 }
10125 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10126 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10127 if (!SWIG_IsOK(res2)) {
10128 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10129 }
10130 if (!argp2) {
10131 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10132 }
10133 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = SWIG_Py_Void();
10141 return resultobj;
10142 fail:
10143 return NULL;
10144 }
10145
10146
10147 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10148 PyObject *resultobj = 0;
10149 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10150 wxTreeItemId *arg2 = 0 ;
10151 void *argp1 = 0 ;
10152 int res1 = 0 ;
10153 void *argp2 = 0 ;
10154 int res2 = 0 ;
10155 PyObject * obj0 = 0 ;
10156 PyObject * obj1 = 0 ;
10157 char * kwnames[] = {
10158 (char *) "self",(char *) "item", NULL
10159 };
10160
10161 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10162 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10163 if (!SWIG_IsOK(res1)) {
10164 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10165 }
10166 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10167 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10168 if (!SWIG_IsOK(res2)) {
10169 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10170 }
10171 if (!argp2) {
10172 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10173 }
10174 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10175 {
10176 PyThreadState* __tstate = wxPyBeginAllowThreads();
10177 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10178 wxPyEndAllowThreads(__tstate);
10179 if (PyErr_Occurred()) SWIG_fail;
10180 }
10181 resultobj = SWIG_Py_Void();
10182 return resultobj;
10183 fail:
10184 return NULL;
10185 }
10186
10187
10188 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10189 PyObject *resultobj = 0;
10190 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10191 void *argp1 = 0 ;
10192 int res1 = 0 ;
10193 PyObject *swig_obj[1] ;
10194
10195 if (!args) SWIG_fail;
10196 swig_obj[0] = args;
10197 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10198 if (!SWIG_IsOK(res1)) {
10199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10200 }
10201 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10202 {
10203 PyThreadState* __tstate = wxPyBeginAllowThreads();
10204 (arg1)->Unselect();
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_Py_Void();
10209 return resultobj;
10210 fail:
10211 return NULL;
10212 }
10213
10214
10215 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10216 PyObject *resultobj = 0;
10217 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10218 void *argp1 = 0 ;
10219 int res1 = 0 ;
10220 PyObject *swig_obj[1] ;
10221
10222 if (!args) SWIG_fail;
10223 swig_obj[0] = args;
10224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10225 if (!SWIG_IsOK(res1)) {
10226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10227 }
10228 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 (arg1)->UnselectAll();
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 resultobj = SWIG_Py_Void();
10236 return resultobj;
10237 fail:
10238 return NULL;
10239 }
10240
10241
10242 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10243 PyObject *resultobj = 0;
10244 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10245 wxTreeItemId *arg2 = 0 ;
10246 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10247 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10248 bool arg4 = (bool) true ;
10249 void *argp1 = 0 ;
10250 int res1 = 0 ;
10251 void *argp2 = 0 ;
10252 int res2 = 0 ;
10253 void *argp3 = 0 ;
10254 int res3 = 0 ;
10255 bool val4 ;
10256 int ecode4 = 0 ;
10257 PyObject * obj0 = 0 ;
10258 PyObject * obj1 = 0 ;
10259 PyObject * obj2 = 0 ;
10260 PyObject * obj3 = 0 ;
10261 char * kwnames[] = {
10262 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10263 };
10264
10265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10267 if (!SWIG_IsOK(res1)) {
10268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10269 }
10270 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10271 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10272 if (!SWIG_IsOK(res2)) {
10273 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10274 }
10275 if (!argp2) {
10276 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10277 }
10278 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10279 if (obj2) {
10280 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10281 if (!SWIG_IsOK(res3)) {
10282 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10283 }
10284 if (!argp3) {
10285 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10286 }
10287 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
10288 }
10289 if (obj3) {
10290 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10291 if (!SWIG_IsOK(ecode4)) {
10292 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10293 }
10294 arg4 = static_cast< bool >(val4);
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
10299 wxPyEndAllowThreads(__tstate);
10300 if (PyErr_Occurred()) SWIG_fail;
10301 }
10302 resultobj = SWIG_Py_Void();
10303 return resultobj;
10304 fail:
10305 return NULL;
10306 }
10307
10308
10309 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10310 PyObject *resultobj = 0;
10311 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10312 void *argp1 = 0 ;
10313 int res1 = 0 ;
10314 PyObject *swig_obj[1] ;
10315
10316 if (!args) SWIG_fail;
10317 swig_obj[0] = args;
10318 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10319 if (!SWIG_IsOK(res1)) {
10320 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10321 }
10322 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 (arg1)->SelectAll();
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
10329 resultobj = SWIG_Py_Void();
10330 return resultobj;
10331 fail:
10332 return NULL;
10333 }
10334
10335
10336 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj = 0;
10338 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10339 wxTreeItemId *arg2 = 0 ;
10340 void *argp1 = 0 ;
10341 int res1 = 0 ;
10342 void *argp2 = 0 ;
10343 int res2 = 0 ;
10344 PyObject * obj0 = 0 ;
10345 PyObject * obj1 = 0 ;
10346 char * kwnames[] = {
10347 (char *) "self",(char *) "item", NULL
10348 };
10349
10350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10352 if (!SWIG_IsOK(res1)) {
10353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10354 }
10355 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10356 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10357 if (!SWIG_IsOK(res2)) {
10358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10359 }
10360 if (!argp2) {
10361 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10362 }
10363 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10364 {
10365 PyThreadState* __tstate = wxPyBeginAllowThreads();
10366 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10367 wxPyEndAllowThreads(__tstate);
10368 if (PyErr_Occurred()) SWIG_fail;
10369 }
10370 resultobj = SWIG_Py_Void();
10371 return resultobj;
10372 fail:
10373 return NULL;
10374 }
10375
10376
10377 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10378 PyObject *resultobj = 0;
10379 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10380 wxTreeItemId *arg2 = 0 ;
10381 void *argp1 = 0 ;
10382 int res1 = 0 ;
10383 void *argp2 = 0 ;
10384 int res2 = 0 ;
10385 PyObject * obj0 = 0 ;
10386 PyObject * obj1 = 0 ;
10387 char * kwnames[] = {
10388 (char *) "self",(char *) "item", NULL
10389 };
10390
10391 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10392 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10393 if (!SWIG_IsOK(res1)) {
10394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10395 }
10396 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10397 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10398 if (!SWIG_IsOK(res2)) {
10399 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10400 }
10401 if (!argp2) {
10402 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10403 }
10404 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10408 wxPyEndAllowThreads(__tstate);
10409 if (PyErr_Occurred()) SWIG_fail;
10410 }
10411 resultobj = SWIG_Py_Void();
10412 return resultobj;
10413 fail:
10414 return NULL;
10415 }
10416
10417
10418 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10419 PyObject *resultobj = 0;
10420 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10421 wxPoint *arg2 = 0 ;
10422 int *arg3 = 0 ;
10423 int *arg4 = 0 ;
10424 wxTreeItemId result;
10425 void *argp1 = 0 ;
10426 int res1 = 0 ;
10427 wxPoint temp2 ;
10428 int temp3 ;
10429 int res3 = SWIG_TMPOBJ ;
10430 int temp4 ;
10431 int res4 = SWIG_TMPOBJ ;
10432 PyObject * obj0 = 0 ;
10433 PyObject * obj1 = 0 ;
10434 char * kwnames[] = {
10435 (char *) "self",(char *) "point", NULL
10436 };
10437
10438 arg3 = &temp3;
10439 arg4 = &temp4;
10440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10442 if (!SWIG_IsOK(res1)) {
10443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10444 }
10445 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10446 {
10447 arg2 = &temp2;
10448 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10449 }
10450 {
10451 PyThreadState* __tstate = wxPyBeginAllowThreads();
10452 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10453 wxPyEndAllowThreads(__tstate);
10454 if (PyErr_Occurred()) SWIG_fail;
10455 }
10456 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10457 if (SWIG_IsTmpObj(res3)) {
10458 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10459 } else {
10460 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10461 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10462 }
10463 if (SWIG_IsTmpObj(res4)) {
10464 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10465 } else {
10466 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10467 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10468 }
10469 return resultobj;
10470 fail:
10471 return NULL;
10472 }
10473
10474
10475 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj = 0;
10477 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10478 wxTreeItemId *arg2 = 0 ;
10479 bool arg3 = (bool) false ;
10480 PyObject *result = 0 ;
10481 void *argp1 = 0 ;
10482 int res1 = 0 ;
10483 void *argp2 = 0 ;
10484 int res2 = 0 ;
10485 bool val3 ;
10486 int ecode3 = 0 ;
10487 PyObject * obj0 = 0 ;
10488 PyObject * obj1 = 0 ;
10489 PyObject * obj2 = 0 ;
10490 char * kwnames[] = {
10491 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10492 };
10493
10494 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10495 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10496 if (!SWIG_IsOK(res1)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10498 }
10499 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10500 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10501 if (!SWIG_IsOK(res2)) {
10502 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10503 }
10504 if (!argp2) {
10505 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10506 }
10507 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10508 if (obj2) {
10509 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10510 if (!SWIG_IsOK(ecode3)) {
10511 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10512 }
10513 arg3 = static_cast< bool >(val3);
10514 }
10515 {
10516 PyThreadState* __tstate = wxPyBeginAllowThreads();
10517 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10518 wxPyEndAllowThreads(__tstate);
10519 if (PyErr_Occurred()) SWIG_fail;
10520 }
10521 resultobj = result;
10522 return resultobj;
10523 fail:
10524 return NULL;
10525 }
10526
10527
10528 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj = 0;
10530 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10531 wxTreeItemId *arg2 = 0 ;
10532 int arg3 = (int) -1 ;
10533 void *argp1 = 0 ;
10534 int res1 = 0 ;
10535 void *argp2 = 0 ;
10536 int res2 = 0 ;
10537 int val3 ;
10538 int ecode3 = 0 ;
10539 PyObject * obj0 = 0 ;
10540 PyObject * obj1 = 0 ;
10541 PyObject * obj2 = 0 ;
10542 char * kwnames[] = {
10543 (char *) "self",(char *) "item",(char *) "column", NULL
10544 };
10545
10546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10548 if (!SWIG_IsOK(res1)) {
10549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10550 }
10551 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10552 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10553 if (!SWIG_IsOK(res2)) {
10554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10555 }
10556 if (!argp2) {
10557 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10558 }
10559 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10560 if (obj2) {
10561 ecode3 = SWIG_AsVal_int(obj2, &val3);
10562 if (!SWIG_IsOK(ecode3)) {
10563 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10564 }
10565 arg3 = static_cast< int >(val3);
10566 }
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 resultobj = SWIG_Py_Void();
10574 return resultobj;
10575 fail:
10576 return NULL;
10577 }
10578
10579
10580 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10581 PyObject *resultobj = 0;
10582 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10583 wxTreeItemId *arg2 = 0 ;
10584 void *argp1 = 0 ;
10585 int res1 = 0 ;
10586 void *argp2 = 0 ;
10587 int res2 = 0 ;
10588 PyObject * obj0 = 0 ;
10589 PyObject * obj1 = 0 ;
10590 char * kwnames[] = {
10591 (char *) "self",(char *) "item", NULL
10592 };
10593
10594 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10595 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10596 if (!SWIG_IsOK(res1)) {
10597 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10598 }
10599 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10600 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10601 if (!SWIG_IsOK(res2)) {
10602 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10603 }
10604 if (!argp2) {
10605 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10606 }
10607 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 resultobj = SWIG_Py_Void();
10615 return resultobj;
10616 fail:
10617 return NULL;
10618 }
10619
10620
10621 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj = 0;
10623 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10624 wxTreeItemId *arg2 = 0 ;
10625 wxString *arg3 = 0 ;
10626 int arg4 = (int) 0 ;
10627 wxTreeItemId result;
10628 void *argp1 = 0 ;
10629 int res1 = 0 ;
10630 void *argp2 = 0 ;
10631 int res2 = 0 ;
10632 bool temp3 = false ;
10633 int val4 ;
10634 int ecode4 = 0 ;
10635 PyObject * obj0 = 0 ;
10636 PyObject * obj1 = 0 ;
10637 PyObject * obj2 = 0 ;
10638 PyObject * obj3 = 0 ;
10639 char * kwnames[] = {
10640 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10641 };
10642
10643 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10644 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10645 if (!SWIG_IsOK(res1)) {
10646 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10647 }
10648 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10649 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10650 if (!SWIG_IsOK(res2)) {
10651 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10652 }
10653 if (!argp2) {
10654 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10655 }
10656 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10657 {
10658 arg3 = wxString_in_helper(obj2);
10659 if (arg3 == NULL) SWIG_fail;
10660 temp3 = true;
10661 }
10662 if (obj3) {
10663 ecode4 = SWIG_AsVal_int(obj3, &val4);
10664 if (!SWIG_IsOK(ecode4)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10666 }
10667 arg4 = static_cast< int >(val4);
10668 }
10669 {
10670 PyThreadState* __tstate = wxPyBeginAllowThreads();
10671 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10672 wxPyEndAllowThreads(__tstate);
10673 if (PyErr_Occurred()) SWIG_fail;
10674 }
10675 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10676 {
10677 if (temp3)
10678 delete arg3;
10679 }
10680 return resultobj;
10681 fail:
10682 {
10683 if (temp3)
10684 delete arg3;
10685 }
10686 return NULL;
10687 }
10688
10689
10690 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10691 PyObject *resultobj = 0;
10692 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10693 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10694 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10695 void *argp1 = 0 ;
10696 int res1 = 0 ;
10697 void *argp2 = 0 ;
10698 int res2 = 0 ;
10699 PyObject * obj0 = 0 ;
10700 PyObject * obj1 = 0 ;
10701 char * kwnames[] = {
10702 (char *) "self",(char *) "item", NULL
10703 };
10704
10705 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10706 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10707 if (!SWIG_IsOK(res1)) {
10708 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10709 }
10710 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10711 if (obj1) {
10712 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10713 if (!SWIG_IsOK(res2)) {
10714 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10715 }
10716 if (!argp2) {
10717 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10718 }
10719 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10720 }
10721 {
10722 PyThreadState* __tstate = wxPyBeginAllowThreads();
10723 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10724 wxPyEndAllowThreads(__tstate);
10725 if (PyErr_Occurred()) SWIG_fail;
10726 }
10727 resultobj = SWIG_Py_Void();
10728 return resultobj;
10729 fail:
10730 return NULL;
10731 }
10732
10733
10734 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10735 PyObject *resultobj = 0;
10736 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10737 wxWindow *result = 0 ;
10738 void *argp1 = 0 ;
10739 int res1 = 0 ;
10740 PyObject *swig_obj[1] ;
10741
10742 if (!args) SWIG_fail;
10743 swig_obj[0] = args;
10744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10745 if (!SWIG_IsOK(res1)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10747 }
10748 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10752 wxPyEndAllowThreads(__tstate);
10753 if (PyErr_Occurred()) SWIG_fail;
10754 }
10755 {
10756 resultobj = wxPyMake_wxObject(result, 0);
10757 }
10758 return resultobj;
10759 fail:
10760 return NULL;
10761 }
10762
10763
10764 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10765 PyObject *resultobj = 0;
10766 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10767 wxScrolledWindow *result = 0 ;
10768 void *argp1 = 0 ;
10769 int res1 = 0 ;
10770 PyObject *swig_obj[1] ;
10771
10772 if (!args) SWIG_fail;
10773 swig_obj[0] = args;
10774 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10775 if (!SWIG_IsOK(res1)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10777 }
10778 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 {
10786 resultobj = wxPyMake_wxObject(result, 0);
10787 }
10788 return resultobj;
10789 fail:
10790 return NULL;
10791 }
10792
10793
10794 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10795 PyObject *obj;
10796 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10797 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10798 return SWIG_Py_Void();
10799 }
10800
10801 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10802 return SWIG_Python_InitShadowInstance(args);
10803 }
10804
10805 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10806 PyObject *resultobj = 0;
10807 wxWindow *arg1 = (wxWindow *) 0 ;
10808 int arg2 = (int) -1 ;
10809 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10810 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10813 wxSize const &arg5_defvalue = wxDefaultSize ;
10814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10815 long arg6 = (long) 0 ;
10816 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10817 wxString *arg7 = (wxString *) &arg7_defvalue ;
10818 wxStaticPicture *result = 0 ;
10819 void *argp1 = 0 ;
10820 int res1 = 0 ;
10821 int val2 ;
10822 int ecode2 = 0 ;
10823 void *argp3 = 0 ;
10824 int res3 = 0 ;
10825 wxPoint temp4 ;
10826 wxSize temp5 ;
10827 long val6 ;
10828 int ecode6 = 0 ;
10829 bool temp7 = false ;
10830 PyObject * obj0 = 0 ;
10831 PyObject * obj1 = 0 ;
10832 PyObject * obj2 = 0 ;
10833 PyObject * obj3 = 0 ;
10834 PyObject * obj4 = 0 ;
10835 PyObject * obj5 = 0 ;
10836 PyObject * obj6 = 0 ;
10837 char * kwnames[] = {
10838 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10839 };
10840
10841 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10842 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10843 if (!SWIG_IsOK(res1)) {
10844 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10845 }
10846 arg1 = reinterpret_cast< wxWindow * >(argp1);
10847 if (obj1) {
10848 ecode2 = SWIG_AsVal_int(obj1, &val2);
10849 if (!SWIG_IsOK(ecode2)) {
10850 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10851 }
10852 arg2 = static_cast< int >(val2);
10853 }
10854 if (obj2) {
10855 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10856 if (!SWIG_IsOK(res3)) {
10857 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10858 }
10859 if (!argp3) {
10860 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10861 }
10862 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10863 }
10864 if (obj3) {
10865 {
10866 arg4 = &temp4;
10867 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10868 }
10869 }
10870 if (obj4) {
10871 {
10872 arg5 = &temp5;
10873 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10874 }
10875 }
10876 if (obj5) {
10877 ecode6 = SWIG_AsVal_long(obj5, &val6);
10878 if (!SWIG_IsOK(ecode6)) {
10879 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10880 }
10881 arg6 = static_cast< long >(val6);
10882 }
10883 if (obj6) {
10884 {
10885 arg7 = wxString_in_helper(obj6);
10886 if (arg7 == NULL) SWIG_fail;
10887 temp7 = true;
10888 }
10889 }
10890 {
10891 if (!wxPyCheckForApp()) SWIG_fail;
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10894 wxPyEndAllowThreads(__tstate);
10895 if (PyErr_Occurred()) SWIG_fail;
10896 }
10897 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10898 {
10899 if (temp7)
10900 delete arg7;
10901 }
10902 return resultobj;
10903 fail:
10904 {
10905 if (temp7)
10906 delete arg7;
10907 }
10908 return NULL;
10909 }
10910
10911
10912 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10913 PyObject *resultobj = 0;
10914 wxStaticPicture *result = 0 ;
10915
10916 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10917 {
10918 if (!wxPyCheckForApp()) SWIG_fail;
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 result = (wxStaticPicture *)new wxStaticPicture();
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
10924 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10925 return resultobj;
10926 fail:
10927 return NULL;
10928 }
10929
10930
10931 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj = 0;
10933 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10934 wxWindow *arg2 = (wxWindow *) 0 ;
10935 int arg3 = (int) -1 ;
10936 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10937 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10938 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10939 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10940 wxSize const &arg6_defvalue = wxDefaultSize ;
10941 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10942 long arg7 = (long) 0 ;
10943 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10944 wxString *arg8 = (wxString *) &arg8_defvalue ;
10945 bool result;
10946 void *argp1 = 0 ;
10947 int res1 = 0 ;
10948 void *argp2 = 0 ;
10949 int res2 = 0 ;
10950 int val3 ;
10951 int ecode3 = 0 ;
10952 void *argp4 = 0 ;
10953 int res4 = 0 ;
10954 wxPoint temp5 ;
10955 wxSize temp6 ;
10956 long val7 ;
10957 int ecode7 = 0 ;
10958 bool temp8 = false ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 PyObject * obj2 = 0 ;
10962 PyObject * obj3 = 0 ;
10963 PyObject * obj4 = 0 ;
10964 PyObject * obj5 = 0 ;
10965 PyObject * obj6 = 0 ;
10966 PyObject * obj7 = 0 ;
10967 char * kwnames[] = {
10968 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10969 };
10970
10971 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10972 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10973 if (!SWIG_IsOK(res1)) {
10974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10975 }
10976 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10977 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10978 if (!SWIG_IsOK(res2)) {
10979 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10980 }
10981 arg2 = reinterpret_cast< wxWindow * >(argp2);
10982 if (obj2) {
10983 ecode3 = SWIG_AsVal_int(obj2, &val3);
10984 if (!SWIG_IsOK(ecode3)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10986 }
10987 arg3 = static_cast< int >(val3);
10988 }
10989 if (obj3) {
10990 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10991 if (!SWIG_IsOK(res4)) {
10992 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10993 }
10994 if (!argp4) {
10995 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10996 }
10997 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10998 }
10999 if (obj4) {
11000 {
11001 arg5 = &temp5;
11002 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11003 }
11004 }
11005 if (obj5) {
11006 {
11007 arg6 = &temp6;
11008 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11009 }
11010 }
11011 if (obj6) {
11012 ecode7 = SWIG_AsVal_long(obj6, &val7);
11013 if (!SWIG_IsOK(ecode7)) {
11014 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11015 }
11016 arg7 = static_cast< long >(val7);
11017 }
11018 if (obj7) {
11019 {
11020 arg8 = wxString_in_helper(obj7);
11021 if (arg8 == NULL) SWIG_fail;
11022 temp8 = true;
11023 }
11024 }
11025 {
11026 PyThreadState* __tstate = wxPyBeginAllowThreads();
11027 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11028 wxPyEndAllowThreads(__tstate);
11029 if (PyErr_Occurred()) SWIG_fail;
11030 }
11031 {
11032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11033 }
11034 {
11035 if (temp8)
11036 delete arg8;
11037 }
11038 return resultobj;
11039 fail:
11040 {
11041 if (temp8)
11042 delete arg8;
11043 }
11044 return NULL;
11045 }
11046
11047
11048 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11049 PyObject *resultobj = 0;
11050 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11051 wxBitmap *arg2 = 0 ;
11052 void *argp1 = 0 ;
11053 int res1 = 0 ;
11054 void *argp2 = 0 ;
11055 int res2 = 0 ;
11056 PyObject * obj0 = 0 ;
11057 PyObject * obj1 = 0 ;
11058 char * kwnames[] = {
11059 (char *) "self",(char *) "bmp", NULL
11060 };
11061
11062 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11063 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11064 if (!SWIG_IsOK(res1)) {
11065 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11066 }
11067 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11068 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11069 if (!SWIG_IsOK(res2)) {
11070 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11071 }
11072 if (!argp2) {
11073 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11074 }
11075 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11076 {
11077 PyThreadState* __tstate = wxPyBeginAllowThreads();
11078 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11079 wxPyEndAllowThreads(__tstate);
11080 if (PyErr_Occurred()) SWIG_fail;
11081 }
11082 resultobj = SWIG_Py_Void();
11083 return resultobj;
11084 fail:
11085 return NULL;
11086 }
11087
11088
11089 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11090 PyObject *resultobj = 0;
11091 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11092 wxBitmap result;
11093 void *argp1 = 0 ;
11094 int res1 = 0 ;
11095 PyObject *swig_obj[1] ;
11096
11097 if (!args) SWIG_fail;
11098 swig_obj[0] = args;
11099 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11100 if (!SWIG_IsOK(res1)) {
11101 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11102 }
11103 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11107 wxPyEndAllowThreads(__tstate);
11108 if (PyErr_Occurred()) SWIG_fail;
11109 }
11110 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11111 return resultobj;
11112 fail:
11113 return NULL;
11114 }
11115
11116
11117 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11118 PyObject *resultobj = 0;
11119 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11120 wxIcon *arg2 = 0 ;
11121 void *argp1 = 0 ;
11122 int res1 = 0 ;
11123 void *argp2 = 0 ;
11124 int res2 = 0 ;
11125 PyObject * obj0 = 0 ;
11126 PyObject * obj1 = 0 ;
11127 char * kwnames[] = {
11128 (char *) "self",(char *) "icon", NULL
11129 };
11130
11131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11133 if (!SWIG_IsOK(res1)) {
11134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11135 }
11136 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11138 if (!SWIG_IsOK(res2)) {
11139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11140 }
11141 if (!argp2) {
11142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11143 }
11144 arg2 = reinterpret_cast< wxIcon * >(argp2);
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 (arg1)->SetIcon((wxIcon const &)*arg2);
11148 wxPyEndAllowThreads(__tstate);
11149 if (PyErr_Occurred()) SWIG_fail;
11150 }
11151 resultobj = SWIG_Py_Void();
11152 return resultobj;
11153 fail:
11154 return NULL;
11155 }
11156
11157
11158 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11159 PyObject *resultobj = 0;
11160 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11161 wxIcon result;
11162 void *argp1 = 0 ;
11163 int res1 = 0 ;
11164 PyObject *swig_obj[1] ;
11165
11166 if (!args) SWIG_fail;
11167 swig_obj[0] = args;
11168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11169 if (!SWIG_IsOK(res1)) {
11170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11171 }
11172 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11173 {
11174 PyThreadState* __tstate = wxPyBeginAllowThreads();
11175 result = ((wxStaticPicture const *)arg1)->GetIcon();
11176 wxPyEndAllowThreads(__tstate);
11177 if (PyErr_Occurred()) SWIG_fail;
11178 }
11179 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11180 return resultobj;
11181 fail:
11182 return NULL;
11183 }
11184
11185
11186 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj = 0;
11188 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11189 int arg2 ;
11190 void *argp1 = 0 ;
11191 int res1 = 0 ;
11192 int val2 ;
11193 int ecode2 = 0 ;
11194 PyObject * obj0 = 0 ;
11195 PyObject * obj1 = 0 ;
11196 char * kwnames[] = {
11197 (char *) "self",(char *) "align", NULL
11198 };
11199
11200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11202 if (!SWIG_IsOK(res1)) {
11203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11204 }
11205 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11206 ecode2 = SWIG_AsVal_int(obj1, &val2);
11207 if (!SWIG_IsOK(ecode2)) {
11208 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11209 }
11210 arg2 = static_cast< int >(val2);
11211 {
11212 PyThreadState* __tstate = wxPyBeginAllowThreads();
11213 (arg1)->SetAlignment(arg2);
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 resultobj = SWIG_Py_Void();
11218 return resultobj;
11219 fail:
11220 return NULL;
11221 }
11222
11223
11224 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11225 PyObject *resultobj = 0;
11226 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11227 int result;
11228 void *argp1 = 0 ;
11229 int res1 = 0 ;
11230 PyObject *swig_obj[1] ;
11231
11232 if (!args) SWIG_fail;
11233 swig_obj[0] = args;
11234 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11235 if (!SWIG_IsOK(res1)) {
11236 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11237 }
11238 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11242 wxPyEndAllowThreads(__tstate);
11243 if (PyErr_Occurred()) SWIG_fail;
11244 }
11245 resultobj = SWIG_From_int(static_cast< int >(result));
11246 return resultobj;
11247 fail:
11248 return NULL;
11249 }
11250
11251
11252 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11253 PyObject *resultobj = 0;
11254 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11255 int arg2 ;
11256 void *argp1 = 0 ;
11257 int res1 = 0 ;
11258 int val2 ;
11259 int ecode2 = 0 ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 char * kwnames[] = {
11263 (char *) "self",(char *) "scale", NULL
11264 };
11265
11266 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11267 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11268 if (!SWIG_IsOK(res1)) {
11269 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11270 }
11271 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11272 ecode2 = SWIG_AsVal_int(obj1, &val2);
11273 if (!SWIG_IsOK(ecode2)) {
11274 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11275 }
11276 arg2 = static_cast< int >(val2);
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 (arg1)->SetScale(arg2);
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = SWIG_Py_Void();
11284 return resultobj;
11285 fail:
11286 return NULL;
11287 }
11288
11289
11290 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11291 PyObject *resultobj = 0;
11292 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11293 int result;
11294 void *argp1 = 0 ;
11295 int res1 = 0 ;
11296 PyObject *swig_obj[1] ;
11297
11298 if (!args) SWIG_fail;
11299 swig_obj[0] = args;
11300 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11301 if (!SWIG_IsOK(res1)) {
11302 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11303 }
11304 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11308 wxPyEndAllowThreads(__tstate);
11309 if (PyErr_Occurred()) SWIG_fail;
11310 }
11311 resultobj = SWIG_From_int(static_cast< int >(result));
11312 return resultobj;
11313 fail:
11314 return NULL;
11315 }
11316
11317
11318 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11319 PyObject *resultobj = 0;
11320 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11321 float arg2 ;
11322 float arg3 ;
11323 void *argp1 = 0 ;
11324 int res1 = 0 ;
11325 float val2 ;
11326 int ecode2 = 0 ;
11327 float val3 ;
11328 int ecode3 = 0 ;
11329 PyObject * obj0 = 0 ;
11330 PyObject * obj1 = 0 ;
11331 PyObject * obj2 = 0 ;
11332 char * kwnames[] = {
11333 (char *) "self",(char *) "sx",(char *) "sy", NULL
11334 };
11335
11336 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11337 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11338 if (!SWIG_IsOK(res1)) {
11339 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11340 }
11341 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11342 ecode2 = SWIG_AsVal_float(obj1, &val2);
11343 if (!SWIG_IsOK(ecode2)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11345 }
11346 arg2 = static_cast< float >(val2);
11347 ecode3 = SWIG_AsVal_float(obj2, &val3);
11348 if (!SWIG_IsOK(ecode3)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11350 }
11351 arg3 = static_cast< float >(val3);
11352 {
11353 PyThreadState* __tstate = wxPyBeginAllowThreads();
11354 (arg1)->SetCustomScale(arg2,arg3);
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 resultobj = SWIG_Py_Void();
11359 return resultobj;
11360 fail:
11361 return NULL;
11362 }
11363
11364
11365 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11366 PyObject *resultobj = 0;
11367 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11368 float *arg2 = (float *) 0 ;
11369 float *arg3 = (float *) 0 ;
11370 void *argp1 = 0 ;
11371 int res1 = 0 ;
11372 float temp2 ;
11373 int res2 = SWIG_TMPOBJ ;
11374 float temp3 ;
11375 int res3 = SWIG_TMPOBJ ;
11376 PyObject *swig_obj[1] ;
11377
11378 arg2 = &temp2;
11379 arg3 = &temp3;
11380 if (!args) SWIG_fail;
11381 swig_obj[0] = args;
11382 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11383 if (!SWIG_IsOK(res1)) {
11384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11385 }
11386 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11387 {
11388 PyThreadState* __tstate = wxPyBeginAllowThreads();
11389 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = SWIG_Py_Void();
11394 if (SWIG_IsTmpObj(res2)) {
11395 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11396 } else {
11397 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11398 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11399 }
11400 if (SWIG_IsTmpObj(res3)) {
11401 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11402 } else {
11403 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11404 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11405 }
11406 return resultobj;
11407 fail:
11408 return NULL;
11409 }
11410
11411
11412 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11413 PyObject *obj;
11414 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11415 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11416 return SWIG_Py_Void();
11417 }
11418
11419 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11420 return SWIG_Python_InitShadowInstance(args);
11421 }
11422
11423 static PyMethodDef SwigMethods[] = {
11424 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11425 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
11426 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
11427 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11428 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
11429 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
11430 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11431 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
11432 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11433 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11434 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11435 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
11436 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
11437 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11438 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
11439 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11440 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11441 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11442 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11443 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11444 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11445 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
11446 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
11447 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
11448 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11449 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11450 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11451 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
11452 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11453 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11454 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
11455 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
11456 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
11457 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11458 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11459 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
11460 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11461 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
11462 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
11463 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11464 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
11465 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
11466 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11467 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
11468 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
11469 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11470 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
11471 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11472 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11473 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11474 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
11475 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11476 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11477 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11478 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
11479 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
11480 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11481 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
11482 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11483 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11484 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11485 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11486 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
11487 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11488 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
11489 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11490 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11491 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11492 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11493 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11494 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11495 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
11496 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
11497 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
11498 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11499 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
11500 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11501 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11502 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11503 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
11504 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11505 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
11506 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11507 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11508 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11509 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
11510 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11511 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11517 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11518 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11519 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11521 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
11522 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
11524 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11530 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11551 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11557 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11562 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11563 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
11564 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11574 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11580 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11581 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11582 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11583 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11586 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
11587 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11588 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11589 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11590 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11591 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11592 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11593 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11594 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11595 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
11596 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11597 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11598 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11599 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11600 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11601 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11602 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11603 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
11604 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11605 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11606 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11607 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11608 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11609 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11610 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11611 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11612 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11613 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11614 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11615 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11616 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11617 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11618 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11619 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11620 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11621 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11622 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11623 { NULL, NULL, 0, NULL }
11624 };
11625
11626
11627 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11628
11629 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11630 return (void *)((wxValidator *) ((wxPyValidator *) x));
11631 }
11632 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11633 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11634 }
11635 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11636 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11637 }
11638 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11639 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11640 }
11641 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11642 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11643 }
11644 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11645 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11646 }
11647 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11648 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11649 }
11650 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
11651 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11652 }
11653 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11654 return (void *)((wxPanel *) ((wxPyPanel *) x));
11655 }
11656 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11657 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11658 }
11659 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11660 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11661 }
11662 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11663 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11664 }
11665 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11666 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11667 }
11668 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11669 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11670 }
11671 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11672 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11673 }
11674 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11675 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11676 }
11677 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11678 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11679 }
11680 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11681 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11682 }
11683 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11684 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11685 }
11686 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11687 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11688 }
11689 static void *_p_wxSearchCtrlTo_p_wxWindow(void *x) {
11690 return (void *)((wxWindow *) (wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
11691 }
11692 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11693 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11694 }
11695 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11696 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11697 }
11698 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11699 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11700 }
11701 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11702 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11703 }
11704 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11705 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11706 }
11707 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11708 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11709 }
11710 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11711 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11712 }
11713 static void *_p_wxControlTo_p_wxWindow(void *x) {
11714 return (void *)((wxWindow *) ((wxControl *) x));
11715 }
11716 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11717 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11718 }
11719 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11720 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11721 }
11722 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11723 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11724 }
11725 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11726 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11727 }
11728 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11729 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11730 }
11731 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11732 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11733 }
11734 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11735 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11736 }
11737 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11738 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11739 }
11740 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11741 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11742 }
11743 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11744 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11745 }
11746 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11747 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11748 }
11749 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11750 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11751 }
11752 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11753 return (void *)((wxWindow *) ((wxPyWindow *) x));
11754 }
11755 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11756 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11757 }
11758 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11759 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11760 }
11761 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11762 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11763 }
11764 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11765 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11766 }
11767 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11768 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11769 }
11770 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11771 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11772 }
11773 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11774 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11775 }
11776 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11777 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11778 }
11779 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11780 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11781 }
11782 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11783 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11784 }
11785 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11786 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11787 }
11788 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11789 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11790 }
11791 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11792 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11793 }
11794 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11795 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11796 }
11797 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11798 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11799 }
11800 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11801 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11802 }
11803 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11804 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11805 }
11806 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11807 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11808 }
11809 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11810 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11811 }
11812 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
11813 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11814 }
11815 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11816 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11817 }
11818 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11819 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11820 }
11821 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11822 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11823 }
11824 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11825 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11826 }
11827 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11828 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11829 }
11830 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11831 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11832 }
11833 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11834 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11835 }
11836 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11837 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11838 }
11839 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11840 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11841 }
11842 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11843 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11844 }
11845 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11846 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11847 }
11848 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11849 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11850 }
11851 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11852 return (void *)((wxWindow *) ((wxStatusBar *) x));
11853 }
11854 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11855 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11856 }
11857 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11858 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11859 }
11860 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11861 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11862 }
11863 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11864 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11865 }
11866 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11867 return (void *)((wxWindow *) ((wxSashWindow *) x));
11868 }
11869 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11870 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11871 }
11872 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11873 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11874 }
11875 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11876 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11877 }
11878 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11879 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11880 }
11881 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11882 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11883 }
11884 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11885 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11886 }
11887 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11888 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11889 }
11890 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11891 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11892 }
11893 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11894 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11895 }
11896 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11897 return (void *)((wxWindow *) ((wxMenuBar *) x));
11898 }
11899 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11900 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11901 }
11902 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11903 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11904 }
11905 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11906 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11907 }
11908 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11909 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11910 }
11911 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11912 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11913 }
11914 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11915 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11916 }
11917 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11918 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11919 }
11920 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11921 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11922 }
11923 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11924 return (void *)((wxWindow *) ((wxPanel *) x));
11925 }
11926 static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
11927 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
11928 }
11929 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11930 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11931 }
11932 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11933 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11934 }
11935 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11936 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11937 }
11938 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11939 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11940 }
11941 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11942 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11943 }
11944 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11945 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11946 }
11947 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11948 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11949 }
11950 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11951 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11952 }
11953 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11954 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11955 }
11956 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11957 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11958 }
11959 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11960 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11961 }
11962 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11963 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11964 }
11965 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11966 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11967 }
11968 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11969 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11970 }
11971 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11972 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11973 }
11974 static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
11975 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
11976 }
11977 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11978 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11979 }
11980 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11981 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11982 }
11983 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11984 return (void *)((wxControl *) ((wxPickerBase *) x));
11985 }
11986 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11987 return (void *)((wxControl *) ((wxToggleButton *) x));
11988 }
11989 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11990 return (void *)((wxControl *) ((wxRadioButton *) x));
11991 }
11992 static void *_p_wxSearchCtrlTo_p_wxControl(void *x) {
11993 return (void *)((wxControl *) (wxTextCtrl *) ((wxSearchCtrl *) x));
11994 }
11995 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11996 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11997 }
11998 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11999 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
12000 }
12001 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
12002 return (void *)((wxControl *) ((wxToolBarBase *) x));
12003 }
12004 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
12005 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12006 }
12007 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
12008 return (void *)((wxControl *) ((wxPyListCtrl *) x));
12009 }
12010 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
12011 return (void *)((wxControl *) ((wxComboBox *) x));
12012 }
12013 static void *_p_wxPyControlTo_p_wxControl(void *x) {
12014 return (void *)((wxControl *) ((wxPyControl *) x));
12015 }
12016 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
12017 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
12018 }
12019 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
12020 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
12021 }
12022 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
12023 return (void *)((wxControl *) ((wxScrollBar *) x));
12024 }
12025 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12026 return (void *)((wxControl *) ((wxControlWithItems *) x));
12027 }
12028 static void *_p_wxGaugeTo_p_wxControl(void *x) {
12029 return (void *)((wxControl *) ((wxGauge *) x));
12030 }
12031 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12032 return (void *)((wxControl *) ((wxStaticLine *) x));
12033 }
12034 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
12035 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
12036 }
12037 static void *_p_wxListbookTo_p_wxControl(void *x) {
12038 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
12039 }
12040 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12041 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12042 }
12043 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12044 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12045 }
12046 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12047 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12048 }
12049 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12050 return (void *)((wxControl *) ((wxCheckBox *) x));
12051 }
12052 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12053 return (void *)((wxControl *) ((wxRadioBox *) x));
12054 }
12055 static void *_p_wxChoiceTo_p_wxControl(void *x) {
12056 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12057 }
12058 static void *_p_wxListBoxTo_p_wxControl(void *x) {
12059 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12060 }
12061 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12062 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12063 }
12064 static void *_p_wxListViewTo_p_wxControl(void *x) {
12065 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12066 }
12067 static void *_p_wxNotebookTo_p_wxControl(void *x) {
12068 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
12069 }
12070 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12071 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12072 }
12073 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12074 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12075 }
12076 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12077 return (void *)((wxControl *) ((wxStaticText *) x));
12078 }
12079 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12080 return (void *)((wxControl *) ((wxStaticBox *) x));
12081 }
12082 static void *_p_wxSliderTo_p_wxControl(void *x) {
12083 return (void *)((wxControl *) ((wxSlider *) x));
12084 }
12085 static void *_p_wxTreebookTo_p_wxControl(void *x) {
12086 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
12087 }
12088 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12089 return (void *)((wxControl *) ((wxSpinButton *) x));
12090 }
12091 static void *_p_wxButtonTo_p_wxControl(void *x) {
12092 return (void *)((wxControl *) ((wxButton *) x));
12093 }
12094 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12095 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12096 }
12097 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12098 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12099 }
12100 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12101 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12102 }
12103 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12104 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12105 }
12106 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12107 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12108 }
12109 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12110 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12111 }
12112 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12113 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12114 }
12115 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12116 return (void *)((wxControl *) ((wxStaticPicture *) x));
12117 }
12118 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12119 return (void *)((wxControl *) ((wxTextCtrl *) x));
12120 }
12121 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12122 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12123 }
12124 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12125 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12126 }
12127 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12128 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12129 }
12130 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12131 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12132 }
12133 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12134 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12135 }
12136 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12137 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12138 }
12139 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12140 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12141 }
12142 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12143 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12144 }
12145 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12146 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12147 }
12148 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12149 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12150 }
12151 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12152 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12153 }
12154 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12155 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12156 }
12157 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12158 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12159 }
12160 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12161 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12162 }
12163 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12164 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12165 }
12166 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12167 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12168 }
12169 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12170 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12171 }
12172 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12173 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12174 }
12175 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12176 return (void *)((wxEvent *) ((wxPyEvent *) x));
12177 }
12178 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12179 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12180 }
12181 static void *_p_wxListEventTo_p_wxEvent(void *x) {
12182 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12183 }
12184 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12185 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12186 }
12187 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12188 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12189 }
12190 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
12191 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12192 }
12193 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
12194 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12195 }
12196 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
12197 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12198 }
12199 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12200 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12201 }
12202 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12203 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12204 }
12205 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12206 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12207 }
12208 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12209 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12210 }
12211 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12212 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12213 }
12214 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12215 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12216 }
12217 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12218 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12219 }
12220 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12221 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12222 }
12223 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12224 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12225 }
12226 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12227 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12228 }
12229 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12230 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12231 }
12232 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12233 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12234 }
12235 static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
12236 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12237 }
12238 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12239 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12240 }
12241 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12242 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12243 }
12244 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12245 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12246 }
12247 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12248 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12249 }
12250 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12251 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12252 }
12253 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12254 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12255 }
12256 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12257 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12258 }
12259 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12260 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12261 }
12262 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12263 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12264 }
12265 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12266 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12267 }
12268 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12269 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12270 }
12271 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12272 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12273 }
12274 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12275 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12276 }
12277 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12278 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12279 }
12280 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12281 return (void *)((wxEvent *) ((wxShowEvent *) x));
12282 }
12283 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12284 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12285 }
12286 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12287 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12288 }
12289 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12290 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12291 }
12292 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12293 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12294 }
12295 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12296 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12297 }
12298 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12299 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12300 }
12301 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12302 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12303 }
12304 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12305 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12306 }
12307 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12308 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12309 }
12310 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12312 }
12313 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12314 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12315 }
12316 static void *_p_wxEventTo_p_wxObject(void *x) {
12317 return (void *)((wxObject *) ((wxEvent *) x));
12318 }
12319 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12320 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12321 }
12322 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12323 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12324 }
12325 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12326 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12327 }
12328 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12329 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12330 }
12331 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12333 }
12334 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12335 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12336 }
12337 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12338 return (void *)((wxObject *) ((wxMenuItem *) x));
12339 }
12340 static void *_p_wxImageTo_p_wxObject(void *x) {
12341 return (void *)((wxObject *) ((wxImage *) x));
12342 }
12343 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12344 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12345 }
12346 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12348 }
12349 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12350 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12351 }
12352 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12354 }
12355 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12356 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12357 }
12358 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12359 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12360 }
12361 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12362 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12363 }
12364 static void *_p_wxTreebookTo_p_wxObject(void *x) {
12365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12366 }
12367 static void *_p_wxNotebookTo_p_wxObject(void *x) {
12368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12369 }
12370 static void *_p_wxListItemTo_p_wxObject(void *x) {
12371 return (void *)((wxObject *) ((wxListItem *) x));
12372 }
12373 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
12374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12375 }
12376 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12378 }
12379 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12381 }
12382 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12384 }
12385 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12387 }
12388 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12390 }
12391 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12392 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12393 }
12394 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12396 }
12397 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12398 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12399 }
12400 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12401 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12402 }
12403 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12404 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12405 }
12406 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12407 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12408 }
12409 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12410 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12411 }
12412 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12414 }
12415 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12416 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12417 }
12418 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12419 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12420 }
12421 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12422 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12423 }
12424 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12425 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12426 }
12427 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12428 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12429 }
12430 static void *_p_wxPrinterTo_p_wxObject(void *x) {
12431 return (void *)((wxObject *) ((wxPrinter *) x));
12432 }
12433 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12435 }
12436 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12437 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12438 }
12439 static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
12440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
12441 }
12442 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12443 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12444 }
12445 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12446 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12447 }
12448 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12449 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12450 }
12451 static void *_p_wxSearchCtrlTo_p_wxObject(void *x) {
12452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
12453 }
12454 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12455 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12456 }
12457 static void *_p_wxControlTo_p_wxObject(void *x) {
12458 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12459 }
12460 static void *_p_wxPyControlTo_p_wxObject(void *x) {
12461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12462 }
12463 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12464 return (void *)((wxObject *) ((wxContextHelp *) x));
12465 }
12466 static void *_p_wxColourDataTo_p_wxObject(void *x) {
12467 return (void *)((wxObject *) ((wxColourData *) x));
12468 }
12469 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12470 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12471 }
12472 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12473 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12474 }
12475 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12476 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12477 }
12478 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12479 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12480 }
12481 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12482 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12483 }
12484 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12485 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12486 }
12487 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12488 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12489 }
12490 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12491 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12492 }
12493 static void *_p_wxDateEventTo_p_wxObject(void *x) {
12494 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12495 }
12496 static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
12497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12498 }
12499 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12501 }
12502 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12503 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12504 }
12505 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12506 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12507 }
12508 static void *_p_wxListEventTo_p_wxObject(void *x) {
12509 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12510 }
12511 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12512 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12513 }
12514 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12515 return (void *)((wxObject *) ((wxPyPrintout *) x));
12516 }
12517 static void *_p_wxGaugeTo_p_wxObject(void *x) {
12518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12519 }
12520 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12521 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12522 }
12523 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12524 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12525 }
12526 static void *_p_wxChoiceTo_p_wxObject(void *x) {
12527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12528 }
12529 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12531 }
12532 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12533 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12534 }
12535 static void *_p_wxButtonTo_p_wxObject(void *x) {
12536 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12537 }
12538 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12539 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12540 }
12541 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12542 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12543 }
12544 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12545 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12546 }
12547 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12548 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12549 }
12550 static void *_p_wxSashEventTo_p_wxObject(void *x) {
12551 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12552 }
12553 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12555 }
12556 static void *_p_wxListBoxTo_p_wxObject(void *x) {
12557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12558 }
12559 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
12560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
12561 }
12562 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12563 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12564 }
12565 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12567 }
12568 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12569 return (void *)((wxObject *) ((wxPrintData *) x));
12570 }
12571 static void *_p_wxFontDataTo_p_wxObject(void *x) {
12572 return (void *)((wxObject *) ((wxFontData *) x));
12573 }
12574 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12576 }
12577 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12578 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12579 }
12580 static void *_p_wxListbookTo_p_wxObject(void *x) {
12581 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12582 }
12583 static void *_p_wxFrameTo_p_wxObject(void *x) {
12584 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12585 }
12586 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12587 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12588 }
12589 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12590 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12591 }
12592 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12593 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12594 }
12595 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12596 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12597 }
12598 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12599 return (void *)((wxObject *) ((wxFileSystem *) x));
12600 }
12601 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12602 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12603 }
12604 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12605 return (void *)((wxObject *) ((wxPrintPreview *) x));
12606 }
12607 static void *_p_wxListViewTo_p_wxObject(void *x) {
12608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12609 }
12610 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12611 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12612 }
12613 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12614 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12615 }
12616 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12618 }
12619 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12621 }
12622 static void *_p_wxSizerTo_p_wxObject(void *x) {
12623 return (void *)((wxObject *) ((wxSizer *) x));
12624 }
12625 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12626 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12627 }
12628 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12629 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12630 }
12631 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12632 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12633 }
12634 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12635 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12636 }
12637 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12638 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12639 }
12640 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12642 }
12643 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12644 return (void *)((wxObject *) ((wxFSFile *) x));
12645 }
12646 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12647 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12648 }
12649 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12650 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12651 }
12652 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12653 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12654 }
12655 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12656 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12657 }
12658 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12660 }
12661 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12662 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12663 }
12664 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12665 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12666 }
12667 static void *_p_wxMenuTo_p_wxObject(void *x) {
12668 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12669 }
12670 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12671 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12672 }
12673 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12674 return (void *)((wxObject *) ((wxSizerItem *) x));
12675 }
12676 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12677 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12678 }
12679 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12680 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12681 }
12682 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12683 return (void *)((wxObject *) ((wxPrintDialog *) x));
12684 }
12685 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12686 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12687 }
12688 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12689 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12690 }
12691 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12692 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12693 }
12694 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12695 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12696 }
12697 static void *_p_wxDialogTo_p_wxObject(void *x) {
12698 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12699 }
12700 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12701 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12702 }
12703 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12704 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12705 }
12706 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12707 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12708 }
12709 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12710 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12711 }
12712 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12713 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12714 }
12715 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12716 return (void *)((wxObject *) ((wxEvtHandler *) x));
12717 }
12718 static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
12719 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
12720 }
12721 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12722 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12723 }
12724 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12725 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12726 }
12727 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12728 return (void *)((wxObject *) ((wxImageHandler *) x));
12729 }
12730 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12731 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12732 }
12733 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12734 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12735 }
12736 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12737 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12738 }
12739 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12740 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12741 }
12742 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12743 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12744 }
12745 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12746 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12747 }
12748 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12749 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12750 }
12751 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12752 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12753 }
12754 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12755 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12756 }
12757 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12758 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12759 }
12760 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12761 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12762 }
12763 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12765 }
12766 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12767 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12768 }
12769 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12770 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12771 }
12772 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12773 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12774 }
12775 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12776 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12777 }
12778 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12779 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12780 }
12781 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12783 }
12784 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12786 }
12787 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12789 }
12790 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12791 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12792 }
12793 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12794 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12795 }
12796 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12797 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12798 }
12799 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12801 }
12802 static void *_p_wxWindowTo_p_wxObject(void *x) {
12803 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12804 }
12805 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12806 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12807 }
12808 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12809 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12810 }
12811 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12812 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12813 }
12814 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12815 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12816 }
12817 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12819 }
12820 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12821 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12822 }
12823 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12824 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12825 }
12826 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12827 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12828 }
12829 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12831 }
12832 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12833 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12834 }
12835 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12836 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12837 }
12838 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12839 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12840 }
12841 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12843 }
12844 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12845 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12846 }
12847 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12848 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12849 }
12850 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12852 }
12853 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12854 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12855 }
12856 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12857 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12858 }
12859 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12860 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12861 }
12862 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12863 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12864 }
12865 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12867 }
12868 static void *_p_wxSliderTo_p_wxObject(void *x) {
12869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12870 }
12871 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12873 }
12874 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12876 }
12877 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12879 }
12880 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12882 }
12883 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12885 }
12886 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12887 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12888 }
12889 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12890 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12891 }
12892 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12893 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12894 }
12895 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12896 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12897 }
12898 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12900 }
12901 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12903 }
12904 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12905 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12906 }
12907 static void *_p_wxPanelTo_p_wxObject(void *x) {
12908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12909 }
12910 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12911 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12912 }
12913 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12914 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12915 }
12916 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12917 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12918 }
12919 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12920 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12921 }
12922 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12923 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12924 }
12925 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12926 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12927 }
12928 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12929 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12930 }
12931 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12932 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12933 }
12934 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12935 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12936 }
12937 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12938 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12939 }
12940 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12941 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12942 }
12943 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12945 }
12946 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12947 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12948 }
12949 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12950 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12951 }
12952 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12953 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12954 }
12955 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12956 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12957 }
12958 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12959 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12960 }
12961 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12962 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12963 }
12964 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12965 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12966 }
12967 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12968 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12969 }
12970 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12971 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12972 }
12973 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12974 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12975 }
12976 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12977 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12978 }
12979 static void *_p_wxSearchCtrlTo_p_wxEvtHandler(void *x) {
12980 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxTextCtrl *) ((wxSearchCtrl *) x));
12981 }
12982 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12983 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12984 }
12985 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12986 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12987 }
12988 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12989 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12990 }
12991 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12992 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12993 }
12994 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12995 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12996 }
12997 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12998 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12999 }
13000 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
13001 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
13002 }
13003 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
13004 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
13005 }
13006 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
13007 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
13008 }
13009 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
13010 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
13011 }
13012 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
13013 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
13014 }
13015 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
13016 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
13017 }
13018 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
13019 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
13020 }
13021 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
13022 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
13023 }
13024 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
13025 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
13026 }
13027 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
13028 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
13029 }
13030 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
13031 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
13032 }
13033 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
13034 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
13035 }
13036 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
13037 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
13038 }
13039 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13040 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13041 }
13042 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
13043 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
13044 }
13045 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13046 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13047 }
13048 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13049 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13050 }
13051 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
13052 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
13053 }
13054 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13055 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13056 }
13057 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13058 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13059 }
13060 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13061 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13062 }
13063 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13064 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13065 }
13066 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13067 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13068 }
13069 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13070 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13071 }
13072 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13073 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13074 }
13075 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13076 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13077 }
13078 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13079 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13080 }
13081 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13082 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13083 }
13084 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13085 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13086 }
13087 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13089 }
13090 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13091 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13092 }
13093 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13094 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13095 }
13096 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13097 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13098 }
13099 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13100 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13101 }
13102 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13103 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13104 }
13105 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
13106 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
13107 }
13108 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13109 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13110 }
13111 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13112 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13113 }
13114 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13115 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13116 }
13117 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13119 }
13120 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13122 }
13123 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13125 }
13126 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13128 }
13129 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13131 }
13132 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13133 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13134 }
13135 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13136 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13137 }
13138 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13139 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13140 }
13141 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13143 }
13144 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13145 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13146 }
13147 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13148 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13149 }
13150 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13152 }
13153 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13154 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13155 }
13156 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13157 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13158 }
13159 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13160 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13161 }
13162 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13163 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13164 }
13165 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13166 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13167 }
13168 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13169 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13170 }
13171 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13172 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13173 }
13174 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13175 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13176 }
13177 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13178 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13179 }
13180 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13181 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13182 }
13183 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13184 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13185 }
13186 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13187 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13188 }
13189 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13190 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13191 }
13192 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13193 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13194 }
13195 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13196 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13197 }
13198 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13200 }
13201 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13202 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13203 }
13204 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13205 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13206 }
13207 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13208 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13209 }
13210 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13211 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13212 }
13213 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13214 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13215 }
13216 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13217 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13218 }
13219 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13220 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13221 }
13222 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13224 }
13225 static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
13226 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
13227 }
13228 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13229 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13230 }
13231 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13232 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13233 }
13234 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13235 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13236 }
13237 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13238 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13239 }
13240 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13241 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13242 }
13243 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13244 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13245 }
13246 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13247 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13248 }
13249 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13250 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13251 }
13252 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13253 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13254 }
13255 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13256 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13257 }
13258 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13259 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13260 }
13261 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13262 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13263 }
13264 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13265 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13266 }
13267 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13268 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13269 }
13270 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13271 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13272 }
13273 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13274 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13275 }
13276 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13277 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13278 }
13279 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13280 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13281 }
13282 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13283 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13284 }
13285 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13286 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13287 }
13288 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13289 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13290 }
13291 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13292 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13293 }
13294 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13295 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13296 }
13297 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13298 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13299 }
13300 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13301 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13302 }
13303 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13304 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13305 }
13306 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13307 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13308 }
13309 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13310 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13311 }
13312 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
13313 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
13314 }
13315 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
13316 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
13317 }
13318 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
13319 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
13320 }
13321 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13322 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13323 }
13324 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13325 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13326 }
13327 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13328 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13329 }
13330 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13331 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13332 }
13333 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13334 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13335 }
13336 static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
13337 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
13338 }
13339 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13340 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13341 }
13342 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13343 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13344 }
13345 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13346 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13347 }
13348 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13349 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13350 }
13351 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13352 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13353 }
13354 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13355 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13356 }
13357 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13358 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13359 }
13360 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13361 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13362 }
13363 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13364 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13365 }
13366 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13367 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13368 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};
13369 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13370 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13371 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13372 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13373 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13374 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13375 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13376 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13377 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13378 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13379 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13380 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13381 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13382 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13383 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13384 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13385 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13386 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13387 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13388 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13389 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13390 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13391 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13392 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13393 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13394 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13395 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13396 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13397 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13398 static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0};
13399 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13400 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13401 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13402 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13403 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13404 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13405 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13406 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13407 static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0};
13408 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13409 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
13410 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13411 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13412 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13413 static swig_type_info _swigt__p_wxSearchCtrl = {"_p_wxSearchCtrl", 0, 0, 0, 0, 0};
13414 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13415 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13416 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13417 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
13418 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13419 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13420 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13421 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13422 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13423 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13424 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13425 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
13426 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13427 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13428 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13429 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13430 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13431 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13432 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13433 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13434 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13435 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13436 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13437 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13438 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13439 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13440 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13441 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13442 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13443 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13444 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13445 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13446 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13447 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13448 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13449 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13450 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13451 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13452 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13453 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13454 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13455 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13456 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13457 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13458 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13459 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13460 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13461 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13462 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13463 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13464 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13465 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13466 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13467 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13468 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13469 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13470 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13471 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13472 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13473 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13474 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13475 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13476 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13477 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13478 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13479 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13480 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13481 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13482 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13483 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13484 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13485 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13486 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13487 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13488 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13489 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13490 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13491 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13492 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13493 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13494 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13495 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13496 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13497 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13498 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13499 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13500 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13501 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13502 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13503 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13504 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13505 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13506 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13507 static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
13508 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13509 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13510 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13511 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13512 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13513 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13514 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13515 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13516 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13517 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13518 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13519 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13520 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13521 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13522 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13523 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13524 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13525 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13526 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13527 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13528 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13529 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13530 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13531 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13532 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13533 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13534 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13535 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13536 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13537 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13538 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13539 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13540 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13541 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13542 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13543 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13544 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13545 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13546 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13547 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13548 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13549 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13550 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13551 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13552 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13553 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13554 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13555 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13556 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13557 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13558 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13559 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13560 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13561 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13562 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13563 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13564 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13565 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13566 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13567 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13568 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13569 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13570 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13571 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13572 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13573 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13574 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13575 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13576 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13577 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13578 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13579 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13580 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13581 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13582 static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
13583 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13584 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13585 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13586 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13587 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13588 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13589 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13590 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13591 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13592 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13593 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13594 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13595 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13596 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13597 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13598 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13599 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13600 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13601
13602 static swig_type_info *swig_type_initial[] = {
13603 &_swigt__p_char,
13604 &_swigt__p_float,
13605 &_swigt__p_form_ops_t,
13606 &_swigt__p_int,
13607 &_swigt__p_unsigned_char,
13608 &_swigt__p_unsigned_int,
13609 &_swigt__p_unsigned_long,
13610 &_swigt__p_wxANIHandler,
13611 &_swigt__p_wxAcceleratorTable,
13612 &_swigt__p_wxActivateEvent,
13613 &_swigt__p_wxArrayString,
13614 &_swigt__p_wxBMPHandler,
13615 &_swigt__p_wxBitmap,
13616 &_swigt__p_wxBitmapButton,
13617 &_swigt__p_wxBookCtrlBase,
13618 &_swigt__p_wxBookCtrlBaseEvent,
13619 &_swigt__p_wxBoxSizer,
13620 &_swigt__p_wxButton,
13621 &_swigt__p_wxCURHandler,
13622 &_swigt__p_wxCalculateLayoutEvent,
13623 &_swigt__p_wxCheckBox,
13624 &_swigt__p_wxCheckListBox,
13625 &_swigt__p_wxChildFocusEvent,
13626 &_swigt__p_wxChoice,
13627 &_swigt__p_wxChoicebook,
13628 &_swigt__p_wxChoicebookEvent,
13629 &_swigt__p_wxClipboardTextEvent,
13630 &_swigt__p_wxCloseEvent,
13631 &_swigt__p_wxCollapsiblePane,
13632 &_swigt__p_wxCollapsiblePaneEvent,
13633 &_swigt__p_wxColour,
13634 &_swigt__p_wxColourData,
13635 &_swigt__p_wxColourDialog,
13636 &_swigt__p_wxColourPickerCtrl,
13637 &_swigt__p_wxColourPickerEvent,
13638 &_swigt__p_wxComboBox,
13639 &_swigt__p_wxCommandEvent,
13640 &_swigt__p_wxContextHelp,
13641 &_swigt__p_wxContextHelpButton,
13642 &_swigt__p_wxContextMenuEvent,
13643 &_swigt__p_wxControl,
13644 &_swigt__p_wxControlWithItems,
13645 &_swigt__p_wxDateEvent,
13646 &_swigt__p_wxDatePickerCtrl,
13647 &_swigt__p_wxDialog,
13648 &_swigt__p_wxDirDialog,
13649 &_swigt__p_wxDirFilterListCtrl,
13650 &_swigt__p_wxDirPickerCtrl,
13651 &_swigt__p_wxDisplayChangedEvent,
13652 &_swigt__p_wxDropFilesEvent,
13653 &_swigt__p_wxDuplexMode,
13654 &_swigt__p_wxDynamicSashSplitEvent,
13655 &_swigt__p_wxDynamicSashUnifyEvent,
13656 &_swigt__p_wxDynamicSashWindow,
13657 &_swigt__p_wxEditableListBox,
13658 &_swigt__p_wxEraseEvent,
13659 &_swigt__p_wxEvent,
13660 &_swigt__p_wxEvtHandler,
13661 &_swigt__p_wxFSFile,
13662 &_swigt__p_wxFileDialog,
13663 &_swigt__p_wxFileDirPickerEvent,
13664 &_swigt__p_wxFilePickerCtrl,
13665 &_swigt__p_wxFileSystem,
13666 &_swigt__p_wxFindDialogEvent,
13667 &_swigt__p_wxFindReplaceData,
13668 &_swigt__p_wxFindReplaceDialog,
13669 &_swigt__p_wxFlexGridSizer,
13670 &_swigt__p_wxFocusEvent,
13671 &_swigt__p_wxFont,
13672 &_swigt__p_wxFontData,
13673 &_swigt__p_wxFontDialog,
13674 &_swigt__p_wxFontPickerCtrl,
13675 &_swigt__p_wxFontPickerEvent,
13676 &_swigt__p_wxFrame,
13677 &_swigt__p_wxGBSizerItem,
13678 &_swigt__p_wxGIFHandler,
13679 &_swigt__p_wxGauge,
13680 &_swigt__p_wxGenericDirCtrl,
13681 &_swigt__p_wxGenericDragImage,
13682 &_swigt__p_wxGridBagSizer,
13683 &_swigt__p_wxGridSizer,
13684 &_swigt__p_wxHelpEvent,
13685 &_swigt__p_wxHyperlinkCtrl,
13686 &_swigt__p_wxHyperlinkEvent,
13687 &_swigt__p_wxICOHandler,
13688 &_swigt__p_wxIcon,
13689 &_swigt__p_wxIconizeEvent,
13690 &_swigt__p_wxIdleEvent,
13691 &_swigt__p_wxImage,
13692 &_swigt__p_wxImageHandler,
13693 &_swigt__p_wxImageList,
13694 &_swigt__p_wxIndividualLayoutConstraint,
13695 &_swigt__p_wxInitDialogEvent,
13696 &_swigt__p_wxJPEGHandler,
13697 &_swigt__p_wxKeyEvent,
13698 &_swigt__p_wxLEDNumberCtrl,
13699 &_swigt__p_wxLayoutAlgorithm,
13700 &_swigt__p_wxLayoutConstraints,
13701 &_swigt__p_wxListBox,
13702 &_swigt__p_wxListEvent,
13703 &_swigt__p_wxListItem,
13704 &_swigt__p_wxListView,
13705 &_swigt__p_wxListbook,
13706 &_swigt__p_wxListbookEvent,
13707 &_swigt__p_wxMDIChildFrame,
13708 &_swigt__p_wxMDIClientWindow,
13709 &_swigt__p_wxMDIParentFrame,
13710 &_swigt__p_wxMaximizeEvent,
13711 &_swigt__p_wxMenu,
13712 &_swigt__p_wxMenuBar,
13713 &_swigt__p_wxMenuEvent,
13714 &_swigt__p_wxMenuItem,
13715 &_swigt__p_wxMessageDialog,
13716 &_swigt__p_wxMiniFrame,
13717 &_swigt__p_wxMouseCaptureChangedEvent,
13718 &_swigt__p_wxMouseCaptureLostEvent,
13719 &_swigt__p_wxMouseEvent,
13720 &_swigt__p_wxMoveEvent,
13721 &_swigt__p_wxMultiChoiceDialog,
13722 &_swigt__p_wxNavigationKeyEvent,
13723 &_swigt__p_wxNcPaintEvent,
13724 &_swigt__p_wxNotebook,
13725 &_swigt__p_wxNotebookEvent,
13726 &_swigt__p_wxNotifyEvent,
13727 &_swigt__p_wxNumberEntryDialog,
13728 &_swigt__p_wxObject,
13729 &_swigt__p_wxPCXHandler,
13730 &_swigt__p_wxPNGHandler,
13731 &_swigt__p_wxPNMHandler,
13732 &_swigt__p_wxPageSetupDialog,
13733 &_swigt__p_wxPageSetupDialogData,
13734 &_swigt__p_wxPaintEvent,
13735 &_swigt__p_wxPaletteChangedEvent,
13736 &_swigt__p_wxPanel,
13737 &_swigt__p_wxPaperSize,
13738 &_swigt__p_wxPasswordEntryDialog,
13739 &_swigt__p_wxPickerBase,
13740 &_swigt__p_wxPopupWindow,
13741 &_swigt__p_wxPreviewCanvas,
13742 &_swigt__p_wxPreviewControlBar,
13743 &_swigt__p_wxPreviewFrame,
13744 &_swigt__p_wxPrintData,
13745 &_swigt__p_wxPrintDialog,
13746 &_swigt__p_wxPrintDialogData,
13747 &_swigt__p_wxPrintPreview,
13748 &_swigt__p_wxPrinter,
13749 &_swigt__p_wxProgressDialog,
13750 &_swigt__p_wxPyApp,
13751 &_swigt__p_wxPyCommandEvent,
13752 &_swigt__p_wxPyControl,
13753 &_swigt__p_wxPyEvent,
13754 &_swigt__p_wxPyHtmlListBox,
13755 &_swigt__p_wxPyImageHandler,
13756 &_swigt__p_wxPyListCtrl,
13757 &_swigt__p_wxPyPanel,
13758 &_swigt__p_wxPyPopupTransientWindow,
13759 &_swigt__p_wxPyPreviewControlBar,
13760 &_swigt__p_wxPyPreviewFrame,
13761 &_swigt__p_wxPyPrintPreview,
13762 &_swigt__p_wxPyPrintout,
13763 &_swigt__p_wxPyScrolledWindow,
13764 &_swigt__p_wxPySizer,
13765 &_swigt__p_wxPyTaskBarIcon,
13766 &_swigt__p_wxPyTreeCompanionWindow,
13767 &_swigt__p_wxPyTreeCtrl,
13768 &_swigt__p_wxPyTreeItemData,
13769 &_swigt__p_wxPyTreeListCtrl,
13770 &_swigt__p_wxPyVListBox,
13771 &_swigt__p_wxPyVScrolledWindow,
13772 &_swigt__p_wxPyValidator,
13773 &_swigt__p_wxPyWindow,
13774 &_swigt__p_wxQueryLayoutInfoEvent,
13775 &_swigt__p_wxQueryNewPaletteEvent,
13776 &_swigt__p_wxRadioBox,
13777 &_swigt__p_wxRadioButton,
13778 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13779 &_swigt__p_wxSashEvent,
13780 &_swigt__p_wxSashLayoutWindow,
13781 &_swigt__p_wxSashWindow,
13782 &_swigt__p_wxScrollBar,
13783 &_swigt__p_wxScrollEvent,
13784 &_swigt__p_wxScrollWinEvent,
13785 &_swigt__p_wxScrolledWindow,
13786 &_swigt__p_wxSearchCtrl,
13787 &_swigt__p_wxSetCursorEvent,
13788 &_swigt__p_wxShowEvent,
13789 &_swigt__p_wxSimpleHtmlListBox,
13790 &_swigt__p_wxSingleChoiceDialog,
13791 &_swigt__p_wxSizeEvent,
13792 &_swigt__p_wxSizer,
13793 &_swigt__p_wxSizerItem,
13794 &_swigt__p_wxSlider,
13795 &_swigt__p_wxSpinButton,
13796 &_swigt__p_wxSpinCtrl,
13797 &_swigt__p_wxSpinEvent,
13798 &_swigt__p_wxSplashScreen,
13799 &_swigt__p_wxSplashScreenWindow,
13800 &_swigt__p_wxSplitterEvent,
13801 &_swigt__p_wxSplitterScrolledWindow,
13802 &_swigt__p_wxSplitterWindow,
13803 &_swigt__p_wxStaticBitmap,
13804 &_swigt__p_wxStaticBox,
13805 &_swigt__p_wxStaticBoxSizer,
13806 &_swigt__p_wxStaticLine,
13807 &_swigt__p_wxStaticPicture,
13808 &_swigt__p_wxStaticText,
13809 &_swigt__p_wxStatusBar,
13810 &_swigt__p_wxStdDialogButtonSizer,
13811 &_swigt__p_wxSysColourChangedEvent,
13812 &_swigt__p_wxTGAHandler,
13813 &_swigt__p_wxTIFFHandler,
13814 &_swigt__p_wxTaskBarIconEvent,
13815 &_swigt__p_wxTextCtrl,
13816 &_swigt__p_wxTextEntryDialog,
13817 &_swigt__p_wxTextUrlEvent,
13818 &_swigt__p_wxThinSplitterWindow,
13819 &_swigt__p_wxTipWindow,
13820 &_swigt__p_wxToggleButton,
13821 &_swigt__p_wxToolBar,
13822 &_swigt__p_wxToolBarBase,
13823 &_swigt__p_wxToolBarToolBase,
13824 &_swigt__p_wxToolbook,
13825 &_swigt__p_wxToolbookEvent,
13826 &_swigt__p_wxTopLevelWindow,
13827 &_swigt__p_wxTreeEvent,
13828 &_swigt__p_wxTreeItemId,
13829 &_swigt__p_wxTreeListColumnInfo,
13830 &_swigt__p_wxTreebook,
13831 &_swigt__p_wxTreebookEvent,
13832 &_swigt__p_wxUpdateUIEvent,
13833 &_swigt__p_wxValidator,
13834 &_swigt__p_wxWindow,
13835 &_swigt__p_wxWindowCreateEvent,
13836 &_swigt__p_wxWindowDestroyEvent,
13837 &_swigt__p_wxXPMHandler,
13838 };
13839
13840 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13841 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13842 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13843 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13844 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13845 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13846 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13847 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13848 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13849 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13850 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13851 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13852 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13853 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13854 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13855 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13856 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13857 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13858 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13859 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13860 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13861 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13862 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13863 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13864 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13865 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13866 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13867 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13868 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13869 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13870 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13871 static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
13872 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13873 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13874 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13875 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13876 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13877 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13878 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13879 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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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}};
13880 static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
13881 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13882 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13883 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13884 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13885 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13886 static swig_cast_info _swigc__p_wxSearchCtrl[] = {{&_swigt__p_wxSearchCtrl, 0, 0, 0},{0, 0, 0, 0}};
13887 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13888 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13889 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13890 static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13891 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13892 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13893 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13894 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13895 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13896 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13897 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13898 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13899 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13900 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13901 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13902 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13903 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13904 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13905 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13906 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13907 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13908 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13909 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13910 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13911 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13912 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13913 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13914 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13915 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13916 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13917 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13918 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13919 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13920 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13921 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13922 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13923 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_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_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_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}};
13924 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13925 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13926 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13927 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13928 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13929 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13930 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13931 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13932 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13933 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13934 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13935 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13936 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13937 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13938 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13939 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13940 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13941 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13942 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13943 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13944 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13945 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13946 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13947 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13948 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13949 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13950 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13951 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13952 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13953 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13954 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13955 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13956 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13957 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13958 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13959 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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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}};
13960 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13961 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13962 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13963 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13964 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13965 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13966 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13967 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13968 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13969 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13970 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13971 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13972 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13973 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13974 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13975 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13976 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13977 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13978 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13979 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13980 static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13981 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13982 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13983 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13984 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13985 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13986 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13987 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13988 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13989 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13990 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13991 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13992 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13993 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13994 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13995 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13996 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13997 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13998 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13999 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
14000 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
14001 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
14002 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
14003 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
14004 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_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_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_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_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_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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}};
14005 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
14006 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
14007 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
14008 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
14009 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
14010 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
14011 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
14012 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
14013 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
14014 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
14015 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
14016 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
14017 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
14018 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
14019 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
14020 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14021 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14022 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
14023 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
14024 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
14025 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
14026 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
14027 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
14028 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
14029 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
14030 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14031 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14032 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
14033 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14034 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14035 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
14036 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
14037 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
14038 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14039 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14040 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
14041 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
14042 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
14043 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
14044 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
14045 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
14046 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
14047 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
14048 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
14049 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
14050 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
14051 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14052 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14053 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
14054 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
14055 static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
14056 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
14057 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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 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_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_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_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_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_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_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_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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_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}};
14058 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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}};
14059 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
14060 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
14061 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}};
14062 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
14063 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
14064 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
14065 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
14066 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}};
14067 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14068 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}};
14069 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14070 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14071 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14072 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14073 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}};
14074 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_wxSearchCtrl, _p_wxSearchCtrlTo_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_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_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_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_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_wxCollapsiblePane, _p_wxCollapsiblePaneTo_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}};
14075
14076 static swig_cast_info *swig_cast_initial[] = {
14077 _swigc__p_char,
14078 _swigc__p_float,
14079 _swigc__p_form_ops_t,
14080 _swigc__p_int,
14081 _swigc__p_unsigned_char,
14082 _swigc__p_unsigned_int,
14083 _swigc__p_unsigned_long,
14084 _swigc__p_wxANIHandler,
14085 _swigc__p_wxAcceleratorTable,
14086 _swigc__p_wxActivateEvent,
14087 _swigc__p_wxArrayString,
14088 _swigc__p_wxBMPHandler,
14089 _swigc__p_wxBitmap,
14090 _swigc__p_wxBitmapButton,
14091 _swigc__p_wxBookCtrlBase,
14092 _swigc__p_wxBookCtrlBaseEvent,
14093 _swigc__p_wxBoxSizer,
14094 _swigc__p_wxButton,
14095 _swigc__p_wxCURHandler,
14096 _swigc__p_wxCalculateLayoutEvent,
14097 _swigc__p_wxCheckBox,
14098 _swigc__p_wxCheckListBox,
14099 _swigc__p_wxChildFocusEvent,
14100 _swigc__p_wxChoice,
14101 _swigc__p_wxChoicebook,
14102 _swigc__p_wxChoicebookEvent,
14103 _swigc__p_wxClipboardTextEvent,
14104 _swigc__p_wxCloseEvent,
14105 _swigc__p_wxCollapsiblePane,
14106 _swigc__p_wxCollapsiblePaneEvent,
14107 _swigc__p_wxColour,
14108 _swigc__p_wxColourData,
14109 _swigc__p_wxColourDialog,
14110 _swigc__p_wxColourPickerCtrl,
14111 _swigc__p_wxColourPickerEvent,
14112 _swigc__p_wxComboBox,
14113 _swigc__p_wxCommandEvent,
14114 _swigc__p_wxContextHelp,
14115 _swigc__p_wxContextHelpButton,
14116 _swigc__p_wxContextMenuEvent,
14117 _swigc__p_wxControl,
14118 _swigc__p_wxControlWithItems,
14119 _swigc__p_wxDateEvent,
14120 _swigc__p_wxDatePickerCtrl,
14121 _swigc__p_wxDialog,
14122 _swigc__p_wxDirDialog,
14123 _swigc__p_wxDirFilterListCtrl,
14124 _swigc__p_wxDirPickerCtrl,
14125 _swigc__p_wxDisplayChangedEvent,
14126 _swigc__p_wxDropFilesEvent,
14127 _swigc__p_wxDuplexMode,
14128 _swigc__p_wxDynamicSashSplitEvent,
14129 _swigc__p_wxDynamicSashUnifyEvent,
14130 _swigc__p_wxDynamicSashWindow,
14131 _swigc__p_wxEditableListBox,
14132 _swigc__p_wxEraseEvent,
14133 _swigc__p_wxEvent,
14134 _swigc__p_wxEvtHandler,
14135 _swigc__p_wxFSFile,
14136 _swigc__p_wxFileDialog,
14137 _swigc__p_wxFileDirPickerEvent,
14138 _swigc__p_wxFilePickerCtrl,
14139 _swigc__p_wxFileSystem,
14140 _swigc__p_wxFindDialogEvent,
14141 _swigc__p_wxFindReplaceData,
14142 _swigc__p_wxFindReplaceDialog,
14143 _swigc__p_wxFlexGridSizer,
14144 _swigc__p_wxFocusEvent,
14145 _swigc__p_wxFont,
14146 _swigc__p_wxFontData,
14147 _swigc__p_wxFontDialog,
14148 _swigc__p_wxFontPickerCtrl,
14149 _swigc__p_wxFontPickerEvent,
14150 _swigc__p_wxFrame,
14151 _swigc__p_wxGBSizerItem,
14152 _swigc__p_wxGIFHandler,
14153 _swigc__p_wxGauge,
14154 _swigc__p_wxGenericDirCtrl,
14155 _swigc__p_wxGenericDragImage,
14156 _swigc__p_wxGridBagSizer,
14157 _swigc__p_wxGridSizer,
14158 _swigc__p_wxHelpEvent,
14159 _swigc__p_wxHyperlinkCtrl,
14160 _swigc__p_wxHyperlinkEvent,
14161 _swigc__p_wxICOHandler,
14162 _swigc__p_wxIcon,
14163 _swigc__p_wxIconizeEvent,
14164 _swigc__p_wxIdleEvent,
14165 _swigc__p_wxImage,
14166 _swigc__p_wxImageHandler,
14167 _swigc__p_wxImageList,
14168 _swigc__p_wxIndividualLayoutConstraint,
14169 _swigc__p_wxInitDialogEvent,
14170 _swigc__p_wxJPEGHandler,
14171 _swigc__p_wxKeyEvent,
14172 _swigc__p_wxLEDNumberCtrl,
14173 _swigc__p_wxLayoutAlgorithm,
14174 _swigc__p_wxLayoutConstraints,
14175 _swigc__p_wxListBox,
14176 _swigc__p_wxListEvent,
14177 _swigc__p_wxListItem,
14178 _swigc__p_wxListView,
14179 _swigc__p_wxListbook,
14180 _swigc__p_wxListbookEvent,
14181 _swigc__p_wxMDIChildFrame,
14182 _swigc__p_wxMDIClientWindow,
14183 _swigc__p_wxMDIParentFrame,
14184 _swigc__p_wxMaximizeEvent,
14185 _swigc__p_wxMenu,
14186 _swigc__p_wxMenuBar,
14187 _swigc__p_wxMenuEvent,
14188 _swigc__p_wxMenuItem,
14189 _swigc__p_wxMessageDialog,
14190 _swigc__p_wxMiniFrame,
14191 _swigc__p_wxMouseCaptureChangedEvent,
14192 _swigc__p_wxMouseCaptureLostEvent,
14193 _swigc__p_wxMouseEvent,
14194 _swigc__p_wxMoveEvent,
14195 _swigc__p_wxMultiChoiceDialog,
14196 _swigc__p_wxNavigationKeyEvent,
14197 _swigc__p_wxNcPaintEvent,
14198 _swigc__p_wxNotebook,
14199 _swigc__p_wxNotebookEvent,
14200 _swigc__p_wxNotifyEvent,
14201 _swigc__p_wxNumberEntryDialog,
14202 _swigc__p_wxObject,
14203 _swigc__p_wxPCXHandler,
14204 _swigc__p_wxPNGHandler,
14205 _swigc__p_wxPNMHandler,
14206 _swigc__p_wxPageSetupDialog,
14207 _swigc__p_wxPageSetupDialogData,
14208 _swigc__p_wxPaintEvent,
14209 _swigc__p_wxPaletteChangedEvent,
14210 _swigc__p_wxPanel,
14211 _swigc__p_wxPaperSize,
14212 _swigc__p_wxPasswordEntryDialog,
14213 _swigc__p_wxPickerBase,
14214 _swigc__p_wxPopupWindow,
14215 _swigc__p_wxPreviewCanvas,
14216 _swigc__p_wxPreviewControlBar,
14217 _swigc__p_wxPreviewFrame,
14218 _swigc__p_wxPrintData,
14219 _swigc__p_wxPrintDialog,
14220 _swigc__p_wxPrintDialogData,
14221 _swigc__p_wxPrintPreview,
14222 _swigc__p_wxPrinter,
14223 _swigc__p_wxProgressDialog,
14224 _swigc__p_wxPyApp,
14225 _swigc__p_wxPyCommandEvent,
14226 _swigc__p_wxPyControl,
14227 _swigc__p_wxPyEvent,
14228 _swigc__p_wxPyHtmlListBox,
14229 _swigc__p_wxPyImageHandler,
14230 _swigc__p_wxPyListCtrl,
14231 _swigc__p_wxPyPanel,
14232 _swigc__p_wxPyPopupTransientWindow,
14233 _swigc__p_wxPyPreviewControlBar,
14234 _swigc__p_wxPyPreviewFrame,
14235 _swigc__p_wxPyPrintPreview,
14236 _swigc__p_wxPyPrintout,
14237 _swigc__p_wxPyScrolledWindow,
14238 _swigc__p_wxPySizer,
14239 _swigc__p_wxPyTaskBarIcon,
14240 _swigc__p_wxPyTreeCompanionWindow,
14241 _swigc__p_wxPyTreeCtrl,
14242 _swigc__p_wxPyTreeItemData,
14243 _swigc__p_wxPyTreeListCtrl,
14244 _swigc__p_wxPyVListBox,
14245 _swigc__p_wxPyVScrolledWindow,
14246 _swigc__p_wxPyValidator,
14247 _swigc__p_wxPyWindow,
14248 _swigc__p_wxQueryLayoutInfoEvent,
14249 _swigc__p_wxQueryNewPaletteEvent,
14250 _swigc__p_wxRadioBox,
14251 _swigc__p_wxRadioButton,
14252 _swigc__p_wxRemotelyScrolledTreeCtrl,
14253 _swigc__p_wxSashEvent,
14254 _swigc__p_wxSashLayoutWindow,
14255 _swigc__p_wxSashWindow,
14256 _swigc__p_wxScrollBar,
14257 _swigc__p_wxScrollEvent,
14258 _swigc__p_wxScrollWinEvent,
14259 _swigc__p_wxScrolledWindow,
14260 _swigc__p_wxSearchCtrl,
14261 _swigc__p_wxSetCursorEvent,
14262 _swigc__p_wxShowEvent,
14263 _swigc__p_wxSimpleHtmlListBox,
14264 _swigc__p_wxSingleChoiceDialog,
14265 _swigc__p_wxSizeEvent,
14266 _swigc__p_wxSizer,
14267 _swigc__p_wxSizerItem,
14268 _swigc__p_wxSlider,
14269 _swigc__p_wxSpinButton,
14270 _swigc__p_wxSpinCtrl,
14271 _swigc__p_wxSpinEvent,
14272 _swigc__p_wxSplashScreen,
14273 _swigc__p_wxSplashScreenWindow,
14274 _swigc__p_wxSplitterEvent,
14275 _swigc__p_wxSplitterScrolledWindow,
14276 _swigc__p_wxSplitterWindow,
14277 _swigc__p_wxStaticBitmap,
14278 _swigc__p_wxStaticBox,
14279 _swigc__p_wxStaticBoxSizer,
14280 _swigc__p_wxStaticLine,
14281 _swigc__p_wxStaticPicture,
14282 _swigc__p_wxStaticText,
14283 _swigc__p_wxStatusBar,
14284 _swigc__p_wxStdDialogButtonSizer,
14285 _swigc__p_wxSysColourChangedEvent,
14286 _swigc__p_wxTGAHandler,
14287 _swigc__p_wxTIFFHandler,
14288 _swigc__p_wxTaskBarIconEvent,
14289 _swigc__p_wxTextCtrl,
14290 _swigc__p_wxTextEntryDialog,
14291 _swigc__p_wxTextUrlEvent,
14292 _swigc__p_wxThinSplitterWindow,
14293 _swigc__p_wxTipWindow,
14294 _swigc__p_wxToggleButton,
14295 _swigc__p_wxToolBar,
14296 _swigc__p_wxToolBarBase,
14297 _swigc__p_wxToolBarToolBase,
14298 _swigc__p_wxToolbook,
14299 _swigc__p_wxToolbookEvent,
14300 _swigc__p_wxTopLevelWindow,
14301 _swigc__p_wxTreeEvent,
14302 _swigc__p_wxTreeItemId,
14303 _swigc__p_wxTreeListColumnInfo,
14304 _swigc__p_wxTreebook,
14305 _swigc__p_wxTreebookEvent,
14306 _swigc__p_wxUpdateUIEvent,
14307 _swigc__p_wxValidator,
14308 _swigc__p_wxWindow,
14309 _swigc__p_wxWindowCreateEvent,
14310 _swigc__p_wxWindowDestroyEvent,
14311 _swigc__p_wxXPMHandler,
14312 };
14313
14314
14315 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14316
14317 static swig_const_info swig_const_table[] = {
14318 {0, 0, 0, 0.0, 0, 0}};
14319
14320 #ifdef __cplusplus
14321 }
14322 #endif
14323 /* -----------------------------------------------------------------------------
14324 * Type initialization:
14325 * This problem is tough by the requirement that no dynamic
14326 * memory is used. Also, since swig_type_info structures store pointers to
14327 * swig_cast_info structures and swig_cast_info structures store pointers back
14328 * to swig_type_info structures, we need some lookup code at initialization.
14329 * The idea is that swig generates all the structures that are needed.
14330 * The runtime then collects these partially filled structures.
14331 * The SWIG_InitializeModule function takes these initial arrays out of
14332 * swig_module, and does all the lookup, filling in the swig_module.types
14333 * array with the correct data and linking the correct swig_cast_info
14334 * structures together.
14335 *
14336 * The generated swig_type_info structures are assigned staticly to an initial
14337 * array. We just loop though that array, and handle each type individually.
14338 * First we lookup if this type has been already loaded, and if so, use the
14339 * loaded structure instead of the generated one. Then we have to fill in the
14340 * cast linked list. The cast data is initially stored in something like a
14341 * two-dimensional array. Each row corresponds to a type (there are the same
14342 * number of rows as there are in the swig_type_initial array). Each entry in
14343 * a column is one of the swig_cast_info structures for that type.
14344 * The cast_initial array is actually an array of arrays, because each row has
14345 * a variable number of columns. So to actually build the cast linked list,
14346 * we find the array of casts associated with the type, and loop through it
14347 * adding the casts to the list. The one last trick we need to do is making
14348 * sure the type pointer in the swig_cast_info struct is correct.
14349 *
14350 * First off, we lookup the cast->type name to see if it is already loaded.
14351 * There are three cases to handle:
14352 * 1) If the cast->type has already been loaded AND the type we are adding
14353 * casting info to has not been loaded (it is in this module), THEN we
14354 * replace the cast->type pointer with the type pointer that has already
14355 * been loaded.
14356 * 2) If BOTH types (the one we are adding casting info to, and the
14357 * cast->type) are loaded, THEN the cast info has already been loaded by
14358 * the previous module so we just ignore it.
14359 * 3) Finally, if cast->type has not already been loaded, then we add that
14360 * swig_cast_info to the linked list (because the cast->type) pointer will
14361 * be correct.
14362 * ----------------------------------------------------------------------------- */
14363
14364 #ifdef __cplusplus
14365 extern "C" {
14366 #if 0
14367 } /* c-mode */
14368 #endif
14369 #endif
14370
14371 #if 0
14372 #define SWIGRUNTIME_DEBUG
14373 #endif
14374
14375 SWIGRUNTIME void
14376 SWIG_InitializeModule(void *clientdata) {
14377 size_t i;
14378 swig_module_info *module_head;
14379 static int init_run = 0;
14380
14381 clientdata = clientdata;
14382
14383 if (init_run) return;
14384 init_run = 1;
14385
14386 /* Initialize the swig_module */
14387 swig_module.type_initial = swig_type_initial;
14388 swig_module.cast_initial = swig_cast_initial;
14389
14390 /* Try and load any already created modules */
14391 module_head = SWIG_GetModule(clientdata);
14392 if (module_head) {
14393 swig_module.next = module_head->next;
14394 module_head->next = &swig_module;
14395 } else {
14396 /* This is the first module loaded */
14397 swig_module.next = &swig_module;
14398 SWIG_SetModule(clientdata, &swig_module);
14399 }
14400
14401 /* Now work on filling in swig_module.types */
14402 #ifdef SWIGRUNTIME_DEBUG
14403 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
14404 #endif
14405 for (i = 0; i < swig_module.size; ++i) {
14406 swig_type_info *type = 0;
14407 swig_type_info *ret;
14408 swig_cast_info *cast;
14409
14410 #ifdef SWIGRUNTIME_DEBUG
14411 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14412 #endif
14413
14414 /* if there is another module already loaded */
14415 if (swig_module.next != &swig_module) {
14416 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14417 }
14418 if (type) {
14419 /* Overwrite clientdata field */
14420 #ifdef SWIGRUNTIME_DEBUG
14421 printf("SWIG_InitializeModule: found type %s\n", type->name);
14422 #endif
14423 if (swig_module.type_initial[i]->clientdata) {
14424 type->clientdata = swig_module.type_initial[i]->clientdata;
14425 #ifdef SWIGRUNTIME_DEBUG
14426 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14427 #endif
14428 }
14429 } else {
14430 type = swig_module.type_initial[i];
14431 }
14432
14433 /* Insert casting types */
14434 cast = swig_module.cast_initial[i];
14435 while (cast->type) {
14436 /* Don't need to add information already in the list */
14437 ret = 0;
14438 #ifdef SWIGRUNTIME_DEBUG
14439 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14440 #endif
14441 if (swig_module.next != &swig_module) {
14442 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14443 #ifdef SWIGRUNTIME_DEBUG
14444 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14445 #endif
14446 }
14447 if (ret) {
14448 if (type == swig_module.type_initial[i]) {
14449 #ifdef SWIGRUNTIME_DEBUG
14450 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14451 #endif
14452 cast->type = ret;
14453 ret = 0;
14454 } else {
14455 /* Check for casting already in the list */
14456 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14457 #ifdef SWIGRUNTIME_DEBUG
14458 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14459 #endif
14460 if (!ocast) ret = 0;
14461 }
14462 }
14463
14464 if (!ret) {
14465 #ifdef SWIGRUNTIME_DEBUG
14466 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14467 #endif
14468 if (type->cast) {
14469 type->cast->prev = cast;
14470 cast->next = type->cast;
14471 }
14472 type->cast = cast;
14473 }
14474 cast++;
14475 }
14476 /* Set entry in modules->types array equal to the type */
14477 swig_module.types[i] = type;
14478 }
14479 swig_module.types[i] = 0;
14480
14481 #ifdef SWIGRUNTIME_DEBUG
14482 printf("**** SWIG_InitializeModule: Cast List ******\n");
14483 for (i = 0; i < swig_module.size; ++i) {
14484 int j = 0;
14485 swig_cast_info *cast = swig_module.cast_initial[i];
14486 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14487 while (cast->type) {
14488 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14489 cast++;
14490 ++j;
14491 }
14492 printf("---- Total casts: %d\n",j);
14493 }
14494 printf("**** SWIG_InitializeModule: Cast List ******\n");
14495 #endif
14496 }
14497
14498 /* This function will propagate the clientdata field of type to
14499 * any new swig_type_info structures that have been added into the list
14500 * of equivalent types. It is like calling
14501 * SWIG_TypeClientData(type, clientdata) a second time.
14502 */
14503 SWIGRUNTIME void
14504 SWIG_PropagateClientData(void) {
14505 size_t i;
14506 swig_cast_info *equiv;
14507 static int init_run = 0;
14508
14509 if (init_run) return;
14510 init_run = 1;
14511
14512 for (i = 0; i < swig_module.size; i++) {
14513 if (swig_module.types[i]->clientdata) {
14514 equiv = swig_module.types[i]->cast;
14515 while (equiv) {
14516 if (!equiv->converter) {
14517 if (equiv->type && !equiv->type->clientdata)
14518 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14519 }
14520 equiv = equiv->next;
14521 }
14522 }
14523 }
14524 }
14525
14526 #ifdef __cplusplus
14527 #if 0
14528 {
14529 /* c-mode */
14530 #endif
14531 }
14532 #endif
14533
14534
14535
14536 #ifdef __cplusplus
14537 extern "C" {
14538 #endif
14539
14540 /* Python-specific SWIG API */
14541 #define SWIG_newvarlink() SWIG_Python_newvarlink()
14542 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14543 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14544
14545 /* -----------------------------------------------------------------------------
14546 * global variable support code.
14547 * ----------------------------------------------------------------------------- */
14548
14549 typedef struct swig_globalvar {
14550 char *name; /* Name of global variable */
14551 PyObject *(*get_attr)(void); /* Return the current value */
14552 int (*set_attr)(PyObject *); /* Set the value */
14553 struct swig_globalvar *next;
14554 } swig_globalvar;
14555
14556 typedef struct swig_varlinkobject {
14557 PyObject_HEAD
14558 swig_globalvar *vars;
14559 } swig_varlinkobject;
14560
14561 SWIGINTERN PyObject *
14562 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14563 return PyString_FromString("<Swig global variables>");
14564 }
14565
14566 SWIGINTERN PyObject *
14567 swig_varlink_str(swig_varlinkobject *v) {
14568 PyObject *str = PyString_FromString("(");
14569 swig_globalvar *var;
14570 for (var = v->vars; var; var=var->next) {
14571 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14572 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14573 }
14574 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14575 return str;
14576 }
14577
14578 SWIGINTERN int
14579 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14580 PyObject *str = swig_varlink_str(v);
14581 fprintf(fp,"Swig global variables ");
14582 fprintf(fp,"%s\n", PyString_AsString(str));
14583 Py_DECREF(str);
14584 return 0;
14585 }
14586
14587 SWIGINTERN void
14588 swig_varlink_dealloc(swig_varlinkobject *v) {
14589 swig_globalvar *var = v->vars;
14590 while (var) {
14591 swig_globalvar *n = var->next;
14592 free(var->name);
14593 free(var);
14594 var = n;
14595 }
14596 }
14597
14598 SWIGINTERN PyObject *
14599 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14600 PyObject *res = NULL;
14601 swig_globalvar *var = v->vars;
14602 while (var) {
14603 if (strcmp(var->name,n) == 0) {
14604 res = (*var->get_attr)();
14605 break;
14606 }
14607 var = var->next;
14608 }
14609 if (res == NULL && !PyErr_Occurred()) {
14610 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14611 }
14612 return res;
14613 }
14614
14615 SWIGINTERN int
14616 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14617 int res = 1;
14618 swig_globalvar *var = v->vars;
14619 while (var) {
14620 if (strcmp(var->name,n) == 0) {
14621 res = (*var->set_attr)(p);
14622 break;
14623 }
14624 var = var->next;
14625 }
14626 if (res == 1 && !PyErr_Occurred()) {
14627 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14628 }
14629 return res;
14630 }
14631
14632 SWIGINTERN PyTypeObject*
14633 swig_varlink_type(void) {
14634 static char varlink__doc__[] = "Swig var link object";
14635 static PyTypeObject varlink_type;
14636 static int type_init = 0;
14637 if (!type_init) {
14638 const PyTypeObject tmp
14639 = {
14640 PyObject_HEAD_INIT(NULL)
14641 0, /* Number of items in variable part (ob_size) */
14642 (char *)"swigvarlink", /* Type name (tp_name) */
14643 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14644 0, /* Itemsize (tp_itemsize) */
14645 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14646 (printfunc) swig_varlink_print, /* Print (tp_print) */
14647 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14648 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14649 0, /* tp_compare */
14650 (reprfunc) swig_varlink_repr, /* tp_repr */
14651 0, /* tp_as_number */
14652 0, /* tp_as_sequence */
14653 0, /* tp_as_mapping */
14654 0, /* tp_hash */
14655 0, /* tp_call */
14656 (reprfunc)swig_varlink_str, /* tp_str */
14657 0, /* tp_getattro */
14658 0, /* tp_setattro */
14659 0, /* tp_as_buffer */
14660 0, /* tp_flags */
14661 varlink__doc__, /* tp_doc */
14662 0, /* tp_traverse */
14663 0, /* tp_clear */
14664 0, /* tp_richcompare */
14665 0, /* tp_weaklistoffset */
14666 #if PY_VERSION_HEX >= 0x02020000
14667 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14668 #endif
14669 #if PY_VERSION_HEX >= 0x02030000
14670 0, /* tp_del */
14671 #endif
14672 #ifdef COUNT_ALLOCS
14673 0,0,0,0 /* tp_alloc -> tp_next */
14674 #endif
14675 };
14676 varlink_type = tmp;
14677 varlink_type.ob_type = &PyType_Type;
14678 type_init = 1;
14679 }
14680 return &varlink_type;
14681 }
14682
14683 /* Create a variable linking object for use later */
14684 SWIGINTERN PyObject *
14685 SWIG_Python_newvarlink(void) {
14686 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14687 if (result) {
14688 result->vars = 0;
14689 }
14690 return ((PyObject*) result);
14691 }
14692
14693 SWIGINTERN void
14694 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14695 swig_varlinkobject *v = (swig_varlinkobject *) p;
14696 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14697 if (gv) {
14698 size_t size = strlen(name)+1;
14699 gv->name = (char *)malloc(size);
14700 if (gv->name) {
14701 strncpy(gv->name,name,size);
14702 gv->get_attr = get_attr;
14703 gv->set_attr = set_attr;
14704 gv->next = v->vars;
14705 }
14706 }
14707 v->vars = gv;
14708 }
14709
14710 SWIGINTERN PyObject *
14711 SWIG_globals() {
14712 static PyObject *_SWIG_globals = 0;
14713 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14714 return _SWIG_globals;
14715 }
14716
14717 /* -----------------------------------------------------------------------------
14718 * constants/methods manipulation
14719 * ----------------------------------------------------------------------------- */
14720
14721 /* Install Constants */
14722 SWIGINTERN void
14723 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14724 PyObject *obj = 0;
14725 size_t i;
14726 for (i = 0; constants[i].type; ++i) {
14727 switch(constants[i].type) {
14728 case SWIG_PY_POINTER:
14729 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14730 break;
14731 case SWIG_PY_BINARY:
14732 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14733 break;
14734 default:
14735 obj = 0;
14736 break;
14737 }
14738 if (obj) {
14739 PyDict_SetItemString(d, constants[i].name, obj);
14740 Py_DECREF(obj);
14741 }
14742 }
14743 }
14744
14745 /* -----------------------------------------------------------------------------*/
14746 /* Fix SwigMethods to carry the callback ptrs when needed */
14747 /* -----------------------------------------------------------------------------*/
14748
14749 SWIGINTERN void
14750 SWIG_Python_FixMethods(PyMethodDef *methods,
14751 swig_const_info *const_table,
14752 swig_type_info **types,
14753 swig_type_info **types_initial) {
14754 size_t i;
14755 for (i = 0; methods[i].ml_name; ++i) {
14756 const char *c = methods[i].ml_doc;
14757 if (c && (c = strstr(c, "swig_ptr: "))) {
14758 int j;
14759 swig_const_info *ci = 0;
14760 const char *name = c + 10;
14761 for (j = 0; const_table[j].type; ++j) {
14762 if (strncmp(const_table[j].name, name,
14763 strlen(const_table[j].name)) == 0) {
14764 ci = &(const_table[j]);
14765 break;
14766 }
14767 }
14768 if (ci) {
14769 size_t shift = (ci->ptype) - types;
14770 swig_type_info *ty = types_initial[shift];
14771 size_t ldoc = (c - methods[i].ml_doc);
14772 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14773 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14774 if (ndoc) {
14775 char *buff = ndoc;
14776 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14777 if (ptr) {
14778 strncpy(buff, methods[i].ml_doc, ldoc);
14779 buff += ldoc;
14780 strncpy(buff, "swig_ptr: ", 10);
14781 buff += 10;
14782 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14783 methods[i].ml_doc = ndoc;
14784 }
14785 }
14786 }
14787 }
14788 }
14789 }
14790
14791 #ifdef __cplusplus
14792 }
14793 #endif
14794
14795 /* -----------------------------------------------------------------------------*
14796 * Partial Init method
14797 * -----------------------------------------------------------------------------*/
14798
14799 #ifdef __cplusplus
14800 extern "C"
14801 #endif
14802 SWIGEXPORT void SWIG_init(void) {
14803 PyObject *m, *d;
14804
14805 /* Fix SwigMethods to carry the callback ptrs when needed */
14806 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14807
14808 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14809 d = PyModule_GetDict(m);
14810
14811 SWIG_InitializeModule(0);
14812 SWIG_InstallConstants(d,swig_const_table);
14813
14814
14815 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14816 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14817 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14818 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14819 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14820 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14821 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14822 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14823 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14824 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14825 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14826 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14827 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14828 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14829 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14830 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14831 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14832 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14833 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14834 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14835 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14836 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14837 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14838 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14839 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
14840 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14841 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14842 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14843
14844 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14845
14846 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14847 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14848 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14849 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14850
14851 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14852
14853 }
14854