]> git.saurik.com Git - wxWidgets.git/blob - wxPython/contrib/gizmos/msw/gizmos_wrap.cpp
document wxAboutBox &c
[wxWidgets.git] / wxPython / contrib / gizmos / msw / gizmos_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.29
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
34
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
40 # else
41 # define SWIGTEMPLATEDISAMBIGUATOR
42 # endif
43 # else
44 # define SWIGTEMPLATEDISAMBIGUATOR
45 # endif
46 #endif
47
48 /* inline attribute */
49 #ifndef SWIGINLINE
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
52 # else
53 # define SWIGINLINE
54 # endif
55 #endif
56
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
58 #ifndef SWIGUNUSED
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
62 # else
63 # define SWIGUNUSED
64 # endif
65 # elif defined(__ICC)
66 # define SWIGUNUSED __attribute__ ((__unused__))
67 # else
68 # define SWIGUNUSED
69 # endif
70 #endif
71
72 #ifndef SWIGUNUSEDPARM
73 # ifdef __cplusplus
74 # define SWIGUNUSEDPARM(p)
75 # else
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
77 # endif
78 #endif
79
80 /* internal SWIG method */
81 #ifndef SWIGINTERN
82 # define SWIGINTERN static SWIGUNUSED
83 #endif
84
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88 #endif
89
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
94 # endif
95 #endif
96
97 #ifndef SWIGEXPORT
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
100 # define SWIGEXPORT
101 # else
102 # define SWIGEXPORT __declspec(dllexport)
103 # endif
104 # else
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
107 # else
108 # define SWIGEXPORT
109 # endif
110 # endif
111 #endif
112
113 /* calling conventions for Windows */
114 #ifndef SWIGSTDCALL
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
117 # else
118 # define SWIGSTDCALL
119 # endif
120 #endif
121
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
125 #endif
126
127
128 /* Python.h has to appear first */
129 #include <Python.h>
130
131 /* -----------------------------------------------------------------------------
132 * swigrun.swg
133 *
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
137
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
141
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
147 #else
148 # define SWIG_TYPE_TABLE_NAME
149 #endif
150
151 /*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158 */
159
160 #ifndef SWIGRUNTIME
161 # define SWIGRUNTIME SWIGINTERN
162 #endif
163
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
166 #endif
167
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
171 #endif
172
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
175
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
178
179
180 /*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260 #define SWIG_OK (0)
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285 /* Cast-Rank Mode */
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
289 # endif
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
292 # endif
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297 }
298 SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300 }
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304 #endif
305
306
307
308
309 #include <string.h>
310
311 #ifdef __cplusplus
312 extern "C" {
313 #endif
314
315 typedef void *(*swig_converter_func)(void *);
316 typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info {
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
325 int owndata; /* flag if the structure owns the clientdata */
326 } swig_type_info;
327
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334 } swig_cast_info;
335
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346 } swig_module_info;
347
348 /*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354 */
355 SWIGRUNTIME int
356 SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
362 }
363 return (l1 - f1) - (l2 - f2);
364 }
365
366 /*
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
369 */
370 SWIGRUNTIME int
371 SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
380 if (*ne) ++ne;
381 }
382 return equiv;
383 }
384
385 /*
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
388 */
389 SWIGRUNTIME int
390 SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
397 }
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
400 }
401 return equiv;
402 }
403
404
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
427 /*
428 Check the typename
429 */
430 SWIGRUNTIME swig_cast_info *
431 SWIG_TypeCheck(const char *c, swig_type_info *ty) {
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433 }
434
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info *
437 SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
439 }
440
441 /*
442 Cast a pointer up an inheritance hierarchy
443 */
444 SWIGRUNTIMEINLINE void *
445 SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447 }
448
449 /*
450 Dynamic pointer casting. Down an inheritance hierarchy
451 */
452 SWIGRUNTIME swig_type_info *
453 SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461 }
462
463 /*
464 Return the name associated with this type
465 */
466 SWIGRUNTIMEINLINE const char *
467 SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469 }
470
471 /*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474 */
475 SWIGRUNTIME const char *
476 SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
481 if (!type) return NULL;
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491 }
492
493 /*
494 Set the clientdata field for a type
495 */
496 SWIGRUNTIME void
497 SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
507 }
508 }
509 cast = cast->next;
510 }
511 }
512 SWIGRUNTIME void
513 SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516 }
517
518 /*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525 */
526 SWIGRUNTIME swig_type_info *
527 SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
556 }
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560 }
561
562 /*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570 */
571 SWIGRUNTIME swig_type_info *
572 SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
591 }
592
593 /* neither found a match */
594 return 0;
595 }
596
597 /*
598 Pack binary data into a string
599 */
600 SWIGRUNTIME char *
601 SWIG_PackData(char *c, void *ptr, size_t sz) {
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
605 for (; u != eu; ++u) {
606 register unsigned char uu = *u;
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611 }
612
613 /*
614 Unpack binary data from a string
615 */
616 SWIGRUNTIME const char *
617 SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
619 register const unsigned char *eu = u + sz;
620 for (; u != eu; ++u) {
621 register char d = *(c++);
622 register unsigned char uu;
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639 }
640
641 /*
642 Pack 'void *' into a string buffer.
643 */
644 SWIGRUNTIME char *
645 SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653 }
654
655 SWIGRUNTIME const char *
656 SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666 }
667
668 SWIGRUNTIME char *
669 SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681 }
682
683 SWIGRUNTIME const char *
684 SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694 }
695
696 #ifdef __cplusplus
697 }
698 #endif
699
700 /* Errors in SWIG */
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
714
715
716
717 /* Python.h has to appear first */
718 #include <Python.h>
719
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
724 # else
725 # define PyOS_snprintf snprintf
726 # endif
727 #endif
728
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
731
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
734 #endif
735
736 static PyObject *
737 PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745 }
746 #endif
747
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
751 #endif
752 #ifndef PyObject_DEL
753 # define PyObject_DEL PyObject_Del
754 #endif
755
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
760 # endif
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
763 # endif
764 #endif
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
769 # endif
770 #endif
771
772
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777 # endif
778 #endif
779
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
784 # endif
785 #endif
786
787
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
790 static
791 PyObject *PyBool_FromLong(long ok)
792 {
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796 }
797 #endif
798
799
800 /* -----------------------------------------------------------------------------
801 * error manipulation
802 * ----------------------------------------------------------------------------- */
803
804 SWIGRUNTIME PyObject*
805 SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845 }
846
847
848 SWIGRUNTIME void
849 SWIG_Python_AddErrorMsg(const char* mesg)
850 {
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866 }
867
868
869
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
873 # endif
874 #endif
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
879 # endif
880 # endif
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884 # endif
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906 # else /* C code */
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911 # endif
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
915 # endif
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918 # endif
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
921 # endif
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924 # endif
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
927 # endif
928 # endif
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
935 #endif
936
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
940
941 #ifdef __cplusplus
942 extern "C" {
943 #if 0
944 } /* cc-mode */
945 #endif
946 #endif
947
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952 /* Constant Types */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
955
956 /* Constant information structure */
957 typedef struct swig_const_info {
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
964 } swig_const_info;
965
966 #ifdef __cplusplus
967 #if 0
968 { /* cc-mode */
969 #endif
970 }
971 #endif
972
973
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
978 * pyrun.swg
979 *
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
983 *
984 * ----------------------------------------------------------------------------- */
985
986 /* Common SWIG API */
987
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t;
990 #endif
991
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1000
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1004
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1008
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1012
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016
1017
1018 /* Runtime API */
1019
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1023
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1029
1030
1031 /* Runtime API implementation */
1032
1033 /* Error manipulation */
1034
1035 SWIGINTERN void
1036 SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
1041 }
1042
1043 SWIGINTERN void
1044 SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
1048 }
1049
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1051
1052 /* Set a constant value */
1053
1054 SWIGINTERN void
1055 SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
1058 }
1059
1060 /* Append a value to the result obj */
1061
1062 SWIGINTERN PyObject*
1063 SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080 #else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
1088 } else {
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
1100 }
1101 return result;
1102 #endif
1103 }
1104
1105 /* Unpack the argument tuple */
1106
1107 SWIGINTERN int
1108 SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109 {
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143 }
1144
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148 #else
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150 #endif
1151
1152 /*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155 */
1156 #ifdef __cplusplus
1157 #define SWIG_STATIC_POINTER(var) var
1158 #else
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160 #endif
1161
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172 #ifdef __cplusplus
1173 extern "C" {
1174 #if 0
1175 } /* cc-mode */
1176 #endif
1177 #endif
1178
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1184 # endif
1185 # endif
1186 #endif
1187
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1189 # ifdef Py_None
1190 # undef Py_None
1191 # define Py_None SWIG_Py_None()
1192 # endif
1193 SWIGRUNTIMEINLINE PyObject *
1194 _SWIG_Py_None(void)
1195 {
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199 }
1200 SWIGRUNTIME PyObject *
1201 SWIG_Py_None(void)
1202 {
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205 }
1206 #endif
1207
1208 /* The python void return value */
1209
1210 SWIGRUNTIMEINLINE PyObject *
1211 SWIG_Py_Void(void)
1212 {
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216 }
1217
1218 /* PySwigClientData */
1219
1220 typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227 } PySwigClientData;
1228
1229 SWIGRUNTIMEINLINE int
1230 SWIG_Python_CheckImplicit(swig_type_info *ty)
1231 {
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234 }
1235
1236 SWIGRUNTIMEINLINE PyObject *
1237 SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241 }
1242
1243
1244 SWIGRUNTIME PySwigClientData *
1245 PySwigClientData_New(PyObject* obj)
1246 {
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260 #if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262 #else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264 #endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284 #ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286 #else
1287 data->delargs = 0;
1288 #endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295 }
1296
1297 SWIGRUNTIME void
1298 PySwigClientData_Del(PySwigClientData* data)
1299 {
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303 }
1304
1305 /* =============== PySwigObject =====================*/
1306
1307 typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313 } PySwigObject;
1314
1315 SWIGRUNTIME PyObject *
1316 PySwigObject_long(PySwigObject *v)
1317 {
1318 return PyLong_FromVoidPtr(v->ptr);
1319 }
1320
1321 SWIGRUNTIME PyObject *
1322 PySwigObject_format(const char* fmt, PySwigObject *v)
1323 {
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337 }
1338
1339 SWIGRUNTIME PyObject *
1340 PySwigObject_oct(PySwigObject *v)
1341 {
1342 return PySwigObject_format("%o",v);
1343 }
1344
1345 SWIGRUNTIME PyObject *
1346 PySwigObject_hex(PySwigObject *v)
1347 {
1348 return PySwigObject_format("%x",v);
1349 }
1350
1351 SWIGRUNTIME PyObject *
1352 #ifdef METH_NOARGS
1353 PySwigObject_repr(PySwigObject *v)
1354 #else
1355 PySwigObject_repr(PySwigObject *v, PyObject *args)
1356 #endif
1357 {
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363 #ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365 #else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367 #endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371 }
1372
1373 SWIGRUNTIME int
1374 PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375 {
1376 #ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378 #else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380 #endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388 }
1389
1390 SWIGRUNTIME PyObject *
1391 PySwigObject_str(PySwigObject *v)
1392 {
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396 }
1397
1398 SWIGRUNTIME int
1399 PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400 {
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404 }
1405
1406 SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408 SWIGRUNTIME PyTypeObject*
1409 PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412 }
1413
1414 SWIGRUNTIMEINLINE int
1415 PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418 }
1419
1420 SWIGRUNTIME PyObject *
1421 PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423 SWIGRUNTIME void
1424 PySwigObject_dealloc(PyObject *v)
1425 {
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450 #endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455 }
1456
1457 SWIGRUNTIME PyObject*
1458 PySwigObject_append(PyObject* v, PyObject* next)
1459 {
1460 PySwigObject *sobj = (PySwigObject *) v;
1461 #ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465 #endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472 }
1473
1474 SWIGRUNTIME PyObject*
1475 #ifdef METH_NOARGS
1476 PySwigObject_next(PyObject* v)
1477 #else
1478 PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479 #endif
1480 {
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488 }
1489
1490 SWIGINTERN PyObject*
1491 #ifdef METH_NOARGS
1492 PySwigObject_disown(PyObject *v)
1493 #else
1494 PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495 #endif
1496 {
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500 }
1501
1502 SWIGINTERN PyObject*
1503 #ifdef METH_NOARGS
1504 PySwigObject_acquire(PyObject *v)
1505 #else
1506 PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507 #endif
1508 {
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512 }
1513
1514 SWIGINTERN PyObject*
1515 PySwigObject_own(PyObject *v, PyObject *args)
1516 {
1517 PyObject *val = 0;
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520 #else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522 #endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531 #ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537 #else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543 #endif
1544 }
1545 return obj;
1546 }
1547 }
1548
1549 #ifdef METH_O
1550 static PyMethodDef
1551 swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559 };
1560 #else
1561 static PyMethodDef
1562 swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570 };
1571 #endif
1572
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject *
1575 PySwigObject_getattr(PySwigObject *sobj,char *name)
1576 {
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578 }
1579 #endif
1580
1581 SWIGRUNTIME PyTypeObject*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1613 #endif
1614 };
1615
1616 static PyTypeObject pyswigobject_type;
1617 static int type_init = 0;
1618 if (!type_init) {
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630 #else
1631 (getattrfunc)0, /* tp_getattr */
1632 #endif
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1672 #endif
1673 #if PY_VERSION_HEX >= 0x02030000
1674 0, /* tp_del */
1675 #endif
1676 #ifdef COUNT_ALLOCS
1677 0,0,0,0 /* tp_alloc -> tp_next */
1678 #endif
1679 };
1680 pyswigobject_type = tmp;
1681 pyswigobject_type.ob_type = &PyType_Type;
1682 type_init = 1;
1683 }
1684 return &pyswigobject_type;
1685 }
1686
1687 SWIGRUNTIME PyObject *
1688 PySwigObject_New(void *ptr, swig_type_info *ty, int own)
1689 {
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
1696 }
1697 return (PyObject *)sobj;
1698 }
1699
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1703
1704 typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709 } PySwigPacked;
1710
1711 SWIGRUNTIME int
1712 PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1713 {
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
1720 fputs(v->ty->name,fp);
1721 fputs(">", fp);
1722 return 0;
1723 }
1724
1725 SWIGRUNTIME PyObject *
1726 PySwigPacked_repr(PySwigPacked *v)
1727 {
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
1731 } else {
1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
1733 }
1734 }
1735
1736 SWIGRUNTIME PyObject *
1737 PySwigPacked_str(PySwigPacked *v)
1738 {
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
1741 return PyString_FromFormat("%s%s", result, v->ty->name);
1742 } else {
1743 return PyString_FromString(v->ty->name);
1744 }
1745 }
1746
1747 SWIGRUNTIME int
1748 PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749 {
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
1754 }
1755
1756 SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758 SWIGRUNTIME PyTypeObject*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762 }
1763
1764 SWIGRUNTIMEINLINE int
1765 PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768 }
1769
1770 SWIGRUNTIME void
1771 PySwigPacked_dealloc(PyObject *v)
1772 {
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778 }
1779
1780 SWIGRUNTIME PyTypeObject*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1835 #endif
1836 #if PY_VERSION_HEX >= 0x02030000
1837 0, /* tp_del */
1838 #endif
1839 #ifdef COUNT_ALLOCS
1840 0,0,0,0 /* tp_alloc -> tp_next */
1841 #endif
1842 };
1843 pyswigpacked_type = tmp;
1844 pyswigpacked_type.ob_type = &PyType_Type;
1845 type_init = 1;
1846 }
1847 return &pyswigpacked_type;
1848 }
1849
1850 SWIGRUNTIME PyObject *
1851 PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
1852 {
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
1855 void *pack = malloc(size);
1856 if (pack) {
1857 memcpy(pack, ptr, size);
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
1864 }
1865 }
1866 return (PyObject *) sobj;
1867 }
1868
1869 SWIGRUNTIME swig_type_info *
1870 PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871 {
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
1880 }
1881
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1885
1886 SWIGRUNTIMEINLINE PyObject *
1887 _SWIG_This(void)
1888 {
1889 return PyString_FromString("this");
1890 }
1891
1892 SWIGRUNTIME PyObject *
1893 SWIG_This(void)
1894 {
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897 }
1898
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1900
1901 SWIGRUNTIME PySwigObject *
1902 SWIG_Python_GetSwigThis(PyObject *pyobj)
1903 {
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922 #endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
1926 } else {
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
1929 }
1930 }
1931 }
1932 #else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940 #endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
1947 }
1948 }
1949
1950 /* Acquire a pointer value */
1951
1952 SWIGRUNTIME int
1953 SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
1961 }
1962 return 0;
1963 }
1964
1965 /* Convert a pointer value */
1966
1967 SWIGRUNTIME int
1968 SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
1992 } else {
1993 if (ptr) *ptr = vptr;
1994 break;
1995 }
1996 }
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
2042 }
2043 }
2044
2045 /* Convert a function ptr value */
2046
2047 SWIGRUNTIME int
2048 SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
2051 } else {
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
2069 }
2070 }
2071
2072 /* Convert a packed value value */
2073
2074 SWIGRUNTIME int
2075 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
2084 }
2085 return SWIG_OK;
2086 }
2087
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2091
2092 /*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095 */
2096
2097 SWIGRUNTIME PyObject*
2098 SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099 {
2100 #if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
2115 }
2116 #else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119 #endif
2120 }
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
2126 }
2127 return inst;
2128 #else
2129 #if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136 #else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
2140 }
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
2147 }
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150 #endif
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153 #endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156 #endif
2157 #endif
2158 }
2159
2160 SWIGRUNTIME void
2161 SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162 {
2163 PyObject *dict;
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
2175 #endif
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179 }
2180
2181
2182 SWIGINTERN PyObject *
2183 SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
2191 } else {
2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
2193 }
2194 return SWIG_Py_Void();
2195 }
2196 }
2197
2198 /* Create a new pointer object */
2199
2200 SWIGRUNTIME PyObject *
2201 SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
2202 if (!ptr) {
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
2213 }
2214 }
2215 return robj;
2216 }
2217 }
2218
2219 /* Create a new packed object */
2220
2221 SWIGRUNTIMEINLINE PyObject *
2222 SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
2224 }
2225
2226 /* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2232 #endif
2233
2234 SWIGRUNTIME swig_module_info *
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241 #else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
2248 #endif
2249 }
2250 return (swig_module_info *) type_pointer;
2251 }
2252
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2256 SWIGINTERN int
2257 PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258 {
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
2263 return SWIG_ERROR;
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
2268 return SWIG_ERROR;
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
2276 return SWIG_ERROR;
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
2279 return SWIG_ERROR;
2280 Py_DECREF(o);
2281 return SWIG_OK;
2282 }
2283 #endif
2284
2285 SWIGRUNTIME void
2286 SWIG_Python_DestroyModule(void *vptr)
2287 {
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299 }
2300
2301 SWIGRUNTIME void
2302 SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
2310 } else {
2311 Py_XDECREF(pointer);
2312 }
2313 }
2314
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject *
2317 SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320 }
2321
2322 SWIGRUNTIME swig_type_info *
2323 SWIG_Python_TypeQuery(const char *type)
2324 {
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342 }
2343
2344 /*
2345 For backward compatibility only
2346 */
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351 SWIGRUNTIME int
2352 SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353 {
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374 }
2375
2376 SWIGRUNTIME int
2377 SWIG_Python_ArgFail(int argnum)
2378 {
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387 }
2388
2389 SWIGRUNTIMEINLINE const char *
2390 PySwigObject_GetDesc(PyObject *self)
2391 {
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395 }
2396
2397 SWIGRUNTIME void
2398 SWIG_Python_TypeError(const char *type, PyObject *obj)
2399 {
2400 if (type) {
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410 #endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431 }
2432
2433
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2435 SWIGRUNTIME void *
2436 SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446 }
2447
2448
2449 #ifdef __cplusplus
2450 #if 0
2451 { /* cc-mode */
2452 #endif
2453 }
2454 #endif
2455
2456
2457
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2465
2466 #define SWIGTYPE_p_char swig_types[0]
2467 #define SWIGTYPE_p_float swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayString swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480 #define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481 #define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482 #define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483 #define SWIGTYPE_p_wxButton swig_types[17]
2484 #define SWIGTYPE_p_wxCURHandler swig_types[18]
2485 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486 #define SWIGTYPE_p_wxCheckBox swig_types[20]
2487 #define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488 #define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489 #define SWIGTYPE_p_wxChoice swig_types[23]
2490 #define SWIGTYPE_p_wxChoicebook swig_types[24]
2491 #define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493 #define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494 #define SWIGTYPE_p_wxColour swig_types[28]
2495 #define SWIGTYPE_p_wxColourData swig_types[29]
2496 #define SWIGTYPE_p_wxColourDialog swig_types[30]
2497 #define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498 #define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499 #define SWIGTYPE_p_wxComboBox swig_types[33]
2500 #define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501 #define SWIGTYPE_p_wxContextHelp swig_types[35]
2502 #define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503 #define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504 #define SWIGTYPE_p_wxControl swig_types[38]
2505 #define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506 #define SWIGTYPE_p_wxDateEvent swig_types[40]
2507 #define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508 #define SWIGTYPE_p_wxDialog swig_types[42]
2509 #define SWIGTYPE_p_wxDirDialog swig_types[43]
2510 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511 #define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513 #define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514 #define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515 #define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516 #define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517 #define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518 #define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519 #define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520 #define SWIGTYPE_p_wxEvent swig_types[54]
2521 #define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522 #define SWIGTYPE_p_wxFSFile swig_types[56]
2523 #define SWIGTYPE_p_wxFileDialog swig_types[57]
2524 #define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525 #define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526 #define SWIGTYPE_p_wxFileSystem swig_types[60]
2527 #define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530 #define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531 #define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532 #define SWIGTYPE_p_wxFont swig_types[66]
2533 #define SWIGTYPE_p_wxFontData swig_types[67]
2534 #define SWIGTYPE_p_wxFontDialog swig_types[68]
2535 #define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536 #define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537 #define SWIGTYPE_p_wxFrame swig_types[71]
2538 #define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539 #define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540 #define SWIGTYPE_p_wxGauge swig_types[74]
2541 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542 #define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543 #define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544 #define SWIGTYPE_p_wxGridSizer swig_types[78]
2545 #define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546 #define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547 #define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548 #define SWIGTYPE_p_wxICOHandler swig_types[82]
2549 #define SWIGTYPE_p_wxIcon swig_types[83]
2550 #define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551 #define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552 #define SWIGTYPE_p_wxImage swig_types[86]
2553 #define SWIGTYPE_p_wxImageHandler swig_types[87]
2554 #define SWIGTYPE_p_wxImageList swig_types[88]
2555 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556 #define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557 #define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558 #define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559 #define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561 #define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562 #define SWIGTYPE_p_wxListBox swig_types[96]
2563 #define SWIGTYPE_p_wxListEvent swig_types[97]
2564 #define SWIGTYPE_p_wxListItem swig_types[98]
2565 #define SWIGTYPE_p_wxListView swig_types[99]
2566 #define SWIGTYPE_p_wxListbook swig_types[100]
2567 #define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568 #define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569 #define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570 #define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571 #define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572 #define SWIGTYPE_p_wxMenu swig_types[106]
2573 #define SWIGTYPE_p_wxMenuBar swig_types[107]
2574 #define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575 #define SWIGTYPE_p_wxMenuItem swig_types[109]
2576 #define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577 #define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
2579 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580 #define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581 #define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584 #define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585 #define SWIGTYPE_p_wxNotebook swig_types[119]
2586 #define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587 #define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589 #define SWIGTYPE_p_wxObject swig_types[123]
2590 #define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591 #define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592 #define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593 #define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595 #define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597 #define SWIGTYPE_p_wxPanel swig_types[131]
2598 #define SWIGTYPE_p_wxPaperSize swig_types[132]
2599 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600 #define SWIGTYPE_p_wxPickerBase swig_types[134]
2601 #define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602 #define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603 #define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604 #define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605 #define SWIGTYPE_p_wxPrintData swig_types[139]
2606 #define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607 #define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608 #define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609 #define SWIGTYPE_p_wxPrinter swig_types[143]
2610 #define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611 #define SWIGTYPE_p_wxPyApp swig_types[145]
2612 #define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613 #define SWIGTYPE_p_wxPyControl swig_types[147]
2614 #define SWIGTYPE_p_wxPyEvent swig_types[148]
2615 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616 #define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617 #define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618 #define SWIGTYPE_p_wxPyPanel swig_types[152]
2619 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622 #define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623 #define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625 #define SWIGTYPE_p_wxPySizer swig_types[159]
2626 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627 #define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629 #define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630 #define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631 #define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633 #define SWIGTYPE_p_wxPyValidator swig_types[167]
2634 #define SWIGTYPE_p_wxPyWindow swig_types[168]
2635 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637 #define SWIGTYPE_p_wxRadioBox swig_types[171]
2638 #define SWIGTYPE_p_wxRadioButton swig_types[172]
2639 #define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640 #define SWIGTYPE_p_wxSashEvent swig_types[174]
2641 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642 #define SWIGTYPE_p_wxSashWindow swig_types[176]
2643 #define SWIGTYPE_p_wxScrollBar swig_types[177]
2644 #define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645 #define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646 #define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647 #define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648 #define SWIGTYPE_p_wxShowEvent swig_types[182]
2649 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650 #define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651 #define SWIGTYPE_p_wxSizer swig_types[185]
2652 #define SWIGTYPE_p_wxSizerItem swig_types[186]
2653 #define SWIGTYPE_p_wxSlider swig_types[187]
2654 #define SWIGTYPE_p_wxSpinButton swig_types[188]
2655 #define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656 #define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657 #define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659 #define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660 #define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661 #define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662 #define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663 #define SWIGTYPE_p_wxStaticBox swig_types[197]
2664 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665 #define SWIGTYPE_p_wxStaticLine swig_types[199]
2666 #define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667 #define SWIGTYPE_p_wxStaticText swig_types[201]
2668 #define SWIGTYPE_p_wxStatusBar swig_types[202]
2669 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
2671 #define SWIGTYPE_p_wxTIFFHandler swig_types[205]
2672 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[206]
2673 #define SWIGTYPE_p_wxTextCtrl swig_types[207]
2674 #define SWIGTYPE_p_wxTextEntryDialog swig_types[208]
2675 #define SWIGTYPE_p_wxTextUrlEvent swig_types[209]
2676 #define SWIGTYPE_p_wxThinSplitterWindow swig_types[210]
2677 #define SWIGTYPE_p_wxTipWindow swig_types[211]
2678 #define SWIGTYPE_p_wxToggleButton swig_types[212]
2679 #define SWIGTYPE_p_wxToolBar swig_types[213]
2680 #define SWIGTYPE_p_wxToolBarBase swig_types[214]
2681 #define SWIGTYPE_p_wxToolBarToolBase swig_types[215]
2682 #define SWIGTYPE_p_wxToolbook swig_types[216]
2683 #define SWIGTYPE_p_wxToolbookEvent swig_types[217]
2684 #define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685 #define SWIGTYPE_p_wxTreeEvent swig_types[219]
2686 #define SWIGTYPE_p_wxTreeItemId swig_types[220]
2687 #define SWIGTYPE_p_wxTreeListColumnInfo swig_types[221]
2688 #define SWIGTYPE_p_wxTreebook swig_types[222]
2689 #define SWIGTYPE_p_wxTreebookEvent swig_types[223]
2690 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[224]
2691 #define SWIGTYPE_p_wxValidator swig_types[225]
2692 #define SWIGTYPE_p_wxWindow swig_types[226]
2693 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[227]
2694 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228]
2695 #define SWIGTYPE_p_wxXPMHandler swig_types[229]
2696 static swig_type_info *swig_types[231];
2697 static swig_module_info swig_module = {swig_types, 230, 0, 0, 0, 0};
2698 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2699 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2700
2701 /* -------- TYPES TABLE (END) -------- */
2702
2703 #if (PY_VERSION_HEX <= 0x02000000)
2704 # if !defined(SWIG_PYTHON_CLASSIC)
2705 # error "This python version requires to use swig with the '-classic' option"
2706 # endif
2707 #endif
2708 #if (PY_VERSION_HEX <= 0x02020000)
2709 # error "This python version requires to use swig with the '-nomodern' option"
2710 #endif
2711 #if (PY_VERSION_HEX <= 0x02020000)
2712 # error "This python version requires to use swig with the '-nomodernargs' option"
2713 #endif
2714 #ifndef METH_O
2715 # error "This python version requires to use swig with the '-nofastunpack' option"
2716 #endif
2717
2718 /*-----------------------------------------------
2719 @(target):= _gizmos.so
2720 ------------------------------------------------*/
2721 #define SWIG_init init_gizmos
2722
2723 #define SWIG_name "_gizmos"
2724
2725 #define SWIGVERSION 0x010329
2726
2727
2728 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2729 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2730
2731
2732 #include <stdexcept>
2733
2734
2735 namespace swig {
2736 class PyObject_ptr {
2737 protected:
2738 PyObject *_obj;
2739
2740 public:
2741 PyObject_ptr() :_obj(0)
2742 {
2743 }
2744
2745 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2746 {
2747 Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2751 {
2752 if (initial_ref) Py_XINCREF(_obj);
2753 }
2754
2755 PyObject_ptr & operator=(const PyObject_ptr& item)
2756 {
2757 Py_XINCREF(item._obj);
2758 Py_XDECREF(_obj);
2759 _obj = item._obj;
2760 return *this;
2761 }
2762
2763 ~PyObject_ptr()
2764 {
2765 Py_XDECREF(_obj);
2766 }
2767
2768 operator PyObject *() const
2769 {
2770 return _obj;
2771 }
2772
2773 PyObject *operator->() const
2774 {
2775 return _obj;
2776 }
2777 };
2778 }
2779
2780
2781 namespace swig {
2782 struct PyObject_var : PyObject_ptr {
2783 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2784
2785 PyObject_var & operator = (PyObject* obj)
2786 {
2787 Py_XDECREF(_obj);
2788 _obj = obj;
2789 return *this;
2790 }
2791 };
2792 }
2793
2794
2795 #include "wx/wxPython/wxPython.h"
2796 #include "wx/wxPython/pyclasses.h"
2797
2798 #include <wx/gizmos/dynamicsash.h>
2799 #include <wx/gizmos/editlbox.h>
2800 #include <wx/gizmos/splittree.h>
2801 #include <wx/gizmos/ledctrl.h>
2802 #include <wx/gizmos/statpict.h>
2803
2804 #include <wx/listctrl.h>
2805 #include <wx/treectrl.h>
2806 #include <wx/imaglist.h>
2807
2808
2809 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2810 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2811 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2812 static const wxString wxPyEmptyString(wxEmptyString);
2813
2814 #define SWIG_From_long PyInt_FromLong
2815
2816
2817 SWIGINTERNINLINE PyObject *
2818 SWIG_From_int (int value)
2819 {
2820 return SWIG_From_long (value);
2821 }
2822
2823
2824 #include <limits.h>
2825 #ifndef LLONG_MIN
2826 # define LLONG_MIN LONG_LONG_MIN
2827 #endif
2828 #ifndef LLONG_MAX
2829 # define LLONG_MAX LONG_LONG_MAX
2830 #endif
2831 #ifndef ULLONG_MAX
2832 # define ULLONG_MAX ULONG_LONG_MAX
2833 #endif
2834
2835
2836 SWIGINTERN int
2837 SWIG_AsVal_long (PyObject* obj, long* val)
2838 {
2839 if (PyNumber_Check(obj)) {
2840 if (val) *val = PyInt_AsLong(obj);
2841 return SWIG_OK;
2842 }
2843 return SWIG_TypeError;
2844 }
2845
2846
2847 SWIGINTERN int
2848 SWIG_AsVal_int (PyObject * obj, int *val)
2849 {
2850 long v;
2851 int res = SWIG_AsVal_long (obj, &v);
2852 if (SWIG_IsOK(res)) {
2853 if ((v < INT_MIN || v > INT_MAX)) {
2854 return SWIG_OverflowError;
2855 } else {
2856 if (val) *val = static_cast< int >(v);
2857 }
2858 }
2859 return res;
2860 }
2861
2862 SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2863 wxArrayString strings;
2864 self->GetStrings(strings);
2865 return wxArrayString2PyList_helper(strings);
2866 }
2867
2868 typedef wxTreeCtrl wxPyTreeCtrl;
2869
2870
2871 class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2872 {
2873 public:
2874 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2875 const wxPoint& pos = wxDefaultPosition,
2876 const wxSize& size = wxDefaultSize,
2877 long style = 0)
2878 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2879
2880
2881 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2882 bool found;
2883 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2884 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2885 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2886 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2887 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2888 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2889 Py_DECREF(dcobj);
2890 Py_DECREF(idobj);
2891 Py_DECREF(recobj);
2892 }
2893 wxPyEndBlockThreads(blocked);
2894 if (! found)
2895 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2896 }
2897
2898 PYPRIVATE;
2899 };
2900
2901
2902 SWIGINTERN int
2903 SWIG_AsVal_bool (PyObject *obj, bool *val)
2904 {
2905 if (obj == Py_True) {
2906 if (val) *val = true;
2907 return SWIG_OK;
2908 } else if (obj == Py_False) {
2909 if (val) *val = false;
2910 return SWIG_OK;
2911 } else {
2912 long v = 0;
2913 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2914 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2915 return res;
2916 }
2917 }
2918
2919
2920 #include "wx/treelistctrl.h"
2921 #include "wx/wxPython/pytree.h"
2922
2923
2924 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2925
2926 SWIGINTERNINLINE PyObject*
2927 SWIG_From_unsigned_SS_long (unsigned long value)
2928 {
2929 return (value > LONG_MAX) ?
2930 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2931 }
2932
2933
2934 SWIGINTERNINLINE PyObject *
2935 SWIG_From_size_t (size_t value)
2936 {
2937 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2938 }
2939
2940
2941 SWIGINTERN int
2942 SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2943 {
2944 long v = 0;
2945 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2946 return SWIG_TypeError;
2947 }
2948 else if (val)
2949 *val = (unsigned long)v;
2950 return SWIG_OK;
2951 }
2952
2953
2954 SWIGINTERNINLINE int
2955 SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2956 {
2957 unsigned long v;
2958 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2959 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2960 return res;
2961 }
2962
2963 // C++ version of Python aware control
2964 class wxPyTreeListCtrl : public wxTreeListCtrl {
2965 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2966 public:
2967 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2968 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2969 const wxPoint& pos,
2970 const wxSize& size,
2971 long style,
2972 const wxValidator &validator,
2973 const wxString& name) :
2974 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2975
2976 virtual int OnCompareItems(const wxTreeItemId& item1,
2977 const wxTreeItemId& item2) {
2978 int rval = 0;
2979 bool found;
2980 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2981 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2982 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2983 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2984 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2985 Py_DECREF(o1);
2986 Py_DECREF(o2);
2987 }
2988 wxPyEndBlockThreads(blocked);
2989 if (! found)
2990 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2991 return rval;
2992 }
2993
2994 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
2995 wxString rval;
2996 bool found;
2997 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2998 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
2999 PyObject* ro;
3000 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3001 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3002 Py_DECREF(itemo);
3003 if (ro) {
3004 rval = Py2wxString(ro);
3005 Py_DECREF(ro);
3006 }
3007 }
3008 wxPyEndBlockThreads(blocked);
3009 if (! found)
3010 rval = wxTreeListCtrl::OnGetItemText(item, column);
3011 return rval;
3012 }
3013
3014 PYPRIVATE;
3015 };
3016
3017 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3018
3019
3020
3021 SWIGINTERNINLINE PyObject *
3022 SWIG_From_unsigned_SS_int (unsigned int value)
3023 {
3024 return SWIG_From_unsigned_SS_long (value);
3025 }
3026
3027
3028 SWIGINTERN int
3029 SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3030 {
3031 unsigned long v;
3032 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3033 if (SWIG_IsOK(res)) {
3034 if ((v > UINT_MAX)) {
3035 return SWIG_OverflowError;
3036 } else {
3037 if (val) *val = static_cast< unsigned int >(v);
3038 }
3039 }
3040 return res;
3041 }
3042
3043 SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3044 if (column < 0) column = self->GetMainColumn();
3045 return self->GetItemText(item, column);
3046 }
3047 SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3048 if (column < 0) column = self->GetMainColumn();
3049 return self->GetItemImage(item, column, which);
3050 }
3051 SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3052 if (column < 0) column = self->GetMainColumn();
3053 self->SetItemText(item, column, text);
3054 }
3055 SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3056 if (column < 0) column = self->GetMainColumn();
3057 self->SetItemImage(item, column, image, which);
3058 }
3059 SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3060 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3061 if (data == NULL) {
3062 data = new wxPyTreeItemData();
3063 data->SetId(item); // set the id
3064 self->SetItemData(item, data);
3065 }
3066 return data;
3067 }
3068 SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3069 data->SetId(item); // set the id
3070 self->SetItemData(item, data);
3071 }
3072 SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3073 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3074 if (data == NULL) {
3075 data = new wxPyTreeItemData();
3076 data->SetId(item); // set the id
3077 self->SetItemData(item, data);
3078 }
3079 return data->GetData();
3080 }
3081 SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3082 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3083 if (data == NULL) {
3084 data = new wxPyTreeItemData(obj);
3085 data->SetId(item); // set the id
3086 self->SetItemData(item, data);
3087 } else
3088 data->SetData(obj);
3089 }
3090 SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3091 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3092 PyObject* rval = PyList_New(0);
3093 wxArrayTreeItemIds array;
3094 size_t num, x;
3095 num = self->GetSelections(array);
3096 for (x=0; x < num; x++) {
3097 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3098 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3099 PyList_Append(rval, item);
3100 Py_DECREF(item);
3101 }
3102 wxPyEndBlockThreads(blocked);
3103 return rval;
3104 }
3105 SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3106 void* cookie = 0;
3107 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3108 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3109 PyObject* tup = PyTuple_New(2);
3110 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3111 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3112 wxPyEndBlockThreads(blocked);
3113 return tup;
3114 }
3115 SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3116 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3117 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3118 PyObject* tup = PyTuple_New(2);
3119 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3120 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3121 wxPyEndBlockThreads(blocked);
3122 return tup;
3123 }
3124 SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3125 void* cookie = 0;
3126 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3127 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3128 PyObject* tup = PyTuple_New(2);
3129 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3130 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3131 wxPyEndBlockThreads(blocked);
3132 return tup;
3133 }
3134 SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3135 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 PyObject* tup = PyTuple_New(2);
3138 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3139 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3140 wxPyEndBlockThreads(blocked);
3141 return tup;
3142 }
3143 SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3144 wxRect rect;
3145 if (self->GetBoundingRect(item, rect, textOnly)) {
3146 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3147 wxRect* r = new wxRect(rect);
3148 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3149 wxPyEndBlockThreads(blocked);
3150 return val;
3151 }
3152 else {
3153 RETURN_NONE();
3154 }
3155 }
3156 SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3157 if (column < 0) column = self->GetMainColumn();
3158 self->EditLabel(item, column);
3159 }
3160
3161 #include <float.h>
3162
3163
3164 SWIGINTERN int
3165 SWIG_AsVal_double (PyObject *obj, double* val)
3166 {
3167 if (PyNumber_Check(obj)) {
3168 if (val) *val = PyFloat_AsDouble(obj);
3169 return SWIG_OK;
3170 }
3171 return SWIG_TypeError;
3172 }
3173
3174
3175 SWIGINTERN int
3176 SWIG_AsVal_float (PyObject * obj, float *val)
3177 {
3178 double v;
3179 int res = SWIG_AsVal_double (obj, &v);
3180 if (SWIG_IsOK(res)) {
3181 if ((v < -FLT_MAX || v > FLT_MAX)) {
3182 return SWIG_OverflowError;
3183 } else {
3184 if (val) *val = static_cast< float >(v);
3185 }
3186 }
3187 return res;
3188 }
3189
3190
3191 #define SWIG_From_double PyFloat_FromDouble
3192
3193
3194 SWIGINTERNINLINE PyObject *
3195 SWIG_From_float (float value)
3196 {
3197 return SWIG_From_double (value);
3198 }
3199
3200 #ifdef __cplusplus
3201 extern "C" {
3202 #endif
3203 SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3204 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3205 return 1;
3206 }
3207
3208
3209 SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3210 PyObject *pyobj = 0;
3211
3212 {
3213 #if wxUSE_UNICODE
3214 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3215 #else
3216 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3217 #endif
3218 }
3219 return pyobj;
3220 }
3221
3222
3223 SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3224 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3225 return 1;
3226 }
3227
3228
3229 SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3230 PyObject *pyobj = 0;
3231
3232 {
3233 #if wxUSE_UNICODE
3234 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3235 #else
3236 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3237 #endif
3238 }
3239 return pyobj;
3240 }
3241
3242
3243 SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3244 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3245 return 1;
3246 }
3247
3248
3249 SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3250 PyObject *pyobj = 0;
3251
3252 {
3253 #if wxUSE_UNICODE
3254 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3255 #else
3256 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3257 #endif
3258 }
3259 return pyobj;
3260 }
3261
3262
3263 SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj = 0;
3265 wxObject *arg1 = (wxObject *) 0 ;
3266 wxDynamicSashSplitEvent *result = 0 ;
3267 void *argp1 = 0 ;
3268 int res1 = 0 ;
3269 PyObject * obj0 = 0 ;
3270 char * kwnames[] = {
3271 (char *) "target", NULL
3272 };
3273
3274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3276 if (!SWIG_IsOK(res1)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3278 }
3279 arg1 = reinterpret_cast< wxObject * >(argp1);
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3287 return resultobj;
3288 fail:
3289 return NULL;
3290 }
3291
3292
3293 SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3294 PyObject *obj;
3295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3296 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3297 return SWIG_Py_Void();
3298 }
3299
3300 SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3301 return SWIG_Python_InitShadowInstance(args);
3302 }
3303
3304 SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj = 0;
3306 wxObject *arg1 = (wxObject *) 0 ;
3307 wxDynamicSashUnifyEvent *result = 0 ;
3308 void *argp1 = 0 ;
3309 int res1 = 0 ;
3310 PyObject * obj0 = 0 ;
3311 char * kwnames[] = {
3312 (char *) "target", NULL
3313 };
3314
3315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3317 if (!SWIG_IsOK(res1)) {
3318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3319 }
3320 arg1 = reinterpret_cast< wxObject * >(argp1);
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3328 return resultobj;
3329 fail:
3330 return NULL;
3331 }
3332
3333
3334 SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3335 PyObject *obj;
3336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3337 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3338 return SWIG_Py_Void();
3339 }
3340
3341 SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3342 return SWIG_Python_InitShadowInstance(args);
3343 }
3344
3345 SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj = 0;
3347 wxWindow *arg1 = (wxWindow *) 0 ;
3348 int arg2 = (int) -1 ;
3349 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3350 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3351 wxSize const &arg4_defvalue = wxDefaultSize ;
3352 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3353 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3354 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3355 wxString *arg6 = (wxString *) &arg6_defvalue ;
3356 wxDynamicSashWindow *result = 0 ;
3357 void *argp1 = 0 ;
3358 int res1 = 0 ;
3359 int val2 ;
3360 int ecode2 = 0 ;
3361 wxPoint temp3 ;
3362 wxSize temp4 ;
3363 long val5 ;
3364 int ecode5 = 0 ;
3365 bool temp6 = false ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 PyObject * obj4 = 0 ;
3371 PyObject * obj5 = 0 ;
3372 char * kwnames[] = {
3373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3374 };
3375
3376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3378 if (!SWIG_IsOK(res1)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3380 }
3381 arg1 = reinterpret_cast< wxWindow * >(argp1);
3382 if (obj1) {
3383 ecode2 = SWIG_AsVal_int(obj1, &val2);
3384 if (!SWIG_IsOK(ecode2)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3386 }
3387 arg2 = static_cast< int >(val2);
3388 }
3389 if (obj2) {
3390 {
3391 arg3 = &temp3;
3392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3393 }
3394 }
3395 if (obj3) {
3396 {
3397 arg4 = &temp4;
3398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3399 }
3400 }
3401 if (obj4) {
3402 ecode5 = SWIG_AsVal_long(obj4, &val5);
3403 if (!SWIG_IsOK(ecode5)) {
3404 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3405 }
3406 arg5 = static_cast< long >(val5);
3407 }
3408 if (obj5) {
3409 {
3410 arg6 = wxString_in_helper(obj5);
3411 if (arg6 == NULL) SWIG_fail;
3412 temp6 = true;
3413 }
3414 }
3415 {
3416 if (!wxPyCheckForApp()) SWIG_fail;
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3423 {
3424 if (temp6)
3425 delete arg6;
3426 }
3427 return resultobj;
3428 fail:
3429 {
3430 if (temp6)
3431 delete arg6;
3432 }
3433 return NULL;
3434 }
3435
3436
3437 SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3438 PyObject *resultobj = 0;
3439 wxDynamicSashWindow *result = 0 ;
3440
3441 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3442 {
3443 if (!wxPyCheckForApp()) SWIG_fail;
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3450 return resultobj;
3451 fail:
3452 return NULL;
3453 }
3454
3455
3456 SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj = 0;
3458 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3459 wxWindow *arg2 = (wxWindow *) 0 ;
3460 int arg3 = (int) -1 ;
3461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3463 wxSize const &arg5_defvalue = wxDefaultSize ;
3464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3465 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3466 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3467 wxString *arg7 = (wxString *) &arg7_defvalue ;
3468 bool result;
3469 void *argp1 = 0 ;
3470 int res1 = 0 ;
3471 void *argp2 = 0 ;
3472 int res2 = 0 ;
3473 int val3 ;
3474 int ecode3 = 0 ;
3475 wxPoint temp4 ;
3476 wxSize temp5 ;
3477 long val6 ;
3478 int ecode6 = 0 ;
3479 bool temp7 = false ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 PyObject * obj2 = 0 ;
3483 PyObject * obj3 = 0 ;
3484 PyObject * obj4 = 0 ;
3485 PyObject * obj5 = 0 ;
3486 PyObject * obj6 = 0 ;
3487 char * kwnames[] = {
3488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3489 };
3490
3491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3495 }
3496 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3498 if (!SWIG_IsOK(res2)) {
3499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3500 }
3501 arg2 = reinterpret_cast< wxWindow * >(argp2);
3502 if (obj2) {
3503 ecode3 = SWIG_AsVal_int(obj2, &val3);
3504 if (!SWIG_IsOK(ecode3)) {
3505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3506 }
3507 arg3 = static_cast< int >(val3);
3508 }
3509 if (obj3) {
3510 {
3511 arg4 = &temp4;
3512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3513 }
3514 }
3515 if (obj4) {
3516 {
3517 arg5 = &temp5;
3518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3519 }
3520 }
3521 if (obj5) {
3522 ecode6 = SWIG_AsVal_long(obj5, &val6);
3523 if (!SWIG_IsOK(ecode6)) {
3524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3525 }
3526 arg6 = static_cast< long >(val6);
3527 }
3528 if (obj6) {
3529 {
3530 arg7 = wxString_in_helper(obj6);
3531 if (arg7 == NULL) SWIG_fail;
3532 temp7 = true;
3533 }
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3543 }
3544 {
3545 if (temp7)
3546 delete arg7;
3547 }
3548 return resultobj;
3549 fail:
3550 {
3551 if (temp7)
3552 delete arg7;
3553 }
3554 return NULL;
3555 }
3556
3557
3558 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj = 0;
3560 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3561 wxWindow *arg2 = (wxWindow *) 0 ;
3562 wxScrollBar *result = 0 ;
3563 void *argp1 = 0 ;
3564 int res1 = 0 ;
3565 void *argp2 = 0 ;
3566 int res2 = 0 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char * kwnames[] = {
3570 (char *) "self",(char *) "child", NULL
3571 };
3572
3573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3575 if (!SWIG_IsOK(res1)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3577 }
3578 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3580 if (!SWIG_IsOK(res2)) {
3581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3582 }
3583 arg2 = reinterpret_cast< wxWindow * >(argp2);
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3591 return resultobj;
3592 fail:
3593 return NULL;
3594 }
3595
3596
3597 SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj = 0;
3599 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3600 wxWindow *arg2 = (wxWindow *) 0 ;
3601 wxScrollBar *result = 0 ;
3602 void *argp1 = 0 ;
3603 int res1 = 0 ;
3604 void *argp2 = 0 ;
3605 int res2 = 0 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char * kwnames[] = {
3609 (char *) "self",(char *) "child", NULL
3610 };
3611
3612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3614 if (!SWIG_IsOK(res1)) {
3615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3616 }
3617 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3619 if (!SWIG_IsOK(res2)) {
3620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3621 }
3622 arg2 = reinterpret_cast< wxWindow * >(argp2);
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3630 return resultobj;
3631 fail:
3632 return NULL;
3633 }
3634
3635
3636 SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3637 PyObject *obj;
3638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3640 return SWIG_Py_Void();
3641 }
3642
3643 SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3644 return SWIG_Python_InitShadowInstance(args);
3645 }
3646
3647 SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj = 0;
3649 wxWindow *arg1 = (wxWindow *) 0 ;
3650 int arg2 = (int) -1 ;
3651 wxString const &arg3_defvalue = wxPyEmptyString ;
3652 wxString *arg3 = (wxString *) &arg3_defvalue ;
3653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3655 wxSize const &arg5_defvalue = wxDefaultSize ;
3656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3657 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3658 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3659 wxString *arg7 = (wxString *) &arg7_defvalue ;
3660 wxEditableListBox *result = 0 ;
3661 void *argp1 = 0 ;
3662 int res1 = 0 ;
3663 int val2 ;
3664 int ecode2 = 0 ;
3665 bool temp3 = false ;
3666 wxPoint temp4 ;
3667 wxSize temp5 ;
3668 long val6 ;
3669 int ecode6 = 0 ;
3670 bool temp7 = false ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 PyObject * obj3 = 0 ;
3675 PyObject * obj4 = 0 ;
3676 PyObject * obj5 = 0 ;
3677 PyObject * obj6 = 0 ;
3678 char * kwnames[] = {
3679 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3680 };
3681
3682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3684 if (!SWIG_IsOK(res1)) {
3685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3686 }
3687 arg1 = reinterpret_cast< wxWindow * >(argp1);
3688 if (obj1) {
3689 ecode2 = SWIG_AsVal_int(obj1, &val2);
3690 if (!SWIG_IsOK(ecode2)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3692 }
3693 arg2 = static_cast< int >(val2);
3694 }
3695 if (obj2) {
3696 {
3697 arg3 = wxString_in_helper(obj2);
3698 if (arg3 == NULL) SWIG_fail;
3699 temp3 = true;
3700 }
3701 }
3702 if (obj3) {
3703 {
3704 arg4 = &temp4;
3705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3706 }
3707 }
3708 if (obj4) {
3709 {
3710 arg5 = &temp5;
3711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3712 }
3713 }
3714 if (obj5) {
3715 ecode6 = SWIG_AsVal_long(obj5, &val6);
3716 if (!SWIG_IsOK(ecode6)) {
3717 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3718 }
3719 arg6 = static_cast< long >(val6);
3720 }
3721 if (obj6) {
3722 {
3723 arg7 = wxString_in_helper(obj6);
3724 if (arg7 == NULL) SWIG_fail;
3725 temp7 = true;
3726 }
3727 }
3728 {
3729 if (!wxPyCheckForApp()) SWIG_fail;
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3736 {
3737 if (temp3)
3738 delete arg3;
3739 }
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745 fail:
3746 {
3747 if (temp3)
3748 delete arg3;
3749 }
3750 {
3751 if (temp7)
3752 delete arg7;
3753 }
3754 return NULL;
3755 }
3756
3757
3758 SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3761 wxArrayString *arg2 = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 bool temp2 = false ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "self",(char *) "strings", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3775 }
3776 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3777 {
3778 if (! PySequence_Check(obj1)) {
3779 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3780 SWIG_fail;
3781 }
3782 arg2 = new wxArrayString;
3783 temp2 = true;
3784 int i, len=PySequence_Length(obj1);
3785 for (i=0; i<len; i++) {
3786 PyObject* item = PySequence_GetItem(obj1, i);
3787 wxString* s = wxString_in_helper(item);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 arg2->Add(*s);
3790 delete s;
3791 Py_DECREF(item);
3792 }
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetStrings((wxArrayString const &)*arg2);
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 resultobj = SWIG_Py_Void();
3801 {
3802 if (temp2) delete arg2;
3803 }
3804 return resultobj;
3805 fail:
3806 {
3807 if (temp2) delete arg2;
3808 }
3809 return NULL;
3810 }
3811
3812
3813 SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3814 PyObject *resultobj = 0;
3815 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3816 PyObject *result = 0 ;
3817 void *argp1 = 0 ;
3818 int res1 = 0 ;
3819 PyObject *swig_obj[1] ;
3820
3821 if (!args) SWIG_fail;
3822 swig_obj[0] = args;
3823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3824 if (!SWIG_IsOK(res1)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3826 }
3827 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 resultobj = result;
3835 return resultobj;
3836 fail:
3837 return NULL;
3838 }
3839
3840
3841 SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3844 wxPyListCtrl *result = 0 ;
3845 void *argp1 = 0 ;
3846 int res1 = 0 ;
3847 PyObject *swig_obj[1] ;
3848
3849 if (!args) SWIG_fail;
3850 swig_obj[0] = args;
3851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3852 if (!SWIG_IsOK(res1)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3854 }
3855 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3863 return resultobj;
3864 fail:
3865 return NULL;
3866 }
3867
3868
3869 SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3870 PyObject *resultobj = 0;
3871 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3872 wxBitmapButton *result = 0 ;
3873 void *argp1 = 0 ;
3874 int res1 = 0 ;
3875 PyObject *swig_obj[1] ;
3876
3877 if (!args) SWIG_fail;
3878 swig_obj[0] = args;
3879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3880 if (!SWIG_IsOK(res1)) {
3881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3882 }
3883 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3884 {
3885 PyThreadState* __tstate = wxPyBeginAllowThreads();
3886 result = (wxBitmapButton *)(arg1)->GetDelButton();
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 {
3891 resultobj = wxPyMake_wxObject(result, 0);
3892 }
3893 return resultobj;
3894 fail:
3895 return NULL;
3896 }
3897
3898
3899 SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3900 PyObject *resultobj = 0;
3901 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3902 wxBitmapButton *result = 0 ;
3903 void *argp1 = 0 ;
3904 int res1 = 0 ;
3905 PyObject *swig_obj[1] ;
3906
3907 if (!args) SWIG_fail;
3908 swig_obj[0] = args;
3909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3910 if (!SWIG_IsOK(res1)) {
3911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3912 }
3913 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3914 {
3915 PyThreadState* __tstate = wxPyBeginAllowThreads();
3916 result = (wxBitmapButton *)(arg1)->GetNewButton();
3917 wxPyEndAllowThreads(__tstate);
3918 if (PyErr_Occurred()) SWIG_fail;
3919 }
3920 {
3921 resultobj = wxPyMake_wxObject(result, 0);
3922 }
3923 return resultobj;
3924 fail:
3925 return NULL;
3926 }
3927
3928
3929 SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3930 PyObject *resultobj = 0;
3931 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3932 wxBitmapButton *result = 0 ;
3933 void *argp1 = 0 ;
3934 int res1 = 0 ;
3935 PyObject *swig_obj[1] ;
3936
3937 if (!args) SWIG_fail;
3938 swig_obj[0] = args;
3939 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3940 if (!SWIG_IsOK(res1)) {
3941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3942 }
3943 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3944 {
3945 PyThreadState* __tstate = wxPyBeginAllowThreads();
3946 result = (wxBitmapButton *)(arg1)->GetUpButton();
3947 wxPyEndAllowThreads(__tstate);
3948 if (PyErr_Occurred()) SWIG_fail;
3949 }
3950 {
3951 resultobj = wxPyMake_wxObject(result, 0);
3952 }
3953 return resultobj;
3954 fail:
3955 return NULL;
3956 }
3957
3958
3959 SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3960 PyObject *resultobj = 0;
3961 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3962 wxBitmapButton *result = 0 ;
3963 void *argp1 = 0 ;
3964 int res1 = 0 ;
3965 PyObject *swig_obj[1] ;
3966
3967 if (!args) SWIG_fail;
3968 swig_obj[0] = args;
3969 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3970 if (!SWIG_IsOK(res1)) {
3971 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3972 }
3973 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3974 {
3975 PyThreadState* __tstate = wxPyBeginAllowThreads();
3976 result = (wxBitmapButton *)(arg1)->GetDownButton();
3977 wxPyEndAllowThreads(__tstate);
3978 if (PyErr_Occurred()) SWIG_fail;
3979 }
3980 {
3981 resultobj = wxPyMake_wxObject(result, 0);
3982 }
3983 return resultobj;
3984 fail:
3985 return NULL;
3986 }
3987
3988
3989 SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3990 PyObject *resultobj = 0;
3991 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3992 wxBitmapButton *result = 0 ;
3993 void *argp1 = 0 ;
3994 int res1 = 0 ;
3995 PyObject *swig_obj[1] ;
3996
3997 if (!args) SWIG_fail;
3998 swig_obj[0] = args;
3999 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4000 if (!SWIG_IsOK(res1)) {
4001 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4002 }
4003 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4004 {
4005 PyThreadState* __tstate = wxPyBeginAllowThreads();
4006 result = (wxBitmapButton *)(arg1)->GetEditButton();
4007 wxPyEndAllowThreads(__tstate);
4008 if (PyErr_Occurred()) SWIG_fail;
4009 }
4010 {
4011 resultobj = wxPyMake_wxObject(result, 0);
4012 }
4013 return resultobj;
4014 fail:
4015 return NULL;
4016 }
4017
4018
4019 SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4020 PyObject *obj;
4021 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4022 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4023 return SWIG_Py_Void();
4024 }
4025
4026 SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4027 return SWIG_Python_InitShadowInstance(args);
4028 }
4029
4030 SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4031 PyObject *resultobj = 0;
4032 wxWindow *arg1 = (wxWindow *) 0 ;
4033 int arg2 ;
4034 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4035 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4036 wxSize const &arg4_defvalue = wxDefaultSize ;
4037 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4038 long arg5 = (long) wxTR_HAS_BUTTONS ;
4039 wxRemotelyScrolledTreeCtrl *result = 0 ;
4040 void *argp1 = 0 ;
4041 int res1 = 0 ;
4042 int val2 ;
4043 int ecode2 = 0 ;
4044 wxPoint temp3 ;
4045 wxSize temp4 ;
4046 long val5 ;
4047 int ecode5 = 0 ;
4048 PyObject * obj0 = 0 ;
4049 PyObject * obj1 = 0 ;
4050 PyObject * obj2 = 0 ;
4051 PyObject * obj3 = 0 ;
4052 PyObject * obj4 = 0 ;
4053 char * kwnames[] = {
4054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4055 };
4056
4057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4059 if (!SWIG_IsOK(res1)) {
4060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4061 }
4062 arg1 = reinterpret_cast< wxWindow * >(argp1);
4063 ecode2 = SWIG_AsVal_int(obj1, &val2);
4064 if (!SWIG_IsOK(ecode2)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4066 }
4067 arg2 = static_cast< int >(val2);
4068 if (obj2) {
4069 {
4070 arg3 = &temp3;
4071 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4072 }
4073 }
4074 if (obj3) {
4075 {
4076 arg4 = &temp4;
4077 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4078 }
4079 }
4080 if (obj4) {
4081 ecode5 = SWIG_AsVal_long(obj4, &val5);
4082 if (!SWIG_IsOK(ecode5)) {
4083 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4084 }
4085 arg5 = static_cast< long >(val5);
4086 }
4087 {
4088 if (!wxPyCheckForApp()) SWIG_fail;
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4095 return resultobj;
4096 fail:
4097 return NULL;
4098 }
4099
4100
4101 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102 PyObject *resultobj = 0;
4103 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4104 void *argp1 = 0 ;
4105 int res1 = 0 ;
4106 PyObject *swig_obj[1] ;
4107
4108 if (!args) SWIG_fail;
4109 swig_obj[0] = args;
4110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4113 }
4114 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->HideVScrollbar();
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_Py_Void();
4122 return resultobj;
4123 fail:
4124 return NULL;
4125 }
4126
4127
4128 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4131 void *argp1 = 0 ;
4132 int res1 = 0 ;
4133 PyObject *swig_obj[1] ;
4134
4135 if (!args) SWIG_fail;
4136 swig_obj[0] = args;
4137 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4138 if (!SWIG_IsOK(res1)) {
4139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4140 }
4141 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4142 {
4143 PyThreadState* __tstate = wxPyBeginAllowThreads();
4144 (arg1)->AdjustRemoteScrollbars();
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_Py_Void();
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4156 PyObject *resultobj = 0;
4157 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4158 wxScrolledWindow *result = 0 ;
4159 void *argp1 = 0 ;
4160 int res1 = 0 ;
4161 PyObject *swig_obj[1] ;
4162
4163 if (!args) SWIG_fail;
4164 swig_obj[0] = args;
4165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4166 if (!SWIG_IsOK(res1)) {
4167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4168 }
4169 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4170 {
4171 PyThreadState* __tstate = wxPyBeginAllowThreads();
4172 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4173 wxPyEndAllowThreads(__tstate);
4174 if (PyErr_Occurred()) SWIG_fail;
4175 }
4176 {
4177 resultobj = wxPyMake_wxObject(result, 0);
4178 }
4179 return resultobj;
4180 fail:
4181 return NULL;
4182 }
4183
4184
4185 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4186 PyObject *resultobj = 0;
4187 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4188 int arg2 ;
4189 int arg3 ;
4190 void *argp1 = 0 ;
4191 int res1 = 0 ;
4192 int val2 ;
4193 int ecode2 = 0 ;
4194 int val3 ;
4195 int ecode3 = 0 ;
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj1 = 0 ;
4198 PyObject * obj2 = 0 ;
4199 char * kwnames[] = {
4200 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4201 };
4202
4203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4205 if (!SWIG_IsOK(res1)) {
4206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4207 }
4208 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4209 ecode2 = SWIG_AsVal_int(obj1, &val2);
4210 if (!SWIG_IsOK(ecode2)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4212 }
4213 arg2 = static_cast< int >(val2);
4214 ecode3 = SWIG_AsVal_int(obj2, &val3);
4215 if (!SWIG_IsOK(ecode3)) {
4216 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4217 }
4218 arg3 = static_cast< int >(val3);
4219 {
4220 PyThreadState* __tstate = wxPyBeginAllowThreads();
4221 (arg1)->ScrollToLine(arg2,arg3);
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 resultobj = SWIG_Py_Void();
4226 return resultobj;
4227 fail:
4228 return NULL;
4229 }
4230
4231
4232 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj = 0;
4234 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4235 wxWindow *arg2 = (wxWindow *) 0 ;
4236 void *argp1 = 0 ;
4237 int res1 = 0 ;
4238 void *argp2 = 0 ;
4239 int res2 = 0 ;
4240 PyObject * obj0 = 0 ;
4241 PyObject * obj1 = 0 ;
4242 char * kwnames[] = {
4243 (char *) "self",(char *) "companion", NULL
4244 };
4245
4246 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4247 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4248 if (!SWIG_IsOK(res1)) {
4249 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4250 }
4251 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4252 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4253 if (!SWIG_IsOK(res2)) {
4254 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4255 }
4256 arg2 = reinterpret_cast< wxWindow * >(argp2);
4257 {
4258 PyThreadState* __tstate = wxPyBeginAllowThreads();
4259 (arg1)->SetCompanionWindow(arg2);
4260 wxPyEndAllowThreads(__tstate);
4261 if (PyErr_Occurred()) SWIG_fail;
4262 }
4263 resultobj = SWIG_Py_Void();
4264 return resultobj;
4265 fail:
4266 return NULL;
4267 }
4268
4269
4270 SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4271 PyObject *resultobj = 0;
4272 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4273 wxWindow *result = 0 ;
4274 void *argp1 = 0 ;
4275 int res1 = 0 ;
4276 PyObject *swig_obj[1] ;
4277
4278 if (!args) SWIG_fail;
4279 swig_obj[0] = args;
4280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4281 if (!SWIG_IsOK(res1)) {
4282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4283 }
4284 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4285 {
4286 PyThreadState* __tstate = wxPyBeginAllowThreads();
4287 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4288 wxPyEndAllowThreads(__tstate);
4289 if (PyErr_Occurred()) SWIG_fail;
4290 }
4291 {
4292 resultobj = wxPyMake_wxObject(result, 0);
4293 }
4294 return resultobj;
4295 fail:
4296 return NULL;
4297 }
4298
4299
4300 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4301 PyObject *obj;
4302 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4303 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4304 return SWIG_Py_Void();
4305 }
4306
4307 SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4308 return SWIG_Python_InitShadowInstance(args);
4309 }
4310
4311 SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4312 PyObject *resultobj = 0;
4313 wxWindow *arg1 = (wxWindow *) 0 ;
4314 int arg2 = (int) -1 ;
4315 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4316 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4317 wxSize const &arg4_defvalue = wxDefaultSize ;
4318 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4319 long arg5 = (long) 0 ;
4320 wxPyTreeCompanionWindow *result = 0 ;
4321 void *argp1 = 0 ;
4322 int res1 = 0 ;
4323 int val2 ;
4324 int ecode2 = 0 ;
4325 wxPoint temp3 ;
4326 wxSize temp4 ;
4327 long val5 ;
4328 int ecode5 = 0 ;
4329 PyObject * obj0 = 0 ;
4330 PyObject * obj1 = 0 ;
4331 PyObject * obj2 = 0 ;
4332 PyObject * obj3 = 0 ;
4333 PyObject * obj4 = 0 ;
4334 char * kwnames[] = {
4335 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4336 };
4337
4338 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4339 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4340 if (!SWIG_IsOK(res1)) {
4341 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4342 }
4343 arg1 = reinterpret_cast< wxWindow * >(argp1);
4344 if (obj1) {
4345 ecode2 = SWIG_AsVal_int(obj1, &val2);
4346 if (!SWIG_IsOK(ecode2)) {
4347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4348 }
4349 arg2 = static_cast< int >(val2);
4350 }
4351 if (obj2) {
4352 {
4353 arg3 = &temp3;
4354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4355 }
4356 }
4357 if (obj3) {
4358 {
4359 arg4 = &temp4;
4360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4361 }
4362 }
4363 if (obj4) {
4364 ecode5 = SWIG_AsVal_long(obj4, &val5);
4365 if (!SWIG_IsOK(ecode5)) {
4366 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4367 }
4368 arg5 = static_cast< long >(val5);
4369 }
4370 {
4371 if (!wxPyCheckForApp()) SWIG_fail;
4372 PyThreadState* __tstate = wxPyBeginAllowThreads();
4373 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4377 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4378 return resultobj;
4379 fail:
4380 return NULL;
4381 }
4382
4383
4384 SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj = 0;
4386 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4387 PyObject *arg2 = (PyObject *) 0 ;
4388 PyObject *arg3 = (PyObject *) 0 ;
4389 void *argp1 = 0 ;
4390 int res1 = 0 ;
4391 PyObject * obj0 = 0 ;
4392 PyObject * obj1 = 0 ;
4393 PyObject * obj2 = 0 ;
4394 char * kwnames[] = {
4395 (char *) "self",(char *) "self",(char *) "_class", NULL
4396 };
4397
4398 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4399 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4400 if (!SWIG_IsOK(res1)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4402 }
4403 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4404 arg2 = obj1;
4405 arg3 = obj2;
4406 {
4407 PyThreadState* __tstate = wxPyBeginAllowThreads();
4408 (arg1)->_setCallbackInfo(arg2,arg3);
4409 wxPyEndAllowThreads(__tstate);
4410 if (PyErr_Occurred()) SWIG_fail;
4411 }
4412 resultobj = SWIG_Py_Void();
4413 return resultobj;
4414 fail:
4415 return NULL;
4416 }
4417
4418
4419 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4420 PyObject *resultobj = 0;
4421 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4422 wxRemotelyScrolledTreeCtrl *result = 0 ;
4423 void *argp1 = 0 ;
4424 int res1 = 0 ;
4425 PyObject *swig_obj[1] ;
4426
4427 if (!args) SWIG_fail;
4428 swig_obj[0] = args;
4429 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4430 if (!SWIG_IsOK(res1)) {
4431 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4432 }
4433 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4437 wxPyEndAllowThreads(__tstate);
4438 if (PyErr_Occurred()) SWIG_fail;
4439 }
4440 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4441 return resultobj;
4442 fail:
4443 return NULL;
4444 }
4445
4446
4447 SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4448 PyObject *resultobj = 0;
4449 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4450 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4451 void *argp1 = 0 ;
4452 int res1 = 0 ;
4453 void *argp2 = 0 ;
4454 int res2 = 0 ;
4455 PyObject * obj0 = 0 ;
4456 PyObject * obj1 = 0 ;
4457 char * kwnames[] = {
4458 (char *) "self",(char *) "treeCtrl", NULL
4459 };
4460
4461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4463 if (!SWIG_IsOK(res1)) {
4464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4465 }
4466 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4467 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4468 if (!SWIG_IsOK(res2)) {
4469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4470 }
4471 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 (arg1)->SetTreeCtrl(arg2);
4475 wxPyEndAllowThreads(__tstate);
4476 if (PyErr_Occurred()) SWIG_fail;
4477 }
4478 resultobj = SWIG_Py_Void();
4479 return resultobj;
4480 fail:
4481 return NULL;
4482 }
4483
4484
4485 SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4486 PyObject *obj;
4487 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4488 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4489 return SWIG_Py_Void();
4490 }
4491
4492 SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4493 return SWIG_Python_InitShadowInstance(args);
4494 }
4495
4496 SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4497 PyObject *resultobj = 0;
4498 wxWindow *arg1 = (wxWindow *) 0 ;
4499 int arg2 = (int) -1 ;
4500 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4501 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4502 wxSize const &arg4_defvalue = wxDefaultSize ;
4503 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4504 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4505 wxThinSplitterWindow *result = 0 ;
4506 void *argp1 = 0 ;
4507 int res1 = 0 ;
4508 int val2 ;
4509 int ecode2 = 0 ;
4510 wxPoint temp3 ;
4511 wxSize temp4 ;
4512 long val5 ;
4513 int ecode5 = 0 ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 PyObject * obj2 = 0 ;
4517 PyObject * obj3 = 0 ;
4518 PyObject * obj4 = 0 ;
4519 char * kwnames[] = {
4520 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4521 };
4522
4523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4525 if (!SWIG_IsOK(res1)) {
4526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4527 }
4528 arg1 = reinterpret_cast< wxWindow * >(argp1);
4529 if (obj1) {
4530 ecode2 = SWIG_AsVal_int(obj1, &val2);
4531 if (!SWIG_IsOK(ecode2)) {
4532 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4533 }
4534 arg2 = static_cast< int >(val2);
4535 }
4536 if (obj2) {
4537 {
4538 arg3 = &temp3;
4539 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4540 }
4541 }
4542 if (obj3) {
4543 {
4544 arg4 = &temp4;
4545 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4546 }
4547 }
4548 if (obj4) {
4549 ecode5 = SWIG_AsVal_long(obj4, &val5);
4550 if (!SWIG_IsOK(ecode5)) {
4551 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4552 }
4553 arg5 = static_cast< long >(val5);
4554 }
4555 {
4556 if (!wxPyCheckForApp()) SWIG_fail;
4557 PyThreadState* __tstate = wxPyBeginAllowThreads();
4558 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4559 wxPyEndAllowThreads(__tstate);
4560 if (PyErr_Occurred()) SWIG_fail;
4561 }
4562 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4563 return resultobj;
4564 fail:
4565 return NULL;
4566 }
4567
4568
4569 SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4570 PyObject *obj;
4571 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4572 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4573 return SWIG_Py_Void();
4574 }
4575
4576 SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4577 return SWIG_Python_InitShadowInstance(args);
4578 }
4579
4580 SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4581 PyObject *resultobj = 0;
4582 wxWindow *arg1 = (wxWindow *) 0 ;
4583 int arg2 = (int) -1 ;
4584 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4585 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4586 wxSize const &arg4_defvalue = wxDefaultSize ;
4587 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4588 long arg5 = (long) 0 ;
4589 wxSplitterScrolledWindow *result = 0 ;
4590 void *argp1 = 0 ;
4591 int res1 = 0 ;
4592 int val2 ;
4593 int ecode2 = 0 ;
4594 wxPoint temp3 ;
4595 wxSize temp4 ;
4596 long val5 ;
4597 int ecode5 = 0 ;
4598 PyObject * obj0 = 0 ;
4599 PyObject * obj1 = 0 ;
4600 PyObject * obj2 = 0 ;
4601 PyObject * obj3 = 0 ;
4602 PyObject * obj4 = 0 ;
4603 char * kwnames[] = {
4604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4605 };
4606
4607 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4608 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4609 if (!SWIG_IsOK(res1)) {
4610 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4611 }
4612 arg1 = reinterpret_cast< wxWindow * >(argp1);
4613 if (obj1) {
4614 ecode2 = SWIG_AsVal_int(obj1, &val2);
4615 if (!SWIG_IsOK(ecode2)) {
4616 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4617 }
4618 arg2 = static_cast< int >(val2);
4619 }
4620 if (obj2) {
4621 {
4622 arg3 = &temp3;
4623 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4624 }
4625 }
4626 if (obj3) {
4627 {
4628 arg4 = &temp4;
4629 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4630 }
4631 }
4632 if (obj4) {
4633 ecode5 = SWIG_AsVal_long(obj4, &val5);
4634 if (!SWIG_IsOK(ecode5)) {
4635 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4636 }
4637 arg5 = static_cast< long >(val5);
4638 }
4639 {
4640 if (!wxPyCheckForApp()) SWIG_fail;
4641 PyThreadState* __tstate = wxPyBeginAllowThreads();
4642 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4643 wxPyEndAllowThreads(__tstate);
4644 if (PyErr_Occurred()) SWIG_fail;
4645 }
4646 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4647 return resultobj;
4648 fail:
4649 return NULL;
4650 }
4651
4652
4653 SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4654 PyObject *obj;
4655 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4656 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4657 return SWIG_Py_Void();
4658 }
4659
4660 SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4661 return SWIG_Python_InitShadowInstance(args);
4662 }
4663
4664 SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4665 PyObject *resultobj = 0;
4666 wxWindow *arg1 = (wxWindow *) 0 ;
4667 int arg2 = (int) -1 ;
4668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4670 wxSize const &arg4_defvalue = wxDefaultSize ;
4671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4672 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4673 wxLEDNumberCtrl *result = 0 ;
4674 void *argp1 = 0 ;
4675 int res1 = 0 ;
4676 int val2 ;
4677 int ecode2 = 0 ;
4678 wxPoint temp3 ;
4679 wxSize temp4 ;
4680 long val5 ;
4681 int ecode5 = 0 ;
4682 PyObject * obj0 = 0 ;
4683 PyObject * obj1 = 0 ;
4684 PyObject * obj2 = 0 ;
4685 PyObject * obj3 = 0 ;
4686 PyObject * obj4 = 0 ;
4687 char * kwnames[] = {
4688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4689 };
4690
4691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4693 if (!SWIG_IsOK(res1)) {
4694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4695 }
4696 arg1 = reinterpret_cast< wxWindow * >(argp1);
4697 if (obj1) {
4698 ecode2 = SWIG_AsVal_int(obj1, &val2);
4699 if (!SWIG_IsOK(ecode2)) {
4700 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4701 }
4702 arg2 = static_cast< int >(val2);
4703 }
4704 if (obj2) {
4705 {
4706 arg3 = &temp3;
4707 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4708 }
4709 }
4710 if (obj3) {
4711 {
4712 arg4 = &temp4;
4713 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4714 }
4715 }
4716 if (obj4) {
4717 ecode5 = SWIG_AsVal_long(obj4, &val5);
4718 if (!SWIG_IsOK(ecode5)) {
4719 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4720 }
4721 arg5 = static_cast< long >(val5);
4722 }
4723 {
4724 if (!wxPyCheckForApp()) SWIG_fail;
4725 PyThreadState* __tstate = wxPyBeginAllowThreads();
4726 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4727 wxPyEndAllowThreads(__tstate);
4728 if (PyErr_Occurred()) SWIG_fail;
4729 }
4730 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4731 return resultobj;
4732 fail:
4733 return NULL;
4734 }
4735
4736
4737 SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4738 PyObject *resultobj = 0;
4739 wxLEDNumberCtrl *result = 0 ;
4740
4741 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4742 {
4743 if (!wxPyCheckForApp()) SWIG_fail;
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj = 0;
4758 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4759 wxWindow *arg2 = (wxWindow *) 0 ;
4760 int arg3 = (int) -1 ;
4761 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4762 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4763 wxSize const &arg5_defvalue = wxDefaultSize ;
4764 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4765 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4766 bool result;
4767 void *argp1 = 0 ;
4768 int res1 = 0 ;
4769 void *argp2 = 0 ;
4770 int res2 = 0 ;
4771 int val3 ;
4772 int ecode3 = 0 ;
4773 wxPoint temp4 ;
4774 wxSize temp5 ;
4775 long val6 ;
4776 int ecode6 = 0 ;
4777 PyObject * obj0 = 0 ;
4778 PyObject * obj1 = 0 ;
4779 PyObject * obj2 = 0 ;
4780 PyObject * obj3 = 0 ;
4781 PyObject * obj4 = 0 ;
4782 PyObject * obj5 = 0 ;
4783 char * kwnames[] = {
4784 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4785 };
4786
4787 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4788 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4789 if (!SWIG_IsOK(res1)) {
4790 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4791 }
4792 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4793 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4794 if (!SWIG_IsOK(res2)) {
4795 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4796 }
4797 arg2 = reinterpret_cast< wxWindow * >(argp2);
4798 if (obj2) {
4799 ecode3 = SWIG_AsVal_int(obj2, &val3);
4800 if (!SWIG_IsOK(ecode3)) {
4801 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4802 }
4803 arg3 = static_cast< int >(val3);
4804 }
4805 if (obj3) {
4806 {
4807 arg4 = &temp4;
4808 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4809 }
4810 }
4811 if (obj4) {
4812 {
4813 arg5 = &temp5;
4814 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4815 }
4816 }
4817 if (obj5) {
4818 ecode6 = SWIG_AsVal_long(obj5, &val6);
4819 if (!SWIG_IsOK(ecode6)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4821 }
4822 arg6 = static_cast< long >(val6);
4823 }
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4827 wxPyEndAllowThreads(__tstate);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 {
4831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4832 }
4833 return resultobj;
4834 fail:
4835 return NULL;
4836 }
4837
4838
4839 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4840 PyObject *resultobj = 0;
4841 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4842 wxLEDValueAlign result;
4843 void *argp1 = 0 ;
4844 int res1 = 0 ;
4845 PyObject *swig_obj[1] ;
4846
4847 if (!args) SWIG_fail;
4848 swig_obj[0] = args;
4849 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4850 if (!SWIG_IsOK(res1)) {
4851 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4852 }
4853 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4854 {
4855 PyThreadState* __tstate = wxPyBeginAllowThreads();
4856 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4857 wxPyEndAllowThreads(__tstate);
4858 if (PyErr_Occurred()) SWIG_fail;
4859 }
4860 resultobj = SWIG_From_int(static_cast< int >(result));
4861 return resultobj;
4862 fail:
4863 return NULL;
4864 }
4865
4866
4867 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4868 PyObject *resultobj = 0;
4869 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4870 bool result;
4871 void *argp1 = 0 ;
4872 int res1 = 0 ;
4873 PyObject *swig_obj[1] ;
4874
4875 if (!args) SWIG_fail;
4876 swig_obj[0] = args;
4877 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4878 if (!SWIG_IsOK(res1)) {
4879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4880 }
4881 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4882 {
4883 PyThreadState* __tstate = wxPyBeginAllowThreads();
4884 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4885 wxPyEndAllowThreads(__tstate);
4886 if (PyErr_Occurred()) SWIG_fail;
4887 }
4888 {
4889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4890 }
4891 return resultobj;
4892 fail:
4893 return NULL;
4894 }
4895
4896
4897 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4898 PyObject *resultobj = 0;
4899 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4900 wxString *result = 0 ;
4901 void *argp1 = 0 ;
4902 int res1 = 0 ;
4903 PyObject *swig_obj[1] ;
4904
4905 if (!args) SWIG_fail;
4906 swig_obj[0] = args;
4907 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4908 if (!SWIG_IsOK(res1)) {
4909 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4910 }
4911 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4912 {
4913 PyThreadState* __tstate = wxPyBeginAllowThreads();
4914 {
4915 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4916 result = (wxString *) &_result_ref;
4917 }
4918 wxPyEndAllowThreads(__tstate);
4919 if (PyErr_Occurred()) SWIG_fail;
4920 }
4921 {
4922 #if wxUSE_UNICODE
4923 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4924 #else
4925 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4926 #endif
4927 }
4928 return resultobj;
4929 fail:
4930 return NULL;
4931 }
4932
4933
4934 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4935 PyObject *resultobj = 0;
4936 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4937 wxLEDValueAlign arg2 ;
4938 bool arg3 = (bool) true ;
4939 void *argp1 = 0 ;
4940 int res1 = 0 ;
4941 int val2 ;
4942 int ecode2 = 0 ;
4943 bool val3 ;
4944 int ecode3 = 0 ;
4945 PyObject * obj0 = 0 ;
4946 PyObject * obj1 = 0 ;
4947 PyObject * obj2 = 0 ;
4948 char * kwnames[] = {
4949 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4950 };
4951
4952 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4953 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4954 if (!SWIG_IsOK(res1)) {
4955 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4956 }
4957 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4958 ecode2 = SWIG_AsVal_int(obj1, &val2);
4959 if (!SWIG_IsOK(ecode2)) {
4960 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4961 }
4962 arg2 = static_cast< wxLEDValueAlign >(val2);
4963 if (obj2) {
4964 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4965 if (!SWIG_IsOK(ecode3)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4967 }
4968 arg3 = static_cast< bool >(val3);
4969 }
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 (arg1)->SetAlignment(arg2,arg3);
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 resultobj = SWIG_Py_Void();
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4984 PyObject *resultobj = 0;
4985 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4986 bool arg2 ;
4987 bool arg3 = (bool) true ;
4988 void *argp1 = 0 ;
4989 int res1 = 0 ;
4990 bool val2 ;
4991 int ecode2 = 0 ;
4992 bool val3 ;
4993 int ecode3 = 0 ;
4994 PyObject * obj0 = 0 ;
4995 PyObject * obj1 = 0 ;
4996 PyObject * obj2 = 0 ;
4997 char * kwnames[] = {
4998 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4999 };
5000
5001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5003 if (!SWIG_IsOK(res1)) {
5004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5005 }
5006 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5007 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5008 if (!SWIG_IsOK(ecode2)) {
5009 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5010 }
5011 arg2 = static_cast< bool >(val2);
5012 if (obj2) {
5013 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5014 if (!SWIG_IsOK(ecode3)) {
5015 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5016 }
5017 arg3 = static_cast< bool >(val3);
5018 }
5019 {
5020 PyThreadState* __tstate = wxPyBeginAllowThreads();
5021 (arg1)->SetDrawFaded(arg2,arg3);
5022 wxPyEndAllowThreads(__tstate);
5023 if (PyErr_Occurred()) SWIG_fail;
5024 }
5025 resultobj = SWIG_Py_Void();
5026 return resultobj;
5027 fail:
5028 return NULL;
5029 }
5030
5031
5032 SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5033 PyObject *resultobj = 0;
5034 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5035 wxString *arg2 = 0 ;
5036 bool arg3 = (bool) true ;
5037 void *argp1 = 0 ;
5038 int res1 = 0 ;
5039 bool temp2 = false ;
5040 bool val3 ;
5041 int ecode3 = 0 ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 PyObject * obj2 = 0 ;
5045 char * kwnames[] = {
5046 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5047 };
5048
5049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5051 if (!SWIG_IsOK(res1)) {
5052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5053 }
5054 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5055 {
5056 arg2 = wxString_in_helper(obj1);
5057 if (arg2 == NULL) SWIG_fail;
5058 temp2 = true;
5059 }
5060 if (obj2) {
5061 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5062 if (!SWIG_IsOK(ecode3)) {
5063 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5064 }
5065 arg3 = static_cast< bool >(val3);
5066 }
5067 {
5068 PyThreadState* __tstate = wxPyBeginAllowThreads();
5069 (arg1)->SetValue((wxString const &)*arg2,arg3);
5070 wxPyEndAllowThreads(__tstate);
5071 if (PyErr_Occurred()) SWIG_fail;
5072 }
5073 resultobj = SWIG_Py_Void();
5074 {
5075 if (temp2)
5076 delete arg2;
5077 }
5078 return resultobj;
5079 fail:
5080 {
5081 if (temp2)
5082 delete arg2;
5083 }
5084 return NULL;
5085 }
5086
5087
5088 SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5089 PyObject *obj;
5090 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5091 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5092 return SWIG_Py_Void();
5093 }
5094
5095 SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5096 return SWIG_Python_InitShadowInstance(args);
5097 }
5098
5099 SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5100 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5101 return 1;
5102 }
5103
5104
5105 SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5106 PyObject *pyobj = 0;
5107
5108 {
5109 #if wxUSE_UNICODE
5110 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5111 #else
5112 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5113 #endif
5114 }
5115 return pyobj;
5116 }
5117
5118
5119 SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5120 PyObject *resultobj = 0;
5121 wxString const &arg1_defvalue = wxPyEmptyString ;
5122 wxString *arg1 = (wxString *) &arg1_defvalue ;
5123 int arg2 = (int) DEFAULT_COL_WIDTH ;
5124 int arg3 = (int) wxALIGN_LEFT ;
5125 int arg4 = (int) -1 ;
5126 bool arg5 = (bool) true ;
5127 bool arg6 = (bool) false ;
5128 wxTreeListColumnInfo *result = 0 ;
5129 bool temp1 = false ;
5130 int val2 ;
5131 int ecode2 = 0 ;
5132 int val3 ;
5133 int ecode3 = 0 ;
5134 int val4 ;
5135 int ecode4 = 0 ;
5136 bool val5 ;
5137 int ecode5 = 0 ;
5138 bool val6 ;
5139 int ecode6 = 0 ;
5140 PyObject * obj0 = 0 ;
5141 PyObject * obj1 = 0 ;
5142 PyObject * obj2 = 0 ;
5143 PyObject * obj3 = 0 ;
5144 PyObject * obj4 = 0 ;
5145 PyObject * obj5 = 0 ;
5146 char * kwnames[] = {
5147 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5148 };
5149
5150 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
5151 if (obj0) {
5152 {
5153 arg1 = wxString_in_helper(obj0);
5154 if (arg1 == NULL) SWIG_fail;
5155 temp1 = true;
5156 }
5157 }
5158 if (obj1) {
5159 ecode2 = SWIG_AsVal_int(obj1, &val2);
5160 if (!SWIG_IsOK(ecode2)) {
5161 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5162 }
5163 arg2 = static_cast< int >(val2);
5164 }
5165 if (obj2) {
5166 ecode3 = SWIG_AsVal_int(obj2, &val3);
5167 if (!SWIG_IsOK(ecode3)) {
5168 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5169 }
5170 arg3 = static_cast< int >(val3);
5171 }
5172 if (obj3) {
5173 ecode4 = SWIG_AsVal_int(obj3, &val4);
5174 if (!SWIG_IsOK(ecode4)) {
5175 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5176 }
5177 arg4 = static_cast< int >(val4);
5178 }
5179 if (obj4) {
5180 ecode5 = SWIG_AsVal_bool(obj4, &val5);
5181 if (!SWIG_IsOK(ecode5)) {
5182 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5183 }
5184 arg5 = static_cast< bool >(val5);
5185 }
5186 if (obj5) {
5187 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5188 if (!SWIG_IsOK(ecode6)) {
5189 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5190 }
5191 arg6 = static_cast< bool >(val6);
5192 }
5193 {
5194 PyThreadState* __tstate = wxPyBeginAllowThreads();
5195 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5200 {
5201 if (temp1)
5202 delete arg1;
5203 }
5204 return resultobj;
5205 fail:
5206 {
5207 if (temp1)
5208 delete arg1;
5209 }
5210 return NULL;
5211 }
5212
5213
5214 SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5215 PyObject *resultobj = 0;
5216 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5217 void *argp1 = 0 ;
5218 int res1 = 0 ;
5219 PyObject *swig_obj[1] ;
5220
5221 if (!args) SWIG_fail;
5222 swig_obj[0] = args;
5223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5224 if (!SWIG_IsOK(res1)) {
5225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5226 }
5227 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5228 {
5229 PyThreadState* __tstate = wxPyBeginAllowThreads();
5230 delete arg1;
5231
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = SWIG_Py_Void();
5236 return resultobj;
5237 fail:
5238 return NULL;
5239 }
5240
5241
5242 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5243 PyObject *resultobj = 0;
5244 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5245 int result;
5246 void *argp1 = 0 ;
5247 int res1 = 0 ;
5248 PyObject *swig_obj[1] ;
5249
5250 if (!args) SWIG_fail;
5251 swig_obj[0] = args;
5252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5253 if (!SWIG_IsOK(res1)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5255 }
5256 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 resultobj = SWIG_From_int(static_cast< int >(result));
5264 return resultobj;
5265 fail:
5266 return NULL;
5267 }
5268
5269
5270 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5271 PyObject *resultobj = 0;
5272 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5273 wxString result;
5274 void *argp1 = 0 ;
5275 int res1 = 0 ;
5276 PyObject *swig_obj[1] ;
5277
5278 if (!args) SWIG_fail;
5279 swig_obj[0] = args;
5280 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5281 if (!SWIG_IsOK(res1)) {
5282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5283 }
5284 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5285 {
5286 PyThreadState* __tstate = wxPyBeginAllowThreads();
5287 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 {
5292 #if wxUSE_UNICODE
5293 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5294 #else
5295 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5296 #endif
5297 }
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5305 PyObject *resultobj = 0;
5306 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5307 int result;
5308 void *argp1 = 0 ;
5309 int res1 = 0 ;
5310 PyObject *swig_obj[1] ;
5311
5312 if (!args) SWIG_fail;
5313 swig_obj[0] = args;
5314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5315 if (!SWIG_IsOK(res1)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5317 }
5318 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 resultobj = SWIG_From_int(static_cast< int >(result));
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5333 PyObject *resultobj = 0;
5334 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5335 int result;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 PyObject *swig_obj[1] ;
5339
5340 if (!args) SWIG_fail;
5341 swig_obj[0] = args;
5342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5345 }
5346 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_From_int(static_cast< int >(result));
5354 return resultobj;
5355 fail:
5356 return NULL;
5357 }
5358
5359
5360 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5361 PyObject *resultobj = 0;
5362 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5363 size_t result;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 PyObject *swig_obj[1] ;
5367
5368 if (!args) SWIG_fail;
5369 swig_obj[0] = args;
5370 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5371 if (!SWIG_IsOK(res1)) {
5372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5373 }
5374 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5375 {
5376 PyThreadState* __tstate = wxPyBeginAllowThreads();
5377 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5378 wxPyEndAllowThreads(__tstate);
5379 if (PyErr_Occurred()) SWIG_fail;
5380 }
5381 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5382 return resultobj;
5383 fail:
5384 return NULL;
5385 }
5386
5387
5388 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5389 PyObject *resultobj = 0;
5390 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5391 bool result;
5392 void *argp1 = 0 ;
5393 int res1 = 0 ;
5394 PyObject *swig_obj[1] ;
5395
5396 if (!args) SWIG_fail;
5397 swig_obj[0] = args;
5398 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5399 if (!SWIG_IsOK(res1)) {
5400 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5401 }
5402 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
5406 wxPyEndAllowThreads(__tstate);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 {
5410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5411 }
5412 return resultobj;
5413 fail:
5414 return NULL;
5415 }
5416
5417
5418 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5419 PyObject *resultobj = 0;
5420 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5421 bool result;
5422 void *argp1 = 0 ;
5423 int res1 = 0 ;
5424 PyObject *swig_obj[1] ;
5425
5426 if (!args) SWIG_fail;
5427 swig_obj[0] = args;
5428 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5429 if (!SWIG_IsOK(res1)) {
5430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5431 }
5432 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5433 {
5434 PyThreadState* __tstate = wxPyBeginAllowThreads();
5435 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5436 wxPyEndAllowThreads(__tstate);
5437 if (PyErr_Occurred()) SWIG_fail;
5438 }
5439 {
5440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5441 }
5442 return resultobj;
5443 fail:
5444 return NULL;
5445 }
5446
5447
5448 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj = 0;
5450 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5451 int arg2 ;
5452 void *argp1 = 0 ;
5453 int res1 = 0 ;
5454 int val2 ;
5455 int ecode2 = 0 ;
5456 PyObject * obj0 = 0 ;
5457 PyObject * obj1 = 0 ;
5458 char * kwnames[] = {
5459 (char *) "self",(char *) "alignment", NULL
5460 };
5461
5462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5464 if (!SWIG_IsOK(res1)) {
5465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5466 }
5467 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5468 ecode2 = SWIG_AsVal_int(obj1, &val2);
5469 if (!SWIG_IsOK(ecode2)) {
5470 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5471 }
5472 arg2 = static_cast< int >(val2);
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->SetAlignment(arg2);
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 resultobj = SWIG_Py_Void();
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj = 0;
5488 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5489 wxString *arg2 = 0 ;
5490 void *argp1 = 0 ;
5491 int res1 = 0 ;
5492 bool temp2 = false ;
5493 PyObject * obj0 = 0 ;
5494 PyObject * obj1 = 0 ;
5495 char * kwnames[] = {
5496 (char *) "self",(char *) "text", NULL
5497 };
5498
5499 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5500 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5501 if (!SWIG_IsOK(res1)) {
5502 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5503 }
5504 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5505 {
5506 arg2 = wxString_in_helper(obj1);
5507 if (arg2 == NULL) SWIG_fail;
5508 temp2 = true;
5509 }
5510 {
5511 PyThreadState* __tstate = wxPyBeginAllowThreads();
5512 (arg1)->SetText((wxString const &)*arg2);
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 resultobj = SWIG_Py_Void();
5517 {
5518 if (temp2)
5519 delete arg2;
5520 }
5521 return resultobj;
5522 fail:
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return NULL;
5528 }
5529
5530
5531 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5532 PyObject *resultobj = 0;
5533 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5534 int arg2 ;
5535 void *argp1 = 0 ;
5536 int res1 = 0 ;
5537 int val2 ;
5538 int ecode2 = 0 ;
5539 PyObject * obj0 = 0 ;
5540 PyObject * obj1 = 0 ;
5541 char * kwnames[] = {
5542 (char *) "self",(char *) "image", NULL
5543 };
5544
5545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5547 if (!SWIG_IsOK(res1)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5549 }
5550 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5551 ecode2 = SWIG_AsVal_int(obj1, &val2);
5552 if (!SWIG_IsOK(ecode2)) {
5553 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5554 }
5555 arg2 = static_cast< int >(val2);
5556 {
5557 PyThreadState* __tstate = wxPyBeginAllowThreads();
5558 (arg1)->SetImage(arg2);
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 resultobj = SWIG_Py_Void();
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj = 0;
5571 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5572 int arg2 ;
5573 void *argp1 = 0 ;
5574 int res1 = 0 ;
5575 int val2 ;
5576 int ecode2 = 0 ;
5577 PyObject * obj0 = 0 ;
5578 PyObject * obj1 = 0 ;
5579 char * kwnames[] = {
5580 (char *) "self",(char *) "image", NULL
5581 };
5582
5583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5585 if (!SWIG_IsOK(res1)) {
5586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5587 }
5588 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5589 ecode2 = SWIG_AsVal_int(obj1, &val2);
5590 if (!SWIG_IsOK(ecode2)) {
5591 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5592 }
5593 arg2 = static_cast< int >(val2);
5594 {
5595 PyThreadState* __tstate = wxPyBeginAllowThreads();
5596 (arg1)->SetSelectedImage(arg2);
5597 wxPyEndAllowThreads(__tstate);
5598 if (PyErr_Occurred()) SWIG_fail;
5599 }
5600 resultobj = SWIG_Py_Void();
5601 return resultobj;
5602 fail:
5603 return NULL;
5604 }
5605
5606
5607 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5608 PyObject *resultobj = 0;
5609 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5610 size_t arg2 ;
5611 void *argp1 = 0 ;
5612 int res1 = 0 ;
5613 size_t val2 ;
5614 int ecode2 = 0 ;
5615 PyObject * obj0 = 0 ;
5616 PyObject * obj1 = 0 ;
5617 char * kwnames[] = {
5618 (char *) "self",(char *) "with", NULL
5619 };
5620
5621 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5622 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5623 if (!SWIG_IsOK(res1)) {
5624 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5625 }
5626 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5627 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5628 if (!SWIG_IsOK(ecode2)) {
5629 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5630 }
5631 arg2 = static_cast< size_t >(val2);
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetWidth(arg2);
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 resultobj = SWIG_Py_Void();
5639 return resultobj;
5640 fail:
5641 return NULL;
5642 }
5643
5644
5645 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5646 PyObject *resultobj = 0;
5647 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5648 bool arg2 ;
5649 void *argp1 = 0 ;
5650 int res1 = 0 ;
5651 bool val2 ;
5652 int ecode2 = 0 ;
5653 PyObject * obj0 = 0 ;
5654 PyObject * obj1 = 0 ;
5655 char * kwnames[] = {
5656 (char *) "self",(char *) "edit", NULL
5657 };
5658
5659 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5660 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5661 if (!SWIG_IsOK(res1)) {
5662 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5663 }
5664 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5665 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5666 if (!SWIG_IsOK(ecode2)) {
5667 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5668 }
5669 arg2 = static_cast< bool >(val2);
5670 {
5671 PyThreadState* __tstate = wxPyBeginAllowThreads();
5672 (arg1)->SetEditable(arg2);
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = SWIG_Py_Void();
5677 return resultobj;
5678 fail:
5679 return NULL;
5680 }
5681
5682
5683 SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj = 0;
5685 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5686 bool arg2 ;
5687 void *argp1 = 0 ;
5688 int res1 = 0 ;
5689 bool val2 ;
5690 int ecode2 = 0 ;
5691 PyObject * obj0 = 0 ;
5692 PyObject * obj1 = 0 ;
5693 char * kwnames[] = {
5694 (char *) "self",(char *) "shown", NULL
5695 };
5696
5697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5699 if (!SWIG_IsOK(res1)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5701 }
5702 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5703 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5704 if (!SWIG_IsOK(ecode2)) {
5705 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5706 }
5707 arg2 = static_cast< bool >(val2);
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 (arg1)->SetShown(arg2);
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = SWIG_Py_Void();
5715 return resultobj;
5716 fail:
5717 return NULL;
5718 }
5719
5720
5721 SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5722 PyObject *obj;
5723 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5724 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5725 return SWIG_Py_Void();
5726 }
5727
5728 SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5729 return SWIG_Python_InitShadowInstance(args);
5730 }
5731
5732 SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj = 0;
5734 wxWindow *arg1 = (wxWindow *) 0 ;
5735 int arg2 = (int) -1 ;
5736 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5737 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5738 wxSize const &arg4_defvalue = wxDefaultSize ;
5739 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5740 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5741 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5742 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5743 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5744 wxString *arg7 = (wxString *) &arg7_defvalue ;
5745 wxPyTreeListCtrl *result = 0 ;
5746 void *argp1 = 0 ;
5747 int res1 = 0 ;
5748 int val2 ;
5749 int ecode2 = 0 ;
5750 wxPoint temp3 ;
5751 wxSize temp4 ;
5752 long val5 ;
5753 int ecode5 = 0 ;
5754 void *argp6 = 0 ;
5755 int res6 = 0 ;
5756 bool temp7 = false ;
5757 PyObject * obj0 = 0 ;
5758 PyObject * obj1 = 0 ;
5759 PyObject * obj2 = 0 ;
5760 PyObject * obj3 = 0 ;
5761 PyObject * obj4 = 0 ;
5762 PyObject * obj5 = 0 ;
5763 PyObject * obj6 = 0 ;
5764 char * kwnames[] = {
5765 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5766 };
5767
5768 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5769 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5770 if (!SWIG_IsOK(res1)) {
5771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5772 }
5773 arg1 = reinterpret_cast< wxWindow * >(argp1);
5774 if (obj1) {
5775 ecode2 = SWIG_AsVal_int(obj1, &val2);
5776 if (!SWIG_IsOK(ecode2)) {
5777 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5778 }
5779 arg2 = static_cast< int >(val2);
5780 }
5781 if (obj2) {
5782 {
5783 arg3 = &temp3;
5784 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5785 }
5786 }
5787 if (obj3) {
5788 {
5789 arg4 = &temp4;
5790 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5791 }
5792 }
5793 if (obj4) {
5794 ecode5 = SWIG_AsVal_long(obj4, &val5);
5795 if (!SWIG_IsOK(ecode5)) {
5796 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5797 }
5798 arg5 = static_cast< long >(val5);
5799 }
5800 if (obj5) {
5801 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5802 if (!SWIG_IsOK(res6)) {
5803 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5804 }
5805 if (!argp6) {
5806 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5807 }
5808 arg6 = reinterpret_cast< wxValidator * >(argp6);
5809 }
5810 if (obj6) {
5811 {
5812 arg7 = wxString_in_helper(obj6);
5813 if (arg7 == NULL) SWIG_fail;
5814 temp7 = true;
5815 }
5816 }
5817 {
5818 if (!wxPyCheckForApp()) SWIG_fail;
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5825 {
5826 if (temp7)
5827 delete arg7;
5828 }
5829 return resultobj;
5830 fail:
5831 {
5832 if (temp7)
5833 delete arg7;
5834 }
5835 return NULL;
5836 }
5837
5838
5839 SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5840 PyObject *resultobj = 0;
5841 wxPyTreeListCtrl *result = 0 ;
5842
5843 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5844 {
5845 if (!wxPyCheckForApp()) SWIG_fail;
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5852 return resultobj;
5853 fail:
5854 return NULL;
5855 }
5856
5857
5858 SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj = 0;
5860 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5861 wxWindow *arg2 = (wxWindow *) 0 ;
5862 int arg3 = (int) -1 ;
5863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5865 wxSize const &arg5_defvalue = wxDefaultSize ;
5866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5867 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5868 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5869 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5870 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5871 wxString *arg8 = (wxString *) &arg8_defvalue ;
5872 bool result;
5873 void *argp1 = 0 ;
5874 int res1 = 0 ;
5875 void *argp2 = 0 ;
5876 int res2 = 0 ;
5877 int val3 ;
5878 int ecode3 = 0 ;
5879 wxPoint temp4 ;
5880 wxSize temp5 ;
5881 long val6 ;
5882 int ecode6 = 0 ;
5883 void *argp7 = 0 ;
5884 int res7 = 0 ;
5885 bool temp8 = false ;
5886 PyObject * obj0 = 0 ;
5887 PyObject * obj1 = 0 ;
5888 PyObject * obj2 = 0 ;
5889 PyObject * obj3 = 0 ;
5890 PyObject * obj4 = 0 ;
5891 PyObject * obj5 = 0 ;
5892 PyObject * obj6 = 0 ;
5893 PyObject * obj7 = 0 ;
5894 char * kwnames[] = {
5895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5896 };
5897
5898 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5899 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5900 if (!SWIG_IsOK(res1)) {
5901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5902 }
5903 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5904 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5905 if (!SWIG_IsOK(res2)) {
5906 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5907 }
5908 arg2 = reinterpret_cast< wxWindow * >(argp2);
5909 if (obj2) {
5910 ecode3 = SWIG_AsVal_int(obj2, &val3);
5911 if (!SWIG_IsOK(ecode3)) {
5912 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5913 }
5914 arg3 = static_cast< int >(val3);
5915 }
5916 if (obj3) {
5917 {
5918 arg4 = &temp4;
5919 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5920 }
5921 }
5922 if (obj4) {
5923 {
5924 arg5 = &temp5;
5925 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5926 }
5927 }
5928 if (obj5) {
5929 ecode6 = SWIG_AsVal_long(obj5, &val6);
5930 if (!SWIG_IsOK(ecode6)) {
5931 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5932 }
5933 arg6 = static_cast< long >(val6);
5934 }
5935 if (obj6) {
5936 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5937 if (!SWIG_IsOK(res7)) {
5938 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5939 }
5940 if (!argp7) {
5941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5942 }
5943 arg7 = reinterpret_cast< wxValidator * >(argp7);
5944 }
5945 if (obj7) {
5946 {
5947 arg8 = wxString_in_helper(obj7);
5948 if (arg8 == NULL) SWIG_fail;
5949 temp8 = true;
5950 }
5951 }
5952 {
5953 PyThreadState* __tstate = wxPyBeginAllowThreads();
5954 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 {
5959 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5960 }
5961 {
5962 if (temp8)
5963 delete arg8;
5964 }
5965 return resultobj;
5966 fail:
5967 {
5968 if (temp8)
5969 delete arg8;
5970 }
5971 return NULL;
5972 }
5973
5974
5975 SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj = 0;
5977 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5978 PyObject *arg2 = (PyObject *) 0 ;
5979 PyObject *arg3 = (PyObject *) 0 ;
5980 void *argp1 = 0 ;
5981 int res1 = 0 ;
5982 PyObject * obj0 = 0 ;
5983 PyObject * obj1 = 0 ;
5984 PyObject * obj2 = 0 ;
5985 char * kwnames[] = {
5986 (char *) "self",(char *) "self",(char *) "_class", NULL
5987 };
5988
5989 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5990 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5991 if (!SWIG_IsOK(res1)) {
5992 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5993 }
5994 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5995 arg2 = obj1;
5996 arg3 = obj2;
5997 {
5998 PyThreadState* __tstate = wxPyBeginAllowThreads();
5999 (arg1)->_setCallbackInfo(arg2,arg3);
6000 wxPyEndAllowThreads(__tstate);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 resultobj = SWIG_Py_Void();
6004 return resultobj;
6005 fail:
6006 return NULL;
6007 }
6008
6009
6010 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6011 PyObject *resultobj = 0;
6012 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6013 size_t result;
6014 void *argp1 = 0 ;
6015 int res1 = 0 ;
6016 PyObject *swig_obj[1] ;
6017
6018 if (!args) SWIG_fail;
6019 swig_obj[0] = args;
6020 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6021 if (!SWIG_IsOK(res1)) {
6022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6023 }
6024 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6025 {
6026 PyThreadState* __tstate = wxPyBeginAllowThreads();
6027 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6028 wxPyEndAllowThreads(__tstate);
6029 if (PyErr_Occurred()) SWIG_fail;
6030 }
6031 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6032 return resultobj;
6033 fail:
6034 return NULL;
6035 }
6036
6037
6038 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6039 PyObject *resultobj = 0;
6040 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6041 unsigned int result;
6042 void *argp1 = 0 ;
6043 int res1 = 0 ;
6044 PyObject *swig_obj[1] ;
6045
6046 if (!args) SWIG_fail;
6047 swig_obj[0] = args;
6048 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6049 if (!SWIG_IsOK(res1)) {
6050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6051 }
6052 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6053 {
6054 PyThreadState* __tstate = wxPyBeginAllowThreads();
6055 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6060 return resultobj;
6061 fail:
6062 return NULL;
6063 }
6064
6065
6066 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj = 0;
6068 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6069 unsigned int arg2 ;
6070 void *argp1 = 0 ;
6071 int res1 = 0 ;
6072 unsigned int val2 ;
6073 int ecode2 = 0 ;
6074 PyObject * obj0 = 0 ;
6075 PyObject * obj1 = 0 ;
6076 char * kwnames[] = {
6077 (char *) "self",(char *) "indent", NULL
6078 };
6079
6080 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6081 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6082 if (!SWIG_IsOK(res1)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6084 }
6085 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6086 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6087 if (!SWIG_IsOK(ecode2)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6089 }
6090 arg2 = static_cast< unsigned int >(val2);
6091 {
6092 PyThreadState* __tstate = wxPyBeginAllowThreads();
6093 (arg1)->SetIndent(arg2);
6094 wxPyEndAllowThreads(__tstate);
6095 if (PyErr_Occurred()) SWIG_fail;
6096 }
6097 resultobj = SWIG_Py_Void();
6098 return resultobj;
6099 fail:
6100 return NULL;
6101 }
6102
6103
6104 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6105 PyObject *resultobj = 0;
6106 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6107 unsigned int result;
6108 void *argp1 = 0 ;
6109 int res1 = 0 ;
6110 PyObject *swig_obj[1] ;
6111
6112 if (!args) SWIG_fail;
6113 swig_obj[0] = args;
6114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6115 if (!SWIG_IsOK(res1)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6117 }
6118 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6126 return resultobj;
6127 fail:
6128 return NULL;
6129 }
6130
6131
6132 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj = 0;
6134 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6135 unsigned int arg2 ;
6136 void *argp1 = 0 ;
6137 int res1 = 0 ;
6138 unsigned int val2 ;
6139 int ecode2 = 0 ;
6140 PyObject * obj0 = 0 ;
6141 PyObject * obj1 = 0 ;
6142 char * kwnames[] = {
6143 (char *) "self",(char *) "spacing", NULL
6144 };
6145
6146 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6147 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6148 if (!SWIG_IsOK(res1)) {
6149 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6150 }
6151 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6152 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6153 if (!SWIG_IsOK(ecode2)) {
6154 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6155 }
6156 arg2 = static_cast< unsigned int >(val2);
6157 {
6158 PyThreadState* __tstate = wxPyBeginAllowThreads();
6159 (arg1)->SetLineSpacing(arg2);
6160 wxPyEndAllowThreads(__tstate);
6161 if (PyErr_Occurred()) SWIG_fail;
6162 }
6163 resultobj = SWIG_Py_Void();
6164 return resultobj;
6165 fail:
6166 return NULL;
6167 }
6168
6169
6170 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6171 PyObject *resultobj = 0;
6172 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6173 wxImageList *result = 0 ;
6174 void *argp1 = 0 ;
6175 int res1 = 0 ;
6176 PyObject *swig_obj[1] ;
6177
6178 if (!args) SWIG_fail;
6179 swig_obj[0] = args;
6180 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6181 if (!SWIG_IsOK(res1)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6183 }
6184 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 {
6192 resultobj = wxPyMake_wxObject(result, (bool)0);
6193 }
6194 return resultobj;
6195 fail:
6196 return NULL;
6197 }
6198
6199
6200 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6201 PyObject *resultobj = 0;
6202 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6203 wxImageList *result = 0 ;
6204 void *argp1 = 0 ;
6205 int res1 = 0 ;
6206 PyObject *swig_obj[1] ;
6207
6208 if (!args) SWIG_fail;
6209 swig_obj[0] = args;
6210 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6211 if (!SWIG_IsOK(res1)) {
6212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6213 }
6214 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6215 {
6216 PyThreadState* __tstate = wxPyBeginAllowThreads();
6217 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6218 wxPyEndAllowThreads(__tstate);
6219 if (PyErr_Occurred()) SWIG_fail;
6220 }
6221 {
6222 resultobj = wxPyMake_wxObject(result, (bool)0);
6223 }
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6231 PyObject *resultobj = 0;
6232 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6233 wxImageList *result = 0 ;
6234 void *argp1 = 0 ;
6235 int res1 = 0 ;
6236 PyObject *swig_obj[1] ;
6237
6238 if (!args) SWIG_fail;
6239 swig_obj[0] = args;
6240 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6241 if (!SWIG_IsOK(res1)) {
6242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6243 }
6244 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6245 {
6246 PyThreadState* __tstate = wxPyBeginAllowThreads();
6247 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6248 wxPyEndAllowThreads(__tstate);
6249 if (PyErr_Occurred()) SWIG_fail;
6250 }
6251 {
6252 resultobj = wxPyMake_wxObject(result, (bool)0);
6253 }
6254 return resultobj;
6255 fail:
6256 return NULL;
6257 }
6258
6259
6260 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6261 PyObject *resultobj = 0;
6262 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6263 wxImageList *arg2 = (wxImageList *) 0 ;
6264 void *argp1 = 0 ;
6265 int res1 = 0 ;
6266 void *argp2 = 0 ;
6267 int res2 = 0 ;
6268 PyObject * obj0 = 0 ;
6269 PyObject * obj1 = 0 ;
6270 char * kwnames[] = {
6271 (char *) "self",(char *) "imageList", NULL
6272 };
6273
6274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6276 if (!SWIG_IsOK(res1)) {
6277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6278 }
6279 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6280 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6281 if (!SWIG_IsOK(res2)) {
6282 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6283 }
6284 arg2 = reinterpret_cast< wxImageList * >(argp2);
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 (arg1)->SetImageList(arg2);
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = SWIG_Py_Void();
6292 return resultobj;
6293 fail:
6294 return NULL;
6295 }
6296
6297
6298 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj = 0;
6300 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6301 wxImageList *arg2 = (wxImageList *) 0 ;
6302 void *argp1 = 0 ;
6303 int res1 = 0 ;
6304 void *argp2 = 0 ;
6305 int res2 = 0 ;
6306 PyObject * obj0 = 0 ;
6307 PyObject * obj1 = 0 ;
6308 char * kwnames[] = {
6309 (char *) "self",(char *) "imageList", NULL
6310 };
6311
6312 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6313 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6314 if (!SWIG_IsOK(res1)) {
6315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6316 }
6317 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6318 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6319 if (!SWIG_IsOK(res2)) {
6320 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6321 }
6322 arg2 = reinterpret_cast< wxImageList * >(argp2);
6323 {
6324 PyThreadState* __tstate = wxPyBeginAllowThreads();
6325 (arg1)->SetStateImageList(arg2);
6326 wxPyEndAllowThreads(__tstate);
6327 if (PyErr_Occurred()) SWIG_fail;
6328 }
6329 resultobj = SWIG_Py_Void();
6330 return resultobj;
6331 fail:
6332 return NULL;
6333 }
6334
6335
6336 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6337 PyObject *resultobj = 0;
6338 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6339 wxImageList *arg2 = (wxImageList *) 0 ;
6340 void *argp1 = 0 ;
6341 int res1 = 0 ;
6342 void *argp2 = 0 ;
6343 int res2 = 0 ;
6344 PyObject * obj0 = 0 ;
6345 PyObject * obj1 = 0 ;
6346 char * kwnames[] = {
6347 (char *) "self",(char *) "imageList", NULL
6348 };
6349
6350 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6351 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6352 if (!SWIG_IsOK(res1)) {
6353 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6354 }
6355 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6356 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6357 if (!SWIG_IsOK(res2)) {
6358 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6359 }
6360 arg2 = reinterpret_cast< wxImageList * >(argp2);
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 (arg1)->SetButtonsImageList(arg2);
6364 wxPyEndAllowThreads(__tstate);
6365 if (PyErr_Occurred()) SWIG_fail;
6366 }
6367 resultobj = SWIG_Py_Void();
6368 return resultobj;
6369 fail:
6370 return NULL;
6371 }
6372
6373
6374 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj = 0;
6376 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6377 wxImageList *arg2 = (wxImageList *) 0 ;
6378 void *argp1 = 0 ;
6379 int res1 = 0 ;
6380 int res2 = 0 ;
6381 PyObject * obj0 = 0 ;
6382 PyObject * obj1 = 0 ;
6383 char * kwnames[] = {
6384 (char *) "self",(char *) "imageList", NULL
6385 };
6386
6387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6389 if (!SWIG_IsOK(res1)) {
6390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6391 }
6392 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6393 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6394 if (!SWIG_IsOK(res2)) {
6395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6396 }
6397 {
6398 PyThreadState* __tstate = wxPyBeginAllowThreads();
6399 (arg1)->AssignImageList(arg2);
6400 wxPyEndAllowThreads(__tstate);
6401 if (PyErr_Occurred()) SWIG_fail;
6402 }
6403 resultobj = SWIG_Py_Void();
6404 return resultobj;
6405 fail:
6406 return NULL;
6407 }
6408
6409
6410 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6411 PyObject *resultobj = 0;
6412 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6413 wxImageList *arg2 = (wxImageList *) 0 ;
6414 void *argp1 = 0 ;
6415 int res1 = 0 ;
6416 int res2 = 0 ;
6417 PyObject * obj0 = 0 ;
6418 PyObject * obj1 = 0 ;
6419 char * kwnames[] = {
6420 (char *) "self",(char *) "imageList", NULL
6421 };
6422
6423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6425 if (!SWIG_IsOK(res1)) {
6426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6427 }
6428 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6429 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6430 if (!SWIG_IsOK(res2)) {
6431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6432 }
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 (arg1)->AssignStateImageList(arg2);
6436 wxPyEndAllowThreads(__tstate);
6437 if (PyErr_Occurred()) SWIG_fail;
6438 }
6439 resultobj = SWIG_Py_Void();
6440 return resultobj;
6441 fail:
6442 return NULL;
6443 }
6444
6445
6446 SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6447 PyObject *resultobj = 0;
6448 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6449 wxImageList *arg2 = (wxImageList *) 0 ;
6450 void *argp1 = 0 ;
6451 int res1 = 0 ;
6452 int res2 = 0 ;
6453 PyObject * obj0 = 0 ;
6454 PyObject * obj1 = 0 ;
6455 char * kwnames[] = {
6456 (char *) "self",(char *) "imageList", NULL
6457 };
6458
6459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6461 if (!SWIG_IsOK(res1)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6463 }
6464 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6465 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6466 if (!SWIG_IsOK(res2)) {
6467 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6468 }
6469 {
6470 PyThreadState* __tstate = wxPyBeginAllowThreads();
6471 (arg1)->AssignButtonsImageList(arg2);
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
6475 resultobj = SWIG_Py_Void();
6476 return resultobj;
6477 fail:
6478 return NULL;
6479 }
6480
6481
6482 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6483 PyObject *resultobj = 0;
6484 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6485 wxString *arg2 = 0 ;
6486 int arg3 = (int) DEFAULT_COL_WIDTH ;
6487 int arg4 = (int) wxALIGN_LEFT ;
6488 int arg5 = (int) -1 ;
6489 bool arg6 = (bool) true ;
6490 bool arg7 = (bool) false ;
6491 void *argp1 = 0 ;
6492 int res1 = 0 ;
6493 bool temp2 = false ;
6494 int val3 ;
6495 int ecode3 = 0 ;
6496 int val4 ;
6497 int ecode4 = 0 ;
6498 int val5 ;
6499 int ecode5 = 0 ;
6500 bool val6 ;
6501 int ecode6 = 0 ;
6502 bool val7 ;
6503 int ecode7 = 0 ;
6504 PyObject * obj0 = 0 ;
6505 PyObject * obj1 = 0 ;
6506 PyObject * obj2 = 0 ;
6507 PyObject * obj3 = 0 ;
6508 PyObject * obj4 = 0 ;
6509 PyObject * obj5 = 0 ;
6510 PyObject * obj6 = 0 ;
6511 char * kwnames[] = {
6512 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6513 };
6514
6515 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6516 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6517 if (!SWIG_IsOK(res1)) {
6518 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6519 }
6520 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6521 {
6522 arg2 = wxString_in_helper(obj1);
6523 if (arg2 == NULL) SWIG_fail;
6524 temp2 = true;
6525 }
6526 if (obj2) {
6527 ecode3 = SWIG_AsVal_int(obj2, &val3);
6528 if (!SWIG_IsOK(ecode3)) {
6529 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6530 }
6531 arg3 = static_cast< int >(val3);
6532 }
6533 if (obj3) {
6534 ecode4 = SWIG_AsVal_int(obj3, &val4);
6535 if (!SWIG_IsOK(ecode4)) {
6536 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6537 }
6538 arg4 = static_cast< int >(val4);
6539 }
6540 if (obj4) {
6541 ecode5 = SWIG_AsVal_int(obj4, &val5);
6542 if (!SWIG_IsOK(ecode5)) {
6543 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6544 }
6545 arg5 = static_cast< int >(val5);
6546 }
6547 if (obj5) {
6548 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6549 if (!SWIG_IsOK(ecode6)) {
6550 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6551 }
6552 arg6 = static_cast< bool >(val6);
6553 }
6554 if (obj6) {
6555 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6556 if (!SWIG_IsOK(ecode7)) {
6557 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6558 }
6559 arg7 = static_cast< bool >(val7);
6560 }
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
6564 wxPyEndAllowThreads(__tstate);
6565 if (PyErr_Occurred()) SWIG_fail;
6566 }
6567 resultobj = SWIG_Py_Void();
6568 {
6569 if (temp2)
6570 delete arg2;
6571 }
6572 return resultobj;
6573 fail:
6574 {
6575 if (temp2)
6576 delete arg2;
6577 }
6578 return NULL;
6579 }
6580
6581
6582 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6583 PyObject *resultobj = 0;
6584 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6585 wxTreeListColumnInfo *arg2 = 0 ;
6586 void *argp1 = 0 ;
6587 int res1 = 0 ;
6588 void *argp2 = 0 ;
6589 int res2 = 0 ;
6590 PyObject * obj0 = 0 ;
6591 PyObject * obj1 = 0 ;
6592 char * kwnames[] = {
6593 (char *) "self",(char *) "col", NULL
6594 };
6595
6596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6598 if (!SWIG_IsOK(res1)) {
6599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6600 }
6601 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6603 if (!SWIG_IsOK(res2)) {
6604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6605 }
6606 if (!argp2) {
6607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6608 }
6609 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 resultobj = SWIG_Py_Void();
6617 return resultobj;
6618 fail:
6619 return NULL;
6620 }
6621
6622
6623 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj = 0;
6625 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6626 int arg2 ;
6627 wxString *arg3 = 0 ;
6628 int arg4 = (int) DEFAULT_COL_WIDTH ;
6629 int arg5 = (int) wxALIGN_LEFT ;
6630 int arg6 = (int) -1 ;
6631 bool arg7 = (bool) true ;
6632 bool arg8 = (bool) false ;
6633 void *argp1 = 0 ;
6634 int res1 = 0 ;
6635 int val2 ;
6636 int ecode2 = 0 ;
6637 bool temp3 = false ;
6638 int val4 ;
6639 int ecode4 = 0 ;
6640 int val5 ;
6641 int ecode5 = 0 ;
6642 int val6 ;
6643 int ecode6 = 0 ;
6644 bool val7 ;
6645 int ecode7 = 0 ;
6646 bool val8 ;
6647 int ecode8 = 0 ;
6648 PyObject * obj0 = 0 ;
6649 PyObject * obj1 = 0 ;
6650 PyObject * obj2 = 0 ;
6651 PyObject * obj3 = 0 ;
6652 PyObject * obj4 = 0 ;
6653 PyObject * obj5 = 0 ;
6654 PyObject * obj6 = 0 ;
6655 PyObject * obj7 = 0 ;
6656 char * kwnames[] = {
6657 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6658 };
6659
6660 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6661 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6662 if (!SWIG_IsOK(res1)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6664 }
6665 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6666 ecode2 = SWIG_AsVal_int(obj1, &val2);
6667 if (!SWIG_IsOK(ecode2)) {
6668 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6669 }
6670 arg2 = static_cast< int >(val2);
6671 {
6672 arg3 = wxString_in_helper(obj2);
6673 if (arg3 == NULL) SWIG_fail;
6674 temp3 = true;
6675 }
6676 if (obj3) {
6677 ecode4 = SWIG_AsVal_int(obj3, &val4);
6678 if (!SWIG_IsOK(ecode4)) {
6679 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6680 }
6681 arg4 = static_cast< int >(val4);
6682 }
6683 if (obj4) {
6684 ecode5 = SWIG_AsVal_int(obj4, &val5);
6685 if (!SWIG_IsOK(ecode5)) {
6686 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6687 }
6688 arg5 = static_cast< int >(val5);
6689 }
6690 if (obj5) {
6691 ecode6 = SWIG_AsVal_int(obj5, &val6);
6692 if (!SWIG_IsOK(ecode6)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6694 }
6695 arg6 = static_cast< int >(val6);
6696 }
6697 if (obj6) {
6698 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6699 if (!SWIG_IsOK(ecode7)) {
6700 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6701 }
6702 arg7 = static_cast< bool >(val7);
6703 }
6704 if (obj7) {
6705 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6706 if (!SWIG_IsOK(ecode8)) {
6707 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6708 }
6709 arg8 = static_cast< bool >(val8);
6710 }
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = SWIG_Py_Void();
6718 {
6719 if (temp3)
6720 delete arg3;
6721 }
6722 return resultobj;
6723 fail:
6724 {
6725 if (temp3)
6726 delete arg3;
6727 }
6728 return NULL;
6729 }
6730
6731
6732 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj = 0;
6734 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6735 size_t arg2 ;
6736 wxTreeListColumnInfo *arg3 = 0 ;
6737 void *argp1 = 0 ;
6738 int res1 = 0 ;
6739 size_t val2 ;
6740 int ecode2 = 0 ;
6741 void *argp3 = 0 ;
6742 int res3 = 0 ;
6743 PyObject * obj0 = 0 ;
6744 PyObject * obj1 = 0 ;
6745 PyObject * obj2 = 0 ;
6746 char * kwnames[] = {
6747 (char *) "self",(char *) "before",(char *) "col", NULL
6748 };
6749
6750 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6751 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6752 if (!SWIG_IsOK(res1)) {
6753 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6754 }
6755 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6756 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6757 if (!SWIG_IsOK(ecode2)) {
6758 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6759 }
6760 arg2 = static_cast< size_t >(val2);
6761 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6762 if (!SWIG_IsOK(res3)) {
6763 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6764 }
6765 if (!argp3) {
6766 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6767 }
6768 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = SWIG_Py_Void();
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj = 0;
6784 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6785 size_t arg2 ;
6786 void *argp1 = 0 ;
6787 int res1 = 0 ;
6788 size_t val2 ;
6789 int ecode2 = 0 ;
6790 PyObject * obj0 = 0 ;
6791 PyObject * obj1 = 0 ;
6792 char * kwnames[] = {
6793 (char *) "self",(char *) "column", NULL
6794 };
6795
6796 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6797 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6798 if (!SWIG_IsOK(res1)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6800 }
6801 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6802 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6803 if (!SWIG_IsOK(ecode2)) {
6804 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6805 }
6806 arg2 = static_cast< size_t >(val2);
6807 {
6808 PyThreadState* __tstate = wxPyBeginAllowThreads();
6809 (arg1)->RemoveColumn(arg2);
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 resultobj = SWIG_Py_Void();
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6821 PyObject *resultobj = 0;
6822 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6823 size_t result;
6824 void *argp1 = 0 ;
6825 int res1 = 0 ;
6826 PyObject *swig_obj[1] ;
6827
6828 if (!args) SWIG_fail;
6829 swig_obj[0] = args;
6830 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6831 if (!SWIG_IsOK(res1)) {
6832 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6833 }
6834 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6835 {
6836 PyThreadState* __tstate = wxPyBeginAllowThreads();
6837 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6838 wxPyEndAllowThreads(__tstate);
6839 if (PyErr_Occurred()) SWIG_fail;
6840 }
6841 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6842 return resultobj;
6843 fail:
6844 return NULL;
6845 }
6846
6847
6848 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6849 PyObject *resultobj = 0;
6850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6851 size_t arg2 ;
6852 void *argp1 = 0 ;
6853 int res1 = 0 ;
6854 size_t val2 ;
6855 int ecode2 = 0 ;
6856 PyObject * obj0 = 0 ;
6857 PyObject * obj1 = 0 ;
6858 char * kwnames[] = {
6859 (char *) "self",(char *) "column", NULL
6860 };
6861
6862 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6863 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6864 if (!SWIG_IsOK(res1)) {
6865 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6866 }
6867 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6868 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6869 if (!SWIG_IsOK(ecode2)) {
6870 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6871 }
6872 arg2 = static_cast< size_t >(val2);
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 (arg1)->SetMainColumn(arg2);
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 resultobj = SWIG_Py_Void();
6880 return resultobj;
6881 fail:
6882 return NULL;
6883 }
6884
6885
6886 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6887 PyObject *resultobj = 0;
6888 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6889 size_t result;
6890 void *argp1 = 0 ;
6891 int res1 = 0 ;
6892 PyObject *swig_obj[1] ;
6893
6894 if (!args) SWIG_fail;
6895 swig_obj[0] = args;
6896 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6897 if (!SWIG_IsOK(res1)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6899 }
6900 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6901 {
6902 PyThreadState* __tstate = wxPyBeginAllowThreads();
6903 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6908 return resultobj;
6909 fail:
6910 return NULL;
6911 }
6912
6913
6914 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj = 0;
6916 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6917 int arg2 ;
6918 wxTreeListColumnInfo *arg3 = 0 ;
6919 void *argp1 = 0 ;
6920 int res1 = 0 ;
6921 int val2 ;
6922 int ecode2 = 0 ;
6923 void *argp3 = 0 ;
6924 int res3 = 0 ;
6925 PyObject * obj0 = 0 ;
6926 PyObject * obj1 = 0 ;
6927 PyObject * obj2 = 0 ;
6928 char * kwnames[] = {
6929 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6930 };
6931
6932 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6933 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6934 if (!SWIG_IsOK(res1)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6936 }
6937 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6938 ecode2 = SWIG_AsVal_int(obj1, &val2);
6939 if (!SWIG_IsOK(ecode2)) {
6940 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6941 }
6942 arg2 = static_cast< int >(val2);
6943 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6944 if (!SWIG_IsOK(res3)) {
6945 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6946 }
6947 if (!argp3) {
6948 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6949 }
6950 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 resultobj = SWIG_Py_Void();
6958 return resultobj;
6959 fail:
6960 return NULL;
6961 }
6962
6963
6964 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6965 PyObject *resultobj = 0;
6966 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6967 int arg2 ;
6968 wxTreeListColumnInfo *result = 0 ;
6969 void *argp1 = 0 ;
6970 int res1 = 0 ;
6971 int val2 ;
6972 int ecode2 = 0 ;
6973 PyObject * obj0 = 0 ;
6974 PyObject * obj1 = 0 ;
6975 char * kwnames[] = {
6976 (char *) "self",(char *) "column", NULL
6977 };
6978
6979 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6980 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6981 if (!SWIG_IsOK(res1)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6983 }
6984 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6985 ecode2 = SWIG_AsVal_int(obj1, &val2);
6986 if (!SWIG_IsOK(ecode2)) {
6987 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6988 }
6989 arg2 = static_cast< int >(val2);
6990 {
6991 PyThreadState* __tstate = wxPyBeginAllowThreads();
6992 {
6993 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6994 result = (wxTreeListColumnInfo *) &_result_ref;
6995 }
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj = 0;
7008 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7009 int arg2 ;
7010 wxString *arg3 = 0 ;
7011 void *argp1 = 0 ;
7012 int res1 = 0 ;
7013 int val2 ;
7014 int ecode2 = 0 ;
7015 bool temp3 = false ;
7016 PyObject * obj0 = 0 ;
7017 PyObject * obj1 = 0 ;
7018 PyObject * obj2 = 0 ;
7019 char * kwnames[] = {
7020 (char *) "self",(char *) "column",(char *) "text", NULL
7021 };
7022
7023 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7024 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7025 if (!SWIG_IsOK(res1)) {
7026 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7027 }
7028 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7029 ecode2 = SWIG_AsVal_int(obj1, &val2);
7030 if (!SWIG_IsOK(ecode2)) {
7031 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7032 }
7033 arg2 = static_cast< int >(val2);
7034 {
7035 arg3 = wxString_in_helper(obj2);
7036 if (arg3 == NULL) SWIG_fail;
7037 temp3 = true;
7038 }
7039 {
7040 PyThreadState* __tstate = wxPyBeginAllowThreads();
7041 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 resultobj = SWIG_Py_Void();
7046 {
7047 if (temp3)
7048 delete arg3;
7049 }
7050 return resultobj;
7051 fail:
7052 {
7053 if (temp3)
7054 delete arg3;
7055 }
7056 return NULL;
7057 }
7058
7059
7060 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7061 PyObject *resultobj = 0;
7062 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7063 int arg2 ;
7064 wxString result;
7065 void *argp1 = 0 ;
7066 int res1 = 0 ;
7067 int val2 ;
7068 int ecode2 = 0 ;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 char * kwnames[] = {
7072 (char *) "self",(char *) "column", NULL
7073 };
7074
7075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7077 if (!SWIG_IsOK(res1)) {
7078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7079 }
7080 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7081 ecode2 = SWIG_AsVal_int(obj1, &val2);
7082 if (!SWIG_IsOK(ecode2)) {
7083 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7084 }
7085 arg2 = static_cast< int >(val2);
7086 {
7087 PyThreadState* __tstate = wxPyBeginAllowThreads();
7088 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7089 wxPyEndAllowThreads(__tstate);
7090 if (PyErr_Occurred()) SWIG_fail;
7091 }
7092 {
7093 #if wxUSE_UNICODE
7094 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7095 #else
7096 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7097 #endif
7098 }
7099 return resultobj;
7100 fail:
7101 return NULL;
7102 }
7103
7104
7105 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7106 PyObject *resultobj = 0;
7107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7108 int arg2 ;
7109 int arg3 ;
7110 void *argp1 = 0 ;
7111 int res1 = 0 ;
7112 int val2 ;
7113 int ecode2 = 0 ;
7114 int val3 ;
7115 int ecode3 = 0 ;
7116 PyObject * obj0 = 0 ;
7117 PyObject * obj1 = 0 ;
7118 PyObject * obj2 = 0 ;
7119 char * kwnames[] = {
7120 (char *) "self",(char *) "column",(char *) "width", NULL
7121 };
7122
7123 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7124 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7125 if (!SWIG_IsOK(res1)) {
7126 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7127 }
7128 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7129 ecode2 = SWIG_AsVal_int(obj1, &val2);
7130 if (!SWIG_IsOK(ecode2)) {
7131 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7132 }
7133 arg2 = static_cast< int >(val2);
7134 ecode3 = SWIG_AsVal_int(obj2, &val3);
7135 if (!SWIG_IsOK(ecode3)) {
7136 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7137 }
7138 arg3 = static_cast< int >(val3);
7139 {
7140 PyThreadState* __tstate = wxPyBeginAllowThreads();
7141 (arg1)->SetColumnWidth(arg2,arg3);
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = SWIG_Py_Void();
7146 return resultobj;
7147 fail:
7148 return NULL;
7149 }
7150
7151
7152 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj = 0;
7154 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7155 int arg2 ;
7156 int result;
7157 void *argp1 = 0 ;
7158 int res1 = 0 ;
7159 int val2 ;
7160 int ecode2 = 0 ;
7161 PyObject * obj0 = 0 ;
7162 PyObject * obj1 = 0 ;
7163 char * kwnames[] = {
7164 (char *) "self",(char *) "column", NULL
7165 };
7166
7167 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7168 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7169 if (!SWIG_IsOK(res1)) {
7170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7171 }
7172 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7173 ecode2 = SWIG_AsVal_int(obj1, &val2);
7174 if (!SWIG_IsOK(ecode2)) {
7175 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7176 }
7177 arg2 = static_cast< int >(val2);
7178 {
7179 PyThreadState* __tstate = wxPyBeginAllowThreads();
7180 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = SWIG_From_int(static_cast< int >(result));
7185 return resultobj;
7186 fail:
7187 return NULL;
7188 }
7189
7190
7191 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj = 0;
7193 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7194 int arg2 ;
7195 int arg3 ;
7196 void *argp1 = 0 ;
7197 int res1 = 0 ;
7198 int val2 ;
7199 int ecode2 = 0 ;
7200 int val3 ;
7201 int ecode3 = 0 ;
7202 PyObject * obj0 = 0 ;
7203 PyObject * obj1 = 0 ;
7204 PyObject * obj2 = 0 ;
7205 char * kwnames[] = {
7206 (char *) "self",(char *) "column",(char *) "flag", NULL
7207 };
7208
7209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7211 if (!SWIG_IsOK(res1)) {
7212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7213 }
7214 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7215 ecode2 = SWIG_AsVal_int(obj1, &val2);
7216 if (!SWIG_IsOK(ecode2)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7218 }
7219 arg2 = static_cast< int >(val2);
7220 ecode3 = SWIG_AsVal_int(obj2, &val3);
7221 if (!SWIG_IsOK(ecode3)) {
7222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7223 }
7224 arg3 = static_cast< int >(val3);
7225 {
7226 PyThreadState* __tstate = wxPyBeginAllowThreads();
7227 (arg1)->SetColumnAlignment(arg2,arg3);
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 resultobj = SWIG_Py_Void();
7232 return resultobj;
7233 fail:
7234 return NULL;
7235 }
7236
7237
7238 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7239 PyObject *resultobj = 0;
7240 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7241 int arg2 ;
7242 int result;
7243 void *argp1 = 0 ;
7244 int res1 = 0 ;
7245 int val2 ;
7246 int ecode2 = 0 ;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj1 = 0 ;
7249 char * kwnames[] = {
7250 (char *) "self",(char *) "column", NULL
7251 };
7252
7253 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7254 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7255 if (!SWIG_IsOK(res1)) {
7256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7257 }
7258 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7259 ecode2 = SWIG_AsVal_int(obj1, &val2);
7260 if (!SWIG_IsOK(ecode2)) {
7261 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7262 }
7263 arg2 = static_cast< int >(val2);
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_From_int(static_cast< int >(result));
7271 return resultobj;
7272 fail:
7273 return NULL;
7274 }
7275
7276
7277 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj = 0;
7279 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7280 int arg2 ;
7281 int arg3 ;
7282 void *argp1 = 0 ;
7283 int res1 = 0 ;
7284 int val2 ;
7285 int ecode2 = 0 ;
7286 int val3 ;
7287 int ecode3 = 0 ;
7288 PyObject * obj0 = 0 ;
7289 PyObject * obj1 = 0 ;
7290 PyObject * obj2 = 0 ;
7291 char * kwnames[] = {
7292 (char *) "self",(char *) "column",(char *) "image", NULL
7293 };
7294
7295 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7296 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7297 if (!SWIG_IsOK(res1)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7299 }
7300 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7301 ecode2 = SWIG_AsVal_int(obj1, &val2);
7302 if (!SWIG_IsOK(ecode2)) {
7303 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7304 }
7305 arg2 = static_cast< int >(val2);
7306 ecode3 = SWIG_AsVal_int(obj2, &val3);
7307 if (!SWIG_IsOK(ecode3)) {
7308 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7309 }
7310 arg3 = static_cast< int >(val3);
7311 {
7312 PyThreadState* __tstate = wxPyBeginAllowThreads();
7313 (arg1)->SetColumnImage(arg2,arg3);
7314 wxPyEndAllowThreads(__tstate);
7315 if (PyErr_Occurred()) SWIG_fail;
7316 }
7317 resultobj = SWIG_Py_Void();
7318 return resultobj;
7319 fail:
7320 return NULL;
7321 }
7322
7323
7324 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7325 PyObject *resultobj = 0;
7326 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7327 int arg2 ;
7328 int result;
7329 void *argp1 = 0 ;
7330 int res1 = 0 ;
7331 int val2 ;
7332 int ecode2 = 0 ;
7333 PyObject * obj0 = 0 ;
7334 PyObject * obj1 = 0 ;
7335 char * kwnames[] = {
7336 (char *) "self",(char *) "column", NULL
7337 };
7338
7339 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7340 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7341 if (!SWIG_IsOK(res1)) {
7342 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7343 }
7344 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7345 ecode2 = SWIG_AsVal_int(obj1, &val2);
7346 if (!SWIG_IsOK(ecode2)) {
7347 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7348 }
7349 arg2 = static_cast< int >(val2);
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7353 wxPyEndAllowThreads(__tstate);
7354 if (PyErr_Occurred()) SWIG_fail;
7355 }
7356 resultobj = SWIG_From_int(static_cast< int >(result));
7357 return resultobj;
7358 fail:
7359 return NULL;
7360 }
7361
7362
7363 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7364 PyObject *resultobj = 0;
7365 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7366 int arg2 ;
7367 bool arg3 = (bool) true ;
7368 void *argp1 = 0 ;
7369 int res1 = 0 ;
7370 int val2 ;
7371 int ecode2 = 0 ;
7372 bool val3 ;
7373 int ecode3 = 0 ;
7374 PyObject * obj0 = 0 ;
7375 PyObject * obj1 = 0 ;
7376 PyObject * obj2 = 0 ;
7377 char * kwnames[] = {
7378 (char *) "self",(char *) "column",(char *) "shown", NULL
7379 };
7380
7381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7383 if (!SWIG_IsOK(res1)) {
7384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7385 }
7386 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7387 ecode2 = SWIG_AsVal_int(obj1, &val2);
7388 if (!SWIG_IsOK(ecode2)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7390 }
7391 arg2 = static_cast< int >(val2);
7392 if (obj2) {
7393 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7394 if (!SWIG_IsOK(ecode3)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7396 }
7397 arg3 = static_cast< bool >(val3);
7398 }
7399 {
7400 PyThreadState* __tstate = wxPyBeginAllowThreads();
7401 (arg1)->SetColumnShown(arg2,arg3);
7402 wxPyEndAllowThreads(__tstate);
7403 if (PyErr_Occurred()) SWIG_fail;
7404 }
7405 resultobj = SWIG_Py_Void();
7406 return resultobj;
7407 fail:
7408 return NULL;
7409 }
7410
7411
7412 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7413 PyObject *resultobj = 0;
7414 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7415 int arg2 ;
7416 bool result;
7417 void *argp1 = 0 ;
7418 int res1 = 0 ;
7419 int val2 ;
7420 int ecode2 = 0 ;
7421 PyObject * obj0 = 0 ;
7422 PyObject * obj1 = 0 ;
7423 char * kwnames[] = {
7424 (char *) "self",(char *) "column", NULL
7425 };
7426
7427 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7428 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7429 if (!SWIG_IsOK(res1)) {
7430 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7431 }
7432 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7433 ecode2 = SWIG_AsVal_int(obj1, &val2);
7434 if (!SWIG_IsOK(ecode2)) {
7435 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7436 }
7437 arg2 = static_cast< int >(val2);
7438 {
7439 PyThreadState* __tstate = wxPyBeginAllowThreads();
7440 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 {
7445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7446 }
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj = 0;
7455 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7456 int arg2 ;
7457 bool arg3 = (bool) true ;
7458 void *argp1 = 0 ;
7459 int res1 = 0 ;
7460 int val2 ;
7461 int ecode2 = 0 ;
7462 bool val3 ;
7463 int ecode3 = 0 ;
7464 PyObject * obj0 = 0 ;
7465 PyObject * obj1 = 0 ;
7466 PyObject * obj2 = 0 ;
7467 char * kwnames[] = {
7468 (char *) "self",(char *) "column",(char *) "edit", NULL
7469 };
7470
7471 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7472 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7473 if (!SWIG_IsOK(res1)) {
7474 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7475 }
7476 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7477 ecode2 = SWIG_AsVal_int(obj1, &val2);
7478 if (!SWIG_IsOK(ecode2)) {
7479 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7480 }
7481 arg2 = static_cast< int >(val2);
7482 if (obj2) {
7483 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7484 if (!SWIG_IsOK(ecode3)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7486 }
7487 arg3 = static_cast< bool >(val3);
7488 }
7489 {
7490 PyThreadState* __tstate = wxPyBeginAllowThreads();
7491 (arg1)->SetColumnEditable(arg2,arg3);
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 resultobj = SWIG_Py_Void();
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj = 0;
7504 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7505 int arg2 ;
7506 bool result;
7507 void *argp1 = 0 ;
7508 int res1 = 0 ;
7509 int val2 ;
7510 int ecode2 = 0 ;
7511 PyObject * obj0 = 0 ;
7512 PyObject * obj1 = 0 ;
7513 char * kwnames[] = {
7514 (char *) "self",(char *) "column", NULL
7515 };
7516
7517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7519 if (!SWIG_IsOK(res1)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7521 }
7522 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7523 ecode2 = SWIG_AsVal_int(obj1, &val2);
7524 if (!SWIG_IsOK(ecode2)) {
7525 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7526 }
7527 arg2 = static_cast< int >(val2);
7528 {
7529 PyThreadState* __tstate = wxPyBeginAllowThreads();
7530 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7531 wxPyEndAllowThreads(__tstate);
7532 if (PyErr_Occurred()) SWIG_fail;
7533 }
7534 {
7535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7536 }
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj = 0;
7545 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7546 wxTreeItemId *arg2 = 0 ;
7547 int arg3 = (int) -1 ;
7548 wxString result;
7549 void *argp1 = 0 ;
7550 int res1 = 0 ;
7551 void *argp2 = 0 ;
7552 int res2 = 0 ;
7553 int val3 ;
7554 int ecode3 = 0 ;
7555 PyObject * obj0 = 0 ;
7556 PyObject * obj1 = 0 ;
7557 PyObject * obj2 = 0 ;
7558 char * kwnames[] = {
7559 (char *) "self",(char *) "item",(char *) "column", NULL
7560 };
7561
7562 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7563 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7564 if (!SWIG_IsOK(res1)) {
7565 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7566 }
7567 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7568 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7569 if (!SWIG_IsOK(res2)) {
7570 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7571 }
7572 if (!argp2) {
7573 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7574 }
7575 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7576 if (obj2) {
7577 ecode3 = SWIG_AsVal_int(obj2, &val3);
7578 if (!SWIG_IsOK(ecode3)) {
7579 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7580 }
7581 arg3 = static_cast< int >(val3);
7582 }
7583 {
7584 PyThreadState* __tstate = wxPyBeginAllowThreads();
7585 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7586 wxPyEndAllowThreads(__tstate);
7587 if (PyErr_Occurred()) SWIG_fail;
7588 }
7589 {
7590 #if wxUSE_UNICODE
7591 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7592 #else
7593 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7594 #endif
7595 }
7596 return resultobj;
7597 fail:
7598 return NULL;
7599 }
7600
7601
7602 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj = 0;
7604 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7605 wxTreeItemId *arg2 = 0 ;
7606 int arg3 = (int) -1 ;
7607 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7608 int result;
7609 void *argp1 = 0 ;
7610 int res1 = 0 ;
7611 void *argp2 = 0 ;
7612 int res2 = 0 ;
7613 int val3 ;
7614 int ecode3 = 0 ;
7615 int val4 ;
7616 int ecode4 = 0 ;
7617 PyObject * obj0 = 0 ;
7618 PyObject * obj1 = 0 ;
7619 PyObject * obj2 = 0 ;
7620 PyObject * obj3 = 0 ;
7621 char * kwnames[] = {
7622 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7623 };
7624
7625 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7626 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7627 if (!SWIG_IsOK(res1)) {
7628 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7629 }
7630 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7631 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7632 if (!SWIG_IsOK(res2)) {
7633 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7634 }
7635 if (!argp2) {
7636 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7637 }
7638 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7639 if (obj2) {
7640 ecode3 = SWIG_AsVal_int(obj2, &val3);
7641 if (!SWIG_IsOK(ecode3)) {
7642 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7643 }
7644 arg3 = static_cast< int >(val3);
7645 }
7646 if (obj3) {
7647 ecode4 = SWIG_AsVal_int(obj3, &val4);
7648 if (!SWIG_IsOK(ecode4)) {
7649 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7650 }
7651 arg4 = static_cast< wxTreeItemIcon >(val4);
7652 }
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 resultobj = SWIG_From_int(static_cast< int >(result));
7660 return resultobj;
7661 fail:
7662 return NULL;
7663 }
7664
7665
7666 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj = 0;
7668 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7669 wxTreeItemId *arg2 = 0 ;
7670 wxString *arg3 = 0 ;
7671 int arg4 = (int) -1 ;
7672 void *argp1 = 0 ;
7673 int res1 = 0 ;
7674 void *argp2 = 0 ;
7675 int res2 = 0 ;
7676 bool temp3 = false ;
7677 int val4 ;
7678 int ecode4 = 0 ;
7679 PyObject * obj0 = 0 ;
7680 PyObject * obj1 = 0 ;
7681 PyObject * obj2 = 0 ;
7682 PyObject * obj3 = 0 ;
7683 char * kwnames[] = {
7684 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7685 };
7686
7687 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7688 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7689 if (!SWIG_IsOK(res1)) {
7690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7691 }
7692 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7693 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7694 if (!SWIG_IsOK(res2)) {
7695 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7696 }
7697 if (!argp2) {
7698 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7699 }
7700 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7701 {
7702 arg3 = wxString_in_helper(obj2);
7703 if (arg3 == NULL) SWIG_fail;
7704 temp3 = true;
7705 }
7706 if (obj3) {
7707 ecode4 = SWIG_AsVal_int(obj3, &val4);
7708 if (!SWIG_IsOK(ecode4)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7710 }
7711 arg4 = static_cast< int >(val4);
7712 }
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7716 wxPyEndAllowThreads(__tstate);
7717 if (PyErr_Occurred()) SWIG_fail;
7718 }
7719 resultobj = SWIG_Py_Void();
7720 {
7721 if (temp3)
7722 delete arg3;
7723 }
7724 return resultobj;
7725 fail:
7726 {
7727 if (temp3)
7728 delete arg3;
7729 }
7730 return NULL;
7731 }
7732
7733
7734 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7735 PyObject *resultobj = 0;
7736 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7737 wxTreeItemId *arg2 = 0 ;
7738 int arg3 ;
7739 int arg4 = (int) -1 ;
7740 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7741 void *argp1 = 0 ;
7742 int res1 = 0 ;
7743 void *argp2 = 0 ;
7744 int res2 = 0 ;
7745 int val3 ;
7746 int ecode3 = 0 ;
7747 int val4 ;
7748 int ecode4 = 0 ;
7749 int val5 ;
7750 int ecode5 = 0 ;
7751 PyObject * obj0 = 0 ;
7752 PyObject * obj1 = 0 ;
7753 PyObject * obj2 = 0 ;
7754 PyObject * obj3 = 0 ;
7755 PyObject * obj4 = 0 ;
7756 char * kwnames[] = {
7757 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7758 };
7759
7760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7762 if (!SWIG_IsOK(res1)) {
7763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7764 }
7765 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7766 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7767 if (!SWIG_IsOK(res2)) {
7768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7769 }
7770 if (!argp2) {
7771 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7772 }
7773 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7774 ecode3 = SWIG_AsVal_int(obj2, &val3);
7775 if (!SWIG_IsOK(ecode3)) {
7776 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7777 }
7778 arg3 = static_cast< int >(val3);
7779 if (obj3) {
7780 ecode4 = SWIG_AsVal_int(obj3, &val4);
7781 if (!SWIG_IsOK(ecode4)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7783 }
7784 arg4 = static_cast< int >(val4);
7785 }
7786 if (obj4) {
7787 ecode5 = SWIG_AsVal_int(obj4, &val5);
7788 if (!SWIG_IsOK(ecode5)) {
7789 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7790 }
7791 arg5 = static_cast< wxTreeItemIcon >(val5);
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 resultobj = SWIG_Py_Void();
7800 return resultobj;
7801 fail:
7802 return NULL;
7803 }
7804
7805
7806 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj = 0;
7808 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7809 wxTreeItemId *arg2 = 0 ;
7810 wxPyTreeItemData *result = 0 ;
7811 void *argp1 = 0 ;
7812 int res1 = 0 ;
7813 void *argp2 = 0 ;
7814 int res2 = 0 ;
7815 PyObject * obj0 = 0 ;
7816 PyObject * obj1 = 0 ;
7817 char * kwnames[] = {
7818 (char *) "self",(char *) "item", NULL
7819 };
7820
7821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7823 if (!SWIG_IsOK(res1)) {
7824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7825 }
7826 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7827 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7828 if (!SWIG_IsOK(res2)) {
7829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7830 }
7831 if (!argp2) {
7832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7833 }
7834 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7842 return resultobj;
7843 fail:
7844 return NULL;
7845 }
7846
7847
7848 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj = 0;
7850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7851 wxTreeItemId *arg2 = 0 ;
7852 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7853 void *argp1 = 0 ;
7854 int res1 = 0 ;
7855 void *argp2 = 0 ;
7856 int res2 = 0 ;
7857 int res3 = 0 ;
7858 PyObject * obj0 = 0 ;
7859 PyObject * obj1 = 0 ;
7860 PyObject * obj2 = 0 ;
7861 char * kwnames[] = {
7862 (char *) "self",(char *) "item",(char *) "data", NULL
7863 };
7864
7865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7867 if (!SWIG_IsOK(res1)) {
7868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7869 }
7870 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7871 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7872 if (!SWIG_IsOK(res2)) {
7873 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7874 }
7875 if (!argp2) {
7876 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7877 }
7878 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7879 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7880 if (!SWIG_IsOK(res3)) {
7881 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7882 }
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7886 wxPyEndAllowThreads(__tstate);
7887 if (PyErr_Occurred()) SWIG_fail;
7888 }
7889 resultobj = SWIG_Py_Void();
7890 return resultobj;
7891 fail:
7892 return NULL;
7893 }
7894
7895
7896 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7897 PyObject *resultobj = 0;
7898 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7899 wxTreeItemId *arg2 = 0 ;
7900 PyObject *result = 0 ;
7901 void *argp1 = 0 ;
7902 int res1 = 0 ;
7903 void *argp2 = 0 ;
7904 int res2 = 0 ;
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 char * kwnames[] = {
7908 (char *) "self",(char *) "item", NULL
7909 };
7910
7911 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7912 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7913 if (!SWIG_IsOK(res1)) {
7914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7915 }
7916 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7917 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7918 if (!SWIG_IsOK(res2)) {
7919 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7920 }
7921 if (!argp2) {
7922 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7923 }
7924 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7928 wxPyEndAllowThreads(__tstate);
7929 if (PyErr_Occurred()) SWIG_fail;
7930 }
7931 resultobj = result;
7932 return resultobj;
7933 fail:
7934 return NULL;
7935 }
7936
7937
7938 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7939 PyObject *resultobj = 0;
7940 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7941 wxTreeItemId *arg2 = 0 ;
7942 PyObject *arg3 = (PyObject *) 0 ;
7943 void *argp1 = 0 ;
7944 int res1 = 0 ;
7945 void *argp2 = 0 ;
7946 int res2 = 0 ;
7947 PyObject * obj0 = 0 ;
7948 PyObject * obj1 = 0 ;
7949 PyObject * obj2 = 0 ;
7950 char * kwnames[] = {
7951 (char *) "self",(char *) "item",(char *) "obj", NULL
7952 };
7953
7954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7956 if (!SWIG_IsOK(res1)) {
7957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7958 }
7959 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7960 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7961 if (!SWIG_IsOK(res2)) {
7962 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7963 }
7964 if (!argp2) {
7965 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7966 }
7967 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7968 arg3 = obj2;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7972 wxPyEndAllowThreads(__tstate);
7973 if (PyErr_Occurred()) SWIG_fail;
7974 }
7975 resultobj = SWIG_Py_Void();
7976 return resultobj;
7977 fail:
7978 return NULL;
7979 }
7980
7981
7982 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj = 0;
7984 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7985 wxTreeItemId *arg2 = 0 ;
7986 bool result;
7987 void *argp1 = 0 ;
7988 int res1 = 0 ;
7989 void *argp2 = 0 ;
7990 int res2 = 0 ;
7991 PyObject * obj0 = 0 ;
7992 PyObject * obj1 = 0 ;
7993 char * kwnames[] = {
7994 (char *) "self",(char *) "item", NULL
7995 };
7996
7997 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7998 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7999 if (!SWIG_IsOK(res1)) {
8000 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8001 }
8002 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8003 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8004 if (!SWIG_IsOK(res2)) {
8005 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8006 }
8007 if (!argp2) {
8008 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8009 }
8010 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8011 {
8012 PyThreadState* __tstate = wxPyBeginAllowThreads();
8013 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
8014 wxPyEndAllowThreads(__tstate);
8015 if (PyErr_Occurred()) SWIG_fail;
8016 }
8017 {
8018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8019 }
8020 return resultobj;
8021 fail:
8022 return NULL;
8023 }
8024
8025
8026 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8027 PyObject *resultobj = 0;
8028 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8029 wxTreeItemId *arg2 = 0 ;
8030 wxColour result;
8031 void *argp1 = 0 ;
8032 int res1 = 0 ;
8033 void *argp2 = 0 ;
8034 int res2 = 0 ;
8035 PyObject * obj0 = 0 ;
8036 PyObject * obj1 = 0 ;
8037 char * kwnames[] = {
8038 (char *) "self",(char *) "item", NULL
8039 };
8040
8041 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8042 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8043 if (!SWIG_IsOK(res1)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8045 }
8046 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8047 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8048 if (!SWIG_IsOK(res2)) {
8049 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8050 }
8051 if (!argp2) {
8052 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8053 }
8054 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8062 return resultobj;
8063 fail:
8064 return NULL;
8065 }
8066
8067
8068 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj = 0;
8070 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8071 wxTreeItemId *arg2 = 0 ;
8072 wxColour result;
8073 void *argp1 = 0 ;
8074 int res1 = 0 ;
8075 void *argp2 = 0 ;
8076 int res2 = 0 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 char * kwnames[] = {
8080 (char *) "self",(char *) "item", NULL
8081 };
8082
8083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8085 if (!SWIG_IsOK(res1)) {
8086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8087 }
8088 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8089 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8090 if (!SWIG_IsOK(res2)) {
8091 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8092 }
8093 if (!argp2) {
8094 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8095 }
8096 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8097 {
8098 PyThreadState* __tstate = wxPyBeginAllowThreads();
8099 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8104 return resultobj;
8105 fail:
8106 return NULL;
8107 }
8108
8109
8110 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj = 0;
8112 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8113 wxTreeItemId *arg2 = 0 ;
8114 wxFont result;
8115 void *argp1 = 0 ;
8116 int res1 = 0 ;
8117 void *argp2 = 0 ;
8118 int res2 = 0 ;
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char * kwnames[] = {
8122 (char *) "self",(char *) "item", NULL
8123 };
8124
8125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8127 if (!SWIG_IsOK(res1)) {
8128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8129 }
8130 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8131 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8132 if (!SWIG_IsOK(res2)) {
8133 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8134 }
8135 if (!argp2) {
8136 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8137 }
8138 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8139 {
8140 PyThreadState* __tstate = wxPyBeginAllowThreads();
8141 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8142 wxPyEndAllowThreads(__tstate);
8143 if (PyErr_Occurred()) SWIG_fail;
8144 }
8145 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8146 return resultobj;
8147 fail:
8148 return NULL;
8149 }
8150
8151
8152 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8153 PyObject *resultobj = 0;
8154 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8155 wxTreeItemId *arg2 = 0 ;
8156 bool arg3 = (bool) true ;
8157 void *argp1 = 0 ;
8158 int res1 = 0 ;
8159 void *argp2 = 0 ;
8160 int res2 = 0 ;
8161 bool val3 ;
8162 int ecode3 = 0 ;
8163 PyObject * obj0 = 0 ;
8164 PyObject * obj1 = 0 ;
8165 PyObject * obj2 = 0 ;
8166 char * kwnames[] = {
8167 (char *) "self",(char *) "item",(char *) "has", NULL
8168 };
8169
8170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8172 if (!SWIG_IsOK(res1)) {
8173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8174 }
8175 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8176 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8177 if (!SWIG_IsOK(res2)) {
8178 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8179 }
8180 if (!argp2) {
8181 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8182 }
8183 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8184 if (obj2) {
8185 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8186 if (!SWIG_IsOK(ecode3)) {
8187 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8188 }
8189 arg3 = static_cast< bool >(val3);
8190 }
8191 {
8192 PyThreadState* __tstate = wxPyBeginAllowThreads();
8193 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = SWIG_Py_Void();
8198 return resultobj;
8199 fail:
8200 return NULL;
8201 }
8202
8203
8204 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj = 0;
8206 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8207 wxTreeItemId *arg2 = 0 ;
8208 bool arg3 = (bool) true ;
8209 void *argp1 = 0 ;
8210 int res1 = 0 ;
8211 void *argp2 = 0 ;
8212 int res2 = 0 ;
8213 bool val3 ;
8214 int ecode3 = 0 ;
8215 PyObject * obj0 = 0 ;
8216 PyObject * obj1 = 0 ;
8217 PyObject * obj2 = 0 ;
8218 char * kwnames[] = {
8219 (char *) "self",(char *) "item",(char *) "bold", NULL
8220 };
8221
8222 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8223 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8224 if (!SWIG_IsOK(res1)) {
8225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8226 }
8227 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8228 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8229 if (!SWIG_IsOK(res2)) {
8230 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8231 }
8232 if (!argp2) {
8233 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8234 }
8235 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8236 if (obj2) {
8237 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8238 if (!SWIG_IsOK(ecode3)) {
8239 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8240 }
8241 arg3 = static_cast< bool >(val3);
8242 }
8243 {
8244 PyThreadState* __tstate = wxPyBeginAllowThreads();
8245 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
8246 wxPyEndAllowThreads(__tstate);
8247 if (PyErr_Occurred()) SWIG_fail;
8248 }
8249 resultobj = SWIG_Py_Void();
8250 return resultobj;
8251 fail:
8252 return NULL;
8253 }
8254
8255
8256 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8257 PyObject *resultobj = 0;
8258 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8259 wxTreeItemId *arg2 = 0 ;
8260 wxColour *arg3 = 0 ;
8261 void *argp1 = 0 ;
8262 int res1 = 0 ;
8263 void *argp2 = 0 ;
8264 int res2 = 0 ;
8265 wxColour temp3 ;
8266 PyObject * obj0 = 0 ;
8267 PyObject * obj1 = 0 ;
8268 PyObject * obj2 = 0 ;
8269 char * kwnames[] = {
8270 (char *) "self",(char *) "item",(char *) "colour", NULL
8271 };
8272
8273 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8274 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8275 if (!SWIG_IsOK(res1)) {
8276 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8277 }
8278 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8279 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8280 if (!SWIG_IsOK(res2)) {
8281 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8282 }
8283 if (!argp2) {
8284 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8285 }
8286 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8287 {
8288 arg3 = &temp3;
8289 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8290 }
8291 {
8292 PyThreadState* __tstate = wxPyBeginAllowThreads();
8293 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 resultobj = SWIG_Py_Void();
8298 return resultobj;
8299 fail:
8300 return NULL;
8301 }
8302
8303
8304 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj = 0;
8306 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8307 wxTreeItemId *arg2 = 0 ;
8308 wxColour *arg3 = 0 ;
8309 void *argp1 = 0 ;
8310 int res1 = 0 ;
8311 void *argp2 = 0 ;
8312 int res2 = 0 ;
8313 wxColour temp3 ;
8314 PyObject * obj0 = 0 ;
8315 PyObject * obj1 = 0 ;
8316 PyObject * obj2 = 0 ;
8317 char * kwnames[] = {
8318 (char *) "self",(char *) "item",(char *) "colour", NULL
8319 };
8320
8321 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8322 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8323 if (!SWIG_IsOK(res1)) {
8324 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8325 }
8326 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8327 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8328 if (!SWIG_IsOK(res2)) {
8329 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8330 }
8331 if (!argp2) {
8332 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8333 }
8334 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8335 {
8336 arg3 = &temp3;
8337 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8338 }
8339 {
8340 PyThreadState* __tstate = wxPyBeginAllowThreads();
8341 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8342 wxPyEndAllowThreads(__tstate);
8343 if (PyErr_Occurred()) SWIG_fail;
8344 }
8345 resultobj = SWIG_Py_Void();
8346 return resultobj;
8347 fail:
8348 return NULL;
8349 }
8350
8351
8352 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8353 PyObject *resultobj = 0;
8354 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8355 wxTreeItemId *arg2 = 0 ;
8356 wxFont *arg3 = 0 ;
8357 void *argp1 = 0 ;
8358 int res1 = 0 ;
8359 void *argp2 = 0 ;
8360 int res2 = 0 ;
8361 void *argp3 = 0 ;
8362 int res3 = 0 ;
8363 PyObject * obj0 = 0 ;
8364 PyObject * obj1 = 0 ;
8365 PyObject * obj2 = 0 ;
8366 char * kwnames[] = {
8367 (char *) "self",(char *) "item",(char *) "font", NULL
8368 };
8369
8370 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8371 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8372 if (!SWIG_IsOK(res1)) {
8373 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8374 }
8375 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8376 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8377 if (!SWIG_IsOK(res2)) {
8378 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8379 }
8380 if (!argp2) {
8381 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8382 }
8383 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8384 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8385 if (!SWIG_IsOK(res3)) {
8386 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8387 }
8388 if (!argp3) {
8389 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8390 }
8391 arg3 = reinterpret_cast< wxFont * >(argp3);
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = SWIG_Py_Void();
8399 return resultobj;
8400 fail:
8401 return NULL;
8402 }
8403
8404
8405 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj = 0;
8407 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8408 wxTreeItemId *arg2 = 0 ;
8409 bool result;
8410 void *argp1 = 0 ;
8411 int res1 = 0 ;
8412 void *argp2 = 0 ;
8413 int res2 = 0 ;
8414 PyObject * obj0 = 0 ;
8415 PyObject * obj1 = 0 ;
8416 char * kwnames[] = {
8417 (char *) "self",(char *) "item", NULL
8418 };
8419
8420 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8421 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8422 if (!SWIG_IsOK(res1)) {
8423 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8424 }
8425 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8426 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8427 if (!SWIG_IsOK(res2)) {
8428 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8429 }
8430 if (!argp2) {
8431 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8432 }
8433 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8437 wxPyEndAllowThreads(__tstate);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 }
8440 {
8441 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8442 }
8443 return resultobj;
8444 fail:
8445 return NULL;
8446 }
8447
8448
8449 SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8450 PyObject *resultobj = 0;
8451 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8452 wxTreeItemId *arg2 = 0 ;
8453 bool result;
8454 void *argp1 = 0 ;
8455 int res1 = 0 ;
8456 void *argp2 = 0 ;
8457 int res2 = 0 ;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 char * kwnames[] = {
8461 (char *) "self",(char *) "item", NULL
8462 };
8463
8464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8466 if (!SWIG_IsOK(res1)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8468 }
8469 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8470 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8471 if (!SWIG_IsOK(res2)) {
8472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8473 }
8474 if (!argp2) {
8475 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8476 }
8477 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8478 {
8479 PyThreadState* __tstate = wxPyBeginAllowThreads();
8480 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 {
8485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8486 }
8487 return resultobj;
8488 fail:
8489 return NULL;
8490 }
8491
8492
8493 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8494 PyObject *resultobj = 0;
8495 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8496 wxTreeItemId *arg2 = 0 ;
8497 bool result;
8498 void *argp1 = 0 ;
8499 int res1 = 0 ;
8500 void *argp2 = 0 ;
8501 int res2 = 0 ;
8502 PyObject * obj0 = 0 ;
8503 PyObject * obj1 = 0 ;
8504 char * kwnames[] = {
8505 (char *) "self",(char *) "item", NULL
8506 };
8507
8508 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8509 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8510 if (!SWIG_IsOK(res1)) {
8511 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8512 }
8513 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8514 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8515 if (!SWIG_IsOK(res2)) {
8516 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8517 }
8518 if (!argp2) {
8519 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8520 }
8521 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8525 wxPyEndAllowThreads(__tstate);
8526 if (PyErr_Occurred()) SWIG_fail;
8527 }
8528 {
8529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8530 }
8531 return resultobj;
8532 fail:
8533 return NULL;
8534 }
8535
8536
8537 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8538 PyObject *resultobj = 0;
8539 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8540 wxTreeItemId *arg2 = 0 ;
8541 bool result;
8542 void *argp1 = 0 ;
8543 int res1 = 0 ;
8544 void *argp2 = 0 ;
8545 int res2 = 0 ;
8546 PyObject * obj0 = 0 ;
8547 PyObject * obj1 = 0 ;
8548 char * kwnames[] = {
8549 (char *) "self",(char *) "item", NULL
8550 };
8551
8552 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8553 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8554 if (!SWIG_IsOK(res1)) {
8555 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8556 }
8557 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8558 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8559 if (!SWIG_IsOK(res2)) {
8560 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8561 }
8562 if (!argp2) {
8563 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8564 }
8565 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8569 wxPyEndAllowThreads(__tstate);
8570 if (PyErr_Occurred()) SWIG_fail;
8571 }
8572 {
8573 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8574 }
8575 return resultobj;
8576 fail:
8577 return NULL;
8578 }
8579
8580
8581 SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8582 PyObject *resultobj = 0;
8583 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8584 wxTreeItemId *arg2 = 0 ;
8585 bool result;
8586 void *argp1 = 0 ;
8587 int res1 = 0 ;
8588 void *argp2 = 0 ;
8589 int res2 = 0 ;
8590 PyObject * obj0 = 0 ;
8591 PyObject * obj1 = 0 ;
8592 char * kwnames[] = {
8593 (char *) "self",(char *) "item", NULL
8594 };
8595
8596 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8597 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8598 if (!SWIG_IsOK(res1)) {
8599 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8600 }
8601 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8602 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8603 if (!SWIG_IsOK(res2)) {
8604 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8605 }
8606 if (!argp2) {
8607 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8608 }
8609 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8610 {
8611 PyThreadState* __tstate = wxPyBeginAllowThreads();
8612 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 {
8617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8618 }
8619 return resultobj;
8620 fail:
8621 return NULL;
8622 }
8623
8624
8625 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8626 PyObject *resultobj = 0;
8627 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8628 wxTreeItemId *arg2 = 0 ;
8629 bool arg3 = (bool) true ;
8630 size_t result;
8631 void *argp1 = 0 ;
8632 int res1 = 0 ;
8633 void *argp2 = 0 ;
8634 int res2 = 0 ;
8635 bool val3 ;
8636 int ecode3 = 0 ;
8637 PyObject * obj0 = 0 ;
8638 PyObject * obj1 = 0 ;
8639 PyObject * obj2 = 0 ;
8640 char * kwnames[] = {
8641 (char *) "self",(char *) "item",(char *) "recursively", NULL
8642 };
8643
8644 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8645 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8646 if (!SWIG_IsOK(res1)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8648 }
8649 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8650 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8651 if (!SWIG_IsOK(res2)) {
8652 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8653 }
8654 if (!argp2) {
8655 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8656 }
8657 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8658 if (obj2) {
8659 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8660 if (!SWIG_IsOK(ecode3)) {
8661 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8662 }
8663 arg3 = static_cast< bool >(val3);
8664 }
8665 {
8666 PyThreadState* __tstate = wxPyBeginAllowThreads();
8667 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8668 wxPyEndAllowThreads(__tstate);
8669 if (PyErr_Occurred()) SWIG_fail;
8670 }
8671 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8672 return resultobj;
8673 fail:
8674 return NULL;
8675 }
8676
8677
8678 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8679 PyObject *resultobj = 0;
8680 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8681 wxTreeItemId result;
8682 void *argp1 = 0 ;
8683 int res1 = 0 ;
8684 PyObject *swig_obj[1] ;
8685
8686 if (!args) SWIG_fail;
8687 swig_obj[0] = args;
8688 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8689 if (!SWIG_IsOK(res1)) {
8690 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8691 }
8692 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
8699 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8700 return resultobj;
8701 fail:
8702 return NULL;
8703 }
8704
8705
8706 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8707 PyObject *resultobj = 0;
8708 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8709 wxTreeItemId result;
8710 void *argp1 = 0 ;
8711 int res1 = 0 ;
8712 PyObject *swig_obj[1] ;
8713
8714 if (!args) SWIG_fail;
8715 swig_obj[0] = args;
8716 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8717 if (!SWIG_IsOK(res1)) {
8718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8719 }
8720 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8721 {
8722 PyThreadState* __tstate = wxPyBeginAllowThreads();
8723 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8728 return resultobj;
8729 fail:
8730 return NULL;
8731 }
8732
8733
8734 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8735 PyObject *resultobj = 0;
8736 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8737 PyObject *result = 0 ;
8738 void *argp1 = 0 ;
8739 int res1 = 0 ;
8740 PyObject *swig_obj[1] ;
8741
8742 if (!args) SWIG_fail;
8743 swig_obj[0] = args;
8744 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8745 if (!SWIG_IsOK(res1)) {
8746 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8747 }
8748 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8749 {
8750 PyThreadState* __tstate = wxPyBeginAllowThreads();
8751 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8752 wxPyEndAllowThreads(__tstate);
8753 if (PyErr_Occurred()) SWIG_fail;
8754 }
8755 resultobj = result;
8756 return resultobj;
8757 fail:
8758 return NULL;
8759 }
8760
8761
8762 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8763 PyObject *resultobj = 0;
8764 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8765 wxTreeItemId *arg2 = 0 ;
8766 wxTreeItemId result;
8767 void *argp1 = 0 ;
8768 int res1 = 0 ;
8769 void *argp2 = 0 ;
8770 int res2 = 0 ;
8771 PyObject * obj0 = 0 ;
8772 PyObject * obj1 = 0 ;
8773 char * kwnames[] = {
8774 (char *) "self",(char *) "item", NULL
8775 };
8776
8777 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8778 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8779 if (!SWIG_IsOK(res1)) {
8780 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8781 }
8782 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8783 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8784 if (!SWIG_IsOK(res2)) {
8785 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8786 }
8787 if (!argp2) {
8788 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8789 }
8790 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8791 {
8792 PyThreadState* __tstate = wxPyBeginAllowThreads();
8793 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8798 return resultobj;
8799 fail:
8800 return NULL;
8801 }
8802
8803
8804 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj = 0;
8806 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8807 wxTreeItemId *arg2 = 0 ;
8808 PyObject *result = 0 ;
8809 void *argp1 = 0 ;
8810 int res1 = 0 ;
8811 void *argp2 = 0 ;
8812 int res2 = 0 ;
8813 PyObject * obj0 = 0 ;
8814 PyObject * obj1 = 0 ;
8815 char * kwnames[] = {
8816 (char *) "self",(char *) "item", NULL
8817 };
8818
8819 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8820 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8821 if (!SWIG_IsOK(res1)) {
8822 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8823 }
8824 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8825 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8826 if (!SWIG_IsOK(res2)) {
8827 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8828 }
8829 if (!argp2) {
8830 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8831 }
8832 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8833 {
8834 PyThreadState* __tstate = wxPyBeginAllowThreads();
8835 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8836 wxPyEndAllowThreads(__tstate);
8837 if (PyErr_Occurred()) SWIG_fail;
8838 }
8839 resultobj = result;
8840 return resultobj;
8841 fail:
8842 return NULL;
8843 }
8844
8845
8846 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8847 PyObject *resultobj = 0;
8848 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8849 wxTreeItemId *arg2 = 0 ;
8850 void *arg3 = (void *) 0 ;
8851 PyObject *result = 0 ;
8852 void *argp1 = 0 ;
8853 int res1 = 0 ;
8854 void *argp2 = 0 ;
8855 int res2 = 0 ;
8856 int res3 ;
8857 PyObject * obj0 = 0 ;
8858 PyObject * obj1 = 0 ;
8859 PyObject * obj2 = 0 ;
8860 char * kwnames[] = {
8861 (char *) "self",(char *) "item",(char *) "cookie", NULL
8862 };
8863
8864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8866 if (!SWIG_IsOK(res1)) {
8867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8868 }
8869 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8870 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8871 if (!SWIG_IsOK(res2)) {
8872 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8873 }
8874 if (!argp2) {
8875 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8876 }
8877 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8878 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8879 if (!SWIG_IsOK(res3)) {
8880 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8881 }
8882 {
8883 PyThreadState* __tstate = wxPyBeginAllowThreads();
8884 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8885 wxPyEndAllowThreads(__tstate);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 }
8888 resultobj = result;
8889 return resultobj;
8890 fail:
8891 return NULL;
8892 }
8893
8894
8895 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8896 PyObject *resultobj = 0;
8897 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8898 wxTreeItemId *arg2 = 0 ;
8899 PyObject *result = 0 ;
8900 void *argp1 = 0 ;
8901 int res1 = 0 ;
8902 void *argp2 = 0 ;
8903 int res2 = 0 ;
8904 PyObject * obj0 = 0 ;
8905 PyObject * obj1 = 0 ;
8906 char * kwnames[] = {
8907 (char *) "self",(char *) "item", NULL
8908 };
8909
8910 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8911 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8912 if (!SWIG_IsOK(res1)) {
8913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8914 }
8915 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8916 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8917 if (!SWIG_IsOK(res2)) {
8918 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8919 }
8920 if (!argp2) {
8921 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8922 }
8923 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8927 wxPyEndAllowThreads(__tstate);
8928 if (PyErr_Occurred()) SWIG_fail;
8929 }
8930 resultobj = result;
8931 return resultobj;
8932 fail:
8933 return NULL;
8934 }
8935
8936
8937 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8938 PyObject *resultobj = 0;
8939 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8940 wxTreeItemId *arg2 = 0 ;
8941 void *arg3 = (void *) 0 ;
8942 PyObject *result = 0 ;
8943 void *argp1 = 0 ;
8944 int res1 = 0 ;
8945 void *argp2 = 0 ;
8946 int res2 = 0 ;
8947 int res3 ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 PyObject * obj2 = 0 ;
8951 char * kwnames[] = {
8952 (char *) "self",(char *) "item",(char *) "cookie", NULL
8953 };
8954
8955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8957 if (!SWIG_IsOK(res1)) {
8958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8959 }
8960 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8961 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8962 if (!SWIG_IsOK(res2)) {
8963 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8964 }
8965 if (!argp2) {
8966 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8967 }
8968 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8969 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8970 if (!SWIG_IsOK(res3)) {
8971 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8972 }
8973 {
8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
8975 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 resultobj = result;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983 }
8984
8985
8986 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj = 0;
8988 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8989 wxTreeItemId *arg2 = 0 ;
8990 wxTreeItemId result;
8991 void *argp1 = 0 ;
8992 int res1 = 0 ;
8993 void *argp2 = 0 ;
8994 int res2 = 0 ;
8995 PyObject * obj0 = 0 ;
8996 PyObject * obj1 = 0 ;
8997 char * kwnames[] = {
8998 (char *) "self",(char *) "item", NULL
8999 };
9000
9001 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9002 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9003 if (!SWIG_IsOK(res1)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9005 }
9006 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9007 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9008 if (!SWIG_IsOK(res2)) {
9009 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9010 }
9011 if (!argp2) {
9012 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9013 }
9014 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9015 {
9016 PyThreadState* __tstate = wxPyBeginAllowThreads();
9017 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9018 wxPyEndAllowThreads(__tstate);
9019 if (PyErr_Occurred()) SWIG_fail;
9020 }
9021 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9022 return resultobj;
9023 fail:
9024 return NULL;
9025 }
9026
9027
9028 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9029 PyObject *resultobj = 0;
9030 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9031 wxTreeItemId *arg2 = 0 ;
9032 wxTreeItemId result;
9033 void *argp1 = 0 ;
9034 int res1 = 0 ;
9035 void *argp2 = 0 ;
9036 int res2 = 0 ;
9037 PyObject * obj0 = 0 ;
9038 PyObject * obj1 = 0 ;
9039 char * kwnames[] = {
9040 (char *) "self",(char *) "item", NULL
9041 };
9042
9043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9045 if (!SWIG_IsOK(res1)) {
9046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9047 }
9048 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9050 if (!SWIG_IsOK(res2)) {
9051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9052 }
9053 if (!argp2) {
9054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9055 }
9056 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9057 {
9058 PyThreadState* __tstate = wxPyBeginAllowThreads();
9059 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9060 wxPyEndAllowThreads(__tstate);
9061 if (PyErr_Occurred()) SWIG_fail;
9062 }
9063 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9064 return resultobj;
9065 fail:
9066 return NULL;
9067 }
9068
9069
9070 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9071 PyObject *resultobj = 0;
9072 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9073 wxTreeItemId *arg2 = 0 ;
9074 wxTreeItemId result;
9075 void *argp1 = 0 ;
9076 int res1 = 0 ;
9077 void *argp2 = 0 ;
9078 int res2 = 0 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 char * kwnames[] = {
9082 (char *) "self",(char *) "item", NULL
9083 };
9084
9085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9087 if (!SWIG_IsOK(res1)) {
9088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9089 }
9090 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9092 if (!SWIG_IsOK(res2)) {
9093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9094 }
9095 if (!argp2) {
9096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9097 }
9098 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9106 return resultobj;
9107 fail:
9108 return NULL;
9109 }
9110
9111
9112 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9113 PyObject *resultobj = 0;
9114 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9115 wxTreeItemId *arg2 = 0 ;
9116 wxTreeItemId result;
9117 void *argp1 = 0 ;
9118 int res1 = 0 ;
9119 void *argp2 = 0 ;
9120 int res2 = 0 ;
9121 PyObject * obj0 = 0 ;
9122 PyObject * obj1 = 0 ;
9123 char * kwnames[] = {
9124 (char *) "self",(char *) "item", NULL
9125 };
9126
9127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
9128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9129 if (!SWIG_IsOK(res1)) {
9130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9131 }
9132 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9134 if (!SWIG_IsOK(res2)) {
9135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9136 }
9137 if (!argp2) {
9138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9139 }
9140 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9141 {
9142 PyThreadState* __tstate = wxPyBeginAllowThreads();
9143 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
9147 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9148 return resultobj;
9149 fail:
9150 return NULL;
9151 }
9152
9153
9154 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9155 PyObject *resultobj = 0;
9156 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9157 wxTreeItemId result;
9158 void *argp1 = 0 ;
9159 int res1 = 0 ;
9160 PyObject *swig_obj[1] ;
9161
9162 if (!args) SWIG_fail;
9163 swig_obj[0] = args;
9164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9165 if (!SWIG_IsOK(res1)) {
9166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9167 }
9168 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9169 {
9170 PyThreadState* __tstate = wxPyBeginAllowThreads();
9171 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
9172 wxPyEndAllowThreads(__tstate);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 }
9175 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9176 return resultobj;
9177 fail:
9178 return NULL;
9179 }
9180
9181
9182 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9183 PyObject *resultobj = 0;
9184 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9185 wxTreeItemId *arg2 = 0 ;
9186 wxTreeItemId result;
9187 void *argp1 = 0 ;
9188 int res1 = 0 ;
9189 void *argp2 = 0 ;
9190 int res2 = 0 ;
9191 PyObject * obj0 = 0 ;
9192 PyObject * obj1 = 0 ;
9193 char * kwnames[] = {
9194 (char *) "self",(char *) "item", NULL
9195 };
9196
9197 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9198 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9199 if (!SWIG_IsOK(res1)) {
9200 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9201 }
9202 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9203 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9204 if (!SWIG_IsOK(res2)) {
9205 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9206 }
9207 if (!argp2) {
9208 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9209 }
9210 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
9214 wxPyEndAllowThreads(__tstate);
9215 if (PyErr_Occurred()) SWIG_fail;
9216 }
9217 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9218 return resultobj;
9219 fail:
9220 return NULL;
9221 }
9222
9223
9224 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9225 PyObject *resultobj = 0;
9226 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9227 wxTreeItemId *arg2 = 0 ;
9228 wxTreeItemId result;
9229 void *argp1 = 0 ;
9230 int res1 = 0 ;
9231 void *argp2 = 0 ;
9232 int res2 = 0 ;
9233 PyObject * obj0 = 0 ;
9234 PyObject * obj1 = 0 ;
9235 char * kwnames[] = {
9236 (char *) "self",(char *) "item", NULL
9237 };
9238
9239 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9240 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9241 if (!SWIG_IsOK(res1)) {
9242 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9243 }
9244 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9245 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9246 if (!SWIG_IsOK(res2)) {
9247 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9248 }
9249 if (!argp2) {
9250 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9251 }
9252 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9253 {
9254 PyThreadState* __tstate = wxPyBeginAllowThreads();
9255 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
9256 wxPyEndAllowThreads(__tstate);
9257 if (PyErr_Occurred()) SWIG_fail;
9258 }
9259 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9260 return resultobj;
9261 fail:
9262 return NULL;
9263 }
9264
9265
9266 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9267 PyObject *resultobj = 0;
9268 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9269 bool arg2 = (bool) false ;
9270 wxTreeItemId result;
9271 void *argp1 = 0 ;
9272 int res1 = 0 ;
9273 bool val2 ;
9274 int ecode2 = 0 ;
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 char * kwnames[] = {
9278 (char *) "self",(char *) "fullRow", NULL
9279 };
9280
9281 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
9282 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9283 if (!SWIG_IsOK(res1)) {
9284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9285 }
9286 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9287 if (obj1) {
9288 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9289 if (!SWIG_IsOK(ecode2)) {
9290 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9291 }
9292 arg2 = static_cast< bool >(val2);
9293 }
9294 {
9295 PyThreadState* __tstate = wxPyBeginAllowThreads();
9296 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
9297 wxPyEndAllowThreads(__tstate);
9298 if (PyErr_Occurred()) SWIG_fail;
9299 }
9300 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9301 return resultobj;
9302 fail:
9303 return NULL;
9304 }
9305
9306
9307 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9308 PyObject *resultobj = 0;
9309 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9310 wxTreeItemId *arg2 = 0 ;
9311 bool arg3 = (bool) false ;
9312 wxTreeItemId result;
9313 void *argp1 = 0 ;
9314 int res1 = 0 ;
9315 void *argp2 = 0 ;
9316 int res2 = 0 ;
9317 bool val3 ;
9318 int ecode3 = 0 ;
9319 PyObject * obj0 = 0 ;
9320 PyObject * obj1 = 0 ;
9321 PyObject * obj2 = 0 ;
9322 char * kwnames[] = {
9323 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9324 };
9325
9326 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9327 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9328 if (!SWIG_IsOK(res1)) {
9329 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9330 }
9331 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9332 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9333 if (!SWIG_IsOK(res2)) {
9334 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9335 }
9336 if (!argp2) {
9337 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9338 }
9339 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9340 if (obj2) {
9341 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9342 if (!SWIG_IsOK(ecode3)) {
9343 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9344 }
9345 arg3 = static_cast< bool >(val3);
9346 }
9347 {
9348 PyThreadState* __tstate = wxPyBeginAllowThreads();
9349 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
9353 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9354 return resultobj;
9355 fail:
9356 return NULL;
9357 }
9358
9359
9360 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9361 PyObject *resultobj = 0;
9362 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9363 wxTreeItemId *arg2 = 0 ;
9364 bool arg3 = (bool) false ;
9365 wxTreeItemId result;
9366 void *argp1 = 0 ;
9367 int res1 = 0 ;
9368 void *argp2 = 0 ;
9369 int res2 = 0 ;
9370 bool val3 ;
9371 int ecode3 = 0 ;
9372 PyObject * obj0 = 0 ;
9373 PyObject * obj1 = 0 ;
9374 PyObject * obj2 = 0 ;
9375 char * kwnames[] = {
9376 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9377 };
9378
9379 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9380 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9381 if (!SWIG_IsOK(res1)) {
9382 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9383 }
9384 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9385 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9386 if (!SWIG_IsOK(res2)) {
9387 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9388 }
9389 if (!argp2) {
9390 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9391 }
9392 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9393 if (obj2) {
9394 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9395 if (!SWIG_IsOK(ecode3)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9397 }
9398 arg3 = static_cast< bool >(val3);
9399 }
9400 {
9401 PyThreadState* __tstate = wxPyBeginAllowThreads();
9402 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9407 return resultobj;
9408 fail:
9409 return NULL;
9410 }
9411
9412
9413 SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj = 0;
9415 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9416 wxString *arg2 = 0 ;
9417 int arg3 = (int) -1 ;
9418 int arg4 = (int) -1 ;
9419 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9420 wxTreeItemId result;
9421 void *argp1 = 0 ;
9422 int res1 = 0 ;
9423 bool temp2 = false ;
9424 int val3 ;
9425 int ecode3 = 0 ;
9426 int val4 ;
9427 int ecode4 = 0 ;
9428 int res5 = 0 ;
9429 PyObject * obj0 = 0 ;
9430 PyObject * obj1 = 0 ;
9431 PyObject * obj2 = 0 ;
9432 PyObject * obj3 = 0 ;
9433 PyObject * obj4 = 0 ;
9434 char * kwnames[] = {
9435 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9436 };
9437
9438 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9439 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9440 if (!SWIG_IsOK(res1)) {
9441 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9442 }
9443 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9444 {
9445 arg2 = wxString_in_helper(obj1);
9446 if (arg2 == NULL) SWIG_fail;
9447 temp2 = true;
9448 }
9449 if (obj2) {
9450 ecode3 = SWIG_AsVal_int(obj2, &val3);
9451 if (!SWIG_IsOK(ecode3)) {
9452 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9453 }
9454 arg3 = static_cast< int >(val3);
9455 }
9456 if (obj3) {
9457 ecode4 = SWIG_AsVal_int(obj3, &val4);
9458 if (!SWIG_IsOK(ecode4)) {
9459 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9460 }
9461 arg4 = static_cast< int >(val4);
9462 }
9463 if (obj4) {
9464 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9465 if (!SWIG_IsOK(res5)) {
9466 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9467 }
9468 }
9469 {
9470 PyThreadState* __tstate = wxPyBeginAllowThreads();
9471 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
9475 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 return resultobj;
9481 fail:
9482 {
9483 if (temp2)
9484 delete arg2;
9485 }
9486 return NULL;
9487 }
9488
9489
9490 SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9491 PyObject *resultobj = 0;
9492 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9493 wxTreeItemId *arg2 = 0 ;
9494 wxString *arg3 = 0 ;
9495 int arg4 = (int) -1 ;
9496 int arg5 = (int) -1 ;
9497 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9498 wxTreeItemId result;
9499 void *argp1 = 0 ;
9500 int res1 = 0 ;
9501 void *argp2 = 0 ;
9502 int res2 = 0 ;
9503 bool temp3 = false ;
9504 int val4 ;
9505 int ecode4 = 0 ;
9506 int val5 ;
9507 int ecode5 = 0 ;
9508 int res6 = 0 ;
9509 PyObject * obj0 = 0 ;
9510 PyObject * obj1 = 0 ;
9511 PyObject * obj2 = 0 ;
9512 PyObject * obj3 = 0 ;
9513 PyObject * obj4 = 0 ;
9514 PyObject * obj5 = 0 ;
9515 char * kwnames[] = {
9516 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9517 };
9518
9519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9521 if (!SWIG_IsOK(res1)) {
9522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9523 }
9524 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9525 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9526 if (!SWIG_IsOK(res2)) {
9527 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9528 }
9529 if (!argp2) {
9530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9531 }
9532 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9533 {
9534 arg3 = wxString_in_helper(obj2);
9535 if (arg3 == NULL) SWIG_fail;
9536 temp3 = true;
9537 }
9538 if (obj3) {
9539 ecode4 = SWIG_AsVal_int(obj3, &val4);
9540 if (!SWIG_IsOK(ecode4)) {
9541 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9542 }
9543 arg4 = static_cast< int >(val4);
9544 }
9545 if (obj4) {
9546 ecode5 = SWIG_AsVal_int(obj4, &val5);
9547 if (!SWIG_IsOK(ecode5)) {
9548 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9549 }
9550 arg5 = static_cast< int >(val5);
9551 }
9552 if (obj5) {
9553 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9554 if (!SWIG_IsOK(res6)) {
9555 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9556 }
9557 }
9558 {
9559 PyThreadState* __tstate = wxPyBeginAllowThreads();
9560 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9561 wxPyEndAllowThreads(__tstate);
9562 if (PyErr_Occurred()) SWIG_fail;
9563 }
9564 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9565 {
9566 if (temp3)
9567 delete arg3;
9568 }
9569 return resultobj;
9570 fail:
9571 {
9572 if (temp3)
9573 delete arg3;
9574 }
9575 return NULL;
9576 }
9577
9578
9579 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9580 PyObject *resultobj = 0;
9581 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9582 wxTreeItemId *arg2 = 0 ;
9583 wxTreeItemId *arg3 = 0 ;
9584 wxString *arg4 = 0 ;
9585 int arg5 = (int) -1 ;
9586 int arg6 = (int) -1 ;
9587 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9588 wxTreeItemId result;
9589 void *argp1 = 0 ;
9590 int res1 = 0 ;
9591 void *argp2 = 0 ;
9592 int res2 = 0 ;
9593 void *argp3 = 0 ;
9594 int res3 = 0 ;
9595 bool temp4 = false ;
9596 int val5 ;
9597 int ecode5 = 0 ;
9598 int val6 ;
9599 int ecode6 = 0 ;
9600 int res7 = 0 ;
9601 PyObject * obj0 = 0 ;
9602 PyObject * obj1 = 0 ;
9603 PyObject * obj2 = 0 ;
9604 PyObject * obj3 = 0 ;
9605 PyObject * obj4 = 0 ;
9606 PyObject * obj5 = 0 ;
9607 PyObject * obj6 = 0 ;
9608 char * kwnames[] = {
9609 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9610 };
9611
9612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9614 if (!SWIG_IsOK(res1)) {
9615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9616 }
9617 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9618 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9619 if (!SWIG_IsOK(res2)) {
9620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9621 }
9622 if (!argp2) {
9623 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9624 }
9625 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9626 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9627 if (!SWIG_IsOK(res3)) {
9628 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9629 }
9630 if (!argp3) {
9631 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9632 }
9633 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9634 {
9635 arg4 = wxString_in_helper(obj3);
9636 if (arg4 == NULL) SWIG_fail;
9637 temp4 = true;
9638 }
9639 if (obj4) {
9640 ecode5 = SWIG_AsVal_int(obj4, &val5);
9641 if (!SWIG_IsOK(ecode5)) {
9642 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9643 }
9644 arg5 = static_cast< int >(val5);
9645 }
9646 if (obj5) {
9647 ecode6 = SWIG_AsVal_int(obj5, &val6);
9648 if (!SWIG_IsOK(ecode6)) {
9649 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9650 }
9651 arg6 = static_cast< int >(val6);
9652 }
9653 if (obj6) {
9654 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9655 if (!SWIG_IsOK(res7)) {
9656 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9657 }
9658 }
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9662 wxPyEndAllowThreads(__tstate);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9666 {
9667 if (temp4)
9668 delete arg4;
9669 }
9670 return resultobj;
9671 fail:
9672 {
9673 if (temp4)
9674 delete arg4;
9675 }
9676 return NULL;
9677 }
9678
9679
9680 SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj = 0;
9682 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9683 wxTreeItemId *arg2 = 0 ;
9684 size_t arg3 ;
9685 wxString *arg4 = 0 ;
9686 int arg5 = (int) -1 ;
9687 int arg6 = (int) -1 ;
9688 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9689 wxTreeItemId result;
9690 void *argp1 = 0 ;
9691 int res1 = 0 ;
9692 void *argp2 = 0 ;
9693 int res2 = 0 ;
9694 size_t val3 ;
9695 int ecode3 = 0 ;
9696 bool temp4 = false ;
9697 int val5 ;
9698 int ecode5 = 0 ;
9699 int val6 ;
9700 int ecode6 = 0 ;
9701 int res7 = 0 ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj1 = 0 ;
9704 PyObject * obj2 = 0 ;
9705 PyObject * obj3 = 0 ;
9706 PyObject * obj4 = 0 ;
9707 PyObject * obj5 = 0 ;
9708 PyObject * obj6 = 0 ;
9709 char * kwnames[] = {
9710 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9711 };
9712
9713 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9714 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9715 if (!SWIG_IsOK(res1)) {
9716 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9717 }
9718 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9719 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9720 if (!SWIG_IsOK(res2)) {
9721 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9722 }
9723 if (!argp2) {
9724 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9725 }
9726 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9727 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9728 if (!SWIG_IsOK(ecode3)) {
9729 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9730 }
9731 arg3 = static_cast< size_t >(val3);
9732 {
9733 arg4 = wxString_in_helper(obj3);
9734 if (arg4 == NULL) SWIG_fail;
9735 temp4 = true;
9736 }
9737 if (obj4) {
9738 ecode5 = SWIG_AsVal_int(obj4, &val5);
9739 if (!SWIG_IsOK(ecode5)) {
9740 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9741 }
9742 arg5 = static_cast< int >(val5);
9743 }
9744 if (obj5) {
9745 ecode6 = SWIG_AsVal_int(obj5, &val6);
9746 if (!SWIG_IsOK(ecode6)) {
9747 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9748 }
9749 arg6 = static_cast< int >(val6);
9750 }
9751 if (obj6) {
9752 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9753 if (!SWIG_IsOK(res7)) {
9754 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9755 }
9756 }
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9760 wxPyEndAllowThreads(__tstate);
9761 if (PyErr_Occurred()) SWIG_fail;
9762 }
9763 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9764 {
9765 if (temp4)
9766 delete arg4;
9767 }
9768 return resultobj;
9769 fail:
9770 {
9771 if (temp4)
9772 delete arg4;
9773 }
9774 return NULL;
9775 }
9776
9777
9778 SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9779 PyObject *resultobj = 0;
9780 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9781 wxTreeItemId *arg2 = 0 ;
9782 wxString *arg3 = 0 ;
9783 int arg4 = (int) -1 ;
9784 int arg5 = (int) -1 ;
9785 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9786 wxTreeItemId result;
9787 void *argp1 = 0 ;
9788 int res1 = 0 ;
9789 void *argp2 = 0 ;
9790 int res2 = 0 ;
9791 bool temp3 = false ;
9792 int val4 ;
9793 int ecode4 = 0 ;
9794 int val5 ;
9795 int ecode5 = 0 ;
9796 int res6 = 0 ;
9797 PyObject * obj0 = 0 ;
9798 PyObject * obj1 = 0 ;
9799 PyObject * obj2 = 0 ;
9800 PyObject * obj3 = 0 ;
9801 PyObject * obj4 = 0 ;
9802 PyObject * obj5 = 0 ;
9803 char * kwnames[] = {
9804 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9805 };
9806
9807 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9808 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9809 if (!SWIG_IsOK(res1)) {
9810 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9811 }
9812 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9813 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9814 if (!SWIG_IsOK(res2)) {
9815 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9816 }
9817 if (!argp2) {
9818 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9819 }
9820 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9821 {
9822 arg3 = wxString_in_helper(obj2);
9823 if (arg3 == NULL) SWIG_fail;
9824 temp3 = true;
9825 }
9826 if (obj3) {
9827 ecode4 = SWIG_AsVal_int(obj3, &val4);
9828 if (!SWIG_IsOK(ecode4)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9830 }
9831 arg4 = static_cast< int >(val4);
9832 }
9833 if (obj4) {
9834 ecode5 = SWIG_AsVal_int(obj4, &val5);
9835 if (!SWIG_IsOK(ecode5)) {
9836 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9837 }
9838 arg5 = static_cast< int >(val5);
9839 }
9840 if (obj5) {
9841 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9842 if (!SWIG_IsOK(res6)) {
9843 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9844 }
9845 }
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9849 wxPyEndAllowThreads(__tstate);
9850 if (PyErr_Occurred()) SWIG_fail;
9851 }
9852 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9853 {
9854 if (temp3)
9855 delete arg3;
9856 }
9857 return resultobj;
9858 fail:
9859 {
9860 if (temp3)
9861 delete arg3;
9862 }
9863 return NULL;
9864 }
9865
9866
9867 SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9868 PyObject *resultobj = 0;
9869 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9870 wxTreeItemId *arg2 = 0 ;
9871 void *argp1 = 0 ;
9872 int res1 = 0 ;
9873 void *argp2 = 0 ;
9874 int res2 = 0 ;
9875 PyObject * obj0 = 0 ;
9876 PyObject * obj1 = 0 ;
9877 char * kwnames[] = {
9878 (char *) "self",(char *) "item", NULL
9879 };
9880
9881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9883 if (!SWIG_IsOK(res1)) {
9884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9885 }
9886 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9887 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9888 if (!SWIG_IsOK(res2)) {
9889 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9890 }
9891 if (!argp2) {
9892 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9893 }
9894 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9895 {
9896 PyThreadState* __tstate = wxPyBeginAllowThreads();
9897 (arg1)->Delete((wxTreeItemId const &)*arg2);
9898 wxPyEndAllowThreads(__tstate);
9899 if (PyErr_Occurred()) SWIG_fail;
9900 }
9901 resultobj = SWIG_Py_Void();
9902 return resultobj;
9903 fail:
9904 return NULL;
9905 }
9906
9907
9908 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9909 PyObject *resultobj = 0;
9910 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9911 wxTreeItemId *arg2 = 0 ;
9912 void *argp1 = 0 ;
9913 int res1 = 0 ;
9914 void *argp2 = 0 ;
9915 int res2 = 0 ;
9916 PyObject * obj0 = 0 ;
9917 PyObject * obj1 = 0 ;
9918 char * kwnames[] = {
9919 (char *) "self",(char *) "item", NULL
9920 };
9921
9922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9924 if (!SWIG_IsOK(res1)) {
9925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9926 }
9927 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9928 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9929 if (!SWIG_IsOK(res2)) {
9930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9931 }
9932 if (!argp2) {
9933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9934 }
9935 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 resultobj = SWIG_Py_Void();
9943 return resultobj;
9944 fail:
9945 return NULL;
9946 }
9947
9948
9949 SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9950 PyObject *resultobj = 0;
9951 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9952 void *argp1 = 0 ;
9953 int res1 = 0 ;
9954 PyObject *swig_obj[1] ;
9955
9956 if (!args) SWIG_fail;
9957 swig_obj[0] = args;
9958 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9959 if (!SWIG_IsOK(res1)) {
9960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9961 }
9962 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->DeleteRoot();
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = SWIG_Py_Void();
9970 return resultobj;
9971 fail:
9972 return NULL;
9973 }
9974
9975
9976 SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj = 0;
9978 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9979 wxTreeItemId *arg2 = 0 ;
9980 void *argp1 = 0 ;
9981 int res1 = 0 ;
9982 void *argp2 = 0 ;
9983 int res2 = 0 ;
9984 PyObject * obj0 = 0 ;
9985 PyObject * obj1 = 0 ;
9986 char * kwnames[] = {
9987 (char *) "self",(char *) "item", NULL
9988 };
9989
9990 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9991 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9992 if (!SWIG_IsOK(res1)) {
9993 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9994 }
9995 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9996 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9997 if (!SWIG_IsOK(res2)) {
9998 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9999 }
10000 if (!argp2) {
10001 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10002 }
10003 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 (arg1)->Expand((wxTreeItemId const &)*arg2);
10007 wxPyEndAllowThreads(__tstate);
10008 if (PyErr_Occurred()) SWIG_fail;
10009 }
10010 resultobj = SWIG_Py_Void();
10011 return resultobj;
10012 fail:
10013 return NULL;
10014 }
10015
10016
10017 SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10018 PyObject *resultobj = 0;
10019 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10020 wxTreeItemId *arg2 = 0 ;
10021 void *argp1 = 0 ;
10022 int res1 = 0 ;
10023 void *argp2 = 0 ;
10024 int res2 = 0 ;
10025 PyObject * obj0 = 0 ;
10026 PyObject * obj1 = 0 ;
10027 char * kwnames[] = {
10028 (char *) "self",(char *) "item", NULL
10029 };
10030
10031 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10032 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10033 if (!SWIG_IsOK(res1)) {
10034 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10035 }
10036 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10037 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10038 if (!SWIG_IsOK(res2)) {
10039 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10040 }
10041 if (!argp2) {
10042 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10043 }
10044 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10045 {
10046 PyThreadState* __tstate = wxPyBeginAllowThreads();
10047 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10048 wxPyEndAllowThreads(__tstate);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
10051 resultobj = SWIG_Py_Void();
10052 return resultobj;
10053 fail:
10054 return NULL;
10055 }
10056
10057
10058 SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10059 PyObject *resultobj = 0;
10060 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10061 wxTreeItemId *arg2 = 0 ;
10062 void *argp1 = 0 ;
10063 int res1 = 0 ;
10064 void *argp2 = 0 ;
10065 int res2 = 0 ;
10066 PyObject * obj0 = 0 ;
10067 PyObject * obj1 = 0 ;
10068 char * kwnames[] = {
10069 (char *) "self",(char *) "item", NULL
10070 };
10071
10072 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10073 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10074 if (!SWIG_IsOK(res1)) {
10075 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10076 }
10077 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10078 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10079 if (!SWIG_IsOK(res2)) {
10080 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10081 }
10082 if (!argp2) {
10083 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10084 }
10085 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10086 {
10087 PyThreadState* __tstate = wxPyBeginAllowThreads();
10088 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 resultobj = SWIG_Py_Void();
10093 return resultobj;
10094 fail:
10095 return NULL;
10096 }
10097
10098
10099 SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj = 0;
10101 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10102 wxTreeItemId *arg2 = 0 ;
10103 void *argp1 = 0 ;
10104 int res1 = 0 ;
10105 void *argp2 = 0 ;
10106 int res2 = 0 ;
10107 PyObject * obj0 = 0 ;
10108 PyObject * obj1 = 0 ;
10109 char * kwnames[] = {
10110 (char *) "self",(char *) "item", NULL
10111 };
10112
10113 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10114 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10115 if (!SWIG_IsOK(res1)) {
10116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10117 }
10118 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10119 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10120 if (!SWIG_IsOK(res2)) {
10121 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10122 }
10123 if (!argp2) {
10124 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10125 }
10126 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10127 {
10128 PyThreadState* __tstate = wxPyBeginAllowThreads();
10129 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10130 wxPyEndAllowThreads(__tstate);
10131 if (PyErr_Occurred()) SWIG_fail;
10132 }
10133 resultobj = SWIG_Py_Void();
10134 return resultobj;
10135 fail:
10136 return NULL;
10137 }
10138
10139
10140 SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10141 PyObject *resultobj = 0;
10142 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10143 wxTreeItemId *arg2 = 0 ;
10144 void *argp1 = 0 ;
10145 int res1 = 0 ;
10146 void *argp2 = 0 ;
10147 int res2 = 0 ;
10148 PyObject * obj0 = 0 ;
10149 PyObject * obj1 = 0 ;
10150 char * kwnames[] = {
10151 (char *) "self",(char *) "item", NULL
10152 };
10153
10154 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10155 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10156 if (!SWIG_IsOK(res1)) {
10157 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10158 }
10159 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10160 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10161 if (!SWIG_IsOK(res2)) {
10162 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10163 }
10164 if (!argp2) {
10165 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10166 }
10167 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10168 {
10169 PyThreadState* __tstate = wxPyBeginAllowThreads();
10170 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = SWIG_Py_Void();
10175 return resultobj;
10176 fail:
10177 return NULL;
10178 }
10179
10180
10181 SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10182 PyObject *resultobj = 0;
10183 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10184 void *argp1 = 0 ;
10185 int res1 = 0 ;
10186 PyObject *swig_obj[1] ;
10187
10188 if (!args) SWIG_fail;
10189 swig_obj[0] = args;
10190 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10191 if (!SWIG_IsOK(res1)) {
10192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10193 }
10194 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 (arg1)->Unselect();
10198 wxPyEndAllowThreads(__tstate);
10199 if (PyErr_Occurred()) SWIG_fail;
10200 }
10201 resultobj = SWIG_Py_Void();
10202 return resultobj;
10203 fail:
10204 return NULL;
10205 }
10206
10207
10208 SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10209 PyObject *resultobj = 0;
10210 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10211 void *argp1 = 0 ;
10212 int res1 = 0 ;
10213 PyObject *swig_obj[1] ;
10214
10215 if (!args) SWIG_fail;
10216 swig_obj[0] = args;
10217 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10218 if (!SWIG_IsOK(res1)) {
10219 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10220 }
10221 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10222 {
10223 PyThreadState* __tstate = wxPyBeginAllowThreads();
10224 (arg1)->UnselectAll();
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 resultobj = SWIG_Py_Void();
10229 return resultobj;
10230 fail:
10231 return NULL;
10232 }
10233
10234
10235 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj = 0;
10237 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10238 wxTreeItemId *arg2 = 0 ;
10239 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10240 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10241 bool arg4 = (bool) true ;
10242 void *argp1 = 0 ;
10243 int res1 = 0 ;
10244 void *argp2 = 0 ;
10245 int res2 = 0 ;
10246 void *argp3 = 0 ;
10247 int res3 = 0 ;
10248 bool val4 ;
10249 int ecode4 = 0 ;
10250 PyObject * obj0 = 0 ;
10251 PyObject * obj1 = 0 ;
10252 PyObject * obj2 = 0 ;
10253 PyObject * obj3 = 0 ;
10254 char * kwnames[] = {
10255 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10256 };
10257
10258 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10259 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10260 if (!SWIG_IsOK(res1)) {
10261 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10262 }
10263 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10264 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10265 if (!SWIG_IsOK(res2)) {
10266 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10267 }
10268 if (!argp2) {
10269 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10270 }
10271 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10272 if (obj2) {
10273 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10274 if (!SWIG_IsOK(res3)) {
10275 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10276 }
10277 if (!argp3) {
10278 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10279 }
10280 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
10281 }
10282 if (obj3) {
10283 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10284 if (!SWIG_IsOK(ecode4)) {
10285 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10286 }
10287 arg4 = static_cast< bool >(val4);
10288 }
10289 {
10290 PyThreadState* __tstate = wxPyBeginAllowThreads();
10291 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
10292 wxPyEndAllowThreads(__tstate);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 }
10295 resultobj = SWIG_Py_Void();
10296 return resultobj;
10297 fail:
10298 return NULL;
10299 }
10300
10301
10302 SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10303 PyObject *resultobj = 0;
10304 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10305 void *argp1 = 0 ;
10306 int res1 = 0 ;
10307 PyObject *swig_obj[1] ;
10308
10309 if (!args) SWIG_fail;
10310 swig_obj[0] = args;
10311 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10312 if (!SWIG_IsOK(res1)) {
10313 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10314 }
10315 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10316 {
10317 PyThreadState* __tstate = wxPyBeginAllowThreads();
10318 (arg1)->SelectAll();
10319 wxPyEndAllowThreads(__tstate);
10320 if (PyErr_Occurred()) SWIG_fail;
10321 }
10322 resultobj = SWIG_Py_Void();
10323 return resultobj;
10324 fail:
10325 return NULL;
10326 }
10327
10328
10329 SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10330 PyObject *resultobj = 0;
10331 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10332 wxTreeItemId *arg2 = 0 ;
10333 void *argp1 = 0 ;
10334 int res1 = 0 ;
10335 void *argp2 = 0 ;
10336 int res2 = 0 ;
10337 PyObject * obj0 = 0 ;
10338 PyObject * obj1 = 0 ;
10339 char * kwnames[] = {
10340 (char *) "self",(char *) "item", NULL
10341 };
10342
10343 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10344 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10345 if (!SWIG_IsOK(res1)) {
10346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10347 }
10348 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10349 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10350 if (!SWIG_IsOK(res2)) {
10351 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10352 }
10353 if (!argp2) {
10354 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10355 }
10356 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10357 {
10358 PyThreadState* __tstate = wxPyBeginAllowThreads();
10359 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 resultobj = SWIG_Py_Void();
10364 return resultobj;
10365 fail:
10366 return NULL;
10367 }
10368
10369
10370 SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj = 0;
10372 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10373 wxTreeItemId *arg2 = 0 ;
10374 void *argp1 = 0 ;
10375 int res1 = 0 ;
10376 void *argp2 = 0 ;
10377 int res2 = 0 ;
10378 PyObject * obj0 = 0 ;
10379 PyObject * obj1 = 0 ;
10380 char * kwnames[] = {
10381 (char *) "self",(char *) "item", NULL
10382 };
10383
10384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10386 if (!SWIG_IsOK(res1)) {
10387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10388 }
10389 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10390 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10391 if (!SWIG_IsOK(res2)) {
10392 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10393 }
10394 if (!argp2) {
10395 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10396 }
10397 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10401 wxPyEndAllowThreads(__tstate);
10402 if (PyErr_Occurred()) SWIG_fail;
10403 }
10404 resultobj = SWIG_Py_Void();
10405 return resultobj;
10406 fail:
10407 return NULL;
10408 }
10409
10410
10411 SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10412 PyObject *resultobj = 0;
10413 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10414 wxPoint *arg2 = 0 ;
10415 int *arg3 = 0 ;
10416 int *arg4 = 0 ;
10417 wxTreeItemId result;
10418 void *argp1 = 0 ;
10419 int res1 = 0 ;
10420 wxPoint temp2 ;
10421 int temp3 ;
10422 int res3 = SWIG_TMPOBJ ;
10423 int temp4 ;
10424 int res4 = SWIG_TMPOBJ ;
10425 PyObject * obj0 = 0 ;
10426 PyObject * obj1 = 0 ;
10427 char * kwnames[] = {
10428 (char *) "self",(char *) "point", NULL
10429 };
10430
10431 arg3 = &temp3;
10432 arg4 = &temp4;
10433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10435 if (!SWIG_IsOK(res1)) {
10436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10437 }
10438 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10439 {
10440 arg2 = &temp2;
10441 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10442 }
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10446 wxPyEndAllowThreads(__tstate);
10447 if (PyErr_Occurred()) SWIG_fail;
10448 }
10449 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10450 if (SWIG_IsTmpObj(res3)) {
10451 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10452 } else {
10453 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10455 }
10456 if (SWIG_IsTmpObj(res4)) {
10457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10458 } else {
10459 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10461 }
10462 return resultobj;
10463 fail:
10464 return NULL;
10465 }
10466
10467
10468 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10469 PyObject *resultobj = 0;
10470 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10471 wxTreeItemId *arg2 = 0 ;
10472 bool arg3 = (bool) false ;
10473 PyObject *result = 0 ;
10474 void *argp1 = 0 ;
10475 int res1 = 0 ;
10476 void *argp2 = 0 ;
10477 int res2 = 0 ;
10478 bool val3 ;
10479 int ecode3 = 0 ;
10480 PyObject * obj0 = 0 ;
10481 PyObject * obj1 = 0 ;
10482 PyObject * obj2 = 0 ;
10483 char * kwnames[] = {
10484 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10485 };
10486
10487 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10488 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10489 if (!SWIG_IsOK(res1)) {
10490 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10491 }
10492 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10493 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10494 if (!SWIG_IsOK(res2)) {
10495 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10496 }
10497 if (!argp2) {
10498 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10499 }
10500 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10501 if (obj2) {
10502 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10503 if (!SWIG_IsOK(ecode3)) {
10504 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10505 }
10506 arg3 = static_cast< bool >(val3);
10507 }
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10511 wxPyEndAllowThreads(__tstate);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 }
10514 resultobj = result;
10515 return resultobj;
10516 fail:
10517 return NULL;
10518 }
10519
10520
10521 SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10522 PyObject *resultobj = 0;
10523 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10524 wxTreeItemId *arg2 = 0 ;
10525 int arg3 = (int) -1 ;
10526 void *argp1 = 0 ;
10527 int res1 = 0 ;
10528 void *argp2 = 0 ;
10529 int res2 = 0 ;
10530 int val3 ;
10531 int ecode3 = 0 ;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 PyObject * obj2 = 0 ;
10535 char * kwnames[] = {
10536 (char *) "self",(char *) "item",(char *) "column", NULL
10537 };
10538
10539 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10540 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10541 if (!SWIG_IsOK(res1)) {
10542 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10543 }
10544 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10545 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10546 if (!SWIG_IsOK(res2)) {
10547 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10548 }
10549 if (!argp2) {
10550 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10551 }
10552 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10553 if (obj2) {
10554 ecode3 = SWIG_AsVal_int(obj2, &val3);
10555 if (!SWIG_IsOK(ecode3)) {
10556 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10557 }
10558 arg3 = static_cast< int >(val3);
10559 }
10560 {
10561 PyThreadState* __tstate = wxPyBeginAllowThreads();
10562 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
10563 wxPyEndAllowThreads(__tstate);
10564 if (PyErr_Occurred()) SWIG_fail;
10565 }
10566 resultobj = SWIG_Py_Void();
10567 return resultobj;
10568 fail:
10569 return NULL;
10570 }
10571
10572
10573 SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10574 PyObject *resultobj = 0;
10575 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10576 wxTreeItemId *arg2 = 0 ;
10577 void *argp1 = 0 ;
10578 int res1 = 0 ;
10579 void *argp2 = 0 ;
10580 int res2 = 0 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 char * kwnames[] = {
10584 (char *) "self",(char *) "item", NULL
10585 };
10586
10587 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10588 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10589 if (!SWIG_IsOK(res1)) {
10590 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10591 }
10592 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10593 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10594 if (!SWIG_IsOK(res2)) {
10595 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10596 }
10597 if (!argp2) {
10598 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10599 }
10600 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10604 wxPyEndAllowThreads(__tstate);
10605 if (PyErr_Occurred()) SWIG_fail;
10606 }
10607 resultobj = SWIG_Py_Void();
10608 return resultobj;
10609 fail:
10610 return NULL;
10611 }
10612
10613
10614 SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10615 PyObject *resultobj = 0;
10616 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10617 wxTreeItemId *arg2 = 0 ;
10618 wxString *arg3 = 0 ;
10619 int arg4 = (int) 0 ;
10620 wxTreeItemId result;
10621 void *argp1 = 0 ;
10622 int res1 = 0 ;
10623 void *argp2 = 0 ;
10624 int res2 = 0 ;
10625 bool temp3 = false ;
10626 int val4 ;
10627 int ecode4 = 0 ;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 PyObject * obj2 = 0 ;
10631 PyObject * obj3 = 0 ;
10632 char * kwnames[] = {
10633 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10634 };
10635
10636 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10637 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10638 if (!SWIG_IsOK(res1)) {
10639 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10640 }
10641 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10642 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10643 if (!SWIG_IsOK(res2)) {
10644 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10645 }
10646 if (!argp2) {
10647 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10648 }
10649 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10650 {
10651 arg3 = wxString_in_helper(obj2);
10652 if (arg3 == NULL) SWIG_fail;
10653 temp3 = true;
10654 }
10655 if (obj3) {
10656 ecode4 = SWIG_AsVal_int(obj3, &val4);
10657 if (!SWIG_IsOK(ecode4)) {
10658 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10659 }
10660 arg4 = static_cast< int >(val4);
10661 }
10662 {
10663 PyThreadState* __tstate = wxPyBeginAllowThreads();
10664 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10669 {
10670 if (temp3)
10671 delete arg3;
10672 }
10673 return resultobj;
10674 fail:
10675 {
10676 if (temp3)
10677 delete arg3;
10678 }
10679 return NULL;
10680 }
10681
10682
10683 SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10684 PyObject *resultobj = 0;
10685 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10686 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10687 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10688 void *argp1 = 0 ;
10689 int res1 = 0 ;
10690 void *argp2 = 0 ;
10691 int res2 = 0 ;
10692 PyObject * obj0 = 0 ;
10693 PyObject * obj1 = 0 ;
10694 char * kwnames[] = {
10695 (char *) "self",(char *) "item", NULL
10696 };
10697
10698 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10699 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10700 if (!SWIG_IsOK(res1)) {
10701 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10702 }
10703 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10704 if (obj1) {
10705 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10706 if (!SWIG_IsOK(res2)) {
10707 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10708 }
10709 if (!argp2) {
10710 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10711 }
10712 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10713 }
10714 {
10715 PyThreadState* __tstate = wxPyBeginAllowThreads();
10716 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_Py_Void();
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10728 PyObject *resultobj = 0;
10729 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10730 wxWindow *result = 0 ;
10731 void *argp1 = 0 ;
10732 int res1 = 0 ;
10733 PyObject *swig_obj[1] ;
10734
10735 if (!args) SWIG_fail;
10736 swig_obj[0] = args;
10737 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10738 if (!SWIG_IsOK(res1)) {
10739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10740 }
10741 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10742 {
10743 PyThreadState* __tstate = wxPyBeginAllowThreads();
10744 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10745 wxPyEndAllowThreads(__tstate);
10746 if (PyErr_Occurred()) SWIG_fail;
10747 }
10748 {
10749 resultobj = wxPyMake_wxObject(result, 0);
10750 }
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10758 PyObject *resultobj = 0;
10759 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10760 wxScrolledWindow *result = 0 ;
10761 void *argp1 = 0 ;
10762 int res1 = 0 ;
10763 PyObject *swig_obj[1] ;
10764
10765 if (!args) SWIG_fail;
10766 swig_obj[0] = args;
10767 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10768 if (!SWIG_IsOK(res1)) {
10769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10770 }
10771 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10772 {
10773 PyThreadState* __tstate = wxPyBeginAllowThreads();
10774 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10775 wxPyEndAllowThreads(__tstate);
10776 if (PyErr_Occurred()) SWIG_fail;
10777 }
10778 {
10779 resultobj = wxPyMake_wxObject(result, 0);
10780 }
10781 return resultobj;
10782 fail:
10783 return NULL;
10784 }
10785
10786
10787 SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10788 PyObject *obj;
10789 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10790 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10791 return SWIG_Py_Void();
10792 }
10793
10794 SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10795 return SWIG_Python_InitShadowInstance(args);
10796 }
10797
10798 SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj = 0;
10800 wxWindow *arg1 = (wxWindow *) 0 ;
10801 int arg2 = (int) -1 ;
10802 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10803 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10804 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10805 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10806 wxSize const &arg5_defvalue = wxDefaultSize ;
10807 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10808 long arg6 = (long) 0 ;
10809 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10810 wxString *arg7 = (wxString *) &arg7_defvalue ;
10811 wxStaticPicture *result = 0 ;
10812 void *argp1 = 0 ;
10813 int res1 = 0 ;
10814 int val2 ;
10815 int ecode2 = 0 ;
10816 void *argp3 = 0 ;
10817 int res3 = 0 ;
10818 wxPoint temp4 ;
10819 wxSize temp5 ;
10820 long val6 ;
10821 int ecode6 = 0 ;
10822 bool temp7 = false ;
10823 PyObject * obj0 = 0 ;
10824 PyObject * obj1 = 0 ;
10825 PyObject * obj2 = 0 ;
10826 PyObject * obj3 = 0 ;
10827 PyObject * obj4 = 0 ;
10828 PyObject * obj5 = 0 ;
10829 PyObject * obj6 = 0 ;
10830 char * kwnames[] = {
10831 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10832 };
10833
10834 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10835 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10836 if (!SWIG_IsOK(res1)) {
10837 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10838 }
10839 arg1 = reinterpret_cast< wxWindow * >(argp1);
10840 if (obj1) {
10841 ecode2 = SWIG_AsVal_int(obj1, &val2);
10842 if (!SWIG_IsOK(ecode2)) {
10843 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10844 }
10845 arg2 = static_cast< int >(val2);
10846 }
10847 if (obj2) {
10848 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10849 if (!SWIG_IsOK(res3)) {
10850 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10851 }
10852 if (!argp3) {
10853 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10854 }
10855 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10856 }
10857 if (obj3) {
10858 {
10859 arg4 = &temp4;
10860 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10861 }
10862 }
10863 if (obj4) {
10864 {
10865 arg5 = &temp5;
10866 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10867 }
10868 }
10869 if (obj5) {
10870 ecode6 = SWIG_AsVal_long(obj5, &val6);
10871 if (!SWIG_IsOK(ecode6)) {
10872 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10873 }
10874 arg6 = static_cast< long >(val6);
10875 }
10876 if (obj6) {
10877 {
10878 arg7 = wxString_in_helper(obj6);
10879 if (arg7 == NULL) SWIG_fail;
10880 temp7 = true;
10881 }
10882 }
10883 {
10884 if (!wxPyCheckForApp()) SWIG_fail;
10885 PyThreadState* __tstate = wxPyBeginAllowThreads();
10886 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10887 wxPyEndAllowThreads(__tstate);
10888 if (PyErr_Occurred()) SWIG_fail;
10889 }
10890 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10891 {
10892 if (temp7)
10893 delete arg7;
10894 }
10895 return resultobj;
10896 fail:
10897 {
10898 if (temp7)
10899 delete arg7;
10900 }
10901 return NULL;
10902 }
10903
10904
10905 SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10906 PyObject *resultobj = 0;
10907 wxStaticPicture *result = 0 ;
10908
10909 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10910 {
10911 if (!wxPyCheckForApp()) SWIG_fail;
10912 PyThreadState* __tstate = wxPyBeginAllowThreads();
10913 result = (wxStaticPicture *)new wxStaticPicture();
10914 wxPyEndAllowThreads(__tstate);
10915 if (PyErr_Occurred()) SWIG_fail;
10916 }
10917 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10918 return resultobj;
10919 fail:
10920 return NULL;
10921 }
10922
10923
10924 SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10925 PyObject *resultobj = 0;
10926 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10927 wxWindow *arg2 = (wxWindow *) 0 ;
10928 int arg3 = (int) -1 ;
10929 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10930 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10933 wxSize const &arg6_defvalue = wxDefaultSize ;
10934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10935 long arg7 = (long) 0 ;
10936 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10937 wxString *arg8 = (wxString *) &arg8_defvalue ;
10938 bool result;
10939 void *argp1 = 0 ;
10940 int res1 = 0 ;
10941 void *argp2 = 0 ;
10942 int res2 = 0 ;
10943 int val3 ;
10944 int ecode3 = 0 ;
10945 void *argp4 = 0 ;
10946 int res4 = 0 ;
10947 wxPoint temp5 ;
10948 wxSize temp6 ;
10949 long val7 ;
10950 int ecode7 = 0 ;
10951 bool temp8 = false ;
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 PyObject * obj2 = 0 ;
10955 PyObject * obj3 = 0 ;
10956 PyObject * obj4 = 0 ;
10957 PyObject * obj5 = 0 ;
10958 PyObject * obj6 = 0 ;
10959 PyObject * obj7 = 0 ;
10960 char * kwnames[] = {
10961 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10962 };
10963
10964 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10965 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10966 if (!SWIG_IsOK(res1)) {
10967 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10968 }
10969 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10970 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10971 if (!SWIG_IsOK(res2)) {
10972 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10973 }
10974 arg2 = reinterpret_cast< wxWindow * >(argp2);
10975 if (obj2) {
10976 ecode3 = SWIG_AsVal_int(obj2, &val3);
10977 if (!SWIG_IsOK(ecode3)) {
10978 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10979 }
10980 arg3 = static_cast< int >(val3);
10981 }
10982 if (obj3) {
10983 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10984 if (!SWIG_IsOK(res4)) {
10985 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10986 }
10987 if (!argp4) {
10988 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10989 }
10990 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10991 }
10992 if (obj4) {
10993 {
10994 arg5 = &temp5;
10995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10996 }
10997 }
10998 if (obj5) {
10999 {
11000 arg6 = &temp6;
11001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11002 }
11003 }
11004 if (obj6) {
11005 ecode7 = SWIG_AsVal_long(obj6, &val7);
11006 if (!SWIG_IsOK(ecode7)) {
11007 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11008 }
11009 arg7 = static_cast< long >(val7);
11010 }
11011 if (obj7) {
11012 {
11013 arg8 = wxString_in_helper(obj7);
11014 if (arg8 == NULL) SWIG_fail;
11015 temp8 = true;
11016 }
11017 }
11018 {
11019 PyThreadState* __tstate = wxPyBeginAllowThreads();
11020 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 {
11025 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11026 }
11027 {
11028 if (temp8)
11029 delete arg8;
11030 }
11031 return resultobj;
11032 fail:
11033 {
11034 if (temp8)
11035 delete arg8;
11036 }
11037 return NULL;
11038 }
11039
11040
11041 SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj = 0;
11043 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11044 wxBitmap *arg2 = 0 ;
11045 void *argp1 = 0 ;
11046 int res1 = 0 ;
11047 void *argp2 = 0 ;
11048 int res2 = 0 ;
11049 PyObject * obj0 = 0 ;
11050 PyObject * obj1 = 0 ;
11051 char * kwnames[] = {
11052 (char *) "self",(char *) "bmp", NULL
11053 };
11054
11055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11057 if (!SWIG_IsOK(res1)) {
11058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11059 }
11060 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11061 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11062 if (!SWIG_IsOK(res2)) {
11063 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11064 }
11065 if (!argp2) {
11066 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11067 }
11068 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 resultobj = SWIG_Py_Void();
11076 return resultobj;
11077 fail:
11078 return NULL;
11079 }
11080
11081
11082 SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11083 PyObject *resultobj = 0;
11084 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11085 wxBitmap result;
11086 void *argp1 = 0 ;
11087 int res1 = 0 ;
11088 PyObject *swig_obj[1] ;
11089
11090 if (!args) SWIG_fail;
11091 swig_obj[0] = args;
11092 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11093 if (!SWIG_IsOK(res1)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11095 }
11096 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11097 {
11098 PyThreadState* __tstate = wxPyBeginAllowThreads();
11099 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11104 return resultobj;
11105 fail:
11106 return NULL;
11107 }
11108
11109
11110 SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj = 0;
11112 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11113 wxIcon *arg2 = 0 ;
11114 void *argp1 = 0 ;
11115 int res1 = 0 ;
11116 void *argp2 = 0 ;
11117 int res2 = 0 ;
11118 PyObject * obj0 = 0 ;
11119 PyObject * obj1 = 0 ;
11120 char * kwnames[] = {
11121 (char *) "self",(char *) "icon", NULL
11122 };
11123
11124 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11125 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11126 if (!SWIG_IsOK(res1)) {
11127 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11128 }
11129 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11130 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11131 if (!SWIG_IsOK(res2)) {
11132 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11133 }
11134 if (!argp2) {
11135 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11136 }
11137 arg2 = reinterpret_cast< wxIcon * >(argp2);
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 (arg1)->SetIcon((wxIcon const &)*arg2);
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 resultobj = SWIG_Py_Void();
11145 return resultobj;
11146 fail:
11147 return NULL;
11148 }
11149
11150
11151 SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11152 PyObject *resultobj = 0;
11153 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11154 wxIcon result;
11155 void *argp1 = 0 ;
11156 int res1 = 0 ;
11157 PyObject *swig_obj[1] ;
11158
11159 if (!args) SWIG_fail;
11160 swig_obj[0] = args;
11161 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11162 if (!SWIG_IsOK(res1)) {
11163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11164 }
11165 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = ((wxStaticPicture const *)arg1)->GetIcon();
11169 wxPyEndAllowThreads(__tstate);
11170 if (PyErr_Occurred()) SWIG_fail;
11171 }
11172 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11173 return resultobj;
11174 fail:
11175 return NULL;
11176 }
11177
11178
11179 SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj = 0;
11181 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11182 int arg2 ;
11183 void *argp1 = 0 ;
11184 int res1 = 0 ;
11185 int val2 ;
11186 int ecode2 = 0 ;
11187 PyObject * obj0 = 0 ;
11188 PyObject * obj1 = 0 ;
11189 char * kwnames[] = {
11190 (char *) "self",(char *) "align", NULL
11191 };
11192
11193 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11194 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11195 if (!SWIG_IsOK(res1)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11197 }
11198 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11199 ecode2 = SWIG_AsVal_int(obj1, &val2);
11200 if (!SWIG_IsOK(ecode2)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11202 }
11203 arg2 = static_cast< int >(val2);
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetAlignment(arg2);
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = SWIG_Py_Void();
11211 return resultobj;
11212 fail:
11213 return NULL;
11214 }
11215
11216
11217 SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11218 PyObject *resultobj = 0;
11219 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11220 int result;
11221 void *argp1 = 0 ;
11222 int res1 = 0 ;
11223 PyObject *swig_obj[1] ;
11224
11225 if (!args) SWIG_fail;
11226 swig_obj[0] = args;
11227 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11228 if (!SWIG_IsOK(res1)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11230 }
11231 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 resultobj = SWIG_From_int(static_cast< int >(result));
11239 return resultobj;
11240 fail:
11241 return NULL;
11242 }
11243
11244
11245 SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj = 0;
11247 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11248 int arg2 ;
11249 void *argp1 = 0 ;
11250 int res1 = 0 ;
11251 int val2 ;
11252 int ecode2 = 0 ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 char * kwnames[] = {
11256 (char *) "self",(char *) "scale", NULL
11257 };
11258
11259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11261 if (!SWIG_IsOK(res1)) {
11262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11263 }
11264 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11265 ecode2 = SWIG_AsVal_int(obj1, &val2);
11266 if (!SWIG_IsOK(ecode2)) {
11267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11268 }
11269 arg2 = static_cast< int >(val2);
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 (arg1)->SetScale(arg2);
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 resultobj = SWIG_Py_Void();
11277 return resultobj;
11278 fail:
11279 return NULL;
11280 }
11281
11282
11283 SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11284 PyObject *resultobj = 0;
11285 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11286 int result;
11287 void *argp1 = 0 ;
11288 int res1 = 0 ;
11289 PyObject *swig_obj[1] ;
11290
11291 if (!args) SWIG_fail;
11292 swig_obj[0] = args;
11293 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11294 if (!SWIG_IsOK(res1)) {
11295 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11296 }
11297 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11298 {
11299 PyThreadState* __tstate = wxPyBeginAllowThreads();
11300 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11301 wxPyEndAllowThreads(__tstate);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 }
11304 resultobj = SWIG_From_int(static_cast< int >(result));
11305 return resultobj;
11306 fail:
11307 return NULL;
11308 }
11309
11310
11311 SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11312 PyObject *resultobj = 0;
11313 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11314 float arg2 ;
11315 float arg3 ;
11316 void *argp1 = 0 ;
11317 int res1 = 0 ;
11318 float val2 ;
11319 int ecode2 = 0 ;
11320 float val3 ;
11321 int ecode3 = 0 ;
11322 PyObject * obj0 = 0 ;
11323 PyObject * obj1 = 0 ;
11324 PyObject * obj2 = 0 ;
11325 char * kwnames[] = {
11326 (char *) "self",(char *) "sx",(char *) "sy", NULL
11327 };
11328
11329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11331 if (!SWIG_IsOK(res1)) {
11332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11333 }
11334 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11335 ecode2 = SWIG_AsVal_float(obj1, &val2);
11336 if (!SWIG_IsOK(ecode2)) {
11337 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11338 }
11339 arg2 = static_cast< float >(val2);
11340 ecode3 = SWIG_AsVal_float(obj2, &val3);
11341 if (!SWIG_IsOK(ecode3)) {
11342 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11343 }
11344 arg3 = static_cast< float >(val3);
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 (arg1)->SetCustomScale(arg2,arg3);
11348 wxPyEndAllowThreads(__tstate);
11349 if (PyErr_Occurred()) SWIG_fail;
11350 }
11351 resultobj = SWIG_Py_Void();
11352 return resultobj;
11353 fail:
11354 return NULL;
11355 }
11356
11357
11358 SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11359 PyObject *resultobj = 0;
11360 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11361 float *arg2 = (float *) 0 ;
11362 float *arg3 = (float *) 0 ;
11363 void *argp1 = 0 ;
11364 int res1 = 0 ;
11365 float temp2 ;
11366 int res2 = SWIG_TMPOBJ ;
11367 float temp3 ;
11368 int res3 = SWIG_TMPOBJ ;
11369 PyObject *swig_obj[1] ;
11370
11371 arg2 = &temp2;
11372 arg3 = &temp3;
11373 if (!args) SWIG_fail;
11374 swig_obj[0] = args;
11375 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11376 if (!SWIG_IsOK(res1)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11378 }
11379 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11383 wxPyEndAllowThreads(__tstate);
11384 if (PyErr_Occurred()) SWIG_fail;
11385 }
11386 resultobj = SWIG_Py_Void();
11387 if (SWIG_IsTmpObj(res2)) {
11388 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11389 } else {
11390 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11392 }
11393 if (SWIG_IsTmpObj(res3)) {
11394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11395 } else {
11396 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11398 }
11399 return resultobj;
11400 fail:
11401 return NULL;
11402 }
11403
11404
11405 SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11406 PyObject *obj;
11407 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11408 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11409 return SWIG_Py_Void();
11410 }
11411
11412 SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11413 return SWIG_Python_InitShadowInstance(args);
11414 }
11415
11416 static PyMethodDef SwigMethods[] = {
11417 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11418 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
11419 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
11420 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11421 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
11422 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
11423 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11424 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
11425 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11426 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11427 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11428 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
11429 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
11430 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11431 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
11432 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11433 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11434 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11435 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11436 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11437 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11438 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
11439 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
11440 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
11441 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11442 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11443 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11444 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
11445 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11446 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11447 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
11448 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
11449 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
11450 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11451 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11452 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
11453 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11454 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
11455 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
11456 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11457 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
11458 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
11459 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11460 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
11461 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
11462 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11463 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
11464 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11465 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11466 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11467 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
11468 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11469 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11470 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11471 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
11472 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
11473 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11474 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
11475 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11476 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11477 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11478 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11479 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
11480 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11481 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
11482 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11483 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11484 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11485 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11486 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11487 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11488 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
11489 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
11490 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
11491 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11492 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
11493 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11494 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11495 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11496 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
11497 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11498 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
11499 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11500 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11501 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11502 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
11503 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11504 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11505 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11506 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11507 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11508 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11509 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11510 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11511 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
11515 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
11517 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11518 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11519 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11521 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11522 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11530 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11551 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11555 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11556 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
11557 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11563 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11564 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11567 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11574 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
11580 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11581 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11582 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11583 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11586 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11587 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11588 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
11589 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11590 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11591 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11592 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11593 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11594 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11595 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11596 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
11597 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11598 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11599 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11600 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11601 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11602 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11603 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11604 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11605 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11606 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11607 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11608 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11609 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11610 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11611 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11612 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11613 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11614 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11615 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11616 { NULL, NULL, 0, NULL }
11617 };
11618
11619
11620 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11621
11622 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11623 return (void *)((wxValidator *) ((wxPyValidator *) x));
11624 }
11625 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11626 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11627 }
11628 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11629 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11630 }
11631 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11632 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11633 }
11634 static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11635 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11636 }
11637 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11638 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11639 }
11640 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11641 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11642 }
11643 static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11644 return (void *)((wxPanel *) ((wxPyPanel *) x));
11645 }
11646 static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11647 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11648 }
11649 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11650 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11651 }
11652 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11653 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11654 }
11655 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11656 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11657 }
11658 static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11659 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11660 }
11661 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11662 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11663 }
11664 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11666 }
11667 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11668 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11669 }
11670 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11671 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11672 }
11673 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11674 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11675 }
11676 static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11677 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11678 }
11679 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11680 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11681 }
11682 static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11683 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11684 }
11685 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11686 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11687 }
11688 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11689 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11690 }
11691 static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11692 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11693 }
11694 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11695 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11696 }
11697 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11698 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11699 }
11700 static void *_p_wxControlTo_p_wxWindow(void *x) {
11701 return (void *)((wxWindow *) ((wxControl *) x));
11702 }
11703 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11704 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11705 }
11706 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11707 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11708 }
11709 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11710 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11711 }
11712 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11713 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11714 }
11715 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11716 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11717 }
11718 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11719 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11720 }
11721 static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11722 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11723 }
11724 static void *_p_wxListViewTo_p_wxWindow(void *x) {
11725 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11726 }
11727 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11728 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11729 }
11730 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11731 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11732 }
11733 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11734 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11735 }
11736 static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11737 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11738 }
11739 static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11740 return (void *)((wxWindow *) ((wxPyWindow *) x));
11741 }
11742 static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11744 }
11745 static void *_p_wxListbookTo_p_wxWindow(void *x) {
11746 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11747 }
11748 static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11749 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11750 }
11751 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11753 }
11754 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11756 }
11757 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11759 }
11760 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11762 }
11763 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11765 }
11766 static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11768 }
11769 static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11771 }
11772 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11774 }
11775 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11776 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11777 }
11778 static void *_p_wxSliderTo_p_wxWindow(void *x) {
11779 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11780 }
11781 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11782 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11783 }
11784 static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11785 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11786 }
11787 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11788 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11789 }
11790 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11791 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11792 }
11793 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11794 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11795 }
11796 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11797 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11798 }
11799 static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11800 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11801 }
11802 static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11803 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11804 }
11805 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11806 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11807 }
11808 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11809 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11810 }
11811 static void *_p_wxButtonTo_p_wxWindow(void *x) {
11812 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11813 }
11814 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11815 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11816 }
11817 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11818 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11819 }
11820 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11821 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11822 }
11823 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11824 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11825 }
11826 static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11827 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11828 }
11829 static void *_p_wxFrameTo_p_wxWindow(void *x) {
11830 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11831 }
11832 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11833 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11834 }
11835 static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11836 return (void *)((wxWindow *) ((wxStatusBar *) x));
11837 }
11838 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11840 }
11841 static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11842 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11843 }
11844 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11845 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11846 }
11847 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11848 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11849 }
11850 static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11851 return (void *)((wxWindow *) ((wxSashWindow *) x));
11852 }
11853 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11854 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11855 }
11856 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11857 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11858 }
11859 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11860 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11861 }
11862 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11863 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11864 }
11865 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11866 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11867 }
11868 static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11869 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11870 }
11871 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11872 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11873 }
11874 static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11875 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11876 }
11877 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11878 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11879 }
11880 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11881 return (void *)((wxWindow *) ((wxMenuBar *) x));
11882 }
11883 static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11884 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11885 }
11886 static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11887 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11888 }
11889 static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11890 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11891 }
11892 static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11893 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11894 }
11895 static void *_p_wxDialogTo_p_wxWindow(void *x) {
11896 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11897 }
11898 static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11899 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11900 }
11901 static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11903 }
11904 static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11906 }
11907 static void *_p_wxPanelTo_p_wxWindow(void *x) {
11908 return (void *)((wxWindow *) ((wxPanel *) x));
11909 }
11910 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11911 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11912 }
11913 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11914 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11915 }
11916 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11917 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11918 }
11919 static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11920 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11921 }
11922 static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11923 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11924 }
11925 static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11926 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11927 }
11928 static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11929 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11930 }
11931 static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11932 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11933 }
11934 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11935 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11936 }
11937 static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11938 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11939 }
11940 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11941 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11942 }
11943 static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11944 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11945 }
11946 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11947 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11948 }
11949 static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11950 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11951 }
11952 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11953 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11954 }
11955 static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11956 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11957 }
11958 static void *_p_wxToolBarTo_p_wxControl(void *x) {
11959 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11960 }
11961 static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11962 return (void *)((wxControl *) ((wxPickerBase *) x));
11963 }
11964 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11965 return (void *)((wxControl *) ((wxToggleButton *) x));
11966 }
11967 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11968 return (void *)((wxControl *) ((wxRadioButton *) x));
11969 }
11970 static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11971 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11972 }
11973 static void *_p_wxToolbookTo_p_wxControl(void *x) {
11974 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11975 }
11976 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11977 return (void *)((wxControl *) ((wxToolBarBase *) x));
11978 }
11979 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11980 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11981 }
11982 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11983 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11984 }
11985 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11986 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
11987 }
11988 static void *_p_wxPyControlTo_p_wxControl(void *x) {
11989 return (void *)((wxControl *) ((wxPyControl *) x));
11990 }
11991 static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11992 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11993 }
11994 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11995 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11996 }
11997 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11998 return (void *)((wxControl *) ((wxScrollBar *) x));
11999 }
12000 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12001 return (void *)((wxControl *) ((wxControlWithItems *) x));
12002 }
12003 static void *_p_wxGaugeTo_p_wxControl(void *x) {
12004 return (void *)((wxControl *) ((wxGauge *) x));
12005 }
12006 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12007 return (void *)((wxControl *) ((wxStaticLine *) x));
12008 }
12009 static void *_p_wxChoicebookTo_p_wxControl(void *x) {
12010 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
12011 }
12012 static void *_p_wxListbookTo_p_wxControl(void *x) {
12013 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
12014 }
12015 static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12016 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12017 }
12018 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12019 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12020 }
12021 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12022 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12023 }
12024 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12025 return (void *)((wxControl *) ((wxCheckBox *) x));
12026 }
12027 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12028 return (void *)((wxControl *) ((wxRadioBox *) x));
12029 }
12030 static void *_p_wxChoiceTo_p_wxControl(void *x) {
12031 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12032 }
12033 static void *_p_wxListBoxTo_p_wxControl(void *x) {
12034 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12035 }
12036 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12037 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12038 }
12039 static void *_p_wxListViewTo_p_wxControl(void *x) {
12040 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12041 }
12042 static void *_p_wxNotebookTo_p_wxControl(void *x) {
12043 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
12044 }
12045 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12046 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12047 }
12048 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12049 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12050 }
12051 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12052 return (void *)((wxControl *) ((wxStaticText *) x));
12053 }
12054 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12055 return (void *)((wxControl *) ((wxStaticBox *) x));
12056 }
12057 static void *_p_wxSliderTo_p_wxControl(void *x) {
12058 return (void *)((wxControl *) ((wxSlider *) x));
12059 }
12060 static void *_p_wxTreebookTo_p_wxControl(void *x) {
12061 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
12062 }
12063 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12064 return (void *)((wxControl *) ((wxSpinButton *) x));
12065 }
12066 static void *_p_wxButtonTo_p_wxControl(void *x) {
12067 return (void *)((wxControl *) ((wxButton *) x));
12068 }
12069 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12070 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12071 }
12072 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12073 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12074 }
12075 static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12076 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12077 }
12078 static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12079 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12080 }
12081 static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12082 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12083 }
12084 static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12085 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12086 }
12087 static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12088 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12089 }
12090 static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12091 return (void *)((wxControl *) ((wxStaticPicture *) x));
12092 }
12093 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12094 return (void *)((wxControl *) ((wxTextCtrl *) x));
12095 }
12096 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
12097 return (void *)((wxPyListCtrl *) ((wxListView *) x));
12098 }
12099 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12101 }
12102 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12103 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12104 }
12105 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12106 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12107 }
12108 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12109 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12110 }
12111 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12112 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12113 }
12114 static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12115 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12116 }
12117 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12118 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12119 }
12120 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12121 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12122 }
12123 static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12124 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12125 }
12126 static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12128 }
12129 static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12131 }
12132 static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12134 }
12135 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12136 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12137 }
12138 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12140 }
12141 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12143 }
12144 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12146 }
12147 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12149 }
12150 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12151 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12152 }
12153 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12154 return (void *)((wxEvent *) ((wxPyEvent *) x));
12155 }
12156 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12157 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12158 }
12159 static void *_p_wxListEventTo_p_wxEvent(void *x) {
12160 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12161 }
12162 static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12164 }
12165 static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12167 }
12168 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
12169 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12170 }
12171 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
12172 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12173 }
12174 static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
12175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12176 }
12177 static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12178 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12179 }
12180 static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12181 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12182 }
12183 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12185 }
12186 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12187 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12188 }
12189 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12191 }
12192 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12193 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12194 }
12195 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12196 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12197 }
12198 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12199 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12200 }
12201 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12202 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12203 }
12204 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12205 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12206 }
12207 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12208 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12209 }
12210 static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12212 }
12213 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12214 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12215 }
12216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12217 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12218 }
12219 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12220 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12221 }
12222 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12223 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12224 }
12225 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12226 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12227 }
12228 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12229 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12230 }
12231 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12232 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12233 }
12234 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12235 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12236 }
12237 static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12238 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12239 }
12240 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12241 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12242 }
12243 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12244 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12245 }
12246 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12247 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12248 }
12249 static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12251 }
12252 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12253 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12254 }
12255 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12256 return (void *)((wxEvent *) ((wxShowEvent *) x));
12257 }
12258 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12259 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12260 }
12261 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12262 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12263 }
12264 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12265 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12266 }
12267 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12268 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12269 }
12270 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12271 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12272 }
12273 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12274 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12275 }
12276 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12277 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12278 }
12279 static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12280 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12281 }
12282 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12284 }
12285 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12287 }
12288 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12290 }
12291 static void *_p_wxEventTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) ((wxEvent *) x));
12293 }
12294 static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12296 }
12297 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12299 }
12300 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12302 }
12303 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12305 }
12306 static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12308 }
12309 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12311 }
12312 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) ((wxMenuItem *) x));
12314 }
12315 static void *_p_wxImageTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) ((wxImage *) x));
12317 }
12318 static void *_p_wxPySizerTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12320 }
12321 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12323 }
12324 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12326 }
12327 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
12329 }
12330 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12332 }
12333 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12335 }
12336 static void *_p_wxPyAppTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12338 }
12339 static void *_p_wxTreebookTo_p_wxObject(void *x) {
12340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12341 }
12342 static void *_p_wxNotebookTo_p_wxObject(void *x) {
12343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12344 }
12345 static void *_p_wxListItemTo_p_wxObject(void *x) {
12346 return (void *)((wxObject *) ((wxListItem *) x));
12347 }
12348 static void *_p_wxChoicebookTo_p_wxObject(void *x) {
12349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12350 }
12351 static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12353 }
12354 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12356 }
12357 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12359 }
12360 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12362 }
12363 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12365 }
12366 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12367 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12368 }
12369 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12371 }
12372 static void *_p_wxValidatorTo_p_wxObject(void *x) {
12373 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12374 }
12375 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12376 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12377 }
12378 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12379 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12380 }
12381 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12382 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12383 }
12384 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12385 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12386 }
12387 static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12389 }
12390 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12392 }
12393 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12395 }
12396 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12398 }
12399 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12400 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12401 }
12402 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12403 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12404 }
12405 static void *_p_wxPrinterTo_p_wxObject(void *x) {
12406 return (void *)((wxObject *) ((wxPrinter *) x));
12407 }
12408 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12410 }
12411 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12413 }
12414 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12415 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12416 }
12417 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12418 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12419 }
12420 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12421 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12422 }
12423 static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12424 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12425 }
12426 static void *_p_wxControlTo_p_wxObject(void *x) {
12427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12428 }
12429 static void *_p_wxPyControlTo_p_wxObject(void *x) {
12430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12431 }
12432 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12433 return (void *)((wxObject *) ((wxContextHelp *) x));
12434 }
12435 static void *_p_wxColourDataTo_p_wxObject(void *x) {
12436 return (void *)((wxObject *) ((wxColourData *) x));
12437 }
12438 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12439 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12440 }
12441 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12442 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12443 }
12444 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12445 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12446 }
12447 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12448 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12449 }
12450 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12451 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12452 }
12453 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12454 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12455 }
12456 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12458 }
12459 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12460 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12461 }
12462 static void *_p_wxDateEventTo_p_wxObject(void *x) {
12463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12464 }
12465 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12467 }
12468 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12469 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12470 }
12471 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12472 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12473 }
12474 static void *_p_wxListEventTo_p_wxObject(void *x) {
12475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12476 }
12477 static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12479 }
12480 static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12481 return (void *)((wxObject *) ((wxPyPrintout *) x));
12482 }
12483 static void *_p_wxGaugeTo_p_wxObject(void *x) {
12484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12485 }
12486 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12488 }
12489 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12490 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12491 }
12492 static void *_p_wxChoiceTo_p_wxObject(void *x) {
12493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12494 }
12495 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12497 }
12498 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12500 }
12501 static void *_p_wxButtonTo_p_wxObject(void *x) {
12502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12503 }
12504 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12506 }
12507 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12508 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12509 }
12510 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12511 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12512 }
12513 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12515 }
12516 static void *_p_wxSashEventTo_p_wxObject(void *x) {
12517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12518 }
12519 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12521 }
12522 static void *_p_wxListBoxTo_p_wxObject(void *x) {
12523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12524 }
12525 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12527 }
12528 static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12530 }
12531 static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12532 return (void *)((wxObject *) ((wxPrintData *) x));
12533 }
12534 static void *_p_wxFontDataTo_p_wxObject(void *x) {
12535 return (void *)((wxObject *) ((wxFontData *) x));
12536 }
12537 static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12539 }
12540 static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12542 }
12543 static void *_p_wxListbookTo_p_wxObject(void *x) {
12544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12545 }
12546 static void *_p_wxFrameTo_p_wxObject(void *x) {
12547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12548 }
12549 static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12551 }
12552 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12554 }
12555 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12556 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12557 }
12558 static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12560 }
12561 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12562 return (void *)((wxObject *) ((wxFileSystem *) x));
12563 }
12564 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12565 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12566 }
12567 static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12568 return (void *)((wxObject *) ((wxPrintPreview *) x));
12569 }
12570 static void *_p_wxListViewTo_p_wxObject(void *x) {
12571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12572 }
12573 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12574 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12575 }
12576 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12578 }
12579 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12581 }
12582 static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12584 }
12585 static void *_p_wxSizerTo_p_wxObject(void *x) {
12586 return (void *)((wxObject *) ((wxSizer *) x));
12587 }
12588 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12589 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12590 }
12591 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12592 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12593 }
12594 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12595 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12596 }
12597 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12598 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12599 }
12600 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12601 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12602 }
12603 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12605 }
12606 static void *_p_wxFSFileTo_p_wxObject(void *x) {
12607 return (void *)((wxObject *) ((wxFSFile *) x));
12608 }
12609 static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12611 }
12612 static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12614 }
12615 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12616 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12617 }
12618 static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12620 }
12621 static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12623 }
12624 static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12626 }
12627 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12629 }
12630 static void *_p_wxMenuTo_p_wxObject(void *x) {
12631 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12632 }
12633 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12634 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12635 }
12636 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12637 return (void *)((wxObject *) ((wxSizerItem *) x));
12638 }
12639 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12641 }
12642 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12644 }
12645 static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12646 return (void *)((wxObject *) ((wxPrintDialog *) x));
12647 }
12648 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12649 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12650 }
12651 static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12653 }
12654 static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12656 }
12657 static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12659 }
12660 static void *_p_wxDialogTo_p_wxObject(void *x) {
12661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12662 }
12663 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12665 }
12666 static void *_p_wxPyEventTo_p_wxObject(void *x) {
12667 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12668 }
12669 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12671 }
12672 static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12674 }
12675 static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12677 }
12678 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12679 return (void *)((wxObject *) ((wxEvtHandler *) x));
12680 }
12681 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12682 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12683 }
12684 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12685 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12686 }
12687 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12688 return (void *)((wxObject *) ((wxImageHandler *) x));
12689 }
12690 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12691 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12692 }
12693 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12694 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12695 }
12696 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12697 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12698 }
12699 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12700 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12701 }
12702 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12703 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12704 }
12705 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12706 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12707 }
12708 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12709 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12710 }
12711 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12712 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12713 }
12714 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12715 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12716 }
12717 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12718 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12719 }
12720 static void *_p_wxShowEventTo_p_wxObject(void *x) {
12721 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12722 }
12723 static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12725 }
12726 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12728 }
12729 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12731 }
12732 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12734 }
12735 static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12737 }
12738 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12740 }
12741 static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12743 }
12744 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12746 }
12747 static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12749 }
12750 static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12752 }
12753 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12755 }
12756 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12758 }
12759 static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12761 }
12762 static void *_p_wxWindowTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12764 }
12765 static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12767 }
12768 static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12770 }
12771 static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12773 }
12774 static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12776 }
12777 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12779 }
12780 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12782 }
12783 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12785 }
12786 static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12788 }
12789 static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12791 }
12792 static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12794 }
12795 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12797 }
12798 static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12800 }
12801 static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12803 }
12804 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12806 }
12807 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12809 }
12810 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12812 }
12813 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12815 }
12816 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12818 }
12819 static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12821 }
12822 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12824 }
12825 static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12827 }
12828 static void *_p_wxSliderTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12830 }
12831 static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12833 }
12834 static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12836 }
12837 static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12839 }
12840 static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12842 }
12843 static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12845 }
12846 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12848 }
12849 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12851 }
12852 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12854 }
12855 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12857 }
12858 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12860 }
12861 static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12863 }
12864 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12866 }
12867 static void *_p_wxPanelTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12869 }
12870 static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12872 }
12873 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12875 }
12876 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12878 }
12879 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12881 }
12882 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12884 }
12885 static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12887 }
12888 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12890 }
12891 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12893 }
12894 static void *_p_wxToolbookTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12896 }
12897 static void *_p_wxToolBarTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12899 }
12900 static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12902 }
12903 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12905 }
12906 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12908 }
12909 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12911 }
12912 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12914 }
12915 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12917 }
12918 static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12919 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12920 }
12921 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12922 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12923 }
12924 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12925 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12926 }
12927 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12928 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12929 }
12930 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12931 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12932 }
12933 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12934 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12935 }
12936 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12937 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12938 }
12939 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12940 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12941 }
12942 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12943 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12944 }
12945 static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12946 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12947 }
12948 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12950 }
12951 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12952 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12953 }
12954 static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12955 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12956 }
12957 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12959 }
12960 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12961 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12962 }
12963 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12964 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12965 }
12966 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12967 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12968 }
12969 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12970 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12971 }
12972 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12974 }
12975 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12977 }
12978 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12979 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12980 }
12981 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12982 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12983 }
12984 static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12985 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12986 }
12987 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12988 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12989 }
12990 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12991 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12992 }
12993 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
12994 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12995 }
12996 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12997 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12998 }
12999 static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
13000 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
13001 }
13002 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13003 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13004 }
13005 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13006 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13007 }
13008 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
13009 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
13010 }
13011 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13012 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13013 }
13014 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13016 }
13017 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13019 }
13020 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13021 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13022 }
13023 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13024 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13025 }
13026 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13028 }
13029 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13031 }
13032 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13033 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13034 }
13035 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13037 }
13038 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13040 }
13041 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13042 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13043 }
13044 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13045 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13046 }
13047 static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13048 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13049 }
13050 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13052 }
13053 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13055 }
13056 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13057 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13058 }
13059 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13060 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13061 }
13062 static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13063 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13064 }
13065 static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13066 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13067 }
13068 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13070 }
13071 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13073 }
13074 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13076 }
13077 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13079 }
13080 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13082 }
13083 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13085 }
13086 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
13088 }
13089 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13090 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13091 }
13092 static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13094 }
13095 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13096 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13097 }
13098 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13099 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13100 }
13101 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13102 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13103 }
13104 static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13106 }
13107 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13108 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13109 }
13110 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13111 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13112 }
13113 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13115 }
13116 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13117 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13118 }
13119 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13120 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13121 }
13122 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13123 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13124 }
13125 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13127 }
13128 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13130 }
13131 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13132 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13133 }
13134 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13135 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13136 }
13137 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13138 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13139 }
13140 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13141 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13142 }
13143 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13144 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13145 }
13146 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13147 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13148 }
13149 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13150 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13151 }
13152 static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13154 }
13155 static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13157 }
13158 static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13159 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13160 }
13161 static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13162 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13163 }
13164 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13165 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13166 }
13167 static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13169 }
13170 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13172 }
13173 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13175 }
13176 static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13177 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13178 }
13179 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13180 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13181 }
13182 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13184 }
13185 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13186 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13187 }
13188 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13190 }
13191 static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13193 }
13194 static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13196 }
13197 static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13199 }
13200 static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13202 }
13203 static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13205 }
13206 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13208 }
13209 static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13211 }
13212 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13214 }
13215 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13216 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13217 }
13218 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13219 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13220 }
13221 static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13222 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13223 }
13224 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13225 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13226 }
13227 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13228 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13229 }
13230 static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13231 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13232 }
13233 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13234 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13235 }
13236 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13237 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13238 }
13239 static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13240 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13241 }
13242 static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13243 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13244 }
13245 static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13246 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13247 }
13248 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13249 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13250 }
13251 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13252 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13253 }
13254 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13255 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13256 }
13257 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13258 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13259 }
13260 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13261 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13262 }
13263 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
13264 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
13265 }
13266 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
13267 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
13268 }
13269 static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
13270 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
13271 }
13272 static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13273 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13274 }
13275 static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13276 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13277 }
13278 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13279 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13280 }
13281 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13282 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13283 }
13284 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13285 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13286 }
13287 static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13288 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13289 }
13290 static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13291 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13292 }
13293 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13294 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13295 }
13296 static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13297 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13298 }
13299 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13300 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13301 }
13302 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13303 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13304 }
13305 static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13306 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13307 }
13308 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13309 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13310 }
13311 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13312 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13313 }
13314 static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13315 static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13316 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};
13317 static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13318 static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13319 static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13320 static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13321 static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13322 static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13323 static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13324 static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13325 static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13326 static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13327 static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13328 static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13329 static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13330 static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13331 static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13332 static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13333 static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13334 static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13335 static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13336 static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13337 static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13338 static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13339 static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13340 static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13341 static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13342 static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13343 static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13344 static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13345 static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13346 static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13347 static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13348 static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13349 static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13350 static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13351 static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13352 static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13353 static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13354 static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13355 static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
13356 static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13357 static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13358 static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13359 static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13360 static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13361 static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13362 static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13363 static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13364 static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13365 static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13366 static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13367 static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13368 static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13369 static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
13370 static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13371 static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13372 static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13373 static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13374 static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13375 static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13376 static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13377 static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13378 static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13379 static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13380 static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13381 static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13382 static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13383 static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13384 static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13385 static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13386 static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13387 static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13388 static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13389 static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13390 static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13391 static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13392 static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13393 static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13394 static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13395 static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13396 static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13397 static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13398 static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13399 static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13400 static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13401 static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13402 static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13403 static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13404 static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13405 static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13406 static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13407 static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13408 static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13409 static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13410 static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13411 static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13412 static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13413 static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13414 static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13415 static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13416 static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13417 static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13418 static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13419 static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13420 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13421 static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13422 static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13423 static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13424 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13425 static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13426 static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13427 static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13428 static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13429 static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13430 static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13431 static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13432 static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13433 static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13434 static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13435 static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13436 static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13437 static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13438 static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13439 static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13440 static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13441 static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13442 static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13443 static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13444 static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13445 static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13446 static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13447 static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13448 static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13449 static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13450 static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13451 static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13452 static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13453 static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13454 static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13455 static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13456 static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13457 static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13458 static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13459 static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13460 static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13461 static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13462 static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13463 static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13464 static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13465 static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13466 static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13467 static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13468 static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13469 static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13470 static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13471 static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13472 static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13473 static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13474 static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13475 static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13476 static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13477 static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13478 static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13479 static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13480 static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13481 static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13482 static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13483 static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13484 static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13485 static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13486 static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13487 static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13488 static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13489 static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13490 static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13491 static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13492 static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13493 static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13494 static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13495 static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13496 static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13497 static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13498 static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13499 static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13500 static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13501 static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13502 static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13503 static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13504 static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13505 static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13506 static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13507 static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13508 static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13509 static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13510 static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13511 static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13512 static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13513 static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13514 static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13515 static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13516 static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13517 static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13518 static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13519 static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13520 static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13521 static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13522 static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13523 static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13524 static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13525 static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13526 static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13527 static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13528 static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
13529 static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13530 static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13531 static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13532 static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13533 static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13534 static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13535 static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13536 static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13537 static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13538 static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13539 static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13540 static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13541 static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13542 static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13543 static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13544
13545 static swig_type_info *swig_type_initial[] = {
13546 &_swigt__p_char,
13547 &_swigt__p_float,
13548 &_swigt__p_form_ops_t,
13549 &_swigt__p_int,
13550 &_swigt__p_unsigned_char,
13551 &_swigt__p_unsigned_int,
13552 &_swigt__p_unsigned_long,
13553 &_swigt__p_wxANIHandler,
13554 &_swigt__p_wxAcceleratorTable,
13555 &_swigt__p_wxActivateEvent,
13556 &_swigt__p_wxArrayString,
13557 &_swigt__p_wxBMPHandler,
13558 &_swigt__p_wxBitmap,
13559 &_swigt__p_wxBitmapButton,
13560 &_swigt__p_wxBookCtrlBase,
13561 &_swigt__p_wxBookCtrlBaseEvent,
13562 &_swigt__p_wxBoxSizer,
13563 &_swigt__p_wxButton,
13564 &_swigt__p_wxCURHandler,
13565 &_swigt__p_wxCalculateLayoutEvent,
13566 &_swigt__p_wxCheckBox,
13567 &_swigt__p_wxCheckListBox,
13568 &_swigt__p_wxChildFocusEvent,
13569 &_swigt__p_wxChoice,
13570 &_swigt__p_wxChoicebook,
13571 &_swigt__p_wxChoicebookEvent,
13572 &_swigt__p_wxClipboardTextEvent,
13573 &_swigt__p_wxCloseEvent,
13574 &_swigt__p_wxColour,
13575 &_swigt__p_wxColourData,
13576 &_swigt__p_wxColourDialog,
13577 &_swigt__p_wxColourPickerCtrl,
13578 &_swigt__p_wxColourPickerEvent,
13579 &_swigt__p_wxComboBox,
13580 &_swigt__p_wxCommandEvent,
13581 &_swigt__p_wxContextHelp,
13582 &_swigt__p_wxContextHelpButton,
13583 &_swigt__p_wxContextMenuEvent,
13584 &_swigt__p_wxControl,
13585 &_swigt__p_wxControlWithItems,
13586 &_swigt__p_wxDateEvent,
13587 &_swigt__p_wxDatePickerCtrl,
13588 &_swigt__p_wxDialog,
13589 &_swigt__p_wxDirDialog,
13590 &_swigt__p_wxDirFilterListCtrl,
13591 &_swigt__p_wxDirPickerCtrl,
13592 &_swigt__p_wxDisplayChangedEvent,
13593 &_swigt__p_wxDropFilesEvent,
13594 &_swigt__p_wxDuplexMode,
13595 &_swigt__p_wxDynamicSashSplitEvent,
13596 &_swigt__p_wxDynamicSashUnifyEvent,
13597 &_swigt__p_wxDynamicSashWindow,
13598 &_swigt__p_wxEditableListBox,
13599 &_swigt__p_wxEraseEvent,
13600 &_swigt__p_wxEvent,
13601 &_swigt__p_wxEvtHandler,
13602 &_swigt__p_wxFSFile,
13603 &_swigt__p_wxFileDialog,
13604 &_swigt__p_wxFileDirPickerEvent,
13605 &_swigt__p_wxFilePickerCtrl,
13606 &_swigt__p_wxFileSystem,
13607 &_swigt__p_wxFindDialogEvent,
13608 &_swigt__p_wxFindReplaceData,
13609 &_swigt__p_wxFindReplaceDialog,
13610 &_swigt__p_wxFlexGridSizer,
13611 &_swigt__p_wxFocusEvent,
13612 &_swigt__p_wxFont,
13613 &_swigt__p_wxFontData,
13614 &_swigt__p_wxFontDialog,
13615 &_swigt__p_wxFontPickerCtrl,
13616 &_swigt__p_wxFontPickerEvent,
13617 &_swigt__p_wxFrame,
13618 &_swigt__p_wxGBSizerItem,
13619 &_swigt__p_wxGIFHandler,
13620 &_swigt__p_wxGauge,
13621 &_swigt__p_wxGenericDirCtrl,
13622 &_swigt__p_wxGenericDragImage,
13623 &_swigt__p_wxGridBagSizer,
13624 &_swigt__p_wxGridSizer,
13625 &_swigt__p_wxHelpEvent,
13626 &_swigt__p_wxHyperlinkCtrl,
13627 &_swigt__p_wxHyperlinkEvent,
13628 &_swigt__p_wxICOHandler,
13629 &_swigt__p_wxIcon,
13630 &_swigt__p_wxIconizeEvent,
13631 &_swigt__p_wxIdleEvent,
13632 &_swigt__p_wxImage,
13633 &_swigt__p_wxImageHandler,
13634 &_swigt__p_wxImageList,
13635 &_swigt__p_wxIndividualLayoutConstraint,
13636 &_swigt__p_wxInitDialogEvent,
13637 &_swigt__p_wxJPEGHandler,
13638 &_swigt__p_wxKeyEvent,
13639 &_swigt__p_wxLEDNumberCtrl,
13640 &_swigt__p_wxLayoutAlgorithm,
13641 &_swigt__p_wxLayoutConstraints,
13642 &_swigt__p_wxListBox,
13643 &_swigt__p_wxListEvent,
13644 &_swigt__p_wxListItem,
13645 &_swigt__p_wxListView,
13646 &_swigt__p_wxListbook,
13647 &_swigt__p_wxListbookEvent,
13648 &_swigt__p_wxMDIChildFrame,
13649 &_swigt__p_wxMDIClientWindow,
13650 &_swigt__p_wxMDIParentFrame,
13651 &_swigt__p_wxMaximizeEvent,
13652 &_swigt__p_wxMenu,
13653 &_swigt__p_wxMenuBar,
13654 &_swigt__p_wxMenuEvent,
13655 &_swigt__p_wxMenuItem,
13656 &_swigt__p_wxMessageDialog,
13657 &_swigt__p_wxMiniFrame,
13658 &_swigt__p_wxMouseCaptureChangedEvent,
13659 &_swigt__p_wxMouseCaptureLostEvent,
13660 &_swigt__p_wxMouseEvent,
13661 &_swigt__p_wxMoveEvent,
13662 &_swigt__p_wxMultiChoiceDialog,
13663 &_swigt__p_wxNavigationKeyEvent,
13664 &_swigt__p_wxNcPaintEvent,
13665 &_swigt__p_wxNotebook,
13666 &_swigt__p_wxNotebookEvent,
13667 &_swigt__p_wxNotifyEvent,
13668 &_swigt__p_wxNumberEntryDialog,
13669 &_swigt__p_wxObject,
13670 &_swigt__p_wxPCXHandler,
13671 &_swigt__p_wxPNGHandler,
13672 &_swigt__p_wxPNMHandler,
13673 &_swigt__p_wxPageSetupDialog,
13674 &_swigt__p_wxPageSetupDialogData,
13675 &_swigt__p_wxPaintEvent,
13676 &_swigt__p_wxPaletteChangedEvent,
13677 &_swigt__p_wxPanel,
13678 &_swigt__p_wxPaperSize,
13679 &_swigt__p_wxPasswordEntryDialog,
13680 &_swigt__p_wxPickerBase,
13681 &_swigt__p_wxPopupWindow,
13682 &_swigt__p_wxPreviewCanvas,
13683 &_swigt__p_wxPreviewControlBar,
13684 &_swigt__p_wxPreviewFrame,
13685 &_swigt__p_wxPrintData,
13686 &_swigt__p_wxPrintDialog,
13687 &_swigt__p_wxPrintDialogData,
13688 &_swigt__p_wxPrintPreview,
13689 &_swigt__p_wxPrinter,
13690 &_swigt__p_wxProgressDialog,
13691 &_swigt__p_wxPyApp,
13692 &_swigt__p_wxPyCommandEvent,
13693 &_swigt__p_wxPyControl,
13694 &_swigt__p_wxPyEvent,
13695 &_swigt__p_wxPyHtmlListBox,
13696 &_swigt__p_wxPyImageHandler,
13697 &_swigt__p_wxPyListCtrl,
13698 &_swigt__p_wxPyPanel,
13699 &_swigt__p_wxPyPopupTransientWindow,
13700 &_swigt__p_wxPyPreviewControlBar,
13701 &_swigt__p_wxPyPreviewFrame,
13702 &_swigt__p_wxPyPrintPreview,
13703 &_swigt__p_wxPyPrintout,
13704 &_swigt__p_wxPyScrolledWindow,
13705 &_swigt__p_wxPySizer,
13706 &_swigt__p_wxPyTaskBarIcon,
13707 &_swigt__p_wxPyTreeCompanionWindow,
13708 &_swigt__p_wxPyTreeCtrl,
13709 &_swigt__p_wxPyTreeItemData,
13710 &_swigt__p_wxPyTreeListCtrl,
13711 &_swigt__p_wxPyVListBox,
13712 &_swigt__p_wxPyVScrolledWindow,
13713 &_swigt__p_wxPyValidator,
13714 &_swigt__p_wxPyWindow,
13715 &_swigt__p_wxQueryLayoutInfoEvent,
13716 &_swigt__p_wxQueryNewPaletteEvent,
13717 &_swigt__p_wxRadioBox,
13718 &_swigt__p_wxRadioButton,
13719 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13720 &_swigt__p_wxSashEvent,
13721 &_swigt__p_wxSashLayoutWindow,
13722 &_swigt__p_wxSashWindow,
13723 &_swigt__p_wxScrollBar,
13724 &_swigt__p_wxScrollEvent,
13725 &_swigt__p_wxScrollWinEvent,
13726 &_swigt__p_wxScrolledWindow,
13727 &_swigt__p_wxSetCursorEvent,
13728 &_swigt__p_wxShowEvent,
13729 &_swigt__p_wxSingleChoiceDialog,
13730 &_swigt__p_wxSizeEvent,
13731 &_swigt__p_wxSizer,
13732 &_swigt__p_wxSizerItem,
13733 &_swigt__p_wxSlider,
13734 &_swigt__p_wxSpinButton,
13735 &_swigt__p_wxSpinCtrl,
13736 &_swigt__p_wxSpinEvent,
13737 &_swigt__p_wxSplashScreen,
13738 &_swigt__p_wxSplashScreenWindow,
13739 &_swigt__p_wxSplitterEvent,
13740 &_swigt__p_wxSplitterScrolledWindow,
13741 &_swigt__p_wxSplitterWindow,
13742 &_swigt__p_wxStaticBitmap,
13743 &_swigt__p_wxStaticBox,
13744 &_swigt__p_wxStaticBoxSizer,
13745 &_swigt__p_wxStaticLine,
13746 &_swigt__p_wxStaticPicture,
13747 &_swigt__p_wxStaticText,
13748 &_swigt__p_wxStatusBar,
13749 &_swigt__p_wxStdDialogButtonSizer,
13750 &_swigt__p_wxSysColourChangedEvent,
13751 &_swigt__p_wxTIFFHandler,
13752 &_swigt__p_wxTaskBarIconEvent,
13753 &_swigt__p_wxTextCtrl,
13754 &_swigt__p_wxTextEntryDialog,
13755 &_swigt__p_wxTextUrlEvent,
13756 &_swigt__p_wxThinSplitterWindow,
13757 &_swigt__p_wxTipWindow,
13758 &_swigt__p_wxToggleButton,
13759 &_swigt__p_wxToolBar,
13760 &_swigt__p_wxToolBarBase,
13761 &_swigt__p_wxToolBarToolBase,
13762 &_swigt__p_wxToolbook,
13763 &_swigt__p_wxToolbookEvent,
13764 &_swigt__p_wxTopLevelWindow,
13765 &_swigt__p_wxTreeEvent,
13766 &_swigt__p_wxTreeItemId,
13767 &_swigt__p_wxTreeListColumnInfo,
13768 &_swigt__p_wxTreebook,
13769 &_swigt__p_wxTreebookEvent,
13770 &_swigt__p_wxUpdateUIEvent,
13771 &_swigt__p_wxValidator,
13772 &_swigt__p_wxWindow,
13773 &_swigt__p_wxWindowCreateEvent,
13774 &_swigt__p_wxWindowDestroyEvent,
13775 &_swigt__p_wxXPMHandler,
13776 };
13777
13778 static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13779 static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13780 static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13781 static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13782 static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13783 static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13784 static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13785 static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13786 static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13787 static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13788 static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13789 static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13790 static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13791 static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13792 static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13793 static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13794 static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13795 static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13796 static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13797 static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13798 static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13799 static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13800 static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13801 static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13802 static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13803 static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13804 static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13805 static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13806 static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13807 static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13808 static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13809 static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13810 static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13811 static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13812 static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13813 static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13814 static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13815 static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13816 static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
13817 static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13818 static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13819 static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13820 static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13821 static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13822 static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13823 static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13824 static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13825 static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13826 static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13827 static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13828 static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13829 static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13830 static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13831 static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13832 static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13833 static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13834 static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13835 static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13836 static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13837 static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13838 static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13839 static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13840 static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13841 static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13842 static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13843 static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13844 static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13845 static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13846 static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13847 static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13848 static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13849 static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13850 static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13851 static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13852 static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13853 static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13854 static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13855 static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13856 static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13857 static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
13858 static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13859 static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13860 static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13861 static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13862 static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13863 static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13864 static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13865 static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13866 static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13867 static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13868 static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13869 static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13870 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13871 static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13872 static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13873 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13874 static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13875 static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13876 static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13877 static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13878 static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13879 static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13880 static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13881 static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13882 static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13883 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13884 static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13885 static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13886 static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13887 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13888 static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13889 static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13890 static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13891 static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13892 static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13893 static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13894 static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13895 static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13896 static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13897 static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13898 static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13899 static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13900 static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13901 static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13902 static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13903 static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13904 static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13905 static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13906 static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13907 static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13908 static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13909 static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13910 static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13911 static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13912 static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13913 static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13914 static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13915 static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13916 static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13917 static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13918 static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13919 static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13920 static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13921 static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13922 static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13923 static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13924 static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13925 static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13926 static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13927 static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13928 static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13929 static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13930 static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13931 static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13932 static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13933 static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13934 static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13935 static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13936 static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13937 static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13938 static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13939 static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13940 static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13941 static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13942 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13943 static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13944 static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13945 static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13946 static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13947 static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13948 static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13949 static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13950 static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13951 static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13952 static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13953 static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13954 static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13955 static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13956 static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13957 static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13958 static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13959 static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13960 static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13961 static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13962 static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13963 static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13964 static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13965 static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13966 static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13967 static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13968 static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13969 static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13970 static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
13971 static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13972 static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
13973 static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
13974 static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
13975 static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
13976 static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
13977 static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
13978 static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13979 static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13980 static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13981 static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
13982 static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13983 static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13984 static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13985 static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13986 static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13987 static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13988 static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
13989 static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
13990 static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
13991 static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13992 static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
13993 static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13994 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}};
13995 static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13996 static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13997 static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13998 static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13999 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}};
14000 static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14001 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}};
14002 static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14003 static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14004 static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14005 static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14006 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}};
14007 static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
14008
14009 static swig_cast_info *swig_cast_initial[] = {
14010 _swigc__p_char,
14011 _swigc__p_float,
14012 _swigc__p_form_ops_t,
14013 _swigc__p_int,
14014 _swigc__p_unsigned_char,
14015 _swigc__p_unsigned_int,
14016 _swigc__p_unsigned_long,
14017 _swigc__p_wxANIHandler,
14018 _swigc__p_wxAcceleratorTable,
14019 _swigc__p_wxActivateEvent,
14020 _swigc__p_wxArrayString,
14021 _swigc__p_wxBMPHandler,
14022 _swigc__p_wxBitmap,
14023 _swigc__p_wxBitmapButton,
14024 _swigc__p_wxBookCtrlBase,
14025 _swigc__p_wxBookCtrlBaseEvent,
14026 _swigc__p_wxBoxSizer,
14027 _swigc__p_wxButton,
14028 _swigc__p_wxCURHandler,
14029 _swigc__p_wxCalculateLayoutEvent,
14030 _swigc__p_wxCheckBox,
14031 _swigc__p_wxCheckListBox,
14032 _swigc__p_wxChildFocusEvent,
14033 _swigc__p_wxChoice,
14034 _swigc__p_wxChoicebook,
14035 _swigc__p_wxChoicebookEvent,
14036 _swigc__p_wxClipboardTextEvent,
14037 _swigc__p_wxCloseEvent,
14038 _swigc__p_wxColour,
14039 _swigc__p_wxColourData,
14040 _swigc__p_wxColourDialog,
14041 _swigc__p_wxColourPickerCtrl,
14042 _swigc__p_wxColourPickerEvent,
14043 _swigc__p_wxComboBox,
14044 _swigc__p_wxCommandEvent,
14045 _swigc__p_wxContextHelp,
14046 _swigc__p_wxContextHelpButton,
14047 _swigc__p_wxContextMenuEvent,
14048 _swigc__p_wxControl,
14049 _swigc__p_wxControlWithItems,
14050 _swigc__p_wxDateEvent,
14051 _swigc__p_wxDatePickerCtrl,
14052 _swigc__p_wxDialog,
14053 _swigc__p_wxDirDialog,
14054 _swigc__p_wxDirFilterListCtrl,
14055 _swigc__p_wxDirPickerCtrl,
14056 _swigc__p_wxDisplayChangedEvent,
14057 _swigc__p_wxDropFilesEvent,
14058 _swigc__p_wxDuplexMode,
14059 _swigc__p_wxDynamicSashSplitEvent,
14060 _swigc__p_wxDynamicSashUnifyEvent,
14061 _swigc__p_wxDynamicSashWindow,
14062 _swigc__p_wxEditableListBox,
14063 _swigc__p_wxEraseEvent,
14064 _swigc__p_wxEvent,
14065 _swigc__p_wxEvtHandler,
14066 _swigc__p_wxFSFile,
14067 _swigc__p_wxFileDialog,
14068 _swigc__p_wxFileDirPickerEvent,
14069 _swigc__p_wxFilePickerCtrl,
14070 _swigc__p_wxFileSystem,
14071 _swigc__p_wxFindDialogEvent,
14072 _swigc__p_wxFindReplaceData,
14073 _swigc__p_wxFindReplaceDialog,
14074 _swigc__p_wxFlexGridSizer,
14075 _swigc__p_wxFocusEvent,
14076 _swigc__p_wxFont,
14077 _swigc__p_wxFontData,
14078 _swigc__p_wxFontDialog,
14079 _swigc__p_wxFontPickerCtrl,
14080 _swigc__p_wxFontPickerEvent,
14081 _swigc__p_wxFrame,
14082 _swigc__p_wxGBSizerItem,
14083 _swigc__p_wxGIFHandler,
14084 _swigc__p_wxGauge,
14085 _swigc__p_wxGenericDirCtrl,
14086 _swigc__p_wxGenericDragImage,
14087 _swigc__p_wxGridBagSizer,
14088 _swigc__p_wxGridSizer,
14089 _swigc__p_wxHelpEvent,
14090 _swigc__p_wxHyperlinkCtrl,
14091 _swigc__p_wxHyperlinkEvent,
14092 _swigc__p_wxICOHandler,
14093 _swigc__p_wxIcon,
14094 _swigc__p_wxIconizeEvent,
14095 _swigc__p_wxIdleEvent,
14096 _swigc__p_wxImage,
14097 _swigc__p_wxImageHandler,
14098 _swigc__p_wxImageList,
14099 _swigc__p_wxIndividualLayoutConstraint,
14100 _swigc__p_wxInitDialogEvent,
14101 _swigc__p_wxJPEGHandler,
14102 _swigc__p_wxKeyEvent,
14103 _swigc__p_wxLEDNumberCtrl,
14104 _swigc__p_wxLayoutAlgorithm,
14105 _swigc__p_wxLayoutConstraints,
14106 _swigc__p_wxListBox,
14107 _swigc__p_wxListEvent,
14108 _swigc__p_wxListItem,
14109 _swigc__p_wxListView,
14110 _swigc__p_wxListbook,
14111 _swigc__p_wxListbookEvent,
14112 _swigc__p_wxMDIChildFrame,
14113 _swigc__p_wxMDIClientWindow,
14114 _swigc__p_wxMDIParentFrame,
14115 _swigc__p_wxMaximizeEvent,
14116 _swigc__p_wxMenu,
14117 _swigc__p_wxMenuBar,
14118 _swigc__p_wxMenuEvent,
14119 _swigc__p_wxMenuItem,
14120 _swigc__p_wxMessageDialog,
14121 _swigc__p_wxMiniFrame,
14122 _swigc__p_wxMouseCaptureChangedEvent,
14123 _swigc__p_wxMouseCaptureLostEvent,
14124 _swigc__p_wxMouseEvent,
14125 _swigc__p_wxMoveEvent,
14126 _swigc__p_wxMultiChoiceDialog,
14127 _swigc__p_wxNavigationKeyEvent,
14128 _swigc__p_wxNcPaintEvent,
14129 _swigc__p_wxNotebook,
14130 _swigc__p_wxNotebookEvent,
14131 _swigc__p_wxNotifyEvent,
14132 _swigc__p_wxNumberEntryDialog,
14133 _swigc__p_wxObject,
14134 _swigc__p_wxPCXHandler,
14135 _swigc__p_wxPNGHandler,
14136 _swigc__p_wxPNMHandler,
14137 _swigc__p_wxPageSetupDialog,
14138 _swigc__p_wxPageSetupDialogData,
14139 _swigc__p_wxPaintEvent,
14140 _swigc__p_wxPaletteChangedEvent,
14141 _swigc__p_wxPanel,
14142 _swigc__p_wxPaperSize,
14143 _swigc__p_wxPasswordEntryDialog,
14144 _swigc__p_wxPickerBase,
14145 _swigc__p_wxPopupWindow,
14146 _swigc__p_wxPreviewCanvas,
14147 _swigc__p_wxPreviewControlBar,
14148 _swigc__p_wxPreviewFrame,
14149 _swigc__p_wxPrintData,
14150 _swigc__p_wxPrintDialog,
14151 _swigc__p_wxPrintDialogData,
14152 _swigc__p_wxPrintPreview,
14153 _swigc__p_wxPrinter,
14154 _swigc__p_wxProgressDialog,
14155 _swigc__p_wxPyApp,
14156 _swigc__p_wxPyCommandEvent,
14157 _swigc__p_wxPyControl,
14158 _swigc__p_wxPyEvent,
14159 _swigc__p_wxPyHtmlListBox,
14160 _swigc__p_wxPyImageHandler,
14161 _swigc__p_wxPyListCtrl,
14162 _swigc__p_wxPyPanel,
14163 _swigc__p_wxPyPopupTransientWindow,
14164 _swigc__p_wxPyPreviewControlBar,
14165 _swigc__p_wxPyPreviewFrame,
14166 _swigc__p_wxPyPrintPreview,
14167 _swigc__p_wxPyPrintout,
14168 _swigc__p_wxPyScrolledWindow,
14169 _swigc__p_wxPySizer,
14170 _swigc__p_wxPyTaskBarIcon,
14171 _swigc__p_wxPyTreeCompanionWindow,
14172 _swigc__p_wxPyTreeCtrl,
14173 _swigc__p_wxPyTreeItemData,
14174 _swigc__p_wxPyTreeListCtrl,
14175 _swigc__p_wxPyVListBox,
14176 _swigc__p_wxPyVScrolledWindow,
14177 _swigc__p_wxPyValidator,
14178 _swigc__p_wxPyWindow,
14179 _swigc__p_wxQueryLayoutInfoEvent,
14180 _swigc__p_wxQueryNewPaletteEvent,
14181 _swigc__p_wxRadioBox,
14182 _swigc__p_wxRadioButton,
14183 _swigc__p_wxRemotelyScrolledTreeCtrl,
14184 _swigc__p_wxSashEvent,
14185 _swigc__p_wxSashLayoutWindow,
14186 _swigc__p_wxSashWindow,
14187 _swigc__p_wxScrollBar,
14188 _swigc__p_wxScrollEvent,
14189 _swigc__p_wxScrollWinEvent,
14190 _swigc__p_wxScrolledWindow,
14191 _swigc__p_wxSetCursorEvent,
14192 _swigc__p_wxShowEvent,
14193 _swigc__p_wxSingleChoiceDialog,
14194 _swigc__p_wxSizeEvent,
14195 _swigc__p_wxSizer,
14196 _swigc__p_wxSizerItem,
14197 _swigc__p_wxSlider,
14198 _swigc__p_wxSpinButton,
14199 _swigc__p_wxSpinCtrl,
14200 _swigc__p_wxSpinEvent,
14201 _swigc__p_wxSplashScreen,
14202 _swigc__p_wxSplashScreenWindow,
14203 _swigc__p_wxSplitterEvent,
14204 _swigc__p_wxSplitterScrolledWindow,
14205 _swigc__p_wxSplitterWindow,
14206 _swigc__p_wxStaticBitmap,
14207 _swigc__p_wxStaticBox,
14208 _swigc__p_wxStaticBoxSizer,
14209 _swigc__p_wxStaticLine,
14210 _swigc__p_wxStaticPicture,
14211 _swigc__p_wxStaticText,
14212 _swigc__p_wxStatusBar,
14213 _swigc__p_wxStdDialogButtonSizer,
14214 _swigc__p_wxSysColourChangedEvent,
14215 _swigc__p_wxTIFFHandler,
14216 _swigc__p_wxTaskBarIconEvent,
14217 _swigc__p_wxTextCtrl,
14218 _swigc__p_wxTextEntryDialog,
14219 _swigc__p_wxTextUrlEvent,
14220 _swigc__p_wxThinSplitterWindow,
14221 _swigc__p_wxTipWindow,
14222 _swigc__p_wxToggleButton,
14223 _swigc__p_wxToolBar,
14224 _swigc__p_wxToolBarBase,
14225 _swigc__p_wxToolBarToolBase,
14226 _swigc__p_wxToolbook,
14227 _swigc__p_wxToolbookEvent,
14228 _swigc__p_wxTopLevelWindow,
14229 _swigc__p_wxTreeEvent,
14230 _swigc__p_wxTreeItemId,
14231 _swigc__p_wxTreeListColumnInfo,
14232 _swigc__p_wxTreebook,
14233 _swigc__p_wxTreebookEvent,
14234 _swigc__p_wxUpdateUIEvent,
14235 _swigc__p_wxValidator,
14236 _swigc__p_wxWindow,
14237 _swigc__p_wxWindowCreateEvent,
14238 _swigc__p_wxWindowDestroyEvent,
14239 _swigc__p_wxXPMHandler,
14240 };
14241
14242
14243 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14244
14245 static swig_const_info swig_const_table[] = {
14246 {0, 0, 0, 0.0, 0, 0}};
14247
14248 #ifdef __cplusplus
14249 }
14250 #endif
14251 /* -----------------------------------------------------------------------------
14252 * Type initialization:
14253 * This problem is tough by the requirement that no dynamic
14254 * memory is used. Also, since swig_type_info structures store pointers to
14255 * swig_cast_info structures and swig_cast_info structures store pointers back
14256 * to swig_type_info structures, we need some lookup code at initialization.
14257 * The idea is that swig generates all the structures that are needed.
14258 * The runtime then collects these partially filled structures.
14259 * The SWIG_InitializeModule function takes these initial arrays out of
14260 * swig_module, and does all the lookup, filling in the swig_module.types
14261 * array with the correct data and linking the correct swig_cast_info
14262 * structures together.
14263 *
14264 * The generated swig_type_info structures are assigned staticly to an initial
14265 * array. We just loop though that array, and handle each type individually.
14266 * First we lookup if this type has been already loaded, and if so, use the
14267 * loaded structure instead of the generated one. Then we have to fill in the
14268 * cast linked list. The cast data is initially stored in something like a
14269 * two-dimensional array. Each row corresponds to a type (there are the same
14270 * number of rows as there are in the swig_type_initial array). Each entry in
14271 * a column is one of the swig_cast_info structures for that type.
14272 * The cast_initial array is actually an array of arrays, because each row has
14273 * a variable number of columns. So to actually build the cast linked list,
14274 * we find the array of casts associated with the type, and loop through it
14275 * adding the casts to the list. The one last trick we need to do is making
14276 * sure the type pointer in the swig_cast_info struct is correct.
14277 *
14278 * First off, we lookup the cast->type name to see if it is already loaded.
14279 * There are three cases to handle:
14280 * 1) If the cast->type has already been loaded AND the type we are adding
14281 * casting info to has not been loaded (it is in this module), THEN we
14282 * replace the cast->type pointer with the type pointer that has already
14283 * been loaded.
14284 * 2) If BOTH types (the one we are adding casting info to, and the
14285 * cast->type) are loaded, THEN the cast info has already been loaded by
14286 * the previous module so we just ignore it.
14287 * 3) Finally, if cast->type has not already been loaded, then we add that
14288 * swig_cast_info to the linked list (because the cast->type) pointer will
14289 * be correct.
14290 * ----------------------------------------------------------------------------- */
14291
14292 #ifdef __cplusplus
14293 extern "C" {
14294 #if 0
14295 } /* c-mode */
14296 #endif
14297 #endif
14298
14299 #if 0
14300 #define SWIGRUNTIME_DEBUG
14301 #endif
14302
14303 SWIGRUNTIME void
14304 SWIG_InitializeModule(void *clientdata) {
14305 size_t i;
14306 swig_module_info *module_head;
14307 static int init_run = 0;
14308
14309 clientdata = clientdata;
14310
14311 if (init_run) return;
14312 init_run = 1;
14313
14314 /* Initialize the swig_module */
14315 swig_module.type_initial = swig_type_initial;
14316 swig_module.cast_initial = swig_cast_initial;
14317
14318 /* Try and load any already created modules */
14319 module_head = SWIG_GetModule(clientdata);
14320 if (module_head) {
14321 swig_module.next = module_head->next;
14322 module_head->next = &swig_module;
14323 } else {
14324 /* This is the first module loaded */
14325 swig_module.next = &swig_module;
14326 SWIG_SetModule(clientdata, &swig_module);
14327 }
14328
14329 /* Now work on filling in swig_module.types */
14330 #ifdef SWIGRUNTIME_DEBUG
14331 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
14332 #endif
14333 for (i = 0; i < swig_module.size; ++i) {
14334 swig_type_info *type = 0;
14335 swig_type_info *ret;
14336 swig_cast_info *cast;
14337
14338 #ifdef SWIGRUNTIME_DEBUG
14339 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14340 #endif
14341
14342 /* if there is another module already loaded */
14343 if (swig_module.next != &swig_module) {
14344 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14345 }
14346 if (type) {
14347 /* Overwrite clientdata field */
14348 #ifdef SWIGRUNTIME_DEBUG
14349 printf("SWIG_InitializeModule: found type %s\n", type->name);
14350 #endif
14351 if (swig_module.type_initial[i]->clientdata) {
14352 type->clientdata = swig_module.type_initial[i]->clientdata;
14353 #ifdef SWIGRUNTIME_DEBUG
14354 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14355 #endif
14356 }
14357 } else {
14358 type = swig_module.type_initial[i];
14359 }
14360
14361 /* Insert casting types */
14362 cast = swig_module.cast_initial[i];
14363 while (cast->type) {
14364 /* Don't need to add information already in the list */
14365 ret = 0;
14366 #ifdef SWIGRUNTIME_DEBUG
14367 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14368 #endif
14369 if (swig_module.next != &swig_module) {
14370 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14371 #ifdef SWIGRUNTIME_DEBUG
14372 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14373 #endif
14374 }
14375 if (ret) {
14376 if (type == swig_module.type_initial[i]) {
14377 #ifdef SWIGRUNTIME_DEBUG
14378 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14379 #endif
14380 cast->type = ret;
14381 ret = 0;
14382 } else {
14383 /* Check for casting already in the list */
14384 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14385 #ifdef SWIGRUNTIME_DEBUG
14386 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14387 #endif
14388 if (!ocast) ret = 0;
14389 }
14390 }
14391
14392 if (!ret) {
14393 #ifdef SWIGRUNTIME_DEBUG
14394 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14395 #endif
14396 if (type->cast) {
14397 type->cast->prev = cast;
14398 cast->next = type->cast;
14399 }
14400 type->cast = cast;
14401 }
14402 cast++;
14403 }
14404 /* Set entry in modules->types array equal to the type */
14405 swig_module.types[i] = type;
14406 }
14407 swig_module.types[i] = 0;
14408
14409 #ifdef SWIGRUNTIME_DEBUG
14410 printf("**** SWIG_InitializeModule: Cast List ******\n");
14411 for (i = 0; i < swig_module.size; ++i) {
14412 int j = 0;
14413 swig_cast_info *cast = swig_module.cast_initial[i];
14414 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14415 while (cast->type) {
14416 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14417 cast++;
14418 ++j;
14419 }
14420 printf("---- Total casts: %d\n",j);
14421 }
14422 printf("**** SWIG_InitializeModule: Cast List ******\n");
14423 #endif
14424 }
14425
14426 /* This function will propagate the clientdata field of type to
14427 * any new swig_type_info structures that have been added into the list
14428 * of equivalent types. It is like calling
14429 * SWIG_TypeClientData(type, clientdata) a second time.
14430 */
14431 SWIGRUNTIME void
14432 SWIG_PropagateClientData(void) {
14433 size_t i;
14434 swig_cast_info *equiv;
14435 static int init_run = 0;
14436
14437 if (init_run) return;
14438 init_run = 1;
14439
14440 for (i = 0; i < swig_module.size; i++) {
14441 if (swig_module.types[i]->clientdata) {
14442 equiv = swig_module.types[i]->cast;
14443 while (equiv) {
14444 if (!equiv->converter) {
14445 if (equiv->type && !equiv->type->clientdata)
14446 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14447 }
14448 equiv = equiv->next;
14449 }
14450 }
14451 }
14452 }
14453
14454 #ifdef __cplusplus
14455 #if 0
14456 {
14457 /* c-mode */
14458 #endif
14459 }
14460 #endif
14461
14462
14463
14464 #ifdef __cplusplus
14465 extern "C" {
14466 #endif
14467
14468 /* Python-specific SWIG API */
14469 #define SWIG_newvarlink() SWIG_Python_newvarlink()
14470 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14471 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14472
14473 /* -----------------------------------------------------------------------------
14474 * global variable support code.
14475 * ----------------------------------------------------------------------------- */
14476
14477 typedef struct swig_globalvar {
14478 char *name; /* Name of global variable */
14479 PyObject *(*get_attr)(void); /* Return the current value */
14480 int (*set_attr)(PyObject *); /* Set the value */
14481 struct swig_globalvar *next;
14482 } swig_globalvar;
14483
14484 typedef struct swig_varlinkobject {
14485 PyObject_HEAD
14486 swig_globalvar *vars;
14487 } swig_varlinkobject;
14488
14489 SWIGINTERN PyObject *
14490 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14491 return PyString_FromString("<Swig global variables>");
14492 }
14493
14494 SWIGINTERN PyObject *
14495 swig_varlink_str(swig_varlinkobject *v) {
14496 PyObject *str = PyString_FromString("(");
14497 swig_globalvar *var;
14498 for (var = v->vars; var; var=var->next) {
14499 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14500 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14501 }
14502 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14503 return str;
14504 }
14505
14506 SWIGINTERN int
14507 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14508 PyObject *str = swig_varlink_str(v);
14509 fprintf(fp,"Swig global variables ");
14510 fprintf(fp,"%s\n", PyString_AsString(str));
14511 Py_DECREF(str);
14512 return 0;
14513 }
14514
14515 SWIGINTERN void
14516 swig_varlink_dealloc(swig_varlinkobject *v) {
14517 swig_globalvar *var = v->vars;
14518 while (var) {
14519 swig_globalvar *n = var->next;
14520 free(var->name);
14521 free(var);
14522 var = n;
14523 }
14524 }
14525
14526 SWIGINTERN PyObject *
14527 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14528 PyObject *res = NULL;
14529 swig_globalvar *var = v->vars;
14530 while (var) {
14531 if (strcmp(var->name,n) == 0) {
14532 res = (*var->get_attr)();
14533 break;
14534 }
14535 var = var->next;
14536 }
14537 if (res == NULL && !PyErr_Occurred()) {
14538 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14539 }
14540 return res;
14541 }
14542
14543 SWIGINTERN int
14544 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14545 int res = 1;
14546 swig_globalvar *var = v->vars;
14547 while (var) {
14548 if (strcmp(var->name,n) == 0) {
14549 res = (*var->set_attr)(p);
14550 break;
14551 }
14552 var = var->next;
14553 }
14554 if (res == 1 && !PyErr_Occurred()) {
14555 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14556 }
14557 return res;
14558 }
14559
14560 SWIGINTERN PyTypeObject*
14561 swig_varlink_type(void) {
14562 static char varlink__doc__[] = "Swig var link object";
14563 static PyTypeObject varlink_type;
14564 static int type_init = 0;
14565 if (!type_init) {
14566 const PyTypeObject tmp
14567 = {
14568 PyObject_HEAD_INIT(NULL)
14569 0, /* Number of items in variable part (ob_size) */
14570 (char *)"swigvarlink", /* Type name (tp_name) */
14571 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14572 0, /* Itemsize (tp_itemsize) */
14573 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14574 (printfunc) swig_varlink_print, /* Print (tp_print) */
14575 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14576 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14577 0, /* tp_compare */
14578 (reprfunc) swig_varlink_repr, /* tp_repr */
14579 0, /* tp_as_number */
14580 0, /* tp_as_sequence */
14581 0, /* tp_as_mapping */
14582 0, /* tp_hash */
14583 0, /* tp_call */
14584 (reprfunc)swig_varlink_str, /* tp_str */
14585 0, /* tp_getattro */
14586 0, /* tp_setattro */
14587 0, /* tp_as_buffer */
14588 0, /* tp_flags */
14589 varlink__doc__, /* tp_doc */
14590 0, /* tp_traverse */
14591 0, /* tp_clear */
14592 0, /* tp_richcompare */
14593 0, /* tp_weaklistoffset */
14594 #if PY_VERSION_HEX >= 0x02020000
14595 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14596 #endif
14597 #if PY_VERSION_HEX >= 0x02030000
14598 0, /* tp_del */
14599 #endif
14600 #ifdef COUNT_ALLOCS
14601 0,0,0,0 /* tp_alloc -> tp_next */
14602 #endif
14603 };
14604 varlink_type = tmp;
14605 varlink_type.ob_type = &PyType_Type;
14606 type_init = 1;
14607 }
14608 return &varlink_type;
14609 }
14610
14611 /* Create a variable linking object for use later */
14612 SWIGINTERN PyObject *
14613 SWIG_Python_newvarlink(void) {
14614 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14615 if (result) {
14616 result->vars = 0;
14617 }
14618 return ((PyObject*) result);
14619 }
14620
14621 SWIGINTERN void
14622 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14623 swig_varlinkobject *v = (swig_varlinkobject *) p;
14624 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14625 if (gv) {
14626 size_t size = strlen(name)+1;
14627 gv->name = (char *)malloc(size);
14628 if (gv->name) {
14629 strncpy(gv->name,name,size);
14630 gv->get_attr = get_attr;
14631 gv->set_attr = set_attr;
14632 gv->next = v->vars;
14633 }
14634 }
14635 v->vars = gv;
14636 }
14637
14638 SWIGINTERN PyObject *
14639 SWIG_globals() {
14640 static PyObject *_SWIG_globals = 0;
14641 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14642 return _SWIG_globals;
14643 }
14644
14645 /* -----------------------------------------------------------------------------
14646 * constants/methods manipulation
14647 * ----------------------------------------------------------------------------- */
14648
14649 /* Install Constants */
14650 SWIGINTERN void
14651 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14652 PyObject *obj = 0;
14653 size_t i;
14654 for (i = 0; constants[i].type; ++i) {
14655 switch(constants[i].type) {
14656 case SWIG_PY_POINTER:
14657 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14658 break;
14659 case SWIG_PY_BINARY:
14660 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14661 break;
14662 default:
14663 obj = 0;
14664 break;
14665 }
14666 if (obj) {
14667 PyDict_SetItemString(d, constants[i].name, obj);
14668 Py_DECREF(obj);
14669 }
14670 }
14671 }
14672
14673 /* -----------------------------------------------------------------------------*/
14674 /* Fix SwigMethods to carry the callback ptrs when needed */
14675 /* -----------------------------------------------------------------------------*/
14676
14677 SWIGINTERN void
14678 SWIG_Python_FixMethods(PyMethodDef *methods,
14679 swig_const_info *const_table,
14680 swig_type_info **types,
14681 swig_type_info **types_initial) {
14682 size_t i;
14683 for (i = 0; methods[i].ml_name; ++i) {
14684 const char *c = methods[i].ml_doc;
14685 if (c && (c = strstr(c, "swig_ptr: "))) {
14686 int j;
14687 swig_const_info *ci = 0;
14688 const char *name = c + 10;
14689 for (j = 0; const_table[j].type; ++j) {
14690 if (strncmp(const_table[j].name, name,
14691 strlen(const_table[j].name)) == 0) {
14692 ci = &(const_table[j]);
14693 break;
14694 }
14695 }
14696 if (ci) {
14697 size_t shift = (ci->ptype) - types;
14698 swig_type_info *ty = types_initial[shift];
14699 size_t ldoc = (c - methods[i].ml_doc);
14700 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14701 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14702 if (ndoc) {
14703 char *buff = ndoc;
14704 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14705 if (ptr) {
14706 strncpy(buff, methods[i].ml_doc, ldoc);
14707 buff += ldoc;
14708 strncpy(buff, "swig_ptr: ", 10);
14709 buff += 10;
14710 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14711 methods[i].ml_doc = ndoc;
14712 }
14713 }
14714 }
14715 }
14716 }
14717 }
14718
14719 #ifdef __cplusplus
14720 }
14721 #endif
14722
14723 /* -----------------------------------------------------------------------------*
14724 * Partial Init method
14725 * -----------------------------------------------------------------------------*/
14726
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 SWIGEXPORT void SWIG_init(void) {
14731 PyObject *m, *d;
14732
14733 /* Fix SwigMethods to carry the callback ptrs when needed */
14734 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14735
14736 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14737 d = PyModule_GetDict(m);
14738
14739 SWIG_InitializeModule(0);
14740 SWIG_InstallConstants(d,swig_const_table);
14741
14742
14743 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14744 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14745 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14746 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14747 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14748 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14749 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14750 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14751 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14752 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14753 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14754 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14755 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14756 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14757 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14758 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14759 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14760 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14761 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14762 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14763 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14764 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14765 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14766 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14767 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
14768 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14769 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14770 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14771
14772 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14773
14774 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14775 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14776 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14777 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14778
14779 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14780
14781 }
14782