]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
Another package name fix
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
... / ...
CommitLineData
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
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
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; }
25private:
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)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE 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
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
318/* Structure to store inforomation on one type */
319typedef 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 */
329typedef 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.*/
339typedef 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*/
355SWIGRUNTIME int
356SWIG_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*/
370SWIGRUNTIME int
371SWIG_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*/
389SWIGRUNTIME int
390SWIG_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*/
430SWIGRUNTIME swig_cast_info *
431SWIG_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 */
436SWIGRUNTIME swig_cast_info *
437SWIG_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*/
444SWIGRUNTIMEINLINE void *
445SWIG_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*/
452SWIGRUNTIME swig_type_info *
453SWIG_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*/
466SWIGRUNTIMEINLINE const char *
467SWIG_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*/
475SWIGRUNTIME const char *
476SWIG_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*/
496SWIGRUNTIME void
497SWIG_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}
512SWIGRUNTIME void
513SWIG_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*/
526SWIGRUNTIME swig_type_info *
527SWIG_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*/
571SWIGRUNTIME swig_type_info *
572SWIG_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*/
600SWIGRUNTIME char *
601SWIG_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*/
616SWIGRUNTIME const char *
617SWIG_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*/
644SWIGRUNTIME char *
645SWIG_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
655SWIGRUNTIME const char *
656SWIG_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
668SWIGRUNTIME char *
669SWIG_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
683SWIGRUNTIME const char *
684SWIG_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
736static PyObject *
737PyString_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
790static
791PyObject *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
804SWIGRUNTIME PyObject*
805SWIG_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
848SWIGRUNTIME void
849SWIG_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
942extern "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 */
957typedef 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
989typedef 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
1035SWIGINTERN void
1036SWIG_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
1043SWIGINTERN void
1044SWIG_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
1054SWIGINTERN void
1055SWIG_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
1062SWIGINTERN PyObject*
1063SWIG_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
1107SWIGINTERN int
1108SWIG_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
1173extern "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
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_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
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_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
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_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
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_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
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_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
1373SWIGRUNTIME int
1374PySwigObject_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
1390SWIGRUNTIME PyObject *
1391PySwigObject_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
1398SWIGRUNTIME int
1399PySwigObject_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
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_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
1457SWIGRUNTIME PyObject*
1458PySwigObject_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
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_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
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_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
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_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
1514SWIGINTERN PyObject*
1515PySwigObject_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
1550static PyMethodDef
1551swigobject_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
1561static PyMethodDef
1562swigobject_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
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME 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
1687SWIGRUNTIME PyObject *
1688PySwigObject_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
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
1707 swig_type_info *ty;
1708 size_t size;
1709} PySwigPacked;
1710
1711SWIGRUNTIME int
1712PySwigPacked_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
1725SWIGRUNTIME PyObject *
1726PySwigPacked_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
1736SWIGRUNTIME PyObject *
1737PySwigPacked_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
1747SWIGRUNTIME int
1748PySwigPacked_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
1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
1757
1758SWIGRUNTIME PyTypeObject*
1759PySwigPacked_type(void) {
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_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
1780SWIGRUNTIME 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
1850SWIGRUNTIME PyObject *
1851PySwigPacked_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
1869SWIGRUNTIME swig_type_info *
1870PySwigPacked_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
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
1891
1892SWIGRUNTIME PyObject *
1893SWIG_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
1901SWIGRUNTIME PySwigObject *
1902SWIG_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
1952SWIGRUNTIME int
1953SWIG_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
1967SWIGRUNTIME int
1968SWIG_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
2047SWIGRUNTIME int
2048SWIG_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
2074SWIGRUNTIME int
2075SWIG_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
2097SWIGRUNTIME PyObject*
2098SWIG_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
2160SWIGRUNTIME void
2161SWIG_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
2182SWIGINTERN PyObject *
2183SWIG_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
2200SWIGRUNTIME PyObject *
2201SWIG_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
2221SWIGRUNTIMEINLINE PyObject *
2222SWIG_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
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
2234SWIGRUNTIME swig_module_info *
2235SWIG_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 */
2256SWIGINTERN int
2257PyModule_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
2285SWIGRUNTIME void
2286SWIG_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
2301SWIGRUNTIME void
2302SWIG_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 */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
2320}
2321
2322SWIGRUNTIME swig_type_info *
2323SWIG_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
2351SWIGRUNTIME int
2352SWIG_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
2376SWIGRUNTIME int
2377SWIG_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
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_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
2397SWIGRUNTIME void
2398SWIG_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 */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_char swig_types[0]
2467#define SWIGTYPE_p_float swig_types[1]
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayString swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480#define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482#define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483#define SWIGTYPE_p_wxButton swig_types[17]
2484#define SWIGTYPE_p_wxCURHandler swig_types[18]
2485#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486#define SWIGTYPE_p_wxCheckBox swig_types[20]
2487#define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488#define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489#define SWIGTYPE_p_wxChoice swig_types[23]
2490#define SWIGTYPE_p_wxChoicebook swig_types[24]
2491#define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2492#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493#define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494#define SWIGTYPE_p_wxCollapsiblePane swig_types[28]
2495#define SWIGTYPE_p_wxCollapsiblePaneEvent swig_types[29]
2496#define SWIGTYPE_p_wxColour swig_types[30]
2497#define SWIGTYPE_p_wxColourData swig_types[31]
2498#define SWIGTYPE_p_wxColourDialog swig_types[32]
2499#define SWIGTYPE_p_wxColourPickerCtrl swig_types[33]
2500#define SWIGTYPE_p_wxColourPickerEvent swig_types[34]
2501#define SWIGTYPE_p_wxComboBox swig_types[35]
2502#define SWIGTYPE_p_wxCommandEvent swig_types[36]
2503#define SWIGTYPE_p_wxContextHelp swig_types[37]
2504#define SWIGTYPE_p_wxContextHelpButton swig_types[38]
2505#define SWIGTYPE_p_wxContextMenuEvent swig_types[39]
2506#define SWIGTYPE_p_wxControl swig_types[40]
2507#define SWIGTYPE_p_wxControlWithItems swig_types[41]
2508#define SWIGTYPE_p_wxDateEvent swig_types[42]
2509#define SWIGTYPE_p_wxDatePickerCtrl swig_types[43]
2510#define SWIGTYPE_p_wxDialog swig_types[44]
2511#define SWIGTYPE_p_wxDirDialog swig_types[45]
2512#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[46]
2513#define SWIGTYPE_p_wxDirPickerCtrl swig_types[47]
2514#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[48]
2515#define SWIGTYPE_p_wxDropFilesEvent swig_types[49]
2516#define SWIGTYPE_p_wxDuplexMode swig_types[50]
2517#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[51]
2518#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[52]
2519#define SWIGTYPE_p_wxDynamicSashWindow swig_types[53]
2520#define SWIGTYPE_p_wxEditableListBox swig_types[54]
2521#define SWIGTYPE_p_wxEraseEvent swig_types[55]
2522#define SWIGTYPE_p_wxEvent swig_types[56]
2523#define SWIGTYPE_p_wxEvtHandler swig_types[57]
2524#define SWIGTYPE_p_wxFSFile swig_types[58]
2525#define SWIGTYPE_p_wxFileDialog swig_types[59]
2526#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[60]
2527#define SWIGTYPE_p_wxFilePickerCtrl swig_types[61]
2528#define SWIGTYPE_p_wxFileSystem swig_types[62]
2529#define SWIGTYPE_p_wxFindDialogEvent swig_types[63]
2530#define SWIGTYPE_p_wxFindReplaceData swig_types[64]
2531#define SWIGTYPE_p_wxFindReplaceDialog swig_types[65]
2532#define SWIGTYPE_p_wxFlexGridSizer swig_types[66]
2533#define SWIGTYPE_p_wxFocusEvent swig_types[67]
2534#define SWIGTYPE_p_wxFont swig_types[68]
2535#define SWIGTYPE_p_wxFontData swig_types[69]
2536#define SWIGTYPE_p_wxFontDialog swig_types[70]
2537#define SWIGTYPE_p_wxFontPickerCtrl swig_types[71]
2538#define SWIGTYPE_p_wxFontPickerEvent swig_types[72]
2539#define SWIGTYPE_p_wxFrame swig_types[73]
2540#define SWIGTYPE_p_wxGBSizerItem swig_types[74]
2541#define SWIGTYPE_p_wxGIFHandler swig_types[75]
2542#define SWIGTYPE_p_wxGauge swig_types[76]
2543#define SWIGTYPE_p_wxGenericDirCtrl swig_types[77]
2544#define SWIGTYPE_p_wxGenericDragImage swig_types[78]
2545#define SWIGTYPE_p_wxGridBagSizer swig_types[79]
2546#define SWIGTYPE_p_wxGridSizer swig_types[80]
2547#define SWIGTYPE_p_wxHelpEvent swig_types[81]
2548#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[82]
2549#define SWIGTYPE_p_wxHyperlinkEvent swig_types[83]
2550#define SWIGTYPE_p_wxICOHandler swig_types[84]
2551#define SWIGTYPE_p_wxIcon swig_types[85]
2552#define SWIGTYPE_p_wxIconizeEvent swig_types[86]
2553#define SWIGTYPE_p_wxIdleEvent swig_types[87]
2554#define SWIGTYPE_p_wxImage swig_types[88]
2555#define SWIGTYPE_p_wxImageHandler swig_types[89]
2556#define SWIGTYPE_p_wxImageList swig_types[90]
2557#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[91]
2558#define SWIGTYPE_p_wxInitDialogEvent swig_types[92]
2559#define SWIGTYPE_p_wxJPEGHandler swig_types[93]
2560#define SWIGTYPE_p_wxKeyEvent swig_types[94]
2561#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[95]
2562#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[96]
2563#define SWIGTYPE_p_wxLayoutConstraints swig_types[97]
2564#define SWIGTYPE_p_wxListBox swig_types[98]
2565#define SWIGTYPE_p_wxListEvent swig_types[99]
2566#define SWIGTYPE_p_wxListItem swig_types[100]
2567#define SWIGTYPE_p_wxListView swig_types[101]
2568#define SWIGTYPE_p_wxListbook swig_types[102]
2569#define SWIGTYPE_p_wxListbookEvent swig_types[103]
2570#define SWIGTYPE_p_wxMDIChildFrame swig_types[104]
2571#define SWIGTYPE_p_wxMDIClientWindow swig_types[105]
2572#define SWIGTYPE_p_wxMDIParentFrame swig_types[106]
2573#define SWIGTYPE_p_wxMaximizeEvent swig_types[107]
2574#define SWIGTYPE_p_wxMenu swig_types[108]
2575#define SWIGTYPE_p_wxMenuBar swig_types[109]
2576#define SWIGTYPE_p_wxMenuEvent swig_types[110]
2577#define SWIGTYPE_p_wxMenuItem swig_types[111]
2578#define SWIGTYPE_p_wxMessageDialog swig_types[112]
2579#define SWIGTYPE_p_wxMiniFrame swig_types[113]
2580#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[114]
2581#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[115]
2582#define SWIGTYPE_p_wxMouseEvent swig_types[116]
2583#define SWIGTYPE_p_wxMoveEvent swig_types[117]
2584#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[118]
2585#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[119]
2586#define SWIGTYPE_p_wxNcPaintEvent swig_types[120]
2587#define SWIGTYPE_p_wxNotebook swig_types[121]
2588#define SWIGTYPE_p_wxNotebookEvent swig_types[122]
2589#define SWIGTYPE_p_wxNotifyEvent swig_types[123]
2590#define SWIGTYPE_p_wxNumberEntryDialog swig_types[124]
2591#define SWIGTYPE_p_wxObject swig_types[125]
2592#define SWIGTYPE_p_wxPCXHandler swig_types[126]
2593#define SWIGTYPE_p_wxPNGHandler swig_types[127]
2594#define SWIGTYPE_p_wxPNMHandler swig_types[128]
2595#define SWIGTYPE_p_wxPageSetupDialog swig_types[129]
2596#define SWIGTYPE_p_wxPageSetupDialogData swig_types[130]
2597#define SWIGTYPE_p_wxPaintEvent swig_types[131]
2598#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[132]
2599#define SWIGTYPE_p_wxPanel swig_types[133]
2600#define SWIGTYPE_p_wxPaperSize swig_types[134]
2601#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[135]
2602#define SWIGTYPE_p_wxPickerBase swig_types[136]
2603#define SWIGTYPE_p_wxPopupWindow swig_types[137]
2604#define SWIGTYPE_p_wxPreviewCanvas swig_types[138]
2605#define SWIGTYPE_p_wxPreviewControlBar swig_types[139]
2606#define SWIGTYPE_p_wxPreviewFrame swig_types[140]
2607#define SWIGTYPE_p_wxPrintData swig_types[141]
2608#define SWIGTYPE_p_wxPrintDialog swig_types[142]
2609#define SWIGTYPE_p_wxPrintDialogData swig_types[143]
2610#define SWIGTYPE_p_wxPrintPreview swig_types[144]
2611#define SWIGTYPE_p_wxPrinter swig_types[145]
2612#define SWIGTYPE_p_wxProgressDialog swig_types[146]
2613#define SWIGTYPE_p_wxPyApp swig_types[147]
2614#define SWIGTYPE_p_wxPyCommandEvent swig_types[148]
2615#define SWIGTYPE_p_wxPyControl swig_types[149]
2616#define SWIGTYPE_p_wxPyEvent swig_types[150]
2617#define SWIGTYPE_p_wxPyHtmlListBox swig_types[151]
2618#define SWIGTYPE_p_wxPyImageHandler swig_types[152]
2619#define SWIGTYPE_p_wxPyListCtrl swig_types[153]
2620#define SWIGTYPE_p_wxPyPanel swig_types[154]
2621#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[155]
2622#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[156]
2623#define SWIGTYPE_p_wxPyPreviewFrame swig_types[157]
2624#define SWIGTYPE_p_wxPyPrintPreview swig_types[158]
2625#define SWIGTYPE_p_wxPyPrintout swig_types[159]
2626#define SWIGTYPE_p_wxPyScrolledWindow swig_types[160]
2627#define SWIGTYPE_p_wxPySizer swig_types[161]
2628#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[162]
2629#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[163]
2630#define SWIGTYPE_p_wxPyTreeCtrl swig_types[164]
2631#define SWIGTYPE_p_wxPyTreeItemData swig_types[165]
2632#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[166]
2633#define SWIGTYPE_p_wxPyVListBox swig_types[167]
2634#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[168]
2635#define SWIGTYPE_p_wxPyValidator swig_types[169]
2636#define SWIGTYPE_p_wxPyWindow swig_types[170]
2637#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[171]
2638#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[172]
2639#define SWIGTYPE_p_wxRadioBox swig_types[173]
2640#define SWIGTYPE_p_wxRadioButton swig_types[174]
2641#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[175]
2642#define SWIGTYPE_p_wxSashEvent swig_types[176]
2643#define SWIGTYPE_p_wxSashLayoutWindow swig_types[177]
2644#define SWIGTYPE_p_wxSashWindow swig_types[178]
2645#define SWIGTYPE_p_wxScrollBar swig_types[179]
2646#define SWIGTYPE_p_wxScrollEvent swig_types[180]
2647#define SWIGTYPE_p_wxScrollWinEvent swig_types[181]
2648#define SWIGTYPE_p_wxScrolledWindow swig_types[182]
2649#define SWIGTYPE_p_wxSetCursorEvent swig_types[183]
2650#define SWIGTYPE_p_wxShowEvent swig_types[184]
2651#define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[185]
2652#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[186]
2653#define SWIGTYPE_p_wxSizeEvent swig_types[187]
2654#define SWIGTYPE_p_wxSizer swig_types[188]
2655#define SWIGTYPE_p_wxSizerItem swig_types[189]
2656#define SWIGTYPE_p_wxSlider swig_types[190]
2657#define SWIGTYPE_p_wxSpinButton swig_types[191]
2658#define SWIGTYPE_p_wxSpinCtrl swig_types[192]
2659#define SWIGTYPE_p_wxSpinEvent swig_types[193]
2660#define SWIGTYPE_p_wxSplashScreen swig_types[194]
2661#define SWIGTYPE_p_wxSplashScreenWindow swig_types[195]
2662#define SWIGTYPE_p_wxSplitterEvent swig_types[196]
2663#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[197]
2664#define SWIGTYPE_p_wxSplitterWindow swig_types[198]
2665#define SWIGTYPE_p_wxStaticBitmap swig_types[199]
2666#define SWIGTYPE_p_wxStaticBox swig_types[200]
2667#define SWIGTYPE_p_wxStaticBoxSizer swig_types[201]
2668#define SWIGTYPE_p_wxStaticLine swig_types[202]
2669#define SWIGTYPE_p_wxStaticPicture swig_types[203]
2670#define SWIGTYPE_p_wxStaticText swig_types[204]
2671#define SWIGTYPE_p_wxStatusBar swig_types[205]
2672#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[206]
2673#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[207]
2674#define SWIGTYPE_p_wxTGAHandler swig_types[208]
2675#define SWIGTYPE_p_wxTIFFHandler swig_types[209]
2676#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[210]
2677#define SWIGTYPE_p_wxTextCtrl swig_types[211]
2678#define SWIGTYPE_p_wxTextEntryDialog swig_types[212]
2679#define SWIGTYPE_p_wxTextUrlEvent swig_types[213]
2680#define SWIGTYPE_p_wxThinSplitterWindow swig_types[214]
2681#define SWIGTYPE_p_wxTipWindow swig_types[215]
2682#define SWIGTYPE_p_wxToggleButton swig_types[216]
2683#define SWIGTYPE_p_wxToolBar swig_types[217]
2684#define SWIGTYPE_p_wxToolBarBase swig_types[218]
2685#define SWIGTYPE_p_wxToolBarToolBase swig_types[219]
2686#define SWIGTYPE_p_wxToolbook swig_types[220]
2687#define SWIGTYPE_p_wxToolbookEvent swig_types[221]
2688#define SWIGTYPE_p_wxTopLevelWindow swig_types[222]
2689#define SWIGTYPE_p_wxTreeEvent swig_types[223]
2690#define SWIGTYPE_p_wxTreeItemId swig_types[224]
2691#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[225]
2692#define SWIGTYPE_p_wxTreebook swig_types[226]
2693#define SWIGTYPE_p_wxTreebookEvent swig_types[227]
2694#define SWIGTYPE_p_wxUpdateUIEvent swig_types[228]
2695#define SWIGTYPE_p_wxValidator swig_types[229]
2696#define SWIGTYPE_p_wxWindow swig_types[230]
2697#define SWIGTYPE_p_wxWindowCreateEvent swig_types[231]
2698#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[232]
2699#define SWIGTYPE_p_wxXPMHandler swig_types[233]
2700static swig_type_info *swig_types[235];
2701static swig_module_info swig_module = {swig_types, 234, 0, 0, 0, 0};
2702#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2703#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2704
2705/* -------- TYPES TABLE (END) -------- */
2706
2707#if (PY_VERSION_HEX <= 0x02000000)
2708# if !defined(SWIG_PYTHON_CLASSIC)
2709# error "This python version requires to use swig with the '-classic' option"
2710# endif
2711#endif
2712#if (PY_VERSION_HEX <= 0x02020000)
2713# error "This python version requires to use swig with the '-nomodern' option"
2714#endif
2715#if (PY_VERSION_HEX <= 0x02020000)
2716# error "This python version requires to use swig with the '-nomodernargs' option"
2717#endif
2718#ifndef METH_O
2719# error "This python version requires to use swig with the '-nofastunpack' option"
2720#endif
2721
2722/*-----------------------------------------------
2723 @(target):= _gizmos.so
2724 ------------------------------------------------*/
2725#define SWIG_init init_gizmos
2726
2727#define SWIG_name "_gizmos"
2728
2729#define SWIGVERSION 0x010329
2730
2731
2732#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2733#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2734
2735
2736#include <stdexcept>
2737
2738
2739namespace swig {
2740 class PyObject_ptr {
2741 protected:
2742 PyObject *_obj;
2743
2744 public:
2745 PyObject_ptr() :_obj(0)
2746 {
2747 }
2748
2749 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2750 {
2751 Py_XINCREF(_obj);
2752 }
2753
2754 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2755 {
2756 if (initial_ref) Py_XINCREF(_obj);
2757 }
2758
2759 PyObject_ptr & operator=(const PyObject_ptr& item)
2760 {
2761 Py_XINCREF(item._obj);
2762 Py_XDECREF(_obj);
2763 _obj = item._obj;
2764 return *this;
2765 }
2766
2767 ~PyObject_ptr()
2768 {
2769 Py_XDECREF(_obj);
2770 }
2771
2772 operator PyObject *() const
2773 {
2774 return _obj;
2775 }
2776
2777 PyObject *operator->() const
2778 {
2779 return _obj;
2780 }
2781 };
2782}
2783
2784
2785namespace swig {
2786 struct PyObject_var : PyObject_ptr {
2787 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2788
2789 PyObject_var & operator = (PyObject* obj)
2790 {
2791 Py_XDECREF(_obj);
2792 _obj = obj;
2793 return *this;
2794 }
2795 };
2796}
2797
2798
2799#include "wx/wxPython/wxPython.h"
2800#include "wx/wxPython/pyclasses.h"
2801
2802#include <wx/gizmos/dynamicsash.h>
2803#include <wx/gizmos/editlbox.h>
2804#include <wx/gizmos/splittree.h>
2805#include <wx/gizmos/ledctrl.h>
2806#include <wx/gizmos/statpict.h>
2807
2808#include <wx/listctrl.h>
2809#include <wx/treectrl.h>
2810#include <wx/imaglist.h>
2811
2812
2813 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2814 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2815 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
2816 static const wxString wxPyEmptyString(wxEmptyString);
2817
2818 #define SWIG_From_long PyInt_FromLong
2819
2820
2821SWIGINTERNINLINE PyObject *
2822SWIG_From_int (int value)
2823{
2824 return SWIG_From_long (value);
2825}
2826
2827
2828#include <limits.h>
2829#ifndef LLONG_MIN
2830# define LLONG_MIN LONG_LONG_MIN
2831#endif
2832#ifndef LLONG_MAX
2833# define LLONG_MAX LONG_LONG_MAX
2834#endif
2835#ifndef ULLONG_MAX
2836# define ULLONG_MAX ULONG_LONG_MAX
2837#endif
2838
2839
2840SWIGINTERN int
2841SWIG_AsVal_long (PyObject* obj, long* val)
2842{
2843 if (PyNumber_Check(obj)) {
2844 if (val) *val = PyInt_AsLong(obj);
2845 return SWIG_OK;
2846 }
2847 return SWIG_TypeError;
2848}
2849
2850
2851SWIGINTERN int
2852SWIG_AsVal_int (PyObject * obj, int *val)
2853{
2854 long v;
2855 int res = SWIG_AsVal_long (obj, &v);
2856 if (SWIG_IsOK(res)) {
2857 if ((v < INT_MIN || v > INT_MAX)) {
2858 return SWIG_OverflowError;
2859 } else {
2860 if (val) *val = static_cast< int >(v);
2861 }
2862 }
2863 return res;
2864}
2865
2866SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
2867 wxArrayString strings;
2868 self->GetStrings(strings);
2869 return wxArrayString2PyList_helper(strings);
2870 }
2871
2872 typedef wxTreeCtrl wxPyTreeCtrl;
2873
2874
2875class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2876{
2877public:
2878 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2879 const wxPoint& pos = wxDefaultPosition,
2880 const wxSize& size = wxDefaultSize,
2881 long style = 0)
2882 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2883
2884
2885 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2886 bool found;
2887 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2888 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
2889 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
2890 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2891 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
2892 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2893 Py_DECREF(dcobj);
2894 Py_DECREF(idobj);
2895 Py_DECREF(recobj);
2896 }
2897 wxPyEndBlockThreads(blocked);
2898 if (! found)
2899 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2900 }
2901
2902 PYPRIVATE;
2903};
2904
2905
2906SWIGINTERN int
2907SWIG_AsVal_bool (PyObject *obj, bool *val)
2908{
2909 if (obj == Py_True) {
2910 if (val) *val = true;
2911 return SWIG_OK;
2912 } else if (obj == Py_False) {
2913 if (val) *val = false;
2914 return SWIG_OK;
2915 } else {
2916 long v = 0;
2917 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2918 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2919 return res;
2920 }
2921}
2922
2923
2924#include "wx/treelistctrl.h"
2925#include "wx/wxPython/pytree.h"
2926
2927
2928 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2929
2930SWIGINTERNINLINE PyObject*
2931SWIG_From_unsigned_SS_long (unsigned long value)
2932{
2933 return (value > LONG_MAX) ?
2934 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2935}
2936
2937
2938SWIGINTERNINLINE PyObject *
2939SWIG_From_size_t (size_t value)
2940{
2941 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2942}
2943
2944
2945SWIGINTERN int
2946SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
2947{
2948 long v = 0;
2949 if (SWIG_AsVal_long(obj, &v) && v < 0) {
2950 return SWIG_TypeError;
2951 }
2952 else if (val)
2953 *val = (unsigned long)v;
2954 return SWIG_OK;
2955}
2956
2957
2958SWIGINTERNINLINE int
2959SWIG_AsVal_size_t (PyObject * obj, size_t *val)
2960{
2961 unsigned long v;
2962 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2963 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2964 return res;
2965}
2966
2967 // C++ version of Python aware control
2968class wxPyTreeListCtrl : public wxTreeListCtrl {
2969 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2970public:
2971 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2972 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2973 const wxPoint& pos,
2974 const wxSize& size,
2975 long style,
2976 const wxValidator &validator,
2977 const wxString& name) :
2978 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2979
2980 virtual int OnCompareItems(const wxTreeItemId& item1,
2981 const wxTreeItemId& item2) {
2982 int rval = 0;
2983 bool found;
2984 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2985 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2986 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2987 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2988 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2989 Py_DECREF(o1);
2990 Py_DECREF(o2);
2991 }
2992 wxPyEndBlockThreads(blocked);
2993 if (! found)
2994 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2995 return rval;
2996 }
2997
2998 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
2999 wxString rval;
3000 bool found;
3001 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3002 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
3003 PyObject* ro;
3004 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3005 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3006 Py_DECREF(itemo);
3007 if (ro) {
3008 rval = Py2wxString(ro);
3009 Py_DECREF(ro);
3010 }
3011 }
3012 wxPyEndBlockThreads(blocked);
3013 if (! found)
3014 rval = wxTreeListCtrl::OnGetItemText(item, column);
3015 return rval;
3016 }
3017
3018 PYPRIVATE;
3019};
3020
3021IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3022
3023
3024
3025SWIGINTERNINLINE PyObject *
3026SWIG_From_unsigned_SS_int (unsigned int value)
3027{
3028 return SWIG_From_unsigned_SS_long (value);
3029}
3030
3031
3032SWIGINTERN int
3033SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
3034{
3035 unsigned long v;
3036 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3037 if (SWIG_IsOK(res)) {
3038 if ((v > UINT_MAX)) {
3039 return SWIG_OverflowError;
3040 } else {
3041 if (val) *val = static_cast< unsigned int >(v);
3042 }
3043 }
3044 return res;
3045}
3046
3047SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3048 if (column < 0) column = self->GetMainColumn();
3049 return self->GetItemText(item, column);
3050 }
3051SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3052 if (column < 0) column = self->GetMainColumn();
3053 return self->GetItemImage(item, column, which);
3054 }
3055SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
3056 if (column < 0) column = self->GetMainColumn();
3057 self->SetItemText(item, column, text);
3058 }
3059SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
3060 if (column < 0) column = self->GetMainColumn();
3061 self->SetItemImage(item, column, image, which);
3062 }
3063SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3064 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3065 if (data == NULL) {
3066 data = new wxPyTreeItemData();
3067 data->SetId(item); // set the id
3068 self->SetItemData(item, data);
3069 }
3070 return data;
3071 }
3072SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
3073 data->SetId(item); // set the id
3074 self->SetItemData(item, data);
3075 }
3076SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3077 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3078 if (data == NULL) {
3079 data = new wxPyTreeItemData();
3080 data->SetId(item); // set the id
3081 self->SetItemData(item, data);
3082 }
3083 return data->GetData();
3084 }
3085SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
3086 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3087 if (data == NULL) {
3088 data = new wxPyTreeItemData(obj);
3089 data->SetId(item); // set the id
3090 self->SetItemData(item, data);
3091 } else
3092 data->SetData(obj);
3093 }
3094SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
3095 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3096 PyObject* rval = PyList_New(0);
3097 wxArrayTreeItemIds array;
3098 size_t num, x;
3099 num = self->GetSelections(array);
3100 for (x=0; x < num; x++) {
3101 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
3102 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
3103 PyList_Append(rval, item);
3104 Py_DECREF(item);
3105 }
3106 wxPyEndBlockThreads(blocked);
3107 return rval;
3108 }
3109SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3110 void* cookie = 0;
3111 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
3112 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3113 PyObject* tup = PyTuple_New(2);
3114 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3115 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3116 wxPyEndBlockThreads(blocked);
3117 return tup;
3118 }
3119SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3120 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
3121 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3122 PyObject* tup = PyTuple_New(2);
3123 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3124 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3125 wxPyEndBlockThreads(blocked);
3126 return tup;
3127 }
3128SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3129 void* cookie = 0;
3130 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3131 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3132 PyObject* tup = PyTuple_New(2);
3133 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3134 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3135 wxPyEndBlockThreads(blocked);
3136 return tup;
3137 }
3138SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3139 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3140 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3141 PyObject* tup = PyTuple_New(2);
3142 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3143 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3144 wxPyEndBlockThreads(blocked);
3145 return tup;
3146 }
3147SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
3148 wxRect rect;
3149 if (self->GetBoundingRect(item, rect, textOnly)) {
3150 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3151 wxRect* r = new wxRect(rect);
3152 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
3153 wxPyEndBlockThreads(blocked);
3154 return val;
3155 }
3156 else {
3157 RETURN_NONE();
3158 }
3159 }
3160SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3161 if (column < 0) column = self->GetMainColumn();
3162 self->EditLabel(item, column);
3163 }
3164
3165#include <float.h>
3166
3167
3168SWIGINTERN int
3169SWIG_AsVal_double (PyObject *obj, double* val)
3170{
3171 if (PyNumber_Check(obj)) {
3172 if (val) *val = PyFloat_AsDouble(obj);
3173 return SWIG_OK;
3174 }
3175 return SWIG_TypeError;
3176}
3177
3178
3179SWIGINTERN int
3180SWIG_AsVal_float (PyObject * obj, float *val)
3181{
3182 double v;
3183 int res = SWIG_AsVal_double (obj, &v);
3184 if (SWIG_IsOK(res)) {
3185 if ((v < -FLT_MAX || v > FLT_MAX)) {
3186 return SWIG_OverflowError;
3187 } else {
3188 if (val) *val = static_cast< float >(v);
3189 }
3190 }
3191 return res;
3192}
3193
3194
3195 #define SWIG_From_double PyFloat_FromDouble
3196
3197
3198SWIGINTERNINLINE PyObject *
3199SWIG_From_float (float value)
3200{
3201 return SWIG_From_double (value);
3202}
3203
3204#ifdef __cplusplus
3205extern "C" {
3206#endif
3207SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3208 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3209 return 1;
3210}
3211
3212
3213SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3214 PyObject *pyobj = 0;
3215
3216 {
3217#if wxUSE_UNICODE
3218 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3219#else
3220 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
3221#endif
3222 }
3223 return pyobj;
3224}
3225
3226
3227SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3228 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3229 return 1;
3230}
3231
3232
3233SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3234 PyObject *pyobj = 0;
3235
3236 {
3237#if wxUSE_UNICODE
3238 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3239#else
3240 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
3241#endif
3242 }
3243 return pyobj;
3244}
3245
3246
3247SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3248 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3249 return 1;
3250}
3251
3252
3253SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3254 PyObject *pyobj = 0;
3255
3256 {
3257#if wxUSE_UNICODE
3258 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3259#else
3260 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
3261#endif
3262 }
3263 return pyobj;
3264}
3265
3266
3267SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3268 PyObject *resultobj = 0;
3269 wxObject *arg1 = (wxObject *) 0 ;
3270 wxDynamicSashSplitEvent *result = 0 ;
3271 void *argp1 = 0 ;
3272 int res1 = 0 ;
3273 PyObject * obj0 = 0 ;
3274 char * kwnames[] = {
3275 (char *) "target", NULL
3276 };
3277
3278 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3279 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3280 if (!SWIG_IsOK(res1)) {
3281 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3282 }
3283 arg1 = reinterpret_cast< wxObject * >(argp1);
3284 {
3285 PyThreadState* __tstate = wxPyBeginAllowThreads();
3286 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3291 return resultobj;
3292fail:
3293 return NULL;
3294}
3295
3296
3297SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3298 PyObject *obj;
3299 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3300 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3301 return SWIG_Py_Void();
3302}
3303
3304SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3305 return SWIG_Python_InitShadowInstance(args);
3306}
3307
3308SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3309 PyObject *resultobj = 0;
3310 wxObject *arg1 = (wxObject *) 0 ;
3311 wxDynamicSashUnifyEvent *result = 0 ;
3312 void *argp1 = 0 ;
3313 int res1 = 0 ;
3314 PyObject * obj0 = 0 ;
3315 char * kwnames[] = {
3316 (char *) "target", NULL
3317 };
3318
3319 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3320 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3321 if (!SWIG_IsOK(res1)) {
3322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3323 }
3324 arg1 = reinterpret_cast< wxObject * >(argp1);
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3328 wxPyEndAllowThreads(__tstate);
3329 if (PyErr_Occurred()) SWIG_fail;
3330 }
3331 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3332 return resultobj;
3333fail:
3334 return NULL;
3335}
3336
3337
3338SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3339 PyObject *obj;
3340 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3341 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3342 return SWIG_Py_Void();
3343}
3344
3345SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3346 return SWIG_Python_InitShadowInstance(args);
3347}
3348
3349SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3350 PyObject *resultobj = 0;
3351 wxWindow *arg1 = (wxWindow *) 0 ;
3352 int arg2 = (int) -1 ;
3353 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3354 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3355 wxSize const &arg4_defvalue = wxDefaultSize ;
3356 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3357 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3358 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3359 wxString *arg6 = (wxString *) &arg6_defvalue ;
3360 wxDynamicSashWindow *result = 0 ;
3361 void *argp1 = 0 ;
3362 int res1 = 0 ;
3363 int val2 ;
3364 int ecode2 = 0 ;
3365 wxPoint temp3 ;
3366 wxSize temp4 ;
3367 long val5 ;
3368 int ecode5 = 0 ;
3369 bool temp6 = false ;
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj1 = 0 ;
3372 PyObject * obj2 = 0 ;
3373 PyObject * obj3 = 0 ;
3374 PyObject * obj4 = 0 ;
3375 PyObject * obj5 = 0 ;
3376 char * kwnames[] = {
3377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3378 };
3379
3380 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3381 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3382 if (!SWIG_IsOK(res1)) {
3383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3384 }
3385 arg1 = reinterpret_cast< wxWindow * >(argp1);
3386 if (obj1) {
3387 ecode2 = SWIG_AsVal_int(obj1, &val2);
3388 if (!SWIG_IsOK(ecode2)) {
3389 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3390 }
3391 arg2 = static_cast< int >(val2);
3392 }
3393 if (obj2) {
3394 {
3395 arg3 = &temp3;
3396 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3397 }
3398 }
3399 if (obj3) {
3400 {
3401 arg4 = &temp4;
3402 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3403 }
3404 }
3405 if (obj4) {
3406 ecode5 = SWIG_AsVal_long(obj4, &val5);
3407 if (!SWIG_IsOK(ecode5)) {
3408 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3409 }
3410 arg5 = static_cast< long >(val5);
3411 }
3412 if (obj5) {
3413 {
3414 arg6 = wxString_in_helper(obj5);
3415 if (arg6 == NULL) SWIG_fail;
3416 temp6 = true;
3417 }
3418 }
3419 {
3420 if (!wxPyCheckForApp()) SWIG_fail;
3421 PyThreadState* __tstate = wxPyBeginAllowThreads();
3422 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3423 wxPyEndAllowThreads(__tstate);
3424 if (PyErr_Occurred()) SWIG_fail;
3425 }
3426 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3427 {
3428 if (temp6)
3429 delete arg6;
3430 }
3431 return resultobj;
3432fail:
3433 {
3434 if (temp6)
3435 delete arg6;
3436 }
3437 return NULL;
3438}
3439
3440
3441SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3442 PyObject *resultobj = 0;
3443 wxDynamicSashWindow *result = 0 ;
3444
3445 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3446 {
3447 if (!wxPyCheckForApp()) SWIG_fail;
3448 PyThreadState* __tstate = wxPyBeginAllowThreads();
3449 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3450 wxPyEndAllowThreads(__tstate);
3451 if (PyErr_Occurred()) SWIG_fail;
3452 }
3453 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3454 return resultobj;
3455fail:
3456 return NULL;
3457}
3458
3459
3460SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3461 PyObject *resultobj = 0;
3462 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3463 wxWindow *arg2 = (wxWindow *) 0 ;
3464 int arg3 = (int) -1 ;
3465 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3466 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3467 wxSize const &arg5_defvalue = wxDefaultSize ;
3468 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3469 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3470 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3471 wxString *arg7 = (wxString *) &arg7_defvalue ;
3472 bool result;
3473 void *argp1 = 0 ;
3474 int res1 = 0 ;
3475 void *argp2 = 0 ;
3476 int res2 = 0 ;
3477 int val3 ;
3478 int ecode3 = 0 ;
3479 wxPoint temp4 ;
3480 wxSize temp5 ;
3481 long val6 ;
3482 int ecode6 = 0 ;
3483 bool temp7 = false ;
3484 PyObject * obj0 = 0 ;
3485 PyObject * obj1 = 0 ;
3486 PyObject * obj2 = 0 ;
3487 PyObject * obj3 = 0 ;
3488 PyObject * obj4 = 0 ;
3489 PyObject * obj5 = 0 ;
3490 PyObject * obj6 = 0 ;
3491 char * kwnames[] = {
3492 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3493 };
3494
3495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3497 if (!SWIG_IsOK(res1)) {
3498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3499 }
3500 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3501 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3502 if (!SWIG_IsOK(res2)) {
3503 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3504 }
3505 arg2 = reinterpret_cast< wxWindow * >(argp2);
3506 if (obj2) {
3507 ecode3 = SWIG_AsVal_int(obj2, &val3);
3508 if (!SWIG_IsOK(ecode3)) {
3509 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3510 }
3511 arg3 = static_cast< int >(val3);
3512 }
3513 if (obj3) {
3514 {
3515 arg4 = &temp4;
3516 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3517 }
3518 }
3519 if (obj4) {
3520 {
3521 arg5 = &temp5;
3522 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3523 }
3524 }
3525 if (obj5) {
3526 ecode6 = SWIG_AsVal_long(obj5, &val6);
3527 if (!SWIG_IsOK(ecode6)) {
3528 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3529 }
3530 arg6 = static_cast< long >(val6);
3531 }
3532 if (obj6) {
3533 {
3534 arg7 = wxString_in_helper(obj6);
3535 if (arg7 == NULL) SWIG_fail;
3536 temp7 = true;
3537 }
3538 }
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 {
3546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3547 }
3548 {
3549 if (temp7)
3550 delete arg7;
3551 }
3552 return resultobj;
3553fail:
3554 {
3555 if (temp7)
3556 delete arg7;
3557 }
3558 return NULL;
3559}
3560
3561
3562SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj = 0;
3564 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3565 wxWindow *arg2 = (wxWindow *) 0 ;
3566 wxScrollBar *result = 0 ;
3567 void *argp1 = 0 ;
3568 int res1 = 0 ;
3569 void *argp2 = 0 ;
3570 int res2 = 0 ;
3571 PyObject * obj0 = 0 ;
3572 PyObject * obj1 = 0 ;
3573 char * kwnames[] = {
3574 (char *) "self",(char *) "child", NULL
3575 };
3576
3577 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3578 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3579 if (!SWIG_IsOK(res1)) {
3580 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3581 }
3582 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3583 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3584 if (!SWIG_IsOK(res2)) {
3585 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3586 }
3587 arg2 = reinterpret_cast< wxWindow * >(argp2);
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3591 wxPyEndAllowThreads(__tstate);
3592 if (PyErr_Occurred()) SWIG_fail;
3593 }
3594 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3595 return resultobj;
3596fail:
3597 return NULL;
3598}
3599
3600
3601SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj = 0;
3603 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3604 wxWindow *arg2 = (wxWindow *) 0 ;
3605 wxScrollBar *result = 0 ;
3606 void *argp1 = 0 ;
3607 int res1 = 0 ;
3608 void *argp2 = 0 ;
3609 int res2 = 0 ;
3610 PyObject * obj0 = 0 ;
3611 PyObject * obj1 = 0 ;
3612 char * kwnames[] = {
3613 (char *) "self",(char *) "child", NULL
3614 };
3615
3616 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3617 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3618 if (!SWIG_IsOK(res1)) {
3619 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3620 }
3621 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3622 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3623 if (!SWIG_IsOK(res2)) {
3624 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3625 }
3626 arg2 = reinterpret_cast< wxWindow * >(argp2);
3627 {
3628 PyThreadState* __tstate = wxPyBeginAllowThreads();
3629 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3630 wxPyEndAllowThreads(__tstate);
3631 if (PyErr_Occurred()) SWIG_fail;
3632 }
3633 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3634 return resultobj;
3635fail:
3636 return NULL;
3637}
3638
3639
3640SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3641 PyObject *obj;
3642 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3643 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3644 return SWIG_Py_Void();
3645}
3646
3647SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3648 return SWIG_Python_InitShadowInstance(args);
3649}
3650
3651SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3652 PyObject *resultobj = 0;
3653 wxWindow *arg1 = (wxWindow *) 0 ;
3654 int arg2 = (int) -1 ;
3655 wxString const &arg3_defvalue = wxPyEmptyString ;
3656 wxString *arg3 = (wxString *) &arg3_defvalue ;
3657 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3658 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3659 wxSize const &arg5_defvalue = wxDefaultSize ;
3660 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3661 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3662 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3663 wxString *arg7 = (wxString *) &arg7_defvalue ;
3664 wxEditableListBox *result = 0 ;
3665 void *argp1 = 0 ;
3666 int res1 = 0 ;
3667 int val2 ;
3668 int ecode2 = 0 ;
3669 bool temp3 = false ;
3670 wxPoint temp4 ;
3671 wxSize temp5 ;
3672 long val6 ;
3673 int ecode6 = 0 ;
3674 bool temp7 = false ;
3675 PyObject * obj0 = 0 ;
3676 PyObject * obj1 = 0 ;
3677 PyObject * obj2 = 0 ;
3678 PyObject * obj3 = 0 ;
3679 PyObject * obj4 = 0 ;
3680 PyObject * obj5 = 0 ;
3681 PyObject * obj6 = 0 ;
3682 char * kwnames[] = {
3683 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3684 };
3685
3686 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3687 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3688 if (!SWIG_IsOK(res1)) {
3689 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3690 }
3691 arg1 = reinterpret_cast< wxWindow * >(argp1);
3692 if (obj1) {
3693 ecode2 = SWIG_AsVal_int(obj1, &val2);
3694 if (!SWIG_IsOK(ecode2)) {
3695 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3696 }
3697 arg2 = static_cast< int >(val2);
3698 }
3699 if (obj2) {
3700 {
3701 arg3 = wxString_in_helper(obj2);
3702 if (arg3 == NULL) SWIG_fail;
3703 temp3 = true;
3704 }
3705 }
3706 if (obj3) {
3707 {
3708 arg4 = &temp4;
3709 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3710 }
3711 }
3712 if (obj4) {
3713 {
3714 arg5 = &temp5;
3715 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3716 }
3717 }
3718 if (obj5) {
3719 ecode6 = SWIG_AsVal_long(obj5, &val6);
3720 if (!SWIG_IsOK(ecode6)) {
3721 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3722 }
3723 arg6 = static_cast< long >(val6);
3724 }
3725 if (obj6) {
3726 {
3727 arg7 = wxString_in_helper(obj6);
3728 if (arg7 == NULL) SWIG_fail;
3729 temp7 = true;
3730 }
3731 }
3732 {
3733 if (!wxPyCheckForApp()) SWIG_fail;
3734 PyThreadState* __tstate = wxPyBeginAllowThreads();
3735 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3740 {
3741 if (temp3)
3742 delete arg3;
3743 }
3744 {
3745 if (temp7)
3746 delete arg7;
3747 }
3748 return resultobj;
3749fail:
3750 {
3751 if (temp3)
3752 delete arg3;
3753 }
3754 {
3755 if (temp7)
3756 delete arg7;
3757 }
3758 return NULL;
3759}
3760
3761
3762SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3763 PyObject *resultobj = 0;
3764 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3765 wxArrayString *arg2 = 0 ;
3766 void *argp1 = 0 ;
3767 int res1 = 0 ;
3768 bool temp2 = false ;
3769 PyObject * obj0 = 0 ;
3770 PyObject * obj1 = 0 ;
3771 char * kwnames[] = {
3772 (char *) "self",(char *) "strings", NULL
3773 };
3774
3775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3777 if (!SWIG_IsOK(res1)) {
3778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3779 }
3780 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3781 {
3782 if (! PySequence_Check(obj1)) {
3783 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3784 SWIG_fail;
3785 }
3786 arg2 = new wxArrayString;
3787 temp2 = true;
3788 int i, len=PySequence_Length(obj1);
3789 for (i=0; i<len; i++) {
3790 PyObject* item = PySequence_GetItem(obj1, i);
3791 wxString* s = wxString_in_helper(item);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 arg2->Add(*s);
3794 delete s;
3795 Py_DECREF(item);
3796 }
3797 }
3798 {
3799 PyThreadState* __tstate = wxPyBeginAllowThreads();
3800 (arg1)->SetStrings((wxArrayString const &)*arg2);
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 resultobj = SWIG_Py_Void();
3805 {
3806 if (temp2) delete arg2;
3807 }
3808 return resultobj;
3809fail:
3810 {
3811 if (temp2) delete arg2;
3812 }
3813 return NULL;
3814}
3815
3816
3817SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3818 PyObject *resultobj = 0;
3819 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3820 PyObject *result = 0 ;
3821 void *argp1 = 0 ;
3822 int res1 = 0 ;
3823 PyObject *swig_obj[1] ;
3824
3825 if (!args) SWIG_fail;
3826 swig_obj[0] = args;
3827 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3828 if (!SWIG_IsOK(res1)) {
3829 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3830 }
3831 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3832 {
3833 PyThreadState* __tstate = wxPyBeginAllowThreads();
3834 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3835 wxPyEndAllowThreads(__tstate);
3836 if (PyErr_Occurred()) SWIG_fail;
3837 }
3838 resultobj = result;
3839 return resultobj;
3840fail:
3841 return NULL;
3842}
3843
3844
3845SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3846 PyObject *resultobj = 0;
3847 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3848 wxPyListCtrl *result = 0 ;
3849 void *argp1 = 0 ;
3850 int res1 = 0 ;
3851 PyObject *swig_obj[1] ;
3852
3853 if (!args) SWIG_fail;
3854 swig_obj[0] = args;
3855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3856 if (!SWIG_IsOK(res1)) {
3857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3858 }
3859 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 {
3867 resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0);
3868 }
3869 return resultobj;
3870fail:
3871 return NULL;
3872}
3873
3874
3875SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3876 PyObject *resultobj = 0;
3877 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3878 wxBitmapButton *result = 0 ;
3879 void *argp1 = 0 ;
3880 int res1 = 0 ;
3881 PyObject *swig_obj[1] ;
3882
3883 if (!args) SWIG_fail;
3884 swig_obj[0] = args;
3885 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3886 if (!SWIG_IsOK(res1)) {
3887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3888 }
3889 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3890 {
3891 PyThreadState* __tstate = wxPyBeginAllowThreads();
3892 result = (wxBitmapButton *)(arg1)->GetDelButton();
3893 wxPyEndAllowThreads(__tstate);
3894 if (PyErr_Occurred()) SWIG_fail;
3895 }
3896 {
3897 resultobj = wxPyMake_wxObject(result, 0);
3898 }
3899 return resultobj;
3900fail:
3901 return NULL;
3902}
3903
3904
3905SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3906 PyObject *resultobj = 0;
3907 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3908 wxBitmapButton *result = 0 ;
3909 void *argp1 = 0 ;
3910 int res1 = 0 ;
3911 PyObject *swig_obj[1] ;
3912
3913 if (!args) SWIG_fail;
3914 swig_obj[0] = args;
3915 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3916 if (!SWIG_IsOK(res1)) {
3917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3918 }
3919 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3920 {
3921 PyThreadState* __tstate = wxPyBeginAllowThreads();
3922 result = (wxBitmapButton *)(arg1)->GetNewButton();
3923 wxPyEndAllowThreads(__tstate);
3924 if (PyErr_Occurred()) SWIG_fail;
3925 }
3926 {
3927 resultobj = wxPyMake_wxObject(result, 0);
3928 }
3929 return resultobj;
3930fail:
3931 return NULL;
3932}
3933
3934
3935SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3936 PyObject *resultobj = 0;
3937 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3938 wxBitmapButton *result = 0 ;
3939 void *argp1 = 0 ;
3940 int res1 = 0 ;
3941 PyObject *swig_obj[1] ;
3942
3943 if (!args) SWIG_fail;
3944 swig_obj[0] = args;
3945 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3946 if (!SWIG_IsOK(res1)) {
3947 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3948 }
3949 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3950 {
3951 PyThreadState* __tstate = wxPyBeginAllowThreads();
3952 result = (wxBitmapButton *)(arg1)->GetUpButton();
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 {
3957 resultobj = wxPyMake_wxObject(result, 0);
3958 }
3959 return resultobj;
3960fail:
3961 return NULL;
3962}
3963
3964
3965SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3966 PyObject *resultobj = 0;
3967 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3968 wxBitmapButton *result = 0 ;
3969 void *argp1 = 0 ;
3970 int res1 = 0 ;
3971 PyObject *swig_obj[1] ;
3972
3973 if (!args) SWIG_fail;
3974 swig_obj[0] = args;
3975 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3976 if (!SWIG_IsOK(res1)) {
3977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3978 }
3979 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 result = (wxBitmapButton *)(arg1)->GetDownButton();
3983 wxPyEndAllowThreads(__tstate);
3984 if (PyErr_Occurred()) SWIG_fail;
3985 }
3986 {
3987 resultobj = wxPyMake_wxObject(result, 0);
3988 }
3989 return resultobj;
3990fail:
3991 return NULL;
3992}
3993
3994
3995SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3996 PyObject *resultobj = 0;
3997 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3998 wxBitmapButton *result = 0 ;
3999 void *argp1 = 0 ;
4000 int res1 = 0 ;
4001 PyObject *swig_obj[1] ;
4002
4003 if (!args) SWIG_fail;
4004 swig_obj[0] = args;
4005 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4006 if (!SWIG_IsOK(res1)) {
4007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4008 }
4009 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4010 {
4011 PyThreadState* __tstate = wxPyBeginAllowThreads();
4012 result = (wxBitmapButton *)(arg1)->GetEditButton();
4013 wxPyEndAllowThreads(__tstate);
4014 if (PyErr_Occurred()) SWIG_fail;
4015 }
4016 {
4017 resultobj = wxPyMake_wxObject(result, 0);
4018 }
4019 return resultobj;
4020fail:
4021 return NULL;
4022}
4023
4024
4025SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4026 PyObject *obj;
4027 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4029 return SWIG_Py_Void();
4030}
4031
4032SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4033 return SWIG_Python_InitShadowInstance(args);
4034}
4035
4036SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj = 0;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 ;
4040 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4041 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4042 wxSize const &arg4_defvalue = wxDefaultSize ;
4043 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4044 long arg5 = (long) wxTR_HAS_BUTTONS ;
4045 wxRemotelyScrolledTreeCtrl *result = 0 ;
4046 void *argp1 = 0 ;
4047 int res1 = 0 ;
4048 int val2 ;
4049 int ecode2 = 0 ;
4050 wxPoint temp3 ;
4051 wxSize temp4 ;
4052 long val5 ;
4053 int ecode5 = 0 ;
4054 PyObject * obj0 = 0 ;
4055 PyObject * obj1 = 0 ;
4056 PyObject * obj2 = 0 ;
4057 PyObject * obj3 = 0 ;
4058 PyObject * obj4 = 0 ;
4059 char * kwnames[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4061 };
4062
4063 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4064 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4065 if (!SWIG_IsOK(res1)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4067 }
4068 arg1 = reinterpret_cast< wxWindow * >(argp1);
4069 ecode2 = SWIG_AsVal_int(obj1, &val2);
4070 if (!SWIG_IsOK(ecode2)) {
4071 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4072 }
4073 arg2 = static_cast< int >(val2);
4074 if (obj2) {
4075 {
4076 arg3 = &temp3;
4077 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4078 }
4079 }
4080 if (obj3) {
4081 {
4082 arg4 = &temp4;
4083 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4084 }
4085 }
4086 if (obj4) {
4087 ecode5 = SWIG_AsVal_long(obj4, &val5);
4088 if (!SWIG_IsOK(ecode5)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4090 }
4091 arg5 = static_cast< long >(val5);
4092 }
4093 {
4094 if (!wxPyCheckForApp()) SWIG_fail;
4095 PyThreadState* __tstate = wxPyBeginAllowThreads();
4096 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4101 return resultobj;
4102fail:
4103 return NULL;
4104}
4105
4106
4107SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4108 PyObject *resultobj = 0;
4109 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4110 void *argp1 = 0 ;
4111 int res1 = 0 ;
4112 PyObject *swig_obj[1] ;
4113
4114 if (!args) SWIG_fail;
4115 swig_obj[0] = args;
4116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4117 if (!SWIG_IsOK(res1)) {
4118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4119 }
4120 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 (arg1)->HideVScrollbar();
4124 wxPyEndAllowThreads(__tstate);
4125 if (PyErr_Occurred()) SWIG_fail;
4126 }
4127 resultobj = SWIG_Py_Void();
4128 return resultobj;
4129fail:
4130 return NULL;
4131}
4132
4133
4134SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4135 PyObject *resultobj = 0;
4136 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4137 void *argp1 = 0 ;
4138 int res1 = 0 ;
4139 PyObject *swig_obj[1] ;
4140
4141 if (!args) SWIG_fail;
4142 swig_obj[0] = args;
4143 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4144 if (!SWIG_IsOK(res1)) {
4145 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4146 }
4147 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 (arg1)->AdjustRemoteScrollbars();
4151 wxPyEndAllowThreads(__tstate);
4152 if (PyErr_Occurred()) SWIG_fail;
4153 }
4154 resultobj = SWIG_Py_Void();
4155 return resultobj;
4156fail:
4157 return NULL;
4158}
4159
4160
4161SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4162 PyObject *resultobj = 0;
4163 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4164 wxScrolledWindow *result = 0 ;
4165 void *argp1 = 0 ;
4166 int res1 = 0 ;
4167 PyObject *swig_obj[1] ;
4168
4169 if (!args) SWIG_fail;
4170 swig_obj[0] = args;
4171 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4172 if (!SWIG_IsOK(res1)) {
4173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4174 }
4175 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4176 {
4177 PyThreadState* __tstate = wxPyBeginAllowThreads();
4178 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 {
4183 resultobj = wxPyMake_wxObject(result, 0);
4184 }
4185 return resultobj;
4186fail:
4187 return NULL;
4188}
4189
4190
4191SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4192 PyObject *resultobj = 0;
4193 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4194 int arg2 ;
4195 int arg3 ;
4196 void *argp1 = 0 ;
4197 int res1 = 0 ;
4198 int val2 ;
4199 int ecode2 = 0 ;
4200 int val3 ;
4201 int ecode3 = 0 ;
4202 PyObject * obj0 = 0 ;
4203 PyObject * obj1 = 0 ;
4204 PyObject * obj2 = 0 ;
4205 char * kwnames[] = {
4206 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4207 };
4208
4209 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4210 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4211 if (!SWIG_IsOK(res1)) {
4212 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4213 }
4214 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4215 ecode2 = SWIG_AsVal_int(obj1, &val2);
4216 if (!SWIG_IsOK(ecode2)) {
4217 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4218 }
4219 arg2 = static_cast< int >(val2);
4220 ecode3 = SWIG_AsVal_int(obj2, &val3);
4221 if (!SWIG_IsOK(ecode3)) {
4222 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4223 }
4224 arg3 = static_cast< int >(val3);
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 (arg1)->ScrollToLine(arg2,arg3);
4228 wxPyEndAllowThreads(__tstate);
4229 if (PyErr_Occurred()) SWIG_fail;
4230 }
4231 resultobj = SWIG_Py_Void();
4232 return resultobj;
4233fail:
4234 return NULL;
4235}
4236
4237
4238SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4239 PyObject *resultobj = 0;
4240 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4241 wxWindow *arg2 = (wxWindow *) 0 ;
4242 void *argp1 = 0 ;
4243 int res1 = 0 ;
4244 void *argp2 = 0 ;
4245 int res2 = 0 ;
4246 PyObject * obj0 = 0 ;
4247 PyObject * obj1 = 0 ;
4248 char * kwnames[] = {
4249 (char *) "self",(char *) "companion", NULL
4250 };
4251
4252 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4253 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4254 if (!SWIG_IsOK(res1)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4256 }
4257 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4258 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4259 if (!SWIG_IsOK(res2)) {
4260 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4261 }
4262 arg2 = reinterpret_cast< wxWindow * >(argp2);
4263 {
4264 PyThreadState* __tstate = wxPyBeginAllowThreads();
4265 (arg1)->SetCompanionWindow(arg2);
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 resultobj = SWIG_Py_Void();
4270 return resultobj;
4271fail:
4272 return NULL;
4273}
4274
4275
4276SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4277 PyObject *resultobj = 0;
4278 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4279 wxWindow *result = 0 ;
4280 void *argp1 = 0 ;
4281 int res1 = 0 ;
4282 PyObject *swig_obj[1] ;
4283
4284 if (!args) SWIG_fail;
4285 swig_obj[0] = args;
4286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4287 if (!SWIG_IsOK(res1)) {
4288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4289 }
4290 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4291 {
4292 PyThreadState* __tstate = wxPyBeginAllowThreads();
4293 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4294 wxPyEndAllowThreads(__tstate);
4295 if (PyErr_Occurred()) SWIG_fail;
4296 }
4297 {
4298 resultobj = wxPyMake_wxObject(result, 0);
4299 }
4300 return resultobj;
4301fail:
4302 return NULL;
4303}
4304
4305
4306SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4307 PyObject *obj;
4308 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4309 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4310 return SWIG_Py_Void();
4311}
4312
4313SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4314 return SWIG_Python_InitShadowInstance(args);
4315}
4316
4317SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4318 PyObject *resultobj = 0;
4319 wxWindow *arg1 = (wxWindow *) 0 ;
4320 int arg2 = (int) -1 ;
4321 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4322 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4323 wxSize const &arg4_defvalue = wxDefaultSize ;
4324 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4325 long arg5 = (long) 0 ;
4326 wxPyTreeCompanionWindow *result = 0 ;
4327 void *argp1 = 0 ;
4328 int res1 = 0 ;
4329 int val2 ;
4330 int ecode2 = 0 ;
4331 wxPoint temp3 ;
4332 wxSize temp4 ;
4333 long val5 ;
4334 int ecode5 = 0 ;
4335 PyObject * obj0 = 0 ;
4336 PyObject * obj1 = 0 ;
4337 PyObject * obj2 = 0 ;
4338 PyObject * obj3 = 0 ;
4339 PyObject * obj4 = 0 ;
4340 char * kwnames[] = {
4341 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4342 };
4343
4344 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4345 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4346 if (!SWIG_IsOK(res1)) {
4347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4348 }
4349 arg1 = reinterpret_cast< wxWindow * >(argp1);
4350 if (obj1) {
4351 ecode2 = SWIG_AsVal_int(obj1, &val2);
4352 if (!SWIG_IsOK(ecode2)) {
4353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4354 }
4355 arg2 = static_cast< int >(val2);
4356 }
4357 if (obj2) {
4358 {
4359 arg3 = &temp3;
4360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4361 }
4362 }
4363 if (obj3) {
4364 {
4365 arg4 = &temp4;
4366 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4367 }
4368 }
4369 if (obj4) {
4370 ecode5 = SWIG_AsVal_long(obj4, &val5);
4371 if (!SWIG_IsOK(ecode5)) {
4372 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4373 }
4374 arg5 = static_cast< long >(val5);
4375 }
4376 {
4377 if (!wxPyCheckForApp()) SWIG_fail;
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4384 return resultobj;
4385fail:
4386 return NULL;
4387}
4388
4389
4390SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj = 0;
4392 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4393 PyObject *arg2 = (PyObject *) 0 ;
4394 PyObject *arg3 = (PyObject *) 0 ;
4395 void *argp1 = 0 ;
4396 int res1 = 0 ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj2 = 0 ;
4400 char * kwnames[] = {
4401 (char *) "self",(char *) "self",(char *) "_class", NULL
4402 };
4403
4404 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4405 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4406 if (!SWIG_IsOK(res1)) {
4407 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4408 }
4409 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4410 arg2 = obj1;
4411 arg3 = obj2;
4412 {
4413 PyThreadState* __tstate = wxPyBeginAllowThreads();
4414 (arg1)->_setCallbackInfo(arg2,arg3);
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 resultobj = SWIG_Py_Void();
4419 return resultobj;
4420fail:
4421 return NULL;
4422}
4423
4424
4425SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4426 PyObject *resultobj = 0;
4427 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4428 wxRemotelyScrolledTreeCtrl *result = 0 ;
4429 void *argp1 = 0 ;
4430 int res1 = 0 ;
4431 PyObject *swig_obj[1] ;
4432
4433 if (!args) SWIG_fail;
4434 swig_obj[0] = args;
4435 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4436 if (!SWIG_IsOK(res1)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4438 }
4439 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4440 {
4441 PyThreadState* __tstate = wxPyBeginAllowThreads();
4442 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4443 wxPyEndAllowThreads(__tstate);
4444 if (PyErr_Occurred()) SWIG_fail;
4445 }
4446 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4447 return resultobj;
4448fail:
4449 return NULL;
4450}
4451
4452
4453SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj = 0;
4455 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4456 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4457 void *argp1 = 0 ;
4458 int res1 = 0 ;
4459 void *argp2 = 0 ;
4460 int res2 = 0 ;
4461 PyObject * obj0 = 0 ;
4462 PyObject * obj1 = 0 ;
4463 char * kwnames[] = {
4464 (char *) "self",(char *) "treeCtrl", NULL
4465 };
4466
4467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4469 if (!SWIG_IsOK(res1)) {
4470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4471 }
4472 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4473 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4474 if (!SWIG_IsOK(res2)) {
4475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4476 }
4477 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4478 {
4479 PyThreadState* __tstate = wxPyBeginAllowThreads();
4480 (arg1)->SetTreeCtrl(arg2);
4481 wxPyEndAllowThreads(__tstate);
4482 if (PyErr_Occurred()) SWIG_fail;
4483 }
4484 resultobj = SWIG_Py_Void();
4485 return resultobj;
4486fail:
4487 return NULL;
4488}
4489
4490
4491SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4492 PyObject *obj;
4493 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4494 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4495 return SWIG_Py_Void();
4496}
4497
4498SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4499 return SWIG_Python_InitShadowInstance(args);
4500}
4501
4502SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4503 PyObject *resultobj = 0;
4504 wxWindow *arg1 = (wxWindow *) 0 ;
4505 int arg2 = (int) -1 ;
4506 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4507 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4508 wxSize const &arg4_defvalue = wxDefaultSize ;
4509 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4510 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4511 wxThinSplitterWindow *result = 0 ;
4512 void *argp1 = 0 ;
4513 int res1 = 0 ;
4514 int val2 ;
4515 int ecode2 = 0 ;
4516 wxPoint temp3 ;
4517 wxSize temp4 ;
4518 long val5 ;
4519 int ecode5 = 0 ;
4520 PyObject * obj0 = 0 ;
4521 PyObject * obj1 = 0 ;
4522 PyObject * obj2 = 0 ;
4523 PyObject * obj3 = 0 ;
4524 PyObject * obj4 = 0 ;
4525 char * kwnames[] = {
4526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4527 };
4528
4529 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4530 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4531 if (!SWIG_IsOK(res1)) {
4532 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4533 }
4534 arg1 = reinterpret_cast< wxWindow * >(argp1);
4535 if (obj1) {
4536 ecode2 = SWIG_AsVal_int(obj1, &val2);
4537 if (!SWIG_IsOK(ecode2)) {
4538 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4539 }
4540 arg2 = static_cast< int >(val2);
4541 }
4542 if (obj2) {
4543 {
4544 arg3 = &temp3;
4545 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4546 }
4547 }
4548 if (obj3) {
4549 {
4550 arg4 = &temp4;
4551 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4552 }
4553 }
4554 if (obj4) {
4555 ecode5 = SWIG_AsVal_long(obj4, &val5);
4556 if (!SWIG_IsOK(ecode5)) {
4557 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4558 }
4559 arg5 = static_cast< long >(val5);
4560 }
4561 {
4562 if (!wxPyCheckForApp()) SWIG_fail;
4563 PyThreadState* __tstate = wxPyBeginAllowThreads();
4564 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4565 wxPyEndAllowThreads(__tstate);
4566 if (PyErr_Occurred()) SWIG_fail;
4567 }
4568 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4569 return resultobj;
4570fail:
4571 return NULL;
4572}
4573
4574
4575SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4576 PyObject *obj;
4577 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4578 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4579 return SWIG_Py_Void();
4580}
4581
4582SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4583 return SWIG_Python_InitShadowInstance(args);
4584}
4585
4586SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4587 PyObject *resultobj = 0;
4588 wxWindow *arg1 = (wxWindow *) 0 ;
4589 int arg2 = (int) -1 ;
4590 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4591 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4592 wxSize const &arg4_defvalue = wxDefaultSize ;
4593 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4594 long arg5 = (long) 0 ;
4595 wxSplitterScrolledWindow *result = 0 ;
4596 void *argp1 = 0 ;
4597 int res1 = 0 ;
4598 int val2 ;
4599 int ecode2 = 0 ;
4600 wxPoint temp3 ;
4601 wxSize temp4 ;
4602 long val5 ;
4603 int ecode5 = 0 ;
4604 PyObject * obj0 = 0 ;
4605 PyObject * obj1 = 0 ;
4606 PyObject * obj2 = 0 ;
4607 PyObject * obj3 = 0 ;
4608 PyObject * obj4 = 0 ;
4609 char * kwnames[] = {
4610 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4611 };
4612
4613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4615 if (!SWIG_IsOK(res1)) {
4616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4617 }
4618 arg1 = reinterpret_cast< wxWindow * >(argp1);
4619 if (obj1) {
4620 ecode2 = SWIG_AsVal_int(obj1, &val2);
4621 if (!SWIG_IsOK(ecode2)) {
4622 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4623 }
4624 arg2 = static_cast< int >(val2);
4625 }
4626 if (obj2) {
4627 {
4628 arg3 = &temp3;
4629 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4630 }
4631 }
4632 if (obj3) {
4633 {
4634 arg4 = &temp4;
4635 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4636 }
4637 }
4638 if (obj4) {
4639 ecode5 = SWIG_AsVal_long(obj4, &val5);
4640 if (!SWIG_IsOK(ecode5)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4642 }
4643 arg5 = static_cast< long >(val5);
4644 }
4645 {
4646 if (!wxPyCheckForApp()) SWIG_fail;
4647 PyThreadState* __tstate = wxPyBeginAllowThreads();
4648 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4649 wxPyEndAllowThreads(__tstate);
4650 if (PyErr_Occurred()) SWIG_fail;
4651 }
4652 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4653 return resultobj;
4654fail:
4655 return NULL;
4656}
4657
4658
4659SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4660 PyObject *obj;
4661 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4662 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4663 return SWIG_Py_Void();
4664}
4665
4666SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4667 return SWIG_Python_InitShadowInstance(args);
4668}
4669
4670SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4671 PyObject *resultobj = 0;
4672 wxWindow *arg1 = (wxWindow *) 0 ;
4673 int arg2 = (int) -1 ;
4674 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4675 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4676 wxSize const &arg4_defvalue = wxDefaultSize ;
4677 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4678 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4679 wxLEDNumberCtrl *result = 0 ;
4680 void *argp1 = 0 ;
4681 int res1 = 0 ;
4682 int val2 ;
4683 int ecode2 = 0 ;
4684 wxPoint temp3 ;
4685 wxSize temp4 ;
4686 long val5 ;
4687 int ecode5 = 0 ;
4688 PyObject * obj0 = 0 ;
4689 PyObject * obj1 = 0 ;
4690 PyObject * obj2 = 0 ;
4691 PyObject * obj3 = 0 ;
4692 PyObject * obj4 = 0 ;
4693 char * kwnames[] = {
4694 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4695 };
4696
4697 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4698 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4699 if (!SWIG_IsOK(res1)) {
4700 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4701 }
4702 arg1 = reinterpret_cast< wxWindow * >(argp1);
4703 if (obj1) {
4704 ecode2 = SWIG_AsVal_int(obj1, &val2);
4705 if (!SWIG_IsOK(ecode2)) {
4706 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4707 }
4708 arg2 = static_cast< int >(val2);
4709 }
4710 if (obj2) {
4711 {
4712 arg3 = &temp3;
4713 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4714 }
4715 }
4716 if (obj3) {
4717 {
4718 arg4 = &temp4;
4719 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4720 }
4721 }
4722 if (obj4) {
4723 ecode5 = SWIG_AsVal_long(obj4, &val5);
4724 if (!SWIG_IsOK(ecode5)) {
4725 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4726 }
4727 arg5 = static_cast< long >(val5);
4728 }
4729 {
4730 if (!wxPyCheckForApp()) SWIG_fail;
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4737 return resultobj;
4738fail:
4739 return NULL;
4740}
4741
4742
4743SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4744 PyObject *resultobj = 0;
4745 wxLEDNumberCtrl *result = 0 ;
4746
4747 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4748 {
4749 if (!wxPyCheckForApp()) SWIG_fail;
4750 PyThreadState* __tstate = wxPyBeginAllowThreads();
4751 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4752 wxPyEndAllowThreads(__tstate);
4753 if (PyErr_Occurred()) SWIG_fail;
4754 }
4755 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4756 return resultobj;
4757fail:
4758 return NULL;
4759}
4760
4761
4762SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4763 PyObject *resultobj = 0;
4764 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4765 wxWindow *arg2 = (wxWindow *) 0 ;
4766 int arg3 = (int) -1 ;
4767 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4768 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4769 wxSize const &arg5_defvalue = wxDefaultSize ;
4770 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4771 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4772 bool result;
4773 void *argp1 = 0 ;
4774 int res1 = 0 ;
4775 void *argp2 = 0 ;
4776 int res2 = 0 ;
4777 int val3 ;
4778 int ecode3 = 0 ;
4779 wxPoint temp4 ;
4780 wxSize temp5 ;
4781 long val6 ;
4782 int ecode6 = 0 ;
4783 PyObject * obj0 = 0 ;
4784 PyObject * obj1 = 0 ;
4785 PyObject * obj2 = 0 ;
4786 PyObject * obj3 = 0 ;
4787 PyObject * obj4 = 0 ;
4788 PyObject * obj5 = 0 ;
4789 char * kwnames[] = {
4790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4791 };
4792
4793 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4794 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4795 if (!SWIG_IsOK(res1)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4797 }
4798 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4799 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4800 if (!SWIG_IsOK(res2)) {
4801 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4802 }
4803 arg2 = reinterpret_cast< wxWindow * >(argp2);
4804 if (obj2) {
4805 ecode3 = SWIG_AsVal_int(obj2, &val3);
4806 if (!SWIG_IsOK(ecode3)) {
4807 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4808 }
4809 arg3 = static_cast< int >(val3);
4810 }
4811 if (obj3) {
4812 {
4813 arg4 = &temp4;
4814 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4815 }
4816 }
4817 if (obj4) {
4818 {
4819 arg5 = &temp5;
4820 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4821 }
4822 }
4823 if (obj5) {
4824 ecode6 = SWIG_AsVal_long(obj5, &val6);
4825 if (!SWIG_IsOK(ecode6)) {
4826 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4827 }
4828 arg6 = static_cast< long >(val6);
4829 }
4830 {
4831 PyThreadState* __tstate = wxPyBeginAllowThreads();
4832 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
4836 {
4837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4838 }
4839 return resultobj;
4840fail:
4841 return NULL;
4842}
4843
4844
4845SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4846 PyObject *resultobj = 0;
4847 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4848 wxLEDValueAlign result;
4849 void *argp1 = 0 ;
4850 int res1 = 0 ;
4851 PyObject *swig_obj[1] ;
4852
4853 if (!args) SWIG_fail;
4854 swig_obj[0] = args;
4855 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4856 if (!SWIG_IsOK(res1)) {
4857 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4858 }
4859 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 resultobj = SWIG_From_int(static_cast< int >(result));
4867 return resultobj;
4868fail:
4869 return NULL;
4870}
4871
4872
4873SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4874 PyObject *resultobj = 0;
4875 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4876 bool result;
4877 void *argp1 = 0 ;
4878 int res1 = 0 ;
4879 PyObject *swig_obj[1] ;
4880
4881 if (!args) SWIG_fail;
4882 swig_obj[0] = args;
4883 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4884 if (!SWIG_IsOK(res1)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4886 }
4887 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4888 {
4889 PyThreadState* __tstate = wxPyBeginAllowThreads();
4890 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 {
4895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4896 }
4897 return resultobj;
4898fail:
4899 return NULL;
4900}
4901
4902
4903SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4904 PyObject *resultobj = 0;
4905 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4906 wxString *result = 0 ;
4907 void *argp1 = 0 ;
4908 int res1 = 0 ;
4909 PyObject *swig_obj[1] ;
4910
4911 if (!args) SWIG_fail;
4912 swig_obj[0] = args;
4913 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4914 if (!SWIG_IsOK(res1)) {
4915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4916 }
4917 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 {
4921 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4922 result = (wxString *) &_result_ref;
4923 }
4924 wxPyEndAllowThreads(__tstate);
4925 if (PyErr_Occurred()) SWIG_fail;
4926 }
4927 {
4928#if wxUSE_UNICODE
4929 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4930#else
4931 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4932#endif
4933 }
4934 return resultobj;
4935fail:
4936 return NULL;
4937}
4938
4939
4940SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4941 PyObject *resultobj = 0;
4942 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4943 wxLEDValueAlign arg2 ;
4944 bool arg3 = (bool) true ;
4945 void *argp1 = 0 ;
4946 int res1 = 0 ;
4947 int val2 ;
4948 int ecode2 = 0 ;
4949 bool val3 ;
4950 int ecode3 = 0 ;
4951 PyObject * obj0 = 0 ;
4952 PyObject * obj1 = 0 ;
4953 PyObject * obj2 = 0 ;
4954 char * kwnames[] = {
4955 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4956 };
4957
4958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4960 if (!SWIG_IsOK(res1)) {
4961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4962 }
4963 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4964 ecode2 = SWIG_AsVal_int(obj1, &val2);
4965 if (!SWIG_IsOK(ecode2)) {
4966 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4967 }
4968 arg2 = static_cast< wxLEDValueAlign >(val2);
4969 if (obj2) {
4970 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4971 if (!SWIG_IsOK(ecode3)) {
4972 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4973 }
4974 arg3 = static_cast< bool >(val3);
4975 }
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 (arg1)->SetAlignment(arg2,arg3);
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 resultobj = SWIG_Py_Void();
4983 return resultobj;
4984fail:
4985 return NULL;
4986}
4987
4988
4989SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj = 0;
4991 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4992 bool arg2 ;
4993 bool arg3 = (bool) true ;
4994 void *argp1 = 0 ;
4995 int res1 = 0 ;
4996 bool val2 ;
4997 int ecode2 = 0 ;
4998 bool val3 ;
4999 int ecode3 = 0 ;
5000 PyObject * obj0 = 0 ;
5001 PyObject * obj1 = 0 ;
5002 PyObject * obj2 = 0 ;
5003 char * kwnames[] = {
5004 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5005 };
5006
5007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5009 if (!SWIG_IsOK(res1)) {
5010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5011 }
5012 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5013 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5014 if (!SWIG_IsOK(ecode2)) {
5015 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5016 }
5017 arg2 = static_cast< bool >(val2);
5018 if (obj2) {
5019 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5020 if (!SWIG_IsOK(ecode3)) {
5021 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5022 }
5023 arg3 = static_cast< bool >(val3);
5024 }
5025 {
5026 PyThreadState* __tstate = wxPyBeginAllowThreads();
5027 (arg1)->SetDrawFaded(arg2,arg3);
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 resultobj = SWIG_Py_Void();
5032 return resultobj;
5033fail:
5034 return NULL;
5035}
5036
5037
5038SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5039 PyObject *resultobj = 0;
5040 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5041 wxString *arg2 = 0 ;
5042 bool arg3 = (bool) true ;
5043 void *argp1 = 0 ;
5044 int res1 = 0 ;
5045 bool temp2 = false ;
5046 bool val3 ;
5047 int ecode3 = 0 ;
5048 PyObject * obj0 = 0 ;
5049 PyObject * obj1 = 0 ;
5050 PyObject * obj2 = 0 ;
5051 char * kwnames[] = {
5052 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5053 };
5054
5055 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5056 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5057 if (!SWIG_IsOK(res1)) {
5058 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5059 }
5060 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5061 {
5062 arg2 = wxString_in_helper(obj1);
5063 if (arg2 == NULL) SWIG_fail;
5064 temp2 = true;
5065 }
5066 if (obj2) {
5067 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5068 if (!SWIG_IsOK(ecode3)) {
5069 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5070 }
5071 arg3 = static_cast< bool >(val3);
5072 }
5073 {
5074 PyThreadState* __tstate = wxPyBeginAllowThreads();
5075 (arg1)->SetValue((wxString const &)*arg2,arg3);
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 resultobj = SWIG_Py_Void();
5080 {
5081 if (temp2)
5082 delete arg2;
5083 }
5084 return resultobj;
5085fail:
5086 {
5087 if (temp2)
5088 delete arg2;
5089 }
5090 return NULL;
5091}
5092
5093
5094SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5095 PyObject *obj;
5096 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5097 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5098 return SWIG_Py_Void();
5099}
5100
5101SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5102 return SWIG_Python_InitShadowInstance(args);
5103}
5104
5105SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5106 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5107 return 1;
5108}
5109
5110
5111SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5112 PyObject *pyobj = 0;
5113
5114 {
5115#if wxUSE_UNICODE
5116 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5117#else
5118 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5119#endif
5120 }
5121 return pyobj;
5122}
5123
5124
5125SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5126 PyObject *resultobj = 0;
5127 wxString const &arg1_defvalue = wxPyEmptyString ;
5128 wxString *arg1 = (wxString *) &arg1_defvalue ;
5129 int arg2 = (int) DEFAULT_COL_WIDTH ;
5130 int arg3 = (int) wxALIGN_LEFT ;
5131 int arg4 = (int) -1 ;
5132 bool arg5 = (bool) true ;
5133 bool arg6 = (bool) false ;
5134 wxTreeListColumnInfo *result = 0 ;
5135 bool temp1 = false ;
5136 int val2 ;
5137 int ecode2 = 0 ;
5138 int val3 ;
5139 int ecode3 = 0 ;
5140 int val4 ;
5141 int ecode4 = 0 ;
5142 bool val5 ;
5143 int ecode5 = 0 ;
5144 bool val6 ;
5145 int ecode6 = 0 ;
5146 PyObject * obj0 = 0 ;
5147 PyObject * obj1 = 0 ;
5148 PyObject * obj2 = 0 ;
5149 PyObject * obj3 = 0 ;
5150 PyObject * obj4 = 0 ;
5151 PyObject * obj5 = 0 ;
5152 char * kwnames[] = {
5153 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
5154 };
5155
5156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
5157 if (obj0) {
5158 {
5159 arg1 = wxString_in_helper(obj0);
5160 if (arg1 == NULL) SWIG_fail;
5161 temp1 = true;
5162 }
5163 }
5164 if (obj1) {
5165 ecode2 = SWIG_AsVal_int(obj1, &val2);
5166 if (!SWIG_IsOK(ecode2)) {
5167 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5168 }
5169 arg2 = static_cast< int >(val2);
5170 }
5171 if (obj2) {
5172 ecode3 = SWIG_AsVal_int(obj2, &val3);
5173 if (!SWIG_IsOK(ecode3)) {
5174 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
5175 }
5176 arg3 = static_cast< int >(val3);
5177 }
5178 if (obj3) {
5179 ecode4 = SWIG_AsVal_int(obj3, &val4);
5180 if (!SWIG_IsOK(ecode4)) {
5181 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
5182 }
5183 arg4 = static_cast< int >(val4);
5184 }
5185 if (obj4) {
5186 ecode5 = SWIG_AsVal_bool(obj4, &val5);
5187 if (!SWIG_IsOK(ecode5)) {
5188 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5189 }
5190 arg5 = static_cast< bool >(val5);
5191 }
5192 if (obj5) {
5193 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5194 if (!SWIG_IsOK(ecode6)) {
5195 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
5196 }
5197 arg6 = static_cast< bool >(val6);
5198 }
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5206 {
5207 if (temp1)
5208 delete arg1;
5209 }
5210 return resultobj;
5211fail:
5212 {
5213 if (temp1)
5214 delete arg1;
5215 }
5216 return NULL;
5217}
5218
5219
5220SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5221 PyObject *resultobj = 0;
5222 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5223 void *argp1 = 0 ;
5224 int res1 = 0 ;
5225 PyObject *swig_obj[1] ;
5226
5227 if (!args) SWIG_fail;
5228 swig_obj[0] = args;
5229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5230 if (!SWIG_IsOK(res1)) {
5231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5232 }
5233 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 delete arg1;
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = SWIG_Py_Void();
5242 return resultobj;
5243fail:
5244 return NULL;
5245}
5246
5247
5248SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5249 PyObject *resultobj = 0;
5250 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5251 int result;
5252 void *argp1 = 0 ;
5253 int res1 = 0 ;
5254 PyObject *swig_obj[1] ;
5255
5256 if (!args) SWIG_fail;
5257 swig_obj[0] = args;
5258 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5259 if (!SWIG_IsOK(res1)) {
5260 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5261 }
5262 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5266 wxPyEndAllowThreads(__tstate);
5267 if (PyErr_Occurred()) SWIG_fail;
5268 }
5269 resultobj = SWIG_From_int(static_cast< int >(result));
5270 return resultobj;
5271fail:
5272 return NULL;
5273}
5274
5275
5276SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 PyObject *resultobj = 0;
5278 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5279 wxString result;
5280 void *argp1 = 0 ;
5281 int res1 = 0 ;
5282 PyObject *swig_obj[1] ;
5283
5284 if (!args) SWIG_fail;
5285 swig_obj[0] = args;
5286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5287 if (!SWIG_IsOK(res1)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5289 }
5290 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 {
5298#if wxUSE_UNICODE
5299 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5300#else
5301 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5302#endif
5303 }
5304 return resultobj;
5305fail:
5306 return NULL;
5307}
5308
5309
5310SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5311 PyObject *resultobj = 0;
5312 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5313 int result;
5314 void *argp1 = 0 ;
5315 int res1 = 0 ;
5316 PyObject *swig_obj[1] ;
5317
5318 if (!args) SWIG_fail;
5319 swig_obj[0] = args;
5320 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5321 if (!SWIG_IsOK(res1)) {
5322 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5323 }
5324 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5328 wxPyEndAllowThreads(__tstate);
5329 if (PyErr_Occurred()) SWIG_fail;
5330 }
5331 resultobj = SWIG_From_int(static_cast< int >(result));
5332 return resultobj;
5333fail:
5334 return NULL;
5335}
5336
5337
5338SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5339 PyObject *resultobj = 0;
5340 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5341 int result;
5342 void *argp1 = 0 ;
5343 int res1 = 0 ;
5344 PyObject *swig_obj[1] ;
5345
5346 if (!args) SWIG_fail;
5347 swig_obj[0] = args;
5348 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5349 if (!SWIG_IsOK(res1)) {
5350 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5351 }
5352 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5353 {
5354 PyThreadState* __tstate = wxPyBeginAllowThreads();
5355 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 resultobj = SWIG_From_int(static_cast< int >(result));
5360 return resultobj;
5361fail:
5362 return NULL;
5363}
5364
5365
5366SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5367 PyObject *resultobj = 0;
5368 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5369 size_t result;
5370 void *argp1 = 0 ;
5371 int res1 = 0 ;
5372 PyObject *swig_obj[1] ;
5373
5374 if (!args) SWIG_fail;
5375 swig_obj[0] = args;
5376 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5377 if (!SWIG_IsOK(res1)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5379 }
5380 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5381 {
5382 PyThreadState* __tstate = wxPyBeginAllowThreads();
5383 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5384 wxPyEndAllowThreads(__tstate);
5385 if (PyErr_Occurred()) SWIG_fail;
5386 }
5387 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5388 return resultobj;
5389fail:
5390 return NULL;
5391}
5392
5393
5394SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5395 PyObject *resultobj = 0;
5396 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5397 bool result;
5398 void *argp1 = 0 ;
5399 int res1 = 0 ;
5400 PyObject *swig_obj[1] ;
5401
5402 if (!args) SWIG_fail;
5403 swig_obj[0] = args;
5404 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5405 if (!SWIG_IsOK(res1)) {
5406 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5407 }
5408 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5409 {
5410 PyThreadState* __tstate = wxPyBeginAllowThreads();
5411 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
5412 wxPyEndAllowThreads(__tstate);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 {
5416 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5417 }
5418 return resultobj;
5419fail:
5420 return NULL;
5421}
5422
5423
5424SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5425 PyObject *resultobj = 0;
5426 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5427 bool result;
5428 void *argp1 = 0 ;
5429 int res1 = 0 ;
5430 PyObject *swig_obj[1] ;
5431
5432 if (!args) SWIG_fail;
5433 swig_obj[0] = args;
5434 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5435 if (!SWIG_IsOK(res1)) {
5436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5437 }
5438 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5439 {
5440 PyThreadState* __tstate = wxPyBeginAllowThreads();
5441 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5442 wxPyEndAllowThreads(__tstate);
5443 if (PyErr_Occurred()) SWIG_fail;
5444 }
5445 {
5446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5447 }
5448 return resultobj;
5449fail:
5450 return NULL;
5451}
5452
5453
5454SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5455 PyObject *resultobj = 0;
5456 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5457 int arg2 ;
5458 void *argp1 = 0 ;
5459 int res1 = 0 ;
5460 int val2 ;
5461 int ecode2 = 0 ;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char * kwnames[] = {
5465 (char *) "self",(char *) "alignment", NULL
5466 };
5467
5468 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5469 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5470 if (!SWIG_IsOK(res1)) {
5471 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5472 }
5473 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5474 ecode2 = SWIG_AsVal_int(obj1, &val2);
5475 if (!SWIG_IsOK(ecode2)) {
5476 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
5477 }
5478 arg2 = static_cast< int >(val2);
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 (arg1)->SetAlignment(arg2);
5482 wxPyEndAllowThreads(__tstate);
5483 if (PyErr_Occurred()) SWIG_fail;
5484 }
5485 resultobj = SWIG_Py_Void();
5486 return resultobj;
5487fail:
5488 return NULL;
5489}
5490
5491
5492SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5493 PyObject *resultobj = 0;
5494 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5495 wxString *arg2 = 0 ;
5496 void *argp1 = 0 ;
5497 int res1 = 0 ;
5498 bool temp2 = false ;
5499 PyObject * obj0 = 0 ;
5500 PyObject * obj1 = 0 ;
5501 char * kwnames[] = {
5502 (char *) "self",(char *) "text", NULL
5503 };
5504
5505 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5506 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5507 if (!SWIG_IsOK(res1)) {
5508 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5509 }
5510 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5511 {
5512 arg2 = wxString_in_helper(obj1);
5513 if (arg2 == NULL) SWIG_fail;
5514 temp2 = true;
5515 }
5516 {
5517 PyThreadState* __tstate = wxPyBeginAllowThreads();
5518 (arg1)->SetText((wxString const &)*arg2);
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 resultobj = SWIG_Py_Void();
5523 {
5524 if (temp2)
5525 delete arg2;
5526 }
5527 return resultobj;
5528fail:
5529 {
5530 if (temp2)
5531 delete arg2;
5532 }
5533 return NULL;
5534}
5535
5536
5537SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj = 0;
5539 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5540 int arg2 ;
5541 void *argp1 = 0 ;
5542 int res1 = 0 ;
5543 int val2 ;
5544 int ecode2 = 0 ;
5545 PyObject * obj0 = 0 ;
5546 PyObject * obj1 = 0 ;
5547 char * kwnames[] = {
5548 (char *) "self",(char *) "image", NULL
5549 };
5550
5551 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5552 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5553 if (!SWIG_IsOK(res1)) {
5554 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5555 }
5556 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5557 ecode2 = SWIG_AsVal_int(obj1, &val2);
5558 if (!SWIG_IsOK(ecode2)) {
5559 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5560 }
5561 arg2 = static_cast< int >(val2);
5562 {
5563 PyThreadState* __tstate = wxPyBeginAllowThreads();
5564 (arg1)->SetImage(arg2);
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 resultobj = SWIG_Py_Void();
5569 return resultobj;
5570fail:
5571 return NULL;
5572}
5573
5574
5575SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj = 0;
5577 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5578 int arg2 ;
5579 void *argp1 = 0 ;
5580 int res1 = 0 ;
5581 int val2 ;
5582 int ecode2 = 0 ;
5583 PyObject * obj0 = 0 ;
5584 PyObject * obj1 = 0 ;
5585 char * kwnames[] = {
5586 (char *) "self",(char *) "image", NULL
5587 };
5588
5589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5591 if (!SWIG_IsOK(res1)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5593 }
5594 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5595 ecode2 = SWIG_AsVal_int(obj1, &val2);
5596 if (!SWIG_IsOK(ecode2)) {
5597 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5598 }
5599 arg2 = static_cast< int >(val2);
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 (arg1)->SetSelectedImage(arg2);
5603 wxPyEndAllowThreads(__tstate);
5604 if (PyErr_Occurred()) SWIG_fail;
5605 }
5606 resultobj = SWIG_Py_Void();
5607 return resultobj;
5608fail:
5609 return NULL;
5610}
5611
5612
5613SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5614 PyObject *resultobj = 0;
5615 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5616 size_t arg2 ;
5617 void *argp1 = 0 ;
5618 int res1 = 0 ;
5619 size_t val2 ;
5620 int ecode2 = 0 ;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 char * kwnames[] = {
5624 (char *) "self",(char *) "with", NULL
5625 };
5626
5627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5629 if (!SWIG_IsOK(res1)) {
5630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5631 }
5632 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5633 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5634 if (!SWIG_IsOK(ecode2)) {
5635 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5636 }
5637 arg2 = static_cast< size_t >(val2);
5638 {
5639 PyThreadState* __tstate = wxPyBeginAllowThreads();
5640 (arg1)->SetWidth(arg2);
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 resultobj = SWIG_Py_Void();
5645 return resultobj;
5646fail:
5647 return NULL;
5648}
5649
5650
5651SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj = 0;
5653 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5654 bool arg2 ;
5655 void *argp1 = 0 ;
5656 int res1 = 0 ;
5657 bool val2 ;
5658 int ecode2 = 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char * kwnames[] = {
5662 (char *) "self",(char *) "edit", NULL
5663 };
5664
5665 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5666 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5667 if (!SWIG_IsOK(res1)) {
5668 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5669 }
5670 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5671 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5672 if (!SWIG_IsOK(ecode2)) {
5673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5674 }
5675 arg2 = static_cast< bool >(val2);
5676 {
5677 PyThreadState* __tstate = wxPyBeginAllowThreads();
5678 (arg1)->SetEditable(arg2);
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = SWIG_Py_Void();
5683 return resultobj;
5684fail:
5685 return NULL;
5686}
5687
5688
5689SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj = 0;
5691 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5692 bool arg2 ;
5693 void *argp1 = 0 ;
5694 int res1 = 0 ;
5695 bool val2 ;
5696 int ecode2 = 0 ;
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj1 = 0 ;
5699 char * kwnames[] = {
5700 (char *) "self",(char *) "shown", NULL
5701 };
5702
5703 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5704 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5705 if (!SWIG_IsOK(res1)) {
5706 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5707 }
5708 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5709 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5710 if (!SWIG_IsOK(ecode2)) {
5711 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5712 }
5713 arg2 = static_cast< bool >(val2);
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 (arg1)->SetShown(arg2);
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 resultobj = SWIG_Py_Void();
5721 return resultobj;
5722fail:
5723 return NULL;
5724}
5725
5726
5727SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5728 PyObject *obj;
5729 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5730 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5731 return SWIG_Py_Void();
5732}
5733
5734SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5735 return SWIG_Python_InitShadowInstance(args);
5736}
5737
5738SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5739 PyObject *resultobj = 0;
5740 wxWindow *arg1 = (wxWindow *) 0 ;
5741 int arg2 = (int) -1 ;
5742 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5743 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5744 wxSize const &arg4_defvalue = wxDefaultSize ;
5745 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5746 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5747 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5748 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5749 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5750 wxString *arg7 = (wxString *) &arg7_defvalue ;
5751 wxPyTreeListCtrl *result = 0 ;
5752 void *argp1 = 0 ;
5753 int res1 = 0 ;
5754 int val2 ;
5755 int ecode2 = 0 ;
5756 wxPoint temp3 ;
5757 wxSize temp4 ;
5758 long val5 ;
5759 int ecode5 = 0 ;
5760 void *argp6 = 0 ;
5761 int res6 = 0 ;
5762 bool temp7 = false ;
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 PyObject * obj2 = 0 ;
5766 PyObject * obj3 = 0 ;
5767 PyObject * obj4 = 0 ;
5768 PyObject * obj5 = 0 ;
5769 PyObject * obj6 = 0 ;
5770 char * kwnames[] = {
5771 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5772 };
5773
5774 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5775 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5776 if (!SWIG_IsOK(res1)) {
5777 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5778 }
5779 arg1 = reinterpret_cast< wxWindow * >(argp1);
5780 if (obj1) {
5781 ecode2 = SWIG_AsVal_int(obj1, &val2);
5782 if (!SWIG_IsOK(ecode2)) {
5783 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5784 }
5785 arg2 = static_cast< int >(val2);
5786 }
5787 if (obj2) {
5788 {
5789 arg3 = &temp3;
5790 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5791 }
5792 }
5793 if (obj3) {
5794 {
5795 arg4 = &temp4;
5796 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5797 }
5798 }
5799 if (obj4) {
5800 ecode5 = SWIG_AsVal_long(obj4, &val5);
5801 if (!SWIG_IsOK(ecode5)) {
5802 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5803 }
5804 arg5 = static_cast< long >(val5);
5805 }
5806 if (obj5) {
5807 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5808 if (!SWIG_IsOK(res6)) {
5809 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5810 }
5811 if (!argp6) {
5812 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5813 }
5814 arg6 = reinterpret_cast< wxValidator * >(argp6);
5815 }
5816 if (obj6) {
5817 {
5818 arg7 = wxString_in_helper(obj6);
5819 if (arg7 == NULL) SWIG_fail;
5820 temp7 = true;
5821 }
5822 }
5823 {
5824 if (!wxPyCheckForApp()) SWIG_fail;
5825 PyThreadState* __tstate = wxPyBeginAllowThreads();
5826 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5831 {
5832 if (temp7)
5833 delete arg7;
5834 }
5835 return resultobj;
5836fail:
5837 {
5838 if (temp7)
5839 delete arg7;
5840 }
5841 return NULL;
5842}
5843
5844
5845SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5846 PyObject *resultobj = 0;
5847 wxPyTreeListCtrl *result = 0 ;
5848
5849 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5850 {
5851 if (!wxPyCheckForApp()) SWIG_fail;
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5858 return resultobj;
5859fail:
5860 return NULL;
5861}
5862
5863
5864SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj = 0;
5866 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5867 wxWindow *arg2 = (wxWindow *) 0 ;
5868 int arg3 = (int) -1 ;
5869 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5870 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5871 wxSize const &arg5_defvalue = wxDefaultSize ;
5872 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5873 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5874 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5875 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5876 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5877 wxString *arg8 = (wxString *) &arg8_defvalue ;
5878 bool result;
5879 void *argp1 = 0 ;
5880 int res1 = 0 ;
5881 void *argp2 = 0 ;
5882 int res2 = 0 ;
5883 int val3 ;
5884 int ecode3 = 0 ;
5885 wxPoint temp4 ;
5886 wxSize temp5 ;
5887 long val6 ;
5888 int ecode6 = 0 ;
5889 void *argp7 = 0 ;
5890 int res7 = 0 ;
5891 bool temp8 = false ;
5892 PyObject * obj0 = 0 ;
5893 PyObject * obj1 = 0 ;
5894 PyObject * obj2 = 0 ;
5895 PyObject * obj3 = 0 ;
5896 PyObject * obj4 = 0 ;
5897 PyObject * obj5 = 0 ;
5898 PyObject * obj6 = 0 ;
5899 PyObject * obj7 = 0 ;
5900 char * kwnames[] = {
5901 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5902 };
5903
5904 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5905 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5906 if (!SWIG_IsOK(res1)) {
5907 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5908 }
5909 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5910 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5911 if (!SWIG_IsOK(res2)) {
5912 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5913 }
5914 arg2 = reinterpret_cast< wxWindow * >(argp2);
5915 if (obj2) {
5916 ecode3 = SWIG_AsVal_int(obj2, &val3);
5917 if (!SWIG_IsOK(ecode3)) {
5918 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5919 }
5920 arg3 = static_cast< int >(val3);
5921 }
5922 if (obj3) {
5923 {
5924 arg4 = &temp4;
5925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5926 }
5927 }
5928 if (obj4) {
5929 {
5930 arg5 = &temp5;
5931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5932 }
5933 }
5934 if (obj5) {
5935 ecode6 = SWIG_AsVal_long(obj5, &val6);
5936 if (!SWIG_IsOK(ecode6)) {
5937 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5938 }
5939 arg6 = static_cast< long >(val6);
5940 }
5941 if (obj6) {
5942 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5943 if (!SWIG_IsOK(res7)) {
5944 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5945 }
5946 if (!argp7) {
5947 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
5948 }
5949 arg7 = reinterpret_cast< wxValidator * >(argp7);
5950 }
5951 if (obj7) {
5952 {
5953 arg8 = wxString_in_helper(obj7);
5954 if (arg8 == NULL) SWIG_fail;
5955 temp8 = true;
5956 }
5957 }
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 {
5965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5966 }
5967 {
5968 if (temp8)
5969 delete arg8;
5970 }
5971 return resultobj;
5972fail:
5973 {
5974 if (temp8)
5975 delete arg8;
5976 }
5977 return NULL;
5978}
5979
5980
5981SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5982 PyObject *resultobj = 0;
5983 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5984 PyObject *arg2 = (PyObject *) 0 ;
5985 PyObject *arg3 = (PyObject *) 0 ;
5986 void *argp1 = 0 ;
5987 int res1 = 0 ;
5988 PyObject * obj0 = 0 ;
5989 PyObject * obj1 = 0 ;
5990 PyObject * obj2 = 0 ;
5991 char * kwnames[] = {
5992 (char *) "self",(char *) "self",(char *) "_class", NULL
5993 };
5994
5995 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5996 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5997 if (!SWIG_IsOK(res1)) {
5998 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5999 }
6000 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6001 arg2 = obj1;
6002 arg3 = obj2;
6003 {
6004 PyThreadState* __tstate = wxPyBeginAllowThreads();
6005 (arg1)->_setCallbackInfo(arg2,arg3);
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 resultobj = SWIG_Py_Void();
6010 return resultobj;
6011fail:
6012 return NULL;
6013}
6014
6015
6016SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6017 PyObject *resultobj = 0;
6018 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6019 size_t result;
6020 void *argp1 = 0 ;
6021 int res1 = 0 ;
6022 PyObject *swig_obj[1] ;
6023
6024 if (!args) SWIG_fail;
6025 swig_obj[0] = args;
6026 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6027 if (!SWIG_IsOK(res1)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6029 }
6030 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6038 return resultobj;
6039fail:
6040 return NULL;
6041}
6042
6043
6044SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6045 PyObject *resultobj = 0;
6046 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6047 unsigned int result;
6048 void *argp1 = 0 ;
6049 int res1 = 0 ;
6050 PyObject *swig_obj[1] ;
6051
6052 if (!args) SWIG_fail;
6053 swig_obj[0] = args;
6054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6055 if (!SWIG_IsOK(res1)) {
6056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6057 }
6058 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6066 return resultobj;
6067fail:
6068 return NULL;
6069}
6070
6071
6072SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj = 0;
6074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6075 unsigned int arg2 ;
6076 void *argp1 = 0 ;
6077 int res1 = 0 ;
6078 unsigned int val2 ;
6079 int ecode2 = 0 ;
6080 PyObject * obj0 = 0 ;
6081 PyObject * obj1 = 0 ;
6082 char * kwnames[] = {
6083 (char *) "self",(char *) "indent", NULL
6084 };
6085
6086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6088 if (!SWIG_IsOK(res1)) {
6089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6090 }
6091 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6092 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6093 if (!SWIG_IsOK(ecode2)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6095 }
6096 arg2 = static_cast< unsigned int >(val2);
6097 {
6098 PyThreadState* __tstate = wxPyBeginAllowThreads();
6099 (arg1)->SetIndent(arg2);
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 resultobj = SWIG_Py_Void();
6104 return resultobj;
6105fail:
6106 return NULL;
6107}
6108
6109
6110SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6111 PyObject *resultobj = 0;
6112 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6113 unsigned int result;
6114 void *argp1 = 0 ;
6115 int res1 = 0 ;
6116 PyObject *swig_obj[1] ;
6117
6118 if (!args) SWIG_fail;
6119 swig_obj[0] = args;
6120 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6121 if (!SWIG_IsOK(res1)) {
6122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6123 }
6124 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6128 wxPyEndAllowThreads(__tstate);
6129 if (PyErr_Occurred()) SWIG_fail;
6130 }
6131 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6132 return resultobj;
6133fail:
6134 return NULL;
6135}
6136
6137
6138SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6139 PyObject *resultobj = 0;
6140 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6141 unsigned int arg2 ;
6142 void *argp1 = 0 ;
6143 int res1 = 0 ;
6144 unsigned int val2 ;
6145 int ecode2 = 0 ;
6146 PyObject * obj0 = 0 ;
6147 PyObject * obj1 = 0 ;
6148 char * kwnames[] = {
6149 (char *) "self",(char *) "spacing", NULL
6150 };
6151
6152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6153 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6154 if (!SWIG_IsOK(res1)) {
6155 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6156 }
6157 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6158 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6159 if (!SWIG_IsOK(ecode2)) {
6160 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6161 }
6162 arg2 = static_cast< unsigned int >(val2);
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetLineSpacing(arg2);
6166 wxPyEndAllowThreads(__tstate);
6167 if (PyErr_Occurred()) SWIG_fail;
6168 }
6169 resultobj = SWIG_Py_Void();
6170 return resultobj;
6171fail:
6172 return NULL;
6173}
6174
6175
6176SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6177 PyObject *resultobj = 0;
6178 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6179 wxImageList *result = 0 ;
6180 void *argp1 = 0 ;
6181 int res1 = 0 ;
6182 PyObject *swig_obj[1] ;
6183
6184 if (!args) SWIG_fail;
6185 swig_obj[0] = args;
6186 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6187 if (!SWIG_IsOK(res1)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6189 }
6190 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6194 wxPyEndAllowThreads(__tstate);
6195 if (PyErr_Occurred()) SWIG_fail;
6196 }
6197 {
6198 resultobj = wxPyMake_wxObject(result, (bool)0);
6199 }
6200 return resultobj;
6201fail:
6202 return NULL;
6203}
6204
6205
6206SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6207 PyObject *resultobj = 0;
6208 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6209 wxImageList *result = 0 ;
6210 void *argp1 = 0 ;
6211 int res1 = 0 ;
6212 PyObject *swig_obj[1] ;
6213
6214 if (!args) SWIG_fail;
6215 swig_obj[0] = args;
6216 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6217 if (!SWIG_IsOK(res1)) {
6218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6219 }
6220 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6221 {
6222 PyThreadState* __tstate = wxPyBeginAllowThreads();
6223 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6224 wxPyEndAllowThreads(__tstate);
6225 if (PyErr_Occurred()) SWIG_fail;
6226 }
6227 {
6228 resultobj = wxPyMake_wxObject(result, (bool)0);
6229 }
6230 return resultobj;
6231fail:
6232 return NULL;
6233}
6234
6235
6236SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6237 PyObject *resultobj = 0;
6238 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6239 wxImageList *result = 0 ;
6240 void *argp1 = 0 ;
6241 int res1 = 0 ;
6242 PyObject *swig_obj[1] ;
6243
6244 if (!args) SWIG_fail;
6245 swig_obj[0] = args;
6246 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6247 if (!SWIG_IsOK(res1)) {
6248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6249 }
6250 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 {
6258 resultobj = wxPyMake_wxObject(result, (bool)0);
6259 }
6260 return resultobj;
6261fail:
6262 return NULL;
6263}
6264
6265
6266SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj = 0;
6268 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6269 wxImageList *arg2 = (wxImageList *) 0 ;
6270 void *argp1 = 0 ;
6271 int res1 = 0 ;
6272 void *argp2 = 0 ;
6273 int res2 = 0 ;
6274 PyObject * obj0 = 0 ;
6275 PyObject * obj1 = 0 ;
6276 char * kwnames[] = {
6277 (char *) "self",(char *) "imageList", NULL
6278 };
6279
6280 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6281 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6282 if (!SWIG_IsOK(res1)) {
6283 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6284 }
6285 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6286 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6287 if (!SWIG_IsOK(res2)) {
6288 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6289 }
6290 arg2 = reinterpret_cast< wxImageList * >(argp2);
6291 {
6292 PyThreadState* __tstate = wxPyBeginAllowThreads();
6293 (arg1)->SetImageList(arg2);
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 resultobj = SWIG_Py_Void();
6298 return resultobj;
6299fail:
6300 return NULL;
6301}
6302
6303
6304SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj = 0;
6306 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6307 wxImageList *arg2 = (wxImageList *) 0 ;
6308 void *argp1 = 0 ;
6309 int res1 = 0 ;
6310 void *argp2 = 0 ;
6311 int res2 = 0 ;
6312 PyObject * obj0 = 0 ;
6313 PyObject * obj1 = 0 ;
6314 char * kwnames[] = {
6315 (char *) "self",(char *) "imageList", NULL
6316 };
6317
6318 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6319 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6320 if (!SWIG_IsOK(res1)) {
6321 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6322 }
6323 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6324 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6325 if (!SWIG_IsOK(res2)) {
6326 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6327 }
6328 arg2 = reinterpret_cast< wxImageList * >(argp2);
6329 {
6330 PyThreadState* __tstate = wxPyBeginAllowThreads();
6331 (arg1)->SetStateImageList(arg2);
6332 wxPyEndAllowThreads(__tstate);
6333 if (PyErr_Occurred()) SWIG_fail;
6334 }
6335 resultobj = SWIG_Py_Void();
6336 return resultobj;
6337fail:
6338 return NULL;
6339}
6340
6341
6342SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6343 PyObject *resultobj = 0;
6344 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6345 wxImageList *arg2 = (wxImageList *) 0 ;
6346 void *argp1 = 0 ;
6347 int res1 = 0 ;
6348 void *argp2 = 0 ;
6349 int res2 = 0 ;
6350 PyObject * obj0 = 0 ;
6351 PyObject * obj1 = 0 ;
6352 char * kwnames[] = {
6353 (char *) "self",(char *) "imageList", NULL
6354 };
6355
6356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6358 if (!SWIG_IsOK(res1)) {
6359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6360 }
6361 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6362 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6363 if (!SWIG_IsOK(res2)) {
6364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6365 }
6366 arg2 = reinterpret_cast< wxImageList * >(argp2);
6367 {
6368 PyThreadState* __tstate = wxPyBeginAllowThreads();
6369 (arg1)->SetButtonsImageList(arg2);
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
6373 resultobj = SWIG_Py_Void();
6374 return resultobj;
6375fail:
6376 return NULL;
6377}
6378
6379
6380SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6381 PyObject *resultobj = 0;
6382 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6383 wxImageList *arg2 = (wxImageList *) 0 ;
6384 void *argp1 = 0 ;
6385 int res1 = 0 ;
6386 int res2 = 0 ;
6387 PyObject * obj0 = 0 ;
6388 PyObject * obj1 = 0 ;
6389 char * kwnames[] = {
6390 (char *) "self",(char *) "imageList", NULL
6391 };
6392
6393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6395 if (!SWIG_IsOK(res1)) {
6396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6397 }
6398 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6399 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6400 if (!SWIG_IsOK(res2)) {
6401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6402 }
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 (arg1)->AssignImageList(arg2);
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 resultobj = SWIG_Py_Void();
6410 return resultobj;
6411fail:
6412 return NULL;
6413}
6414
6415
6416SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj = 0;
6418 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6419 wxImageList *arg2 = (wxImageList *) 0 ;
6420 void *argp1 = 0 ;
6421 int res1 = 0 ;
6422 int res2 = 0 ;
6423 PyObject * obj0 = 0 ;
6424 PyObject * obj1 = 0 ;
6425 char * kwnames[] = {
6426 (char *) "self",(char *) "imageList", NULL
6427 };
6428
6429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6431 if (!SWIG_IsOK(res1)) {
6432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6433 }
6434 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6435 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6436 if (!SWIG_IsOK(res2)) {
6437 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6438 }
6439 {
6440 PyThreadState* __tstate = wxPyBeginAllowThreads();
6441 (arg1)->AssignStateImageList(arg2);
6442 wxPyEndAllowThreads(__tstate);
6443 if (PyErr_Occurred()) SWIG_fail;
6444 }
6445 resultobj = SWIG_Py_Void();
6446 return resultobj;
6447fail:
6448 return NULL;
6449}
6450
6451
6452SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6453 PyObject *resultobj = 0;
6454 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6455 wxImageList *arg2 = (wxImageList *) 0 ;
6456 void *argp1 = 0 ;
6457 int res1 = 0 ;
6458 int res2 = 0 ;
6459 PyObject * obj0 = 0 ;
6460 PyObject * obj1 = 0 ;
6461 char * kwnames[] = {
6462 (char *) "self",(char *) "imageList", NULL
6463 };
6464
6465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6467 if (!SWIG_IsOK(res1)) {
6468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6469 }
6470 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6471 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6472 if (!SWIG_IsOK(res2)) {
6473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 (arg1)->AssignButtonsImageList(arg2);
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 resultobj = SWIG_Py_Void();
6482 return resultobj;
6483fail:
6484 return NULL;
6485}
6486
6487
6488SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6489 PyObject *resultobj = 0;
6490 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6491 wxString *arg2 = 0 ;
6492 int arg3 = (int) DEFAULT_COL_WIDTH ;
6493 int arg4 = (int) wxALIGN_LEFT ;
6494 int arg5 = (int) -1 ;
6495 bool arg6 = (bool) true ;
6496 bool arg7 = (bool) false ;
6497 void *argp1 = 0 ;
6498 int res1 = 0 ;
6499 bool temp2 = false ;
6500 int val3 ;
6501 int ecode3 = 0 ;
6502 int val4 ;
6503 int ecode4 = 0 ;
6504 int val5 ;
6505 int ecode5 = 0 ;
6506 bool val6 ;
6507 int ecode6 = 0 ;
6508 bool val7 ;
6509 int ecode7 = 0 ;
6510 PyObject * obj0 = 0 ;
6511 PyObject * obj1 = 0 ;
6512 PyObject * obj2 = 0 ;
6513 PyObject * obj3 = 0 ;
6514 PyObject * obj4 = 0 ;
6515 PyObject * obj5 = 0 ;
6516 PyObject * obj6 = 0 ;
6517 char * kwnames[] = {
6518 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6519 };
6520
6521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
6522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6523 if (!SWIG_IsOK(res1)) {
6524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6525 }
6526 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6527 {
6528 arg2 = wxString_in_helper(obj1);
6529 if (arg2 == NULL) SWIG_fail;
6530 temp2 = true;
6531 }
6532 if (obj2) {
6533 ecode3 = SWIG_AsVal_int(obj2, &val3);
6534 if (!SWIG_IsOK(ecode3)) {
6535 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6536 }
6537 arg3 = static_cast< int >(val3);
6538 }
6539 if (obj3) {
6540 ecode4 = SWIG_AsVal_int(obj3, &val4);
6541 if (!SWIG_IsOK(ecode4)) {
6542 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6543 }
6544 arg4 = static_cast< int >(val4);
6545 }
6546 if (obj4) {
6547 ecode5 = SWIG_AsVal_int(obj4, &val5);
6548 if (!SWIG_IsOK(ecode5)) {
6549 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6550 }
6551 arg5 = static_cast< int >(val5);
6552 }
6553 if (obj5) {
6554 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6555 if (!SWIG_IsOK(ecode6)) {
6556 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6557 }
6558 arg6 = static_cast< bool >(val6);
6559 }
6560 if (obj6) {
6561 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6562 if (!SWIG_IsOK(ecode7)) {
6563 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6564 }
6565 arg7 = static_cast< bool >(val7);
6566 }
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
6570 wxPyEndAllowThreads(__tstate);
6571 if (PyErr_Occurred()) SWIG_fail;
6572 }
6573 resultobj = SWIG_Py_Void();
6574 {
6575 if (temp2)
6576 delete arg2;
6577 }
6578 return resultobj;
6579fail:
6580 {
6581 if (temp2)
6582 delete arg2;
6583 }
6584 return NULL;
6585}
6586
6587
6588SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6589 PyObject *resultobj = 0;
6590 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6591 wxTreeListColumnInfo *arg2 = 0 ;
6592 void *argp1 = 0 ;
6593 int res1 = 0 ;
6594 void *argp2 = 0 ;
6595 int res2 = 0 ;
6596 PyObject * obj0 = 0 ;
6597 PyObject * obj1 = 0 ;
6598 char * kwnames[] = {
6599 (char *) "self",(char *) "col", NULL
6600 };
6601
6602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6604 if (!SWIG_IsOK(res1)) {
6605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6606 }
6607 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6608 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6609 if (!SWIG_IsOK(res2)) {
6610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6611 }
6612 if (!argp2) {
6613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6614 }
6615 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6616 {
6617 PyThreadState* __tstate = wxPyBeginAllowThreads();
6618 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6619 wxPyEndAllowThreads(__tstate);
6620 if (PyErr_Occurred()) SWIG_fail;
6621 }
6622 resultobj = SWIG_Py_Void();
6623 return resultobj;
6624fail:
6625 return NULL;
6626}
6627
6628
6629SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6630 PyObject *resultobj = 0;
6631 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6632 int arg2 ;
6633 wxString *arg3 = 0 ;
6634 int arg4 = (int) DEFAULT_COL_WIDTH ;
6635 int arg5 = (int) wxALIGN_LEFT ;
6636 int arg6 = (int) -1 ;
6637 bool arg7 = (bool) true ;
6638 bool arg8 = (bool) false ;
6639 void *argp1 = 0 ;
6640 int res1 = 0 ;
6641 int val2 ;
6642 int ecode2 = 0 ;
6643 bool temp3 = false ;
6644 int val4 ;
6645 int ecode4 = 0 ;
6646 int val5 ;
6647 int ecode5 = 0 ;
6648 int val6 ;
6649 int ecode6 = 0 ;
6650 bool val7 ;
6651 int ecode7 = 0 ;
6652 bool val8 ;
6653 int ecode8 = 0 ;
6654 PyObject * obj0 = 0 ;
6655 PyObject * obj1 = 0 ;
6656 PyObject * obj2 = 0 ;
6657 PyObject * obj3 = 0 ;
6658 PyObject * obj4 = 0 ;
6659 PyObject * obj5 = 0 ;
6660 PyObject * obj6 = 0 ;
6661 PyObject * obj7 = 0 ;
6662 char * kwnames[] = {
6663 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
6664 };
6665
6666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
6667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6668 if (!SWIG_IsOK(res1)) {
6669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6670 }
6671 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6672 ecode2 = SWIG_AsVal_int(obj1, &val2);
6673 if (!SWIG_IsOK(ecode2)) {
6674 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
6675 }
6676 arg2 = static_cast< int >(val2);
6677 {
6678 arg3 = wxString_in_helper(obj2);
6679 if (arg3 == NULL) SWIG_fail;
6680 temp3 = true;
6681 }
6682 if (obj3) {
6683 ecode4 = SWIG_AsVal_int(obj3, &val4);
6684 if (!SWIG_IsOK(ecode4)) {
6685 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6686 }
6687 arg4 = static_cast< int >(val4);
6688 }
6689 if (obj4) {
6690 ecode5 = SWIG_AsVal_int(obj4, &val5);
6691 if (!SWIG_IsOK(ecode5)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6693 }
6694 arg5 = static_cast< int >(val5);
6695 }
6696 if (obj5) {
6697 ecode6 = SWIG_AsVal_int(obj5, &val6);
6698 if (!SWIG_IsOK(ecode6)) {
6699 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6700 }
6701 arg6 = static_cast< int >(val6);
6702 }
6703 if (obj6) {
6704 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6705 if (!SWIG_IsOK(ecode7)) {
6706 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6707 }
6708 arg7 = static_cast< bool >(val7);
6709 }
6710 if (obj7) {
6711 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6712 if (!SWIG_IsOK(ecode8)) {
6713 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6714 }
6715 arg8 = static_cast< bool >(val8);
6716 }
6717 {
6718 PyThreadState* __tstate = wxPyBeginAllowThreads();
6719 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
6720 wxPyEndAllowThreads(__tstate);
6721 if (PyErr_Occurred()) SWIG_fail;
6722 }
6723 resultobj = SWIG_Py_Void();
6724 {
6725 if (temp3)
6726 delete arg3;
6727 }
6728 return resultobj;
6729fail:
6730 {
6731 if (temp3)
6732 delete arg3;
6733 }
6734 return NULL;
6735}
6736
6737
6738SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6739 PyObject *resultobj = 0;
6740 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6741 size_t arg2 ;
6742 wxTreeListColumnInfo *arg3 = 0 ;
6743 void *argp1 = 0 ;
6744 int res1 = 0 ;
6745 size_t val2 ;
6746 int ecode2 = 0 ;
6747 void *argp3 = 0 ;
6748 int res3 = 0 ;
6749 PyObject * obj0 = 0 ;
6750 PyObject * obj1 = 0 ;
6751 PyObject * obj2 = 0 ;
6752 char * kwnames[] = {
6753 (char *) "self",(char *) "before",(char *) "col", NULL
6754 };
6755
6756 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6757 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6758 if (!SWIG_IsOK(res1)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6760 }
6761 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6762 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6763 if (!SWIG_IsOK(ecode2)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6765 }
6766 arg2 = static_cast< size_t >(val2);
6767 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6768 if (!SWIG_IsOK(res3)) {
6769 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6770 }
6771 if (!argp3) {
6772 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6773 }
6774 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6775 {
6776 PyThreadState* __tstate = wxPyBeginAllowThreads();
6777 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 resultobj = SWIG_Py_Void();
6782 return resultobj;
6783fail:
6784 return NULL;
6785}
6786
6787
6788SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj = 0;
6790 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6791 size_t arg2 ;
6792 void *argp1 = 0 ;
6793 int res1 = 0 ;
6794 size_t val2 ;
6795 int ecode2 = 0 ;
6796 PyObject * obj0 = 0 ;
6797 PyObject * obj1 = 0 ;
6798 char * kwnames[] = {
6799 (char *) "self",(char *) "column", NULL
6800 };
6801
6802 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6803 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6804 if (!SWIG_IsOK(res1)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6806 }
6807 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6808 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6809 if (!SWIG_IsOK(ecode2)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6811 }
6812 arg2 = static_cast< size_t >(val2);
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 (arg1)->RemoveColumn(arg2);
6816 wxPyEndAllowThreads(__tstate);
6817 if (PyErr_Occurred()) SWIG_fail;
6818 }
6819 resultobj = SWIG_Py_Void();
6820 return resultobj;
6821fail:
6822 return NULL;
6823}
6824
6825
6826SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6827 PyObject *resultobj = 0;
6828 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6829 size_t result;
6830 void *argp1 = 0 ;
6831 int res1 = 0 ;
6832 PyObject *swig_obj[1] ;
6833
6834 if (!args) SWIG_fail;
6835 swig_obj[0] = args;
6836 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6837 if (!SWIG_IsOK(res1)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6839 }
6840 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6841 {
6842 PyThreadState* __tstate = wxPyBeginAllowThreads();
6843 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6848 return resultobj;
6849fail:
6850 return NULL;
6851}
6852
6853
6854SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj = 0;
6856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6857 size_t arg2 ;
6858 void *argp1 = 0 ;
6859 int res1 = 0 ;
6860 size_t val2 ;
6861 int ecode2 = 0 ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 char * kwnames[] = {
6865 (char *) "self",(char *) "column", NULL
6866 };
6867
6868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6870 if (!SWIG_IsOK(res1)) {
6871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6872 }
6873 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6874 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6875 if (!SWIG_IsOK(ecode2)) {
6876 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6877 }
6878 arg2 = static_cast< size_t >(val2);
6879 {
6880 PyThreadState* __tstate = wxPyBeginAllowThreads();
6881 (arg1)->SetMainColumn(arg2);
6882 wxPyEndAllowThreads(__tstate);
6883 if (PyErr_Occurred()) SWIG_fail;
6884 }
6885 resultobj = SWIG_Py_Void();
6886 return resultobj;
6887fail:
6888 return NULL;
6889}
6890
6891
6892SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6893 PyObject *resultobj = 0;
6894 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6895 size_t result;
6896 void *argp1 = 0 ;
6897 int res1 = 0 ;
6898 PyObject *swig_obj[1] ;
6899
6900 if (!args) SWIG_fail;
6901 swig_obj[0] = args;
6902 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6903 if (!SWIG_IsOK(res1)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6905 }
6906 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6914 return resultobj;
6915fail:
6916 return NULL;
6917}
6918
6919
6920SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6921 PyObject *resultobj = 0;
6922 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6923 int arg2 ;
6924 wxTreeListColumnInfo *arg3 = 0 ;
6925 void *argp1 = 0 ;
6926 int res1 = 0 ;
6927 int val2 ;
6928 int ecode2 = 0 ;
6929 void *argp3 = 0 ;
6930 int res3 = 0 ;
6931 PyObject * obj0 = 0 ;
6932 PyObject * obj1 = 0 ;
6933 PyObject * obj2 = 0 ;
6934 char * kwnames[] = {
6935 (char *) "self",(char *) "column",(char *) "colInfo", NULL
6936 };
6937
6938 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6939 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6940 if (!SWIG_IsOK(res1)) {
6941 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6942 }
6943 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6944 ecode2 = SWIG_AsVal_int(obj1, &val2);
6945 if (!SWIG_IsOK(ecode2)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
6947 }
6948 arg2 = static_cast< int >(val2);
6949 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6950 if (!SWIG_IsOK(res3)) {
6951 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6952 }
6953 if (!argp3) {
6954 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6955 }
6956 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6957 {
6958 PyThreadState* __tstate = wxPyBeginAllowThreads();
6959 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = SWIG_Py_Void();
6964 return resultobj;
6965fail:
6966 return NULL;
6967}
6968
6969
6970SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj = 0;
6972 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6973 int arg2 ;
6974 wxTreeListColumnInfo *result = 0 ;
6975 void *argp1 = 0 ;
6976 int res1 = 0 ;
6977 int val2 ;
6978 int ecode2 = 0 ;
6979 PyObject * obj0 = 0 ;
6980 PyObject * obj1 = 0 ;
6981 char * kwnames[] = {
6982 (char *) "self",(char *) "column", NULL
6983 };
6984
6985 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6986 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6987 if (!SWIG_IsOK(res1)) {
6988 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6989 }
6990 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6991 ecode2 = SWIG_AsVal_int(obj1, &val2);
6992 if (!SWIG_IsOK(ecode2)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6994 }
6995 arg2 = static_cast< int >(val2);
6996 {
6997 PyThreadState* __tstate = wxPyBeginAllowThreads();
6998 {
6999 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
7000 result = (wxTreeListColumnInfo *) &_result_ref;
7001 }
7002 wxPyEndAllowThreads(__tstate);
7003 if (PyErr_Occurred()) SWIG_fail;
7004 }
7005 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
7006 return resultobj;
7007fail:
7008 return NULL;
7009}
7010
7011
7012SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7013 PyObject *resultobj = 0;
7014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7015 int arg2 ;
7016 wxString *arg3 = 0 ;
7017 void *argp1 = 0 ;
7018 int res1 = 0 ;
7019 int val2 ;
7020 int ecode2 = 0 ;
7021 bool temp3 = false ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 PyObject * obj2 = 0 ;
7025 char * kwnames[] = {
7026 (char *) "self",(char *) "column",(char *) "text", NULL
7027 };
7028
7029 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7030 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7031 if (!SWIG_IsOK(res1)) {
7032 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7033 }
7034 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7035 ecode2 = SWIG_AsVal_int(obj1, &val2);
7036 if (!SWIG_IsOK(ecode2)) {
7037 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
7038 }
7039 arg2 = static_cast< int >(val2);
7040 {
7041 arg3 = wxString_in_helper(obj2);
7042 if (arg3 == NULL) SWIG_fail;
7043 temp3 = true;
7044 }
7045 {
7046 PyThreadState* __tstate = wxPyBeginAllowThreads();
7047 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7048 wxPyEndAllowThreads(__tstate);
7049 if (PyErr_Occurred()) SWIG_fail;
7050 }
7051 resultobj = SWIG_Py_Void();
7052 {
7053 if (temp3)
7054 delete arg3;
7055 }
7056 return resultobj;
7057fail:
7058 {
7059 if (temp3)
7060 delete arg3;
7061 }
7062 return NULL;
7063}
7064
7065
7066SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7067 PyObject *resultobj = 0;
7068 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7069 int arg2 ;
7070 wxString result;
7071 void *argp1 = 0 ;
7072 int res1 = 0 ;
7073 int val2 ;
7074 int ecode2 = 0 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char * kwnames[] = {
7078 (char *) "self",(char *) "column", NULL
7079 };
7080
7081 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7082 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7083 if (!SWIG_IsOK(res1)) {
7084 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7085 }
7086 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7087 ecode2 = SWIG_AsVal_int(obj1, &val2);
7088 if (!SWIG_IsOK(ecode2)) {
7089 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
7090 }
7091 arg2 = static_cast< int >(val2);
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7095 wxPyEndAllowThreads(__tstate);
7096 if (PyErr_Occurred()) SWIG_fail;
7097 }
7098 {
7099#if wxUSE_UNICODE
7100 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7101#else
7102 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7103#endif
7104 }
7105 return resultobj;
7106fail:
7107 return NULL;
7108}
7109
7110
7111SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7112 PyObject *resultobj = 0;
7113 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7114 int arg2 ;
7115 int arg3 ;
7116 void *argp1 = 0 ;
7117 int res1 = 0 ;
7118 int val2 ;
7119 int ecode2 = 0 ;
7120 int val3 ;
7121 int ecode3 = 0 ;
7122 PyObject * obj0 = 0 ;
7123 PyObject * obj1 = 0 ;
7124 PyObject * obj2 = 0 ;
7125 char * kwnames[] = {
7126 (char *) "self",(char *) "column",(char *) "width", NULL
7127 };
7128
7129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7131 if (!SWIG_IsOK(res1)) {
7132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7133 }
7134 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7135 ecode2 = SWIG_AsVal_int(obj1, &val2);
7136 if (!SWIG_IsOK(ecode2)) {
7137 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7138 }
7139 arg2 = static_cast< int >(val2);
7140 ecode3 = SWIG_AsVal_int(obj2, &val3);
7141 if (!SWIG_IsOK(ecode3)) {
7142 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7143 }
7144 arg3 = static_cast< int >(val3);
7145 {
7146 PyThreadState* __tstate = wxPyBeginAllowThreads();
7147 (arg1)->SetColumnWidth(arg2,arg3);
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = SWIG_Py_Void();
7152 return resultobj;
7153fail:
7154 return NULL;
7155}
7156
7157
7158SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj = 0;
7160 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7161 int arg2 ;
7162 int result;
7163 void *argp1 = 0 ;
7164 int res1 = 0 ;
7165 int val2 ;
7166 int ecode2 = 0 ;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj1 = 0 ;
7169 char * kwnames[] = {
7170 (char *) "self",(char *) "column", NULL
7171 };
7172
7173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
7174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7175 if (!SWIG_IsOK(res1)) {
7176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7177 }
7178 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7179 ecode2 = SWIG_AsVal_int(obj1, &val2);
7180 if (!SWIG_IsOK(ecode2)) {
7181 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
7182 }
7183 arg2 = static_cast< int >(val2);
7184 {
7185 PyThreadState* __tstate = wxPyBeginAllowThreads();
7186 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
7187 wxPyEndAllowThreads(__tstate);
7188 if (PyErr_Occurred()) SWIG_fail;
7189 }
7190 resultobj = SWIG_From_int(static_cast< int >(result));
7191 return resultobj;
7192fail:
7193 return NULL;
7194}
7195
7196
7197SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7198 PyObject *resultobj = 0;
7199 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7200 int arg2 ;
7201 int arg3 ;
7202 void *argp1 = 0 ;
7203 int res1 = 0 ;
7204 int val2 ;
7205 int ecode2 = 0 ;
7206 int val3 ;
7207 int ecode3 = 0 ;
7208 PyObject * obj0 = 0 ;
7209 PyObject * obj1 = 0 ;
7210 PyObject * obj2 = 0 ;
7211 char * kwnames[] = {
7212 (char *) "self",(char *) "column",(char *) "flag", NULL
7213 };
7214
7215 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7216 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7217 if (!SWIG_IsOK(res1)) {
7218 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7219 }
7220 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7221 ecode2 = SWIG_AsVal_int(obj1, &val2);
7222 if (!SWIG_IsOK(ecode2)) {
7223 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7224 }
7225 arg2 = static_cast< int >(val2);
7226 ecode3 = SWIG_AsVal_int(obj2, &val3);
7227 if (!SWIG_IsOK(ecode3)) {
7228 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
7229 }
7230 arg3 = static_cast< int >(val3);
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 (arg1)->SetColumnAlignment(arg2,arg3);
7234 wxPyEndAllowThreads(__tstate);
7235 if (PyErr_Occurred()) SWIG_fail;
7236 }
7237 resultobj = SWIG_Py_Void();
7238 return resultobj;
7239fail:
7240 return NULL;
7241}
7242
7243
7244SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7245 PyObject *resultobj = 0;
7246 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7247 int arg2 ;
7248 int result;
7249 void *argp1 = 0 ;
7250 int res1 = 0 ;
7251 int val2 ;
7252 int ecode2 = 0 ;
7253 PyObject * obj0 = 0 ;
7254 PyObject * obj1 = 0 ;
7255 char * kwnames[] = {
7256 (char *) "self",(char *) "column", NULL
7257 };
7258
7259 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7260 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7261 if (!SWIG_IsOK(res1)) {
7262 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7263 }
7264 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7265 ecode2 = SWIG_AsVal_int(obj1, &val2);
7266 if (!SWIG_IsOK(ecode2)) {
7267 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
7268 }
7269 arg2 = static_cast< int >(val2);
7270 {
7271 PyThreadState* __tstate = wxPyBeginAllowThreads();
7272 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7273 wxPyEndAllowThreads(__tstate);
7274 if (PyErr_Occurred()) SWIG_fail;
7275 }
7276 resultobj = SWIG_From_int(static_cast< int >(result));
7277 return resultobj;
7278fail:
7279 return NULL;
7280}
7281
7282
7283SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7284 PyObject *resultobj = 0;
7285 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7286 int arg2 ;
7287 int arg3 ;
7288 void *argp1 = 0 ;
7289 int res1 = 0 ;
7290 int val2 ;
7291 int ecode2 = 0 ;
7292 int val3 ;
7293 int ecode3 = 0 ;
7294 PyObject * obj0 = 0 ;
7295 PyObject * obj1 = 0 ;
7296 PyObject * obj2 = 0 ;
7297 char * kwnames[] = {
7298 (char *) "self",(char *) "column",(char *) "image", NULL
7299 };
7300
7301 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7302 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7303 if (!SWIG_IsOK(res1)) {
7304 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7305 }
7306 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7307 ecode2 = SWIG_AsVal_int(obj1, &val2);
7308 if (!SWIG_IsOK(ecode2)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
7310 }
7311 arg2 = static_cast< int >(val2);
7312 ecode3 = SWIG_AsVal_int(obj2, &val3);
7313 if (!SWIG_IsOK(ecode3)) {
7314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7315 }
7316 arg3 = static_cast< int >(val3);
7317 {
7318 PyThreadState* __tstate = wxPyBeginAllowThreads();
7319 (arg1)->SetColumnImage(arg2,arg3);
7320 wxPyEndAllowThreads(__tstate);
7321 if (PyErr_Occurred()) SWIG_fail;
7322 }
7323 resultobj = SWIG_Py_Void();
7324 return resultobj;
7325fail:
7326 return NULL;
7327}
7328
7329
7330SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7331 PyObject *resultobj = 0;
7332 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7333 int arg2 ;
7334 int result;
7335 void *argp1 = 0 ;
7336 int res1 = 0 ;
7337 int val2 ;
7338 int ecode2 = 0 ;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 char * kwnames[] = {
7342 (char *) "self",(char *) "column", NULL
7343 };
7344
7345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7347 if (!SWIG_IsOK(res1)) {
7348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7349 }
7350 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7351 ecode2 = SWIG_AsVal_int(obj1, &val2);
7352 if (!SWIG_IsOK(ecode2)) {
7353 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
7354 }
7355 arg2 = static_cast< int >(val2);
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 resultobj = SWIG_From_int(static_cast< int >(result));
7363 return resultobj;
7364fail:
7365 return NULL;
7366}
7367
7368
7369SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7370 PyObject *resultobj = 0;
7371 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7372 int arg2 ;
7373 bool arg3 = (bool) true ;
7374 void *argp1 = 0 ;
7375 int res1 = 0 ;
7376 int val2 ;
7377 int ecode2 = 0 ;
7378 bool val3 ;
7379 int ecode3 = 0 ;
7380 PyObject * obj0 = 0 ;
7381 PyObject * obj1 = 0 ;
7382 PyObject * obj2 = 0 ;
7383 char * kwnames[] = {
7384 (char *) "self",(char *) "column",(char *) "shown", NULL
7385 };
7386
7387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7389 if (!SWIG_IsOK(res1)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7391 }
7392 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7393 ecode2 = SWIG_AsVal_int(obj1, &val2);
7394 if (!SWIG_IsOK(ecode2)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
7396 }
7397 arg2 = static_cast< int >(val2);
7398 if (obj2) {
7399 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7400 if (!SWIG_IsOK(ecode3)) {
7401 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7402 }
7403 arg3 = static_cast< bool >(val3);
7404 }
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 (arg1)->SetColumnShown(arg2,arg3);
7408 wxPyEndAllowThreads(__tstate);
7409 if (PyErr_Occurred()) SWIG_fail;
7410 }
7411 resultobj = SWIG_Py_Void();
7412 return resultobj;
7413fail:
7414 return NULL;
7415}
7416
7417
7418SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7419 PyObject *resultobj = 0;
7420 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7421 int arg2 ;
7422 bool result;
7423 void *argp1 = 0 ;
7424 int res1 = 0 ;
7425 int val2 ;
7426 int ecode2 = 0 ;
7427 PyObject * obj0 = 0 ;
7428 PyObject * obj1 = 0 ;
7429 char * kwnames[] = {
7430 (char *) "self",(char *) "column", NULL
7431 };
7432
7433 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7434 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7435 if (!SWIG_IsOK(res1)) {
7436 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7437 }
7438 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7439 ecode2 = SWIG_AsVal_int(obj1, &val2);
7440 if (!SWIG_IsOK(ecode2)) {
7441 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
7442 }
7443 arg2 = static_cast< int >(val2);
7444 {
7445 PyThreadState* __tstate = wxPyBeginAllowThreads();
7446 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 {
7451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7452 }
7453 return resultobj;
7454fail:
7455 return NULL;
7456}
7457
7458
7459SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7460 PyObject *resultobj = 0;
7461 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7462 int arg2 ;
7463 bool arg3 = (bool) true ;
7464 void *argp1 = 0 ;
7465 int res1 = 0 ;
7466 int val2 ;
7467 int ecode2 = 0 ;
7468 bool val3 ;
7469 int ecode3 = 0 ;
7470 PyObject * obj0 = 0 ;
7471 PyObject * obj1 = 0 ;
7472 PyObject * obj2 = 0 ;
7473 char * kwnames[] = {
7474 (char *) "self",(char *) "column",(char *) "edit", NULL
7475 };
7476
7477 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7478 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7479 if (!SWIG_IsOK(res1)) {
7480 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7481 }
7482 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7483 ecode2 = SWIG_AsVal_int(obj1, &val2);
7484 if (!SWIG_IsOK(ecode2)) {
7485 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7486 }
7487 arg2 = static_cast< int >(val2);
7488 if (obj2) {
7489 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7490 if (!SWIG_IsOK(ecode3)) {
7491 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7492 }
7493 arg3 = static_cast< bool >(val3);
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->SetColumnEditable(arg2,arg3);
7498 wxPyEndAllowThreads(__tstate);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
7501 resultobj = SWIG_Py_Void();
7502 return resultobj;
7503fail:
7504 return NULL;
7505}
7506
7507
7508SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7509 PyObject *resultobj = 0;
7510 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7511 int arg2 ;
7512 bool result;
7513 void *argp1 = 0 ;
7514 int res1 = 0 ;
7515 int val2 ;
7516 int ecode2 = 0 ;
7517 PyObject * obj0 = 0 ;
7518 PyObject * obj1 = 0 ;
7519 char * kwnames[] = {
7520 (char *) "self",(char *) "column", NULL
7521 };
7522
7523 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7524 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7525 if (!SWIG_IsOK(res1)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7527 }
7528 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7529 ecode2 = SWIG_AsVal_int(obj1, &val2);
7530 if (!SWIG_IsOK(ecode2)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7532 }
7533 arg2 = static_cast< int >(val2);
7534 {
7535 PyThreadState* __tstate = wxPyBeginAllowThreads();
7536 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7537 wxPyEndAllowThreads(__tstate);
7538 if (PyErr_Occurred()) SWIG_fail;
7539 }
7540 {
7541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7542 }
7543 return resultobj;
7544fail:
7545 return NULL;
7546}
7547
7548
7549SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj = 0;
7551 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7552 wxTreeItemId *arg2 = 0 ;
7553 int arg3 = (int) -1 ;
7554 wxString result;
7555 void *argp1 = 0 ;
7556 int res1 = 0 ;
7557 void *argp2 = 0 ;
7558 int res2 = 0 ;
7559 int val3 ;
7560 int ecode3 = 0 ;
7561 PyObject * obj0 = 0 ;
7562 PyObject * obj1 = 0 ;
7563 PyObject * obj2 = 0 ;
7564 char * kwnames[] = {
7565 (char *) "self",(char *) "item",(char *) "column", NULL
7566 };
7567
7568 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7569 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7570 if (!SWIG_IsOK(res1)) {
7571 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7572 }
7573 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7574 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7575 if (!SWIG_IsOK(res2)) {
7576 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7577 }
7578 if (!argp2) {
7579 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7580 }
7581 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7582 if (obj2) {
7583 ecode3 = SWIG_AsVal_int(obj2, &val3);
7584 if (!SWIG_IsOK(ecode3)) {
7585 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7586 }
7587 arg3 = static_cast< int >(val3);
7588 }
7589 {
7590 PyThreadState* __tstate = wxPyBeginAllowThreads();
7591 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 {
7596#if wxUSE_UNICODE
7597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7598#else
7599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7600#endif
7601 }
7602 return resultobj;
7603fail:
7604 return NULL;
7605}
7606
7607
7608SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj = 0;
7610 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7611 wxTreeItemId *arg2 = 0 ;
7612 int arg3 = (int) -1 ;
7613 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7614 int result;
7615 void *argp1 = 0 ;
7616 int res1 = 0 ;
7617 void *argp2 = 0 ;
7618 int res2 = 0 ;
7619 int val3 ;
7620 int ecode3 = 0 ;
7621 int val4 ;
7622 int ecode4 = 0 ;
7623 PyObject * obj0 = 0 ;
7624 PyObject * obj1 = 0 ;
7625 PyObject * obj2 = 0 ;
7626 PyObject * obj3 = 0 ;
7627 char * kwnames[] = {
7628 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7629 };
7630
7631 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7632 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7633 if (!SWIG_IsOK(res1)) {
7634 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7635 }
7636 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7637 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7638 if (!SWIG_IsOK(res2)) {
7639 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7640 }
7641 if (!argp2) {
7642 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7643 }
7644 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7645 if (obj2) {
7646 ecode3 = SWIG_AsVal_int(obj2, &val3);
7647 if (!SWIG_IsOK(ecode3)) {
7648 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7649 }
7650 arg3 = static_cast< int >(val3);
7651 }
7652 if (obj3) {
7653 ecode4 = SWIG_AsVal_int(obj3, &val4);
7654 if (!SWIG_IsOK(ecode4)) {
7655 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7656 }
7657 arg4 = static_cast< wxTreeItemIcon >(val4);
7658 }
7659 {
7660 PyThreadState* __tstate = wxPyBeginAllowThreads();
7661 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 resultobj = SWIG_From_int(static_cast< int >(result));
7666 return resultobj;
7667fail:
7668 return NULL;
7669}
7670
7671
7672SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7673 PyObject *resultobj = 0;
7674 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7675 wxTreeItemId *arg2 = 0 ;
7676 wxString *arg3 = 0 ;
7677 int arg4 = (int) -1 ;
7678 void *argp1 = 0 ;
7679 int res1 = 0 ;
7680 void *argp2 = 0 ;
7681 int res2 = 0 ;
7682 bool temp3 = false ;
7683 int val4 ;
7684 int ecode4 = 0 ;
7685 PyObject * obj0 = 0 ;
7686 PyObject * obj1 = 0 ;
7687 PyObject * obj2 = 0 ;
7688 PyObject * obj3 = 0 ;
7689 char * kwnames[] = {
7690 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7691 };
7692
7693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7695 if (!SWIG_IsOK(res1)) {
7696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7697 }
7698 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7699 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7700 if (!SWIG_IsOK(res2)) {
7701 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7702 }
7703 if (!argp2) {
7704 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7705 }
7706 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7707 {
7708 arg3 = wxString_in_helper(obj2);
7709 if (arg3 == NULL) SWIG_fail;
7710 temp3 = true;
7711 }
7712 if (obj3) {
7713 ecode4 = SWIG_AsVal_int(obj3, &val4);
7714 if (!SWIG_IsOK(ecode4)) {
7715 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7716 }
7717 arg4 = static_cast< int >(val4);
7718 }
7719 {
7720 PyThreadState* __tstate = wxPyBeginAllowThreads();
7721 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7722 wxPyEndAllowThreads(__tstate);
7723 if (PyErr_Occurred()) SWIG_fail;
7724 }
7725 resultobj = SWIG_Py_Void();
7726 {
7727 if (temp3)
7728 delete arg3;
7729 }
7730 return resultobj;
7731fail:
7732 {
7733 if (temp3)
7734 delete arg3;
7735 }
7736 return NULL;
7737}
7738
7739
7740SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7741 PyObject *resultobj = 0;
7742 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7743 wxTreeItemId *arg2 = 0 ;
7744 int arg3 ;
7745 int arg4 = (int) -1 ;
7746 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7747 void *argp1 = 0 ;
7748 int res1 = 0 ;
7749 void *argp2 = 0 ;
7750 int res2 = 0 ;
7751 int val3 ;
7752 int ecode3 = 0 ;
7753 int val4 ;
7754 int ecode4 = 0 ;
7755 int val5 ;
7756 int ecode5 = 0 ;
7757 PyObject * obj0 = 0 ;
7758 PyObject * obj1 = 0 ;
7759 PyObject * obj2 = 0 ;
7760 PyObject * obj3 = 0 ;
7761 PyObject * obj4 = 0 ;
7762 char * kwnames[] = {
7763 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7764 };
7765
7766 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7767 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7768 if (!SWIG_IsOK(res1)) {
7769 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7770 }
7771 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7772 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7773 if (!SWIG_IsOK(res2)) {
7774 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7775 }
7776 if (!argp2) {
7777 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7778 }
7779 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7780 ecode3 = SWIG_AsVal_int(obj2, &val3);
7781 if (!SWIG_IsOK(ecode3)) {
7782 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7783 }
7784 arg3 = static_cast< int >(val3);
7785 if (obj3) {
7786 ecode4 = SWIG_AsVal_int(obj3, &val4);
7787 if (!SWIG_IsOK(ecode4)) {
7788 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7789 }
7790 arg4 = static_cast< int >(val4);
7791 }
7792 if (obj4) {
7793 ecode5 = SWIG_AsVal_int(obj4, &val5);
7794 if (!SWIG_IsOK(ecode5)) {
7795 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7796 }
7797 arg5 = static_cast< wxTreeItemIcon >(val5);
7798 }
7799 {
7800 PyThreadState* __tstate = wxPyBeginAllowThreads();
7801 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7802 wxPyEndAllowThreads(__tstate);
7803 if (PyErr_Occurred()) SWIG_fail;
7804 }
7805 resultobj = SWIG_Py_Void();
7806 return resultobj;
7807fail:
7808 return NULL;
7809}
7810
7811
7812SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7813 PyObject *resultobj = 0;
7814 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7815 wxTreeItemId *arg2 = 0 ;
7816 wxPyTreeItemData *result = 0 ;
7817 void *argp1 = 0 ;
7818 int res1 = 0 ;
7819 void *argp2 = 0 ;
7820 int res2 = 0 ;
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 char * kwnames[] = {
7824 (char *) "self",(char *) "item", NULL
7825 };
7826
7827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7829 if (!SWIG_IsOK(res1)) {
7830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7831 }
7832 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7834 if (!SWIG_IsOK(res2)) {
7835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7836 }
7837 if (!argp2) {
7838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7839 }
7840 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7848 return resultobj;
7849fail:
7850 return NULL;
7851}
7852
7853
7854SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7857 wxTreeItemId *arg2 = 0 ;
7858 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7859 void *argp1 = 0 ;
7860 int res1 = 0 ;
7861 void *argp2 = 0 ;
7862 int res2 = 0 ;
7863 int res3 = 0 ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 PyObject * obj2 = 0 ;
7867 char * kwnames[] = {
7868 (char *) "self",(char *) "item",(char *) "data", NULL
7869 };
7870
7871 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7872 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7873 if (!SWIG_IsOK(res1)) {
7874 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7875 }
7876 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7877 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7878 if (!SWIG_IsOK(res2)) {
7879 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7880 }
7881 if (!argp2) {
7882 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7883 }
7884 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7885 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
7886 if (!SWIG_IsOK(res3)) {
7887 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
7888 }
7889 {
7890 PyThreadState* __tstate = wxPyBeginAllowThreads();
7891 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 resultobj = SWIG_Py_Void();
7896 return resultobj;
7897fail:
7898 return NULL;
7899}
7900
7901
7902SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj = 0;
7904 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7905 wxTreeItemId *arg2 = 0 ;
7906 PyObject *result = 0 ;
7907 void *argp1 = 0 ;
7908 int res1 = 0 ;
7909 void *argp2 = 0 ;
7910 int res2 = 0 ;
7911 PyObject * obj0 = 0 ;
7912 PyObject * obj1 = 0 ;
7913 char * kwnames[] = {
7914 (char *) "self",(char *) "item", NULL
7915 };
7916
7917 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7918 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7919 if (!SWIG_IsOK(res1)) {
7920 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7921 }
7922 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7923 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7924 if (!SWIG_IsOK(res2)) {
7925 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7926 }
7927 if (!argp2) {
7928 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7929 }
7930 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7934 wxPyEndAllowThreads(__tstate);
7935 if (PyErr_Occurred()) SWIG_fail;
7936 }
7937 resultobj = result;
7938 return resultobj;
7939fail:
7940 return NULL;
7941}
7942
7943
7944SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7945 PyObject *resultobj = 0;
7946 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7947 wxTreeItemId *arg2 = 0 ;
7948 PyObject *arg3 = (PyObject *) 0 ;
7949 void *argp1 = 0 ;
7950 int res1 = 0 ;
7951 void *argp2 = 0 ;
7952 int res2 = 0 ;
7953 PyObject * obj0 = 0 ;
7954 PyObject * obj1 = 0 ;
7955 PyObject * obj2 = 0 ;
7956 char * kwnames[] = {
7957 (char *) "self",(char *) "item",(char *) "obj", NULL
7958 };
7959
7960 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7961 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7962 if (!SWIG_IsOK(res1)) {
7963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7964 }
7965 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7966 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7967 if (!SWIG_IsOK(res2)) {
7968 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7969 }
7970 if (!argp2) {
7971 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7972 }
7973 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7974 arg3 = obj2;
7975 {
7976 PyThreadState* __tstate = wxPyBeginAllowThreads();
7977 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7978 wxPyEndAllowThreads(__tstate);
7979 if (PyErr_Occurred()) SWIG_fail;
7980 }
7981 resultobj = SWIG_Py_Void();
7982 return resultobj;
7983fail:
7984 return NULL;
7985}
7986
7987
7988SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj = 0;
7990 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7991 wxTreeItemId *arg2 = 0 ;
7992 bool result;
7993 void *argp1 = 0 ;
7994 int res1 = 0 ;
7995 void *argp2 = 0 ;
7996 int res2 = 0 ;
7997 PyObject * obj0 = 0 ;
7998 PyObject * obj1 = 0 ;
7999 char * kwnames[] = {
8000 (char *) "self",(char *) "item", NULL
8001 };
8002
8003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
8004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8005 if (!SWIG_IsOK(res1)) {
8006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8007 }
8008 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8009 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8010 if (!SWIG_IsOK(res2)) {
8011 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8012 }
8013 if (!argp2) {
8014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8015 }
8016 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
8024 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8025 }
8026 return resultobj;
8027fail:
8028 return NULL;
8029}
8030
8031
8032SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8033 PyObject *resultobj = 0;
8034 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8035 wxTreeItemId *arg2 = 0 ;
8036 wxColour result;
8037 void *argp1 = 0 ;
8038 int res1 = 0 ;
8039 void *argp2 = 0 ;
8040 int res2 = 0 ;
8041 PyObject * obj0 = 0 ;
8042 PyObject * obj1 = 0 ;
8043 char * kwnames[] = {
8044 (char *) "self",(char *) "item", NULL
8045 };
8046
8047 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
8048 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8049 if (!SWIG_IsOK(res1)) {
8050 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8051 }
8052 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8053 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8054 if (!SWIG_IsOK(res2)) {
8055 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8056 }
8057 if (!argp2) {
8058 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8059 }
8060 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
8064 wxPyEndAllowThreads(__tstate);
8065 if (PyErr_Occurred()) SWIG_fail;
8066 }
8067 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8068 return resultobj;
8069fail:
8070 return NULL;
8071}
8072
8073
8074SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8075 PyObject *resultobj = 0;
8076 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8077 wxTreeItemId *arg2 = 0 ;
8078 wxColour result;
8079 void *argp1 = 0 ;
8080 int res1 = 0 ;
8081 void *argp2 = 0 ;
8082 int res2 = 0 ;
8083 PyObject * obj0 = 0 ;
8084 PyObject * obj1 = 0 ;
8085 char * kwnames[] = {
8086 (char *) "self",(char *) "item", NULL
8087 };
8088
8089 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8090 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8091 if (!SWIG_IsOK(res1)) {
8092 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8093 }
8094 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8095 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8096 if (!SWIG_IsOK(res2)) {
8097 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8098 }
8099 if (!argp2) {
8100 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8101 }
8102 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8103 {
8104 PyThreadState* __tstate = wxPyBeginAllowThreads();
8105 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8106 wxPyEndAllowThreads(__tstate);
8107 if (PyErr_Occurred()) SWIG_fail;
8108 }
8109 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8110 return resultobj;
8111fail:
8112 return NULL;
8113}
8114
8115
8116SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8117 PyObject *resultobj = 0;
8118 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8119 wxTreeItemId *arg2 = 0 ;
8120 wxFont result;
8121 void *argp1 = 0 ;
8122 int res1 = 0 ;
8123 void *argp2 = 0 ;
8124 int res2 = 0 ;
8125 PyObject * obj0 = 0 ;
8126 PyObject * obj1 = 0 ;
8127 char * kwnames[] = {
8128 (char *) "self",(char *) "item", NULL
8129 };
8130
8131 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8132 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8133 if (!SWIG_IsOK(res1)) {
8134 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8135 }
8136 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8137 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8138 if (!SWIG_IsOK(res2)) {
8139 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8140 }
8141 if (!argp2) {
8142 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8143 }
8144 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8145 {
8146 PyThreadState* __tstate = wxPyBeginAllowThreads();
8147 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8152 return resultobj;
8153fail:
8154 return NULL;
8155}
8156
8157
8158SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8159 PyObject *resultobj = 0;
8160 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8161 wxTreeItemId *arg2 = 0 ;
8162 bool arg3 = (bool) true ;
8163 void *argp1 = 0 ;
8164 int res1 = 0 ;
8165 void *argp2 = 0 ;
8166 int res2 = 0 ;
8167 bool val3 ;
8168 int ecode3 = 0 ;
8169 PyObject * obj0 = 0 ;
8170 PyObject * obj1 = 0 ;
8171 PyObject * obj2 = 0 ;
8172 char * kwnames[] = {
8173 (char *) "self",(char *) "item",(char *) "has", NULL
8174 };
8175
8176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8178 if (!SWIG_IsOK(res1)) {
8179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8180 }
8181 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8182 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8183 if (!SWIG_IsOK(res2)) {
8184 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8185 }
8186 if (!argp2) {
8187 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8188 }
8189 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8190 if (obj2) {
8191 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8192 if (!SWIG_IsOK(ecode3)) {
8193 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8194 }
8195 arg3 = static_cast< bool >(val3);
8196 }
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
8200 wxPyEndAllowThreads(__tstate);
8201 if (PyErr_Occurred()) SWIG_fail;
8202 }
8203 resultobj = SWIG_Py_Void();
8204 return resultobj;
8205fail:
8206 return NULL;
8207}
8208
8209
8210SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8211 PyObject *resultobj = 0;
8212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8213 wxTreeItemId *arg2 = 0 ;
8214 bool arg3 = (bool) true ;
8215 void *argp1 = 0 ;
8216 int res1 = 0 ;
8217 void *argp2 = 0 ;
8218 int res2 = 0 ;
8219 bool val3 ;
8220 int ecode3 = 0 ;
8221 PyObject * obj0 = 0 ;
8222 PyObject * obj1 = 0 ;
8223 PyObject * obj2 = 0 ;
8224 char * kwnames[] = {
8225 (char *) "self",(char *) "item",(char *) "bold", NULL
8226 };
8227
8228 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8229 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8230 if (!SWIG_IsOK(res1)) {
8231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8232 }
8233 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8234 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8235 if (!SWIG_IsOK(res2)) {
8236 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8237 }
8238 if (!argp2) {
8239 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8240 }
8241 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8242 if (obj2) {
8243 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8244 if (!SWIG_IsOK(ecode3)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8246 }
8247 arg3 = static_cast< bool >(val3);
8248 }
8249 {
8250 PyThreadState* __tstate = wxPyBeginAllowThreads();
8251 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_Py_Void();
8256 return resultobj;
8257fail:
8258 return NULL;
8259}
8260
8261
8262SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj = 0;
8264 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8265 wxTreeItemId *arg2 = 0 ;
8266 wxColour *arg3 = 0 ;
8267 void *argp1 = 0 ;
8268 int res1 = 0 ;
8269 void *argp2 = 0 ;
8270 int res2 = 0 ;
8271 wxColour temp3 ;
8272 PyObject * obj0 = 0 ;
8273 PyObject * obj1 = 0 ;
8274 PyObject * obj2 = 0 ;
8275 char * kwnames[] = {
8276 (char *) "self",(char *) "item",(char *) "colour", NULL
8277 };
8278
8279 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8280 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8281 if (!SWIG_IsOK(res1)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8283 }
8284 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8285 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8286 if (!SWIG_IsOK(res2)) {
8287 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8288 }
8289 if (!argp2) {
8290 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8291 }
8292 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8293 {
8294 arg3 = &temp3;
8295 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8296 }
8297 {
8298 PyThreadState* __tstate = wxPyBeginAllowThreads();
8299 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8300 wxPyEndAllowThreads(__tstate);
8301 if (PyErr_Occurred()) SWIG_fail;
8302 }
8303 resultobj = SWIG_Py_Void();
8304 return resultobj;
8305fail:
8306 return NULL;
8307}
8308
8309
8310SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8311 PyObject *resultobj = 0;
8312 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8313 wxTreeItemId *arg2 = 0 ;
8314 wxColour *arg3 = 0 ;
8315 void *argp1 = 0 ;
8316 int res1 = 0 ;
8317 void *argp2 = 0 ;
8318 int res2 = 0 ;
8319 wxColour temp3 ;
8320 PyObject * obj0 = 0 ;
8321 PyObject * obj1 = 0 ;
8322 PyObject * obj2 = 0 ;
8323 char * kwnames[] = {
8324 (char *) "self",(char *) "item",(char *) "colour", NULL
8325 };
8326
8327 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8328 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8329 if (!SWIG_IsOK(res1)) {
8330 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8331 }
8332 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8333 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8334 if (!SWIG_IsOK(res2)) {
8335 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8336 }
8337 if (!argp2) {
8338 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8339 }
8340 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8341 {
8342 arg3 = &temp3;
8343 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8344 }
8345 {
8346 PyThreadState* __tstate = wxPyBeginAllowThreads();
8347 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
8348 wxPyEndAllowThreads(__tstate);
8349 if (PyErr_Occurred()) SWIG_fail;
8350 }
8351 resultobj = SWIG_Py_Void();
8352 return resultobj;
8353fail:
8354 return NULL;
8355}
8356
8357
8358SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8359 PyObject *resultobj = 0;
8360 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8361 wxTreeItemId *arg2 = 0 ;
8362 wxFont *arg3 = 0 ;
8363 void *argp1 = 0 ;
8364 int res1 = 0 ;
8365 void *argp2 = 0 ;
8366 int res2 = 0 ;
8367 void *argp3 = 0 ;
8368 int res3 = 0 ;
8369 PyObject * obj0 = 0 ;
8370 PyObject * obj1 = 0 ;
8371 PyObject * obj2 = 0 ;
8372 char * kwnames[] = {
8373 (char *) "self",(char *) "item",(char *) "font", NULL
8374 };
8375
8376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8378 if (!SWIG_IsOK(res1)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8380 }
8381 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8382 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8383 if (!SWIG_IsOK(res2)) {
8384 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8385 }
8386 if (!argp2) {
8387 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8388 }
8389 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8390 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8391 if (!SWIG_IsOK(res3)) {
8392 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8393 }
8394 if (!argp3) {
8395 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8396 }
8397 arg3 = reinterpret_cast< wxFont * >(argp3);
8398 {
8399 PyThreadState* __tstate = wxPyBeginAllowThreads();
8400 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
8401 wxPyEndAllowThreads(__tstate);
8402 if (PyErr_Occurred()) SWIG_fail;
8403 }
8404 resultobj = SWIG_Py_Void();
8405 return resultobj;
8406fail:
8407 return NULL;
8408}
8409
8410
8411SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8412 PyObject *resultobj = 0;
8413 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8414 wxTreeItemId *arg2 = 0 ;
8415 bool result;
8416 void *argp1 = 0 ;
8417 int res1 = 0 ;
8418 void *argp2 = 0 ;
8419 int res2 = 0 ;
8420 PyObject * obj0 = 0 ;
8421 PyObject * obj1 = 0 ;
8422 char * kwnames[] = {
8423 (char *) "self",(char *) "item", NULL
8424 };
8425
8426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8428 if (!SWIG_IsOK(res1)) {
8429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8430 }
8431 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8432 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8433 if (!SWIG_IsOK(res2)) {
8434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8435 }
8436 if (!argp2) {
8437 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8438 }
8439 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8440 {
8441 PyThreadState* __tstate = wxPyBeginAllowThreads();
8442 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 {
8447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8448 }
8449 return resultobj;
8450fail:
8451 return NULL;
8452}
8453
8454
8455SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8456 PyObject *resultobj = 0;
8457 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8458 wxTreeItemId *arg2 = 0 ;
8459 bool result;
8460 void *argp1 = 0 ;
8461 int res1 = 0 ;
8462 void *argp2 = 0 ;
8463 int res2 = 0 ;
8464 PyObject * obj0 = 0 ;
8465 PyObject * obj1 = 0 ;
8466 char * kwnames[] = {
8467 (char *) "self",(char *) "item", NULL
8468 };
8469
8470 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8471 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8472 if (!SWIG_IsOK(res1)) {
8473 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8474 }
8475 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8476 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8477 if (!SWIG_IsOK(res2)) {
8478 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8479 }
8480 if (!argp2) {
8481 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8482 }
8483 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8484 {
8485 PyThreadState* __tstate = wxPyBeginAllowThreads();
8486 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 {
8491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8492 }
8493 return resultobj;
8494fail:
8495 return NULL;
8496}
8497
8498
8499SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8500 PyObject *resultobj = 0;
8501 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8502 wxTreeItemId *arg2 = 0 ;
8503 bool result;
8504 void *argp1 = 0 ;
8505 int res1 = 0 ;
8506 void *argp2 = 0 ;
8507 int res2 = 0 ;
8508 PyObject * obj0 = 0 ;
8509 PyObject * obj1 = 0 ;
8510 char * kwnames[] = {
8511 (char *) "self",(char *) "item", NULL
8512 };
8513
8514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8516 if (!SWIG_IsOK(res1)) {
8517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8518 }
8519 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8520 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8521 if (!SWIG_IsOK(res2)) {
8522 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8523 }
8524 if (!argp2) {
8525 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8526 }
8527 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8528 {
8529 PyThreadState* __tstate = wxPyBeginAllowThreads();
8530 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 {
8535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8536 }
8537 return resultobj;
8538fail:
8539 return NULL;
8540}
8541
8542
8543SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8544 PyObject *resultobj = 0;
8545 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8546 wxTreeItemId *arg2 = 0 ;
8547 bool result;
8548 void *argp1 = 0 ;
8549 int res1 = 0 ;
8550 void *argp2 = 0 ;
8551 int res2 = 0 ;
8552 PyObject * obj0 = 0 ;
8553 PyObject * obj1 = 0 ;
8554 char * kwnames[] = {
8555 (char *) "self",(char *) "item", NULL
8556 };
8557
8558 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8559 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8560 if (!SWIG_IsOK(res1)) {
8561 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8562 }
8563 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8564 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8565 if (!SWIG_IsOK(res2)) {
8566 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8567 }
8568 if (!argp2) {
8569 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8570 }
8571 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8572 {
8573 PyThreadState* __tstate = wxPyBeginAllowThreads();
8574 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8575 wxPyEndAllowThreads(__tstate);
8576 if (PyErr_Occurred()) SWIG_fail;
8577 }
8578 {
8579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8580 }
8581 return resultobj;
8582fail:
8583 return NULL;
8584}
8585
8586
8587SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj = 0;
8589 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8590 wxTreeItemId *arg2 = 0 ;
8591 bool result;
8592 void *argp1 = 0 ;
8593 int res1 = 0 ;
8594 void *argp2 = 0 ;
8595 int res2 = 0 ;
8596 PyObject * obj0 = 0 ;
8597 PyObject * obj1 = 0 ;
8598 char * kwnames[] = {
8599 (char *) "self",(char *) "item", NULL
8600 };
8601
8602 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8603 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8604 if (!SWIG_IsOK(res1)) {
8605 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8606 }
8607 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8608 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8609 if (!SWIG_IsOK(res2)) {
8610 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8611 }
8612 if (!argp2) {
8613 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8614 }
8615 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8619 wxPyEndAllowThreads(__tstate);
8620 if (PyErr_Occurred()) SWIG_fail;
8621 }
8622 {
8623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8624 }
8625 return resultobj;
8626fail:
8627 return NULL;
8628}
8629
8630
8631SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8632 PyObject *resultobj = 0;
8633 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8634 wxTreeItemId *arg2 = 0 ;
8635 bool arg3 = (bool) true ;
8636 size_t result;
8637 void *argp1 = 0 ;
8638 int res1 = 0 ;
8639 void *argp2 = 0 ;
8640 int res2 = 0 ;
8641 bool val3 ;
8642 int ecode3 = 0 ;
8643 PyObject * obj0 = 0 ;
8644 PyObject * obj1 = 0 ;
8645 PyObject * obj2 = 0 ;
8646 char * kwnames[] = {
8647 (char *) "self",(char *) "item",(char *) "recursively", NULL
8648 };
8649
8650 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8651 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8652 if (!SWIG_IsOK(res1)) {
8653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8654 }
8655 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8656 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8657 if (!SWIG_IsOK(res2)) {
8658 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8659 }
8660 if (!argp2) {
8661 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8662 }
8663 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8664 if (obj2) {
8665 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8666 if (!SWIG_IsOK(ecode3)) {
8667 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8668 }
8669 arg3 = static_cast< bool >(val3);
8670 }
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8674 wxPyEndAllowThreads(__tstate);
8675 if (PyErr_Occurred()) SWIG_fail;
8676 }
8677 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8678 return resultobj;
8679fail:
8680 return NULL;
8681}
8682
8683
8684SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8685 PyObject *resultobj = 0;
8686 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8687 wxTreeItemId result;
8688 void *argp1 = 0 ;
8689 int res1 = 0 ;
8690 PyObject *swig_obj[1] ;
8691
8692 if (!args) SWIG_fail;
8693 swig_obj[0] = args;
8694 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8695 if (!SWIG_IsOK(res1)) {
8696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8697 }
8698 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8699 {
8700 PyThreadState* __tstate = wxPyBeginAllowThreads();
8701 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8702 wxPyEndAllowThreads(__tstate);
8703 if (PyErr_Occurred()) SWIG_fail;
8704 }
8705 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8706 return resultobj;
8707fail:
8708 return NULL;
8709}
8710
8711
8712SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8713 PyObject *resultobj = 0;
8714 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8715 wxTreeItemId result;
8716 void *argp1 = 0 ;
8717 int res1 = 0 ;
8718 PyObject *swig_obj[1] ;
8719
8720 if (!args) SWIG_fail;
8721 swig_obj[0] = args;
8722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8723 if (!SWIG_IsOK(res1)) {
8724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8725 }
8726 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8727 {
8728 PyThreadState* __tstate = wxPyBeginAllowThreads();
8729 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8730 wxPyEndAllowThreads(__tstate);
8731 if (PyErr_Occurred()) SWIG_fail;
8732 }
8733 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8734 return resultobj;
8735fail:
8736 return NULL;
8737}
8738
8739
8740SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8741 PyObject *resultobj = 0;
8742 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8743 PyObject *result = 0 ;
8744 void *argp1 = 0 ;
8745 int res1 = 0 ;
8746 PyObject *swig_obj[1] ;
8747
8748 if (!args) SWIG_fail;
8749 swig_obj[0] = args;
8750 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8751 if (!SWIG_IsOK(res1)) {
8752 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8753 }
8754 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8755 {
8756 PyThreadState* __tstate = wxPyBeginAllowThreads();
8757 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8758 wxPyEndAllowThreads(__tstate);
8759 if (PyErr_Occurred()) SWIG_fail;
8760 }
8761 resultobj = result;
8762 return resultobj;
8763fail:
8764 return NULL;
8765}
8766
8767
8768SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8769 PyObject *resultobj = 0;
8770 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8771 wxTreeItemId *arg2 = 0 ;
8772 wxTreeItemId result;
8773 void *argp1 = 0 ;
8774 int res1 = 0 ;
8775 void *argp2 = 0 ;
8776 int res2 = 0 ;
8777 PyObject * obj0 = 0 ;
8778 PyObject * obj1 = 0 ;
8779 char * kwnames[] = {
8780 (char *) "self",(char *) "item", NULL
8781 };
8782
8783 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8784 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8785 if (!SWIG_IsOK(res1)) {
8786 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8787 }
8788 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8789 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8790 if (!SWIG_IsOK(res2)) {
8791 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8792 }
8793 if (!argp2) {
8794 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8795 }
8796 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8797 {
8798 PyThreadState* __tstate = wxPyBeginAllowThreads();
8799 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8804 return resultobj;
8805fail:
8806 return NULL;
8807}
8808
8809
8810SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj = 0;
8812 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8813 wxTreeItemId *arg2 = 0 ;
8814 PyObject *result = 0 ;
8815 void *argp1 = 0 ;
8816 int res1 = 0 ;
8817 void *argp2 = 0 ;
8818 int res2 = 0 ;
8819 PyObject * obj0 = 0 ;
8820 PyObject * obj1 = 0 ;
8821 char * kwnames[] = {
8822 (char *) "self",(char *) "item", NULL
8823 };
8824
8825 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8826 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8827 if (!SWIG_IsOK(res1)) {
8828 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8829 }
8830 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8831 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8832 if (!SWIG_IsOK(res2)) {
8833 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8834 }
8835 if (!argp2) {
8836 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8837 }
8838 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8842 wxPyEndAllowThreads(__tstate);
8843 if (PyErr_Occurred()) SWIG_fail;
8844 }
8845 resultobj = result;
8846 return resultobj;
8847fail:
8848 return NULL;
8849}
8850
8851
8852SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8853 PyObject *resultobj = 0;
8854 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8855 wxTreeItemId *arg2 = 0 ;
8856 void *arg3 = (void *) 0 ;
8857 PyObject *result = 0 ;
8858 void *argp1 = 0 ;
8859 int res1 = 0 ;
8860 void *argp2 = 0 ;
8861 int res2 = 0 ;
8862 int res3 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 char * kwnames[] = {
8867 (char *) "self",(char *) "item",(char *) "cookie", NULL
8868 };
8869
8870 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8871 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8872 if (!SWIG_IsOK(res1)) {
8873 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8874 }
8875 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8876 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8877 if (!SWIG_IsOK(res2)) {
8878 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8879 }
8880 if (!argp2) {
8881 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8882 }
8883 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8884 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8885 if (!SWIG_IsOK(res3)) {
8886 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8887 }
8888 {
8889 PyThreadState* __tstate = wxPyBeginAllowThreads();
8890 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 resultobj = result;
8895 return resultobj;
8896fail:
8897 return NULL;
8898}
8899
8900
8901SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8902 PyObject *resultobj = 0;
8903 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8904 wxTreeItemId *arg2 = 0 ;
8905 PyObject *result = 0 ;
8906 void *argp1 = 0 ;
8907 int res1 = 0 ;
8908 void *argp2 = 0 ;
8909 int res2 = 0 ;
8910 PyObject * obj0 = 0 ;
8911 PyObject * obj1 = 0 ;
8912 char * kwnames[] = {
8913 (char *) "self",(char *) "item", NULL
8914 };
8915
8916 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8917 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8918 if (!SWIG_IsOK(res1)) {
8919 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8920 }
8921 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8922 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8923 if (!SWIG_IsOK(res2)) {
8924 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8925 }
8926 if (!argp2) {
8927 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8928 }
8929 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8930 {
8931 PyThreadState* __tstate = wxPyBeginAllowThreads();
8932 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 resultobj = result;
8937 return resultobj;
8938fail:
8939 return NULL;
8940}
8941
8942
8943SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj = 0;
8945 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8946 wxTreeItemId *arg2 = 0 ;
8947 void *arg3 = (void *) 0 ;
8948 PyObject *result = 0 ;
8949 void *argp1 = 0 ;
8950 int res1 = 0 ;
8951 void *argp2 = 0 ;
8952 int res2 = 0 ;
8953 int res3 ;
8954 PyObject * obj0 = 0 ;
8955 PyObject * obj1 = 0 ;
8956 PyObject * obj2 = 0 ;
8957 char * kwnames[] = {
8958 (char *) "self",(char *) "item",(char *) "cookie", NULL
8959 };
8960
8961 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8962 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8963 if (!SWIG_IsOK(res1)) {
8964 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8965 }
8966 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8967 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8968 if (!SWIG_IsOK(res2)) {
8969 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8970 }
8971 if (!argp2) {
8972 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8973 }
8974 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8975 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8976 if (!SWIG_IsOK(res3)) {
8977 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8978 }
8979 {
8980 PyThreadState* __tstate = wxPyBeginAllowThreads();
8981 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 resultobj = result;
8986 return resultobj;
8987fail:
8988 return NULL;
8989}
8990
8991
8992SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8993 PyObject *resultobj = 0;
8994 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8995 wxTreeItemId *arg2 = 0 ;
8996 wxTreeItemId result;
8997 void *argp1 = 0 ;
8998 int res1 = 0 ;
8999 void *argp2 = 0 ;
9000 int res2 = 0 ;
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj1 = 0 ;
9003 char * kwnames[] = {
9004 (char *) "self",(char *) "item", NULL
9005 };
9006
9007 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9008 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9009 if (!SWIG_IsOK(res1)) {
9010 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9011 }
9012 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9013 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9014 if (!SWIG_IsOK(res2)) {
9015 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9016 }
9017 if (!argp2) {
9018 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9019 }
9020 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9021 {
9022 PyThreadState* __tstate = wxPyBeginAllowThreads();
9023 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9028 return resultobj;
9029fail:
9030 return NULL;
9031}
9032
9033
9034SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj = 0;
9036 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9037 wxTreeItemId *arg2 = 0 ;
9038 wxTreeItemId result;
9039 void *argp1 = 0 ;
9040 int res1 = 0 ;
9041 void *argp2 = 0 ;
9042 int res2 = 0 ;
9043 PyObject * obj0 = 0 ;
9044 PyObject * obj1 = 0 ;
9045 char * kwnames[] = {
9046 (char *) "self",(char *) "item", NULL
9047 };
9048
9049 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9050 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9051 if (!SWIG_IsOK(res1)) {
9052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9053 }
9054 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9055 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9056 if (!SWIG_IsOK(res2)) {
9057 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9058 }
9059 if (!argp2) {
9060 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9061 }
9062 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9063 {
9064 PyThreadState* __tstate = wxPyBeginAllowThreads();
9065 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9070 return resultobj;
9071fail:
9072 return NULL;
9073}
9074
9075
9076SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj = 0;
9078 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9079 wxTreeItemId *arg2 = 0 ;
9080 wxTreeItemId result;
9081 void *argp1 = 0 ;
9082 int res1 = 0 ;
9083 void *argp2 = 0 ;
9084 int res2 = 0 ;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char * kwnames[] = {
9088 (char *) "self",(char *) "item", NULL
9089 };
9090
9091 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9092 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9093 if (!SWIG_IsOK(res1)) {
9094 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9095 }
9096 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9097 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9098 if (!SWIG_IsOK(res2)) {
9099 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9100 }
9101 if (!argp2) {
9102 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9103 }
9104 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9105 {
9106 PyThreadState* __tstate = wxPyBeginAllowThreads();
9107 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9112 return resultobj;
9113fail:
9114 return NULL;
9115}
9116
9117
9118SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9119 PyObject *resultobj = 0;
9120 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9121 wxTreeItemId *arg2 = 0 ;
9122 wxTreeItemId result;
9123 void *argp1 = 0 ;
9124 int res1 = 0 ;
9125 void *argp2 = 0 ;
9126 int res2 = 0 ;
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 char * kwnames[] = {
9130 (char *) "self",(char *) "item", NULL
9131 };
9132
9133 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
9134 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9135 if (!SWIG_IsOK(res1)) {
9136 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9137 }
9138 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9139 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9140 if (!SWIG_IsOK(res2)) {
9141 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9142 }
9143 if (!argp2) {
9144 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9145 }
9146 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9147 {
9148 PyThreadState* __tstate = wxPyBeginAllowThreads();
9149 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
9153 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9154 return resultobj;
9155fail:
9156 return NULL;
9157}
9158
9159
9160SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9161 PyObject *resultobj = 0;
9162 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9163 wxTreeItemId result;
9164 void *argp1 = 0 ;
9165 int res1 = 0 ;
9166 PyObject *swig_obj[1] ;
9167
9168 if (!args) SWIG_fail;
9169 swig_obj[0] = args;
9170 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9171 if (!SWIG_IsOK(res1)) {
9172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9173 }
9174 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9175 {
9176 PyThreadState* __tstate = wxPyBeginAllowThreads();
9177 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9182 return resultobj;
9183fail:
9184 return NULL;
9185}
9186
9187
9188SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj = 0;
9190 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9191 wxTreeItemId *arg2 = 0 ;
9192 wxTreeItemId result;
9193 void *argp1 = 0 ;
9194 int res1 = 0 ;
9195 void *argp2 = 0 ;
9196 int res2 = 0 ;
9197 PyObject * obj0 = 0 ;
9198 PyObject * obj1 = 0 ;
9199 char * kwnames[] = {
9200 (char *) "self",(char *) "item", NULL
9201 };
9202
9203 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9204 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9205 if (!SWIG_IsOK(res1)) {
9206 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9207 }
9208 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9209 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9210 if (!SWIG_IsOK(res2)) {
9211 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9212 }
9213 if (!argp2) {
9214 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9215 }
9216 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
9223 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9224 return resultobj;
9225fail:
9226 return NULL;
9227}
9228
9229
9230SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj = 0;
9232 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9233 wxTreeItemId *arg2 = 0 ;
9234 wxTreeItemId result;
9235 void *argp1 = 0 ;
9236 int res1 = 0 ;
9237 void *argp2 = 0 ;
9238 int res2 = 0 ;
9239 PyObject * obj0 = 0 ;
9240 PyObject * obj1 = 0 ;
9241 char * kwnames[] = {
9242 (char *) "self",(char *) "item", NULL
9243 };
9244
9245 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9246 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9247 if (!SWIG_IsOK(res1)) {
9248 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9249 }
9250 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9251 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9252 if (!SWIG_IsOK(res2)) {
9253 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9254 }
9255 if (!argp2) {
9256 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9257 }
9258 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9259 {
9260 PyThreadState* __tstate = wxPyBeginAllowThreads();
9261 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
9262 wxPyEndAllowThreads(__tstate);
9263 if (PyErr_Occurred()) SWIG_fail;
9264 }
9265 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9266 return resultobj;
9267fail:
9268 return NULL;
9269}
9270
9271
9272SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj = 0;
9274 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9275 bool arg2 = (bool) false ;
9276 wxTreeItemId result;
9277 void *argp1 = 0 ;
9278 int res1 = 0 ;
9279 bool val2 ;
9280 int ecode2 = 0 ;
9281 PyObject * obj0 = 0 ;
9282 PyObject * obj1 = 0 ;
9283 char * kwnames[] = {
9284 (char *) "self",(char *) "fullRow", NULL
9285 };
9286
9287 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
9288 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9289 if (!SWIG_IsOK(res1)) {
9290 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9291 }
9292 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9293 if (obj1) {
9294 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9295 if (!SWIG_IsOK(ecode2)) {
9296 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9297 }
9298 arg2 = static_cast< bool >(val2);
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
9303 wxPyEndAllowThreads(__tstate);
9304 if (PyErr_Occurred()) SWIG_fail;
9305 }
9306 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9307 return resultobj;
9308fail:
9309 return NULL;
9310}
9311
9312
9313SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj = 0;
9315 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9316 wxTreeItemId *arg2 = 0 ;
9317 bool arg3 = (bool) false ;
9318 wxTreeItemId result;
9319 void *argp1 = 0 ;
9320 int res1 = 0 ;
9321 void *argp2 = 0 ;
9322 int res2 = 0 ;
9323 bool val3 ;
9324 int ecode3 = 0 ;
9325 PyObject * obj0 = 0 ;
9326 PyObject * obj1 = 0 ;
9327 PyObject * obj2 = 0 ;
9328 char * kwnames[] = {
9329 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9330 };
9331
9332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9334 if (!SWIG_IsOK(res1)) {
9335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9336 }
9337 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9338 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9339 if (!SWIG_IsOK(res2)) {
9340 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9341 }
9342 if (!argp2) {
9343 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9344 }
9345 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9346 if (obj2) {
9347 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9348 if (!SWIG_IsOK(ecode3)) {
9349 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9350 }
9351 arg3 = static_cast< bool >(val3);
9352 }
9353 {
9354 PyThreadState* __tstate = wxPyBeginAllowThreads();
9355 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
9356 wxPyEndAllowThreads(__tstate);
9357 if (PyErr_Occurred()) SWIG_fail;
9358 }
9359 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9360 return resultobj;
9361fail:
9362 return NULL;
9363}
9364
9365
9366SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9367 PyObject *resultobj = 0;
9368 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9369 wxTreeItemId *arg2 = 0 ;
9370 bool arg3 = (bool) false ;
9371 wxTreeItemId result;
9372 void *argp1 = 0 ;
9373 int res1 = 0 ;
9374 void *argp2 = 0 ;
9375 int res2 = 0 ;
9376 bool val3 ;
9377 int ecode3 = 0 ;
9378 PyObject * obj0 = 0 ;
9379 PyObject * obj1 = 0 ;
9380 PyObject * obj2 = 0 ;
9381 char * kwnames[] = {
9382 (char *) "self",(char *) "item",(char *) "fullRow", NULL
9383 };
9384
9385 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9386 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9387 if (!SWIG_IsOK(res1)) {
9388 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9389 }
9390 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9391 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9392 if (!SWIG_IsOK(res2)) {
9393 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9394 }
9395 if (!argp2) {
9396 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9397 }
9398 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9399 if (obj2) {
9400 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9401 if (!SWIG_IsOK(ecode3)) {
9402 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9403 }
9404 arg3 = static_cast< bool >(val3);
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
9409 wxPyEndAllowThreads(__tstate);
9410 if (PyErr_Occurred()) SWIG_fail;
9411 }
9412 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9413 return resultobj;
9414fail:
9415 return NULL;
9416}
9417
9418
9419SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9420 PyObject *resultobj = 0;
9421 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9422 wxString *arg2 = 0 ;
9423 int arg3 = (int) -1 ;
9424 int arg4 = (int) -1 ;
9425 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9426 wxTreeItemId result;
9427 void *argp1 = 0 ;
9428 int res1 = 0 ;
9429 bool temp2 = false ;
9430 int val3 ;
9431 int ecode3 = 0 ;
9432 int val4 ;
9433 int ecode4 = 0 ;
9434 int res5 = 0 ;
9435 PyObject * obj0 = 0 ;
9436 PyObject * obj1 = 0 ;
9437 PyObject * obj2 = 0 ;
9438 PyObject * obj3 = 0 ;
9439 PyObject * obj4 = 0 ;
9440 char * kwnames[] = {
9441 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9442 };
9443
9444 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9445 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9446 if (!SWIG_IsOK(res1)) {
9447 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9448 }
9449 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9450 {
9451 arg2 = wxString_in_helper(obj1);
9452 if (arg2 == NULL) SWIG_fail;
9453 temp2 = true;
9454 }
9455 if (obj2) {
9456 ecode3 = SWIG_AsVal_int(obj2, &val3);
9457 if (!SWIG_IsOK(ecode3)) {
9458 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9459 }
9460 arg3 = static_cast< int >(val3);
9461 }
9462 if (obj3) {
9463 ecode4 = SWIG_AsVal_int(obj3, &val4);
9464 if (!SWIG_IsOK(ecode4)) {
9465 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9466 }
9467 arg4 = static_cast< int >(val4);
9468 }
9469 if (obj4) {
9470 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9471 if (!SWIG_IsOK(res5)) {
9472 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
9473 }
9474 }
9475 {
9476 PyThreadState* __tstate = wxPyBeginAllowThreads();
9477 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9478 wxPyEndAllowThreads(__tstate);
9479 if (PyErr_Occurred()) SWIG_fail;
9480 }
9481 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9482 {
9483 if (temp2)
9484 delete arg2;
9485 }
9486 return resultobj;
9487fail:
9488 {
9489 if (temp2)
9490 delete arg2;
9491 }
9492 return NULL;
9493}
9494
9495
9496SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj = 0;
9498 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9499 wxTreeItemId *arg2 = 0 ;
9500 wxString *arg3 = 0 ;
9501 int arg4 = (int) -1 ;
9502 int arg5 = (int) -1 ;
9503 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9504 wxTreeItemId result;
9505 void *argp1 = 0 ;
9506 int res1 = 0 ;
9507 void *argp2 = 0 ;
9508 int res2 = 0 ;
9509 bool temp3 = false ;
9510 int val4 ;
9511 int ecode4 = 0 ;
9512 int val5 ;
9513 int ecode5 = 0 ;
9514 int res6 = 0 ;
9515 PyObject * obj0 = 0 ;
9516 PyObject * obj1 = 0 ;
9517 PyObject * obj2 = 0 ;
9518 PyObject * obj3 = 0 ;
9519 PyObject * obj4 = 0 ;
9520 PyObject * obj5 = 0 ;
9521 char * kwnames[] = {
9522 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9523 };
9524
9525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9527 if (!SWIG_IsOK(res1)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9529 }
9530 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9531 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9532 if (!SWIG_IsOK(res2)) {
9533 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9534 }
9535 if (!argp2) {
9536 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9537 }
9538 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9539 {
9540 arg3 = wxString_in_helper(obj2);
9541 if (arg3 == NULL) SWIG_fail;
9542 temp3 = true;
9543 }
9544 if (obj3) {
9545 ecode4 = SWIG_AsVal_int(obj3, &val4);
9546 if (!SWIG_IsOK(ecode4)) {
9547 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9548 }
9549 arg4 = static_cast< int >(val4);
9550 }
9551 if (obj4) {
9552 ecode5 = SWIG_AsVal_int(obj4, &val5);
9553 if (!SWIG_IsOK(ecode5)) {
9554 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9555 }
9556 arg5 = static_cast< int >(val5);
9557 }
9558 if (obj5) {
9559 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9560 if (!SWIG_IsOK(res6)) {
9561 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9562 }
9563 }
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9571 {
9572 if (temp3)
9573 delete arg3;
9574 }
9575 return resultobj;
9576fail:
9577 {
9578 if (temp3)
9579 delete arg3;
9580 }
9581 return NULL;
9582}
9583
9584
9585SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9586 PyObject *resultobj = 0;
9587 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9588 wxTreeItemId *arg2 = 0 ;
9589 wxTreeItemId *arg3 = 0 ;
9590 wxString *arg4 = 0 ;
9591 int arg5 = (int) -1 ;
9592 int arg6 = (int) -1 ;
9593 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9594 wxTreeItemId result;
9595 void *argp1 = 0 ;
9596 int res1 = 0 ;
9597 void *argp2 = 0 ;
9598 int res2 = 0 ;
9599 void *argp3 = 0 ;
9600 int res3 = 0 ;
9601 bool temp4 = false ;
9602 int val5 ;
9603 int ecode5 = 0 ;
9604 int val6 ;
9605 int ecode6 = 0 ;
9606 int res7 = 0 ;
9607 PyObject * obj0 = 0 ;
9608 PyObject * obj1 = 0 ;
9609 PyObject * obj2 = 0 ;
9610 PyObject * obj3 = 0 ;
9611 PyObject * obj4 = 0 ;
9612 PyObject * obj5 = 0 ;
9613 PyObject * obj6 = 0 ;
9614 char * kwnames[] = {
9615 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9616 };
9617
9618 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9619 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9620 if (!SWIG_IsOK(res1)) {
9621 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9622 }
9623 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9624 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9625 if (!SWIG_IsOK(res2)) {
9626 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9627 }
9628 if (!argp2) {
9629 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9630 }
9631 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9632 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9633 if (!SWIG_IsOK(res3)) {
9634 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9635 }
9636 if (!argp3) {
9637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9638 }
9639 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9640 {
9641 arg4 = wxString_in_helper(obj3);
9642 if (arg4 == NULL) SWIG_fail;
9643 temp4 = true;
9644 }
9645 if (obj4) {
9646 ecode5 = SWIG_AsVal_int(obj4, &val5);
9647 if (!SWIG_IsOK(ecode5)) {
9648 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9649 }
9650 arg5 = static_cast< int >(val5);
9651 }
9652 if (obj5) {
9653 ecode6 = SWIG_AsVal_int(obj5, &val6);
9654 if (!SWIG_IsOK(ecode6)) {
9655 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9656 }
9657 arg6 = static_cast< int >(val6);
9658 }
9659 if (obj6) {
9660 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9661 if (!SWIG_IsOK(res7)) {
9662 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9663 }
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9668 wxPyEndAllowThreads(__tstate);
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9672 {
9673 if (temp4)
9674 delete arg4;
9675 }
9676 return resultobj;
9677fail:
9678 {
9679 if (temp4)
9680 delete arg4;
9681 }
9682 return NULL;
9683}
9684
9685
9686SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj = 0;
9688 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9689 wxTreeItemId *arg2 = 0 ;
9690 size_t arg3 ;
9691 wxString *arg4 = 0 ;
9692 int arg5 = (int) -1 ;
9693 int arg6 = (int) -1 ;
9694 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9695 wxTreeItemId result;
9696 void *argp1 = 0 ;
9697 int res1 = 0 ;
9698 void *argp2 = 0 ;
9699 int res2 = 0 ;
9700 size_t val3 ;
9701 int ecode3 = 0 ;
9702 bool temp4 = false ;
9703 int val5 ;
9704 int ecode5 = 0 ;
9705 int val6 ;
9706 int ecode6 = 0 ;
9707 int res7 = 0 ;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 PyObject * obj2 = 0 ;
9711 PyObject * obj3 = 0 ;
9712 PyObject * obj4 = 0 ;
9713 PyObject * obj5 = 0 ;
9714 PyObject * obj6 = 0 ;
9715 char * kwnames[] = {
9716 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9717 };
9718
9719 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9720 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9721 if (!SWIG_IsOK(res1)) {
9722 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9723 }
9724 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9725 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9726 if (!SWIG_IsOK(res2)) {
9727 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9728 }
9729 if (!argp2) {
9730 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9731 }
9732 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9733 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9734 if (!SWIG_IsOK(ecode3)) {
9735 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9736 }
9737 arg3 = static_cast< size_t >(val3);
9738 {
9739 arg4 = wxString_in_helper(obj3);
9740 if (arg4 == NULL) SWIG_fail;
9741 temp4 = true;
9742 }
9743 if (obj4) {
9744 ecode5 = SWIG_AsVal_int(obj4, &val5);
9745 if (!SWIG_IsOK(ecode5)) {
9746 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9747 }
9748 arg5 = static_cast< int >(val5);
9749 }
9750 if (obj5) {
9751 ecode6 = SWIG_AsVal_int(obj5, &val6);
9752 if (!SWIG_IsOK(ecode6)) {
9753 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9754 }
9755 arg6 = static_cast< int >(val6);
9756 }
9757 if (obj6) {
9758 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9759 if (!SWIG_IsOK(res7)) {
9760 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
9761 }
9762 }
9763 {
9764 PyThreadState* __tstate = wxPyBeginAllowThreads();
9765 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9770 {
9771 if (temp4)
9772 delete arg4;
9773 }
9774 return resultobj;
9775fail:
9776 {
9777 if (temp4)
9778 delete arg4;
9779 }
9780 return NULL;
9781}
9782
9783
9784SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9785 PyObject *resultobj = 0;
9786 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9787 wxTreeItemId *arg2 = 0 ;
9788 wxString *arg3 = 0 ;
9789 int arg4 = (int) -1 ;
9790 int arg5 = (int) -1 ;
9791 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9792 wxTreeItemId result;
9793 void *argp1 = 0 ;
9794 int res1 = 0 ;
9795 void *argp2 = 0 ;
9796 int res2 = 0 ;
9797 bool temp3 = false ;
9798 int val4 ;
9799 int ecode4 = 0 ;
9800 int val5 ;
9801 int ecode5 = 0 ;
9802 int res6 = 0 ;
9803 PyObject * obj0 = 0 ;
9804 PyObject * obj1 = 0 ;
9805 PyObject * obj2 = 0 ;
9806 PyObject * obj3 = 0 ;
9807 PyObject * obj4 = 0 ;
9808 PyObject * obj5 = 0 ;
9809 char * kwnames[] = {
9810 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9811 };
9812
9813 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9814 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9815 if (!SWIG_IsOK(res1)) {
9816 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9817 }
9818 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9819 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9820 if (!SWIG_IsOK(res2)) {
9821 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9822 }
9823 if (!argp2) {
9824 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9825 }
9826 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9827 {
9828 arg3 = wxString_in_helper(obj2);
9829 if (arg3 == NULL) SWIG_fail;
9830 temp3 = true;
9831 }
9832 if (obj3) {
9833 ecode4 = SWIG_AsVal_int(obj3, &val4);
9834 if (!SWIG_IsOK(ecode4)) {
9835 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9836 }
9837 arg4 = static_cast< int >(val4);
9838 }
9839 if (obj4) {
9840 ecode5 = SWIG_AsVal_int(obj4, &val5);
9841 if (!SWIG_IsOK(ecode5)) {
9842 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9843 }
9844 arg5 = static_cast< int >(val5);
9845 }
9846 if (obj5) {
9847 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
9848 if (!SWIG_IsOK(res6)) {
9849 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
9850 }
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9859 {
9860 if (temp3)
9861 delete arg3;
9862 }
9863 return resultobj;
9864fail:
9865 {
9866 if (temp3)
9867 delete arg3;
9868 }
9869 return NULL;
9870}
9871
9872
9873SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9874 PyObject *resultobj = 0;
9875 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9876 wxTreeItemId *arg2 = 0 ;
9877 void *argp1 = 0 ;
9878 int res1 = 0 ;
9879 void *argp2 = 0 ;
9880 int res2 = 0 ;
9881 PyObject * obj0 = 0 ;
9882 PyObject * obj1 = 0 ;
9883 char * kwnames[] = {
9884 (char *) "self",(char *) "item", NULL
9885 };
9886
9887 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9888 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9889 if (!SWIG_IsOK(res1)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9891 }
9892 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9893 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9894 if (!SWIG_IsOK(res2)) {
9895 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9896 }
9897 if (!argp2) {
9898 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9899 }
9900 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9901 {
9902 PyThreadState* __tstate = wxPyBeginAllowThreads();
9903 (arg1)->Delete((wxTreeItemId const &)*arg2);
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 resultobj = SWIG_Py_Void();
9908 return resultobj;
9909fail:
9910 return NULL;
9911}
9912
9913
9914SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9915 PyObject *resultobj = 0;
9916 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9917 wxTreeItemId *arg2 = 0 ;
9918 void *argp1 = 0 ;
9919 int res1 = 0 ;
9920 void *argp2 = 0 ;
9921 int res2 = 0 ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 char * kwnames[] = {
9925 (char *) "self",(char *) "item", NULL
9926 };
9927
9928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9930 if (!SWIG_IsOK(res1)) {
9931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9932 }
9933 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9934 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9935 if (!SWIG_IsOK(res2)) {
9936 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9937 }
9938 if (!argp2) {
9939 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9940 }
9941 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9942 {
9943 PyThreadState* __tstate = wxPyBeginAllowThreads();
9944 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9945 wxPyEndAllowThreads(__tstate);
9946 if (PyErr_Occurred()) SWIG_fail;
9947 }
9948 resultobj = SWIG_Py_Void();
9949 return resultobj;
9950fail:
9951 return NULL;
9952}
9953
9954
9955SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9956 PyObject *resultobj = 0;
9957 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9958 void *argp1 = 0 ;
9959 int res1 = 0 ;
9960 PyObject *swig_obj[1] ;
9961
9962 if (!args) SWIG_fail;
9963 swig_obj[0] = args;
9964 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9965 if (!SWIG_IsOK(res1)) {
9966 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9967 }
9968 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 (arg1)->DeleteRoot();
9972 wxPyEndAllowThreads(__tstate);
9973 if (PyErr_Occurred()) SWIG_fail;
9974 }
9975 resultobj = SWIG_Py_Void();
9976 return resultobj;
9977fail:
9978 return NULL;
9979}
9980
9981
9982SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9983 PyObject *resultobj = 0;
9984 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9985 wxTreeItemId *arg2 = 0 ;
9986 void *argp1 = 0 ;
9987 int res1 = 0 ;
9988 void *argp2 = 0 ;
9989 int res2 = 0 ;
9990 PyObject * obj0 = 0 ;
9991 PyObject * obj1 = 0 ;
9992 char * kwnames[] = {
9993 (char *) "self",(char *) "item", NULL
9994 };
9995
9996 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9997 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9998 if (!SWIG_IsOK(res1)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10000 }
10001 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10002 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10003 if (!SWIG_IsOK(res2)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10005 }
10006 if (!argp2) {
10007 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10008 }
10009 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10010 {
10011 PyThreadState* __tstate = wxPyBeginAllowThreads();
10012 (arg1)->Expand((wxTreeItemId const &)*arg2);
10013 wxPyEndAllowThreads(__tstate);
10014 if (PyErr_Occurred()) SWIG_fail;
10015 }
10016 resultobj = SWIG_Py_Void();
10017 return resultobj;
10018fail:
10019 return NULL;
10020}
10021
10022
10023SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj = 0;
10025 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10026 wxTreeItemId *arg2 = 0 ;
10027 void *argp1 = 0 ;
10028 int res1 = 0 ;
10029 void *argp2 = 0 ;
10030 int res2 = 0 ;
10031 PyObject * obj0 = 0 ;
10032 PyObject * obj1 = 0 ;
10033 char * kwnames[] = {
10034 (char *) "self",(char *) "item", NULL
10035 };
10036
10037 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10038 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10039 if (!SWIG_IsOK(res1)) {
10040 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10041 }
10042 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10043 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10044 if (!SWIG_IsOK(res2)) {
10045 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10046 }
10047 if (!argp2) {
10048 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10049 }
10050 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
10057 resultobj = SWIG_Py_Void();
10058 return resultobj;
10059fail:
10060 return NULL;
10061}
10062
10063
10064SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj = 0;
10066 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10067 wxTreeItemId *arg2 = 0 ;
10068 void *argp1 = 0 ;
10069 int res1 = 0 ;
10070 void *argp2 = 0 ;
10071 int res2 = 0 ;
10072 PyObject * obj0 = 0 ;
10073 PyObject * obj1 = 0 ;
10074 char * kwnames[] = {
10075 (char *) "self",(char *) "item", NULL
10076 };
10077
10078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10080 if (!SWIG_IsOK(res1)) {
10081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10082 }
10083 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10084 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10085 if (!SWIG_IsOK(res2)) {
10086 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10087 }
10088 if (!argp2) {
10089 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10090 }
10091 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10092 {
10093 PyThreadState* __tstate = wxPyBeginAllowThreads();
10094 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10095 wxPyEndAllowThreads(__tstate);
10096 if (PyErr_Occurred()) SWIG_fail;
10097 }
10098 resultobj = SWIG_Py_Void();
10099 return resultobj;
10100fail:
10101 return NULL;
10102}
10103
10104
10105SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10106 PyObject *resultobj = 0;
10107 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10108 wxTreeItemId *arg2 = 0 ;
10109 void *argp1 = 0 ;
10110 int res1 = 0 ;
10111 void *argp2 = 0 ;
10112 int res2 = 0 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 char * kwnames[] = {
10116 (char *) "self",(char *) "item", NULL
10117 };
10118
10119 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10120 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10121 if (!SWIG_IsOK(res1)) {
10122 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10123 }
10124 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10125 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10126 if (!SWIG_IsOK(res2)) {
10127 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10128 }
10129 if (!argp2) {
10130 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10131 }
10132 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10136 wxPyEndAllowThreads(__tstate);
10137 if (PyErr_Occurred()) SWIG_fail;
10138 }
10139 resultobj = SWIG_Py_Void();
10140 return resultobj;
10141fail:
10142 return NULL;
10143}
10144
10145
10146SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10147 PyObject *resultobj = 0;
10148 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10149 wxTreeItemId *arg2 = 0 ;
10150 void *argp1 = 0 ;
10151 int res1 = 0 ;
10152 void *argp2 = 0 ;
10153 int res2 = 0 ;
10154 PyObject * obj0 = 0 ;
10155 PyObject * obj1 = 0 ;
10156 char * kwnames[] = {
10157 (char *) "self",(char *) "item", NULL
10158 };
10159
10160 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10161 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10162 if (!SWIG_IsOK(res1)) {
10163 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10164 }
10165 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10166 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10167 if (!SWIG_IsOK(res2)) {
10168 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10169 }
10170 if (!argp2) {
10171 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10172 }
10173 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10174 {
10175 PyThreadState* __tstate = wxPyBeginAllowThreads();
10176 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10177 wxPyEndAllowThreads(__tstate);
10178 if (PyErr_Occurred()) SWIG_fail;
10179 }
10180 resultobj = SWIG_Py_Void();
10181 return resultobj;
10182fail:
10183 return NULL;
10184}
10185
10186
10187SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10188 PyObject *resultobj = 0;
10189 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 PyObject *swig_obj[1] ;
10193
10194 if (!args) SWIG_fail;
10195 swig_obj[0] = args;
10196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10199 }
10200 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 (arg1)->Unselect();
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_Py_Void();
10208 return resultobj;
10209fail:
10210 return NULL;
10211}
10212
10213
10214SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10215 PyObject *resultobj = 0;
10216 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10217 void *argp1 = 0 ;
10218 int res1 = 0 ;
10219 PyObject *swig_obj[1] ;
10220
10221 if (!args) SWIG_fail;
10222 swig_obj[0] = args;
10223 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10224 if (!SWIG_IsOK(res1)) {
10225 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10226 }
10227 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->UnselectAll();
10231 wxPyEndAllowThreads(__tstate);
10232 if (PyErr_Occurred()) SWIG_fail;
10233 }
10234 resultobj = SWIG_Py_Void();
10235 return resultobj;
10236fail:
10237 return NULL;
10238}
10239
10240
10241SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10242 PyObject *resultobj = 0;
10243 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10244 wxTreeItemId *arg2 = 0 ;
10245 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10246 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10247 bool arg4 = (bool) true ;
10248 void *argp1 = 0 ;
10249 int res1 = 0 ;
10250 void *argp2 = 0 ;
10251 int res2 = 0 ;
10252 void *argp3 = 0 ;
10253 int res3 = 0 ;
10254 bool val4 ;
10255 int ecode4 = 0 ;
10256 PyObject * obj0 = 0 ;
10257 PyObject * obj1 = 0 ;
10258 PyObject * obj2 = 0 ;
10259 PyObject * obj3 = 0 ;
10260 char * kwnames[] = {
10261 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
10262 };
10263
10264 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10265 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10266 if (!SWIG_IsOK(res1)) {
10267 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10268 }
10269 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10270 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10271 if (!SWIG_IsOK(res2)) {
10272 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10273 }
10274 if (!argp2) {
10275 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10276 }
10277 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10278 if (obj2) {
10279 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10280 if (!SWIG_IsOK(res3)) {
10281 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10282 }
10283 if (!argp3) {
10284 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10285 }
10286 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
10287 }
10288 if (obj3) {
10289 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10290 if (!SWIG_IsOK(ecode4)) {
10291 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10292 }
10293 arg4 = static_cast< bool >(val4);
10294 }
10295 {
10296 PyThreadState* __tstate = wxPyBeginAllowThreads();
10297 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
10301 resultobj = SWIG_Py_Void();
10302 return resultobj;
10303fail:
10304 return NULL;
10305}
10306
10307
10308SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10309 PyObject *resultobj = 0;
10310 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10311 void *argp1 = 0 ;
10312 int res1 = 0 ;
10313 PyObject *swig_obj[1] ;
10314
10315 if (!args) SWIG_fail;
10316 swig_obj[0] = args;
10317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10318 if (!SWIG_IsOK(res1)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10320 }
10321 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 (arg1)->SelectAll();
10325 wxPyEndAllowThreads(__tstate);
10326 if (PyErr_Occurred()) SWIG_fail;
10327 }
10328 resultobj = SWIG_Py_Void();
10329 return resultobj;
10330fail:
10331 return NULL;
10332}
10333
10334
10335SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10336 PyObject *resultobj = 0;
10337 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10338 wxTreeItemId *arg2 = 0 ;
10339 void *argp1 = 0 ;
10340 int res1 = 0 ;
10341 void *argp2 = 0 ;
10342 int res2 = 0 ;
10343 PyObject * obj0 = 0 ;
10344 PyObject * obj1 = 0 ;
10345 char * kwnames[] = {
10346 (char *) "self",(char *) "item", NULL
10347 };
10348
10349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10351 if (!SWIG_IsOK(res1)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10353 }
10354 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10355 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10356 if (!SWIG_IsOK(res2)) {
10357 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10358 }
10359 if (!argp2) {
10360 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10361 }
10362 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10363 {
10364 PyThreadState* __tstate = wxPyBeginAllowThreads();
10365 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 resultobj = SWIG_Py_Void();
10370 return resultobj;
10371fail:
10372 return NULL;
10373}
10374
10375
10376SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj = 0;
10378 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10379 wxTreeItemId *arg2 = 0 ;
10380 void *argp1 = 0 ;
10381 int res1 = 0 ;
10382 void *argp2 = 0 ;
10383 int res2 = 0 ;
10384 PyObject * obj0 = 0 ;
10385 PyObject * obj1 = 0 ;
10386 char * kwnames[] = {
10387 (char *) "self",(char *) "item", NULL
10388 };
10389
10390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10392 if (!SWIG_IsOK(res1)) {
10393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10394 }
10395 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10396 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10397 if (!SWIG_IsOK(res2)) {
10398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10399 }
10400 if (!argp2) {
10401 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10402 }
10403 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10404 {
10405 PyThreadState* __tstate = wxPyBeginAllowThreads();
10406 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10407 wxPyEndAllowThreads(__tstate);
10408 if (PyErr_Occurred()) SWIG_fail;
10409 }
10410 resultobj = SWIG_Py_Void();
10411 return resultobj;
10412fail:
10413 return NULL;
10414}
10415
10416
10417SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10418 PyObject *resultobj = 0;
10419 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10420 wxPoint *arg2 = 0 ;
10421 int *arg3 = 0 ;
10422 int *arg4 = 0 ;
10423 wxTreeItemId result;
10424 void *argp1 = 0 ;
10425 int res1 = 0 ;
10426 wxPoint temp2 ;
10427 int temp3 ;
10428 int res3 = SWIG_TMPOBJ ;
10429 int temp4 ;
10430 int res4 = SWIG_TMPOBJ ;
10431 PyObject * obj0 = 0 ;
10432 PyObject * obj1 = 0 ;
10433 char * kwnames[] = {
10434 (char *) "self",(char *) "point", NULL
10435 };
10436
10437 arg3 = &temp3;
10438 arg4 = &temp4;
10439 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10440 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10441 if (!SWIG_IsOK(res1)) {
10442 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10443 }
10444 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10445 {
10446 arg2 = &temp2;
10447 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10448 }
10449 {
10450 PyThreadState* __tstate = wxPyBeginAllowThreads();
10451 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10452 wxPyEndAllowThreads(__tstate);
10453 if (PyErr_Occurred()) SWIG_fail;
10454 }
10455 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10456 if (SWIG_IsTmpObj(res3)) {
10457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10458 } else {
10459 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10461 }
10462 if (SWIG_IsTmpObj(res4)) {
10463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10464 } else {
10465 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10466 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10467 }
10468 return resultobj;
10469fail:
10470 return NULL;
10471}
10472
10473
10474SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj = 0;
10476 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10477 wxTreeItemId *arg2 = 0 ;
10478 bool arg3 = (bool) false ;
10479 PyObject *result = 0 ;
10480 void *argp1 = 0 ;
10481 int res1 = 0 ;
10482 void *argp2 = 0 ;
10483 int res2 = 0 ;
10484 bool val3 ;
10485 int ecode3 = 0 ;
10486 PyObject * obj0 = 0 ;
10487 PyObject * obj1 = 0 ;
10488 PyObject * obj2 = 0 ;
10489 char * kwnames[] = {
10490 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10491 };
10492
10493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10495 if (!SWIG_IsOK(res1)) {
10496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10497 }
10498 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10500 if (!SWIG_IsOK(res2)) {
10501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10502 }
10503 if (!argp2) {
10504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10505 }
10506 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10507 if (obj2) {
10508 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10509 if (!SWIG_IsOK(ecode3)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10511 }
10512 arg3 = static_cast< bool >(val3);
10513 }
10514 {
10515 PyThreadState* __tstate = wxPyBeginAllowThreads();
10516 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 resultobj = result;
10521 return resultobj;
10522fail:
10523 return NULL;
10524}
10525
10526
10527SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj = 0;
10529 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10530 wxTreeItemId *arg2 = 0 ;
10531 int arg3 = (int) -1 ;
10532 void *argp1 = 0 ;
10533 int res1 = 0 ;
10534 void *argp2 = 0 ;
10535 int res2 = 0 ;
10536 int val3 ;
10537 int ecode3 = 0 ;
10538 PyObject * obj0 = 0 ;
10539 PyObject * obj1 = 0 ;
10540 PyObject * obj2 = 0 ;
10541 char * kwnames[] = {
10542 (char *) "self",(char *) "item",(char *) "column", NULL
10543 };
10544
10545 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10546 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10547 if (!SWIG_IsOK(res1)) {
10548 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10549 }
10550 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10551 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10552 if (!SWIG_IsOK(res2)) {
10553 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10554 }
10555 if (!argp2) {
10556 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10557 }
10558 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10559 if (obj2) {
10560 ecode3 = SWIG_AsVal_int(obj2, &val3);
10561 if (!SWIG_IsOK(ecode3)) {
10562 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10563 }
10564 arg3 = static_cast< int >(val3);
10565 }
10566 {
10567 PyThreadState* __tstate = wxPyBeginAllowThreads();
10568 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
10569 wxPyEndAllowThreads(__tstate);
10570 if (PyErr_Occurred()) SWIG_fail;
10571 }
10572 resultobj = SWIG_Py_Void();
10573 return resultobj;
10574fail:
10575 return NULL;
10576}
10577
10578
10579SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj = 0;
10581 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10582 wxTreeItemId *arg2 = 0 ;
10583 void *argp1 = 0 ;
10584 int res1 = 0 ;
10585 void *argp2 = 0 ;
10586 int res2 = 0 ;
10587 PyObject * obj0 = 0 ;
10588 PyObject * obj1 = 0 ;
10589 char * kwnames[] = {
10590 (char *) "self",(char *) "item", NULL
10591 };
10592
10593 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10594 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10595 if (!SWIG_IsOK(res1)) {
10596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10597 }
10598 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10599 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10600 if (!SWIG_IsOK(res2)) {
10601 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10602 }
10603 if (!argp2) {
10604 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10605 }
10606 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 resultobj = SWIG_Py_Void();
10614 return resultobj;
10615fail:
10616 return NULL;
10617}
10618
10619
10620SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj = 0;
10622 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10623 wxTreeItemId *arg2 = 0 ;
10624 wxString *arg3 = 0 ;
10625 int arg4 = (int) 0 ;
10626 wxTreeItemId result;
10627 void *argp1 = 0 ;
10628 int res1 = 0 ;
10629 void *argp2 = 0 ;
10630 int res2 = 0 ;
10631 bool temp3 = false ;
10632 int val4 ;
10633 int ecode4 = 0 ;
10634 PyObject * obj0 = 0 ;
10635 PyObject * obj1 = 0 ;
10636 PyObject * obj2 = 0 ;
10637 PyObject * obj3 = 0 ;
10638 char * kwnames[] = {
10639 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10640 };
10641
10642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10644 if (!SWIG_IsOK(res1)) {
10645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10646 }
10647 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10648 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10649 if (!SWIG_IsOK(res2)) {
10650 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10651 }
10652 if (!argp2) {
10653 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10654 }
10655 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10656 {
10657 arg3 = wxString_in_helper(obj2);
10658 if (arg3 == NULL) SWIG_fail;
10659 temp3 = true;
10660 }
10661 if (obj3) {
10662 ecode4 = SWIG_AsVal_int(obj3, &val4);
10663 if (!SWIG_IsOK(ecode4)) {
10664 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10665 }
10666 arg4 = static_cast< int >(val4);
10667 }
10668 {
10669 PyThreadState* __tstate = wxPyBeginAllowThreads();
10670 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10675 {
10676 if (temp3)
10677 delete arg3;
10678 }
10679 return resultobj;
10680fail:
10681 {
10682 if (temp3)
10683 delete arg3;
10684 }
10685 return NULL;
10686}
10687
10688
10689SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj = 0;
10691 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10692 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10693 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10694 void *argp1 = 0 ;
10695 int res1 = 0 ;
10696 void *argp2 = 0 ;
10697 int res2 = 0 ;
10698 PyObject * obj0 = 0 ;
10699 PyObject * obj1 = 0 ;
10700 char * kwnames[] = {
10701 (char *) "self",(char *) "item", NULL
10702 };
10703
10704 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10705 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10706 if (!SWIG_IsOK(res1)) {
10707 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10708 }
10709 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10710 if (obj1) {
10711 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10712 if (!SWIG_IsOK(res2)) {
10713 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10714 }
10715 if (!argp2) {
10716 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10717 }
10718 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10719 }
10720 {
10721 PyThreadState* __tstate = wxPyBeginAllowThreads();
10722 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = SWIG_Py_Void();
10727 return resultobj;
10728fail:
10729 return NULL;
10730}
10731
10732
10733SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10734 PyObject *resultobj = 0;
10735 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10736 wxWindow *result = 0 ;
10737 void *argp1 = 0 ;
10738 int res1 = 0 ;
10739 PyObject *swig_obj[1] ;
10740
10741 if (!args) SWIG_fail;
10742 swig_obj[0] = args;
10743 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10744 if (!SWIG_IsOK(res1)) {
10745 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10746 }
10747 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10748 {
10749 PyThreadState* __tstate = wxPyBeginAllowThreads();
10750 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 {
10755 resultobj = wxPyMake_wxObject(result, 0);
10756 }
10757 return resultobj;
10758fail:
10759 return NULL;
10760}
10761
10762
10763SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10764 PyObject *resultobj = 0;
10765 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10766 wxScrolledWindow *result = 0 ;
10767 void *argp1 = 0 ;
10768 int res1 = 0 ;
10769 PyObject *swig_obj[1] ;
10770
10771 if (!args) SWIG_fail;
10772 swig_obj[0] = args;
10773 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10774 if (!SWIG_IsOK(res1)) {
10775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10776 }
10777 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10781 wxPyEndAllowThreads(__tstate);
10782 if (PyErr_Occurred()) SWIG_fail;
10783 }
10784 {
10785 resultobj = wxPyMake_wxObject(result, 0);
10786 }
10787 return resultobj;
10788fail:
10789 return NULL;
10790}
10791
10792
10793SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10794 PyObject *obj;
10795 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10796 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10797 return SWIG_Py_Void();
10798}
10799
10800SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10801 return SWIG_Python_InitShadowInstance(args);
10802}
10803
10804SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10805 PyObject *resultobj = 0;
10806 wxWindow *arg1 = (wxWindow *) 0 ;
10807 int arg2 = (int) -1 ;
10808 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10809 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10810 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10811 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10812 wxSize const &arg5_defvalue = wxDefaultSize ;
10813 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10814 long arg6 = (long) 0 ;
10815 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10816 wxString *arg7 = (wxString *) &arg7_defvalue ;
10817 wxStaticPicture *result = 0 ;
10818 void *argp1 = 0 ;
10819 int res1 = 0 ;
10820 int val2 ;
10821 int ecode2 = 0 ;
10822 void *argp3 = 0 ;
10823 int res3 = 0 ;
10824 wxPoint temp4 ;
10825 wxSize temp5 ;
10826 long val6 ;
10827 int ecode6 = 0 ;
10828 bool temp7 = false ;
10829 PyObject * obj0 = 0 ;
10830 PyObject * obj1 = 0 ;
10831 PyObject * obj2 = 0 ;
10832 PyObject * obj3 = 0 ;
10833 PyObject * obj4 = 0 ;
10834 PyObject * obj5 = 0 ;
10835 PyObject * obj6 = 0 ;
10836 char * kwnames[] = {
10837 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10838 };
10839
10840 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10841 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10842 if (!SWIG_IsOK(res1)) {
10843 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10844 }
10845 arg1 = reinterpret_cast< wxWindow * >(argp1);
10846 if (obj1) {
10847 ecode2 = SWIG_AsVal_int(obj1, &val2);
10848 if (!SWIG_IsOK(ecode2)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10850 }
10851 arg2 = static_cast< int >(val2);
10852 }
10853 if (obj2) {
10854 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10855 if (!SWIG_IsOK(res3)) {
10856 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10857 }
10858 if (!argp3) {
10859 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
10860 }
10861 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10862 }
10863 if (obj3) {
10864 {
10865 arg4 = &temp4;
10866 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10867 }
10868 }
10869 if (obj4) {
10870 {
10871 arg5 = &temp5;
10872 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10873 }
10874 }
10875 if (obj5) {
10876 ecode6 = SWIG_AsVal_long(obj5, &val6);
10877 if (!SWIG_IsOK(ecode6)) {
10878 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10879 }
10880 arg6 = static_cast< long >(val6);
10881 }
10882 if (obj6) {
10883 {
10884 arg7 = wxString_in_helper(obj6);
10885 if (arg7 == NULL) SWIG_fail;
10886 temp7 = true;
10887 }
10888 }
10889 {
10890 if (!wxPyCheckForApp()) SWIG_fail;
10891 PyThreadState* __tstate = wxPyBeginAllowThreads();
10892 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10893 wxPyEndAllowThreads(__tstate);
10894 if (PyErr_Occurred()) SWIG_fail;
10895 }
10896 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10897 {
10898 if (temp7)
10899 delete arg7;
10900 }
10901 return resultobj;
10902fail:
10903 {
10904 if (temp7)
10905 delete arg7;
10906 }
10907 return NULL;
10908}
10909
10910
10911SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10912 PyObject *resultobj = 0;
10913 wxStaticPicture *result = 0 ;
10914
10915 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10916 {
10917 if (!wxPyCheckForApp()) SWIG_fail;
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (wxStaticPicture *)new wxStaticPicture();
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10924 return resultobj;
10925fail:
10926 return NULL;
10927}
10928
10929
10930SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj = 0;
10932 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10933 wxWindow *arg2 = (wxWindow *) 0 ;
10934 int arg3 = (int) -1 ;
10935 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10936 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10937 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10938 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10939 wxSize const &arg6_defvalue = wxDefaultSize ;
10940 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10941 long arg7 = (long) 0 ;
10942 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10943 wxString *arg8 = (wxString *) &arg8_defvalue ;
10944 bool result;
10945 void *argp1 = 0 ;
10946 int res1 = 0 ;
10947 void *argp2 = 0 ;
10948 int res2 = 0 ;
10949 int val3 ;
10950 int ecode3 = 0 ;
10951 void *argp4 = 0 ;
10952 int res4 = 0 ;
10953 wxPoint temp5 ;
10954 wxSize temp6 ;
10955 long val7 ;
10956 int ecode7 = 0 ;
10957 bool temp8 = false ;
10958 PyObject * obj0 = 0 ;
10959 PyObject * obj1 = 0 ;
10960 PyObject * obj2 = 0 ;
10961 PyObject * obj3 = 0 ;
10962 PyObject * obj4 = 0 ;
10963 PyObject * obj5 = 0 ;
10964 PyObject * obj6 = 0 ;
10965 PyObject * obj7 = 0 ;
10966 char * kwnames[] = {
10967 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10968 };
10969
10970 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10971 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10972 if (!SWIG_IsOK(res1)) {
10973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10974 }
10975 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10976 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10977 if (!SWIG_IsOK(res2)) {
10978 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10979 }
10980 arg2 = reinterpret_cast< wxWindow * >(argp2);
10981 if (obj2) {
10982 ecode3 = SWIG_AsVal_int(obj2, &val3);
10983 if (!SWIG_IsOK(ecode3)) {
10984 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10985 }
10986 arg3 = static_cast< int >(val3);
10987 }
10988 if (obj3) {
10989 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10990 if (!SWIG_IsOK(res4)) {
10991 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10992 }
10993 if (!argp4) {
10994 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
10995 }
10996 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10997 }
10998 if (obj4) {
10999 {
11000 arg5 = &temp5;
11001 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11002 }
11003 }
11004 if (obj5) {
11005 {
11006 arg6 = &temp6;
11007 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11008 }
11009 }
11010 if (obj6) {
11011 ecode7 = SWIG_AsVal_long(obj6, &val7);
11012 if (!SWIG_IsOK(ecode7)) {
11013 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11014 }
11015 arg7 = static_cast< long >(val7);
11016 }
11017 if (obj7) {
11018 {
11019 arg8 = wxString_in_helper(obj7);
11020 if (arg8 == NULL) SWIG_fail;
11021 temp8 = true;
11022 }
11023 }
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11027 wxPyEndAllowThreads(__tstate);
11028 if (PyErr_Occurred()) SWIG_fail;
11029 }
11030 {
11031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11032 }
11033 {
11034 if (temp8)
11035 delete arg8;
11036 }
11037 return resultobj;
11038fail:
11039 {
11040 if (temp8)
11041 delete arg8;
11042 }
11043 return NULL;
11044}
11045
11046
11047SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj = 0;
11049 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11050 wxBitmap *arg2 = 0 ;
11051 void *argp1 = 0 ;
11052 int res1 = 0 ;
11053 void *argp2 = 0 ;
11054 int res2 = 0 ;
11055 PyObject * obj0 = 0 ;
11056 PyObject * obj1 = 0 ;
11057 char * kwnames[] = {
11058 (char *) "self",(char *) "bmp", NULL
11059 };
11060
11061 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11062 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11063 if (!SWIG_IsOK(res1)) {
11064 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11065 }
11066 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11067 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11068 if (!SWIG_IsOK(res2)) {
11069 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11070 }
11071 if (!argp2) {
11072 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11073 }
11074 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11075 {
11076 PyThreadState* __tstate = wxPyBeginAllowThreads();
11077 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11078 wxPyEndAllowThreads(__tstate);
11079 if (PyErr_Occurred()) SWIG_fail;
11080 }
11081 resultobj = SWIG_Py_Void();
11082 return resultobj;
11083fail:
11084 return NULL;
11085}
11086
11087
11088SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11089 PyObject *resultobj = 0;
11090 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11091 wxBitmap result;
11092 void *argp1 = 0 ;
11093 int res1 = 0 ;
11094 PyObject *swig_obj[1] ;
11095
11096 if (!args) SWIG_fail;
11097 swig_obj[0] = args;
11098 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11099 if (!SWIG_IsOK(res1)) {
11100 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11101 }
11102 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11103 {
11104 PyThreadState* __tstate = wxPyBeginAllowThreads();
11105 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11106 wxPyEndAllowThreads(__tstate);
11107 if (PyErr_Occurred()) SWIG_fail;
11108 }
11109 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11110 return resultobj;
11111fail:
11112 return NULL;
11113}
11114
11115
11116SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11117 PyObject *resultobj = 0;
11118 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11119 wxIcon *arg2 = 0 ;
11120 void *argp1 = 0 ;
11121 int res1 = 0 ;
11122 void *argp2 = 0 ;
11123 int res2 = 0 ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char * kwnames[] = {
11127 (char *) "self",(char *) "icon", NULL
11128 };
11129
11130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11132 if (!SWIG_IsOK(res1)) {
11133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11134 }
11135 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11136 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11137 if (!SWIG_IsOK(res2)) {
11138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11139 }
11140 if (!argp2) {
11141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11142 }
11143 arg2 = reinterpret_cast< wxIcon * >(argp2);
11144 {
11145 PyThreadState* __tstate = wxPyBeginAllowThreads();
11146 (arg1)->SetIcon((wxIcon const &)*arg2);
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 resultobj = SWIG_Py_Void();
11151 return resultobj;
11152fail:
11153 return NULL;
11154}
11155
11156
11157SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11158 PyObject *resultobj = 0;
11159 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11160 wxIcon result;
11161 void *argp1 = 0 ;
11162 int res1 = 0 ;
11163 PyObject *swig_obj[1] ;
11164
11165 if (!args) SWIG_fail;
11166 swig_obj[0] = args;
11167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11168 if (!SWIG_IsOK(res1)) {
11169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11170 }
11171 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11172 {
11173 PyThreadState* __tstate = wxPyBeginAllowThreads();
11174 result = ((wxStaticPicture const *)arg1)->GetIcon();
11175 wxPyEndAllowThreads(__tstate);
11176 if (PyErr_Occurred()) SWIG_fail;
11177 }
11178 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11179 return resultobj;
11180fail:
11181 return NULL;
11182}
11183
11184
11185SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj = 0;
11187 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11188 int arg2 ;
11189 void *argp1 = 0 ;
11190 int res1 = 0 ;
11191 int val2 ;
11192 int ecode2 = 0 ;
11193 PyObject * obj0 = 0 ;
11194 PyObject * obj1 = 0 ;
11195 char * kwnames[] = {
11196 (char *) "self",(char *) "align", NULL
11197 };
11198
11199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11201 if (!SWIG_IsOK(res1)) {
11202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11203 }
11204 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11205 ecode2 = SWIG_AsVal_int(obj1, &val2);
11206 if (!SWIG_IsOK(ecode2)) {
11207 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11208 }
11209 arg2 = static_cast< int >(val2);
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 (arg1)->SetAlignment(arg2);
11213 wxPyEndAllowThreads(__tstate);
11214 if (PyErr_Occurred()) SWIG_fail;
11215 }
11216 resultobj = SWIG_Py_Void();
11217 return resultobj;
11218fail:
11219 return NULL;
11220}
11221
11222
11223SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11224 PyObject *resultobj = 0;
11225 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11226 int result;
11227 void *argp1 = 0 ;
11228 int res1 = 0 ;
11229 PyObject *swig_obj[1] ;
11230
11231 if (!args) SWIG_fail;
11232 swig_obj[0] = args;
11233 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11234 if (!SWIG_IsOK(res1)) {
11235 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11236 }
11237 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11238 {
11239 PyThreadState* __tstate = wxPyBeginAllowThreads();
11240 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = SWIG_From_int(static_cast< int >(result));
11245 return resultobj;
11246fail:
11247 return NULL;
11248}
11249
11250
11251SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj = 0;
11253 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11254 int arg2 ;
11255 void *argp1 = 0 ;
11256 int res1 = 0 ;
11257 int val2 ;
11258 int ecode2 = 0 ;
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char * kwnames[] = {
11262 (char *) "self",(char *) "scale", NULL
11263 };
11264
11265 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11266 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11267 if (!SWIG_IsOK(res1)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11269 }
11270 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11271 ecode2 = SWIG_AsVal_int(obj1, &val2);
11272 if (!SWIG_IsOK(ecode2)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11274 }
11275 arg2 = static_cast< int >(val2);
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 (arg1)->SetScale(arg2);
11279 wxPyEndAllowThreads(__tstate);
11280 if (PyErr_Occurred()) SWIG_fail;
11281 }
11282 resultobj = SWIG_Py_Void();
11283 return resultobj;
11284fail:
11285 return NULL;
11286}
11287
11288
11289SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11290 PyObject *resultobj = 0;
11291 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11292 int result;
11293 void *argp1 = 0 ;
11294 int res1 = 0 ;
11295 PyObject *swig_obj[1] ;
11296
11297 if (!args) SWIG_fail;
11298 swig_obj[0] = args;
11299 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11300 if (!SWIG_IsOK(res1)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11302 }
11303 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11304 {
11305 PyThreadState* __tstate = wxPyBeginAllowThreads();
11306 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = SWIG_From_int(static_cast< int >(result));
11311 return resultobj;
11312fail:
11313 return NULL;
11314}
11315
11316
11317SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj = 0;
11319 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11320 float arg2 ;
11321 float arg3 ;
11322 void *argp1 = 0 ;
11323 int res1 = 0 ;
11324 float val2 ;
11325 int ecode2 = 0 ;
11326 float val3 ;
11327 int ecode3 = 0 ;
11328 PyObject * obj0 = 0 ;
11329 PyObject * obj1 = 0 ;
11330 PyObject * obj2 = 0 ;
11331 char * kwnames[] = {
11332 (char *) "self",(char *) "sx",(char *) "sy", NULL
11333 };
11334
11335 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11336 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11337 if (!SWIG_IsOK(res1)) {
11338 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11339 }
11340 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11341 ecode2 = SWIG_AsVal_float(obj1, &val2);
11342 if (!SWIG_IsOK(ecode2)) {
11343 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11344 }
11345 arg2 = static_cast< float >(val2);
11346 ecode3 = SWIG_AsVal_float(obj2, &val3);
11347 if (!SWIG_IsOK(ecode3)) {
11348 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11349 }
11350 arg3 = static_cast< float >(val3);
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 (arg1)->SetCustomScale(arg2,arg3);
11354 wxPyEndAllowThreads(__tstate);
11355 if (PyErr_Occurred()) SWIG_fail;
11356 }
11357 resultobj = SWIG_Py_Void();
11358 return resultobj;
11359fail:
11360 return NULL;
11361}
11362
11363
11364SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11365 PyObject *resultobj = 0;
11366 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11367 float *arg2 = (float *) 0 ;
11368 float *arg3 = (float *) 0 ;
11369 void *argp1 = 0 ;
11370 int res1 = 0 ;
11371 float temp2 ;
11372 int res2 = SWIG_TMPOBJ ;
11373 float temp3 ;
11374 int res3 = SWIG_TMPOBJ ;
11375 PyObject *swig_obj[1] ;
11376
11377 arg2 = &temp2;
11378 arg3 = &temp3;
11379 if (!args) SWIG_fail;
11380 swig_obj[0] = args;
11381 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11382 if (!SWIG_IsOK(res1)) {
11383 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11384 }
11385 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11389 wxPyEndAllowThreads(__tstate);
11390 if (PyErr_Occurred()) SWIG_fail;
11391 }
11392 resultobj = SWIG_Py_Void();
11393 if (SWIG_IsTmpObj(res2)) {
11394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11395 } else {
11396 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11398 }
11399 if (SWIG_IsTmpObj(res3)) {
11400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11401 } else {
11402 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11403 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11404 }
11405 return resultobj;
11406fail:
11407 return NULL;
11408}
11409
11410
11411SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11412 PyObject *obj;
11413 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11414 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11415 return SWIG_Py_Void();
11416}
11417
11418SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11419 return SWIG_Python_InitShadowInstance(args);
11420}
11421
11422static PyMethodDef SwigMethods[] = {
11423 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11424 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
11425 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
11426 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11427 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
11428 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
11429 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11430 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
11431 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11432 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11433 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11434 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
11435 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
11436 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11437 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
11438 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11439 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11440 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11441 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11442 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11443 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11444 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
11445 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
11446 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
11447 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11448 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11449 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11450 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
11451 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11452 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11453 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
11454 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
11455 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
11456 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11457 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11458 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
11459 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11460 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
11461 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
11462 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11463 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
11464 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
11465 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11466 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
11467 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
11468 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11469 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
11470 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11471 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11472 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11473 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
11474 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11475 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11476 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11477 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
11478 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
11479 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11480 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
11481 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11482 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11483 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11484 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11485 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
11486 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11487 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
11488 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11489 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11490 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11491 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11492 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11493 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11494 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
11495 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
11496 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
11497 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11498 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
11499 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11500 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11501 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11502 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
11503 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
11504 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
11505 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
11506 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11507 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11508 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
11509 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11510 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11511 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11517 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11518 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11519 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
11521 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11522 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
11523 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11530 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11531 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11551 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11552 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11557 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11558 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11559 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11561 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11562 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
11563 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11564 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11573 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11574 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11580 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11581 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11582 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11583 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
11586 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11587 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11588 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11589 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11590 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
11591 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11592 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
11593 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11594 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
11595 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11596 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11597 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11598 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11599 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11600 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11601 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
11602 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
11603 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11604 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
11605 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
11606 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
11607 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
11608 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
11609 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11610 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
11611 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
11612 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
11613 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
11614 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11615 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
11616 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
11617 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
11618 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
11619 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
11620 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
11621 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
11622 { NULL, NULL, 0, NULL }
11623};
11624
11625
11626/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11627
11628static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11629 return (void *)((wxValidator *) ((wxPyValidator *) x));
11630}
11631static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11632 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11633}
11634static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11635 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11636}
11637static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11638 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11639}
11640static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11641 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11642}
11643static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11644 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11645}
11646static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11647 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11648}
11649static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x) {
11650 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11651}
11652static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11653 return (void *)((wxPanel *) ((wxPyPanel *) x));
11654}
11655static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11656 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11657}
11658static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11659 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11660}
11661static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11662 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11663}
11664static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11665 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11666}
11667static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11668 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11669}
11670static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11671 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11672}
11673static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11674 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11675}
11676static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11677 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11678}
11679static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11680 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11681}
11682static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11683 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11684}
11685static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11686 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11687}
11688static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11689 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11690}
11691static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11692 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11693}
11694static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11695 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11696}
11697static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11698 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11699}
11700static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11701 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11702}
11703static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11704 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11705}
11706static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11707 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11708}
11709static void *_p_wxControlTo_p_wxWindow(void *x) {
11710 return (void *)((wxWindow *) ((wxControl *) x));
11711}
11712static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11713 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11714}
11715static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11716 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11717}
11718static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11719 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11720}
11721static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11722 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11723}
11724static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11725 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11726}
11727static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11728 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11729}
11730static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11731 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11732}
11733static void *_p_wxListViewTo_p_wxWindow(void *x) {
11734 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11735}
11736static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11737 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11738}
11739static void *_p_wxNotebookTo_p_wxWindow(void *x) {
11740 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
11741}
11742static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11743 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11744}
11745static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
11746 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11747}
11748static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11749 return (void *)((wxWindow *) ((wxPyWindow *) x));
11750}
11751static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11753}
11754static void *_p_wxListbookTo_p_wxWindow(void *x) {
11755 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
11756}
11757static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11759}
11760static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11762}
11763static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11765}
11766static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11768}
11769static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11771}
11772static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11774}
11775static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11777}
11778static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11779 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11780}
11781static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11782 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11783}
11784static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11785 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11786}
11787static void *_p_wxSliderTo_p_wxWindow(void *x) {
11788 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11789}
11790static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11791 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11792}
11793static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11794 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11795}
11796static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11797 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11798}
11799static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11800 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11801}
11802static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11803 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11804}
11805static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11806 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11807}
11808static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x) {
11809 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
11810}
11811static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11812 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11813}
11814static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11815 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11816}
11817static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11818 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11819}
11820static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11821 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11822}
11823static void *_p_wxButtonTo_p_wxWindow(void *x) {
11824 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11825}
11826static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11827 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11828}
11829static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11830 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11831}
11832static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11833 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11834}
11835static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11836 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11837}
11838static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11839 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11840}
11841static void *_p_wxFrameTo_p_wxWindow(void *x) {
11842 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11843}
11844static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11845 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11846}
11847static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11848 return (void *)((wxWindow *) ((wxStatusBar *) x));
11849}
11850static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11851 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11852}
11853static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11854 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11855}
11856static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11857 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11858}
11859static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11860 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11861}
11862static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11863 return (void *)((wxWindow *) ((wxSashWindow *) x));
11864}
11865static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11866 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11867}
11868static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11869 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11870}
11871static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11872 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11873}
11874static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11875 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11876}
11877static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11878 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11879}
11880static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11881 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11882}
11883static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11884 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11885}
11886static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11887 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11888}
11889static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11890 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11891}
11892static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11893 return (void *)((wxWindow *) ((wxMenuBar *) x));
11894}
11895static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11896 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11897}
11898static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11899 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11900}
11901static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11902 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11903}
11904static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11905 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11906}
11907static void *_p_wxDialogTo_p_wxWindow(void *x) {
11908 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11909}
11910static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11911 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11912}
11913static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11914 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11915}
11916static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11917 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11918}
11919static void *_p_wxPanelTo_p_wxWindow(void *x) {
11920 return (void *)((wxWindow *) ((wxPanel *) x));
11921}
11922static void *_p_wxCollapsiblePaneTo_p_wxWindow(void *x) {
11923 return (void *)((wxWindow *) (wxControl *) ((wxCollapsiblePane *) x));
11924}
11925static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11926 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11927}
11928static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11929 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11930}
11931static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11932 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11933}
11934static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11935 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11936}
11937static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11938 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11939}
11940static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11941 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11942}
11943static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11944 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11945}
11946static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11947 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11948}
11949static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11950 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11951}
11952static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11953 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11954}
11955static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11956 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11957}
11958static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11959 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11960}
11961static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11962 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11963}
11964static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11965 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11966}
11967static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11968 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11969}
11970static void *_p_wxCollapsiblePaneTo_p_wxControl(void *x) {
11971 return (void *)((wxControl *) ((wxCollapsiblePane *) x));
11972}
11973static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11974 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
11975}
11976static void *_p_wxToolBarTo_p_wxControl(void *x) {
11977 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11978}
11979static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11980 return (void *)((wxControl *) ((wxPickerBase *) x));
11981}
11982static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11983 return (void *)((wxControl *) ((wxToggleButton *) x));
11984}
11985static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11986 return (void *)((wxControl *) ((wxRadioButton *) x));
11987}
11988static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11989 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11990}
11991static void *_p_wxToolbookTo_p_wxControl(void *x) {
11992 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
11993}
11994static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11995 return (void *)((wxControl *) ((wxToolBarBase *) x));
11996}
11997static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11998 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11999}
12000static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
12001 return (void *)((wxControl *) ((wxPyListCtrl *) x));
12002}
12003static void *_p_wxComboBoxTo_p_wxControl(void *x) {
12004 return (void *)((wxControl *) ((wxComboBox *) x));
12005}
12006static void *_p_wxPyControlTo_p_wxControl(void *x) {
12007 return (void *)((wxControl *) ((wxPyControl *) x));
12008}
12009static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
12010 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
12011}
12012static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
12013 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
12014}
12015static void *_p_wxScrollBarTo_p_wxControl(void *x) {
12016 return (void *)((wxControl *) ((wxScrollBar *) x));
12017}
12018static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12019 return (void *)((wxControl *) ((wxControlWithItems *) x));
12020}
12021static void *_p_wxGaugeTo_p_wxControl(void *x) {
12022 return (void *)((wxControl *) ((wxGauge *) x));
12023}
12024static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12025 return (void *)((wxControl *) ((wxStaticLine *) x));
12026}
12027static void *_p_wxChoicebookTo_p_wxControl(void *x) {
12028 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
12029}
12030static void *_p_wxListbookTo_p_wxControl(void *x) {
12031 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
12032}
12033static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12034 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12035}
12036static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12037 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12038}
12039static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12040 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12041}
12042static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12043 return (void *)((wxControl *) ((wxCheckBox *) x));
12044}
12045static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12046 return (void *)((wxControl *) ((wxRadioBox *) x));
12047}
12048static void *_p_wxChoiceTo_p_wxControl(void *x) {
12049 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12050}
12051static void *_p_wxListBoxTo_p_wxControl(void *x) {
12052 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12053}
12054static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12055 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12056}
12057static void *_p_wxListViewTo_p_wxControl(void *x) {
12058 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12059}
12060static void *_p_wxNotebookTo_p_wxControl(void *x) {
12061 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
12062}
12063static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12064 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12065}
12066static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12067 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12068}
12069static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12070 return (void *)((wxControl *) ((wxStaticText *) x));
12071}
12072static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12073 return (void *)((wxControl *) ((wxStaticBox *) x));
12074}
12075static void *_p_wxSliderTo_p_wxControl(void *x) {
12076 return (void *)((wxControl *) ((wxSlider *) x));
12077}
12078static void *_p_wxTreebookTo_p_wxControl(void *x) {
12079 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
12080}
12081static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12082 return (void *)((wxControl *) ((wxSpinButton *) x));
12083}
12084static void *_p_wxButtonTo_p_wxControl(void *x) {
12085 return (void *)((wxControl *) ((wxButton *) x));
12086}
12087static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12088 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12089}
12090static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12091 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12092}
12093static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12094 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12095}
12096static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12097 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12098}
12099static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12100 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12101}
12102static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12103 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12104}
12105static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12106 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12107}
12108static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12109 return (void *)((wxControl *) ((wxStaticPicture *) x));
12110}
12111static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12112 return (void *)((wxControl *) ((wxTextCtrl *) x));
12113}
12114static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12115 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12116}
12117static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12118 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12119}
12120static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12121 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12122}
12123static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12124 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12125}
12126static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12127 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12128}
12129static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12130 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12131}
12132static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12133 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12134}
12135static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12136 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12137}
12138static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12139 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12140}
12141static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12143}
12144static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12146}
12147static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12149}
12150static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12151 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12152}
12153static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12154 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12155}
12156static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12157 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12158}
12159static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12161}
12162static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12164}
12165static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12166 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12167}
12168static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12169 return (void *)((wxEvent *) ((wxPyEvent *) x));
12170}
12171static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12172 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12173}
12174static void *_p_wxListEventTo_p_wxEvent(void *x) {
12175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12176}
12177static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12178 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12179}
12180static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12181 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12182}
12183static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
12184 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12185}
12186static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
12187 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12188}
12189static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
12190 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12191}
12192static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12193 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12194}
12195static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12196 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12197}
12198static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12199 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12200}
12201static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12202 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12203}
12204static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12205 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12206}
12207static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12208 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12209}
12210static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12211 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12212}
12213static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12214 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12215}
12216static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12217 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12218}
12219static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12220 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12221}
12222static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12223 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12224}
12225static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12226 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12227}
12228static void *_p_wxCollapsiblePaneEventTo_p_wxEvent(void *x) {
12229 return (void *)((wxEvent *) (wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12230}
12231static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12232 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12233}
12234static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12235 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12236}
12237static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12238 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12239}
12240static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12241 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12242}
12243static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12244 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12245}
12246static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12247 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12248}
12249static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12250 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12251}
12252static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12253 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12254}
12255static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12256 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12257}
12258static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12259 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12260}
12261static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12262 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12263}
12264static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12265 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12266}
12267static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12268 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12269}
12270static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12271 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12272}
12273static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12274 return (void *)((wxEvent *) ((wxShowEvent *) x));
12275}
12276static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12277 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12278}
12279static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12280 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12281}
12282static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12283 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12284}
12285static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12286 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12287}
12288static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12289 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12290}
12291static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12292 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12293}
12294static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12295 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12296}
12297static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12298 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12299}
12300static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12302}
12303static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12305}
12306static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12308}
12309static void *_p_wxEventTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) ((wxEvent *) x));
12311}
12312static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12314}
12315static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12317}
12318static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12320}
12321static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12323}
12324static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12326}
12327static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12329}
12330static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) ((wxMenuItem *) x));
12332}
12333static void *_p_wxImageTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) ((wxImage *) x));
12335}
12336static void *_p_wxPySizerTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12338}
12339static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12341}
12342static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12343 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12344}
12345static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12347}
12348static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12349 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12350}
12351static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12352 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12353}
12354static void *_p_wxPyAppTo_p_wxObject(void *x) {
12355 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12356}
12357static void *_p_wxTreebookTo_p_wxObject(void *x) {
12358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12359}
12360static void *_p_wxNotebookTo_p_wxObject(void *x) {
12361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
12362}
12363static void *_p_wxListItemTo_p_wxObject(void *x) {
12364 return (void *)((wxObject *) ((wxListItem *) x));
12365}
12366static void *_p_wxChoicebookTo_p_wxObject(void *x) {
12367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12368}
12369static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12371}
12372static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12373 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12374}
12375static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12376 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12377}
12378static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12380}
12381static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12382 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12383}
12384static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12385 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12386}
12387static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12388 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12389}
12390static void *_p_wxValidatorTo_p_wxObject(void *x) {
12391 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12392}
12393static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12394 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12395}
12396static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12397 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12398}
12399static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12400 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12401}
12402static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12403 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12404}
12405static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12406 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12407}
12408static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12409 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12410}
12411static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12413}
12414static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12415 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12416}
12417static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12418 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12419}
12420static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12421 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12422}
12423static void *_p_wxPrinterTo_p_wxObject(void *x) {
12424 return (void *)((wxObject *) ((wxPrinter *) x));
12425}
12426static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12428}
12429static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12431}
12432static void *_p_wxCollapsiblePaneTo_p_wxObject(void *x) {
12433 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
12434}
12435static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12436 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12437}
12438static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12439 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12440}
12441static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12442 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12443}
12444static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12445 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12446}
12447static void *_p_wxControlTo_p_wxObject(void *x) {
12448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12449}
12450static void *_p_wxPyControlTo_p_wxObject(void *x) {
12451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12452}
12453static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12454 return (void *)((wxObject *) ((wxContextHelp *) x));
12455}
12456static void *_p_wxColourDataTo_p_wxObject(void *x) {
12457 return (void *)((wxObject *) ((wxColourData *) x));
12458}
12459static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12460 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12461}
12462static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12463 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12464}
12465static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12466 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12467}
12468static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12469 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12470}
12471static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12472 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12473}
12474static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12475 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12476}
12477static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12479}
12480static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12481 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12482}
12483static void *_p_wxDateEventTo_p_wxObject(void *x) {
12484 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12485}
12486static void *_p_wxCollapsiblePaneEventTo_p_wxObject(void *x) {
12487 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
12488}
12489static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12490 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12491}
12492static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12493 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12494}
12495static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12496 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12497}
12498static void *_p_wxListEventTo_p_wxObject(void *x) {
12499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12500}
12501static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12503}
12504static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12505 return (void *)((wxObject *) ((wxPyPrintout *) x));
12506}
12507static void *_p_wxGaugeTo_p_wxObject(void *x) {
12508 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12509}
12510static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12511 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12512}
12513static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12514 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12515}
12516static void *_p_wxChoiceTo_p_wxObject(void *x) {
12517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12518}
12519static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12521}
12522static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12524}
12525static void *_p_wxButtonTo_p_wxObject(void *x) {
12526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12527}
12528static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12530}
12531static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12532 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12533}
12534static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12535 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12536}
12537static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12538 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12539}
12540static void *_p_wxSashEventTo_p_wxObject(void *x) {
12541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12542}
12543static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12545}
12546static void *_p_wxListBoxTo_p_wxObject(void *x) {
12547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12548}
12549static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x) {
12550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
12551}
12552static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12554}
12555static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12556 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12557}
12558static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12559 return (void *)((wxObject *) ((wxPrintData *) x));
12560}
12561static void *_p_wxFontDataTo_p_wxObject(void *x) {
12562 return (void *)((wxObject *) ((wxFontData *) x));
12563}
12564static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12566}
12567static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12569}
12570static void *_p_wxListbookTo_p_wxObject(void *x) {
12571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
12572}
12573static void *_p_wxFrameTo_p_wxObject(void *x) {
12574 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12575}
12576static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12578}
12579static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12581}
12582static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12583 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12584}
12585static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12587}
12588static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12589 return (void *)((wxObject *) ((wxFileSystem *) x));
12590}
12591static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12592 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12593}
12594static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12595 return (void *)((wxObject *) ((wxPrintPreview *) x));
12596}
12597static void *_p_wxListViewTo_p_wxObject(void *x) {
12598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12599}
12600static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12601 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12602}
12603static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12605}
12606static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12608}
12609static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12611}
12612static void *_p_wxSizerTo_p_wxObject(void *x) {
12613 return (void *)((wxObject *) ((wxSizer *) x));
12614}
12615static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12616 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12617}
12618static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12619 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12620}
12621static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12622 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12623}
12624static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12625 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12626}
12627static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12628 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12629}
12630static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12631 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12632}
12633static void *_p_wxFSFileTo_p_wxObject(void *x) {
12634 return (void *)((wxObject *) ((wxFSFile *) x));
12635}
12636static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12638}
12639static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12640 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12641}
12642static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12643 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12644}
12645static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12646 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12647}
12648static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12649 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12650}
12651static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12652 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12653}
12654static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12656}
12657static void *_p_wxMenuTo_p_wxObject(void *x) {
12658 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12659}
12660static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12661 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12662}
12663static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12664 return (void *)((wxObject *) ((wxSizerItem *) x));
12665}
12666static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12667 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12668}
12669static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12671}
12672static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
12673 return (void *)((wxObject *) ((wxPrintDialog *) x));
12674}
12675static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
12676 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
12677}
12678static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12680}
12681static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12683}
12684static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12685 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12686}
12687static void *_p_wxDialogTo_p_wxObject(void *x) {
12688 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12689}
12690static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12692}
12693static void *_p_wxPyEventTo_p_wxObject(void *x) {
12694 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12695}
12696static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12697 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12698}
12699static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12700 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12701}
12702static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12703 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12704}
12705static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12706 return (void *)((wxObject *) ((wxEvtHandler *) x));
12707}
12708static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
12709 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
12710}
12711static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12712 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12713}
12714static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12715 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12716}
12717static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12718 return (void *)((wxObject *) ((wxImageHandler *) x));
12719}
12720static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12721 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12722}
12723static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12724 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12725}
12726static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12727 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12728}
12729static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12730 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12731}
12732static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12733 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12734}
12735static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12736 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12737}
12738static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12739 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12740}
12741static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12742 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12743}
12744static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12745 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12746}
12747static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12748 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12749}
12750static void *_p_wxShowEventTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12752}
12753static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12755}
12756static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12758}
12759static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12761}
12762static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12764}
12765static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12767}
12768static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12770}
12771static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12773}
12774static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12776}
12777static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12779}
12780static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12782}
12783static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12784 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12785}
12786static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12788}
12789static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12790 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12791}
12792static void *_p_wxWindowTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12794}
12795static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12797}
12798static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12800}
12801static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12803}
12804static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12806}
12807static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12809}
12810static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
12812}
12813static void *_p_wxListbookEventTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
12815}
12816static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
12818}
12819static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12821}
12822static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12824}
12825static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12827}
12828static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12830}
12831static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12833}
12834static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12836}
12837static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12839}
12840static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12842}
12843static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12845}
12846static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12848}
12849static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12851}
12852static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12854}
12855static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12857}
12858static void *_p_wxSliderTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12860}
12861static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12863}
12864static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12866}
12867static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12869}
12870static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12872}
12873static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12875}
12876static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12878}
12879static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12881}
12882static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12884}
12885static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12887}
12888static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12890}
12891static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12893}
12894static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12896}
12897static void *_p_wxPanelTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12899}
12900static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12902}
12903static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12905}
12906static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12908}
12909static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12911}
12912static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12913 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12914}
12915static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12917}
12918static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12919 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12920}
12921static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12922 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12923}
12924static void *_p_wxToolbookTo_p_wxObject(void *x) {
12925 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12926}
12927static void *_p_wxToolBarTo_p_wxObject(void *x) {
12928 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12929}
12930static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12931 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12932}
12933static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12934 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12935}
12936static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12937 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12938}
12939static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12940 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12941}
12942static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12944}
12945static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12946 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12947}
12948static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12950}
12951static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12952 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12953}
12954static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12955 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12956}
12957static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12958 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12959}
12960static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12961 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12962}
12963static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12964 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12965}
12966static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12967 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12968}
12969static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12970 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
12971}
12972static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12974}
12975static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12977}
12978static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12979 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12980}
12981static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12982 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12983}
12984static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12985 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12986}
12987static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12988 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12989}
12990static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12991 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12992}
12993static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12994 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12995}
12996static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12997 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12998}
12999static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
13000 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
13001}
13002static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
13003 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
13004}
13005static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
13006 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
13007}
13008static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
13009 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
13010}
13011static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
13012 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
13013}
13014static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
13015 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
13016}
13017static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
13018 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
13019}
13020static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
13021 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
13022}
13023static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
13024 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
13025}
13026static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13028}
13029static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
13030 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
13031}
13032static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13033 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13034}
13035static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13037}
13038static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
13039 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
13040}
13041static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13042 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13043}
13044static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13045 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13046}
13047static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13048 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13049}
13050static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13051 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13052}
13053static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13054 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13055}
13056static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13057 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13058}
13059static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13060 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13061}
13062static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13063 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13064}
13065static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13066 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13067}
13068static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13070}
13071static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13073}
13074static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13076}
13077static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13079}
13080static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13082}
13083static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13085}
13086static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13087 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13088}
13089static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13090 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13091}
13092static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x) {
13093 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *)(wxPyHtmlListBox *) ((wxSimpleHtmlListBox *) x));
13094}
13095static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13096 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13097}
13098static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13100}
13101static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13102 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13103}
13104static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13105 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13106}
13107static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13109}
13110static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13111 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13112}
13113static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13115}
13116static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13117 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13118}
13119static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13120 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13121}
13122static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13123 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13124}
13125static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13126 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13127}
13128static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13129 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13130}
13131static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13132 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13133}
13134static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13135 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13136}
13137static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13138 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13139}
13140static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13141 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13142}
13143static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13144 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13145}
13146static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13147 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13148}
13149static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13150 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13151}
13152static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13153 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13154}
13155static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13157}
13158static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13160}
13161static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13162 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13163}
13164static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13165 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13166}
13167static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13168 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13169}
13170static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13171 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13172}
13173static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13174 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13175}
13176static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13177 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13178}
13179static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13180 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13181}
13182static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13183 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13184}
13185static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13186 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13187}
13188static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13189 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13190}
13191static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13192 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13193}
13194static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13195 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13196}
13197static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13198 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13199}
13200static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13201 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13202}
13203static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13204 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13205}
13206static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13207 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13208}
13209static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13210 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13211}
13212static void *_p_wxCollapsiblePaneTo_p_wxEvtHandler(void *x) {
13213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCollapsiblePane *) x));
13214}
13215static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13216 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13217}
13218static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13220}
13221static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13222 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13223}
13224static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13225 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13226}
13227static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13228 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13229}
13230static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13231 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13232}
13233static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13234 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13235}
13236static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13237 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13238}
13239static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13240 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13241}
13242static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13243 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13244}
13245static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13246 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13247}
13248static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13249 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13250}
13251static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13252 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13253}
13254static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13255 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13256}
13257static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13258 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13259}
13260static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13261 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13262}
13263static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13264 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13265}
13266static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13267 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13268}
13269static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13270 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13271}
13272static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13273 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13274}
13275static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13276 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13277}
13278static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13279 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13280}
13281static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13282 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13283}
13284static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13285 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13286}
13287static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13288 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13289}
13290static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13291 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13292}
13293static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13294 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13295}
13296static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13297 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13298}
13299static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
13300 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
13301}
13302static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
13303 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
13304}
13305static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
13306 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
13307}
13308static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13309 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13310}
13311static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13312 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13313}
13314static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13315 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13316}
13317static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13318 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13319}
13320static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13321 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13322}
13323static void *_p_wxCollapsiblePaneEventTo_p_wxCommandEvent(void *x) {
13324 return (void *)((wxCommandEvent *) ((wxCollapsiblePaneEvent *) x));
13325}
13326static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13327 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13328}
13329static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13330 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13331}
13332static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13333 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13334}
13335static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13336 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13337}
13338static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13339 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13340}
13341static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13342 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13343}
13344static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13345 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13346}
13347static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13348 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13349}
13350static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13351 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13352}
13353static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13354static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13355static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13356static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13357static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13358static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13359static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13360static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13361static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13362static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13363static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13364static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13365static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
13366static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
13367static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
13368static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13369static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13370static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
13371static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
13372static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13373static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13374static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13375static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13376static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13377static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13378static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13379static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13380static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13381static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13382static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13383static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13384static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13385static swig_type_info _swigt__p_wxCollapsiblePaneEvent = {"_p_wxCollapsiblePaneEvent", 0, 0, 0, 0, 0};
13386static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13387static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13388static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13389static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13390static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13391static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13392static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13393static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13394static swig_type_info _swigt__p_wxCollapsiblePane = {"_p_wxCollapsiblePane", 0, 0, 0, 0, 0};
13395static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13396static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
13397static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
13398static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13399static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13400static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13401static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13402static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13403static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
13404static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
13405static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13406static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13407static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13408static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13409static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13410static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13411static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
13412static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
13413static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13414static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13415static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13416static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13417static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13418static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13419static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13420static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13421static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13422static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13423static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13424static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13425static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13426static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13427static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13428static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13429static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13430static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
13431static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13432static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13433static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13434static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
13435static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13436static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13437static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13438static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13439static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13440static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13441static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13442static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13443static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13444static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13445static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13446static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13447static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13448static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
13449static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
13450static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13451static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13452static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13453static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13454static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13455static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13456static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13457static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13458static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13459static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13460static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13461static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13462static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13463static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13464static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13465static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13466static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13467static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13468static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13469static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13470static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13471static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13472static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13473static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13474static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13475static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13476static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13477static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13478static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13479static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13480static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13481static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
13482static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13483static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
13484static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
13485static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
13486static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13487static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13488static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13489static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13490static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13491static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13492static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13493static swig_type_info _swigt__p_wxSimpleHtmlListBox = {"_p_wxSimpleHtmlListBox", 0, 0, 0, 0, 0};
13494static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13495static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13496static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13497static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
13498static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13499static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
13500static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
13501static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
13502static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13503static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13504static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13505static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
13506static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
13507static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
13508static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13509static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13510static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13511static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13512static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13513static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13514static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13515static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13516static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13517static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13518static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13519static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13520static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13521static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13522static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13523static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13524static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13525static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13526static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13527static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13528static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13529static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13530static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13531static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13532static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13533static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13534static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13535static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13536static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13537static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13538static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13539static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13540static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13541static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13542static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13543static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13544static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13545static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13546static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13547static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13548static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13549static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13550static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
13551static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
13552static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
13553static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
13554static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
13555static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
13556static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
13557static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
13558static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13559static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13560static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13561static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13562static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13563static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13564static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13565static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13566static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13567static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13568static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
13569static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13570static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13571static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
13572static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13573static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13574static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13575static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13576static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13577static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13578static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13579static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13580static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13581static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13582static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13583static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13584static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13585static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13586static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
13587
13588static swig_type_info *swig_type_initial[] = {
13589 &_swigt__p_char,
13590 &_swigt__p_float,
13591 &_swigt__p_form_ops_t,
13592 &_swigt__p_int,
13593 &_swigt__p_unsigned_char,
13594 &_swigt__p_unsigned_int,
13595 &_swigt__p_unsigned_long,
13596 &_swigt__p_wxANIHandler,
13597 &_swigt__p_wxAcceleratorTable,
13598 &_swigt__p_wxActivateEvent,
13599 &_swigt__p_wxArrayString,
13600 &_swigt__p_wxBMPHandler,
13601 &_swigt__p_wxBitmap,
13602 &_swigt__p_wxBitmapButton,
13603 &_swigt__p_wxBookCtrlBase,
13604 &_swigt__p_wxBookCtrlBaseEvent,
13605 &_swigt__p_wxBoxSizer,
13606 &_swigt__p_wxButton,
13607 &_swigt__p_wxCURHandler,
13608 &_swigt__p_wxCalculateLayoutEvent,
13609 &_swigt__p_wxCheckBox,
13610 &_swigt__p_wxCheckListBox,
13611 &_swigt__p_wxChildFocusEvent,
13612 &_swigt__p_wxChoice,
13613 &_swigt__p_wxChoicebook,
13614 &_swigt__p_wxChoicebookEvent,
13615 &_swigt__p_wxClipboardTextEvent,
13616 &_swigt__p_wxCloseEvent,
13617 &_swigt__p_wxCollapsiblePane,
13618 &_swigt__p_wxCollapsiblePaneEvent,
13619 &_swigt__p_wxColour,
13620 &_swigt__p_wxColourData,
13621 &_swigt__p_wxColourDialog,
13622 &_swigt__p_wxColourPickerCtrl,
13623 &_swigt__p_wxColourPickerEvent,
13624 &_swigt__p_wxComboBox,
13625 &_swigt__p_wxCommandEvent,
13626 &_swigt__p_wxContextHelp,
13627 &_swigt__p_wxContextHelpButton,
13628 &_swigt__p_wxContextMenuEvent,
13629 &_swigt__p_wxControl,
13630 &_swigt__p_wxControlWithItems,
13631 &_swigt__p_wxDateEvent,
13632 &_swigt__p_wxDatePickerCtrl,
13633 &_swigt__p_wxDialog,
13634 &_swigt__p_wxDirDialog,
13635 &_swigt__p_wxDirFilterListCtrl,
13636 &_swigt__p_wxDirPickerCtrl,
13637 &_swigt__p_wxDisplayChangedEvent,
13638 &_swigt__p_wxDropFilesEvent,
13639 &_swigt__p_wxDuplexMode,
13640 &_swigt__p_wxDynamicSashSplitEvent,
13641 &_swigt__p_wxDynamicSashUnifyEvent,
13642 &_swigt__p_wxDynamicSashWindow,
13643 &_swigt__p_wxEditableListBox,
13644 &_swigt__p_wxEraseEvent,
13645 &_swigt__p_wxEvent,
13646 &_swigt__p_wxEvtHandler,
13647 &_swigt__p_wxFSFile,
13648 &_swigt__p_wxFileDialog,
13649 &_swigt__p_wxFileDirPickerEvent,
13650 &_swigt__p_wxFilePickerCtrl,
13651 &_swigt__p_wxFileSystem,
13652 &_swigt__p_wxFindDialogEvent,
13653 &_swigt__p_wxFindReplaceData,
13654 &_swigt__p_wxFindReplaceDialog,
13655 &_swigt__p_wxFlexGridSizer,
13656 &_swigt__p_wxFocusEvent,
13657 &_swigt__p_wxFont,
13658 &_swigt__p_wxFontData,
13659 &_swigt__p_wxFontDialog,
13660 &_swigt__p_wxFontPickerCtrl,
13661 &_swigt__p_wxFontPickerEvent,
13662 &_swigt__p_wxFrame,
13663 &_swigt__p_wxGBSizerItem,
13664 &_swigt__p_wxGIFHandler,
13665 &_swigt__p_wxGauge,
13666 &_swigt__p_wxGenericDirCtrl,
13667 &_swigt__p_wxGenericDragImage,
13668 &_swigt__p_wxGridBagSizer,
13669 &_swigt__p_wxGridSizer,
13670 &_swigt__p_wxHelpEvent,
13671 &_swigt__p_wxHyperlinkCtrl,
13672 &_swigt__p_wxHyperlinkEvent,
13673 &_swigt__p_wxICOHandler,
13674 &_swigt__p_wxIcon,
13675 &_swigt__p_wxIconizeEvent,
13676 &_swigt__p_wxIdleEvent,
13677 &_swigt__p_wxImage,
13678 &_swigt__p_wxImageHandler,
13679 &_swigt__p_wxImageList,
13680 &_swigt__p_wxIndividualLayoutConstraint,
13681 &_swigt__p_wxInitDialogEvent,
13682 &_swigt__p_wxJPEGHandler,
13683 &_swigt__p_wxKeyEvent,
13684 &_swigt__p_wxLEDNumberCtrl,
13685 &_swigt__p_wxLayoutAlgorithm,
13686 &_swigt__p_wxLayoutConstraints,
13687 &_swigt__p_wxListBox,
13688 &_swigt__p_wxListEvent,
13689 &_swigt__p_wxListItem,
13690 &_swigt__p_wxListView,
13691 &_swigt__p_wxListbook,
13692 &_swigt__p_wxListbookEvent,
13693 &_swigt__p_wxMDIChildFrame,
13694 &_swigt__p_wxMDIClientWindow,
13695 &_swigt__p_wxMDIParentFrame,
13696 &_swigt__p_wxMaximizeEvent,
13697 &_swigt__p_wxMenu,
13698 &_swigt__p_wxMenuBar,
13699 &_swigt__p_wxMenuEvent,
13700 &_swigt__p_wxMenuItem,
13701 &_swigt__p_wxMessageDialog,
13702 &_swigt__p_wxMiniFrame,
13703 &_swigt__p_wxMouseCaptureChangedEvent,
13704 &_swigt__p_wxMouseCaptureLostEvent,
13705 &_swigt__p_wxMouseEvent,
13706 &_swigt__p_wxMoveEvent,
13707 &_swigt__p_wxMultiChoiceDialog,
13708 &_swigt__p_wxNavigationKeyEvent,
13709 &_swigt__p_wxNcPaintEvent,
13710 &_swigt__p_wxNotebook,
13711 &_swigt__p_wxNotebookEvent,
13712 &_swigt__p_wxNotifyEvent,
13713 &_swigt__p_wxNumberEntryDialog,
13714 &_swigt__p_wxObject,
13715 &_swigt__p_wxPCXHandler,
13716 &_swigt__p_wxPNGHandler,
13717 &_swigt__p_wxPNMHandler,
13718 &_swigt__p_wxPageSetupDialog,
13719 &_swigt__p_wxPageSetupDialogData,
13720 &_swigt__p_wxPaintEvent,
13721 &_swigt__p_wxPaletteChangedEvent,
13722 &_swigt__p_wxPanel,
13723 &_swigt__p_wxPaperSize,
13724 &_swigt__p_wxPasswordEntryDialog,
13725 &_swigt__p_wxPickerBase,
13726 &_swigt__p_wxPopupWindow,
13727 &_swigt__p_wxPreviewCanvas,
13728 &_swigt__p_wxPreviewControlBar,
13729 &_swigt__p_wxPreviewFrame,
13730 &_swigt__p_wxPrintData,
13731 &_swigt__p_wxPrintDialog,
13732 &_swigt__p_wxPrintDialogData,
13733 &_swigt__p_wxPrintPreview,
13734 &_swigt__p_wxPrinter,
13735 &_swigt__p_wxProgressDialog,
13736 &_swigt__p_wxPyApp,
13737 &_swigt__p_wxPyCommandEvent,
13738 &_swigt__p_wxPyControl,
13739 &_swigt__p_wxPyEvent,
13740 &_swigt__p_wxPyHtmlListBox,
13741 &_swigt__p_wxPyImageHandler,
13742 &_swigt__p_wxPyListCtrl,
13743 &_swigt__p_wxPyPanel,
13744 &_swigt__p_wxPyPopupTransientWindow,
13745 &_swigt__p_wxPyPreviewControlBar,
13746 &_swigt__p_wxPyPreviewFrame,
13747 &_swigt__p_wxPyPrintPreview,
13748 &_swigt__p_wxPyPrintout,
13749 &_swigt__p_wxPyScrolledWindow,
13750 &_swigt__p_wxPySizer,
13751 &_swigt__p_wxPyTaskBarIcon,
13752 &_swigt__p_wxPyTreeCompanionWindow,
13753 &_swigt__p_wxPyTreeCtrl,
13754 &_swigt__p_wxPyTreeItemData,
13755 &_swigt__p_wxPyTreeListCtrl,
13756 &_swigt__p_wxPyVListBox,
13757 &_swigt__p_wxPyVScrolledWindow,
13758 &_swigt__p_wxPyValidator,
13759 &_swigt__p_wxPyWindow,
13760 &_swigt__p_wxQueryLayoutInfoEvent,
13761 &_swigt__p_wxQueryNewPaletteEvent,
13762 &_swigt__p_wxRadioBox,
13763 &_swigt__p_wxRadioButton,
13764 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13765 &_swigt__p_wxSashEvent,
13766 &_swigt__p_wxSashLayoutWindow,
13767 &_swigt__p_wxSashWindow,
13768 &_swigt__p_wxScrollBar,
13769 &_swigt__p_wxScrollEvent,
13770 &_swigt__p_wxScrollWinEvent,
13771 &_swigt__p_wxScrolledWindow,
13772 &_swigt__p_wxSetCursorEvent,
13773 &_swigt__p_wxShowEvent,
13774 &_swigt__p_wxSimpleHtmlListBox,
13775 &_swigt__p_wxSingleChoiceDialog,
13776 &_swigt__p_wxSizeEvent,
13777 &_swigt__p_wxSizer,
13778 &_swigt__p_wxSizerItem,
13779 &_swigt__p_wxSlider,
13780 &_swigt__p_wxSpinButton,
13781 &_swigt__p_wxSpinCtrl,
13782 &_swigt__p_wxSpinEvent,
13783 &_swigt__p_wxSplashScreen,
13784 &_swigt__p_wxSplashScreenWindow,
13785 &_swigt__p_wxSplitterEvent,
13786 &_swigt__p_wxSplitterScrolledWindow,
13787 &_swigt__p_wxSplitterWindow,
13788 &_swigt__p_wxStaticBitmap,
13789 &_swigt__p_wxStaticBox,
13790 &_swigt__p_wxStaticBoxSizer,
13791 &_swigt__p_wxStaticLine,
13792 &_swigt__p_wxStaticPicture,
13793 &_swigt__p_wxStaticText,
13794 &_swigt__p_wxStatusBar,
13795 &_swigt__p_wxStdDialogButtonSizer,
13796 &_swigt__p_wxSysColourChangedEvent,
13797 &_swigt__p_wxTGAHandler,
13798 &_swigt__p_wxTIFFHandler,
13799 &_swigt__p_wxTaskBarIconEvent,
13800 &_swigt__p_wxTextCtrl,
13801 &_swigt__p_wxTextEntryDialog,
13802 &_swigt__p_wxTextUrlEvent,
13803 &_swigt__p_wxThinSplitterWindow,
13804 &_swigt__p_wxTipWindow,
13805 &_swigt__p_wxToggleButton,
13806 &_swigt__p_wxToolBar,
13807 &_swigt__p_wxToolBarBase,
13808 &_swigt__p_wxToolBarToolBase,
13809 &_swigt__p_wxToolbook,
13810 &_swigt__p_wxToolbookEvent,
13811 &_swigt__p_wxTopLevelWindow,
13812 &_swigt__p_wxTreeEvent,
13813 &_swigt__p_wxTreeItemId,
13814 &_swigt__p_wxTreeListColumnInfo,
13815 &_swigt__p_wxTreebook,
13816 &_swigt__p_wxTreebookEvent,
13817 &_swigt__p_wxUpdateUIEvent,
13818 &_swigt__p_wxValidator,
13819 &_swigt__p_wxWindow,
13820 &_swigt__p_wxWindowCreateEvent,
13821 &_swigt__p_wxWindowDestroyEvent,
13822 &_swigt__p_wxXPMHandler,
13823};
13824
13825static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13826static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13827static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13828static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13829static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13830static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13831static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13832static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13833static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13834static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13835static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13836static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
13837static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
13838static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
13839static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13840static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13841static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13842static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
13843static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13844static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13845static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13846static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13847static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13848static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13849static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13850static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13851static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13852static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13853static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13854static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13855static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13856static swig_cast_info _swigc__p_wxCollapsiblePaneEvent[] = {{&_swigt__p_wxCollapsiblePaneEvent, 0, 0, 0},{0, 0, 0, 0}};
13857static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13858static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13859static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13860static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13861static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13862static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13863static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
13864static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
13865static swig_cast_info _swigc__p_wxCollapsiblePane[] = {{&_swigt__p_wxCollapsiblePane, 0, 0, 0},{0, 0, 0, 0}};
13866static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13867static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
13868static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
13869static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13870static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
13871static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
13872static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13873static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13874static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13875static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13876static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13877static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13878static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13879static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13880static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13881static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13882static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
13883static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
13884static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13885static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13886static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13887static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13888static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13889static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13890static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13891static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13892static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13893static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13894static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13895static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
13896static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
13897static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13898static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13899static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
13900static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
13901static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13902static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13903static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13904static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13905static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13906static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
13907static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxControl, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_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_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_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}};
13908static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13909static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13910static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13911static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13912static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13913static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13914static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13915static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13916static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13917static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13918static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13919static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13920static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
13921static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13922static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13923static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13924static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13925static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13926static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13927static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13928static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13929static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13930static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13931static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13932static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13933static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13934static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13935static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13936static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13937static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13938static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13939static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13940static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13941static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13942static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
13943static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
13944static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13945static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13946static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13947static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13948static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13949static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13950static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13951static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13952static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
13953static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13954static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
13955static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
13956static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13957static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13958static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13959static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13960static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13961static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13962static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13963static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13964static swig_cast_info _swigc__p_wxSimpleHtmlListBox[] = {{&_swigt__p_wxSimpleHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13965static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13966static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13967static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13968static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
13969static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13970static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13971static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
13972static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
13973static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13974static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13975static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13976static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
13977static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
13978static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13979static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13980static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13981static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13982static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13983static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13984static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13985static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13986static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13987static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
13988static 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_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
13989static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13990static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13991static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13992static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13993static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13994static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13995static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13996static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13997static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13998static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13999static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
14000static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
14001static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
14002static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
14003static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
14004static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14005static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
14006static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
14007static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
14008static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
14009static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
14010static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
14011static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
14012static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
14013static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
14014static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14015static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
14016static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
14017static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14018static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
14019static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
14020static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
14021static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
14022static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14023static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
14024static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
14025static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
14026static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
14027static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
14028static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
14029static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
14030static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
14031static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
14032static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
14033static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
14034static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
14035static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14036static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
14037static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
14038static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
14039static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
14040static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
14041static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCollapsiblePaneEvent, _p_wxCollapsiblePaneEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_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_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_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_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_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}};
14042static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
14043static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
14044static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
14045static 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}};
14046static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
14047static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
14048static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
14049static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
14050static 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}};
14051static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14052static 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}};
14053static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14054static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14055static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14056static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14057static 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}};
14058static 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_wxSimpleHtmlListBox, _p_wxSimpleHtmlListBoxTo_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_wxWindow, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 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_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCollapsiblePane, _p_wxCollapsiblePaneTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
14059
14060static swig_cast_info *swig_cast_initial[] = {
14061 _swigc__p_char,
14062 _swigc__p_float,
14063 _swigc__p_form_ops_t,
14064 _swigc__p_int,
14065 _swigc__p_unsigned_char,
14066 _swigc__p_unsigned_int,
14067 _swigc__p_unsigned_long,
14068 _swigc__p_wxANIHandler,
14069 _swigc__p_wxAcceleratorTable,
14070 _swigc__p_wxActivateEvent,
14071 _swigc__p_wxArrayString,
14072 _swigc__p_wxBMPHandler,
14073 _swigc__p_wxBitmap,
14074 _swigc__p_wxBitmapButton,
14075 _swigc__p_wxBookCtrlBase,
14076 _swigc__p_wxBookCtrlBaseEvent,
14077 _swigc__p_wxBoxSizer,
14078 _swigc__p_wxButton,
14079 _swigc__p_wxCURHandler,
14080 _swigc__p_wxCalculateLayoutEvent,
14081 _swigc__p_wxCheckBox,
14082 _swigc__p_wxCheckListBox,
14083 _swigc__p_wxChildFocusEvent,
14084 _swigc__p_wxChoice,
14085 _swigc__p_wxChoicebook,
14086 _swigc__p_wxChoicebookEvent,
14087 _swigc__p_wxClipboardTextEvent,
14088 _swigc__p_wxCloseEvent,
14089 _swigc__p_wxCollapsiblePane,
14090 _swigc__p_wxCollapsiblePaneEvent,
14091 _swigc__p_wxColour,
14092 _swigc__p_wxColourData,
14093 _swigc__p_wxColourDialog,
14094 _swigc__p_wxColourPickerCtrl,
14095 _swigc__p_wxColourPickerEvent,
14096 _swigc__p_wxComboBox,
14097 _swigc__p_wxCommandEvent,
14098 _swigc__p_wxContextHelp,
14099 _swigc__p_wxContextHelpButton,
14100 _swigc__p_wxContextMenuEvent,
14101 _swigc__p_wxControl,
14102 _swigc__p_wxControlWithItems,
14103 _swigc__p_wxDateEvent,
14104 _swigc__p_wxDatePickerCtrl,
14105 _swigc__p_wxDialog,
14106 _swigc__p_wxDirDialog,
14107 _swigc__p_wxDirFilterListCtrl,
14108 _swigc__p_wxDirPickerCtrl,
14109 _swigc__p_wxDisplayChangedEvent,
14110 _swigc__p_wxDropFilesEvent,
14111 _swigc__p_wxDuplexMode,
14112 _swigc__p_wxDynamicSashSplitEvent,
14113 _swigc__p_wxDynamicSashUnifyEvent,
14114 _swigc__p_wxDynamicSashWindow,
14115 _swigc__p_wxEditableListBox,
14116 _swigc__p_wxEraseEvent,
14117 _swigc__p_wxEvent,
14118 _swigc__p_wxEvtHandler,
14119 _swigc__p_wxFSFile,
14120 _swigc__p_wxFileDialog,
14121 _swigc__p_wxFileDirPickerEvent,
14122 _swigc__p_wxFilePickerCtrl,
14123 _swigc__p_wxFileSystem,
14124 _swigc__p_wxFindDialogEvent,
14125 _swigc__p_wxFindReplaceData,
14126 _swigc__p_wxFindReplaceDialog,
14127 _swigc__p_wxFlexGridSizer,
14128 _swigc__p_wxFocusEvent,
14129 _swigc__p_wxFont,
14130 _swigc__p_wxFontData,
14131 _swigc__p_wxFontDialog,
14132 _swigc__p_wxFontPickerCtrl,
14133 _swigc__p_wxFontPickerEvent,
14134 _swigc__p_wxFrame,
14135 _swigc__p_wxGBSizerItem,
14136 _swigc__p_wxGIFHandler,
14137 _swigc__p_wxGauge,
14138 _swigc__p_wxGenericDirCtrl,
14139 _swigc__p_wxGenericDragImage,
14140 _swigc__p_wxGridBagSizer,
14141 _swigc__p_wxGridSizer,
14142 _swigc__p_wxHelpEvent,
14143 _swigc__p_wxHyperlinkCtrl,
14144 _swigc__p_wxHyperlinkEvent,
14145 _swigc__p_wxICOHandler,
14146 _swigc__p_wxIcon,
14147 _swigc__p_wxIconizeEvent,
14148 _swigc__p_wxIdleEvent,
14149 _swigc__p_wxImage,
14150 _swigc__p_wxImageHandler,
14151 _swigc__p_wxImageList,
14152 _swigc__p_wxIndividualLayoutConstraint,
14153 _swigc__p_wxInitDialogEvent,
14154 _swigc__p_wxJPEGHandler,
14155 _swigc__p_wxKeyEvent,
14156 _swigc__p_wxLEDNumberCtrl,
14157 _swigc__p_wxLayoutAlgorithm,
14158 _swigc__p_wxLayoutConstraints,
14159 _swigc__p_wxListBox,
14160 _swigc__p_wxListEvent,
14161 _swigc__p_wxListItem,
14162 _swigc__p_wxListView,
14163 _swigc__p_wxListbook,
14164 _swigc__p_wxListbookEvent,
14165 _swigc__p_wxMDIChildFrame,
14166 _swigc__p_wxMDIClientWindow,
14167 _swigc__p_wxMDIParentFrame,
14168 _swigc__p_wxMaximizeEvent,
14169 _swigc__p_wxMenu,
14170 _swigc__p_wxMenuBar,
14171 _swigc__p_wxMenuEvent,
14172 _swigc__p_wxMenuItem,
14173 _swigc__p_wxMessageDialog,
14174 _swigc__p_wxMiniFrame,
14175 _swigc__p_wxMouseCaptureChangedEvent,
14176 _swigc__p_wxMouseCaptureLostEvent,
14177 _swigc__p_wxMouseEvent,
14178 _swigc__p_wxMoveEvent,
14179 _swigc__p_wxMultiChoiceDialog,
14180 _swigc__p_wxNavigationKeyEvent,
14181 _swigc__p_wxNcPaintEvent,
14182 _swigc__p_wxNotebook,
14183 _swigc__p_wxNotebookEvent,
14184 _swigc__p_wxNotifyEvent,
14185 _swigc__p_wxNumberEntryDialog,
14186 _swigc__p_wxObject,
14187 _swigc__p_wxPCXHandler,
14188 _swigc__p_wxPNGHandler,
14189 _swigc__p_wxPNMHandler,
14190 _swigc__p_wxPageSetupDialog,
14191 _swigc__p_wxPageSetupDialogData,
14192 _swigc__p_wxPaintEvent,
14193 _swigc__p_wxPaletteChangedEvent,
14194 _swigc__p_wxPanel,
14195 _swigc__p_wxPaperSize,
14196 _swigc__p_wxPasswordEntryDialog,
14197 _swigc__p_wxPickerBase,
14198 _swigc__p_wxPopupWindow,
14199 _swigc__p_wxPreviewCanvas,
14200 _swigc__p_wxPreviewControlBar,
14201 _swigc__p_wxPreviewFrame,
14202 _swigc__p_wxPrintData,
14203 _swigc__p_wxPrintDialog,
14204 _swigc__p_wxPrintDialogData,
14205 _swigc__p_wxPrintPreview,
14206 _swigc__p_wxPrinter,
14207 _swigc__p_wxProgressDialog,
14208 _swigc__p_wxPyApp,
14209 _swigc__p_wxPyCommandEvent,
14210 _swigc__p_wxPyControl,
14211 _swigc__p_wxPyEvent,
14212 _swigc__p_wxPyHtmlListBox,
14213 _swigc__p_wxPyImageHandler,
14214 _swigc__p_wxPyListCtrl,
14215 _swigc__p_wxPyPanel,
14216 _swigc__p_wxPyPopupTransientWindow,
14217 _swigc__p_wxPyPreviewControlBar,
14218 _swigc__p_wxPyPreviewFrame,
14219 _swigc__p_wxPyPrintPreview,
14220 _swigc__p_wxPyPrintout,
14221 _swigc__p_wxPyScrolledWindow,
14222 _swigc__p_wxPySizer,
14223 _swigc__p_wxPyTaskBarIcon,
14224 _swigc__p_wxPyTreeCompanionWindow,
14225 _swigc__p_wxPyTreeCtrl,
14226 _swigc__p_wxPyTreeItemData,
14227 _swigc__p_wxPyTreeListCtrl,
14228 _swigc__p_wxPyVListBox,
14229 _swigc__p_wxPyVScrolledWindow,
14230 _swigc__p_wxPyValidator,
14231 _swigc__p_wxPyWindow,
14232 _swigc__p_wxQueryLayoutInfoEvent,
14233 _swigc__p_wxQueryNewPaletteEvent,
14234 _swigc__p_wxRadioBox,
14235 _swigc__p_wxRadioButton,
14236 _swigc__p_wxRemotelyScrolledTreeCtrl,
14237 _swigc__p_wxSashEvent,
14238 _swigc__p_wxSashLayoutWindow,
14239 _swigc__p_wxSashWindow,
14240 _swigc__p_wxScrollBar,
14241 _swigc__p_wxScrollEvent,
14242 _swigc__p_wxScrollWinEvent,
14243 _swigc__p_wxScrolledWindow,
14244 _swigc__p_wxSetCursorEvent,
14245 _swigc__p_wxShowEvent,
14246 _swigc__p_wxSimpleHtmlListBox,
14247 _swigc__p_wxSingleChoiceDialog,
14248 _swigc__p_wxSizeEvent,
14249 _swigc__p_wxSizer,
14250 _swigc__p_wxSizerItem,
14251 _swigc__p_wxSlider,
14252 _swigc__p_wxSpinButton,
14253 _swigc__p_wxSpinCtrl,
14254 _swigc__p_wxSpinEvent,
14255 _swigc__p_wxSplashScreen,
14256 _swigc__p_wxSplashScreenWindow,
14257 _swigc__p_wxSplitterEvent,
14258 _swigc__p_wxSplitterScrolledWindow,
14259 _swigc__p_wxSplitterWindow,
14260 _swigc__p_wxStaticBitmap,
14261 _swigc__p_wxStaticBox,
14262 _swigc__p_wxStaticBoxSizer,
14263 _swigc__p_wxStaticLine,
14264 _swigc__p_wxStaticPicture,
14265 _swigc__p_wxStaticText,
14266 _swigc__p_wxStatusBar,
14267 _swigc__p_wxStdDialogButtonSizer,
14268 _swigc__p_wxSysColourChangedEvent,
14269 _swigc__p_wxTGAHandler,
14270 _swigc__p_wxTIFFHandler,
14271 _swigc__p_wxTaskBarIconEvent,
14272 _swigc__p_wxTextCtrl,
14273 _swigc__p_wxTextEntryDialog,
14274 _swigc__p_wxTextUrlEvent,
14275 _swigc__p_wxThinSplitterWindow,
14276 _swigc__p_wxTipWindow,
14277 _swigc__p_wxToggleButton,
14278 _swigc__p_wxToolBar,
14279 _swigc__p_wxToolBarBase,
14280 _swigc__p_wxToolBarToolBase,
14281 _swigc__p_wxToolbook,
14282 _swigc__p_wxToolbookEvent,
14283 _swigc__p_wxTopLevelWindow,
14284 _swigc__p_wxTreeEvent,
14285 _swigc__p_wxTreeItemId,
14286 _swigc__p_wxTreeListColumnInfo,
14287 _swigc__p_wxTreebook,
14288 _swigc__p_wxTreebookEvent,
14289 _swigc__p_wxUpdateUIEvent,
14290 _swigc__p_wxValidator,
14291 _swigc__p_wxWindow,
14292 _swigc__p_wxWindowCreateEvent,
14293 _swigc__p_wxWindowDestroyEvent,
14294 _swigc__p_wxXPMHandler,
14295};
14296
14297
14298/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14299
14300static swig_const_info swig_const_table[] = {
14301{0, 0, 0, 0.0, 0, 0}};
14302
14303#ifdef __cplusplus
14304}
14305#endif
14306/* -----------------------------------------------------------------------------
14307 * Type initialization:
14308 * This problem is tough by the requirement that no dynamic
14309 * memory is used. Also, since swig_type_info structures store pointers to
14310 * swig_cast_info structures and swig_cast_info structures store pointers back
14311 * to swig_type_info structures, we need some lookup code at initialization.
14312 * The idea is that swig generates all the structures that are needed.
14313 * The runtime then collects these partially filled structures.
14314 * The SWIG_InitializeModule function takes these initial arrays out of
14315 * swig_module, and does all the lookup, filling in the swig_module.types
14316 * array with the correct data and linking the correct swig_cast_info
14317 * structures together.
14318 *
14319 * The generated swig_type_info structures are assigned staticly to an initial
14320 * array. We just loop though that array, and handle each type individually.
14321 * First we lookup if this type has been already loaded, and if so, use the
14322 * loaded structure instead of the generated one. Then we have to fill in the
14323 * cast linked list. The cast data is initially stored in something like a
14324 * two-dimensional array. Each row corresponds to a type (there are the same
14325 * number of rows as there are in the swig_type_initial array). Each entry in
14326 * a column is one of the swig_cast_info structures for that type.
14327 * The cast_initial array is actually an array of arrays, because each row has
14328 * a variable number of columns. So to actually build the cast linked list,
14329 * we find the array of casts associated with the type, and loop through it
14330 * adding the casts to the list. The one last trick we need to do is making
14331 * sure the type pointer in the swig_cast_info struct is correct.
14332 *
14333 * First off, we lookup the cast->type name to see if it is already loaded.
14334 * There are three cases to handle:
14335 * 1) If the cast->type has already been loaded AND the type we are adding
14336 * casting info to has not been loaded (it is in this module), THEN we
14337 * replace the cast->type pointer with the type pointer that has already
14338 * been loaded.
14339 * 2) If BOTH types (the one we are adding casting info to, and the
14340 * cast->type) are loaded, THEN the cast info has already been loaded by
14341 * the previous module so we just ignore it.
14342 * 3) Finally, if cast->type has not already been loaded, then we add that
14343 * swig_cast_info to the linked list (because the cast->type) pointer will
14344 * be correct.
14345 * ----------------------------------------------------------------------------- */
14346
14347#ifdef __cplusplus
14348extern "C" {
14349#if 0
14350} /* c-mode */
14351#endif
14352#endif
14353
14354#if 0
14355#define SWIGRUNTIME_DEBUG
14356#endif
14357
14358SWIGRUNTIME void
14359SWIG_InitializeModule(void *clientdata) {
14360 size_t i;
14361 swig_module_info *module_head;
14362 static int init_run = 0;
14363
14364 clientdata = clientdata;
14365
14366 if (init_run) return;
14367 init_run = 1;
14368
14369 /* Initialize the swig_module */
14370 swig_module.type_initial = swig_type_initial;
14371 swig_module.cast_initial = swig_cast_initial;
14372
14373 /* Try and load any already created modules */
14374 module_head = SWIG_GetModule(clientdata);
14375 if (module_head) {
14376 swig_module.next = module_head->next;
14377 module_head->next = &swig_module;
14378 } else {
14379 /* This is the first module loaded */
14380 swig_module.next = &swig_module;
14381 SWIG_SetModule(clientdata, &swig_module);
14382 }
14383
14384 /* Now work on filling in swig_module.types */
14385#ifdef SWIGRUNTIME_DEBUG
14386 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
14387#endif
14388 for (i = 0; i < swig_module.size; ++i) {
14389 swig_type_info *type = 0;
14390 swig_type_info *ret;
14391 swig_cast_info *cast;
14392
14393#ifdef SWIGRUNTIME_DEBUG
14394 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14395#endif
14396
14397 /* if there is another module already loaded */
14398 if (swig_module.next != &swig_module) {
14399 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14400 }
14401 if (type) {
14402 /* Overwrite clientdata field */
14403#ifdef SWIGRUNTIME_DEBUG
14404 printf("SWIG_InitializeModule: found type %s\n", type->name);
14405#endif
14406 if (swig_module.type_initial[i]->clientdata) {
14407 type->clientdata = swig_module.type_initial[i]->clientdata;
14408#ifdef SWIGRUNTIME_DEBUG
14409 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
14410#endif
14411 }
14412 } else {
14413 type = swig_module.type_initial[i];
14414 }
14415
14416 /* Insert casting types */
14417 cast = swig_module.cast_initial[i];
14418 while (cast->type) {
14419 /* Don't need to add information already in the list */
14420 ret = 0;
14421#ifdef SWIGRUNTIME_DEBUG
14422 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
14423#endif
14424 if (swig_module.next != &swig_module) {
14425 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
14426#ifdef SWIGRUNTIME_DEBUG
14427 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
14428#endif
14429 }
14430 if (ret) {
14431 if (type == swig_module.type_initial[i]) {
14432#ifdef SWIGRUNTIME_DEBUG
14433 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
14434#endif
14435 cast->type = ret;
14436 ret = 0;
14437 } else {
14438 /* Check for casting already in the list */
14439 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
14440#ifdef SWIGRUNTIME_DEBUG
14441 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
14442#endif
14443 if (!ocast) ret = 0;
14444 }
14445 }
14446
14447 if (!ret) {
14448#ifdef SWIGRUNTIME_DEBUG
14449 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
14450#endif
14451 if (type->cast) {
14452 type->cast->prev = cast;
14453 cast->next = type->cast;
14454 }
14455 type->cast = cast;
14456 }
14457 cast++;
14458 }
14459 /* Set entry in modules->types array equal to the type */
14460 swig_module.types[i] = type;
14461 }
14462 swig_module.types[i] = 0;
14463
14464#ifdef SWIGRUNTIME_DEBUG
14465 printf("**** SWIG_InitializeModule: Cast List ******\n");
14466 for (i = 0; i < swig_module.size; ++i) {
14467 int j = 0;
14468 swig_cast_info *cast = swig_module.cast_initial[i];
14469 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14470 while (cast->type) {
14471 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14472 cast++;
14473 ++j;
14474 }
14475 printf("---- Total casts: %d\n",j);
14476 }
14477 printf("**** SWIG_InitializeModule: Cast List ******\n");
14478#endif
14479}
14480
14481/* This function will propagate the clientdata field of type to
14482* any new swig_type_info structures that have been added into the list
14483* of equivalent types. It is like calling
14484* SWIG_TypeClientData(type, clientdata) a second time.
14485*/
14486SWIGRUNTIME void
14487SWIG_PropagateClientData(void) {
14488 size_t i;
14489 swig_cast_info *equiv;
14490 static int init_run = 0;
14491
14492 if (init_run) return;
14493 init_run = 1;
14494
14495 for (i = 0; i < swig_module.size; i++) {
14496 if (swig_module.types[i]->clientdata) {
14497 equiv = swig_module.types[i]->cast;
14498 while (equiv) {
14499 if (!equiv->converter) {
14500 if (equiv->type && !equiv->type->clientdata)
14501 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14502 }
14503 equiv = equiv->next;
14504 }
14505 }
14506 }
14507}
14508
14509#ifdef __cplusplus
14510#if 0
14511{
14512 /* c-mode */
14513#endif
14514}
14515#endif
14516
14517
14518
14519#ifdef __cplusplus
14520extern "C" {
14521#endif
14522
14523 /* Python-specific SWIG API */
14524#define SWIG_newvarlink() SWIG_Python_newvarlink()
14525#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14526#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
14527
14528 /* -----------------------------------------------------------------------------
14529 * global variable support code.
14530 * ----------------------------------------------------------------------------- */
14531
14532 typedef struct swig_globalvar {
14533 char *name; /* Name of global variable */
14534 PyObject *(*get_attr)(void); /* Return the current value */
14535 int (*set_attr)(PyObject *); /* Set the value */
14536 struct swig_globalvar *next;
14537 } swig_globalvar;
14538
14539 typedef struct swig_varlinkobject {
14540 PyObject_HEAD
14541 swig_globalvar *vars;
14542 } swig_varlinkobject;
14543
14544 SWIGINTERN PyObject *
14545 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14546 return PyString_FromString("<Swig global variables>");
14547 }
14548
14549 SWIGINTERN PyObject *
14550 swig_varlink_str(swig_varlinkobject *v) {
14551 PyObject *str = PyString_FromString("(");
14552 swig_globalvar *var;
14553 for (var = v->vars; var; var=var->next) {
14554 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14555 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14556 }
14557 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14558 return str;
14559 }
14560
14561 SWIGINTERN int
14562 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14563 PyObject *str = swig_varlink_str(v);
14564 fprintf(fp,"Swig global variables ");
14565 fprintf(fp,"%s\n", PyString_AsString(str));
14566 Py_DECREF(str);
14567 return 0;
14568 }
14569
14570 SWIGINTERN void
14571 swig_varlink_dealloc(swig_varlinkobject *v) {
14572 swig_globalvar *var = v->vars;
14573 while (var) {
14574 swig_globalvar *n = var->next;
14575 free(var->name);
14576 free(var);
14577 var = n;
14578 }
14579 }
14580
14581 SWIGINTERN PyObject *
14582 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14583 PyObject *res = NULL;
14584 swig_globalvar *var = v->vars;
14585 while (var) {
14586 if (strcmp(var->name,n) == 0) {
14587 res = (*var->get_attr)();
14588 break;
14589 }
14590 var = var->next;
14591 }
14592 if (res == NULL && !PyErr_Occurred()) {
14593 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14594 }
14595 return res;
14596 }
14597
14598 SWIGINTERN int
14599 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14600 int res = 1;
14601 swig_globalvar *var = v->vars;
14602 while (var) {
14603 if (strcmp(var->name,n) == 0) {
14604 res = (*var->set_attr)(p);
14605 break;
14606 }
14607 var = var->next;
14608 }
14609 if (res == 1 && !PyErr_Occurred()) {
14610 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14611 }
14612 return res;
14613 }
14614
14615 SWIGINTERN PyTypeObject*
14616 swig_varlink_type(void) {
14617 static char varlink__doc__[] = "Swig var link object";
14618 static PyTypeObject varlink_type;
14619 static int type_init = 0;
14620 if (!type_init) {
14621 const PyTypeObject tmp
14622 = {
14623 PyObject_HEAD_INIT(NULL)
14624 0, /* Number of items in variable part (ob_size) */
14625 (char *)"swigvarlink", /* Type name (tp_name) */
14626 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14627 0, /* Itemsize (tp_itemsize) */
14628 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14629 (printfunc) swig_varlink_print, /* Print (tp_print) */
14630 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14631 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14632 0, /* tp_compare */
14633 (reprfunc) swig_varlink_repr, /* tp_repr */
14634 0, /* tp_as_number */
14635 0, /* tp_as_sequence */
14636 0, /* tp_as_mapping */
14637 0, /* tp_hash */
14638 0, /* tp_call */
14639 (reprfunc)swig_varlink_str, /* tp_str */
14640 0, /* tp_getattro */
14641 0, /* tp_setattro */
14642 0, /* tp_as_buffer */
14643 0, /* tp_flags */
14644 varlink__doc__, /* tp_doc */
14645 0, /* tp_traverse */
14646 0, /* tp_clear */
14647 0, /* tp_richcompare */
14648 0, /* tp_weaklistoffset */
14649#if PY_VERSION_HEX >= 0x02020000
14650 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
14651#endif
14652#if PY_VERSION_HEX >= 0x02030000
14653 0, /* tp_del */
14654#endif
14655#ifdef COUNT_ALLOCS
14656 0,0,0,0 /* tp_alloc -> tp_next */
14657#endif
14658 };
14659 varlink_type = tmp;
14660 varlink_type.ob_type = &PyType_Type;
14661 type_init = 1;
14662 }
14663 return &varlink_type;
14664 }
14665
14666 /* Create a variable linking object for use later */
14667 SWIGINTERN PyObject *
14668 SWIG_Python_newvarlink(void) {
14669 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14670 if (result) {
14671 result->vars = 0;
14672 }
14673 return ((PyObject*) result);
14674 }
14675
14676 SWIGINTERN void
14677 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14678 swig_varlinkobject *v = (swig_varlinkobject *) p;
14679 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14680 if (gv) {
14681 size_t size = strlen(name)+1;
14682 gv->name = (char *)malloc(size);
14683 if (gv->name) {
14684 strncpy(gv->name,name,size);
14685 gv->get_attr = get_attr;
14686 gv->set_attr = set_attr;
14687 gv->next = v->vars;
14688 }
14689 }
14690 v->vars = gv;
14691 }
14692
14693 SWIGINTERN PyObject *
14694 SWIG_globals() {
14695 static PyObject *_SWIG_globals = 0;
14696 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14697 return _SWIG_globals;
14698 }
14699
14700 /* -----------------------------------------------------------------------------
14701 * constants/methods manipulation
14702 * ----------------------------------------------------------------------------- */
14703
14704 /* Install Constants */
14705 SWIGINTERN void
14706 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14707 PyObject *obj = 0;
14708 size_t i;
14709 for (i = 0; constants[i].type; ++i) {
14710 switch(constants[i].type) {
14711 case SWIG_PY_POINTER:
14712 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14713 break;
14714 case SWIG_PY_BINARY:
14715 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14716 break;
14717 default:
14718 obj = 0;
14719 break;
14720 }
14721 if (obj) {
14722 PyDict_SetItemString(d, constants[i].name, obj);
14723 Py_DECREF(obj);
14724 }
14725 }
14726 }
14727
14728 /* -----------------------------------------------------------------------------*/
14729 /* Fix SwigMethods to carry the callback ptrs when needed */
14730 /* -----------------------------------------------------------------------------*/
14731
14732 SWIGINTERN void
14733 SWIG_Python_FixMethods(PyMethodDef *methods,
14734 swig_const_info *const_table,
14735 swig_type_info **types,
14736 swig_type_info **types_initial) {
14737 size_t i;
14738 for (i = 0; methods[i].ml_name; ++i) {
14739 const char *c = methods[i].ml_doc;
14740 if (c && (c = strstr(c, "swig_ptr: "))) {
14741 int j;
14742 swig_const_info *ci = 0;
14743 const char *name = c + 10;
14744 for (j = 0; const_table[j].type; ++j) {
14745 if (strncmp(const_table[j].name, name,
14746 strlen(const_table[j].name)) == 0) {
14747 ci = &(const_table[j]);
14748 break;
14749 }
14750 }
14751 if (ci) {
14752 size_t shift = (ci->ptype) - types;
14753 swig_type_info *ty = types_initial[shift];
14754 size_t ldoc = (c - methods[i].ml_doc);
14755 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14756 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14757 if (ndoc) {
14758 char *buff = ndoc;
14759 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14760 if (ptr) {
14761 strncpy(buff, methods[i].ml_doc, ldoc);
14762 buff += ldoc;
14763 strncpy(buff, "swig_ptr: ", 10);
14764 buff += 10;
14765 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14766 methods[i].ml_doc = ndoc;
14767 }
14768 }
14769 }
14770 }
14771 }
14772 }
14773
14774#ifdef __cplusplus
14775}
14776#endif
14777
14778/* -----------------------------------------------------------------------------*
14779 * Partial Init method
14780 * -----------------------------------------------------------------------------*/
14781
14782#ifdef __cplusplus
14783extern "C"
14784#endif
14785SWIGEXPORT void SWIG_init(void) {
14786 PyObject *m, *d;
14787
14788 /* Fix SwigMethods to carry the callback ptrs when needed */
14789 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14790
14791 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14792 d = PyModule_GetDict(m);
14793
14794 SWIG_InitializeModule(0);
14795 SWIG_InstallConstants(d,swig_const_table);
14796
14797
14798 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14799 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14800 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14801 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14802 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14803 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14804 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14805 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14806 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14807 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14808 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14809 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14810 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14811 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14812 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14813 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14814 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14815 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14816 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14817 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14818 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14819 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14820 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14821 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14822 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
14823 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14824 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14825 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14826
14827 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14828
14829 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14830 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14831 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14832 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14833
14834 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14835
14836}
14837