]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
Change the wxCharBuffer typemap to make sure there is data before
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
44127b65
RD
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
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
44127b65
RD
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);
3004cfd8 27};
44127b65
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
44127b65 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
RD
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
3004cfd8 46#endif
44127b65 47
32fe5131
RD
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
0085ce49
RD
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__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
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
0085ce49
RD
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
32fe5131
RD
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
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
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
0085ce49
RD
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
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
3004cfd8 129#include <Python.h>
44127b65 130
0085ce49 131/* -----------------------------------------------------------------------------
3004cfd8 132 * swigrun.swg
44127b65 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
44127b65 137
3004cfd8
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
44127b65 141
3004cfd8
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
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)
44127b65 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
3004cfd8
RD
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*/
32fe5131 159
3004cfd8 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
3004cfd8 162#endif
32fe5131 163
3004cfd8 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
44127b65
RD
166#endif
167
0085ce49
RD
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
32fe5131
RD
309#include <string.h>
310
44127b65
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
44127b65 319typedef struct swig_type_info {
32fe5131
RD
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 */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
44127b65
RD
326} swig_type_info;
327
32fe5131
RD
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
3004cfd8
RD
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;
0085ce49 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
3004cfd8
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
3004cfd8
RD
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 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
3004cfd8
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
3004cfd8 388*/
32fe5131
RD
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;
3004cfd8 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
3004cfd8 400 }
32fe5131 401 return equiv;
3004cfd8
RD
402}
403
32fe5131
RD
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
3004cfd8
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
3004cfd8 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
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);
3004cfd8 439}
44127b65 440
3004cfd8
RD
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
3004cfd8
RD
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. */
0085ce49 481 if (!type) return NULL;
3004cfd8
RD
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
3004cfd8
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
3004cfd8
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
3004cfd8 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
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);
3004cfd8 556 }
32fe5131
RD
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);
3004cfd8 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
3004cfd8
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
3004cfd8 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
3004cfd8
RD
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;
32fe5131 619 register const unsigned char *eu = u + sz;
3004cfd8 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 622 register unsigned char uu;
3004cfd8
RD
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
3004cfd8
RD
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}
44127b65
RD
695
696#ifdef __cplusplus
697}
44127b65
RD
698#endif
699
0085ce49
RD
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
3004cfd8 714
0085ce49
RD
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
3004cfd8 764#endif
0085ce49
RD
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
3004cfd8
RD
799
800/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
3004cfd8
RD
802 * ----------------------------------------------------------------------------- */
803
0085ce49
RD
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}
3004cfd8 846
0085ce49
RD
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
3004cfd8
RD
935#endif
936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
3004cfd8 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
3004cfd8
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952/* Constant Types */
44127b65
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
44127b65
RD
956/* Constant information structure */
957typedef struct swig_const_info {
0085ce49
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
44127b65
RD
964} swig_const_info;
965
3004cfd8 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
3004cfd8
RD
970}
971#endif
972
973
0085ce49
RD
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 *
3004cfd8
RD
978 * pyrun.swg
979 *
0085ce49
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
3004cfd8 983 *
0085ce49 984 * ----------------------------------------------------------------------------- */
3004cfd8 985
44127b65 986/* Common SWIG API */
44127b65 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
RD
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
44127b65 1000
0085ce49
RD
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)
44127b65 1004
0085ce49
RD
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)
44127b65 1008
0085ce49
RD
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)
44127b65 1012
0085ce49
RD
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)
32fe5131 1016
3004cfd8 1017
0085ce49 1018/* Runtime API */
3004cfd8 1019
0085ce49
RD
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)
32fe5131 1023
0085ce49
RD
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
32fe5131 1029
3004cfd8 1030
0085ce49 1031/* Runtime API implementation */
3004cfd8 1032
0085ce49 1033/* Error manipulation */
3004cfd8 1034
0085ce49
RD
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;
3004cfd8
RD
1041}
1042
0085ce49
RD
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;
3004cfd8
RD
1048}
1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
3004cfd8 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
3004cfd8
RD
1058}
1059
0085ce49 1060/* Append a value to the result obj */
3004cfd8 1061
0085ce49
RD
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;
3004cfd8 1088 } else {
0085ce49
RD
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);
3004cfd8 1100 }
0085ce49
RD
1101 return result;
1102#endif
3004cfd8
RD
1103}
1104
0085ce49 1105/* Unpack the argument tuple */
3004cfd8 1106
0085ce49
RD
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*/
3004cfd8
RD
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*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
3004cfd8 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
3004cfd8
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
3004cfd8 1618 if (!type_init) {
0085ce49
RD
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 */
3004cfd8 1632#endif
0085ce49
RD
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 */
3004cfd8 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
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 */
3004cfd8
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
3004cfd8
RD
1675#endif
1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
44127b65 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
3004cfd8
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
3004cfd8 1685}
c32bde28 1686
3004cfd8 1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
3004cfd8 1689{
0085ce49
RD
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;
32fe5131 1696 }
0085ce49 1697 return (PyObject *)sobj;
3004cfd8 1698}
44127b65 1699
3004cfd8
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
44127b65 1703
3004cfd8
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
3004cfd8
RD
1708 size_t size;
1709} PySwigPacked;
44127b65 1710
3004cfd8 1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
3004cfd8
RD
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 }
0085ce49 1720 fputs(v->ty->name,fp);
3004cfd8
RD
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))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
3004cfd8 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
3004cfd8
RD
1733 }
1734}
c32bde28 1735
3004cfd8
RD
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))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
3004cfd8 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
3004cfd8
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
0085ce49
RD
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);
3004cfd8
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
3004cfd8
RD
1757
1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
RD
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 */
3004cfd8
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
3004cfd8
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
3004cfd8 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
3004cfd8
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
3004cfd8
RD
1848}
1849
1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
3004cfd8 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
3004cfd8 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
3004cfd8 1865 }
0085ce49 1866 return (PyObject *) sobj;
3004cfd8
RD
1867}
1868
0085ce49 1869SWIGRUNTIME swig_type_info *
3004cfd8
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
0085ce49
RD
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 }
3004cfd8
RD
1880}
1881
3004cfd8 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
3004cfd8
RD
1884 * ----------------------------------------------------------------------------- */
1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
3004cfd8 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
3004cfd8 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
3004cfd8 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
3004cfd8 1903{
0085ce49
RD
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);
3004cfd8 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
3004cfd8 1929 }
3004cfd8 1930 }
0085ce49
RD
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;
3004cfd8
RD
1947 }
1948}
1949
0085ce49
RD
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 }
3004cfd8 1961 }
0085ce49 1962 return 0;
3004cfd8
RD
1963}
1964
0085ce49
RD
1965/* Convert a pointer value */
1966
3004cfd8 1967SWIGRUNTIME int
0085ce49
RD
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 }
3004cfd8 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
3004cfd8 1995 }
3004cfd8 1996 }
0085ce49
RD
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 }
3004cfd8
RD
2042 }
2043}
2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
3004cfd8 2047SWIGRUNTIME int
0085ce49
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
3004cfd8 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
RD
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;
3004cfd8
RD
2069 }
2070}
2071
0085ce49 2072/* Convert a packed value value */
3004cfd8 2073
3004cfd8 2074SWIGRUNTIME int
0085ce49
RD
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 }
3004cfd8 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
3004cfd8 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
3004cfd8 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
3004cfd8 2096
0085ce49
RD
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 }
3004cfd8 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
3004cfd8 2120 }
0085ce49
RD
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);
3004cfd8 2126 }
0085ce49
RD
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;
3004cfd8 2140 }
0085ce49
RD
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;
3004cfd8 2147 }
0085ce49
RD
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
3004cfd8
RD
2158}
2159
0085ce49
RD
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 }
3004cfd8 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
3004cfd8 2180
0085ce49
RD
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]);
3004cfd8 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
3004cfd8 2193 }
0085ce49 2194 return SWIG_Py_Void();
3004cfd8 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
3004cfd8 2199
3004cfd8 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
3004cfd8 2202 if (!ptr) {
0085ce49
RD
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;
3004cfd8 2213 }
3004cfd8 2214 }
0085ce49 2215 return robj;
3004cfd8 2216 }
3004cfd8
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
3004cfd8 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
3004cfd8
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
3004cfd8
RD
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 }
3004cfd8 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
3004cfd8
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
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");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 2268 return SWIG_ERROR;
32fe5131
RD
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));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
3004cfd8 2282}
32fe5131 2283#endif
3004cfd8 2284
0085ce49
RD
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
32fe5131
RD
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);
0085ce49 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
994141e6 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
3004cfd8 2320}
15afbcd0 2321
0085ce49
RD
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]
32fe5131
RD
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]
2131d850
RD
2492#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493#define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494#define SWIGTYPE_p_wxColour swig_types[28]
2495#define SWIGTYPE_p_wxColourData swig_types[29]
2496#define SWIGTYPE_p_wxColourDialog swig_types[30]
453fb36b
RD
2497#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499#define SWIGTYPE_p_wxComboBox swig_types[33]
2500#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501#define SWIGTYPE_p_wxContextHelp swig_types[35]
2502#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504#define SWIGTYPE_p_wxControl swig_types[38]
2505#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506#define SWIGTYPE_p_wxDateEvent swig_types[40]
2507#define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508#define SWIGTYPE_p_wxDialog swig_types[42]
2509#define SWIGTYPE_p_wxDirDialog swig_types[43]
2510#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511#define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513#define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514#define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517#define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518#define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519#define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvent swig_types[54]
2521#define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522#define SWIGTYPE_p_wxFSFile swig_types[56]
2523#define SWIGTYPE_p_wxFileDialog swig_types[57]
2524#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525#define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526#define SWIGTYPE_p_wxFileSystem swig_types[60]
2527#define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529#define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530#define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531#define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532#define SWIGTYPE_p_wxFont swig_types[66]
2533#define SWIGTYPE_p_wxFontData swig_types[67]
2534#define SWIGTYPE_p_wxFontDialog swig_types[68]
2535#define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536#define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537#define SWIGTYPE_p_wxFrame swig_types[71]
2538#define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539#define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540#define SWIGTYPE_p_wxGauge swig_types[74]
2541#define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542#define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543#define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544#define SWIGTYPE_p_wxGridSizer swig_types[78]
2545#define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547#define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548#define SWIGTYPE_p_wxICOHandler swig_types[82]
2549#define SWIGTYPE_p_wxIcon swig_types[83]
2550#define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551#define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552#define SWIGTYPE_p_wxImage swig_types[86]
2553#define SWIGTYPE_p_wxImageHandler swig_types[87]
2554#define SWIGTYPE_p_wxImageList swig_types[88]
2555#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556#define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557#define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558#define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561#define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562#define SWIGTYPE_p_wxListBox swig_types[96]
2563#define SWIGTYPE_p_wxListEvent swig_types[97]
2564#define SWIGTYPE_p_wxListItem swig_types[98]
2565#define SWIGTYPE_p_wxListView swig_types[99]
2566#define SWIGTYPE_p_wxListbook swig_types[100]
2567#define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568#define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569#define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570#define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571#define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572#define SWIGTYPE_p_wxMenu swig_types[106]
2573#define SWIGTYPE_p_wxMenuBar swig_types[107]
2574#define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575#define SWIGTYPE_p_wxMenuItem swig_types[109]
2576#define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577#define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
34e0a3bb
RD
2579#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580#define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581#define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584#define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585#define SWIGTYPE_p_wxNotebook swig_types[119]
2586#define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587#define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588#define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589#define SWIGTYPE_p_wxObject swig_types[123]
2590#define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591#define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592#define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593#define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594#define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595#define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597#define SWIGTYPE_p_wxPanel swig_types[131]
2598#define SWIGTYPE_p_wxPaperSize swig_types[132]
2599#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600#define SWIGTYPE_p_wxPickerBase swig_types[134]
2601#define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602#define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603#define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604#define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605#define SWIGTYPE_p_wxPrintData swig_types[139]
2606#define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607#define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608#define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609#define SWIGTYPE_p_wxPrinter swig_types[143]
2610#define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611#define SWIGTYPE_p_wxPyApp swig_types[145]
2612#define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613#define SWIGTYPE_p_wxPyControl swig_types[147]
2614#define SWIGTYPE_p_wxPyEvent swig_types[148]
2615#define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616#define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617#define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618#define SWIGTYPE_p_wxPyPanel swig_types[152]
2619#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621#define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622#define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623#define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624#define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625#define SWIGTYPE_p_wxPySizer swig_types[159]
2626#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628#define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629#define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631#define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633#define SWIGTYPE_p_wxPyValidator swig_types[167]
2634#define SWIGTYPE_p_wxPyWindow swig_types[168]
2635#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637#define SWIGTYPE_p_wxRadioBox swig_types[171]
2638#define SWIGTYPE_p_wxRadioButton swig_types[172]
2639#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640#define SWIGTYPE_p_wxSashEvent swig_types[174]
2641#define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642#define SWIGTYPE_p_wxSashWindow swig_types[176]
2643#define SWIGTYPE_p_wxScrollBar swig_types[177]
2644#define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645#define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646#define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647#define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648#define SWIGTYPE_p_wxShowEvent swig_types[182]
2649#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650#define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651#define SWIGTYPE_p_wxSizer swig_types[185]
2652#define SWIGTYPE_p_wxSizerItem swig_types[186]
2653#define SWIGTYPE_p_wxSlider swig_types[187]
2654#define SWIGTYPE_p_wxSpinButton swig_types[188]
2655#define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656#define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657#define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658#define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659#define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661#define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662#define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663#define SWIGTYPE_p_wxStaticBox swig_types[197]
2664#define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665#define SWIGTYPE_p_wxStaticLine swig_types[199]
2666#define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667#define SWIGTYPE_p_wxStaticText swig_types[201]
2668#define SWIGTYPE_p_wxStatusBar swig_types[202]
2669#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
2671#define SWIGTYPE_p_wxTIFFHandler swig_types[205]
2672#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[206]
2673#define SWIGTYPE_p_wxTextCtrl swig_types[207]
2674#define SWIGTYPE_p_wxTextEntryDialog swig_types[208]
2675#define SWIGTYPE_p_wxTextUrlEvent swig_types[209]
2676#define SWIGTYPE_p_wxThinSplitterWindow swig_types[210]
2677#define SWIGTYPE_p_wxTipWindow swig_types[211]
2678#define SWIGTYPE_p_wxToggleButton swig_types[212]
2679#define SWIGTYPE_p_wxToolBar swig_types[213]
2680#define SWIGTYPE_p_wxToolBarBase swig_types[214]
2681#define SWIGTYPE_p_wxToolBarToolBase swig_types[215]
2682#define SWIGTYPE_p_wxToolbook swig_types[216]
2683#define SWIGTYPE_p_wxToolbookEvent swig_types[217]
2684#define SWIGTYPE_p_wxTopLevelWindow swig_types[218]
2685#define SWIGTYPE_p_wxTreeEvent swig_types[219]
2686#define SWIGTYPE_p_wxTreeItemId swig_types[220]
2687#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[221]
2688#define SWIGTYPE_p_wxTreebook swig_types[222]
2689#define SWIGTYPE_p_wxTreebookEvent swig_types[223]
2690#define SWIGTYPE_p_wxUpdateUIEvent swig_types[224]
2691#define SWIGTYPE_p_wxValidator swig_types[225]
2692#define SWIGTYPE_p_wxWindow swig_types[226]
2693#define SWIGTYPE_p_wxWindowCreateEvent swig_types[227]
2694#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[228]
2695#define SWIGTYPE_p_wxXPMHandler swig_types[229]
2696static swig_type_info *swig_types[231];
2697static swig_module_info swig_module = {swig_types, 230, 0, 0, 0, 0};
32fe5131
RD
2698#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2699#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
994141e6 2700
3004cfd8 2701/* -------- TYPES TABLE (END) -------- */
994141e6 2702
0085ce49
RD
2703#if (PY_VERSION_HEX <= 0x02000000)
2704# if !defined(SWIG_PYTHON_CLASSIC)
2705# error "This python version requires to use swig with the '-classic' option"
2706# endif
2707#endif
2708#if (PY_VERSION_HEX <= 0x02020000)
2709# error "This python version requires to use swig with the '-nomodern' option"
2710#endif
2711#if (PY_VERSION_HEX <= 0x02020000)
2712# error "This python version requires to use swig with the '-nomodernargs' option"
2713#endif
2714#ifndef METH_O
2715# error "This python version requires to use swig with the '-nofastunpack' option"
2716#endif
994141e6 2717
3004cfd8
RD
2718/*-----------------------------------------------
2719 @(target):= _gizmos.so
2720 ------------------------------------------------*/
2721#define SWIG_init init_gizmos
2722
2723#define SWIG_name "_gizmos"
994141e6 2724
0085ce49
RD
2725#define SWIGVERSION 0x010329
2726
2727
2728#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2729#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2730
2731
2732#include <stdexcept>
2733
2734
2735namespace swig {
2736 class PyObject_ptr {
2737 protected:
2738 PyObject *_obj;
2739
2740 public:
2741 PyObject_ptr() :_obj(0)
2742 {
2743 }
2744
2745 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2746 {
2747 Py_XINCREF(_obj);
2748 }
2749
2750 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2751 {
2752 if (initial_ref) Py_XINCREF(_obj);
2753 }
2754
2755 PyObject_ptr & operator=(const PyObject_ptr& item)
2756 {
2757 Py_XINCREF(item._obj);
2758 Py_XDECREF(_obj);
2759 _obj = item._obj;
2760 return *this;
2761 }
2762
2763 ~PyObject_ptr()
2764 {
2765 Py_XDECREF(_obj);
2766 }
2767
2768 operator PyObject *() const
2769 {
2770 return _obj;
2771 }
2772
2773 PyObject *operator->() const
2774 {
2775 return _obj;
2776 }
2777 };
2778}
2779
2780
2781namespace swig {
2782 struct PyObject_var : PyObject_ptr {
2783 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2784
2785 PyObject_var & operator = (PyObject* obj)
2786 {
2787 Py_XDECREF(_obj);
2788 _obj = obj;
2789 return *this;
2790 }
2791 };
2792}
2793
2794
44127b65
RD
2795#include "wx/wxPython/wxPython.h"
2796#include "wx/wxPython/pyclasses.h"
28eab81f 2797
44127b65
RD
2798#include <wx/gizmos/dynamicsash.h>
2799#include <wx/gizmos/editlbox.h>
2800#include <wx/gizmos/splittree.h>
2801#include <wx/gizmos/ledctrl.h>
6260902d 2802#include <wx/gizmos/statpict.h>
44127b65
RD
2803
2804#include <wx/listctrl.h>
2805#include <wx/treectrl.h>
2806#include <wx/imaglist.h>
28eab81f 2807
44127b65 2808
b2dc1044
RD
2809 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2810 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
6260902d 2811 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
b2dc1044 2812 static const wxString wxPyEmptyString(wxEmptyString);
994141e6 2813
0085ce49 2814 #define SWIG_From_long PyInt_FromLong
3004cfd8
RD
2815
2816
0085ce49
RD
2817SWIGINTERNINLINE PyObject *
2818SWIG_From_int (int value)
2819{
2820 return SWIG_From_long (value);
2821}
15afbcd0
RD
2822
2823
0085ce49
RD
2824#include <limits.h>
2825#ifndef LLONG_MIN
2826# define LLONG_MIN LONG_LONG_MIN
2827#endif
2828#ifndef LLONG_MAX
2829# define LLONG_MAX LONG_LONG_MAX
2830#endif
2831#ifndef ULLONG_MAX
2832# define ULLONG_MAX ULONG_LONG_MAX
2833#endif
15afbcd0
RD
2834
2835
3004cfd8 2836SWIGINTERN int
0085ce49 2837SWIG_AsVal_long (PyObject* obj, long* val)
15afbcd0 2838{
c32bde28
RD
2839 if (PyNumber_Check(obj)) {
2840 if (val) *val = PyInt_AsLong(obj);
0085ce49 2841 return SWIG_OK;
c32bde28 2842 }
0085ce49 2843 return SWIG_TypeError;
15afbcd0
RD
2844}
2845
2846
3004cfd8 2847SWIGINTERN int
0085ce49
RD
2848SWIG_AsVal_int (PyObject * obj, int *val)
2849{
c32bde28 2850 long v;
0085ce49
RD
2851 int res = SWIG_AsVal_long (obj, &v);
2852 if (SWIG_IsOK(res)) {
2853 if ((v < INT_MIN || v > INT_MAX)) {
2854 return SWIG_OverflowError;
c32bde28 2855 } else {
0085ce49 2856 if (val) *val = static_cast< int >(v);
c32bde28 2857 }
0085ce49
RD
2858 }
2859 return res;
994141e6
RD
2860}
2861
0085ce49 2862SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
2863 wxArrayString strings;
2864 self->GetStrings(strings);
2865 return wxArrayString2PyList_helper(strings);
2866 }
2867
2868 typedef wxTreeCtrl wxPyTreeCtrl;
2869
2870
2871class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2872{
2873public:
2874 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2875 const wxPoint& pos = wxDefaultPosition,
2876 const wxSize& size = wxDefaultSize,
2877 long style = 0)
2878 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2879
2880
2881 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2882 bool found;
5a446332 2883 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 2884 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 2885 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
ae8162c8
RD
2886 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2887 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
2888 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2889 Py_DECREF(dcobj);
2890 Py_DECREF(idobj);
2891 Py_DECREF(recobj);
2892 }
4f89f6a3 2893 wxPyEndBlockThreads(blocked);
44127b65
RD
2894 if (! found)
2895 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2896 }
2897
2898 PYPRIVATE;
2899};
2900
994141e6 2901
3004cfd8 2902SWIGINTERN int
0085ce49 2903SWIG_AsVal_bool (PyObject *obj, bool *val)
c32bde28 2904{
c32bde28
RD
2905 if (obj == Py_True) {
2906 if (val) *val = true;
0085ce49
RD
2907 return SWIG_OK;
2908 } else if (obj == Py_False) {
c32bde28 2909 if (val) *val = false;
0085ce49 2910 return SWIG_OK;
3004cfd8 2911 } else {
0085ce49
RD
2912 long v = 0;
2913 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2914 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2915 return res;
c32bde28 2916 }
c32bde28 2917}
994141e6 2918
c32bde28 2919
33d6fd3b
RD
2920#include "wx/treelistctrl.h"
2921#include "wx/wxPython/pytree.h"
2922
2923
2924 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2925
2926SWIGINTERNINLINE PyObject*
2927SWIG_From_unsigned_SS_long (unsigned long value)
2928{
2929 return (value > LONG_MAX) ?
2930 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2931}
2932
2933
2934SWIGINTERNINLINE PyObject *
2935SWIG_From_size_t (size_t value)
2936{
2937 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2938}
2939
2940
3004cfd8 2941SWIGINTERN int
0085ce49 2942SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
15afbcd0 2943{
c32bde28
RD
2944 long v = 0;
2945 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2946 return SWIG_TypeError;
c32bde28
RD
2947 }
2948 else if (val)
2949 *val = (unsigned long)v;
0085ce49 2950 return SWIG_OK;
15afbcd0
RD
2951}
2952
2953
32fe5131 2954SWIGINTERNINLINE int
0085ce49 2955SWIG_AsVal_size_t (PyObject * obj, size_t *val)
15afbcd0 2956{
0085ce49
RD
2957 unsigned long v;
2958 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2959 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2960 return res;
15afbcd0
RD
2961}
2962
44127b65
RD
2963 // C++ version of Python aware control
2964class wxPyTreeListCtrl : public wxTreeListCtrl {
2965 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2966public:
2967 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2968 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2969 const wxPoint& pos,
2970 const wxSize& size,
2971 long style,
2972 const wxValidator &validator,
2973 const wxString& name) :
2974 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2975
33d6fd3b
RD
2976 virtual int OnCompareItems(const wxTreeItemId& item1,
2977 const wxTreeItemId& item2) {
44127b65
RD
2978 int rval = 0;
2979 bool found;
5a446332 2980 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
2981 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2982 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2983 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2984 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2985 Py_DECREF(o1);
2986 Py_DECREF(o2);
2987 }
4f89f6a3 2988 wxPyEndBlockThreads(blocked);
44127b65
RD
2989 if (! found)
2990 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2991 return rval;
2992 }
33d6fd3b
RD
2993
2994 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
2995 wxString rval;
2996 bool found;
2997 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2998 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
2999 PyObject* ro;
3000 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3001 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3002 Py_DECREF(itemo);
3003 if (ro) {
3004 rval = Py2wxString(ro);
3005 Py_DECREF(ro);
3006 }
3007 }
3008 wxPyEndBlockThreads(blocked);
3009 if (! found)
3010 rval = wxTreeListCtrl::OnGetItemText(item, column);
3011 return rval;
3012 }
3013
44127b65
RD
3014 PYPRIVATE;
3015};
3016
3017IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3018
3019
994141e6 3020
0085ce49
RD
3021SWIGINTERNINLINE PyObject *
3022SWIG_From_unsigned_SS_int (unsigned int value)
3023{
3024 return SWIG_From_unsigned_SS_long (value);
3025}
15afbcd0
RD
3026
3027
0085ce49
RD
3028SWIGINTERN int
3029SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
15afbcd0 3030{
c32bde28 3031 unsigned long v;
0085ce49
RD
3032 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3033 if (SWIG_IsOK(res)) {
3034 if ((v > UINT_MAX)) {
3035 return SWIG_OverflowError;
3036 } else {
3037 if (val) *val = static_cast< unsigned int >(v);
c32bde28 3038 }
0085ce49
RD
3039 }
3040 return res;
994141e6
RD
3041}
3042
0085ce49 3043SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
3044 if (column < 0) column = self->GetMainColumn();
3045 return self->GetItemText(item, column);
3046 }
0085ce49 3047SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3048 if (column < 0) column = self->GetMainColumn();
3049 return self->GetItemImage(item, column, which);
3050 }
0085ce49 3051SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
3052 if (column < 0) column = self->GetMainColumn();
3053 self->SetItemText(item, column, text);
3054 }
0085ce49 3055SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3056 if (column < 0) column = self->GetMainColumn();
3057 self->SetItemImage(item, column, image, which);
3058 }
0085ce49 3059SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3060 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3061 if (data == NULL) {
3062 data = new wxPyTreeItemData();
3063 data->SetId(item); // set the id
3064 self->SetItemData(item, data);
3065 }
3066 return data;
3067 }
0085ce49 3068SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
3069 data->SetId(item); // set the id
3070 self->SetItemData(item, data);
3071 }
0085ce49 3072SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3073 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3074 if (data == NULL) {
3075 data = new wxPyTreeItemData();
3076 data->SetId(item); // set the id
3077 self->SetItemData(item, data);
3078 }
3079 return data->GetData();
3080 }
0085ce49 3081SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
3082 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3083 if (data == NULL) {
3084 data = new wxPyTreeItemData(obj);
3085 data->SetId(item); // set the id
3086 self->SetItemData(item, data);
3087 } else
3088 data->SetData(obj);
3089 }
0085ce49 3090SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
5a446332 3091 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3092 PyObject* rval = PyList_New(0);
3093 wxArrayTreeItemIds array;
3094 size_t num, x;
3095 num = self->GetSelections(array);
3096 for (x=0; x < num; x++) {
3097 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3098 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65 3099 PyList_Append(rval, item);
e9d6f3a4 3100 Py_DECREF(item);
44127b65 3101 }
4f89f6a3 3102 wxPyEndBlockThreads(blocked);
44127b65
RD
3103 return rval;
3104 }
0085ce49 3105SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
28eab81f 3106 void* cookie = 0;
823f0cfe 3107 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3108 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3109 PyObject* tup = PyTuple_New(2);
ae8162c8 3110 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3111 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3112 wxPyEndBlockThreads(blocked);
44127b65
RD
3113 return tup;
3114 }
0085ce49 3115SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
823f0cfe 3116 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3117 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3118 PyObject* tup = PyTuple_New(2);
ae8162c8 3119 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3120 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3121 wxPyEndBlockThreads(blocked);
44127b65
RD
3122 return tup;
3123 }
33d6fd3b
RD
3124SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3125 void* cookie = 0;
3126 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3127 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3128 PyObject* tup = PyTuple_New(2);
3129 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3130 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3131 wxPyEndBlockThreads(blocked);
3132 return tup;
3133 }
3134SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3135 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3136 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3137 PyObject* tup = PyTuple_New(2);
3138 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3139 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3140 wxPyEndBlockThreads(blocked);
3141 return tup;
3142 }
0085ce49 3143SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
3144 wxRect rect;
3145 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3146 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3147 wxRect* r = new wxRect(rect);
3148 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
4f89f6a3 3149 wxPyEndBlockThreads(blocked);
44127b65
RD
3150 return val;
3151 }
3152 else {
3153 RETURN_NONE();
3154 }
3155 }
33d6fd3b
RD
3156SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3157 if (column < 0) column = self->GetMainColumn();
3158 self->EditLabel(item, column);
3159 }
6260902d
RD
3160
3161#include <float.h>
6260902d
RD
3162
3163
3164SWIGINTERN int
0085ce49 3165SWIG_AsVal_double (PyObject *obj, double* val)
6260902d
RD
3166{
3167 if (PyNumber_Check(obj)) {
3168 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 3169 return SWIG_OK;
6260902d 3170 }
0085ce49 3171 return SWIG_TypeError;
6260902d
RD
3172}
3173
3174
3175SWIGINTERN int
0085ce49 3176SWIG_AsVal_float (PyObject * obj, float *val)
6260902d 3177{
6260902d 3178 double v;
0085ce49
RD
3179 int res = SWIG_AsVal_double (obj, &v);
3180 if (SWIG_IsOK(res)) {
3181 if ((v < -FLT_MAX || v > FLT_MAX)) {
3182 return SWIG_OverflowError;
6260902d 3183 } else {
0085ce49 3184 if (val) *val = static_cast< float >(v);
6260902d 3185 }
0085ce49
RD
3186 }
3187 return res;
6260902d
RD
3188}
3189
6260902d 3190
0085ce49 3191 #define SWIG_From_double PyFloat_FromDouble
6260902d 3192
6260902d 3193
0085ce49
RD
3194SWIGINTERNINLINE PyObject *
3195SWIG_From_float (float value)
3196{
3197 return SWIG_From_double (value);
3198}
6260902d 3199
44127b65
RD
3200#ifdef __cplusplus
3201extern "C" {
3202#endif
0085ce49
RD
3203SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3204 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3205 return 1;
b2dc1044
RD
3206}
3207
3208
0085ce49
RD
3209SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3210 PyObject *pyobj = 0;
3211
3212 {
b2dc1044 3213#if wxUSE_UNICODE
0085ce49 3214 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3215#else
0085ce49 3216 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3217#endif
0085ce49
RD
3218 }
3219 return pyobj;
b2dc1044
RD
3220}
3221
3222
0085ce49
RD
3223SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3224 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3225 return 1;
b2dc1044
RD
3226}
3227
3228
0085ce49
RD
3229SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3230 PyObject *pyobj = 0;
3231
3232 {
b2dc1044 3233#if wxUSE_UNICODE
0085ce49 3234 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3235#else
0085ce49 3236 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3237#endif
0085ce49
RD
3238 }
3239 return pyobj;
b2dc1044
RD
3240}
3241
3242
0085ce49
RD
3243SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3244 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3245 return 1;
6260902d
RD
3246}
3247
3248
0085ce49
RD
3249SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3250 PyObject *pyobj = 0;
3251
3252 {
6260902d 3253#if wxUSE_UNICODE
0085ce49 3254 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3255#else
0085ce49 3256 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3257#endif
0085ce49
RD
3258 }
3259 return pyobj;
6260902d
RD
3260}
3261
3262
0085ce49
RD
3263SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3264 PyObject *resultobj = 0;
3265 wxObject *arg1 = (wxObject *) 0 ;
3266 wxDynamicSashSplitEvent *result = 0 ;
3267 void *argp1 = 0 ;
3268 int res1 = 0 ;
3269 PyObject * obj0 = 0 ;
3270 char * kwnames[] = {
3271 (char *) "target", NULL
3272 };
3273
3274 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3275 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3276 if (!SWIG_IsOK(res1)) {
3277 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3278 }
3279 arg1 = reinterpret_cast< wxObject * >(argp1);
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3283 wxPyEndAllowThreads(__tstate);
3284 if (PyErr_Occurred()) SWIG_fail;
3285 }
3286 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3287 return resultobj;
3288fail:
3289 return NULL;
44127b65
RD
3290}
3291
3292
0085ce49
RD
3293SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3294 PyObject *obj;
3295 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3296 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3297 return SWIG_Py_Void();
44127b65
RD
3298}
3299
0085ce49
RD
3300SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3301 return SWIG_Python_InitShadowInstance(args);
3302}
44127b65 3303
0085ce49
RD
3304SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3305 PyObject *resultobj = 0;
3306 wxObject *arg1 = (wxObject *) 0 ;
3307 wxDynamicSashUnifyEvent *result = 0 ;
3308 void *argp1 = 0 ;
3309 int res1 = 0 ;
3310 PyObject * obj0 = 0 ;
3311 char * kwnames[] = {
3312 (char *) "target", NULL
3313 };
3314
3315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3317 if (!SWIG_IsOK(res1)) {
3318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3319 }
3320 arg1 = reinterpret_cast< wxObject * >(argp1);
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3324 wxPyEndAllowThreads(__tstate);
3325 if (PyErr_Occurred()) SWIG_fail;
3326 }
3327 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3328 return resultobj;
3329fail:
3330 return NULL;
3331}
3332
3333
3334SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3335 PyObject *obj;
3336 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3337 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3338 return SWIG_Py_Void();
3339}
3340
3341SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3342 return SWIG_Python_InitShadowInstance(args);
3343}
3344
3345SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3346 PyObject *resultobj = 0;
3347 wxWindow *arg1 = (wxWindow *) 0 ;
3348 int arg2 = (int) -1 ;
3349 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3350 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3351 wxSize const &arg4_defvalue = wxDefaultSize ;
3352 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3353 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3354 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3355 wxString *arg6 = (wxString *) &arg6_defvalue ;
3356 wxDynamicSashWindow *result = 0 ;
3357 void *argp1 = 0 ;
3358 int res1 = 0 ;
3359 int val2 ;
3360 int ecode2 = 0 ;
3361 wxPoint temp3 ;
3362 wxSize temp4 ;
3363 long val5 ;
3364 int ecode5 = 0 ;
3365 bool temp6 = false ;
3366 PyObject * obj0 = 0 ;
3367 PyObject * obj1 = 0 ;
3368 PyObject * obj2 = 0 ;
3369 PyObject * obj3 = 0 ;
3370 PyObject * obj4 = 0 ;
3371 PyObject * obj5 = 0 ;
3372 char * kwnames[] = {
3373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3374 };
3375
3376 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3377 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3378 if (!SWIG_IsOK(res1)) {
3379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3380 }
3381 arg1 = reinterpret_cast< wxWindow * >(argp1);
3382 if (obj1) {
3383 ecode2 = SWIG_AsVal_int(obj1, &val2);
3384 if (!SWIG_IsOK(ecode2)) {
3385 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3386 }
3387 arg2 = static_cast< int >(val2);
3388 }
3389 if (obj2) {
44127b65 3390 {
0085ce49
RD
3391 arg3 = &temp3;
3392 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 3393 }
0085ce49
RD
3394 }
3395 if (obj3) {
44127b65 3396 {
0085ce49
RD
3397 arg4 = &temp4;
3398 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 3399 }
0085ce49
RD
3400 }
3401 if (obj4) {
3402 ecode5 = SWIG_AsVal_long(obj4, &val5);
3403 if (!SWIG_IsOK(ecode5)) {
3404 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3405 }
3406 arg5 = static_cast< long >(val5);
3407 }
3408 if (obj5) {
44127b65 3409 {
0085ce49
RD
3410 arg6 = wxString_in_helper(obj5);
3411 if (arg6 == NULL) SWIG_fail;
3412 temp6 = true;
44127b65 3413 }
0085ce49
RD
3414 }
3415 {
3416 if (!wxPyCheckForApp()) SWIG_fail;
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3423 {
3424 if (temp6)
3425 delete arg6;
3426 }
3427 return resultobj;
3428fail:
3429 {
3430 if (temp6)
3431 delete arg6;
3432 }
3433 return NULL;
44127b65
RD
3434}
3435
3436
0085ce49
RD
3437SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3438 PyObject *resultobj = 0;
3439 wxDynamicSashWindow *result = 0 ;
3440
3441 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3442 {
3443 if (!wxPyCheckForApp()) SWIG_fail;
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3446 wxPyEndAllowThreads(__tstate);
3447 if (PyErr_Occurred()) SWIG_fail;
3448 }
3449 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3450 return resultobj;
3451fail:
3452 return NULL;
3453}
3454
3455
3456SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3457 PyObject *resultobj = 0;
3458 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3459 wxWindow *arg2 = (wxWindow *) 0 ;
3460 int arg3 = (int) -1 ;
3461 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3462 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3463 wxSize const &arg5_defvalue = wxDefaultSize ;
3464 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3465 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3466 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3467 wxString *arg7 = (wxString *) &arg7_defvalue ;
3468 bool result;
3469 void *argp1 = 0 ;
3470 int res1 = 0 ;
3471 void *argp2 = 0 ;
3472 int res2 = 0 ;
3473 int val3 ;
3474 int ecode3 = 0 ;
3475 wxPoint temp4 ;
3476 wxSize temp5 ;
3477 long val6 ;
3478 int ecode6 = 0 ;
3479 bool temp7 = false ;
3480 PyObject * obj0 = 0 ;
3481 PyObject * obj1 = 0 ;
3482 PyObject * obj2 = 0 ;
3483 PyObject * obj3 = 0 ;
3484 PyObject * obj4 = 0 ;
3485 PyObject * obj5 = 0 ;
3486 PyObject * obj6 = 0 ;
3487 char * kwnames[] = {
3488 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3489 };
3490
3491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3493 if (!SWIG_IsOK(res1)) {
3494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3495 }
3496 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3497 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3498 if (!SWIG_IsOK(res2)) {
3499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3500 }
3501 arg2 = reinterpret_cast< wxWindow * >(argp2);
3502 if (obj2) {
3503 ecode3 = SWIG_AsVal_int(obj2, &val3);
3504 if (!SWIG_IsOK(ecode3)) {
3505 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3506 }
3507 arg3 = static_cast< int >(val3);
3508 }
3509 if (obj3) {
44127b65 3510 {
0085ce49
RD
3511 arg4 = &temp4;
3512 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 3513 }
0085ce49
RD
3514 }
3515 if (obj4) {
3516 {
3517 arg5 = &temp5;
3518 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
994141e6 3519 }
0085ce49
RD
3520 }
3521 if (obj5) {
3522 ecode6 = SWIG_AsVal_long(obj5, &val6);
3523 if (!SWIG_IsOK(ecode6)) {
3524 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3525 }
3526 arg6 = static_cast< long >(val6);
3527 }
3528 if (obj6) {
3529 {
3530 arg7 = wxString_in_helper(obj6);
3531 if (arg7 == NULL) SWIG_fail;
3532 temp7 = true;
44127b65 3533 }
0085ce49
RD
3534 }
3535 {
3536 PyThreadState* __tstate = wxPyBeginAllowThreads();
3537 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3538 wxPyEndAllowThreads(__tstate);
3539 if (PyErr_Occurred()) SWIG_fail;
3540 }
3541 {
3542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3543 }
3544 {
3545 if (temp7)
3546 delete arg7;
3547 }
3548 return resultobj;
3549fail:
3550 {
3551 if (temp7)
3552 delete arg7;
3553 }
3554 return NULL;
3555}
3556
3557
3558SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3559 PyObject *resultobj = 0;
3560 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3561 wxWindow *arg2 = (wxWindow *) 0 ;
3562 wxScrollBar *result = 0 ;
3563 void *argp1 = 0 ;
3564 int res1 = 0 ;
3565 void *argp2 = 0 ;
3566 int res2 = 0 ;
3567 PyObject * obj0 = 0 ;
3568 PyObject * obj1 = 0 ;
3569 char * kwnames[] = {
3570 (char *) "self",(char *) "child", NULL
3571 };
3572
3573 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3574 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3575 if (!SWIG_IsOK(res1)) {
3576 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3577 }
3578 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3579 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3580 if (!SWIG_IsOK(res2)) {
3581 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3582 }
3583 arg2 = reinterpret_cast< wxWindow * >(argp2);
3584 {
3585 PyThreadState* __tstate = wxPyBeginAllowThreads();
3586 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3587 wxPyEndAllowThreads(__tstate);
3588 if (PyErr_Occurred()) SWIG_fail;
3589 }
3590 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3591 return resultobj;
3592fail:
3593 return NULL;
3594}
3595
3596
3597SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj = 0;
3599 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3600 wxWindow *arg2 = (wxWindow *) 0 ;
3601 wxScrollBar *result = 0 ;
3602 void *argp1 = 0 ;
3603 int res1 = 0 ;
3604 void *argp2 = 0 ;
3605 int res2 = 0 ;
3606 PyObject * obj0 = 0 ;
3607 PyObject * obj1 = 0 ;
3608 char * kwnames[] = {
3609 (char *) "self",(char *) "child", NULL
3610 };
3611
3612 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3613 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3614 if (!SWIG_IsOK(res1)) {
3615 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3616 }
3617 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3618 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3619 if (!SWIG_IsOK(res2)) {
3620 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3621 }
3622 arg2 = reinterpret_cast< wxWindow * >(argp2);
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3630 return resultobj;
3631fail:
3632 return NULL;
3633}
3634
3635
3636SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3637 PyObject *obj;
3638 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3639 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3640 return SWIG_Py_Void();
3641}
3642
3643SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3644 return SWIG_Python_InitShadowInstance(args);
3645}
3646
3647SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj = 0;
3649 wxWindow *arg1 = (wxWindow *) 0 ;
3650 int arg2 = (int) -1 ;
3651 wxString const &arg3_defvalue = wxPyEmptyString ;
3652 wxString *arg3 = (wxString *) &arg3_defvalue ;
3653 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3654 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3655 wxSize const &arg5_defvalue = wxDefaultSize ;
3656 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3657 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3658 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3659 wxString *arg7 = (wxString *) &arg7_defvalue ;
3660 wxEditableListBox *result = 0 ;
3661 void *argp1 = 0 ;
3662 int res1 = 0 ;
3663 int val2 ;
3664 int ecode2 = 0 ;
3665 bool temp3 = false ;
3666 wxPoint temp4 ;
3667 wxSize temp5 ;
3668 long val6 ;
3669 int ecode6 = 0 ;
3670 bool temp7 = false ;
3671 PyObject * obj0 = 0 ;
3672 PyObject * obj1 = 0 ;
3673 PyObject * obj2 = 0 ;
3674 PyObject * obj3 = 0 ;
3675 PyObject * obj4 = 0 ;
3676 PyObject * obj5 = 0 ;
3677 PyObject * obj6 = 0 ;
3678 char * kwnames[] = {
3679 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3680 };
3681
3682 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3683 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3684 if (!SWIG_IsOK(res1)) {
3685 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3686 }
3687 arg1 = reinterpret_cast< wxWindow * >(argp1);
3688 if (obj1) {
3689 ecode2 = SWIG_AsVal_int(obj1, &val2);
3690 if (!SWIG_IsOK(ecode2)) {
3691 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3692 }
3693 arg2 = static_cast< int >(val2);
3694 }
3695 if (obj2) {
44127b65 3696 {
0085ce49
RD
3697 arg3 = wxString_in_helper(obj2);
3698 if (arg3 == NULL) SWIG_fail;
3699 temp3 = true;
44127b65 3700 }
0085ce49
RD
3701 }
3702 if (obj3) {
4f89f6a3 3703 {
0085ce49
RD
3704 arg4 = &temp4;
3705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 3706 }
0085ce49
RD
3707 }
3708 if (obj4) {
44127b65 3709 {
0085ce49
RD
3710 arg5 = &temp5;
3711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 3712 }
0085ce49
RD
3713 }
3714 if (obj5) {
3715 ecode6 = SWIG_AsVal_long(obj5, &val6);
3716 if (!SWIG_IsOK(ecode6)) {
3717 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3718 }
3719 arg6 = static_cast< long >(val6);
3720 }
3721 if (obj6) {
44127b65 3722 {
0085ce49
RD
3723 arg7 = wxString_in_helper(obj6);
3724 if (arg7 == NULL) SWIG_fail;
3725 temp7 = true;
44127b65 3726 }
0085ce49
RD
3727 }
3728 {
3729 if (!wxPyCheckForApp()) SWIG_fail;
3730 PyThreadState* __tstate = wxPyBeginAllowThreads();
3731 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3736 {
3737 if (temp3)
3738 delete arg3;
3739 }
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745fail:
3746 {
3747 if (temp3)
3748 delete arg3;
3749 }
3750 {
3751 if (temp7)
3752 delete arg7;
3753 }
3754 return NULL;
44127b65
RD
3755}
3756
3757
0085ce49
RD
3758SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3759 PyObject *resultobj = 0;
3760 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3761 wxArrayString *arg2 = 0 ;
3762 void *argp1 = 0 ;
3763 int res1 = 0 ;
3764 bool temp2 = false ;
3765 PyObject * obj0 = 0 ;
3766 PyObject * obj1 = 0 ;
3767 char * kwnames[] = {
3768 (char *) "self",(char *) "strings", NULL
3769 };
3770
3771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3773 if (!SWIG_IsOK(res1)) {
3774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3775 }
3776 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3777 {
3778 if (! PySequence_Check(obj1)) {
3779 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3780 SWIG_fail;
3781 }
3782 arg2 = new wxArrayString;
3783 temp2 = true;
3784 int i, len=PySequence_Length(obj1);
3785 for (i=0; i<len; i++) {
3786 PyObject* item = PySequence_GetItem(obj1, i);
3787 wxString* s = wxString_in_helper(item);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 arg2->Add(*s);
3790 delete s;
3791 Py_DECREF(item);
44127b65 3792 }
0085ce49
RD
3793 }
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 (arg1)->SetStrings((wxArrayString const &)*arg2);
3797 wxPyEndAllowThreads(__tstate);
3798 if (PyErr_Occurred()) SWIG_fail;
3799 }
3800 resultobj = SWIG_Py_Void();
3801 {
3802 if (temp2) delete arg2;
3803 }
3804 return resultobj;
3805fail:
3806 {
3807 if (temp2) delete arg2;
3808 }
3809 return NULL;
44127b65
RD
3810}
3811
3812
0085ce49
RD
3813SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3814 PyObject *resultobj = 0;
3815 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3816 PyObject *result = 0 ;
3817 void *argp1 = 0 ;
3818 int res1 = 0 ;
3819 PyObject *swig_obj[1] ;
3820
3821 if (!args) SWIG_fail;
3822 swig_obj[0] = args;
3823 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3824 if (!SWIG_IsOK(res1)) {
3825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3826 }
3827 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3831 wxPyEndAllowThreads(__tstate);
3832 if (PyErr_Occurred()) SWIG_fail;
3833 }
3834 resultobj = result;
3835 return resultobj;
3836fail:
3837 return NULL;
44127b65
RD
3838}
3839
3840
0085ce49
RD
3841SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3842 PyObject *resultobj = 0;
3843 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3844 wxPyListCtrl *result = 0 ;
3845 void *argp1 = 0 ;
3846 int res1 = 0 ;
3847 PyObject *swig_obj[1] ;
3848
3849 if (!args) SWIG_fail;
3850 swig_obj[0] = args;
3851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3852 if (!SWIG_IsOK(res1)) {
3853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3854 }
3855 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3ecece7e
RD
3862 {
3863 resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0);
3864 }
0085ce49
RD
3865 return resultobj;
3866fail:
3867 return NULL;
44127b65
RD
3868}
3869
3870
0085ce49
RD
3871SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3872 PyObject *resultobj = 0;
3873 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3874 wxBitmapButton *result = 0 ;
3875 void *argp1 = 0 ;
3876 int res1 = 0 ;
3877 PyObject *swig_obj[1] ;
3878
3879 if (!args) SWIG_fail;
3880 swig_obj[0] = args;
3881 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3882 if (!SWIG_IsOK(res1)) {
3883 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3884 }
3885 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3886 {
3887 PyThreadState* __tstate = wxPyBeginAllowThreads();
3888 result = (wxBitmapButton *)(arg1)->GetDelButton();
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 {
3893 resultobj = wxPyMake_wxObject(result, 0);
3894 }
3895 return resultobj;
3896fail:
3897 return NULL;
44127b65
RD
3898}
3899
3900
0085ce49
RD
3901SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3902 PyObject *resultobj = 0;
3903 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3904 wxBitmapButton *result = 0 ;
3905 void *argp1 = 0 ;
3906 int res1 = 0 ;
3907 PyObject *swig_obj[1] ;
3908
3909 if (!args) SWIG_fail;
3910 swig_obj[0] = args;
3911 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3912 if (!SWIG_IsOK(res1)) {
3913 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3914 }
3915 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3916 {
3917 PyThreadState* __tstate = wxPyBeginAllowThreads();
3918 result = (wxBitmapButton *)(arg1)->GetNewButton();
3919 wxPyEndAllowThreads(__tstate);
3920 if (PyErr_Occurred()) SWIG_fail;
3921 }
3922 {
3923 resultobj = wxPyMake_wxObject(result, 0);
3924 }
3925 return resultobj;
3926fail:
3927 return NULL;
44127b65
RD
3928}
3929
3930
0085ce49
RD
3931SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3932 PyObject *resultobj = 0;
3933 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3934 wxBitmapButton *result = 0 ;
3935 void *argp1 = 0 ;
3936 int res1 = 0 ;
3937 PyObject *swig_obj[1] ;
3938
3939 if (!args) SWIG_fail;
3940 swig_obj[0] = args;
3941 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3942 if (!SWIG_IsOK(res1)) {
3943 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3944 }
3945 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3946 {
3947 PyThreadState* __tstate = wxPyBeginAllowThreads();
3948 result = (wxBitmapButton *)(arg1)->GetUpButton();
3949 wxPyEndAllowThreads(__tstate);
3950 if (PyErr_Occurred()) SWIG_fail;
3951 }
3952 {
3953 resultobj = wxPyMake_wxObject(result, 0);
3954 }
3955 return resultobj;
3956fail:
3957 return NULL;
44127b65
RD
3958}
3959
3960
0085ce49
RD
3961SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3962 PyObject *resultobj = 0;
3963 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3964 wxBitmapButton *result = 0 ;
3965 void *argp1 = 0 ;
3966 int res1 = 0 ;
3967 PyObject *swig_obj[1] ;
3968
3969 if (!args) SWIG_fail;
3970 swig_obj[0] = args;
3971 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3972 if (!SWIG_IsOK(res1)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3974 }
3975 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3976 {
3977 PyThreadState* __tstate = wxPyBeginAllowThreads();
3978 result = (wxBitmapButton *)(arg1)->GetDownButton();
3979 wxPyEndAllowThreads(__tstate);
3980 if (PyErr_Occurred()) SWIG_fail;
3981 }
3982 {
3983 resultobj = wxPyMake_wxObject(result, 0);
3984 }
3985 return resultobj;
3986fail:
3987 return NULL;
44127b65
RD
3988}
3989
3990
0085ce49
RD
3991SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3992 PyObject *resultobj = 0;
3993 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3994 wxBitmapButton *result = 0 ;
3995 void *argp1 = 0 ;
3996 int res1 = 0 ;
3997 PyObject *swig_obj[1] ;
3998
3999 if (!args) SWIG_fail;
4000 swig_obj[0] = args;
4001 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4002 if (!SWIG_IsOK(res1)) {
4003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4004 }
4005 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4006 {
4007 PyThreadState* __tstate = wxPyBeginAllowThreads();
4008 result = (wxBitmapButton *)(arg1)->GetEditButton();
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 {
4013 resultobj = wxPyMake_wxObject(result, 0);
4014 }
4015 return resultobj;
4016fail:
4017 return NULL;
4018}
4019
4020
4021SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4022 PyObject *obj;
4023 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4025 return SWIG_Py_Void();
4026}
4027
4028SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4029 return SWIG_Python_InitShadowInstance(args);
4030}
4031
4032SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj = 0;
4034 wxWindow *arg1 = (wxWindow *) 0 ;
4035 int arg2 ;
4036 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4037 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4038 wxSize const &arg4_defvalue = wxDefaultSize ;
4039 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4040 long arg5 = (long) wxTR_HAS_BUTTONS ;
4041 wxRemotelyScrolledTreeCtrl *result = 0 ;
4042 void *argp1 = 0 ;
4043 int res1 = 0 ;
4044 int val2 ;
4045 int ecode2 = 0 ;
4046 wxPoint temp3 ;
4047 wxSize temp4 ;
4048 long val5 ;
4049 int ecode5 = 0 ;
4050 PyObject * obj0 = 0 ;
4051 PyObject * obj1 = 0 ;
4052 PyObject * obj2 = 0 ;
4053 PyObject * obj3 = 0 ;
4054 PyObject * obj4 = 0 ;
4055 char * kwnames[] = {
4056 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4057 };
4058
4059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4061 if (!SWIG_IsOK(res1)) {
4062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4063 }
4064 arg1 = reinterpret_cast< wxWindow * >(argp1);
4065 ecode2 = SWIG_AsVal_int(obj1, &val2);
4066 if (!SWIG_IsOK(ecode2)) {
4067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4068 }
4069 arg2 = static_cast< int >(val2);
4070 if (obj2) {
44127b65 4071 {
0085ce49
RD
4072 arg3 = &temp3;
4073 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4074 }
0085ce49
RD
4075 }
4076 if (obj3) {
44127b65 4077 {
0085ce49
RD
4078 arg4 = &temp4;
4079 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4080 }
0085ce49
RD
4081 }
4082 if (obj4) {
4083 ecode5 = SWIG_AsVal_long(obj4, &val5);
4084 if (!SWIG_IsOK(ecode5)) {
4085 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4086 }
4087 arg5 = static_cast< long >(val5);
4088 }
4089 {
4090 if (!wxPyCheckForApp()) SWIG_fail;
4091 PyThreadState* __tstate = wxPyBeginAllowThreads();
4092 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4093 wxPyEndAllowThreads(__tstate);
4094 if (PyErr_Occurred()) SWIG_fail;
4095 }
4096 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4097 return resultobj;
4098fail:
4099 return NULL;
44127b65
RD
4100}
4101
4102
0085ce49
RD
4103SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4104 PyObject *resultobj = 0;
4105 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4106 void *argp1 = 0 ;
4107 int res1 = 0 ;
4108 PyObject *swig_obj[1] ;
4109
4110 if (!args) SWIG_fail;
4111 swig_obj[0] = args;
4112 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4113 if (!SWIG_IsOK(res1)) {
4114 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4115 }
4116 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4117 {
4118 PyThreadState* __tstate = wxPyBeginAllowThreads();
4119 (arg1)->HideVScrollbar();
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 resultobj = SWIG_Py_Void();
4124 return resultobj;
4125fail:
4126 return NULL;
44127b65
RD
4127}
4128
4129
0085ce49
RD
4130SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4131 PyObject *resultobj = 0;
4132 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4133 void *argp1 = 0 ;
4134 int res1 = 0 ;
4135 PyObject *swig_obj[1] ;
4136
4137 if (!args) SWIG_fail;
4138 swig_obj[0] = args;
4139 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4140 if (!SWIG_IsOK(res1)) {
4141 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4142 }
4143 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4144 {
4145 PyThreadState* __tstate = wxPyBeginAllowThreads();
4146 (arg1)->AdjustRemoteScrollbars();
4147 wxPyEndAllowThreads(__tstate);
4148 if (PyErr_Occurred()) SWIG_fail;
4149 }
4150 resultobj = SWIG_Py_Void();
4151 return resultobj;
4152fail:
4153 return NULL;
44127b65
RD
4154}
4155
4156
0085ce49
RD
4157SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4158 PyObject *resultobj = 0;
4159 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4160 wxScrolledWindow *result = 0 ;
4161 void *argp1 = 0 ;
4162 int res1 = 0 ;
4163 PyObject *swig_obj[1] ;
4164
4165 if (!args) SWIG_fail;
4166 swig_obj[0] = args;
4167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4168 if (!SWIG_IsOK(res1)) {
4169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4170 }
4171 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4172 {
4173 PyThreadState* __tstate = wxPyBeginAllowThreads();
4174 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 {
4179 resultobj = wxPyMake_wxObject(result, 0);
4180 }
4181 return resultobj;
4182fail:
4183 return NULL;
4184}
4185
4186
4187SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj = 0;
4189 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4190 int arg2 ;
4191 int arg3 ;
4192 void *argp1 = 0 ;
4193 int res1 = 0 ;
4194 int val2 ;
4195 int ecode2 = 0 ;
4196 int val3 ;
4197 int ecode3 = 0 ;
4198 PyObject * obj0 = 0 ;
4199 PyObject * obj1 = 0 ;
4200 PyObject * obj2 = 0 ;
4201 char * kwnames[] = {
4202 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4203 };
4204
4205 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4206 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4207 if (!SWIG_IsOK(res1)) {
4208 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4209 }
4210 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4211 ecode2 = SWIG_AsVal_int(obj1, &val2);
4212 if (!SWIG_IsOK(ecode2)) {
4213 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4214 }
4215 arg2 = static_cast< int >(val2);
4216 ecode3 = SWIG_AsVal_int(obj2, &val3);
4217 if (!SWIG_IsOK(ecode3)) {
4218 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4219 }
4220 arg3 = static_cast< int >(val3);
4221 {
4222 PyThreadState* __tstate = wxPyBeginAllowThreads();
4223 (arg1)->ScrollToLine(arg2,arg3);
4224 wxPyEndAllowThreads(__tstate);
4225 if (PyErr_Occurred()) SWIG_fail;
4226 }
4227 resultobj = SWIG_Py_Void();
4228 return resultobj;
4229fail:
4230 return NULL;
4231}
4232
4233
4234SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj = 0;
4236 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4237 wxWindow *arg2 = (wxWindow *) 0 ;
4238 void *argp1 = 0 ;
4239 int res1 = 0 ;
4240 void *argp2 = 0 ;
4241 int res2 = 0 ;
4242 PyObject * obj0 = 0 ;
4243 PyObject * obj1 = 0 ;
4244 char * kwnames[] = {
4245 (char *) "self",(char *) "companion", NULL
4246 };
4247
4248 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4249 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4250 if (!SWIG_IsOK(res1)) {
4251 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4252 }
4253 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4254 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4255 if (!SWIG_IsOK(res2)) {
4256 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4257 }
4258 arg2 = reinterpret_cast< wxWindow * >(argp2);
4259 {
4260 PyThreadState* __tstate = wxPyBeginAllowThreads();
4261 (arg1)->SetCompanionWindow(arg2);
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 resultobj = SWIG_Py_Void();
4266 return resultobj;
4267fail:
4268 return NULL;
44127b65
RD
4269}
4270
4271
0085ce49
RD
4272SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4273 PyObject *resultobj = 0;
4274 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4275 wxWindow *result = 0 ;
4276 void *argp1 = 0 ;
4277 int res1 = 0 ;
4278 PyObject *swig_obj[1] ;
4279
4280 if (!args) SWIG_fail;
4281 swig_obj[0] = args;
4282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4283 if (!SWIG_IsOK(res1)) {
4284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4285 }
4286 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4287 {
4288 PyThreadState* __tstate = wxPyBeginAllowThreads();
4289 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 {
4294 resultobj = wxPyMake_wxObject(result, 0);
4295 }
4296 return resultobj;
4297fail:
4298 return NULL;
4299}
4300
4301
4302SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4303 PyObject *obj;
4304 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4305 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4306 return SWIG_Py_Void();
4307}
4308
4309SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4310 return SWIG_Python_InitShadowInstance(args);
4311}
4312
4313SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4314 PyObject *resultobj = 0;
4315 wxWindow *arg1 = (wxWindow *) 0 ;
4316 int arg2 = (int) -1 ;
4317 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4318 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4319 wxSize const &arg4_defvalue = wxDefaultSize ;
4320 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4321 long arg5 = (long) 0 ;
4322 wxPyTreeCompanionWindow *result = 0 ;
4323 void *argp1 = 0 ;
4324 int res1 = 0 ;
4325 int val2 ;
4326 int ecode2 = 0 ;
4327 wxPoint temp3 ;
4328 wxSize temp4 ;
4329 long val5 ;
4330 int ecode5 = 0 ;
4331 PyObject * obj0 = 0 ;
4332 PyObject * obj1 = 0 ;
4333 PyObject * obj2 = 0 ;
4334 PyObject * obj3 = 0 ;
4335 PyObject * obj4 = 0 ;
4336 char * kwnames[] = {
4337 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4338 };
4339
4340 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4341 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4342 if (!SWIG_IsOK(res1)) {
4343 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4344 }
4345 arg1 = reinterpret_cast< wxWindow * >(argp1);
4346 if (obj1) {
4347 ecode2 = SWIG_AsVal_int(obj1, &val2);
4348 if (!SWIG_IsOK(ecode2)) {
4349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4350 }
4351 arg2 = static_cast< int >(val2);
4352 }
4353 if (obj2) {
44127b65 4354 {
0085ce49
RD
4355 arg3 = &temp3;
4356 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4357 }
0085ce49
RD
4358 }
4359 if (obj3) {
44127b65 4360 {
0085ce49
RD
4361 arg4 = &temp4;
4362 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4363 }
0085ce49
RD
4364 }
4365 if (obj4) {
4366 ecode5 = SWIG_AsVal_long(obj4, &val5);
4367 if (!SWIG_IsOK(ecode5)) {
4368 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4369 }
4370 arg5 = static_cast< long >(val5);
4371 }
4372 {
4373 if (!wxPyCheckForApp()) SWIG_fail;
4374 PyThreadState* __tstate = wxPyBeginAllowThreads();
4375 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4380 return resultobj;
4381fail:
4382 return NULL;
4383}
4384
4385
4386SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4387 PyObject *resultobj = 0;
4388 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4389 PyObject *arg2 = (PyObject *) 0 ;
4390 PyObject *arg3 = (PyObject *) 0 ;
4391 void *argp1 = 0 ;
4392 int res1 = 0 ;
4393 PyObject * obj0 = 0 ;
4394 PyObject * obj1 = 0 ;
4395 PyObject * obj2 = 0 ;
4396 char * kwnames[] = {
4397 (char *) "self",(char *) "self",(char *) "_class", NULL
4398 };
4399
4400 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4401 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4402 if (!SWIG_IsOK(res1)) {
4403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4404 }
4405 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4406 arg2 = obj1;
4407 arg3 = obj2;
4408 {
4409 PyThreadState* __tstate = wxPyBeginAllowThreads();
4410 (arg1)->_setCallbackInfo(arg2,arg3);
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_Py_Void();
4415 return resultobj;
4416fail:
4417 return NULL;
44127b65
RD
4418}
4419
4420
0085ce49
RD
4421SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4422 PyObject *resultobj = 0;
4423 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4424 wxRemotelyScrolledTreeCtrl *result = 0 ;
4425 void *argp1 = 0 ;
4426 int res1 = 0 ;
4427 PyObject *swig_obj[1] ;
4428
4429 if (!args) SWIG_fail;
4430 swig_obj[0] = args;
4431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4432 if (!SWIG_IsOK(res1)) {
4433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4434 }
4435 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4436 {
4437 PyThreadState* __tstate = wxPyBeginAllowThreads();
4438 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4443 return resultobj;
4444fail:
4445 return NULL;
4446}
4447
4448
4449SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4450 PyObject *resultobj = 0;
4451 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4452 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4453 void *argp1 = 0 ;
4454 int res1 = 0 ;
4455 void *argp2 = 0 ;
4456 int res2 = 0 ;
4457 PyObject * obj0 = 0 ;
4458 PyObject * obj1 = 0 ;
4459 char * kwnames[] = {
4460 (char *) "self",(char *) "treeCtrl", NULL
4461 };
4462
4463 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4464 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4465 if (!SWIG_IsOK(res1)) {
4466 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4467 }
4468 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4469 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4470 if (!SWIG_IsOK(res2)) {
4471 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4472 }
4473 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4474 {
4475 PyThreadState* __tstate = wxPyBeginAllowThreads();
4476 (arg1)->SetTreeCtrl(arg2);
4477 wxPyEndAllowThreads(__tstate);
4478 if (PyErr_Occurred()) SWIG_fail;
4479 }
4480 resultobj = SWIG_Py_Void();
4481 return resultobj;
4482fail:
4483 return NULL;
4484}
4485
4486
4487SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4488 PyObject *obj;
4489 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4490 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4491 return SWIG_Py_Void();
4492}
4493
4494SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4495 return SWIG_Python_InitShadowInstance(args);
4496}
4497
4498SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj = 0;
4500 wxWindow *arg1 = (wxWindow *) 0 ;
4501 int arg2 = (int) -1 ;
4502 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4503 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4504 wxSize const &arg4_defvalue = wxDefaultSize ;
4505 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4506 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4507 wxThinSplitterWindow *result = 0 ;
4508 void *argp1 = 0 ;
4509 int res1 = 0 ;
4510 int val2 ;
4511 int ecode2 = 0 ;
4512 wxPoint temp3 ;
4513 wxSize temp4 ;
4514 long val5 ;
4515 int ecode5 = 0 ;
4516 PyObject * obj0 = 0 ;
4517 PyObject * obj1 = 0 ;
4518 PyObject * obj2 = 0 ;
4519 PyObject * obj3 = 0 ;
4520 PyObject * obj4 = 0 ;
4521 char * kwnames[] = {
4522 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4523 };
4524
4525 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4526 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4527 if (!SWIG_IsOK(res1)) {
4528 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4529 }
4530 arg1 = reinterpret_cast< wxWindow * >(argp1);
4531 if (obj1) {
4532 ecode2 = SWIG_AsVal_int(obj1, &val2);
4533 if (!SWIG_IsOK(ecode2)) {
4534 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4535 }
4536 arg2 = static_cast< int >(val2);
4537 }
4538 if (obj2) {
44127b65 4539 {
0085ce49
RD
4540 arg3 = &temp3;
4541 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4542 }
0085ce49
RD
4543 }
4544 if (obj3) {
412d302d 4545 {
0085ce49
RD
4546 arg4 = &temp4;
4547 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
412d302d 4548 }
0085ce49
RD
4549 }
4550 if (obj4) {
4551 ecode5 = SWIG_AsVal_long(obj4, &val5);
4552 if (!SWIG_IsOK(ecode5)) {
4553 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4554 }
4555 arg5 = static_cast< long >(val5);
4556 }
4557 {
4558 if (!wxPyCheckForApp()) SWIG_fail;
4559 PyThreadState* __tstate = wxPyBeginAllowThreads();
4560 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4565 return resultobj;
4566fail:
4567 return NULL;
4568}
4569
4570
4571SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4572 PyObject *obj;
4573 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4574 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4575 return SWIG_Py_Void();
4576}
4577
4578SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4579 return SWIG_Python_InitShadowInstance(args);
4580}
4581
4582SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4583 PyObject *resultobj = 0;
4584 wxWindow *arg1 = (wxWindow *) 0 ;
4585 int arg2 = (int) -1 ;
4586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4588 wxSize const &arg4_defvalue = wxDefaultSize ;
4589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4590 long arg5 = (long) 0 ;
4591 wxSplitterScrolledWindow *result = 0 ;
4592 void *argp1 = 0 ;
4593 int res1 = 0 ;
4594 int val2 ;
4595 int ecode2 = 0 ;
4596 wxPoint temp3 ;
4597 wxSize temp4 ;
4598 long val5 ;
4599 int ecode5 = 0 ;
4600 PyObject * obj0 = 0 ;
4601 PyObject * obj1 = 0 ;
4602 PyObject * obj2 = 0 ;
4603 PyObject * obj3 = 0 ;
4604 PyObject * obj4 = 0 ;
4605 char * kwnames[] = {
4606 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4607 };
4608
4609 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4610 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4611 if (!SWIG_IsOK(res1)) {
4612 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4613 }
4614 arg1 = reinterpret_cast< wxWindow * >(argp1);
4615 if (obj1) {
4616 ecode2 = SWIG_AsVal_int(obj1, &val2);
4617 if (!SWIG_IsOK(ecode2)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4619 }
4620 arg2 = static_cast< int >(val2);
4621 }
4622 if (obj2) {
3004cfd8 4623 {
0085ce49
RD
4624 arg3 = &temp3;
4625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3004cfd8 4626 }
0085ce49
RD
4627 }
4628 if (obj3) {
3004cfd8 4629 {
0085ce49
RD
4630 arg4 = &temp4;
4631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3004cfd8 4632 }
0085ce49
RD
4633 }
4634 if (obj4) {
4635 ecode5 = SWIG_AsVal_long(obj4, &val5);
4636 if (!SWIG_IsOK(ecode5)) {
4637 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4638 }
4639 arg5 = static_cast< long >(val5);
4640 }
4641 {
4642 if (!wxPyCheckForApp()) SWIG_fail;
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4645 wxPyEndAllowThreads(__tstate);
4646 if (PyErr_Occurred()) SWIG_fail;
4647 }
4648 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4649 return resultobj;
4650fail:
4651 return NULL;
4652}
4653
4654
4655SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4656 PyObject *obj;
4657 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4658 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4659 return SWIG_Py_Void();
4660}
4661
4662SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4663 return SWIG_Python_InitShadowInstance(args);
4664}
4665
4666SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4667 PyObject *resultobj = 0;
4668 wxWindow *arg1 = (wxWindow *) 0 ;
4669 int arg2 = (int) -1 ;
4670 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4671 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4672 wxSize const &arg4_defvalue = wxDefaultSize ;
4673 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4674 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4675 wxLEDNumberCtrl *result = 0 ;
4676 void *argp1 = 0 ;
4677 int res1 = 0 ;
4678 int val2 ;
4679 int ecode2 = 0 ;
4680 wxPoint temp3 ;
4681 wxSize temp4 ;
4682 long val5 ;
4683 int ecode5 = 0 ;
4684 PyObject * obj0 = 0 ;
4685 PyObject * obj1 = 0 ;
4686 PyObject * obj2 = 0 ;
4687 PyObject * obj3 = 0 ;
4688 PyObject * obj4 = 0 ;
4689 char * kwnames[] = {
4690 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4691 };
4692
4693 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4694 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4695 if (!SWIG_IsOK(res1)) {
4696 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4697 }
4698 arg1 = reinterpret_cast< wxWindow * >(argp1);
4699 if (obj1) {
4700 ecode2 = SWIG_AsVal_int(obj1, &val2);
4701 if (!SWIG_IsOK(ecode2)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4703 }
4704 arg2 = static_cast< int >(val2);
4705 }
4706 if (obj2) {
44127b65 4707 {
0085ce49
RD
4708 arg3 = &temp3;
4709 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4710 }
0085ce49
RD
4711 }
4712 if (obj3) {
44127b65 4713 {
0085ce49
RD
4714 arg4 = &temp4;
4715 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4716 }
0085ce49
RD
4717 }
4718 if (obj4) {
4719 ecode5 = SWIG_AsVal_long(obj4, &val5);
4720 if (!SWIG_IsOK(ecode5)) {
4721 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4722 }
4723 arg5 = static_cast< long >(val5);
4724 }
4725 {
4726 if (!wxPyCheckForApp()) SWIG_fail;
4727 PyThreadState* __tstate = wxPyBeginAllowThreads();
4728 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4733 return resultobj;
4734fail:
4735 return NULL;
44127b65
RD
4736}
4737
4738
0085ce49
RD
4739SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4740 PyObject *resultobj = 0;
4741 wxLEDNumberCtrl *result = 0 ;
4742
4743 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4744 {
4745 if (!wxPyCheckForApp()) SWIG_fail;
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4752 return resultobj;
4753fail:
4754 return NULL;
4755}
4756
4757
4758SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj = 0;
4760 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4761 wxWindow *arg2 = (wxWindow *) 0 ;
4762 int arg3 = (int) -1 ;
4763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4765 wxSize const &arg5_defvalue = wxDefaultSize ;
4766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4767 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4768 bool result;
4769 void *argp1 = 0 ;
4770 int res1 = 0 ;
4771 void *argp2 = 0 ;
4772 int res2 = 0 ;
4773 int val3 ;
4774 int ecode3 = 0 ;
4775 wxPoint temp4 ;
4776 wxSize temp5 ;
4777 long val6 ;
4778 int ecode6 = 0 ;
4779 PyObject * obj0 = 0 ;
4780 PyObject * obj1 = 0 ;
4781 PyObject * obj2 = 0 ;
4782 PyObject * obj3 = 0 ;
4783 PyObject * obj4 = 0 ;
4784 PyObject * obj5 = 0 ;
4785 char * kwnames[] = {
4786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4787 };
4788
4789 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4790 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4791 if (!SWIG_IsOK(res1)) {
4792 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4793 }
4794 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4795 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4796 if (!SWIG_IsOK(res2)) {
4797 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4798 }
4799 arg2 = reinterpret_cast< wxWindow * >(argp2);
4800 if (obj2) {
4801 ecode3 = SWIG_AsVal_int(obj2, &val3);
4802 if (!SWIG_IsOK(ecode3)) {
4803 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4804 }
4805 arg3 = static_cast< int >(val3);
4806 }
4807 if (obj3) {
44127b65 4808 {
0085ce49
RD
4809 arg4 = &temp4;
4810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 4811 }
0085ce49
RD
4812 }
4813 if (obj4) {
44127b65 4814 {
0085ce49
RD
4815 arg5 = &temp5;
4816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 4817 }
0085ce49
RD
4818 }
4819 if (obj5) {
4820 ecode6 = SWIG_AsVal_long(obj5, &val6);
4821 if (!SWIG_IsOK(ecode6)) {
4822 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4823 }
4824 arg6 = static_cast< long >(val6);
4825 }
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4829 wxPyEndAllowThreads(__tstate);
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4834 }
4835 return resultobj;
4836fail:
4837 return NULL;
44127b65
RD
4838}
4839
4840
0085ce49
RD
4841SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4842 PyObject *resultobj = 0;
4843 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4844 wxLEDValueAlign result;
4845 void *argp1 = 0 ;
4846 int res1 = 0 ;
4847 PyObject *swig_obj[1] ;
4848
4849 if (!args) SWIG_fail;
4850 swig_obj[0] = args;
4851 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4852 if (!SWIG_IsOK(res1)) {
4853 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4854 }
4855 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4856 {
4857 PyThreadState* __tstate = wxPyBeginAllowThreads();
4858 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4859 wxPyEndAllowThreads(__tstate);
4860 if (PyErr_Occurred()) SWIG_fail;
4861 }
4862 resultobj = SWIG_From_int(static_cast< int >(result));
4863 return resultobj;
4864fail:
4865 return NULL;
44127b65
RD
4866}
4867
4868
0085ce49
RD
4869SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4870 PyObject *resultobj = 0;
4871 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4872 bool result;
4873 void *argp1 = 0 ;
4874 int res1 = 0 ;
4875 PyObject *swig_obj[1] ;
4876
4877 if (!args) SWIG_fail;
4878 swig_obj[0] = args;
4879 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4880 if (!SWIG_IsOK(res1)) {
4881 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4882 }
4883 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4887 wxPyEndAllowThreads(__tstate);
4888 if (PyErr_Occurred()) SWIG_fail;
4889 }
4890 {
4891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4892 }
4893 return resultobj;
4894fail:
4895 return NULL;
44127b65
RD
4896}
4897
4898
0085ce49
RD
4899SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4900 PyObject *resultobj = 0;
4901 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4902 wxString *result = 0 ;
4903 void *argp1 = 0 ;
4904 int res1 = 0 ;
4905 PyObject *swig_obj[1] ;
4906
4907 if (!args) SWIG_fail;
4908 swig_obj[0] = args;
4909 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4910 if (!SWIG_IsOK(res1)) {
4911 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4912 }
4913 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4914 {
4915 PyThreadState* __tstate = wxPyBeginAllowThreads();
4916 {
4917 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4918 result = (wxString *) &_result_ref;
44127b65 4919 }
0085ce49
RD
4920 wxPyEndAllowThreads(__tstate);
4921 if (PyErr_Occurred()) SWIG_fail;
4922 }
4923 {
4924#if wxUSE_UNICODE
4925 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4926#else
4927 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4928#endif
4929 }
4930 return resultobj;
4931fail:
4932 return NULL;
4933}
4934
4935
4936SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4937 PyObject *resultobj = 0;
4938 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4939 wxLEDValueAlign arg2 ;
4940 bool arg3 = (bool) true ;
4941 void *argp1 = 0 ;
4942 int res1 = 0 ;
4943 int val2 ;
4944 int ecode2 = 0 ;
4945 bool val3 ;
4946 int ecode3 = 0 ;
4947 PyObject * obj0 = 0 ;
4948 PyObject * obj1 = 0 ;
4949 PyObject * obj2 = 0 ;
4950 char * kwnames[] = {
4951 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4952 };
4953
4954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4956 if (!SWIG_IsOK(res1)) {
4957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4958 }
4959 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4960 ecode2 = SWIG_AsVal_int(obj1, &val2);
4961 if (!SWIG_IsOK(ecode2)) {
4962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4963 }
4964 arg2 = static_cast< wxLEDValueAlign >(val2);
4965 if (obj2) {
4966 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4967 if (!SWIG_IsOK(ecode3)) {
4968 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4969 }
4970 arg3 = static_cast< bool >(val3);
4971 }
4972 {
4973 PyThreadState* __tstate = wxPyBeginAllowThreads();
4974 (arg1)->SetAlignment(arg2,arg3);
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = SWIG_Py_Void();
4979 return resultobj;
4980fail:
4981 return NULL;
4982}
4983
4984
4985SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj = 0;
4987 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4988 bool arg2 ;
4989 bool arg3 = (bool) true ;
4990 void *argp1 = 0 ;
4991 int res1 = 0 ;
4992 bool val2 ;
4993 int ecode2 = 0 ;
4994 bool val3 ;
4995 int ecode3 = 0 ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 char * kwnames[] = {
5000 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5001 };
5002
5003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5005 if (!SWIG_IsOK(res1)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5007 }
5008 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5009 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5010 if (!SWIG_IsOK(ecode2)) {
5011 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5012 }
5013 arg2 = static_cast< bool >(val2);
5014 if (obj2) {
5015 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5016 if (!SWIG_IsOK(ecode3)) {
5017 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5018 }
5019 arg3 = static_cast< bool >(val3);
5020 }
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 (arg1)->SetDrawFaded(arg2,arg3);
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 resultobj = SWIG_Py_Void();
5028 return resultobj;
5029fail:
5030 return NULL;
5031}
5032
5033
5034SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5035 PyObject *resultobj = 0;
5036 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5037 wxString *arg2 = 0 ;
5038 bool arg3 = (bool) true ;
5039 void *argp1 = 0 ;
5040 int res1 = 0 ;
5041 bool temp2 = false ;
5042 bool val3 ;
5043 int ecode3 = 0 ;
5044 PyObject * obj0 = 0 ;
5045 PyObject * obj1 = 0 ;
5046 PyObject * obj2 = 0 ;
5047 char * kwnames[] = {
5048 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5049 };
5050
5051 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5052 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5053 if (!SWIG_IsOK(res1)) {
5054 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5055 }
5056 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5057 {
5058 arg2 = wxString_in_helper(obj1);
5059 if (arg2 == NULL) SWIG_fail;
5060 temp2 = true;
5061 }
5062 if (obj2) {
5063 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5064 if (!SWIG_IsOK(ecode3)) {
5065 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5066 }
5067 arg3 = static_cast< bool >(val3);
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 (arg1)->SetValue((wxString const &)*arg2,arg3);
5072 wxPyEndAllowThreads(__tstate);
5073 if (PyErr_Occurred()) SWIG_fail;
5074 }
5075 resultobj = SWIG_Py_Void();
5076 {
5077 if (temp2)
5078 delete arg2;
5079 }
5080 return resultobj;
5081fail:
5082 {
5083 if (temp2)
5084 delete arg2;
5085 }
5086 return NULL;
5087}
5088
5089
5090SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5091 PyObject *obj;
5092 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5093 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5094 return SWIG_Py_Void();
5095}
5096
5097SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5098 return SWIG_Python_InitShadowInstance(args);
5099}
5100
33d6fd3b
RD
5101SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5102 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5103 return 1;
5104}
5105
5106
5107SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5108 PyObject *pyobj = 0;
5109
5110 {
5111#if wxUSE_UNICODE
5112 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5113#else
5114 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5115#endif
5116 }
5117 return pyobj;
5118}
5119
5120
0085ce49
RD
5121SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5122 PyObject *resultobj = 0;
5123 wxString const &arg1_defvalue = wxPyEmptyString ;
5124 wxString *arg1 = (wxString *) &arg1_defvalue ;
33d6fd3b
RD
5125 int arg2 = (int) DEFAULT_COL_WIDTH ;
5126 int arg3 = (int) wxALIGN_LEFT ;
5127 int arg4 = (int) -1 ;
5128 bool arg5 = (bool) true ;
5129 bool arg6 = (bool) false ;
0085ce49
RD
5130 wxTreeListColumnInfo *result = 0 ;
5131 bool temp1 = false ;
5132 int val2 ;
5133 int ecode2 = 0 ;
33d6fd3b 5134 int val3 ;
0085ce49 5135 int ecode3 = 0 ;
33d6fd3b 5136 int val4 ;
0085ce49 5137 int ecode4 = 0 ;
33d6fd3b 5138 bool val5 ;
0085ce49 5139 int ecode5 = 0 ;
33d6fd3b
RD
5140 bool val6 ;
5141 int ecode6 = 0 ;
0085ce49
RD
5142 PyObject * obj0 = 0 ;
5143 PyObject * obj1 = 0 ;
5144 PyObject * obj2 = 0 ;
5145 PyObject * obj3 = 0 ;
5146 PyObject * obj4 = 0 ;
33d6fd3b 5147 PyObject * obj5 = 0 ;
0085ce49 5148 char * kwnames[] = {
33d6fd3b 5149 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
5150 };
5151
33d6fd3b 5152 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
0085ce49 5153 if (obj0) {
44127b65 5154 {
0085ce49
RD
5155 arg1 = wxString_in_helper(obj0);
5156 if (arg1 == NULL) SWIG_fail;
5157 temp1 = true;
44127b65 5158 }
0085ce49
RD
5159 }
5160 if (obj1) {
5161 ecode2 = SWIG_AsVal_int(obj1, &val2);
5162 if (!SWIG_IsOK(ecode2)) {
5163 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5164 }
5165 arg2 = static_cast< int >(val2);
5166 }
5167 if (obj2) {
33d6fd3b 5168 ecode3 = SWIG_AsVal_int(obj2, &val3);
0085ce49 5169 if (!SWIG_IsOK(ecode3)) {
33d6fd3b 5170 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
0085ce49 5171 }
33d6fd3b 5172 arg3 = static_cast< int >(val3);
0085ce49
RD
5173 }
5174 if (obj3) {
33d6fd3b 5175 ecode4 = SWIG_AsVal_int(obj3, &val4);
0085ce49 5176 if (!SWIG_IsOK(ecode4)) {
33d6fd3b 5177 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
0085ce49 5178 }
33d6fd3b 5179 arg4 = static_cast< int >(val4);
0085ce49
RD
5180 }
5181 if (obj4) {
33d6fd3b 5182 ecode5 = SWIG_AsVal_bool(obj4, &val5);
0085ce49 5183 if (!SWIG_IsOK(ecode5)) {
33d6fd3b
RD
5184 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5185 }
5186 arg5 = static_cast< bool >(val5);
5187 }
5188 if (obj5) {
5189 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5190 if (!SWIG_IsOK(ecode6)) {
5191 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
0085ce49 5192 }
33d6fd3b 5193 arg6 = static_cast< bool >(val6);
0085ce49
RD
5194 }
5195 {
5196 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5197 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
0085ce49
RD
5198 wxPyEndAllowThreads(__tstate);
5199 if (PyErr_Occurred()) SWIG_fail;
5200 }
5201 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5202 {
5203 if (temp1)
5204 delete arg1;
5205 }
5206 return resultobj;
5207fail:
5208 {
5209 if (temp1)
5210 delete arg1;
5211 }
5212 return NULL;
44127b65
RD
5213}
5214
5215
01f6b6d3
RD
5216SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5217 PyObject *resultobj = 0;
5218 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5219 void *argp1 = 0 ;
5220 int res1 = 0 ;
5221 PyObject *swig_obj[1] ;
5222
5223 if (!args) SWIG_fail;
5224 swig_obj[0] = args;
5225 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5226 if (!SWIG_IsOK(res1)) {
5227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5228 }
5229 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5230 {
5231 PyThreadState* __tstate = wxPyBeginAllowThreads();
5232 delete arg1;
5233
5234 wxPyEndAllowThreads(__tstate);
5235 if (PyErr_Occurred()) SWIG_fail;
5236 }
5237 resultobj = SWIG_Py_Void();
5238 return resultobj;
5239fail:
5240 return NULL;
5241}
5242
5243
0085ce49
RD
5244SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5245 PyObject *resultobj = 0;
5246 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5247 int result;
0085ce49
RD
5248 void *argp1 = 0 ;
5249 int res1 = 0 ;
5250 PyObject *swig_obj[1] ;
5251
5252 if (!args) SWIG_fail;
5253 swig_obj[0] = args;
5254 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5255 if (!SWIG_IsOK(res1)) {
5256 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5257 }
5258 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5261 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
0085ce49
RD
5262 wxPyEndAllowThreads(__tstate);
5263 if (PyErr_Occurred()) SWIG_fail;
5264 }
5265 resultobj = SWIG_From_int(static_cast< int >(result));
5266 return resultobj;
5267fail:
5268 return NULL;
44127b65
RD
5269}
5270
5271
0085ce49
RD
5272SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5273 PyObject *resultobj = 0;
5274 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5275 wxString result;
5276 void *argp1 = 0 ;
5277 int res1 = 0 ;
5278 PyObject *swig_obj[1] ;
5279
5280 if (!args) SWIG_fail;
5281 swig_obj[0] = args;
5282 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5283 if (!SWIG_IsOK(res1)) {
5284 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5285 }
5286 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 {
5294#if wxUSE_UNICODE
5295 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5296#else
5297 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5298#endif
5299 }
5300 return resultobj;
5301fail:
5302 return NULL;
44127b65
RD
5303}
5304
5305
0085ce49
RD
5306SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5307 PyObject *resultobj = 0;
5308 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5309 int result;
5310 void *argp1 = 0 ;
5311 int res1 = 0 ;
5312 PyObject *swig_obj[1] ;
5313
5314 if (!args) SWIG_fail;
5315 swig_obj[0] = args;
5316 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5317 if (!SWIG_IsOK(res1)) {
5318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5319 }
5320 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5321 {
5322 PyThreadState* __tstate = wxPyBeginAllowThreads();
5323 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = SWIG_From_int(static_cast< int >(result));
5328 return resultobj;
5329fail:
5330 return NULL;
44127b65
RD
5331}
5332
5333
0085ce49
RD
5334SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5335 PyObject *resultobj = 0;
5336 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5337 int result;
5338 void *argp1 = 0 ;
5339 int res1 = 0 ;
5340 PyObject *swig_obj[1] ;
5341
5342 if (!args) SWIG_fail;
5343 swig_obj[0] = args;
5344 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5345 if (!SWIG_IsOK(res1)) {
5346 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5347 }
5348 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5352 wxPyEndAllowThreads(__tstate);
5353 if (PyErr_Occurred()) SWIG_fail;
5354 }
5355 resultobj = SWIG_From_int(static_cast< int >(result));
5356 return resultobj;
5357fail:
5358 return NULL;
44127b65
RD
5359}
5360
5361
0085ce49
RD
5362SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5363 PyObject *resultobj = 0;
5364 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5365 size_t result;
5366 void *argp1 = 0 ;
5367 int res1 = 0 ;
5368 PyObject *swig_obj[1] ;
5369
5370 if (!args) SWIG_fail;
5371 swig_obj[0] = args;
5372 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5373 if (!SWIG_IsOK(res1)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5375 }
5376 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5380 wxPyEndAllowThreads(__tstate);
5381 if (PyErr_Occurred()) SWIG_fail;
5382 }
5383 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5384 return resultobj;
5385fail:
5386 return NULL;
5387}
5388
5389
33d6fd3b 5390SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
5391 PyObject *resultobj = 0;
5392 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5393 bool result;
0085ce49
RD
5394 void *argp1 = 0 ;
5395 int res1 = 0 ;
33d6fd3b 5396 PyObject *swig_obj[1] ;
0085ce49 5397
33d6fd3b
RD
5398 if (!args) SWIG_fail;
5399 swig_obj[0] = args;
5400 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
0085ce49 5401 if (!SWIG_IsOK(res1)) {
33d6fd3b 5402 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
0085ce49
RD
5403 }
5404 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
0085ce49
RD
5405 {
5406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5407 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
0085ce49
RD
5408 wxPyEndAllowThreads(__tstate);
5409 if (PyErr_Occurred()) SWIG_fail;
5410 }
33d6fd3b
RD
5411 {
5412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5413 }
5414 return resultobj;
5415fail:
5416 return NULL;
5417}
5418
5419
5420SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5421 PyObject *resultobj = 0;
5422 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5423 bool result;
5424 void *argp1 = 0 ;
5425 int res1 = 0 ;
5426 PyObject *swig_obj[1] ;
5427
5428 if (!args) SWIG_fail;
5429 swig_obj[0] = args;
5430 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5431 if (!SWIG_IsOK(res1)) {
5432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5433 }
5434 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5435 {
5436 PyThreadState* __tstate = wxPyBeginAllowThreads();
5437 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 {
5442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5443 }
0085ce49
RD
5444 return resultobj;
5445fail:
5446 return NULL;
5447}
5448
5449
5450SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj = 0;
5452 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5453 int arg2 ;
0085ce49
RD
5454 void *argp1 = 0 ;
5455 int res1 = 0 ;
5456 int val2 ;
5457 int ecode2 = 0 ;
5458 PyObject * obj0 = 0 ;
5459 PyObject * obj1 = 0 ;
5460 char * kwnames[] = {
5461 (char *) "self",(char *) "alignment", NULL
5462 };
5463
5464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5466 if (!SWIG_IsOK(res1)) {
5467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5468 }
5469 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5470 ecode2 = SWIG_AsVal_int(obj1, &val2);
5471 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 5472 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 5473 }
33d6fd3b 5474 arg2 = static_cast< int >(val2);
0085ce49
RD
5475 {
5476 PyThreadState* __tstate = wxPyBeginAllowThreads();
5477 (arg1)->SetAlignment(arg2);
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = SWIG_Py_Void();
5482 return resultobj;
5483fail:
5484 return NULL;
5485}
5486
5487
5488SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj = 0;
5490 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5491 wxString *arg2 = 0 ;
5492 void *argp1 = 0 ;
5493 int res1 = 0 ;
5494 bool temp2 = false ;
5495 PyObject * obj0 = 0 ;
5496 PyObject * obj1 = 0 ;
5497 char * kwnames[] = {
5498 (char *) "self",(char *) "text", NULL
5499 };
5500
5501 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5502 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5503 if (!SWIG_IsOK(res1)) {
5504 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5505 }
5506 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5507 {
5508 arg2 = wxString_in_helper(obj1);
5509 if (arg2 == NULL) SWIG_fail;
5510 temp2 = true;
5511 }
5512 {
5513 PyThreadState* __tstate = wxPyBeginAllowThreads();
5514 (arg1)->SetText((wxString const &)*arg2);
5515 wxPyEndAllowThreads(__tstate);
5516 if (PyErr_Occurred()) SWIG_fail;
5517 }
5518 resultobj = SWIG_Py_Void();
5519 {
5520 if (temp2)
5521 delete arg2;
5522 }
5523 return resultobj;
5524fail:
5525 {
5526 if (temp2)
5527 delete arg2;
5528 }
5529 return NULL;
5530}
5531
5532
5533SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj = 0;
5535 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5536 int arg2 ;
5537 void *argp1 = 0 ;
5538 int res1 = 0 ;
5539 int val2 ;
5540 int ecode2 = 0 ;
5541 PyObject * obj0 = 0 ;
5542 PyObject * obj1 = 0 ;
5543 char * kwnames[] = {
5544 (char *) "self",(char *) "image", NULL
5545 };
5546
5547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5549 if (!SWIG_IsOK(res1)) {
5550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5551 }
5552 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5553 ecode2 = SWIG_AsVal_int(obj1, &val2);
5554 if (!SWIG_IsOK(ecode2)) {
5555 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5556 }
5557 arg2 = static_cast< int >(val2);
5558 {
5559 PyThreadState* __tstate = wxPyBeginAllowThreads();
5560 (arg1)->SetImage(arg2);
5561 wxPyEndAllowThreads(__tstate);
5562 if (PyErr_Occurred()) SWIG_fail;
5563 }
5564 resultobj = SWIG_Py_Void();
5565 return resultobj;
5566fail:
5567 return NULL;
5568}
5569
5570
5571SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5572 PyObject *resultobj = 0;
5573 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5574 int arg2 ;
5575 void *argp1 = 0 ;
5576 int res1 = 0 ;
5577 int val2 ;
5578 int ecode2 = 0 ;
5579 PyObject * obj0 = 0 ;
5580 PyObject * obj1 = 0 ;
5581 char * kwnames[] = {
5582 (char *) "self",(char *) "image", NULL
5583 };
5584
5585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5587 if (!SWIG_IsOK(res1)) {
5588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5589 }
5590 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5591 ecode2 = SWIG_AsVal_int(obj1, &val2);
5592 if (!SWIG_IsOK(ecode2)) {
5593 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5594 }
5595 arg2 = static_cast< int >(val2);
5596 {
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 (arg1)->SetSelectedImage(arg2);
5599 wxPyEndAllowThreads(__tstate);
5600 if (PyErr_Occurred()) SWIG_fail;
5601 }
5602 resultobj = SWIG_Py_Void();
5603 return resultobj;
5604fail:
5605 return NULL;
5606}
5607
5608
5609SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5610 PyObject *resultobj = 0;
5611 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5612 size_t arg2 ;
5613 void *argp1 = 0 ;
5614 int res1 = 0 ;
5615 size_t val2 ;
5616 int ecode2 = 0 ;
5617 PyObject * obj0 = 0 ;
5618 PyObject * obj1 = 0 ;
5619 char * kwnames[] = {
5620 (char *) "self",(char *) "with", NULL
5621 };
5622
5623 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5624 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5625 if (!SWIG_IsOK(res1)) {
5626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5627 }
5628 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5629 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5630 if (!SWIG_IsOK(ecode2)) {
5631 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5632 }
5633 arg2 = static_cast< size_t >(val2);
5634 {
5635 PyThreadState* __tstate = wxPyBeginAllowThreads();
5636 (arg1)->SetWidth(arg2);
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 resultobj = SWIG_Py_Void();
5641 return resultobj;
5642fail:
5643 return NULL;
5644}
5645
5646
33d6fd3b 5647SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 5648 PyObject *resultobj = 0;
33d6fd3b
RD
5649 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5650 bool arg2 ;
0085ce49
RD
5651 void *argp1 = 0 ;
5652 int res1 = 0 ;
33d6fd3b 5653 bool val2 ;
0085ce49 5654 int ecode2 = 0 ;
0085ce49
RD
5655 PyObject * obj0 = 0 ;
5656 PyObject * obj1 = 0 ;
0085ce49 5657 char * kwnames[] = {
33d6fd3b 5658 (char *) "self",(char *) "edit", NULL
0085ce49
RD
5659 };
5660
33d6fd3b
RD
5661 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5662 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5663 if (!SWIG_IsOK(res1)) {
5664 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5665 }
5666 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5667 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5668 if (!SWIG_IsOK(ecode2)) {
5669 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5670 }
5671 arg2 = static_cast< bool >(val2);
5672 {
5673 PyThreadState* __tstate = wxPyBeginAllowThreads();
5674 (arg1)->SetEditable(arg2);
5675 wxPyEndAllowThreads(__tstate);
5676 if (PyErr_Occurred()) SWIG_fail;
5677 }
5678 resultobj = SWIG_Py_Void();
5679 return resultobj;
5680fail:
5681 return NULL;
5682}
5683
5684
5685SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5686 PyObject *resultobj = 0;
5687 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5688 bool arg2 ;
5689 void *argp1 = 0 ;
5690 int res1 = 0 ;
5691 bool val2 ;
5692 int ecode2 = 0 ;
5693 PyObject * obj0 = 0 ;
5694 PyObject * obj1 = 0 ;
5695 char * kwnames[] = {
5696 (char *) "self",(char *) "shown", NULL
5697 };
5698
5699 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5700 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5701 if (!SWIG_IsOK(res1)) {
5702 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5703 }
5704 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5705 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5706 if (!SWIG_IsOK(ecode2)) {
5707 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5708 }
5709 arg2 = static_cast< bool >(val2);
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SetShown(arg2);
5713 wxPyEndAllowThreads(__tstate);
5714 if (PyErr_Occurred()) SWIG_fail;
5715 }
5716 resultobj = SWIG_Py_Void();
5717 return resultobj;
5718fail:
5719 return NULL;
5720}
5721
5722
5723SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5724 PyObject *obj;
5725 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5726 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5727 return SWIG_Py_Void();
5728}
5729
5730SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5731 return SWIG_Python_InitShadowInstance(args);
5732}
5733
5734SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj = 0;
5736 wxWindow *arg1 = (wxWindow *) 0 ;
5737 int arg2 = (int) -1 ;
5738 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5739 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5740 wxSize const &arg4_defvalue = wxDefaultSize ;
5741 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5742 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5743 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5744 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5745 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5746 wxString *arg7 = (wxString *) &arg7_defvalue ;
5747 wxPyTreeListCtrl *result = 0 ;
5748 void *argp1 = 0 ;
5749 int res1 = 0 ;
5750 int val2 ;
5751 int ecode2 = 0 ;
5752 wxPoint temp3 ;
5753 wxSize temp4 ;
5754 long val5 ;
5755 int ecode5 = 0 ;
5756 void *argp6 = 0 ;
5757 int res6 = 0 ;
5758 bool temp7 = false ;
5759 PyObject * obj0 = 0 ;
5760 PyObject * obj1 = 0 ;
5761 PyObject * obj2 = 0 ;
5762 PyObject * obj3 = 0 ;
5763 PyObject * obj4 = 0 ;
5764 PyObject * obj5 = 0 ;
5765 PyObject * obj6 = 0 ;
5766 char * kwnames[] = {
5767 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5768 };
5769
5770 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5771 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
0085ce49
RD
5772 if (!SWIG_IsOK(res1)) {
5773 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5774 }
5775 arg1 = reinterpret_cast< wxWindow * >(argp1);
5776 if (obj1) {
5777 ecode2 = SWIG_AsVal_int(obj1, &val2);
5778 if (!SWIG_IsOK(ecode2)) {
5779 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5780 }
5781 arg2 = static_cast< int >(val2);
5782 }
5783 if (obj2) {
44127b65 5784 {
0085ce49
RD
5785 arg3 = &temp3;
5786 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 5787 }
0085ce49
RD
5788 }
5789 if (obj3) {
44127b65 5790 {
0085ce49
RD
5791 arg4 = &temp4;
5792 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 5793 }
0085ce49
RD
5794 }
5795 if (obj4) {
5796 ecode5 = SWIG_AsVal_long(obj4, &val5);
5797 if (!SWIG_IsOK(ecode5)) {
5798 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5799 }
5800 arg5 = static_cast< long >(val5);
5801 }
5802 if (obj5) {
5803 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5804 if (!SWIG_IsOK(res6)) {
5805 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5806 }
5807 if (!argp6) {
5808 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5809 }
5810 arg6 = reinterpret_cast< wxValidator * >(argp6);
5811 }
5812 if (obj6) {
4f89f6a3 5813 {
0085ce49
RD
5814 arg7 = wxString_in_helper(obj6);
5815 if (arg7 == NULL) SWIG_fail;
5816 temp7 = true;
4f89f6a3 5817 }
0085ce49
RD
5818 }
5819 {
5820 if (!wxPyCheckForApp()) SWIG_fail;
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5823 wxPyEndAllowThreads(__tstate);
5824 if (PyErr_Occurred()) SWIG_fail;
5825 }
5826 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5827 {
5828 if (temp7)
5829 delete arg7;
5830 }
5831 return resultobj;
5832fail:
5833 {
5834 if (temp7)
5835 delete arg7;
5836 }
5837 return NULL;
44127b65
RD
5838}
5839
5840
0085ce49
RD
5841SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5842 PyObject *resultobj = 0;
5843 wxPyTreeListCtrl *result = 0 ;
5844
5845 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5846 {
5847 if (!wxPyCheckForApp()) SWIG_fail;
5848 PyThreadState* __tstate = wxPyBeginAllowThreads();
5849 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5850 wxPyEndAllowThreads(__tstate);
5851 if (PyErr_Occurred()) SWIG_fail;
5852 }
5853 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5854 return resultobj;
5855fail:
5856 return NULL;
5857}
5858
5859
5860SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5861 PyObject *resultobj = 0;
5862 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5863 wxWindow *arg2 = (wxWindow *) 0 ;
5864 int arg3 = (int) -1 ;
5865 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5866 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5867 wxSize const &arg5_defvalue = wxDefaultSize ;
5868 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5869 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5870 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5871 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5872 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5873 wxString *arg8 = (wxString *) &arg8_defvalue ;
5874 bool result;
5875 void *argp1 = 0 ;
5876 int res1 = 0 ;
5877 void *argp2 = 0 ;
5878 int res2 = 0 ;
5879 int val3 ;
5880 int ecode3 = 0 ;
5881 wxPoint temp4 ;
5882 wxSize temp5 ;
5883 long val6 ;
5884 int ecode6 = 0 ;
5885 void *argp7 = 0 ;
5886 int res7 = 0 ;
5887 bool temp8 = false ;
5888 PyObject * obj0 = 0 ;
5889 PyObject * obj1 = 0 ;
5890 PyObject * obj2 = 0 ;
5891 PyObject * obj3 = 0 ;
5892 PyObject * obj4 = 0 ;
5893 PyObject * obj5 = 0 ;
5894 PyObject * obj6 = 0 ;
5895 PyObject * obj7 = 0 ;
5896 char * kwnames[] = {
5897 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5898 };
5899
5900 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5901 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5902 if (!SWIG_IsOK(res1)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5904 }
5905 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5906 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5907 if (!SWIG_IsOK(res2)) {
5908 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5909 }
5910 arg2 = reinterpret_cast< wxWindow * >(argp2);
5911 if (obj2) {
5912 ecode3 = SWIG_AsVal_int(obj2, &val3);
5913 if (!SWIG_IsOK(ecode3)) {
5914 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5915 }
5916 arg3 = static_cast< int >(val3);
5917 }
5918 if (obj3) {
44127b65 5919 {
0085ce49
RD
5920 arg4 = &temp4;
5921 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 5922 }
0085ce49
RD
5923 }
5924 if (obj4) {
cc6dd355 5925 {
0085ce49
RD
5926 arg5 = &temp5;
5927 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
cc6dd355 5928 }
0085ce49
RD
5929 }
5930 if (obj5) {
5931 ecode6 = SWIG_AsVal_long(obj5, &val6);
5932 if (!SWIG_IsOK(ecode6)) {
5933 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5934 }
5935 arg6 = static_cast< long >(val6);
5936 }
5937 if (obj6) {
5938 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5939 if (!SWIG_IsOK(res7)) {
5940 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
3004cfd8 5941 }
0085ce49
RD
5942 if (!argp7) {
5943 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
44127b65 5944 }
0085ce49
RD
5945 arg7 = reinterpret_cast< wxValidator * >(argp7);
5946 }
5947 if (obj7) {
44127b65 5948 {
0085ce49
RD
5949 arg8 = wxString_in_helper(obj7);
5950 if (arg8 == NULL) SWIG_fail;
5951 temp8 = true;
44127b65 5952 }
0085ce49
RD
5953 }
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 {
5961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5962 }
5963 {
5964 if (temp8)
5965 delete arg8;
5966 }
5967 return resultobj;
5968fail:
5969 {
5970 if (temp8)
5971 delete arg8;
5972 }
5973 return NULL;
5974}
5975
5976
5977SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj = 0;
5979 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5980 PyObject *arg2 = (PyObject *) 0 ;
5981 PyObject *arg3 = (PyObject *) 0 ;
5982 void *argp1 = 0 ;
5983 int res1 = 0 ;
5984 PyObject * obj0 = 0 ;
5985 PyObject * obj1 = 0 ;
5986 PyObject * obj2 = 0 ;
5987 char * kwnames[] = {
5988 (char *) "self",(char *) "self",(char *) "_class", NULL
5989 };
5990
5991 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5992 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5993 if (!SWIG_IsOK(res1)) {
5994 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5995 }
5996 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5997 arg2 = obj1;
5998 arg3 = obj2;
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 (arg1)->_setCallbackInfo(arg2,arg3);
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_Py_Void();
6006 return resultobj;
6007fail:
6008 return NULL;
44127b65
RD
6009}
6010
6011
0085ce49
RD
6012SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6013 PyObject *resultobj = 0;
6014 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6015 size_t result;
6016 void *argp1 = 0 ;
6017 int res1 = 0 ;
6018 PyObject *swig_obj[1] ;
6019
6020 if (!args) SWIG_fail;
6021 swig_obj[0] = args;
6022 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6023 if (!SWIG_IsOK(res1)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6025 }
6026 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6034 return resultobj;
6035fail:
6036 return NULL;
44127b65
RD
6037}
6038
6039
0085ce49
RD
6040SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6041 PyObject *resultobj = 0;
6042 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6043 unsigned int result;
6044 void *argp1 = 0 ;
6045 int res1 = 0 ;
6046 PyObject *swig_obj[1] ;
6047
6048 if (!args) SWIG_fail;
6049 swig_obj[0] = args;
6050 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6051 if (!SWIG_IsOK(res1)) {
6052 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6053 }
6054 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6062 return resultobj;
6063fail:
6064 return NULL;
6065}
6066
6067
6068SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj = 0;
6070 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6071 unsigned int arg2 ;
6072 void *argp1 = 0 ;
6073 int res1 = 0 ;
6074 unsigned int val2 ;
6075 int ecode2 = 0 ;
6076 PyObject * obj0 = 0 ;
6077 PyObject * obj1 = 0 ;
6078 char * kwnames[] = {
6079 (char *) "self",(char *) "indent", NULL
6080 };
6081
6082 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6083 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6084 if (!SWIG_IsOK(res1)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6086 }
6087 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6088 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6089 if (!SWIG_IsOK(ecode2)) {
6090 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6091 }
6092 arg2 = static_cast< unsigned int >(val2);
6093 {
6094 PyThreadState* __tstate = wxPyBeginAllowThreads();
6095 (arg1)->SetIndent(arg2);
6096 wxPyEndAllowThreads(__tstate);
6097 if (PyErr_Occurred()) SWIG_fail;
6098 }
6099 resultobj = SWIG_Py_Void();
6100 return resultobj;
6101fail:
6102 return NULL;
28eab81f
RD
6103}
6104
6105
0085ce49
RD
6106SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6107 PyObject *resultobj = 0;
6108 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6109 unsigned int result;
6110 void *argp1 = 0 ;
6111 int res1 = 0 ;
6112 PyObject *swig_obj[1] ;
6113
6114 if (!args) SWIG_fail;
6115 swig_obj[0] = args;
6116 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6117 if (!SWIG_IsOK(res1)) {
6118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6119 }
6120 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6124 wxPyEndAllowThreads(__tstate);
6125 if (PyErr_Occurred()) SWIG_fail;
6126 }
6127 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6128 return resultobj;
6129fail:
6130 return NULL;
6131}
6132
6133
6134SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj = 0;
6136 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6137 unsigned int arg2 ;
6138 void *argp1 = 0 ;
6139 int res1 = 0 ;
6140 unsigned int val2 ;
6141 int ecode2 = 0 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char * kwnames[] = {
6145 (char *) "self",(char *) "spacing", NULL
6146 };
6147
6148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6149 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6150 if (!SWIG_IsOK(res1)) {
6151 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6152 }
6153 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6154 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6155 if (!SWIG_IsOK(ecode2)) {
6156 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6157 }
6158 arg2 = static_cast< unsigned int >(val2);
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 (arg1)->SetLineSpacing(arg2);
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_Py_Void();
6166 return resultobj;
6167fail:
6168 return NULL;
44127b65
RD
6169}
6170
6171
0085ce49
RD
6172SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6173 PyObject *resultobj = 0;
6174 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6175 wxImageList *result = 0 ;
6176 void *argp1 = 0 ;
6177 int res1 = 0 ;
6178 PyObject *swig_obj[1] ;
6179
6180 if (!args) SWIG_fail;
6181 swig_obj[0] = args;
6182 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6183 if (!SWIG_IsOK(res1)) {
6184 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6185 }
6186 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6187 {
6188 PyThreadState* __tstate = wxPyBeginAllowThreads();
6189 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
3ecece7e
RD
6193 {
6194 resultobj = wxPyMake_wxObject(result, (bool)0);
6195 }
0085ce49
RD
6196 return resultobj;
6197fail:
6198 return NULL;
44127b65
RD
6199}
6200
6201
0085ce49
RD
6202SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6203 PyObject *resultobj = 0;
6204 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6205 wxImageList *result = 0 ;
6206 void *argp1 = 0 ;
6207 int res1 = 0 ;
6208 PyObject *swig_obj[1] ;
6209
6210 if (!args) SWIG_fail;
6211 swig_obj[0] = args;
6212 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6213 if (!SWIG_IsOK(res1)) {
6214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6215 }
6216 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6217 {
6218 PyThreadState* __tstate = wxPyBeginAllowThreads();
6219 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
3ecece7e
RD
6223 {
6224 resultobj = wxPyMake_wxObject(result, (bool)0);
6225 }
0085ce49
RD
6226 return resultobj;
6227fail:
6228 return NULL;
44127b65
RD
6229}
6230
6231
0085ce49
RD
6232SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6233 PyObject *resultobj = 0;
6234 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6235 wxImageList *result = 0 ;
6236 void *argp1 = 0 ;
6237 int res1 = 0 ;
6238 PyObject *swig_obj[1] ;
6239
6240 if (!args) SWIG_fail;
6241 swig_obj[0] = args;
6242 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6243 if (!SWIG_IsOK(res1)) {
6244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6245 }
6246 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
3ecece7e
RD
6253 {
6254 resultobj = wxPyMake_wxObject(result, (bool)0);
6255 }
0085ce49
RD
6256 return resultobj;
6257fail:
6258 return NULL;
6259}
6260
6261
6262SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6263 PyObject *resultobj = 0;
6264 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6265 wxImageList *arg2 = (wxImageList *) 0 ;
6266 void *argp1 = 0 ;
6267 int res1 = 0 ;
6268 void *argp2 = 0 ;
6269 int res2 = 0 ;
6270 PyObject * obj0 = 0 ;
6271 PyObject * obj1 = 0 ;
6272 char * kwnames[] = {
6273 (char *) "self",(char *) "imageList", NULL
6274 };
6275
6276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6278 if (!SWIG_IsOK(res1)) {
6279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6280 }
6281 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6282 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6283 if (!SWIG_IsOK(res2)) {
6284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6285 }
6286 arg2 = reinterpret_cast< wxImageList * >(argp2);
6287 {
6288 PyThreadState* __tstate = wxPyBeginAllowThreads();
6289 (arg1)->SetImageList(arg2);
6290 wxPyEndAllowThreads(__tstate);
6291 if (PyErr_Occurred()) SWIG_fail;
6292 }
6293 resultobj = SWIG_Py_Void();
6294 return resultobj;
6295fail:
6296 return NULL;
6297}
6298
6299
6300SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6301 PyObject *resultobj = 0;
6302 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6303 wxImageList *arg2 = (wxImageList *) 0 ;
6304 void *argp1 = 0 ;
6305 int res1 = 0 ;
6306 void *argp2 = 0 ;
6307 int res2 = 0 ;
6308 PyObject * obj0 = 0 ;
6309 PyObject * obj1 = 0 ;
6310 char * kwnames[] = {
6311 (char *) "self",(char *) "imageList", NULL
6312 };
6313
6314 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6315 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6316 if (!SWIG_IsOK(res1)) {
6317 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6318 }
6319 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6320 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6321 if (!SWIG_IsOK(res2)) {
6322 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6323 }
6324 arg2 = reinterpret_cast< wxImageList * >(argp2);
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 (arg1)->SetStateImageList(arg2);
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 resultobj = SWIG_Py_Void();
6332 return resultobj;
6333fail:
6334 return NULL;
6335}
6336
6337
6338SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6339 PyObject *resultobj = 0;
6340 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6341 wxImageList *arg2 = (wxImageList *) 0 ;
6342 void *argp1 = 0 ;
6343 int res1 = 0 ;
6344 void *argp2 = 0 ;
6345 int res2 = 0 ;
6346 PyObject * obj0 = 0 ;
6347 PyObject * obj1 = 0 ;
6348 char * kwnames[] = {
6349 (char *) "self",(char *) "imageList", NULL
6350 };
6351
6352 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6353 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6354 if (!SWIG_IsOK(res1)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6356 }
6357 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6358 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6359 if (!SWIG_IsOK(res2)) {
6360 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6361 }
6362 arg2 = reinterpret_cast< wxImageList * >(argp2);
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 (arg1)->SetButtonsImageList(arg2);
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 resultobj = SWIG_Py_Void();
6370 return resultobj;
6371fail:
6372 return NULL;
6373}
6374
6375
6376SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj = 0;
6378 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6379 wxImageList *arg2 = (wxImageList *) 0 ;
6380 void *argp1 = 0 ;
6381 int res1 = 0 ;
6382 int res2 = 0 ;
6383 PyObject * obj0 = 0 ;
6384 PyObject * obj1 = 0 ;
6385 char * kwnames[] = {
6386 (char *) "self",(char *) "imageList", NULL
6387 };
6388
6389 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6390 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6391 if (!SWIG_IsOK(res1)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6393 }
6394 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6395 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6396 if (!SWIG_IsOK(res2)) {
6397 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6398 }
6399 {
6400 PyThreadState* __tstate = wxPyBeginAllowThreads();
6401 (arg1)->AssignImageList(arg2);
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 resultobj = SWIG_Py_Void();
6406 return resultobj;
6407fail:
6408 return NULL;
6409}
6410
6411
6412SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj = 0;
6414 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6415 wxImageList *arg2 = (wxImageList *) 0 ;
6416 void *argp1 = 0 ;
6417 int res1 = 0 ;
6418 int res2 = 0 ;
6419 PyObject * obj0 = 0 ;
6420 PyObject * obj1 = 0 ;
6421 char * kwnames[] = {
6422 (char *) "self",(char *) "imageList", NULL
6423 };
6424
6425 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6426 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6427 if (!SWIG_IsOK(res1)) {
6428 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6429 }
6430 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6431 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6432 if (!SWIG_IsOK(res2)) {
6433 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6434 }
6435 {
6436 PyThreadState* __tstate = wxPyBeginAllowThreads();
6437 (arg1)->AssignStateImageList(arg2);
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 resultobj = SWIG_Py_Void();
6442 return resultobj;
6443fail:
6444 return NULL;
6445}
6446
6447
6448SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj = 0;
6450 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6451 wxImageList *arg2 = (wxImageList *) 0 ;
6452 void *argp1 = 0 ;
6453 int res1 = 0 ;
6454 int res2 = 0 ;
6455 PyObject * obj0 = 0 ;
6456 PyObject * obj1 = 0 ;
6457 char * kwnames[] = {
6458 (char *) "self",(char *) "imageList", NULL
6459 };
6460
6461 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6462 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6463 if (!SWIG_IsOK(res1)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6465 }
6466 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6467 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6468 if (!SWIG_IsOK(res2)) {
6469 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 (arg1)->AssignButtonsImageList(arg2);
6474 wxPyEndAllowThreads(__tstate);
6475 if (PyErr_Occurred()) SWIG_fail;
6476 }
6477 resultobj = SWIG_Py_Void();
6478 return resultobj;
6479fail:
6480 return NULL;
6481}
6482
6483
6484SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6485 PyObject *resultobj = 0;
6486 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6487 wxString *arg2 = 0 ;
33d6fd3b
RD
6488 int arg3 = (int) DEFAULT_COL_WIDTH ;
6489 int arg4 = (int) wxALIGN_LEFT ;
6490 int arg5 = (int) -1 ;
6491 bool arg6 = (bool) true ;
6492 bool arg7 = (bool) false ;
0085ce49
RD
6493 void *argp1 = 0 ;
6494 int res1 = 0 ;
6495 bool temp2 = false ;
33d6fd3b
RD
6496 int val3 ;
6497 int ecode3 = 0 ;
6498 int val4 ;
6499 int ecode4 = 0 ;
6500 int val5 ;
6501 int ecode5 = 0 ;
6502 bool val6 ;
6503 int ecode6 = 0 ;
6504 bool val7 ;
6505 int ecode7 = 0 ;
0085ce49
RD
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
33d6fd3b
RD
6508 PyObject * obj2 = 0 ;
6509 PyObject * obj3 = 0 ;
6510 PyObject * obj4 = 0 ;
6511 PyObject * obj5 = 0 ;
6512 PyObject * obj6 = 0 ;
0085ce49 6513 char * kwnames[] = {
33d6fd3b 6514 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
6515 };
6516
33d6fd3b 6517 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
0085ce49
RD
6518 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6519 if (!SWIG_IsOK(res1)) {
6520 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6521 }
6522 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6523 {
6524 arg2 = wxString_in_helper(obj1);
6525 if (arg2 == NULL) SWIG_fail;
6526 temp2 = true;
6527 }
33d6fd3b
RD
6528 if (obj2) {
6529 ecode3 = SWIG_AsVal_int(obj2, &val3);
6530 if (!SWIG_IsOK(ecode3)) {
6531 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6532 }
6533 arg3 = static_cast< int >(val3);
6534 }
6535 if (obj3) {
6536 ecode4 = SWIG_AsVal_int(obj3, &val4);
6537 if (!SWIG_IsOK(ecode4)) {
6538 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6539 }
6540 arg4 = static_cast< int >(val4);
6541 }
6542 if (obj4) {
6543 ecode5 = SWIG_AsVal_int(obj4, &val5);
6544 if (!SWIG_IsOK(ecode5)) {
6545 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6546 }
6547 arg5 = static_cast< int >(val5);
6548 }
6549 if (obj5) {
6550 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6551 if (!SWIG_IsOK(ecode6)) {
6552 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6553 }
6554 arg6 = static_cast< bool >(val6);
6555 }
6556 if (obj6) {
6557 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6558 if (!SWIG_IsOK(ecode7)) {
6559 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6560 }
6561 arg7 = static_cast< bool >(val7);
6562 }
0085ce49
RD
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6565 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
0085ce49
RD
6566 wxPyEndAllowThreads(__tstate);
6567 if (PyErr_Occurred()) SWIG_fail;
6568 }
6569 resultobj = SWIG_Py_Void();
6570 {
6571 if (temp2)
6572 delete arg2;
6573 }
6574 return resultobj;
6575fail:
6576 {
6577 if (temp2)
6578 delete arg2;
6579 }
6580 return NULL;
6581}
6582
6583
6584SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6585 PyObject *resultobj = 0;
6586 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6587 wxTreeListColumnInfo *arg2 = 0 ;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 void *argp2 = 0 ;
6591 int res2 = 0 ;
6592 PyObject * obj0 = 0 ;
6593 PyObject * obj1 = 0 ;
6594 char * kwnames[] = {
6595 (char *) "self",(char *) "col", NULL
6596 };
6597
6598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6600 if (!SWIG_IsOK(res1)) {
6601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6602 }
6603 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6605 if (!SWIG_IsOK(res2)) {
6606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6607 }
6608 if (!argp2) {
6609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6610 }
6611 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = SWIG_Py_Void();
6619 return resultobj;
6620fail:
6621 return NULL;
6622}
6623
6624
6625SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj = 0;
6627 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 6628 int arg2 ;
0085ce49 6629 wxString *arg3 = 0 ;
33d6fd3b
RD
6630 int arg4 = (int) DEFAULT_COL_WIDTH ;
6631 int arg5 = (int) wxALIGN_LEFT ;
6632 int arg6 = (int) -1 ;
6633 bool arg7 = (bool) true ;
6634 bool arg8 = (bool) false ;
0085ce49
RD
6635 void *argp1 = 0 ;
6636 int res1 = 0 ;
33d6fd3b 6637 int val2 ;
0085ce49
RD
6638 int ecode2 = 0 ;
6639 bool temp3 = false ;
33d6fd3b
RD
6640 int val4 ;
6641 int ecode4 = 0 ;
6642 int val5 ;
6643 int ecode5 = 0 ;
6644 int val6 ;
6645 int ecode6 = 0 ;
6646 bool val7 ;
6647 int ecode7 = 0 ;
6648 bool val8 ;
6649 int ecode8 = 0 ;
0085ce49
RD
6650 PyObject * obj0 = 0 ;
6651 PyObject * obj1 = 0 ;
6652 PyObject * obj2 = 0 ;
33d6fd3b
RD
6653 PyObject * obj3 = 0 ;
6654 PyObject * obj4 = 0 ;
6655 PyObject * obj5 = 0 ;
6656 PyObject * obj6 = 0 ;
6657 PyObject * obj7 = 0 ;
0085ce49 6658 char * kwnames[] = {
33d6fd3b 6659 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
6660 };
6661
33d6fd3b 6662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
0085ce49
RD
6663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6664 if (!SWIG_IsOK(res1)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6666 }
6667 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 6668 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 6669 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
0085ce49 6671 }
33d6fd3b 6672 arg2 = static_cast< int >(val2);
0085ce49
RD
6673 {
6674 arg3 = wxString_in_helper(obj2);
6675 if (arg3 == NULL) SWIG_fail;
6676 temp3 = true;
6677 }
33d6fd3b
RD
6678 if (obj3) {
6679 ecode4 = SWIG_AsVal_int(obj3, &val4);
6680 if (!SWIG_IsOK(ecode4)) {
6681 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6682 }
6683 arg4 = static_cast< int >(val4);
6684 }
6685 if (obj4) {
6686 ecode5 = SWIG_AsVal_int(obj4, &val5);
6687 if (!SWIG_IsOK(ecode5)) {
6688 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6689 }
6690 arg5 = static_cast< int >(val5);
6691 }
6692 if (obj5) {
6693 ecode6 = SWIG_AsVal_int(obj5, &val6);
6694 if (!SWIG_IsOK(ecode6)) {
6695 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6696 }
6697 arg6 = static_cast< int >(val6);
6698 }
6699 if (obj6) {
6700 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6701 if (!SWIG_IsOK(ecode7)) {
6702 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6703 }
6704 arg7 = static_cast< bool >(val7);
6705 }
6706 if (obj7) {
6707 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6708 if (!SWIG_IsOK(ecode8)) {
6709 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6710 }
6711 arg8 = static_cast< bool >(val8);
6712 }
0085ce49
RD
6713 {
6714 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6715 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
0085ce49
RD
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = SWIG_Py_Void();
6720 {
6721 if (temp3)
6722 delete arg3;
6723 }
6724 return resultobj;
6725fail:
6726 {
6727 if (temp3)
6728 delete arg3;
6729 }
6730 return NULL;
6731}
6732
6733
6734SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6735 PyObject *resultobj = 0;
6736 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6737 size_t arg2 ;
6738 wxTreeListColumnInfo *arg3 = 0 ;
6739 void *argp1 = 0 ;
6740 int res1 = 0 ;
6741 size_t val2 ;
6742 int ecode2 = 0 ;
6743 void *argp3 = 0 ;
6744 int res3 = 0 ;
6745 PyObject * obj0 = 0 ;
6746 PyObject * obj1 = 0 ;
6747 PyObject * obj2 = 0 ;
6748 char * kwnames[] = {
6749 (char *) "self",(char *) "before",(char *) "col", NULL
6750 };
6751
6752 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6753 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6754 if (!SWIG_IsOK(res1)) {
6755 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6756 }
6757 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6758 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6759 if (!SWIG_IsOK(ecode2)) {
6760 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6761 }
6762 arg2 = static_cast< size_t >(val2);
6763 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6764 if (!SWIG_IsOK(res3)) {
6765 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6766 }
6767 if (!argp3) {
6768 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6769 }
6770 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6774 wxPyEndAllowThreads(__tstate);
6775 if (PyErr_Occurred()) SWIG_fail;
6776 }
6777 resultobj = SWIG_Py_Void();
6778 return resultobj;
6779fail:
6780 return NULL;
6781}
6782
6783
6784SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6785 PyObject *resultobj = 0;
6786 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6787 size_t arg2 ;
6788 void *argp1 = 0 ;
6789 int res1 = 0 ;
6790 size_t val2 ;
6791 int ecode2 = 0 ;
6792 PyObject * obj0 = 0 ;
6793 PyObject * obj1 = 0 ;
6794 char * kwnames[] = {
6795 (char *) "self",(char *) "column", NULL
6796 };
6797
6798 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6799 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6800 if (!SWIG_IsOK(res1)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6802 }
6803 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6804 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6805 if (!SWIG_IsOK(ecode2)) {
6806 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6807 }
6808 arg2 = static_cast< size_t >(val2);
6809 {
6810 PyThreadState* __tstate = wxPyBeginAllowThreads();
6811 (arg1)->RemoveColumn(arg2);
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 resultobj = SWIG_Py_Void();
6816 return resultobj;
6817fail:
6818 return NULL;
44127b65
RD
6819}
6820
6821
0085ce49
RD
6822SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6823 PyObject *resultobj = 0;
6824 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6825 size_t result;
6826 void *argp1 = 0 ;
6827 int res1 = 0 ;
6828 PyObject *swig_obj[1] ;
6829
6830 if (!args) SWIG_fail;
6831 swig_obj[0] = args;
6832 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6833 if (!SWIG_IsOK(res1)) {
6834 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6835 }
6836 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6844 return resultobj;
6845fail:
6846 return NULL;
6847}
6848
6849
33d6fd3b 6850SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6851 PyObject *resultobj = 0;
6852 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6853 size_t arg2 ;
0085ce49
RD
6854 void *argp1 = 0 ;
6855 int res1 = 0 ;
6856 size_t val2 ;
6857 int ecode2 = 0 ;
0085ce49
RD
6858 PyObject * obj0 = 0 ;
6859 PyObject * obj1 = 0 ;
0085ce49 6860 char * kwnames[] = {
33d6fd3b 6861 (char *) "self",(char *) "column", NULL
0085ce49
RD
6862 };
6863
33d6fd3b 6864 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
6865 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6866 if (!SWIG_IsOK(res1)) {
33d6fd3b 6867 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6868 }
6869 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6870 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6871 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6872 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
0085ce49
RD
6873 }
6874 arg2 = static_cast< size_t >(val2);
0085ce49
RD
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6877 (arg1)->SetMainColumn(arg2);
0085ce49
RD
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 resultobj = SWIG_Py_Void();
6882 return resultobj;
6883fail:
6884 return NULL;
6885}
6886
6887
33d6fd3b 6888SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
6889 PyObject *resultobj = 0;
6890 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 6891 size_t result;
0085ce49
RD
6892 void *argp1 = 0 ;
6893 int res1 = 0 ;
33d6fd3b 6894 PyObject *swig_obj[1] ;
0085ce49 6895
33d6fd3b
RD
6896 if (!args) SWIG_fail;
6897 swig_obj[0] = args;
6898 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 6899 if (!SWIG_IsOK(res1)) {
33d6fd3b 6900 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
6901 }
6902 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
6903 {
6904 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6905 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
0085ce49
RD
6906 wxPyEndAllowThreads(__tstate);
6907 if (PyErr_Occurred()) SWIG_fail;
6908 }
33d6fd3b 6909 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
6910 return resultobj;
6911fail:
6912 return NULL;
6913}
6914
6915
33d6fd3b 6916SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6917 PyObject *resultobj = 0;
6918 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
6919 int arg2 ;
6920 wxTreeListColumnInfo *arg3 = 0 ;
0085ce49
RD
6921 void *argp1 = 0 ;
6922 int res1 = 0 ;
33d6fd3b 6923 int val2 ;
0085ce49 6924 int ecode2 = 0 ;
33d6fd3b
RD
6925 void *argp3 = 0 ;
6926 int res3 = 0 ;
0085ce49
RD
6927 PyObject * obj0 = 0 ;
6928 PyObject * obj1 = 0 ;
33d6fd3b 6929 PyObject * obj2 = 0 ;
0085ce49 6930 char * kwnames[] = {
33d6fd3b 6931 (char *) "self",(char *) "column",(char *) "colInfo", NULL
0085ce49
RD
6932 };
6933
33d6fd3b 6934 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
6935 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6936 if (!SWIG_IsOK(res1)) {
33d6fd3b 6937 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6938 }
6939 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 6940 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 6941 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6942 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
0085ce49 6943 }
33d6fd3b
RD
6944 arg2 = static_cast< int >(val2);
6945 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6946 if (!SWIG_IsOK(res3)) {
6947 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6948 }
6949 if (!argp3) {
6950 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6951 }
6952 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
0085ce49
RD
6953 {
6954 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6955 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
0085ce49
RD
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 resultobj = SWIG_Py_Void();
6960 return resultobj;
6961fail:
6962 return NULL;
44127b65
RD
6963}
6964
6965
33d6fd3b 6966SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6967 PyObject *resultobj = 0;
6968 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
6969 int arg2 ;
6970 wxTreeListColumnInfo *result = 0 ;
0085ce49
RD
6971 void *argp1 = 0 ;
6972 int res1 = 0 ;
33d6fd3b
RD
6973 int val2 ;
6974 int ecode2 = 0 ;
6975 PyObject * obj0 = 0 ;
6976 PyObject * obj1 = 0 ;
6977 char * kwnames[] = {
6978 (char *) "self",(char *) "column", NULL
6979 };
0085ce49 6980
33d6fd3b
RD
6981 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6982 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 6983 if (!SWIG_IsOK(res1)) {
33d6fd3b 6984 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6985 }
6986 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
6987 ecode2 = SWIG_AsVal_int(obj1, &val2);
6988 if (!SWIG_IsOK(ecode2)) {
6989 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6990 }
6991 arg2 = static_cast< int >(val2);
0085ce49
RD
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b
RD
6994 {
6995 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6996 result = (wxTreeListColumnInfo *) &_result_ref;
6997 }
0085ce49
RD
6998 wxPyEndAllowThreads(__tstate);
6999 if (PyErr_Occurred()) SWIG_fail;
7000 }
33d6fd3b 7001 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
0085ce49
RD
7002 return resultobj;
7003fail:
7004 return NULL;
7005}
7006
7007
7008SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7009 PyObject *resultobj = 0;
7010 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7011 int arg2 ;
0085ce49
RD
7012 wxString *arg3 = 0 ;
7013 void *argp1 = 0 ;
7014 int res1 = 0 ;
33d6fd3b 7015 int val2 ;
0085ce49
RD
7016 int ecode2 = 0 ;
7017 bool temp3 = false ;
7018 PyObject * obj0 = 0 ;
7019 PyObject * obj1 = 0 ;
7020 PyObject * obj2 = 0 ;
7021 char * kwnames[] = {
7022 (char *) "self",(char *) "column",(char *) "text", NULL
7023 };
7024
7025 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7026 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7027 if (!SWIG_IsOK(res1)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7029 }
7030 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7031 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7032 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7033 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
0085ce49 7034 }
33d6fd3b 7035 arg2 = static_cast< int >(val2);
0085ce49
RD
7036 {
7037 arg3 = wxString_in_helper(obj2);
7038 if (arg3 == NULL) SWIG_fail;
7039 temp3 = true;
7040 }
7041 {
7042 PyThreadState* __tstate = wxPyBeginAllowThreads();
7043 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 resultobj = SWIG_Py_Void();
7048 {
7049 if (temp3)
7050 delete arg3;
7051 }
7052 return resultobj;
7053fail:
7054 {
7055 if (temp3)
7056 delete arg3;
7057 }
7058 return NULL;
7059}
7060
7061
7062SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7063 PyObject *resultobj = 0;
7064 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7065 int arg2 ;
0085ce49
RD
7066 wxString result;
7067 void *argp1 = 0 ;
7068 int res1 = 0 ;
33d6fd3b 7069 int val2 ;
0085ce49
RD
7070 int ecode2 = 0 ;
7071 PyObject * obj0 = 0 ;
7072 PyObject * obj1 = 0 ;
7073 char * kwnames[] = {
7074 (char *) "self",(char *) "column", NULL
7075 };
7076
7077 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7078 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7079 if (!SWIG_IsOK(res1)) {
7080 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7081 }
7082 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7083 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7084 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7085 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
0085ce49 7086 }
33d6fd3b 7087 arg2 = static_cast< int >(val2);
0085ce49
RD
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 {
7095#if wxUSE_UNICODE
7096 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7097#else
7098 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7099#endif
7100 }
7101 return resultobj;
7102fail:
7103 return NULL;
7104}
7105
7106
33d6fd3b 7107SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7108 PyObject *resultobj = 0;
7109 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7110 int arg2 ;
7111 int arg3 ;
0085ce49
RD
7112 void *argp1 = 0 ;
7113 int res1 = 0 ;
33d6fd3b 7114 int val2 ;
0085ce49 7115 int ecode2 = 0 ;
33d6fd3b
RD
7116 int val3 ;
7117 int ecode3 = 0 ;
0085ce49
RD
7118 PyObject * obj0 = 0 ;
7119 PyObject * obj1 = 0 ;
7120 PyObject * obj2 = 0 ;
7121 char * kwnames[] = {
33d6fd3b 7122 (char *) "self",(char *) "column",(char *) "width", NULL
0085ce49
RD
7123 };
7124
33d6fd3b 7125 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
7126 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7127 if (!SWIG_IsOK(res1)) {
33d6fd3b 7128 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
7129 }
7130 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7131 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7132 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7133 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
0085ce49 7134 }
33d6fd3b
RD
7135 arg2 = static_cast< int >(val2);
7136 ecode3 = SWIG_AsVal_int(obj2, &val3);
7137 if (!SWIG_IsOK(ecode3)) {
7138 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7139 }
7140 arg3 = static_cast< int >(val3);
0085ce49
RD
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7143 (arg1)->SetColumnWidth(arg2,arg3);
0085ce49
RD
7144 wxPyEndAllowThreads(__tstate);
7145 if (PyErr_Occurred()) SWIG_fail;
7146 }
7147 resultobj = SWIG_Py_Void();
7148 return resultobj;
7149fail:
7150 return NULL;
7151}
7152
7153
33d6fd3b 7154SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7155 PyObject *resultobj = 0;
7156 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7157 int arg2 ;
7158 int result;
0085ce49
RD
7159 void *argp1 = 0 ;
7160 int res1 = 0 ;
33d6fd3b 7161 int val2 ;
0085ce49
RD
7162 int ecode2 = 0 ;
7163 PyObject * obj0 = 0 ;
7164 PyObject * obj1 = 0 ;
7165 char * kwnames[] = {
7166 (char *) "self",(char *) "column", NULL
7167 };
7168
33d6fd3b 7169 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
7170 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7171 if (!SWIG_IsOK(res1)) {
33d6fd3b 7172 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
7173 }
7174 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7175 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7176 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7177 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
0085ce49 7178 }
33d6fd3b 7179 arg2 = static_cast< int >(val2);
0085ce49
RD
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7182 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
0085ce49
RD
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
33d6fd3b 7186 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
7187 return resultobj;
7188fail:
7189 return NULL;
7190}
7191
7192
7193SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj = 0;
7195 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7196 int arg2 ;
7197 int arg3 ;
0085ce49
RD
7198 void *argp1 = 0 ;
7199 int res1 = 0 ;
33d6fd3b 7200 int val2 ;
0085ce49
RD
7201 int ecode2 = 0 ;
7202 int val3 ;
7203 int ecode3 = 0 ;
7204 PyObject * obj0 = 0 ;
7205 PyObject * obj1 = 0 ;
7206 PyObject * obj2 = 0 ;
7207 char * kwnames[] = {
33d6fd3b 7208 (char *) "self",(char *) "column",(char *) "flag", NULL
0085ce49
RD
7209 };
7210
7211 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7212 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7213 if (!SWIG_IsOK(res1)) {
7214 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7215 }
7216 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7217 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7218 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7219 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 7220 }
33d6fd3b 7221 arg2 = static_cast< int >(val2);
0085ce49
RD
7222 ecode3 = SWIG_AsVal_int(obj2, &val3);
7223 if (!SWIG_IsOK(ecode3)) {
33d6fd3b 7224 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
0085ce49 7225 }
33d6fd3b 7226 arg3 = static_cast< int >(val3);
0085ce49
RD
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 (arg1)->SetColumnAlignment(arg2,arg3);
7230 wxPyEndAllowThreads(__tstate);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 resultobj = SWIG_Py_Void();
7234 return resultobj;
7235fail:
7236 return NULL;
7237}
7238
7239
7240SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7241 PyObject *resultobj = 0;
7242 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7243 int arg2 ;
7244 int result;
0085ce49
RD
7245 void *argp1 = 0 ;
7246 int res1 = 0 ;
33d6fd3b 7247 int val2 ;
0085ce49
RD
7248 int ecode2 = 0 ;
7249 PyObject * obj0 = 0 ;
7250 PyObject * obj1 = 0 ;
7251 char * kwnames[] = {
7252 (char *) "self",(char *) "column", NULL
7253 };
7254
7255 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7256 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7257 if (!SWIG_IsOK(res1)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7259 }
7260 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7261 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7262 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7263 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 7264 }
33d6fd3b 7265 arg2 = static_cast< int >(val2);
0085ce49
RD
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7268 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
0085ce49
RD
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = SWIG_From_int(static_cast< int >(result));
7273 return resultobj;
7274fail:
7275 return NULL;
7276}
7277
7278
7279SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj = 0;
7281 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7282 int arg2 ;
0085ce49
RD
7283 int arg3 ;
7284 void *argp1 = 0 ;
7285 int res1 = 0 ;
33d6fd3b 7286 int val2 ;
0085ce49
RD
7287 int ecode2 = 0 ;
7288 int val3 ;
7289 int ecode3 = 0 ;
7290 PyObject * obj0 = 0 ;
7291 PyObject * obj1 = 0 ;
7292 PyObject * obj2 = 0 ;
7293 char * kwnames[] = {
7294 (char *) "self",(char *) "column",(char *) "image", NULL
7295 };
7296
7297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7299 if (!SWIG_IsOK(res1)) {
7300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7301 }
7302 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7303 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7304 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7305 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
0085ce49 7306 }
33d6fd3b 7307 arg2 = static_cast< int >(val2);
0085ce49
RD
7308 ecode3 = SWIG_AsVal_int(obj2, &val3);
7309 if (!SWIG_IsOK(ecode3)) {
7310 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7311 }
7312 arg3 = static_cast< int >(val3);
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 (arg1)->SetColumnImage(arg2,arg3);
7316 wxPyEndAllowThreads(__tstate);
7317 if (PyErr_Occurred()) SWIG_fail;
7318 }
7319 resultobj = SWIG_Py_Void();
7320 return resultobj;
7321fail:
7322 return NULL;
7323}
7324
7325
7326SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7327 PyObject *resultobj = 0;
7328 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7329 int arg2 ;
0085ce49
RD
7330 int result;
7331 void *argp1 = 0 ;
7332 int res1 = 0 ;
33d6fd3b 7333 int val2 ;
0085ce49
RD
7334 int ecode2 = 0 ;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 char * kwnames[] = {
7338 (char *) "self",(char *) "column", NULL
7339 };
7340
7341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7343 if (!SWIG_IsOK(res1)) {
7344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7345 }
7346 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7347 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7348 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7349 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
0085ce49 7350 }
33d6fd3b 7351 arg2 = static_cast< int >(val2);
0085ce49
RD
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7355 wxPyEndAllowThreads(__tstate);
7356 if (PyErr_Occurred()) SWIG_fail;
7357 }
7358 resultobj = SWIG_From_int(static_cast< int >(result));
7359 return resultobj;
7360fail:
7361 return NULL;
7362}
7363
7364
33d6fd3b 7365SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7366 PyObject *resultobj = 0;
7367 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7368 int arg2 ;
7369 bool arg3 = (bool) true ;
0085ce49
RD
7370 void *argp1 = 0 ;
7371 int res1 = 0 ;
33d6fd3b 7372 int val2 ;
0085ce49
RD
7373 int ecode2 = 0 ;
7374 bool val3 ;
7375 int ecode3 = 0 ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 char * kwnames[] = {
7380 (char *) "self",(char *) "column",(char *) "shown", NULL
7381 };
7382
33d6fd3b 7383 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
7384 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7385 if (!SWIG_IsOK(res1)) {
33d6fd3b 7386 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
7387 }
7388 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7389 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7390 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7391 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
0085ce49 7392 }
33d6fd3b
RD
7393 arg2 = static_cast< int >(val2);
7394 if (obj2) {
7395 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7396 if (!SWIG_IsOK(ecode3)) {
7397 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7398 }
7399 arg3 = static_cast< bool >(val3);
7400 }
0085ce49
RD
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7403 (arg1)->SetColumnShown(arg2,arg3);
0085ce49
RD
7404 wxPyEndAllowThreads(__tstate);
7405 if (PyErr_Occurred()) SWIG_fail;
7406 }
7407 resultobj = SWIG_Py_Void();
7408 return resultobj;
7409fail:
7410 return NULL;
7411}
7412
7413
7414SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj = 0;
7416 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7417 int arg2 ;
0085ce49
RD
7418 bool result;
7419 void *argp1 = 0 ;
7420 int res1 = 0 ;
33d6fd3b 7421 int val2 ;
0085ce49
RD
7422 int ecode2 = 0 ;
7423 PyObject * obj0 = 0 ;
7424 PyObject * obj1 = 0 ;
7425 char * kwnames[] = {
7426 (char *) "self",(char *) "column", NULL
7427 };
7428
7429 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7430 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7431 if (!SWIG_IsOK(res1)) {
7432 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7433 }
7434 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7435 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7436 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7437 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
0085ce49 7438 }
33d6fd3b 7439 arg2 = static_cast< int >(val2);
0085ce49
RD
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 {
7447 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7448 }
7449 return resultobj;
7450fail:
7451 return NULL;
7452}
7453
7454
33d6fd3b
RD
7455SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj = 0;
7457 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7458 int arg2 ;
7459 bool arg3 = (bool) true ;
7460 void *argp1 = 0 ;
7461 int res1 = 0 ;
7462 int val2 ;
7463 int ecode2 = 0 ;
7464 bool val3 ;
7465 int ecode3 = 0 ;
7466 PyObject * obj0 = 0 ;
7467 PyObject * obj1 = 0 ;
7468 PyObject * obj2 = 0 ;
7469 char * kwnames[] = {
7470 (char *) "self",(char *) "column",(char *) "edit", NULL
7471 };
7472
7473 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7474 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7475 if (!SWIG_IsOK(res1)) {
7476 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7477 }
7478 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7479 ecode2 = SWIG_AsVal_int(obj1, &val2);
7480 if (!SWIG_IsOK(ecode2)) {
7481 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7482 }
7483 arg2 = static_cast< int >(val2);
7484 if (obj2) {
7485 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7486 if (!SWIG_IsOK(ecode3)) {
7487 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7488 }
7489 arg3 = static_cast< bool >(val3);
7490 }
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 (arg1)->SetColumnEditable(arg2,arg3);
7494 wxPyEndAllowThreads(__tstate);
7495 if (PyErr_Occurred()) SWIG_fail;
7496 }
7497 resultobj = SWIG_Py_Void();
7498 return resultobj;
7499fail:
7500 return NULL;
7501}
7502
7503
7504SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7505 PyObject *resultobj = 0;
7506 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7507 int arg2 ;
7508 bool result;
7509 void *argp1 = 0 ;
7510 int res1 = 0 ;
7511 int val2 ;
7512 int ecode2 = 0 ;
7513 PyObject * obj0 = 0 ;
7514 PyObject * obj1 = 0 ;
7515 char * kwnames[] = {
7516 (char *) "self",(char *) "column", NULL
7517 };
7518
7519 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7520 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7521 if (!SWIG_IsOK(res1)) {
7522 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7523 }
7524 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7525 ecode2 = SWIG_AsVal_int(obj1, &val2);
7526 if (!SWIG_IsOK(ecode2)) {
7527 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7528 }
7529 arg2 = static_cast< int >(val2);
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 {
7537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7538 }
7539 return resultobj;
7540fail:
7541 return NULL;
7542}
7543
7544
0085ce49
RD
7545SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj = 0;
7547 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7548 wxTreeItemId *arg2 = 0 ;
7549 int arg3 = (int) -1 ;
7550 wxString result;
7551 void *argp1 = 0 ;
7552 int res1 = 0 ;
7553 void *argp2 = 0 ;
7554 int res2 = 0 ;
7555 int val3 ;
7556 int ecode3 = 0 ;
7557 PyObject * obj0 = 0 ;
7558 PyObject * obj1 = 0 ;
7559 PyObject * obj2 = 0 ;
7560 char * kwnames[] = {
7561 (char *) "self",(char *) "item",(char *) "column", NULL
7562 };
7563
7564 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7565 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7566 if (!SWIG_IsOK(res1)) {
7567 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7568 }
7569 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7570 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7571 if (!SWIG_IsOK(res2)) {
7572 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7573 }
7574 if (!argp2) {
7575 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7576 }
7577 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7578 if (obj2) {
7579 ecode3 = SWIG_AsVal_int(obj2, &val3);
7580 if (!SWIG_IsOK(ecode3)) {
7581 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7582 }
7583 arg3 = static_cast< int >(val3);
7584 }
7585 {
7586 PyThreadState* __tstate = wxPyBeginAllowThreads();
7587 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7588 wxPyEndAllowThreads(__tstate);
7589 if (PyErr_Occurred()) SWIG_fail;
7590 }
7591 {
7592#if wxUSE_UNICODE
7593 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7594#else
7595 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7596#endif
7597 }
7598 return resultobj;
7599fail:
7600 return NULL;
7601}
7602
7603
7604SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7605 PyObject *resultobj = 0;
7606 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7607 wxTreeItemId *arg2 = 0 ;
7608 int arg3 = (int) -1 ;
7609 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7610 int result;
7611 void *argp1 = 0 ;
7612 int res1 = 0 ;
7613 void *argp2 = 0 ;
7614 int res2 = 0 ;
7615 int val3 ;
7616 int ecode3 = 0 ;
7617 int val4 ;
7618 int ecode4 = 0 ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 PyObject * obj2 = 0 ;
7622 PyObject * obj3 = 0 ;
7623 char * kwnames[] = {
7624 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7625 };
7626
7627 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7628 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7629 if (!SWIG_IsOK(res1)) {
7630 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7631 }
7632 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7633 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7634 if (!SWIG_IsOK(res2)) {
7635 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7636 }
7637 if (!argp2) {
7638 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7639 }
7640 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7641 if (obj2) {
7642 ecode3 = SWIG_AsVal_int(obj2, &val3);
7643 if (!SWIG_IsOK(ecode3)) {
7644 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7645 }
7646 arg3 = static_cast< int >(val3);
7647 }
7648 if (obj3) {
7649 ecode4 = SWIG_AsVal_int(obj3, &val4);
7650 if (!SWIG_IsOK(ecode4)) {
7651 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7652 }
7653 arg4 = static_cast< wxTreeItemIcon >(val4);
7654 }
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = SWIG_From_int(static_cast< int >(result));
7662 return resultobj;
7663fail:
7664 return NULL;
7665}
7666
7667
7668SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj = 0;
7670 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7671 wxTreeItemId *arg2 = 0 ;
7672 wxString *arg3 = 0 ;
7673 int arg4 = (int) -1 ;
7674 void *argp1 = 0 ;
7675 int res1 = 0 ;
7676 void *argp2 = 0 ;
7677 int res2 = 0 ;
7678 bool temp3 = false ;
7679 int val4 ;
7680 int ecode4 = 0 ;
7681 PyObject * obj0 = 0 ;
7682 PyObject * obj1 = 0 ;
7683 PyObject * obj2 = 0 ;
7684 PyObject * obj3 = 0 ;
7685 char * kwnames[] = {
7686 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7687 };
7688
7689 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7690 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7691 if (!SWIG_IsOK(res1)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7693 }
7694 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7695 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7696 if (!SWIG_IsOK(res2)) {
7697 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7698 }
7699 if (!argp2) {
7700 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7701 }
7702 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7703 {
7704 arg3 = wxString_in_helper(obj2);
7705 if (arg3 == NULL) SWIG_fail;
7706 temp3 = true;
7707 }
7708 if (obj3) {
7709 ecode4 = SWIG_AsVal_int(obj3, &val4);
7710 if (!SWIG_IsOK(ecode4)) {
7711 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7712 }
7713 arg4 = static_cast< int >(val4);
7714 }
7715 {
7716 PyThreadState* __tstate = wxPyBeginAllowThreads();
7717 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
7721 resultobj = SWIG_Py_Void();
7722 {
7723 if (temp3)
7724 delete arg3;
7725 }
7726 return resultobj;
7727fail:
7728 {
7729 if (temp3)
7730 delete arg3;
7731 }
7732 return NULL;
7733}
7734
7735
7736SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7737 PyObject *resultobj = 0;
7738 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7739 wxTreeItemId *arg2 = 0 ;
7740 int arg3 ;
7741 int arg4 = (int) -1 ;
7742 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7743 void *argp1 = 0 ;
7744 int res1 = 0 ;
7745 void *argp2 = 0 ;
7746 int res2 = 0 ;
7747 int val3 ;
7748 int ecode3 = 0 ;
7749 int val4 ;
7750 int ecode4 = 0 ;
7751 int val5 ;
7752 int ecode5 = 0 ;
7753 PyObject * obj0 = 0 ;
7754 PyObject * obj1 = 0 ;
7755 PyObject * obj2 = 0 ;
7756 PyObject * obj3 = 0 ;
7757 PyObject * obj4 = 0 ;
7758 char * kwnames[] = {
7759 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7760 };
7761
7762 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7763 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7764 if (!SWIG_IsOK(res1)) {
7765 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7766 }
7767 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7768 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7769 if (!SWIG_IsOK(res2)) {
7770 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7771 }
7772 if (!argp2) {
7773 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7774 }
7775 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7776 ecode3 = SWIG_AsVal_int(obj2, &val3);
7777 if (!SWIG_IsOK(ecode3)) {
7778 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7779 }
7780 arg3 = static_cast< int >(val3);
7781 if (obj3) {
7782 ecode4 = SWIG_AsVal_int(obj3, &val4);
7783 if (!SWIG_IsOK(ecode4)) {
7784 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7785 }
7786 arg4 = static_cast< int >(val4);
7787 }
7788 if (obj4) {
7789 ecode5 = SWIG_AsVal_int(obj4, &val5);
7790 if (!SWIG_IsOK(ecode5)) {
7791 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7792 }
7793 arg5 = static_cast< wxTreeItemIcon >(val5);
7794 }
7795 {
7796 PyThreadState* __tstate = wxPyBeginAllowThreads();
7797 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7798 wxPyEndAllowThreads(__tstate);
7799 if (PyErr_Occurred()) SWIG_fail;
7800 }
7801 resultobj = SWIG_Py_Void();
7802 return resultobj;
7803fail:
7804 return NULL;
7805}
7806
7807
7808SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj = 0;
7810 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7811 wxTreeItemId *arg2 = 0 ;
7812 wxPyTreeItemData *result = 0 ;
7813 void *argp1 = 0 ;
7814 int res1 = 0 ;
7815 void *argp2 = 0 ;
7816 int res2 = 0 ;
7817 PyObject * obj0 = 0 ;
7818 PyObject * obj1 = 0 ;
7819 char * kwnames[] = {
7820 (char *) "self",(char *) "item", NULL
7821 };
7822
7823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7824 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7825 if (!SWIG_IsOK(res1)) {
7826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7827 }
7828 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7829 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7830 if (!SWIG_IsOK(res2)) {
7831 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7832 }
7833 if (!argp2) {
7834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7835 }
7836 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7837 {
7838 PyThreadState* __tstate = wxPyBeginAllowThreads();
7839 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7840 wxPyEndAllowThreads(__tstate);
7841 if (PyErr_Occurred()) SWIG_fail;
7842 }
7843 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7844 return resultobj;
7845fail:
7846 return NULL;
7847}
7848
7849
7850SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7851 PyObject *resultobj = 0;
7852 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7853 wxTreeItemId *arg2 = 0 ;
7854 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7855 void *argp1 = 0 ;
7856 int res1 = 0 ;
7857 void *argp2 = 0 ;
7858 int res2 = 0 ;
0085ce49
RD
7859 int res3 = 0 ;
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 PyObject * obj2 = 0 ;
7863 char * kwnames[] = {
7864 (char *) "self",(char *) "item",(char *) "data", NULL
7865 };
7866
7867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7869 if (!SWIG_IsOK(res1)) {
7870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7871 }
7872 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7874 if (!SWIG_IsOK(res2)) {
7875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7876 }
7877 if (!argp2) {
7878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7879 }
7880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
01f6b6d3 7881 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 7882 if (!SWIG_IsOK(res3)) {
01f6b6d3 7883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
0085ce49 7884 }
0085ce49
RD
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = SWIG_Py_Void();
7892 return resultobj;
7893fail:
7894 return NULL;
7895}
7896
7897
7898SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj = 0;
7900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7901 wxTreeItemId *arg2 = 0 ;
7902 PyObject *result = 0 ;
7903 void *argp1 = 0 ;
7904 int res1 = 0 ;
7905 void *argp2 = 0 ;
7906 int res2 = 0 ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char * kwnames[] = {
7910 (char *) "self",(char *) "item", NULL
7911 };
7912
7913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7915 if (!SWIG_IsOK(res1)) {
7916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7917 }
7918 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7919 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7920 if (!SWIG_IsOK(res2)) {
7921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7922 }
7923 if (!argp2) {
7924 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7925 }
7926 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 resultobj = result;
7934 return resultobj;
7935fail:
7936 return NULL;
7937}
7938
7939
7940SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7941 PyObject *resultobj = 0;
7942 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7943 wxTreeItemId *arg2 = 0 ;
7944 PyObject *arg3 = (PyObject *) 0 ;
7945 void *argp1 = 0 ;
7946 int res1 = 0 ;
7947 void *argp2 = 0 ;
7948 int res2 = 0 ;
7949 PyObject * obj0 = 0 ;
7950 PyObject * obj1 = 0 ;
7951 PyObject * obj2 = 0 ;
7952 char * kwnames[] = {
7953 (char *) "self",(char *) "item",(char *) "obj", NULL
7954 };
7955
7956 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7957 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7958 if (!SWIG_IsOK(res1)) {
7959 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7960 }
7961 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7962 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7963 if (!SWIG_IsOK(res2)) {
7964 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7965 }
7966 if (!argp2) {
7967 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7968 }
7969 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7970 arg3 = obj2;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = SWIG_Py_Void();
7978 return resultobj;
7979fail:
7980 return NULL;
7981}
7982
7983
33d6fd3b 7984SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7985 PyObject *resultobj = 0;
7986 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7987 wxTreeItemId *arg2 = 0 ;
33d6fd3b 7988 bool result;
0085ce49
RD
7989 void *argp1 = 0 ;
7990 int res1 = 0 ;
7991 void *argp2 = 0 ;
7992 int res2 = 0 ;
0085ce49
RD
7993 PyObject * obj0 = 0 ;
7994 PyObject * obj1 = 0 ;
0085ce49 7995 char * kwnames[] = {
33d6fd3b 7996 (char *) "self",(char *) "item", NULL
0085ce49
RD
7997 };
7998
33d6fd3b 7999 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8000 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8001 if (!SWIG_IsOK(res1)) {
33d6fd3b 8002 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8003 }
8004 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8005 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8006 if (!SWIG_IsOK(res2)) {
33d6fd3b 8007 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8008 }
8009 if (!argp2) {
33d6fd3b 8010 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8011 }
8012 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8013 {
8014 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8015 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
0085ce49
RD
8016 wxPyEndAllowThreads(__tstate);
8017 if (PyErr_Occurred()) SWIG_fail;
8018 }
33d6fd3b
RD
8019 {
8020 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8021 }
0085ce49
RD
8022 return resultobj;
8023fail:
8024 return NULL;
8025}
8026
8027
33d6fd3b 8028SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8029 PyObject *resultobj = 0;
8030 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8031 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8032 wxColour result;
0085ce49
RD
8033 void *argp1 = 0 ;
8034 int res1 = 0 ;
8035 void *argp2 = 0 ;
8036 int res2 = 0 ;
0085ce49
RD
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj1 = 0 ;
0085ce49 8039 char * kwnames[] = {
33d6fd3b 8040 (char *) "self",(char *) "item", NULL
0085ce49
RD
8041 };
8042
33d6fd3b 8043 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8044 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8045 if (!SWIG_IsOK(res1)) {
33d6fd3b 8046 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8047 }
8048 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8049 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8050 if (!SWIG_IsOK(res2)) {
33d6fd3b 8051 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8052 }
8053 if (!argp2) {
33d6fd3b 8054 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8055 }
8056 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8057 {
8058 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8059 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
0085ce49
RD
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
33d6fd3b 8063 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8064 return resultobj;
8065fail:
8066 return NULL;
8067}
8068
8069
33d6fd3b 8070SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8071 PyObject *resultobj = 0;
8072 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8073 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8074 wxColour result;
0085ce49
RD
8075 void *argp1 = 0 ;
8076 int res1 = 0 ;
8077 void *argp2 = 0 ;
8078 int res2 = 0 ;
0085ce49
RD
8079 PyObject * obj0 = 0 ;
8080 PyObject * obj1 = 0 ;
0085ce49 8081 char * kwnames[] = {
33d6fd3b 8082 (char *) "self",(char *) "item", NULL
0085ce49
RD
8083 };
8084
33d6fd3b 8085 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8086 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8087 if (!SWIG_IsOK(res1)) {
33d6fd3b 8088 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8089 }
8090 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8091 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8092 if (!SWIG_IsOK(res2)) {
33d6fd3b 8093 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8094 }
8095 if (!argp2) {
33d6fd3b 8096 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8097 }
8098 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8099 {
8100 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8101 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
0085ce49
RD
8102 wxPyEndAllowThreads(__tstate);
8103 if (PyErr_Occurred()) SWIG_fail;
8104 }
33d6fd3b 8105 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8106 return resultobj;
8107fail:
8108 return NULL;
8109}
8110
8111
33d6fd3b 8112SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8113 PyObject *resultobj = 0;
8114 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8115 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8116 wxFont result;
0085ce49
RD
8117 void *argp1 = 0 ;
8118 int res1 = 0 ;
8119 void *argp2 = 0 ;
8120 int res2 = 0 ;
0085ce49
RD
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj1 = 0 ;
0085ce49 8123 char * kwnames[] = {
33d6fd3b 8124 (char *) "self",(char *) "item", NULL
0085ce49
RD
8125 };
8126
33d6fd3b 8127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8129 if (!SWIG_IsOK(res1)) {
33d6fd3b 8130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8131 }
8132 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8134 if (!SWIG_IsOK(res2)) {
33d6fd3b 8135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8136 }
8137 if (!argp2) {
33d6fd3b 8138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8139 }
8140 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8141 {
8142 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8143 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
0085ce49
RD
8144 wxPyEndAllowThreads(__tstate);
8145 if (PyErr_Occurred()) SWIG_fail;
8146 }
33d6fd3b 8147 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8148 return resultobj;
8149fail:
8150 return NULL;
8151}
8152
8153
33d6fd3b 8154SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8155 PyObject *resultobj = 0;
8156 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8157 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8158 bool arg3 = (bool) true ;
0085ce49
RD
8159 void *argp1 = 0 ;
8160 int res1 = 0 ;
8161 void *argp2 = 0 ;
8162 int res2 = 0 ;
33d6fd3b
RD
8163 bool val3 ;
8164 int ecode3 = 0 ;
0085ce49
RD
8165 PyObject * obj0 = 0 ;
8166 PyObject * obj1 = 0 ;
8167 PyObject * obj2 = 0 ;
8168 char * kwnames[] = {
33d6fd3b 8169 (char *) "self",(char *) "item",(char *) "has", NULL
0085ce49
RD
8170 };
8171
33d6fd3b 8172 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8173 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8174 if (!SWIG_IsOK(res1)) {
33d6fd3b 8175 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8176 }
8177 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8178 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8179 if (!SWIG_IsOK(res2)) {
33d6fd3b 8180 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8181 }
8182 if (!argp2) {
33d6fd3b 8183 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8184 }
8185 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8186 if (obj2) {
8187 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8188 if (!SWIG_IsOK(ecode3)) {
8189 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8190 }
8191 arg3 = static_cast< bool >(val3);
0085ce49 8192 }
0085ce49
RD
8193 {
8194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8195 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
8199 resultobj = SWIG_Py_Void();
8200 return resultobj;
8201fail:
8202 return NULL;
8203}
8204
8205
33d6fd3b 8206SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8207 PyObject *resultobj = 0;
8208 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8209 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8210 bool arg3 = (bool) true ;
0085ce49
RD
8211 void *argp1 = 0 ;
8212 int res1 = 0 ;
8213 void *argp2 = 0 ;
8214 int res2 = 0 ;
33d6fd3b
RD
8215 bool val3 ;
8216 int ecode3 = 0 ;
0085ce49
RD
8217 PyObject * obj0 = 0 ;
8218 PyObject * obj1 = 0 ;
33d6fd3b 8219 PyObject * obj2 = 0 ;
0085ce49 8220 char * kwnames[] = {
33d6fd3b 8221 (char *) "self",(char *) "item",(char *) "bold", NULL
0085ce49
RD
8222 };
8223
33d6fd3b 8224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8226 if (!SWIG_IsOK(res1)) {
33d6fd3b 8227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8228 }
8229 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8231 if (!SWIG_IsOK(res2)) {
33d6fd3b 8232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8233 }
8234 if (!argp2) {
33d6fd3b 8235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8236 }
8237 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8238 if (obj2) {
8239 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8240 if (!SWIG_IsOK(ecode3)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8242 }
8243 arg3 = static_cast< bool >(val3);
8244 }
0085ce49
RD
8245 {
8246 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8247 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
33d6fd3b 8251 resultobj = SWIG_Py_Void();
0085ce49
RD
8252 return resultobj;
8253fail:
8254 return NULL;
8255}
8256
8257
33d6fd3b 8258SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8259 PyObject *resultobj = 0;
8260 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8261 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8262 wxColour *arg3 = 0 ;
0085ce49
RD
8263 void *argp1 = 0 ;
8264 int res1 = 0 ;
8265 void *argp2 = 0 ;
8266 int res2 = 0 ;
33d6fd3b 8267 wxColour temp3 ;
0085ce49
RD
8268 PyObject * obj0 = 0 ;
8269 PyObject * obj1 = 0 ;
33d6fd3b 8270 PyObject * obj2 = 0 ;
0085ce49 8271 char * kwnames[] = {
33d6fd3b 8272 (char *) "self",(char *) "item",(char *) "colour", NULL
0085ce49
RD
8273 };
8274
33d6fd3b 8275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8277 if (!SWIG_IsOK(res1)) {
33d6fd3b 8278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8279 }
8280 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8281 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8282 if (!SWIG_IsOK(res2)) {
33d6fd3b 8283 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8284 }
8285 if (!argp2) {
33d6fd3b 8286 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8287 }
8288 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8289 {
8290 arg3 = &temp3;
8291 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8292 }
0085ce49
RD
8293 {
8294 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8295 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
0085ce49
RD
8296 wxPyEndAllowThreads(__tstate);
8297 if (PyErr_Occurred()) SWIG_fail;
8298 }
33d6fd3b 8299 resultobj = SWIG_Py_Void();
0085ce49
RD
8300 return resultobj;
8301fail:
8302 return NULL;
8303}
8304
8305
33d6fd3b 8306SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8307 PyObject *resultobj = 0;
8308 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8309 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8310 wxColour *arg3 = 0 ;
0085ce49
RD
8311 void *argp1 = 0 ;
8312 int res1 = 0 ;
8313 void *argp2 = 0 ;
8314 int res2 = 0 ;
33d6fd3b 8315 wxColour temp3 ;
0085ce49
RD
8316 PyObject * obj0 = 0 ;
8317 PyObject * obj1 = 0 ;
33d6fd3b 8318 PyObject * obj2 = 0 ;
0085ce49 8319 char * kwnames[] = {
33d6fd3b 8320 (char *) "self",(char *) "item",(char *) "colour", NULL
0085ce49
RD
8321 };
8322
33d6fd3b 8323 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8324 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8325 if (!SWIG_IsOK(res1)) {
33d6fd3b 8326 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8327 }
8328 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8329 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8330 if (!SWIG_IsOK(res2)) {
33d6fd3b 8331 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8332 }
8333 if (!argp2) {
33d6fd3b 8334 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8335 }
8336 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8337 {
8338 arg3 = &temp3;
8339 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8340 }
0085ce49
RD
8341 {
8342 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8343 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
0085ce49
RD
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
33d6fd3b 8347 resultobj = SWIG_Py_Void();
0085ce49
RD
8348 return resultobj;
8349fail:
8350 return NULL;
8351}
8352
8353
33d6fd3b 8354SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8355 PyObject *resultobj = 0;
8356 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8357 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8358 wxFont *arg3 = 0 ;
0085ce49
RD
8359 void *argp1 = 0 ;
8360 int res1 = 0 ;
8361 void *argp2 = 0 ;
8362 int res2 = 0 ;
33d6fd3b
RD
8363 void *argp3 = 0 ;
8364 int res3 = 0 ;
0085ce49
RD
8365 PyObject * obj0 = 0 ;
8366 PyObject * obj1 = 0 ;
33d6fd3b 8367 PyObject * obj2 = 0 ;
0085ce49 8368 char * kwnames[] = {
33d6fd3b 8369 (char *) "self",(char *) "item",(char *) "font", NULL
0085ce49
RD
8370 };
8371
33d6fd3b 8372 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8373 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8374 if (!SWIG_IsOK(res1)) {
33d6fd3b 8375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8376 }
8377 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8378 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8379 if (!SWIG_IsOK(res2)) {
33d6fd3b 8380 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8381 }
8382 if (!argp2) {
33d6fd3b 8383 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8384 }
8385 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8386 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8387 if (!SWIG_IsOK(res3)) {
8388 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8389 }
8390 if (!argp3) {
8391 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8392 }
8393 arg3 = reinterpret_cast< wxFont * >(argp3);
0085ce49
RD
8394 {
8395 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8396 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
0085ce49
RD
8397 wxPyEndAllowThreads(__tstate);
8398 if (PyErr_Occurred()) SWIG_fail;
8399 }
33d6fd3b 8400 resultobj = SWIG_Py_Void();
0085ce49
RD
8401 return resultobj;
8402fail:
8403 return NULL;
8404}
8405
8406
8407SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj = 0;
8409 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8410 wxTreeItemId *arg2 = 0 ;
8411 bool result;
8412 void *argp1 = 0 ;
8413 int res1 = 0 ;
8414 void *argp2 = 0 ;
8415 int res2 = 0 ;
8416 PyObject * obj0 = 0 ;
8417 PyObject * obj1 = 0 ;
8418 char * kwnames[] = {
8419 (char *) "self",(char *) "item", NULL
8420 };
8421
8422 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8423 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8424 if (!SWIG_IsOK(res1)) {
8425 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8426 }
8427 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8428 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8429 if (!SWIG_IsOK(res2)) {
8430 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8431 }
8432 if (!argp2) {
8433 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8434 }
8435 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8436 {
8437 PyThreadState* __tstate = wxPyBeginAllowThreads();
8438 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8439 wxPyEndAllowThreads(__tstate);
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 {
8443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8444 }
8445 return resultobj;
8446fail:
8447 return NULL;
8448}
8449
8450
33d6fd3b 8451SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8452 PyObject *resultobj = 0;
8453 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8454 wxTreeItemId *arg2 = 0 ;
8455 bool result;
8456 void *argp1 = 0 ;
8457 int res1 = 0 ;
8458 void *argp2 = 0 ;
8459 int res2 = 0 ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 char * kwnames[] = {
8463 (char *) "self",(char *) "item", NULL
8464 };
8465
33d6fd3b 8466 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8467 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8468 if (!SWIG_IsOK(res1)) {
33d6fd3b 8469 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8470 }
8471 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8472 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8473 if (!SWIG_IsOK(res2)) {
33d6fd3b 8474 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8475 }
8476 if (!argp2) {
33d6fd3b 8477 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8478 }
8479 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8480 {
8481 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8482 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
0085ce49
RD
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 {
8487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8488 }
8489 return resultobj;
8490fail:
8491 return NULL;
8492}
8493
8494
8495SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj = 0;
8497 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8498 wxTreeItemId *arg2 = 0 ;
8499 bool result;
8500 void *argp1 = 0 ;
8501 int res1 = 0 ;
8502 void *argp2 = 0 ;
8503 int res2 = 0 ;
8504 PyObject * obj0 = 0 ;
8505 PyObject * obj1 = 0 ;
8506 char * kwnames[] = {
8507 (char *) "self",(char *) "item", NULL
8508 };
8509
8510 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8511 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8512 if (!SWIG_IsOK(res1)) {
8513 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8514 }
8515 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8516 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8517 if (!SWIG_IsOK(res2)) {
8518 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8519 }
8520 if (!argp2) {
8521 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8522 }
8523 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8527 wxPyEndAllowThreads(__tstate);
8528 if (PyErr_Occurred()) SWIG_fail;
8529 }
8530 {
8531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8532 }
8533 return resultobj;
8534fail:
8535 return NULL;
8536}
8537
8538
8539SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj = 0;
8541 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8542 wxTreeItemId *arg2 = 0 ;
8543 bool result;
8544 void *argp1 = 0 ;
8545 int res1 = 0 ;
8546 void *argp2 = 0 ;
8547 int res2 = 0 ;
8548 PyObject * obj0 = 0 ;
8549 PyObject * obj1 = 0 ;
8550 char * kwnames[] = {
8551 (char *) "self",(char *) "item", NULL
8552 };
8553
8554 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8555 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8556 if (!SWIG_IsOK(res1)) {
8557 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8558 }
8559 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8560 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8561 if (!SWIG_IsOK(res2)) {
8562 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8563 }
8564 if (!argp2) {
8565 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8566 }
8567 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8568 {
8569 PyThreadState* __tstate = wxPyBeginAllowThreads();
8570 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8571 wxPyEndAllowThreads(__tstate);
8572 if (PyErr_Occurred()) SWIG_fail;
8573 }
8574 {
8575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8576 }
8577 return resultobj;
8578fail:
8579 return NULL;
8580}
8581
8582
8583SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8584 PyObject *resultobj = 0;
8585 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8586 wxTreeItemId *arg2 = 0 ;
8587 bool result;
8588 void *argp1 = 0 ;
8589 int res1 = 0 ;
8590 void *argp2 = 0 ;
8591 int res2 = 0 ;
8592 PyObject * obj0 = 0 ;
8593 PyObject * obj1 = 0 ;
8594 char * kwnames[] = {
8595 (char *) "self",(char *) "item", NULL
8596 };
8597
8598 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8599 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8600 if (!SWIG_IsOK(res1)) {
8601 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8602 }
8603 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8604 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8605 if (!SWIG_IsOK(res2)) {
8606 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8607 }
8608 if (!argp2) {
8609 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8610 }
8611 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 {
8619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8620 }
8621 return resultobj;
8622fail:
8623 return NULL;
8624}
8625
8626
8627SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj = 0;
8629 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8630 wxTreeItemId *arg2 = 0 ;
8631 bool arg3 = (bool) true ;
8632 size_t result;
8633 void *argp1 = 0 ;
8634 int res1 = 0 ;
8635 void *argp2 = 0 ;
8636 int res2 = 0 ;
8637 bool val3 ;
8638 int ecode3 = 0 ;
8639 PyObject * obj0 = 0 ;
8640 PyObject * obj1 = 0 ;
8641 PyObject * obj2 = 0 ;
8642 char * kwnames[] = {
8643 (char *) "self",(char *) "item",(char *) "recursively", NULL
8644 };
8645
8646 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8647 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8648 if (!SWIG_IsOK(res1)) {
8649 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8650 }
8651 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8652 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8653 if (!SWIG_IsOK(res2)) {
8654 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8655 }
8656 if (!argp2) {
8657 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8658 }
8659 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8660 if (obj2) {
8661 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8662 if (!SWIG_IsOK(ecode3)) {
8663 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8664 }
8665 arg3 = static_cast< bool >(val3);
8666 }
8667 {
8668 PyThreadState* __tstate = wxPyBeginAllowThreads();
8669 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8670 wxPyEndAllowThreads(__tstate);
8671 if (PyErr_Occurred()) SWIG_fail;
8672 }
8673 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8674 return resultobj;
8675fail:
8676 return NULL;
44127b65
RD
8677}
8678
8679
0085ce49
RD
8680SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8681 PyObject *resultobj = 0;
8682 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8683 wxTreeItemId result;
8684 void *argp1 = 0 ;
8685 int res1 = 0 ;
8686 PyObject *swig_obj[1] ;
8687
8688 if (!args) SWIG_fail;
8689 swig_obj[0] = args;
8690 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8691 if (!SWIG_IsOK(res1)) {
8692 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8693 }
8694 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8695 {
8696 PyThreadState* __tstate = wxPyBeginAllowThreads();
8697 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
8701 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8702 return resultobj;
8703fail:
8704 return NULL;
44127b65
RD
8705}
8706
8707
0085ce49
RD
8708SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8709 PyObject *resultobj = 0;
8710 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8711 wxTreeItemId result;
8712 void *argp1 = 0 ;
8713 int res1 = 0 ;
8714 PyObject *swig_obj[1] ;
8715
8716 if (!args) SWIG_fail;
8717 swig_obj[0] = args;
8718 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8719 if (!SWIG_IsOK(res1)) {
8720 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8721 }
8722 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8726 wxPyEndAllowThreads(__tstate);
8727 if (PyErr_Occurred()) SWIG_fail;
8728 }
8729 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8730 return resultobj;
8731fail:
8732 return NULL;
44127b65
RD
8733}
8734
8735
0085ce49
RD
8736SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8737 PyObject *resultobj = 0;
8738 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8739 PyObject *result = 0 ;
8740 void *argp1 = 0 ;
8741 int res1 = 0 ;
8742 PyObject *swig_obj[1] ;
8743
8744 if (!args) SWIG_fail;
8745 swig_obj[0] = args;
8746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8747 if (!SWIG_IsOK(res1)) {
8748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8749 }
8750 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8751 {
8752 PyThreadState* __tstate = wxPyBeginAllowThreads();
8753 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = result;
8758 return resultobj;
8759fail:
8760 return NULL;
8761}
8762
8763
8764SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj = 0;
8766 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8767 wxTreeItemId *arg2 = 0 ;
8768 wxTreeItemId result;
8769 void *argp1 = 0 ;
8770 int res1 = 0 ;
8771 void *argp2 = 0 ;
8772 int res2 = 0 ;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 char * kwnames[] = {
8776 (char *) "self",(char *) "item", NULL
8777 };
8778
8779 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8780 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8781 if (!SWIG_IsOK(res1)) {
8782 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8783 }
8784 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8785 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8786 if (!SWIG_IsOK(res2)) {
8787 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8788 }
8789 if (!argp2) {
8790 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8791 }
8792 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8800 return resultobj;
8801fail:
8802 return NULL;
8803}
8804
8805
8806SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8807 PyObject *resultobj = 0;
8808 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8809 wxTreeItemId *arg2 = 0 ;
8810 PyObject *result = 0 ;
8811 void *argp1 = 0 ;
8812 int res1 = 0 ;
8813 void *argp2 = 0 ;
8814 int res2 = 0 ;
8815 PyObject * obj0 = 0 ;
8816 PyObject * obj1 = 0 ;
8817 char * kwnames[] = {
8818 (char *) "self",(char *) "item", NULL
8819 };
8820
8821 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8822 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8823 if (!SWIG_IsOK(res1)) {
8824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8825 }
8826 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8827 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8828 if (!SWIG_IsOK(res2)) {
8829 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8830 }
8831 if (!argp2) {
8832 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8833 }
8834 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8835 {
8836 PyThreadState* __tstate = wxPyBeginAllowThreads();
8837 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 resultobj = result;
8842 return resultobj;
8843fail:
8844 return NULL;
8845}
8846
8847
8848SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj = 0;
8850 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8851 wxTreeItemId *arg2 = 0 ;
8852 void *arg3 = (void *) 0 ;
8853 PyObject *result = 0 ;
8854 void *argp1 = 0 ;
8855 int res1 = 0 ;
8856 void *argp2 = 0 ;
8857 int res2 = 0 ;
8858 int res3 ;
8859 PyObject * obj0 = 0 ;
8860 PyObject * obj1 = 0 ;
8861 PyObject * obj2 = 0 ;
8862 char * kwnames[] = {
8863 (char *) "self",(char *) "item",(char *) "cookie", NULL
8864 };
8865
8866 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8867 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8868 if (!SWIG_IsOK(res1)) {
8869 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8870 }
8871 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8872 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8873 if (!SWIG_IsOK(res2)) {
8874 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8875 }
8876 if (!argp2) {
8877 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8878 }
8879 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8880 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8881 if (!SWIG_IsOK(res3)) {
8882 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8883 }
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8887 wxPyEndAllowThreads(__tstate);
8888 if (PyErr_Occurred()) SWIG_fail;
8889 }
33d6fd3b
RD
8890 resultobj = result;
8891 return resultobj;
8892fail:
8893 return NULL;
8894}
8895
8896
8897SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8898 PyObject *resultobj = 0;
8899 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8900 wxTreeItemId *arg2 = 0 ;
8901 PyObject *result = 0 ;
8902 void *argp1 = 0 ;
8903 int res1 = 0 ;
8904 void *argp2 = 0 ;
8905 int res2 = 0 ;
8906 PyObject * obj0 = 0 ;
8907 PyObject * obj1 = 0 ;
8908 char * kwnames[] = {
8909 (char *) "self",(char *) "item", NULL
8910 };
8911
8912 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8913 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8914 if (!SWIG_IsOK(res1)) {
8915 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8916 }
8917 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8918 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8919 if (!SWIG_IsOK(res2)) {
8920 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8921 }
8922 if (!argp2) {
8923 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8924 }
8925 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8926 {
8927 PyThreadState* __tstate = wxPyBeginAllowThreads();
8928 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = result;
8933 return resultobj;
8934fail:
8935 return NULL;
8936}
8937
8938
8939SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj = 0;
8941 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8942 wxTreeItemId *arg2 = 0 ;
8943 void *arg3 = (void *) 0 ;
8944 PyObject *result = 0 ;
8945 void *argp1 = 0 ;
8946 int res1 = 0 ;
8947 void *argp2 = 0 ;
8948 int res2 = 0 ;
8949 int res3 ;
8950 PyObject * obj0 = 0 ;
8951 PyObject * obj1 = 0 ;
8952 PyObject * obj2 = 0 ;
8953 char * kwnames[] = {
8954 (char *) "self",(char *) "item",(char *) "cookie", NULL
8955 };
8956
8957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8959 if (!SWIG_IsOK(res1)) {
8960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8961 }
8962 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8963 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8964 if (!SWIG_IsOK(res2)) {
8965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8966 }
8967 if (!argp2) {
8968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8969 }
8970 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8971 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8972 if (!SWIG_IsOK(res3)) {
8973 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8974 }
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8978 wxPyEndAllowThreads(__tstate);
8979 if (PyErr_Occurred()) SWIG_fail;
8980 }
8981 resultobj = result;
8982 return resultobj;
8983fail:
8984 return NULL;
8985}
8986
8987
8988SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8989 PyObject *resultobj = 0;
8990 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8991 wxTreeItemId *arg2 = 0 ;
8992 wxTreeItemId result;
8993 void *argp1 = 0 ;
8994 int res1 = 0 ;
8995 void *argp2 = 0 ;
8996 int res2 = 0 ;
8997 PyObject * obj0 = 0 ;
8998 PyObject * obj1 = 0 ;
8999 char * kwnames[] = {
9000 (char *) "self",(char *) "item", NULL
9001 };
9002
9003 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9004 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9005 if (!SWIG_IsOK(res1)) {
9006 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9007 }
9008 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9009 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9010 if (!SWIG_IsOK(res2)) {
9011 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9012 }
9013 if (!argp2) {
9014 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9015 }
9016 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9020 wxPyEndAllowThreads(__tstate);
9021 if (PyErr_Occurred()) SWIG_fail;
9022 }
9023 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9024 return resultobj;
9025fail:
9026 return NULL;
9027}
9028
9029
9030SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj = 0;
9032 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9033 wxTreeItemId *arg2 = 0 ;
9034 wxTreeItemId result;
9035 void *argp1 = 0 ;
9036 int res1 = 0 ;
9037 void *argp2 = 0 ;
9038 int res2 = 0 ;
9039 PyObject * obj0 = 0 ;
9040 PyObject * obj1 = 0 ;
9041 char * kwnames[] = {
9042 (char *) "self",(char *) "item", NULL
9043 };
9044
9045 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9046 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9047 if (!SWIG_IsOK(res1)) {
9048 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9049 }
9050 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9051 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9052 if (!SWIG_IsOK(res2)) {
9053 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9054 }
9055 if (!argp2) {
9056 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9057 }
9058 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9066 return resultobj;
9067fail:
9068 return NULL;
9069}
9070
9071
9072SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9073 PyObject *resultobj = 0;
9074 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9075 wxTreeItemId *arg2 = 0 ;
9076 wxTreeItemId result;
9077 void *argp1 = 0 ;
9078 int res1 = 0 ;
9079 void *argp2 = 0 ;
9080 int res2 = 0 ;
9081 PyObject * obj0 = 0 ;
9082 PyObject * obj1 = 0 ;
9083 char * kwnames[] = {
9084 (char *) "self",(char *) "item", NULL
9085 };
9086
9087 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9088 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9089 if (!SWIG_IsOK(res1)) {
9090 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9091 }
9092 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9093 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9094 if (!SWIG_IsOK(res2)) {
9095 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9096 }
9097 if (!argp2) {
9098 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9099 }
9100 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
0085ce49
RD
9108 return resultobj;
9109fail:
9110 return NULL;
9111}
9112
9113
33d6fd3b 9114SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9115 PyObject *resultobj = 0;
9116 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9117 wxTreeItemId *arg2 = 0 ;
9118 wxTreeItemId result;
9119 void *argp1 = 0 ;
9120 int res1 = 0 ;
9121 void *argp2 = 0 ;
9122 int res2 = 0 ;
9123 PyObject * obj0 = 0 ;
9124 PyObject * obj1 = 0 ;
9125 char * kwnames[] = {
9126 (char *) "self",(char *) "item", NULL
9127 };
9128
33d6fd3b 9129 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9130 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9131 if (!SWIG_IsOK(res1)) {
33d6fd3b 9132 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9133 }
9134 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9135 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9136 if (!SWIG_IsOK(res2)) {
33d6fd3b 9137 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9138 }
9139 if (!argp2) {
33d6fd3b 9140 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9141 }
9142 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9143 {
9144 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9145 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
0085ce49
RD
9146 wxPyEndAllowThreads(__tstate);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9150 return resultobj;
9151fail:
9152 return NULL;
9153}
9154
9155
33d6fd3b 9156SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
9157 PyObject *resultobj = 0;
9158 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
0085ce49
RD
9159 wxTreeItemId result;
9160 void *argp1 = 0 ;
9161 int res1 = 0 ;
33d6fd3b 9162 PyObject *swig_obj[1] ;
0085ce49 9163
33d6fd3b
RD
9164 if (!args) SWIG_fail;
9165 swig_obj[0] = args;
9166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 9167 if (!SWIG_IsOK(res1)) {
33d6fd3b 9168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9169 }
9170 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
9171 {
9172 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9173 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
0085ce49
RD
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9178 return resultobj;
9179fail:
9180 return NULL;
9181}
9182
9183
33d6fd3b 9184SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9185 PyObject *resultobj = 0;
9186 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9187 wxTreeItemId *arg2 = 0 ;
9188 wxTreeItemId result;
9189 void *argp1 = 0 ;
9190 int res1 = 0 ;
9191 void *argp2 = 0 ;
9192 int res2 = 0 ;
9193 PyObject * obj0 = 0 ;
9194 PyObject * obj1 = 0 ;
9195 char * kwnames[] = {
9196 (char *) "self",(char *) "item", NULL
9197 };
9198
33d6fd3b 9199 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9200 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9201 if (!SWIG_IsOK(res1)) {
33d6fd3b 9202 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9203 }
9204 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9205 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9206 if (!SWIG_IsOK(res2)) {
33d6fd3b 9207 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9208 }
9209 if (!argp2) {
33d6fd3b 9210 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9211 }
9212 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9213 {
9214 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9215 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
0085ce49
RD
9216 wxPyEndAllowThreads(__tstate);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 }
9219 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9220 return resultobj;
9221fail:
9222 return NULL;
44127b65
RD
9223}
9224
9225
33d6fd3b 9226SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9227 PyObject *resultobj = 0;
9228 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 9229 wxTreeItemId *arg2 = 0 ;
0085ce49
RD
9230 wxTreeItemId result;
9231 void *argp1 = 0 ;
9232 int res1 = 0 ;
33d6fd3b
RD
9233 void *argp2 = 0 ;
9234 int res2 = 0 ;
9235 PyObject * obj0 = 0 ;
9236 PyObject * obj1 = 0 ;
9237 char * kwnames[] = {
9238 (char *) "self",(char *) "item", NULL
9239 };
0085ce49 9240
33d6fd3b
RD
9241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 9243 if (!SWIG_IsOK(res1)) {
33d6fd3b 9244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9245 }
9246 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
9247 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9248 if (!SWIG_IsOK(res2)) {
9249 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9250 }
9251 if (!argp2) {
9252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9253 }
9254 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
9255 {
9256 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9257 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
0085ce49
RD
9258 wxPyEndAllowThreads(__tstate);
9259 if (PyErr_Occurred()) SWIG_fail;
9260 }
9261 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9262 return resultobj;
9263fail:
9264 return NULL;
9265}
9266
9267
33d6fd3b 9268SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9269 PyObject *resultobj = 0;
9270 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 9271 bool arg2 = (bool) false ;
0085ce49
RD
9272 wxTreeItemId result;
9273 void *argp1 = 0 ;
9274 int res1 = 0 ;
33d6fd3b
RD
9275 bool val2 ;
9276 int ecode2 = 0 ;
0085ce49
RD
9277 PyObject * obj0 = 0 ;
9278 PyObject * obj1 = 0 ;
9279 char * kwnames[] = {
33d6fd3b 9280 (char *) "self",(char *) "fullRow", NULL
0085ce49
RD
9281 };
9282
33d6fd3b 9283 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9284 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9285 if (!SWIG_IsOK(res1)) {
33d6fd3b 9286 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9287 }
9288 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
9289 if (obj1) {
9290 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9291 if (!SWIG_IsOK(ecode2)) {
9292 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9293 }
9294 arg2 = static_cast< bool >(val2);
0085ce49 9295 }
0085ce49
RD
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9298 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
0085ce49
RD
9299 wxPyEndAllowThreads(__tstate);
9300 if (PyErr_Occurred()) SWIG_fail;
9301 }
9302 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9303 return resultobj;
9304fail:
9305 return NULL;
9306}
9307
9308
33d6fd3b 9309SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9310 PyObject *resultobj = 0;
9311 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9312 wxTreeItemId *arg2 = 0 ;
33d6fd3b 9313 bool arg3 = (bool) false ;
0085ce49
RD
9314 wxTreeItemId result;
9315 void *argp1 = 0 ;
9316 int res1 = 0 ;
9317 void *argp2 = 0 ;
9318 int res2 = 0 ;
33d6fd3b
RD
9319 bool val3 ;
9320 int ecode3 = 0 ;
0085ce49
RD
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
33d6fd3b 9323 PyObject * obj2 = 0 ;
0085ce49 9324 char * kwnames[] = {
33d6fd3b 9325 (char *) "self",(char *) "item",(char *) "fullRow", NULL
0085ce49
RD
9326 };
9327
33d6fd3b 9328 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
9329 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9330 if (!SWIG_IsOK(res1)) {
33d6fd3b 9331 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9332 }
9333 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9334 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9335 if (!SWIG_IsOK(res2)) {
33d6fd3b 9336 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9337 }
9338 if (!argp2) {
33d6fd3b 9339 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9340 }
9341 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
9342 if (obj2) {
9343 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9344 if (!SWIG_IsOK(ecode3)) {
9345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9346 }
9347 arg3 = static_cast< bool >(val3);
9348 }
0085ce49
RD
9349 {
9350 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9351 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
9352 wxPyEndAllowThreads(__tstate);
9353 if (PyErr_Occurred()) SWIG_fail;
9354 }
9355 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9356 return resultobj;
9357fail:
9358 return NULL;
9359}
9360
9361
33d6fd3b 9362SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9363 PyObject *resultobj = 0;
9364 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9365 wxTreeItemId *arg2 = 0 ;
33d6fd3b 9366 bool arg3 = (bool) false ;
0085ce49
RD
9367 wxTreeItemId result;
9368 void *argp1 = 0 ;
9369 int res1 = 0 ;
9370 void *argp2 = 0 ;
9371 int res2 = 0 ;
33d6fd3b
RD
9372 bool val3 ;
9373 int ecode3 = 0 ;
0085ce49
RD
9374 PyObject * obj0 = 0 ;
9375 PyObject * obj1 = 0 ;
33d6fd3b 9376 PyObject * obj2 = 0 ;
0085ce49 9377 char * kwnames[] = {
33d6fd3b 9378 (char *) "self",(char *) "item",(char *) "fullRow", NULL
0085ce49
RD
9379 };
9380
33d6fd3b 9381 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
9382 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9383 if (!SWIG_IsOK(res1)) {
33d6fd3b 9384 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9385 }
9386 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9387 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9388 if (!SWIG_IsOK(res2)) {
33d6fd3b 9389 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9390 }
9391 if (!argp2) {
33d6fd3b 9392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9393 }
9394 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
9395 if (obj2) {
9396 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9397 if (!SWIG_IsOK(ecode3)) {
9398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9399 }
9400 arg3 = static_cast< bool >(val3);
9401 }
0085ce49
RD
9402 {
9403 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9404 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
9405 wxPyEndAllowThreads(__tstate);
9406 if (PyErr_Occurred()) SWIG_fail;
9407 }
9408 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9409 return resultobj;
9410fail:
9411 return NULL;
9412}
9413
9414
9415SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9416 PyObject *resultobj = 0;
9417 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9418 wxString *arg2 = 0 ;
9419 int arg3 = (int) -1 ;
9420 int arg4 = (int) -1 ;
9421 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9422 wxTreeItemId result;
9423 void *argp1 = 0 ;
9424 int res1 = 0 ;
9425 bool temp2 = false ;
9426 int val3 ;
9427 int ecode3 = 0 ;
9428 int val4 ;
9429 int ecode4 = 0 ;
0085ce49
RD
9430 int res5 = 0 ;
9431 PyObject * obj0 = 0 ;
9432 PyObject * obj1 = 0 ;
9433 PyObject * obj2 = 0 ;
9434 PyObject * obj3 = 0 ;
9435 PyObject * obj4 = 0 ;
9436 char * kwnames[] = {
9437 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9438 };
9439
9440 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9441 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9442 if (!SWIG_IsOK(res1)) {
9443 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9444 }
9445 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9446 {
9447 arg2 = wxString_in_helper(obj1);
9448 if (arg2 == NULL) SWIG_fail;
9449 temp2 = true;
9450 }
9451 if (obj2) {
9452 ecode3 = SWIG_AsVal_int(obj2, &val3);
9453 if (!SWIG_IsOK(ecode3)) {
9454 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9455 }
9456 arg3 = static_cast< int >(val3);
9457 }
9458 if (obj3) {
9459 ecode4 = SWIG_AsVal_int(obj3, &val4);
9460 if (!SWIG_IsOK(ecode4)) {
9461 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9462 }
9463 arg4 = static_cast< int >(val4);
9464 }
9465 if (obj4) {
01f6b6d3 9466 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9467 if (!SWIG_IsOK(res5)) {
01f6b6d3 9468 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
28eab81f 9469 }
0085ce49
RD
9470 }
9471 {
9472 PyThreadState* __tstate = wxPyBeginAllowThreads();
9473 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9478 {
9479 if (temp2)
9480 delete arg2;
9481 }
9482 return resultobj;
9483fail:
9484 {
9485 if (temp2)
9486 delete arg2;
9487 }
9488 return NULL;
9489}
9490
9491
9492SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj = 0;
9494 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9495 wxTreeItemId *arg2 = 0 ;
9496 wxString *arg3 = 0 ;
9497 int arg4 = (int) -1 ;
9498 int arg5 = (int) -1 ;
9499 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9500 wxTreeItemId result;
9501 void *argp1 = 0 ;
9502 int res1 = 0 ;
9503 void *argp2 = 0 ;
9504 int res2 = 0 ;
9505 bool temp3 = false ;
9506 int val4 ;
9507 int ecode4 = 0 ;
9508 int val5 ;
9509 int ecode5 = 0 ;
0085ce49
RD
9510 int res6 = 0 ;
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 PyObject * obj2 = 0 ;
9514 PyObject * obj3 = 0 ;
9515 PyObject * obj4 = 0 ;
9516 PyObject * obj5 = 0 ;
9517 char * kwnames[] = {
9518 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9519 };
9520
9521 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9522 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9523 if (!SWIG_IsOK(res1)) {
9524 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9525 }
9526 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9527 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9528 if (!SWIG_IsOK(res2)) {
9529 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9530 }
9531 if (!argp2) {
9532 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9533 }
9534 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9535 {
9536 arg3 = wxString_in_helper(obj2);
9537 if (arg3 == NULL) SWIG_fail;
9538 temp3 = true;
9539 }
9540 if (obj3) {
9541 ecode4 = SWIG_AsVal_int(obj3, &val4);
9542 if (!SWIG_IsOK(ecode4)) {
9543 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9544 }
9545 arg4 = static_cast< int >(val4);
9546 }
9547 if (obj4) {
9548 ecode5 = SWIG_AsVal_int(obj4, &val5);
9549 if (!SWIG_IsOK(ecode5)) {
9550 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9551 }
9552 arg5 = static_cast< int >(val5);
9553 }
9554 if (obj5) {
01f6b6d3 9555 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9556 if (!SWIG_IsOK(res6)) {
01f6b6d3 9557 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
28eab81f 9558 }
0085ce49
RD
9559 }
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9563 wxPyEndAllowThreads(__tstate);
9564 if (PyErr_Occurred()) SWIG_fail;
9565 }
9566 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9567 {
9568 if (temp3)
9569 delete arg3;
9570 }
9571 return resultobj;
9572fail:
9573 {
9574 if (temp3)
9575 delete arg3;
9576 }
9577 return NULL;
9578}
9579
9580
9581SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9582 PyObject *resultobj = 0;
9583 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9584 wxTreeItemId *arg2 = 0 ;
9585 wxTreeItemId *arg3 = 0 ;
9586 wxString *arg4 = 0 ;
9587 int arg5 = (int) -1 ;
9588 int arg6 = (int) -1 ;
9589 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9590 wxTreeItemId result;
9591 void *argp1 = 0 ;
9592 int res1 = 0 ;
9593 void *argp2 = 0 ;
9594 int res2 = 0 ;
9595 void *argp3 = 0 ;
9596 int res3 = 0 ;
9597 bool temp4 = false ;
9598 int val5 ;
9599 int ecode5 = 0 ;
9600 int val6 ;
9601 int ecode6 = 0 ;
0085ce49
RD
9602 int res7 = 0 ;
9603 PyObject * obj0 = 0 ;
9604 PyObject * obj1 = 0 ;
9605 PyObject * obj2 = 0 ;
9606 PyObject * obj3 = 0 ;
9607 PyObject * obj4 = 0 ;
9608 PyObject * obj5 = 0 ;
9609 PyObject * obj6 = 0 ;
9610 char * kwnames[] = {
9611 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9612 };
9613
9614 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9615 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9616 if (!SWIG_IsOK(res1)) {
9617 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9618 }
9619 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9620 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9621 if (!SWIG_IsOK(res2)) {
9622 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9623 }
9624 if (!argp2) {
9625 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9626 }
9627 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9628 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9629 if (!SWIG_IsOK(res3)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9631 }
9632 if (!argp3) {
9633 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9634 }
9635 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9636 {
9637 arg4 = wxString_in_helper(obj3);
9638 if (arg4 == NULL) SWIG_fail;
9639 temp4 = true;
9640 }
9641 if (obj4) {
9642 ecode5 = SWIG_AsVal_int(obj4, &val5);
9643 if (!SWIG_IsOK(ecode5)) {
9644 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9645 }
9646 arg5 = static_cast< int >(val5);
9647 }
9648 if (obj5) {
9649 ecode6 = SWIG_AsVal_int(obj5, &val6);
9650 if (!SWIG_IsOK(ecode6)) {
9651 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9652 }
9653 arg6 = static_cast< int >(val6);
9654 }
9655 if (obj6) {
01f6b6d3 9656 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9657 if (!SWIG_IsOK(res7)) {
01f6b6d3 9658 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
28eab81f 9659 }
0085ce49
RD
9660 }
9661 {
9662 PyThreadState* __tstate = wxPyBeginAllowThreads();
9663 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9664 wxPyEndAllowThreads(__tstate);
9665 if (PyErr_Occurred()) SWIG_fail;
9666 }
9667 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9668 {
9669 if (temp4)
9670 delete arg4;
9671 }
9672 return resultobj;
9673fail:
9674 {
9675 if (temp4)
9676 delete arg4;
9677 }
9678 return NULL;
9679}
9680
9681
9682SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9683 PyObject *resultobj = 0;
9684 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9685 wxTreeItemId *arg2 = 0 ;
9686 size_t arg3 ;
9687 wxString *arg4 = 0 ;
9688 int arg5 = (int) -1 ;
9689 int arg6 = (int) -1 ;
9690 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9691 wxTreeItemId result;
9692 void *argp1 = 0 ;
9693 int res1 = 0 ;
9694 void *argp2 = 0 ;
9695 int res2 = 0 ;
9696 size_t val3 ;
9697 int ecode3 = 0 ;
9698 bool temp4 = false ;
9699 int val5 ;
9700 int ecode5 = 0 ;
9701 int val6 ;
9702 int ecode6 = 0 ;
0085ce49
RD
9703 int res7 = 0 ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 PyObject * obj2 = 0 ;
9707 PyObject * obj3 = 0 ;
9708 PyObject * obj4 = 0 ;
9709 PyObject * obj5 = 0 ;
9710 PyObject * obj6 = 0 ;
9711 char * kwnames[] = {
9712 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9713 };
9714
9715 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9716 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9717 if (!SWIG_IsOK(res1)) {
9718 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9719 }
9720 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9721 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9722 if (!SWIG_IsOK(res2)) {
9723 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9724 }
9725 if (!argp2) {
9726 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9727 }
9728 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9729 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9730 if (!SWIG_IsOK(ecode3)) {
9731 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9732 }
9733 arg3 = static_cast< size_t >(val3);
9734 {
9735 arg4 = wxString_in_helper(obj3);
9736 if (arg4 == NULL) SWIG_fail;
9737 temp4 = true;
9738 }
9739 if (obj4) {
9740 ecode5 = SWIG_AsVal_int(obj4, &val5);
9741 if (!SWIG_IsOK(ecode5)) {
9742 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9743 }
9744 arg5 = static_cast< int >(val5);
9745 }
9746 if (obj5) {
9747 ecode6 = SWIG_AsVal_int(obj5, &val6);
9748 if (!SWIG_IsOK(ecode6)) {
9749 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9750 }
9751 arg6 = static_cast< int >(val6);
9752 }
9753 if (obj6) {
01f6b6d3 9754 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9755 if (!SWIG_IsOK(res7)) {
01f6b6d3 9756 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
44127b65 9757 }
0085ce49
RD
9758 }
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9766 {
9767 if (temp4)
9768 delete arg4;
9769 }
9770 return resultobj;
9771fail:
9772 {
9773 if (temp4)
9774 delete arg4;
9775 }
9776 return NULL;
9777}
9778
9779
9780SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9781 PyObject *resultobj = 0;
9782 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9783 wxTreeItemId *arg2 = 0 ;
9784 wxString *arg3 = 0 ;
9785 int arg4 = (int) -1 ;
9786 int arg5 = (int) -1 ;
9787 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9788 wxTreeItemId result;
9789 void *argp1 = 0 ;
9790 int res1 = 0 ;
9791 void *argp2 = 0 ;
9792 int res2 = 0 ;
9793 bool temp3 = false ;
9794 int val4 ;
9795 int ecode4 = 0 ;
9796 int val5 ;
9797 int ecode5 = 0 ;
0085ce49
RD
9798 int res6 = 0 ;
9799 PyObject * obj0 = 0 ;
9800 PyObject * obj1 = 0 ;
9801 PyObject * obj2 = 0 ;
9802 PyObject * obj3 = 0 ;
9803 PyObject * obj4 = 0 ;
9804 PyObject * obj5 = 0 ;
9805 char * kwnames[] = {
9806 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9807 };
9808
9809 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9810 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9811 if (!SWIG_IsOK(res1)) {
9812 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9813 }
9814 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9815 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9816 if (!SWIG_IsOK(res2)) {
9817 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9818 }
9819 if (!argp2) {
9820 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9821 }
9822 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9823 {
9824 arg3 = wxString_in_helper(obj2);
9825 if (arg3 == NULL) SWIG_fail;
9826 temp3 = true;
9827 }
9828 if (obj3) {
9829 ecode4 = SWIG_AsVal_int(obj3, &val4);
9830 if (!SWIG_IsOK(ecode4)) {
9831 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9832 }
9833 arg4 = static_cast< int >(val4);
9834 }
9835 if (obj4) {
9836 ecode5 = SWIG_AsVal_int(obj4, &val5);
9837 if (!SWIG_IsOK(ecode5)) {
9838 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9839 }
9840 arg5 = static_cast< int >(val5);
9841 }
9842 if (obj5) {
01f6b6d3 9843 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9844 if (!SWIG_IsOK(res6)) {
01f6b6d3 9845 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
44127b65 9846 }
0085ce49
RD
9847 }
9848 {
9849 PyThreadState* __tstate = wxPyBeginAllowThreads();
9850 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9855 {
9856 if (temp3)
9857 delete arg3;
9858 }
9859 return resultobj;
9860fail:
9861 {
9862 if (temp3)
9863 delete arg3;
9864 }
9865 return NULL;
9866}
9867
9868
9869SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9870 PyObject *resultobj = 0;
9871 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9872 wxTreeItemId *arg2 = 0 ;
9873 void *argp1 = 0 ;
9874 int res1 = 0 ;
9875 void *argp2 = 0 ;
9876 int res2 = 0 ;
9877 PyObject * obj0 = 0 ;
9878 PyObject * obj1 = 0 ;
9879 char * kwnames[] = {
9880 (char *) "self",(char *) "item", NULL
9881 };
9882
9883 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9884 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9885 if (!SWIG_IsOK(res1)) {
9886 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9887 }
9888 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9889 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9890 if (!SWIG_IsOK(res2)) {
9891 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9892 }
9893 if (!argp2) {
9894 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9895 }
9896 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9897 {
9898 PyThreadState* __tstate = wxPyBeginAllowThreads();
9899 (arg1)->Delete((wxTreeItemId const &)*arg2);
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 resultobj = SWIG_Py_Void();
9904 return resultobj;
9905fail:
9906 return NULL;
9907}
9908
9909
9910SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj = 0;
9912 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9913 wxTreeItemId *arg2 = 0 ;
9914 void *argp1 = 0 ;
9915 int res1 = 0 ;
9916 void *argp2 = 0 ;
9917 int res2 = 0 ;
9918 PyObject * obj0 = 0 ;
9919 PyObject * obj1 = 0 ;
9920 char * kwnames[] = {
9921 (char *) "self",(char *) "item", NULL
9922 };
9923
9924 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9925 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9926 if (!SWIG_IsOK(res1)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9928 }
9929 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9930 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9931 if (!SWIG_IsOK(res2)) {
9932 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9933 }
9934 if (!argp2) {
9935 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9936 }
9937 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9941 wxPyEndAllowThreads(__tstate);
9942 if (PyErr_Occurred()) SWIG_fail;
9943 }
9944 resultobj = SWIG_Py_Void();
9945 return resultobj;
9946fail:
9947 return NULL;
44127b65
RD
9948}
9949
9950
33d6fd3b 9951SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
9952 PyObject *resultobj = 0;
9953 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9954 void *argp1 = 0 ;
9955 int res1 = 0 ;
9956 PyObject *swig_obj[1] ;
9957
9958 if (!args) SWIG_fail;
9959 swig_obj[0] = args;
9960 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9961 if (!SWIG_IsOK(res1)) {
33d6fd3b 9962 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
9963 }
9964 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9965 {
9966 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9967 (arg1)->DeleteRoot();
0085ce49
RD
9968 wxPyEndAllowThreads(__tstate);
9969 if (PyErr_Occurred()) SWIG_fail;
9970 }
9971 resultobj = SWIG_Py_Void();
9972 return resultobj;
9973fail:
9974 return NULL;
9975}
9976
9977
9978SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj = 0;
9980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9981 wxTreeItemId *arg2 = 0 ;
9982 void *argp1 = 0 ;
9983 int res1 = 0 ;
9984 void *argp2 = 0 ;
9985 int res2 = 0 ;
9986 PyObject * obj0 = 0 ;
9987 PyObject * obj1 = 0 ;
9988 char * kwnames[] = {
9989 (char *) "self",(char *) "item", NULL
9990 };
9991
9992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9994 if (!SWIG_IsOK(res1)) {
9995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9996 }
9997 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9998 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9999 if (!SWIG_IsOK(res2)) {
10000 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10001 }
10002 if (!argp2) {
10003 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10004 }
10005 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10006 {
10007 PyThreadState* __tstate = wxPyBeginAllowThreads();
10008 (arg1)->Expand((wxTreeItemId const &)*arg2);
10009 wxPyEndAllowThreads(__tstate);
10010 if (PyErr_Occurred()) SWIG_fail;
10011 }
10012 resultobj = SWIG_Py_Void();
10013 return resultobj;
10014fail:
10015 return NULL;
10016}
10017
10018
10019SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10020 PyObject *resultobj = 0;
10021 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10022 wxTreeItemId *arg2 = 0 ;
10023 void *argp1 = 0 ;
10024 int res1 = 0 ;
10025 void *argp2 = 0 ;
10026 int res2 = 0 ;
10027 PyObject * obj0 = 0 ;
10028 PyObject * obj1 = 0 ;
10029 char * kwnames[] = {
10030 (char *) "self",(char *) "item", NULL
10031 };
10032
10033 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10034 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10035 if (!SWIG_IsOK(res1)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10037 }
10038 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10039 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10040 if (!SWIG_IsOK(res2)) {
10041 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10042 }
10043 if (!argp2) {
10044 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10045 }
10046 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10047 {
10048 PyThreadState* __tstate = wxPyBeginAllowThreads();
10049 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10050 wxPyEndAllowThreads(__tstate);
10051 if (PyErr_Occurred()) SWIG_fail;
10052 }
10053 resultobj = SWIG_Py_Void();
10054 return resultobj;
10055fail:
10056 return NULL;
10057}
10058
10059
10060SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10061 PyObject *resultobj = 0;
10062 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10063 wxTreeItemId *arg2 = 0 ;
10064 void *argp1 = 0 ;
10065 int res1 = 0 ;
10066 void *argp2 = 0 ;
10067 int res2 = 0 ;
10068 PyObject * obj0 = 0 ;
10069 PyObject * obj1 = 0 ;
10070 char * kwnames[] = {
10071 (char *) "self",(char *) "item", NULL
10072 };
10073
10074 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10075 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10076 if (!SWIG_IsOK(res1)) {
10077 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10078 }
10079 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10080 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10081 if (!SWIG_IsOK(res2)) {
10082 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10083 }
10084 if (!argp2) {
10085 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10086 }
10087 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10088 {
10089 PyThreadState* __tstate = wxPyBeginAllowThreads();
10090 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10091 wxPyEndAllowThreads(__tstate);
10092 if (PyErr_Occurred()) SWIG_fail;
10093 }
10094 resultobj = SWIG_Py_Void();
10095 return resultobj;
10096fail:
10097 return NULL;
10098}
10099
10100
10101SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10102 PyObject *resultobj = 0;
10103 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10104 wxTreeItemId *arg2 = 0 ;
10105 void *argp1 = 0 ;
10106 int res1 = 0 ;
10107 void *argp2 = 0 ;
10108 int res2 = 0 ;
10109 PyObject * obj0 = 0 ;
10110 PyObject * obj1 = 0 ;
10111 char * kwnames[] = {
10112 (char *) "self",(char *) "item", NULL
10113 };
10114
10115 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10116 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10117 if (!SWIG_IsOK(res1)) {
10118 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10119 }
10120 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10121 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10122 if (!SWIG_IsOK(res2)) {
10123 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10124 }
10125 if (!argp2) {
10126 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10127 }
10128 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10129 {
10130 PyThreadState* __tstate = wxPyBeginAllowThreads();
10131 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10132 wxPyEndAllowThreads(__tstate);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 resultobj = SWIG_Py_Void();
10136 return resultobj;
10137fail:
10138 return NULL;
10139}
10140
10141
10142SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10143 PyObject *resultobj = 0;
10144 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10145 wxTreeItemId *arg2 = 0 ;
10146 void *argp1 = 0 ;
10147 int res1 = 0 ;
10148 void *argp2 = 0 ;
10149 int res2 = 0 ;
10150 PyObject * obj0 = 0 ;
10151 PyObject * obj1 = 0 ;
10152 char * kwnames[] = {
10153 (char *) "self",(char *) "item", NULL
10154 };
10155
10156 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10157 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10158 if (!SWIG_IsOK(res1)) {
10159 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10160 }
10161 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10162 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10163 if (!SWIG_IsOK(res2)) {
10164 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10165 }
10166 if (!argp2) {
10167 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10168 }
10169 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10170 {
10171 PyThreadState* __tstate = wxPyBeginAllowThreads();
10172 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10173 wxPyEndAllowThreads(__tstate);
10174 if (PyErr_Occurred()) SWIG_fail;
10175 }
10176 resultobj = SWIG_Py_Void();
10177 return resultobj;
10178fail:
10179 return NULL;
44127b65
RD
10180}
10181
10182
0085ce49
RD
10183SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10184 PyObject *resultobj = 0;
10185 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10186 void *argp1 = 0 ;
10187 int res1 = 0 ;
10188 PyObject *swig_obj[1] ;
10189
10190 if (!args) SWIG_fail;
10191 swig_obj[0] = args;
10192 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10193 if (!SWIG_IsOK(res1)) {
10194 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10195 }
10196 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 (arg1)->Unselect();
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = SWIG_Py_Void();
10204 return resultobj;
10205fail:
10206 return NULL;
6260902d
RD
10207}
10208
10209
0085ce49
RD
10210SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10211 PyObject *resultobj = 0;
10212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10213 void *argp1 = 0 ;
10214 int res1 = 0 ;
10215 PyObject *swig_obj[1] ;
10216
10217 if (!args) SWIG_fail;
10218 swig_obj[0] = args;
10219 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10220 if (!SWIG_IsOK(res1)) {
10221 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10222 }
10223 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->UnselectAll();
10227 wxPyEndAllowThreads(__tstate);
10228 if (PyErr_Occurred()) SWIG_fail;
10229 }
10230 resultobj = SWIG_Py_Void();
10231 return resultobj;
10232fail:
10233 return NULL;
10234}
10235
10236
10237SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10238 PyObject *resultobj = 0;
10239 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10240 wxTreeItemId *arg2 = 0 ;
33d6fd3b
RD
10241 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10242 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10243 bool arg4 = (bool) true ;
0085ce49
RD
10244 void *argp1 = 0 ;
10245 int res1 = 0 ;
10246 void *argp2 = 0 ;
10247 int res2 = 0 ;
33d6fd3b
RD
10248 void *argp3 = 0 ;
10249 int res3 = 0 ;
0085ce49
RD
10250 bool val4 ;
10251 int ecode4 = 0 ;
10252 PyObject * obj0 = 0 ;
10253 PyObject * obj1 = 0 ;
10254 PyObject * obj2 = 0 ;
10255 PyObject * obj3 = 0 ;
10256 char * kwnames[] = {
33d6fd3b 10257 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
0085ce49
RD
10258 };
10259
10260 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10261 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10262 if (!SWIG_IsOK(res1)) {
10263 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10264 }
10265 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10266 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10267 if (!SWIG_IsOK(res2)) {
10268 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10269 }
10270 if (!argp2) {
10271 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10272 }
10273 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10274 if (obj2) {
33d6fd3b
RD
10275 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10276 if (!SWIG_IsOK(res3)) {
10277 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10278 }
10279 if (!argp3) {
10280 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10281 }
10282 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
0085ce49
RD
10283 }
10284 if (obj3) {
10285 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10286 if (!SWIG_IsOK(ecode4)) {
10287 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10288 }
10289 arg4 = static_cast< bool >(val4);
10290 }
10291 {
10292 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10293 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
0085ce49
RD
10294 wxPyEndAllowThreads(__tstate);
10295 if (PyErr_Occurred()) SWIG_fail;
10296 }
10297 resultobj = SWIG_Py_Void();
10298 return resultobj;
10299fail:
10300 return NULL;
10301}
10302
10303
33d6fd3b 10304SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
10305 PyObject *resultobj = 0;
10306 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
0085ce49
RD
10307 void *argp1 = 0 ;
10308 int res1 = 0 ;
33d6fd3b 10309 PyObject *swig_obj[1] ;
0085ce49 10310
33d6fd3b
RD
10311 if (!args) SWIG_fail;
10312 swig_obj[0] = args;
10313 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49
RD
10314 if (!SWIG_IsOK(res1)) {
10315 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10316 }
10317 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10320 (arg1)->SelectAll();
0085ce49
RD
10321 wxPyEndAllowThreads(__tstate);
10322 if (PyErr_Occurred()) SWIG_fail;
10323 }
10324 resultobj = SWIG_Py_Void();
10325 return resultobj;
10326fail:
10327 return NULL;
10328}
10329
10330
10331SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10332 PyObject *resultobj = 0;
10333 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10334 wxTreeItemId *arg2 = 0 ;
10335 void *argp1 = 0 ;
10336 int res1 = 0 ;
10337 void *argp2 = 0 ;
10338 int res2 = 0 ;
10339 PyObject * obj0 = 0 ;
10340 PyObject * obj1 = 0 ;
10341 char * kwnames[] = {
10342 (char *) "self",(char *) "item", NULL
10343 };
10344
10345 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10346 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10347 if (!SWIG_IsOK(res1)) {
10348 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10349 }
10350 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10351 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10352 if (!SWIG_IsOK(res2)) {
10353 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10354 }
10355 if (!argp2) {
10356 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10357 }
10358 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10359 {
10360 PyThreadState* __tstate = wxPyBeginAllowThreads();
10361 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = SWIG_Py_Void();
10366 return resultobj;
10367fail:
10368 return NULL;
10369}
10370
10371
10372SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10373 PyObject *resultobj = 0;
10374 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10375 wxTreeItemId *arg2 = 0 ;
10376 void *argp1 = 0 ;
10377 int res1 = 0 ;
10378 void *argp2 = 0 ;
10379 int res2 = 0 ;
10380 PyObject * obj0 = 0 ;
10381 PyObject * obj1 = 0 ;
10382 char * kwnames[] = {
10383 (char *) "self",(char *) "item", NULL
10384 };
10385
10386 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10387 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10388 if (!SWIG_IsOK(res1)) {
10389 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10390 }
10391 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10392 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10393 if (!SWIG_IsOK(res2)) {
10394 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10395 }
10396 if (!argp2) {
10397 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10398 }
10399 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10403 wxPyEndAllowThreads(__tstate);
10404 if (PyErr_Occurred()) SWIG_fail;
10405 }
10406 resultobj = SWIG_Py_Void();
10407 return resultobj;
10408fail:
10409 return NULL;
10410}
10411
10412
10413SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10414 PyObject *resultobj = 0;
10415 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10416 wxPoint *arg2 = 0 ;
10417 int *arg3 = 0 ;
10418 int *arg4 = 0 ;
10419 wxTreeItemId result;
10420 void *argp1 = 0 ;
10421 int res1 = 0 ;
10422 wxPoint temp2 ;
10423 int temp3 ;
10424 int res3 = SWIG_TMPOBJ ;
10425 int temp4 ;
10426 int res4 = SWIG_TMPOBJ ;
10427 PyObject * obj0 = 0 ;
10428 PyObject * obj1 = 0 ;
10429 char * kwnames[] = {
10430 (char *) "self",(char *) "point", NULL
10431 };
10432
10433 arg3 = &temp3;
10434 arg4 = &temp4;
10435 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10436 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10437 if (!SWIG_IsOK(res1)) {
10438 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10439 }
10440 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10441 {
10442 arg2 = &temp2;
10443 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10444 }
10445 {
10446 PyThreadState* __tstate = wxPyBeginAllowThreads();
10447 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10452 if (SWIG_IsTmpObj(res3)) {
10453 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10454 } else {
10455 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10456 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10457 }
10458 if (SWIG_IsTmpObj(res4)) {
10459 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10460 } else {
10461 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10462 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10463 }
10464 return resultobj;
10465fail:
10466 return NULL;
10467}
10468
10469
10470SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj = 0;
10472 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10473 wxTreeItemId *arg2 = 0 ;
10474 bool arg3 = (bool) false ;
10475 PyObject *result = 0 ;
10476 void *argp1 = 0 ;
10477 int res1 = 0 ;
10478 void *argp2 = 0 ;
10479 int res2 = 0 ;
10480 bool val3 ;
10481 int ecode3 = 0 ;
10482 PyObject * obj0 = 0 ;
10483 PyObject * obj1 = 0 ;
10484 PyObject * obj2 = 0 ;
10485 char * kwnames[] = {
10486 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10487 };
10488
10489 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10490 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10491 if (!SWIG_IsOK(res1)) {
10492 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10493 }
10494 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10495 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10496 if (!SWIG_IsOK(res2)) {
10497 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10498 }
10499 if (!argp2) {
10500 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10501 }
10502 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10503 if (obj2) {
10504 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10505 if (!SWIG_IsOK(ecode3)) {
10506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10507 }
10508 arg3 = static_cast< bool >(val3);
10509 }
10510 {
10511 PyThreadState* __tstate = wxPyBeginAllowThreads();
10512 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 resultobj = result;
10517 return resultobj;
10518fail:
10519 return NULL;
10520}
10521
10522
10523SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10524 PyObject *resultobj = 0;
10525 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10526 wxTreeItemId *arg2 = 0 ;
33d6fd3b 10527 int arg3 = (int) -1 ;
0085ce49
RD
10528 void *argp1 = 0 ;
10529 int res1 = 0 ;
10530 void *argp2 = 0 ;
10531 int res2 = 0 ;
33d6fd3b
RD
10532 int val3 ;
10533 int ecode3 = 0 ;
0085ce49
RD
10534 PyObject * obj0 = 0 ;
10535 PyObject * obj1 = 0 ;
33d6fd3b 10536 PyObject * obj2 = 0 ;
0085ce49 10537 char * kwnames[] = {
33d6fd3b 10538 (char *) "self",(char *) "item",(char *) "column", NULL
0085ce49
RD
10539 };
10540
33d6fd3b 10541 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
10542 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10543 if (!SWIG_IsOK(res1)) {
10544 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10545 }
10546 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10547 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10548 if (!SWIG_IsOK(res2)) {
10549 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10550 }
10551 if (!argp2) {
10552 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10553 }
10554 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
10555 if (obj2) {
10556 ecode3 = SWIG_AsVal_int(obj2, &val3);
10557 if (!SWIG_IsOK(ecode3)) {
10558 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10559 }
10560 arg3 = static_cast< int >(val3);
0085ce49 10561 }
0085ce49
RD
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10564 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 resultobj = SWIG_Py_Void();
10569 return resultobj;
10570fail:
10571 return NULL;
10572}
10573
10574
10575SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10576 PyObject *resultobj = 0;
10577 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10578 wxTreeItemId *arg2 = 0 ;
10579 void *argp1 = 0 ;
10580 int res1 = 0 ;
10581 void *argp2 = 0 ;
10582 int res2 = 0 ;
10583 PyObject * obj0 = 0 ;
10584 PyObject * obj1 = 0 ;
10585 char * kwnames[] = {
10586 (char *) "self",(char *) "item", NULL
10587 };
10588
10589 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10590 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10591 if (!SWIG_IsOK(res1)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10593 }
10594 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10595 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10596 if (!SWIG_IsOK(res2)) {
10597 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10598 }
10599 if (!argp2) {
10600 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10601 }
10602 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10603 {
10604 PyThreadState* __tstate = wxPyBeginAllowThreads();
10605 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_Py_Void();
10610 return resultobj;
10611fail:
10612 return NULL;
10613}
10614
10615
10616SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10617 PyObject *resultobj = 0;
10618 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10619 wxTreeItemId *arg2 = 0 ;
10620 wxString *arg3 = 0 ;
10621 int arg4 = (int) 0 ;
10622 wxTreeItemId result;
10623 void *argp1 = 0 ;
10624 int res1 = 0 ;
10625 void *argp2 = 0 ;
10626 int res2 = 0 ;
10627 bool temp3 = false ;
10628 int val4 ;
10629 int ecode4 = 0 ;
10630 PyObject * obj0 = 0 ;
10631 PyObject * obj1 = 0 ;
10632 PyObject * obj2 = 0 ;
10633 PyObject * obj3 = 0 ;
10634 char * kwnames[] = {
10635 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10636 };
10637
10638 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10639 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10640 if (!SWIG_IsOK(res1)) {
10641 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10642 }
10643 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10644 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10645 if (!SWIG_IsOK(res2)) {
10646 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10647 }
10648 if (!argp2) {
10649 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10650 }
10651 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10652 {
10653 arg3 = wxString_in_helper(obj2);
10654 if (arg3 == NULL) SWIG_fail;
10655 temp3 = true;
10656 }
10657 if (obj3) {
10658 ecode4 = SWIG_AsVal_int(obj3, &val4);
10659 if (!SWIG_IsOK(ecode4)) {
10660 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10661 }
10662 arg4 = static_cast< int >(val4);
10663 }
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10671 {
10672 if (temp3)
10673 delete arg3;
10674 }
10675 return resultobj;
10676fail:
10677 {
10678 if (temp3)
10679 delete arg3;
10680 }
10681 return NULL;
6260902d
RD
10682}
10683
10684
33d6fd3b
RD
10685SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10686 PyObject *resultobj = 0;
10687 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10688 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10689 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10690 void *argp1 = 0 ;
10691 int res1 = 0 ;
10692 void *argp2 = 0 ;
10693 int res2 = 0 ;
10694 PyObject * obj0 = 0 ;
10695 PyObject * obj1 = 0 ;
10696 char * kwnames[] = {
10697 (char *) "self",(char *) "item", NULL
10698 };
10699
10700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10702 if (!SWIG_IsOK(res1)) {
10703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10704 }
10705 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10706 if (obj1) {
10707 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10708 if (!SWIG_IsOK(res2)) {
10709 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10710 }
10711 if (!argp2) {
10712 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10713 }
10714 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10715 }
10716 {
10717 PyThreadState* __tstate = wxPyBeginAllowThreads();
10718 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10719 wxPyEndAllowThreads(__tstate);
10720 if (PyErr_Occurred()) SWIG_fail;
10721 }
10722 resultobj = SWIG_Py_Void();
10723 return resultobj;
10724fail:
10725 return NULL;
10726}
10727
10728
0085ce49
RD
10729SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10730 PyObject *resultobj = 0;
10731 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10732 wxWindow *result = 0 ;
10733 void *argp1 = 0 ;
10734 int res1 = 0 ;
10735 PyObject *swig_obj[1] ;
10736
10737 if (!args) SWIG_fail;
10738 swig_obj[0] = args;
10739 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10740 if (!SWIG_IsOK(res1)) {
10741 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10742 }
10743 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 {
10751 resultobj = wxPyMake_wxObject(result, 0);
10752 }
10753 return resultobj;
10754fail:
10755 return NULL;
6260902d
RD
10756}
10757
10758
0085ce49
RD
10759SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10760 PyObject *resultobj = 0;
10761 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10762 wxScrolledWindow *result = 0 ;
10763 void *argp1 = 0 ;
10764 int res1 = 0 ;
10765 PyObject *swig_obj[1] ;
10766
10767 if (!args) SWIG_fail;
10768 swig_obj[0] = args;
10769 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10770 if (!SWIG_IsOK(res1)) {
10771 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10772 }
10773 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 {
10781 resultobj = wxPyMake_wxObject(result, 0);
10782 }
10783 return resultobj;
10784fail:
10785 return NULL;
10786}
10787
10788
10789SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10790 PyObject *obj;
10791 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10792 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10793 return SWIG_Py_Void();
10794}
10795
10796SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10797 return SWIG_Python_InitShadowInstance(args);
10798}
10799
10800SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj = 0;
10802 wxWindow *arg1 = (wxWindow *) 0 ;
10803 int arg2 = (int) -1 ;
10804 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10805 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10808 wxSize const &arg5_defvalue = wxDefaultSize ;
10809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10810 long arg6 = (long) 0 ;
10811 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10812 wxString *arg7 = (wxString *) &arg7_defvalue ;
10813 wxStaticPicture *result = 0 ;
10814 void *argp1 = 0 ;
10815 int res1 = 0 ;
10816 int val2 ;
10817 int ecode2 = 0 ;
10818 void *argp3 = 0 ;
10819 int res3 = 0 ;
10820 wxPoint temp4 ;
10821 wxSize temp5 ;
10822 long val6 ;
10823 int ecode6 = 0 ;
10824 bool temp7 = false ;
10825 PyObject * obj0 = 0 ;
10826 PyObject * obj1 = 0 ;
10827 PyObject * obj2 = 0 ;
10828 PyObject * obj3 = 0 ;
10829 PyObject * obj4 = 0 ;
10830 PyObject * obj5 = 0 ;
10831 PyObject * obj6 = 0 ;
10832 char * kwnames[] = {
10833 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10834 };
10835
10836 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10837 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10838 if (!SWIG_IsOK(res1)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10840 }
10841 arg1 = reinterpret_cast< wxWindow * >(argp1);
10842 if (obj1) {
10843 ecode2 = SWIG_AsVal_int(obj1, &val2);
10844 if (!SWIG_IsOK(ecode2)) {
10845 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10846 }
10847 arg2 = static_cast< int >(val2);
10848 }
10849 if (obj2) {
10850 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10851 if (!SWIG_IsOK(res3)) {
10852 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10853 }
0085ce49
RD
10854 if (!argp3) {
10855 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10856 }
0085ce49
RD
10857 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10858 }
10859 if (obj3) {
6260902d 10860 {
0085ce49
RD
10861 arg4 = &temp4;
10862 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6260902d 10863 }
0085ce49
RD
10864 }
10865 if (obj4) {
6260902d 10866 {
0085ce49
RD
10867 arg5 = &temp5;
10868 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6260902d 10869 }
0085ce49
RD
10870 }
10871 if (obj5) {
10872 ecode6 = SWIG_AsVal_long(obj5, &val6);
10873 if (!SWIG_IsOK(ecode6)) {
10874 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10875 }
10876 arg6 = static_cast< long >(val6);
10877 }
10878 if (obj6) {
6260902d 10879 {
0085ce49
RD
10880 arg7 = wxString_in_helper(obj6);
10881 if (arg7 == NULL) SWIG_fail;
10882 temp7 = true;
6260902d 10883 }
0085ce49
RD
10884 }
10885 {
10886 if (!wxPyCheckForApp()) SWIG_fail;
10887 PyThreadState* __tstate = wxPyBeginAllowThreads();
10888 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10889 wxPyEndAllowThreads(__tstate);
10890 if (PyErr_Occurred()) SWIG_fail;
10891 }
10892 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10893 {
10894 if (temp7)
10895 delete arg7;
10896 }
10897 return resultobj;
10898fail:
10899 {
10900 if (temp7)
10901 delete arg7;
10902 }
10903 return NULL;
6260902d
RD
10904}
10905
10906
0085ce49
RD
10907SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10908 PyObject *resultobj = 0;
10909 wxStaticPicture *result = 0 ;
10910
10911 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10912 {
10913 if (!wxPyCheckForApp()) SWIG_fail;
10914 PyThreadState* __tstate = wxPyBeginAllowThreads();
10915 result = (wxStaticPicture *)new wxStaticPicture();
10916 wxPyEndAllowThreads(__tstate);
10917 if (PyErr_Occurred()) SWIG_fail;
10918 }
10919 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10920 return resultobj;
10921fail:
10922 return NULL;
10923}
10924
10925
10926SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10927 PyObject *resultobj = 0;
10928 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10929 wxWindow *arg2 = (wxWindow *) 0 ;
10930 int arg3 = (int) -1 ;
10931 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10932 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10933 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10934 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10935 wxSize const &arg6_defvalue = wxDefaultSize ;
10936 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10937 long arg7 = (long) 0 ;
10938 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10939 wxString *arg8 = (wxString *) &arg8_defvalue ;
10940 bool result;
10941 void *argp1 = 0 ;
10942 int res1 = 0 ;
10943 void *argp2 = 0 ;
10944 int res2 = 0 ;
10945 int val3 ;
10946 int ecode3 = 0 ;
10947 void *argp4 = 0 ;
10948 int res4 = 0 ;
10949 wxPoint temp5 ;
10950 wxSize temp6 ;
10951 long val7 ;
10952 int ecode7 = 0 ;
10953 bool temp8 = false ;
10954 PyObject * obj0 = 0 ;
10955 PyObject * obj1 = 0 ;
10956 PyObject * obj2 = 0 ;
10957 PyObject * obj3 = 0 ;
10958 PyObject * obj4 = 0 ;
10959 PyObject * obj5 = 0 ;
10960 PyObject * obj6 = 0 ;
10961 PyObject * obj7 = 0 ;
10962 char * kwnames[] = {
10963 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10964 };
10965
10966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10968 if (!SWIG_IsOK(res1)) {
10969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10970 }
10971 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10972 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10973 if (!SWIG_IsOK(res2)) {
10974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10975 }
10976 arg2 = reinterpret_cast< wxWindow * >(argp2);
10977 if (obj2) {
10978 ecode3 = SWIG_AsVal_int(obj2, &val3);
10979 if (!SWIG_IsOK(ecode3)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10981 }
10982 arg3 = static_cast< int >(val3);
10983 }
10984 if (obj3) {
10985 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10986 if (!SWIG_IsOK(res4)) {
10987 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10988 }
0085ce49
RD
10989 if (!argp4) {
10990 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10991 }
0085ce49
RD
10992 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10993 }
10994 if (obj4) {
6260902d 10995 {
0085ce49
RD
10996 arg5 = &temp5;
10997 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6260902d 10998 }
0085ce49
RD
10999 }
11000 if (obj5) {
6260902d 11001 {
0085ce49
RD
11002 arg6 = &temp6;
11003 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6260902d 11004 }
0085ce49
RD
11005 }
11006 if (obj6) {
11007 ecode7 = SWIG_AsVal_long(obj6, &val7);
11008 if (!SWIG_IsOK(ecode7)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11010 }
11011 arg7 = static_cast< long >(val7);
11012 }
11013 if (obj7) {
6260902d 11014 {
0085ce49
RD
11015 arg8 = wxString_in_helper(obj7);
11016 if (arg8 == NULL) SWIG_fail;
11017 temp8 = true;
6260902d 11018 }
0085ce49
RD
11019 }
11020 {
11021 PyThreadState* __tstate = wxPyBeginAllowThreads();
11022 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 {
11027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11028 }
11029 {
11030 if (temp8)
11031 delete arg8;
11032 }
11033 return resultobj;
11034fail:
11035 {
11036 if (temp8)
11037 delete arg8;
11038 }
11039 return NULL;
11040}
11041
11042
11043SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11044 PyObject *resultobj = 0;
11045 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11046 wxBitmap *arg2 = 0 ;
11047 void *argp1 = 0 ;
11048 int res1 = 0 ;
11049 void *argp2 = 0 ;
11050 int res2 = 0 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char * kwnames[] = {
11054 (char *) "self",(char *) "bmp", NULL
11055 };
11056
11057 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11058 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11059 if (!SWIG_IsOK(res1)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11061 }
11062 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11063 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11064 if (!SWIG_IsOK(res2)) {
11065 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11066 }
11067 if (!argp2) {
11068 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11069 }
11070 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11071 {
11072 PyThreadState* __tstate = wxPyBeginAllowThreads();
11073 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 resultobj = SWIG_Py_Void();
11078 return resultobj;
11079fail:
11080 return NULL;
6260902d
RD
11081}
11082
11083
0085ce49
RD
11084SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11085 PyObject *resultobj = 0;
11086 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11087 wxBitmap result;
11088 void *argp1 = 0 ;
11089 int res1 = 0 ;
11090 PyObject *swig_obj[1] ;
11091
11092 if (!args) SWIG_fail;
11093 swig_obj[0] = args;
11094 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11095 if (!SWIG_IsOK(res1)) {
11096 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11097 }
11098 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11106 return resultobj;
11107fail:
11108 return NULL;
11109}
11110
11111
11112SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11113 PyObject *resultobj = 0;
11114 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11115 wxIcon *arg2 = 0 ;
11116 void *argp1 = 0 ;
11117 int res1 = 0 ;
11118 void *argp2 = 0 ;
11119 int res2 = 0 ;
11120 PyObject * obj0 = 0 ;
11121 PyObject * obj1 = 0 ;
11122 char * kwnames[] = {
11123 (char *) "self",(char *) "icon", NULL
11124 };
11125
11126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11128 if (!SWIG_IsOK(res1)) {
11129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11130 }
11131 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11132 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11133 if (!SWIG_IsOK(res2)) {
11134 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11135 }
11136 if (!argp2) {
11137 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11138 }
11139 arg2 = reinterpret_cast< wxIcon * >(argp2);
11140 {
11141 PyThreadState* __tstate = wxPyBeginAllowThreads();
11142 (arg1)->SetIcon((wxIcon const &)*arg2);
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 resultobj = SWIG_Py_Void();
11147 return resultobj;
11148fail:
11149 return NULL;
6260902d
RD
11150}
11151
11152
0085ce49
RD
11153SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11154 PyObject *resultobj = 0;
11155 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11156 wxIcon result;
11157 void *argp1 = 0 ;
11158 int res1 = 0 ;
11159 PyObject *swig_obj[1] ;
11160
11161 if (!args) SWIG_fail;
11162 swig_obj[0] = args;
11163 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11164 if (!SWIG_IsOK(res1)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11166 }
11167 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11168 {
11169 PyThreadState* __tstate = wxPyBeginAllowThreads();
11170 result = ((wxStaticPicture const *)arg1)->GetIcon();
11171 wxPyEndAllowThreads(__tstate);
11172 if (PyErr_Occurred()) SWIG_fail;
11173 }
11174 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11175 return resultobj;
11176fail:
11177 return NULL;
11178}
11179
11180
11181SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11182 PyObject *resultobj = 0;
11183 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11184 int arg2 ;
11185 void *argp1 = 0 ;
11186 int res1 = 0 ;
11187 int val2 ;
11188 int ecode2 = 0 ;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191 char * kwnames[] = {
11192 (char *) "self",(char *) "align", NULL
11193 };
11194
11195 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11196 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11197 if (!SWIG_IsOK(res1)) {
11198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11199 }
11200 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11201 ecode2 = SWIG_AsVal_int(obj1, &val2);
11202 if (!SWIG_IsOK(ecode2)) {
11203 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11204 }
11205 arg2 = static_cast< int >(val2);
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 (arg1)->SetAlignment(arg2);
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 resultobj = SWIG_Py_Void();
11213 return resultobj;
11214fail:
11215 return NULL;
6260902d
RD
11216}
11217
11218
0085ce49
RD
11219SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11220 PyObject *resultobj = 0;
11221 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11222 int result;
11223 void *argp1 = 0 ;
11224 int res1 = 0 ;
11225 PyObject *swig_obj[1] ;
11226
11227 if (!args) SWIG_fail;
11228 swig_obj[0] = args;
11229 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11230 if (!SWIG_IsOK(res1)) {
11231 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11232 }
11233 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11234 {
11235 PyThreadState* __tstate = wxPyBeginAllowThreads();
11236 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 resultobj = SWIG_From_int(static_cast< int >(result));
11241 return resultobj;
11242fail:
11243 return NULL;
11244}
11245
11246
11247SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj = 0;
11249 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11250 int arg2 ;
11251 void *argp1 = 0 ;
11252 int res1 = 0 ;
11253 int val2 ;
11254 int ecode2 = 0 ;
11255 PyObject * obj0 = 0 ;
11256 PyObject * obj1 = 0 ;
11257 char * kwnames[] = {
11258 (char *) "self",(char *) "scale", NULL
11259 };
11260
11261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11263 if (!SWIG_IsOK(res1)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11265 }
11266 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11267 ecode2 = SWIG_AsVal_int(obj1, &val2);
11268 if (!SWIG_IsOK(ecode2)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11270 }
11271 arg2 = static_cast< int >(val2);
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 (arg1)->SetScale(arg2);
11275 wxPyEndAllowThreads(__tstate);
11276 if (PyErr_Occurred()) SWIG_fail;
11277 }
11278 resultobj = SWIG_Py_Void();
11279 return resultobj;
11280fail:
11281 return NULL;
6260902d
RD
11282}
11283
11284
0085ce49
RD
11285SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11286 PyObject *resultobj = 0;
11287 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11288 int result;
11289 void *argp1 = 0 ;
11290 int res1 = 0 ;
11291 PyObject *swig_obj[1] ;
11292
11293 if (!args) SWIG_fail;
11294 swig_obj[0] = args;
11295 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11296 if (!SWIG_IsOK(res1)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11298 }
11299 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11300 {
11301 PyThreadState* __tstate = wxPyBeginAllowThreads();
11302 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11303 wxPyEndAllowThreads(__tstate);
11304 if (PyErr_Occurred()) SWIG_fail;
11305 }
11306 resultobj = SWIG_From_int(static_cast< int >(result));
11307 return resultobj;
11308fail:
11309 return NULL;
11310}
11311
11312
11313SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj = 0;
11315 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11316 float arg2 ;
11317 float arg3 ;
11318 void *argp1 = 0 ;
11319 int res1 = 0 ;
11320 float val2 ;
11321 int ecode2 = 0 ;
11322 float val3 ;
11323 int ecode3 = 0 ;
11324 PyObject * obj0 = 0 ;
11325 PyObject * obj1 = 0 ;
11326 PyObject * obj2 = 0 ;
11327 char * kwnames[] = {
11328 (char *) "self",(char *) "sx",(char *) "sy", NULL
11329 };
11330
11331 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11332 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11333 if (!SWIG_IsOK(res1)) {
11334 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11335 }
11336 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11337 ecode2 = SWIG_AsVal_float(obj1, &val2);
11338 if (!SWIG_IsOK(ecode2)) {
11339 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11340 }
11341 arg2 = static_cast< float >(val2);
11342 ecode3 = SWIG_AsVal_float(obj2, &val3);
11343 if (!SWIG_IsOK(ecode3)) {
11344 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11345 }
11346 arg3 = static_cast< float >(val3);
11347 {
11348 PyThreadState* __tstate = wxPyBeginAllowThreads();
11349 (arg1)->SetCustomScale(arg2,arg3);
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = SWIG_Py_Void();
11354 return resultobj;
11355fail:
11356 return NULL;
11357}
11358
11359
11360SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11361 PyObject *resultobj = 0;
11362 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11363 float *arg2 = (float *) 0 ;
11364 float *arg3 = (float *) 0 ;
11365 void *argp1 = 0 ;
11366 int res1 = 0 ;
11367 float temp2 ;
11368 int res2 = SWIG_TMPOBJ ;
11369 float temp3 ;
11370 int res3 = SWIG_TMPOBJ ;
11371 PyObject *swig_obj[1] ;
11372
11373 arg2 = &temp2;
11374 arg3 = &temp3;
11375 if (!args) SWIG_fail;
11376 swig_obj[0] = args;
11377 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11378 if (!SWIG_IsOK(res1)) {
11379 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11380 }
11381 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11382 {
11383 PyThreadState* __tstate = wxPyBeginAllowThreads();
11384 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11385 wxPyEndAllowThreads(__tstate);
11386 if (PyErr_Occurred()) SWIG_fail;
11387 }
11388 resultobj = SWIG_Py_Void();
11389 if (SWIG_IsTmpObj(res2)) {
11390 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11391 } else {
11392 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11393 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11394 }
11395 if (SWIG_IsTmpObj(res3)) {
11396 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11397 } else {
11398 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11399 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11400 }
11401 return resultobj;
11402fail:
11403 return NULL;
6260902d
RD
11404}
11405
11406
0085ce49
RD
11407SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11408 PyObject *obj;
11409 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11410 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11411 return SWIG_Py_Void();
6260902d 11412}
0085ce49
RD
11413
11414SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11415 return SWIG_Python_InitShadowInstance(args);
11416}
11417
44127b65 11418static PyMethodDef SwigMethods[] = {
3004cfd8
RD
11419 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11420 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
0085ce49 11421 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11422 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11423 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
0085ce49 11424 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
3004cfd8 11425 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11426 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
3004cfd8
RD
11427 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11428 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11429 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11430 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11431 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11432 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11433 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11434 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11435 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11436 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11437 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11438 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11439 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11440 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
3004cfd8 11441 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
0085ce49 11442 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
3004cfd8 11443 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11444 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11445 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11446 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
3004cfd8
RD
11447 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11448 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11449 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
3004cfd8 11450 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11451 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11452 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11453 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11454 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
3004cfd8
RD
11455 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11456 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11457 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11458 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11459 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11460 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11461 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11462 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11463 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
3004cfd8 11464 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11465 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
3004cfd8 11466 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11467 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11468 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11469 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
3004cfd8
RD
11470 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11471 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11472 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11473 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11474 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8 11475 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
01f6b6d3 11476 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
0085ce49
RD
11477 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11478 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11479 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11480 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11481 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
33d6fd3b
RD
11482 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11483 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
3004cfd8
RD
11484 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11485 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11486 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11487 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11488 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11489 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11490 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11491 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
0085ce49 11492 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
3004cfd8 11493 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11494 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
3004cfd8
RD
11495 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11496 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11497 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11498 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
3004cfd8 11499 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11500 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
3004cfd8 11501 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11502 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11503 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11504 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
3004cfd8
RD
11505 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11506 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11507 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11508 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11509 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11510 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11511 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11516 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
3004cfd8 11517 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11518 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
3004cfd8
RD
11519 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11520 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11521 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11522 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11525 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11526 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11529 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11530 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11531 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11532 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11533 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11534 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11541 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11542 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11545 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11546 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11550 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11551 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11552 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11553 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11556 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11557 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11558 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
3004cfd8
RD
11559 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11560 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11563 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11564 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11565 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11566 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11567 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11569 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11570 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11572 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11573 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11574 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11575 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11580 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11581 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
3004cfd8
RD
11582 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11583 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11586 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11587 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11588 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
3004cfd8 11589 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11590 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
3004cfd8
RD
11591 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11592 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11593 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11594 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11595 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11596 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11597 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11598 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11599 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11600 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
3004cfd8 11601 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11602 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
6260902d 11603 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11604 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
6260902d
RD
11605 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11606 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11607 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
6260902d 11608 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11609 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
6260902d 11610 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11611 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
6260902d 11612 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11613 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
6260902d 11614 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11615 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
6260902d 11616 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
0085ce49 11617 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
c32bde28 11618 { NULL, NULL, 0, NULL }
44127b65
RD
11619};
11620
11621
11622/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11623
11624static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11625 return (void *)((wxValidator *) ((wxPyValidator *) x));
11626}
11627static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11628 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11629}
11630static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11631 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11632}
823f0cfe
RD
11633static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11634 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11635}
44127b65
RD
11636static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11637 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11638}
11639static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11640 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11641}
11642static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11643 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11644}
11645static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11646 return (void *)((wxPanel *) ((wxPyPanel *) x));
11647}
11648static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11649 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11650}
11651static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11652 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11653}
11654static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11655 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11656}
11657static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11658 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11659}
7e08d4ef
RD
11660static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11661 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11662}
44127b65
RD
11663static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11664 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11665}
11666static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11667 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11668}
11669static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11670 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11671}
11672static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11673 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11674}
11675static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11676 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11677}
11678static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11679 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11680}
11681static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11682 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11683}
453fb36b
RD
11684static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11685 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11686}
8ac8dba0
RD
11687static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11688 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11689}
7e08d4ef
RD
11690static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11691 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11692}
44127b65
RD
11693static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11694 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11695}
11696static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11697 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11698}
11699static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11700 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11701}
44127b65
RD
11702static void *_p_wxControlTo_p_wxWindow(void *x) {
11703 return (void *)((wxWindow *) ((wxControl *) x));
11704}
823f0cfe
RD
11705static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11706 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11707}
44127b65
RD
11708static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11709 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11710}
11711static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11712 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11713}
11714static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11715 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11716}
11717static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11718 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11719}
11720static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11721 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11722}
7e08d4ef
RD
11723static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11724 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11725}
44127b65
RD
11726static void *_p_wxListViewTo_p_wxWindow(void *x) {
11727 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11728}
11729static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11730 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11731}
11732static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 11733 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
11734}
11735static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11736 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11737}
ae8162c8 11738static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 11739 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 11740}
44127b65
RD
11741static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11742 return (void *)((wxWindow *) ((wxPyWindow *) x));
11743}
11744static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11745 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11746}
11747static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 11748 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
11749}
11750static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11751 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11752}
11753static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11754 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11755}
11756static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11757 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11758}
11759static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11760 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11761}
d3b6e4ff
RD
11762static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11763 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11764}
27e45892
RD
11765static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11766 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11767}
44127b65
RD
11768static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11769 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11770}
11771static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11772 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11773}
11774static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11775 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11776}
11777static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11778 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11779}
11780static void *_p_wxSliderTo_p_wxWindow(void *x) {
11781 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11782}
11783static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11784 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11785}
8ac8dba0
RD
11786static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11787 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11788}
44127b65
RD
11789static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11790 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11791}
11792static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11793 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11794}
11795static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11796 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11797}
11798static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11799 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11800}
11801static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11802 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11803}
44127b65
RD
11804static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11805 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11806}
11807static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11808 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11809}
11810static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11811 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11812}
11813static void *_p_wxButtonTo_p_wxWindow(void *x) {
11814 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11815}
11816static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11817 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11818}
11819static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11820 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11821}
11822static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11823 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11824}
11825static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11826 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11827}
11828static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11830}
11831static void *_p_wxFrameTo_p_wxWindow(void *x) {
11832 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11833}
11834static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11835 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11836}
11837static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11838 return (void *)((wxWindow *) ((wxStatusBar *) x));
11839}
11840static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11841 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11842}
6260902d
RD
11843static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11844 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11845}
823f0cfe
RD
11846static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11847 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11848}
d3b6e4ff
RD
11849static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11850 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11851}
44127b65
RD
11852static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11853 return (void *)((wxWindow *) ((wxSashWindow *) x));
11854}
11855static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11856 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11857}
11858static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11859 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11860}
11861static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11862 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11863}
11864static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11865 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11866}
11867static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11868 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11869}
11870static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11871 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11872}
11873static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11874 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11875}
11876static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11877 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11878}
11879static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11880 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11881}
44127b65
RD
11882static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11883 return (void *)((wxWindow *) ((wxMenuBar *) x));
11884}
11885static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11886 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11887}
11888static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11889 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11890}
11891static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11892 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11893}
11894static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11895 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11896}
44127b65
RD
11897static void *_p_wxDialogTo_p_wxWindow(void *x) {
11898 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11899}
11900static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11901 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11902}
11903static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11905}
11906static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11908}
11909static void *_p_wxPanelTo_p_wxWindow(void *x) {
11910 return (void *)((wxWindow *) ((wxPanel *) x));
11911}
11912static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11913 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11914}
11915static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11916 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11917}
11918static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11919 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11920}
53aa7709
RD
11921static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11922 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11923}
453fb36b
RD
11924static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11925 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11926}
11927static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11928 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11929}
11930static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11931 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11932}
11933static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11934 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11935}
44127b65
RD
11936static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11937 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11938}
092f0ed7
RD
11939static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11940 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11941}
44127b65
RD
11942static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11943 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11944}
11945static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11946 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11947}
823f0cfe
RD
11948static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11949 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11950}
44127b65
RD
11951static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11952 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11953}
11954static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11955 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11956}
8ac8dba0
RD
11957static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11958 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
11959}
11960static void *_p_wxToolBarTo_p_wxControl(void *x) {
11961 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11962}
453fb36b
RD
11963static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11964 return (void *)((wxControl *) ((wxPickerBase *) x));
11965}
44127b65
RD
11966static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11967 return (void *)((wxControl *) ((wxToggleButton *) x));
11968}
11969static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11970 return (void *)((wxControl *) ((wxRadioButton *) x));
11971}
11972static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11973 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11974}
7e08d4ef
RD
11975static void *_p_wxToolbookTo_p_wxControl(void *x) {
11976 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
44127b65
RD
11977}
11978static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11979 return (void *)((wxControl *) ((wxToolBarBase *) x));
11980}
11981static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11982 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11983}
11984static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11985 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11986}
11987static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11988 return (void *)((wxControl *) ((wxComboBox *) x));
11989}
7e08d4ef
RD
11990static void *_p_wxPyControlTo_p_wxControl(void *x) {
11991 return (void *)((wxControl *) ((wxPyControl *) x));
11992}
44127b65
RD
11993static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11994 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11995}
11996static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11997 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11998}
11999static void *_p_wxScrollBarTo_p_wxControl(void *x) {
12000 return (void *)((wxControl *) ((wxScrollBar *) x));
12001}
12002static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12003 return (void *)((wxControl *) ((wxControlWithItems *) x));
12004}
12005static void *_p_wxGaugeTo_p_wxControl(void *x) {
12006 return (void *)((wxControl *) ((wxGauge *) x));
12007}
12008static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12009 return (void *)((wxControl *) ((wxStaticLine *) x));
12010}
ae8162c8 12011static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 12012 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 12013}
44127b65 12014static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 12015 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 12016}
092f0ed7
RD
12017static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12018 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12019}
44127b65
RD
12020static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12021 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12022}
ae8162c8
RD
12023static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12024 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12025}
44127b65
RD
12026static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12027 return (void *)((wxControl *) ((wxCheckBox *) x));
12028}
12029static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12030 return (void *)((wxControl *) ((wxRadioBox *) x));
12031}
12032static void *_p_wxChoiceTo_p_wxControl(void *x) {
12033 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12034}
12035static void *_p_wxListBoxTo_p_wxControl(void *x) {
12036 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12037}
12038static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12039 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12040}
12041static void *_p_wxListViewTo_p_wxControl(void *x) {
12042 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12043}
12044static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 12045 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12046}
12047static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12048 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12049}
12050static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12051 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12052}
12053static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12054 return (void *)((wxControl *) ((wxStaticText *) x));
12055}
12056static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12057 return (void *)((wxControl *) ((wxStaticBox *) x));
12058}
12059static void *_p_wxSliderTo_p_wxControl(void *x) {
12060 return (void *)((wxControl *) ((wxSlider *) x));
12061}
7e08d4ef
RD
12062static void *_p_wxTreebookTo_p_wxControl(void *x) {
12063 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
44127b65
RD
12064}
12065static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12066 return (void *)((wxControl *) ((wxSpinButton *) x));
12067}
12068static void *_p_wxButtonTo_p_wxControl(void *x) {
12069 return (void *)((wxControl *) ((wxButton *) x));
12070}
12071static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12072 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12073}
7e08d4ef
RD
12074static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12075 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12076}
53aa7709
RD
12077static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12078 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12079}
453fb36b
RD
12080static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12081 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12082}
12083static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12084 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12085}
12086static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12087 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12088}
12089static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12090 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12091}
6260902d
RD
12092static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12093 return (void *)((wxControl *) ((wxStaticPicture *) x));
12094}
44127b65
RD
12095static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12096 return (void *)((wxControl *) ((wxTextCtrl *) x));
12097}
12098static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12099 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12100}
12101static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12102 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12103}
12104static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12105 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12106}
12107static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12108 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12109}
12110static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12111 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12112}
8ac8dba0
RD
12113static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12114 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12115}
44127b65
RD
12116static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12117 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12118}
12119static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12120 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12121}
12122static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12123 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12124}
453fb36b
RD
12125static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12126 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12127}
12128static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12129 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12130}
12131static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12132 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12133}
44127b65
RD
12134static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12135 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12136}
12137static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12138 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12139}
12140static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12141 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12142}
12143static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12144 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12145}
44127b65
RD
12146static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12147 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12148}
34e0a3bb
RD
12149static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12150 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12151}
2131d850
RD
12152static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12153 return (void *)((wxEvent *) ((wxPyEvent *) x));
12154}
44127b65
RD
12155static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12156 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12157}
12158static void *_p_wxListEventTo_p_wxEvent(void *x) {
12159 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12160}
12161static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12162 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12163}
12164static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12165 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12166}
12167static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 12168 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
12169}
12170static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 12171 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 12172}
ae8162c8 12173static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 12174 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12175}
7e08d4ef
RD
12176static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12177 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12178}
12179static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12180 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12181}
44127b65
RD
12182static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12183 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12184}
12185static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12186 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12187}
12188static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12189 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12190}
12191static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12192 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12193}
12194static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12195 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12196}
12197static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12198 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12199}
12200static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12201 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12202}
12203static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12204 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12205}
12206static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12207 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12208}
53aa7709
RD
12209static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12210 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12211}
44127b65
RD
12212static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12213 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12214}
12215static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12216 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12217}
34e0a3bb
RD
12218static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12219 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12220}
44127b65
RD
12221static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12222 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12223}
12224static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12225 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12226}
12227static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12228 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12229}
12230static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12231 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12232}
12233static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12234 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12235}
092f0ed7
RD
12236static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12237 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12238}
44127b65
RD
12239static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12240 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12241}
12242static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12243 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12244}
12245static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12246 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12247}
12248static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12249 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12250}
12251static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12252 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12253}
12254static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12255 return (void *)((wxEvent *) ((wxShowEvent *) x));
12256}
12257static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12258 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12259}
12260static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12261 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12262}
12263static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12264 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12265}
12266static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12267 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12268}
12269static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12270 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12271}
12272static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12273 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12274}
12275static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12276 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12277}
d1e20054
RD
12278static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12279 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12280}
44127b65
RD
12281static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12283}
12284static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12285 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12286}
12287static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12289}
12290static void *_p_wxEventTo_p_wxObject(void *x) {
12291 return (void *)((wxObject *) ((wxEvent *) x));
12292}
44127b65
RD
12293static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12295}
12296static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12297 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12298}
12299static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12300 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12301}
12302static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12304}
12305static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12307}
12308static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12310}
12311static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12312 return (void *)((wxObject *) ((wxMenuItem *) x));
12313}
12314static void *_p_wxImageTo_p_wxObject(void *x) {
12315 return (void *)((wxObject *) ((wxImage *) x));
12316}
12317static void *_p_wxPySizerTo_p_wxObject(void *x) {
12318 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12319}
12320static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12322}
12323static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12324 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12325}
12326static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12328}
84f85550
RD
12329static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12330 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
12331}
12332static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12333 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12334}
12335static void *_p_wxPyAppTo_p_wxObject(void *x) {
12336 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12337}
7e08d4ef
RD
12338static void *_p_wxTreebookTo_p_wxObject(void *x) {
12339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12340}
44127b65 12341static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 12342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12343}
12344static void *_p_wxListItemTo_p_wxObject(void *x) {
12345 return (void *)((wxObject *) ((wxListItem *) x));
12346}
ae8162c8 12347static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0
RD
12348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12349}
12350static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
ae8162c8 12352}
44127b65
RD
12353static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12355}
12356static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12357 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12358}
12359static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12361}
12362static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12363 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12364}
12365static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12366 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12367}
12368static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12370}
12371static void *_p_wxValidatorTo_p_wxObject(void *x) {
12372 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12373}
12374static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12375 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12376}
12377static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12378 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12379}
12380static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12381 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12382}
12383static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12384 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12385}
53aa7709
RD
12386static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12387 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12388}
44127b65
RD
12389static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12390 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12391}
44127b65
RD
12392static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12393 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12394}
12395static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12397}
12398static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12399 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12400}
12401static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12402 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12403}
12404static void *_p_wxPrinterTo_p_wxObject(void *x) {
12405 return (void *)((wxObject *) ((wxPrinter *) x));
12406}
12407static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12408 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12409}
12410static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12411 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12412}
12413static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12414 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12415}
12416static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12417 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12418}
12419static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12420 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12421}
12422static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12423 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12424}
12425static void *_p_wxControlTo_p_wxObject(void *x) {
12426 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12427}
12428static void *_p_wxPyControlTo_p_wxObject(void *x) {
12429 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12430}
12431static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12432 return (void *)((wxObject *) ((wxContextHelp *) x));
12433}
12434static void *_p_wxColourDataTo_p_wxObject(void *x) {
12435 return (void *)((wxObject *) ((wxColourData *) x));
12436}
12437static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12438 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12439}
12440static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12441 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12442}
12443static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12444 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12445}
12446static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12447 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12448}
12449static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12450 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12451}
12452static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12453 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12454}
12455static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12456 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12457}
12458static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12459 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12460}
53aa7709
RD
12461static void *_p_wxDateEventTo_p_wxObject(void *x) {
12462 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12463}
44127b65
RD
12464static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12465 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12466}
12467static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12468 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12469}
34e0a3bb
RD
12470static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12471 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12472}
44127b65
RD
12473static void *_p_wxListEventTo_p_wxObject(void *x) {
12474 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12475}
12476static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12477 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12478}
12479static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12480 return (void *)((wxObject *) ((wxPyPrintout *) x));
12481}
12482static void *_p_wxGaugeTo_p_wxObject(void *x) {
12483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12484}
12485static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12487}
51b83b37
RD
12488static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12489 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12490}
44127b65
RD
12491static void *_p_wxChoiceTo_p_wxObject(void *x) {
12492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12493}
12494static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12496}
12497static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12499}
12500static void *_p_wxButtonTo_p_wxObject(void *x) {
12501 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12502}
12503static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12504 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12505}
12506static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12507 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12508}
12509static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12510 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12511}
12512static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12513 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12514}
12515static void *_p_wxSashEventTo_p_wxObject(void *x) {
12516 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12517}
12518static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12520}
12521static void *_p_wxListBoxTo_p_wxObject(void *x) {
12522 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12523}
12524static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12525 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12526}
12527static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12528 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12529}
12530static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12531 return (void *)((wxObject *) ((wxPrintData *) x));
12532}
12533static void *_p_wxFontDataTo_p_wxObject(void *x) {
12534 return (void *)((wxObject *) ((wxFontData *) x));
12535}
12536static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12537 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12538}
12539static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12540 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12541}
12542static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 12543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
12544}
12545static void *_p_wxFrameTo_p_wxObject(void *x) {
12546 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12547}
12548static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12549 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12550}
12551static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12552 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12553}
12554static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12555 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12556}
12557static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12558 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12559}
12560static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12561 return (void *)((wxObject *) ((wxFileSystem *) x));
12562}
12563static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12564 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12565}
12566static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12567 return (void *)((wxObject *) ((wxPrintPreview *) x));
12568}
12569static void *_p_wxListViewTo_p_wxObject(void *x) {
12570 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12571}
12572static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12573 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12574}
12575static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12577}
12578static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12579 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12580}
12581static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12582 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12583}
12584static void *_p_wxSizerTo_p_wxObject(void *x) {
12585 return (void *)((wxObject *) ((wxSizer *) x));
12586}
12587static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12588 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12589}
12590static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12591 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12592}
12593static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12594 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12595}
12596static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12597 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12598}
12599static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12600 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12601}
2131d850
RD
12602static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12603 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12604}
44127b65
RD
12605static void *_p_wxFSFileTo_p_wxObject(void *x) {
12606 return (void *)((wxObject *) ((wxFSFile *) x));
12607}
453fb36b
RD
12608static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12609 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12610}
44127b65
RD
12611static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12612 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12613}
12614static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12615 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12616}
453fb36b
RD
12617static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12618 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12619}
12620static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12621 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12622}
12623static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12624 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12625}
44127b65
RD
12626static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12627 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12628}
12629static void *_p_wxMenuTo_p_wxObject(void *x) {
12630 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12631}
34e0a3bb
RD
12632static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12633 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
44127b65
RD
12634}
12635static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12636 return (void *)((wxObject *) ((wxSizerItem *) x));
12637}
34e0a3bb
RD
12638static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12639 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
44127b65 12640}
2131d850
RD
12641static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12642 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12643}
44127b65 12644static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 12645 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
12646}
12647static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 12648 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
12649}
12650static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12651 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12652}
12653static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12654 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12655}
12656static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12658}
12659static void *_p_wxDialogTo_p_wxObject(void *x) {
12660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12661}
12662static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12663 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12664}
12665static void *_p_wxPyEventTo_p_wxObject(void *x) {
12666 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12667}
12668static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12669 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12670}
12671static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12672 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12673}
6260902d
RD
12674static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12675 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12676}
44127b65
RD
12677static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12678 return (void *)((wxObject *) ((wxEvtHandler *) x));
12679}
12680static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12681 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12682}
943e8dfd
RD
12683static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12684 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12685}
44127b65
RD
12686static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12687 return (void *)((wxObject *) ((wxImageHandler *) x));
12688}
943e8dfd
RD
12689static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12690 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12691}
44127b65
RD
12692static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12693 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12694}
12695static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12696 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12697}
12698static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12699 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12700}
12701static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12702 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12703}
12704static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12705 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12706}
12707static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12708 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12709}
12710static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12711 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12712}
12713static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12714 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12715}
12716static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12717 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12718}
44127b65
RD
12719static void *_p_wxShowEventTo_p_wxObject(void *x) {
12720 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12721}
092f0ed7
RD
12722static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12724}
823f0cfe
RD
12725static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12726 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12727}
44127b65
RD
12728static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12729 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12730}
12731static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12733}
12734static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12735 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12736}
12737static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12739}
12740static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12742}
12743static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12744 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12745}
12746static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12747 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12748}
12749static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12750 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12751}
12752static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12753 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12754}
12755static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12756 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12757}
44127b65
RD
12758static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12760}
0df68c9f
RD
12761static void *_p_wxWindowTo_p_wxObject(void *x) {
12762 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12763}
44127b65
RD
12764static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12766}
12767static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12768 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12769}
12770static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12772}
12773static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12775}
12776static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12778}
44127b65 12779static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 12780 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 12781}
d1e20054 12782static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 12783 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d1e20054 12784}
ae8162c8 12785static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 12786 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12787}
7e08d4ef
RD
12788static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12789 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12790}
12791static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12792 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12793}
44127b65
RD
12794static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12796}
12797static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12798 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12799}
12800static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12802}
27e45892
RD
12803static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12804 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12805}
d3b6e4ff
RD
12806static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12807 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12808}
44127b65
RD
12809static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12810 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12811}
12812static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12814}
12815static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12817}
12818static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12820}
12821static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12822 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12823}
44127b65
RD
12824static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12826}
27e45892
RD
12827static void *_p_wxSliderTo_p_wxObject(void *x) {
12828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12829}
53aa7709
RD
12830static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12832}
453fb36b
RD
12833static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12835}
12836static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12838}
12839static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12840 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12841}
12842static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12843 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12844}
44127b65
RD
12845static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12846 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12847}
12848static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12849 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12850}
12851static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12852 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12853}
12854static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12855 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12856}
12857static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12858 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12859}
092f0ed7
RD
12860static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12862}
44127b65
RD
12863static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12864 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12865}
12866static void *_p_wxPanelTo_p_wxObject(void *x) {
12867 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12868}
d1e20054
RD
12869static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12871}
44127b65
RD
12872static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12873 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12874}
12875static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12876 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12877}
12878static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12879 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12880}
12881static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12882 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12883}
12884static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12886}
12887static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12888 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12889}
12890static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12892}
7e08d4ef
RD
12893static void *_p_wxToolbookTo_p_wxObject(void *x) {
12894 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12895}
44127b65
RD
12896static void *_p_wxToolBarTo_p_wxObject(void *x) {
12897 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12898}
12899static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12901}
12902static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12903 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12904}
12905static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12906 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12907}
12908static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12909 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12910}
12911static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12913}
12914static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12916}
7e08d4ef
RD
12917static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12918 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12919}
44127b65
RD
12920static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12922}
12923static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12925}
12926static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12928}
12929static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12931}
12932static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12934}
12935static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12936 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12937}
84f85550
RD
12938static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12939 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
12940}
12941static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12943}
453fb36b
RD
12944static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12946}
44127b65
RD
12947static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12949}
12950static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12952}
12953static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12955}
12956static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12957 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12958}
12959static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12961}
12962static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12963 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12964}
12965static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12967}
12968static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12970}
44127b65
RD
12971static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12973}
12974static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12976}
7e08d4ef
RD
12977static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12979}
44127b65
RD
12980static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12982}
7e08d4ef
RD
12983static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12985}
44127b65
RD
12986static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12988}
12989static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12991}
12992static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12994}
12995static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12996 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12997}
ae8162c8 12998static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 13000}
44127b65
RD
13001static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13002 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13003}
13004static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13005 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13006}
13007static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 13008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
13009}
13010static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13011 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13012}
13013static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13014 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13015}
13016static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13017 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13018}
27e45892
RD
13019static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13021}
44127b65
RD
13022static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13024}
13025static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13027}
13028static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13030}
13031static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13033}
d3b6e4ff
RD
13034static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13036}
44127b65
RD
13037static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13038 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13039}
13040static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13042}
13043static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13045}
8ac8dba0
RD
13046static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13047 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13048}
44127b65
RD
13049static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13050 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13051}
13052static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13053 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13054}
13055static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13056 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13057}
13058static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13059 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13060}
13061static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13062 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13063}
44127b65
RD
13064static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13066}
13067static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13068 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13069}
13070static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13071 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13072}
13073static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13075}
13076static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13077 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13078}
13079static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13081}
13082static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13084}
13085static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13087}
13088static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13089 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13090}
13091static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13092 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13093}
13094static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13096}
13097static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13098 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13099}
13100static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13101 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13102}
6260902d
RD
13103static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13105}
823f0cfe
RD
13106static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13107 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13108}
44127b65
RD
13109static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13110 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13111}
13112static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13113 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13114}
13115static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13116 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13117}
13118static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13119 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13120}
13121static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13122 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13123}
13124static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13125 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13126}
13127static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13128 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13129}
13130static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13131 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13132}
13133static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13134 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13135}
13136static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13137 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13138}
13139static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13140 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13141}
13142static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13143 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13144}
13145static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13146 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13147}
13148static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13149 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13150}
13151static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13152 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13153}
13154static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13155 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13156}
13157static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13158 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13159}
13160static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13161 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13162}
d3b6e4ff
RD
13163static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13164 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13165}
44127b65
RD
13166static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13167 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13168}
13169static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13170 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13171}
13172static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13173 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13174}
44127b65
RD
13175static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13176 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13177}
13178static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13179 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13180}
13181static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13183}
13184static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13185 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13186}
13187static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13188 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13189}
53aa7709
RD
13190static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13192}
453fb36b
RD
13193static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13195}
13196static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13198}
13199static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13201}
13202static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13204}
44127b65
RD
13205static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13207}
092f0ed7
RD
13208static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13210}
44127b65
RD
13211static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13213}
13214static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13215 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13216}
13217static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13218 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13219}
13220static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13221 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13222}
13223static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13224 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13225}
13226static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13227 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13228}
092f0ed7
RD
13229static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13230 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13231}
44127b65
RD
13232static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13233 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13234}
2131d850
RD
13235static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13236 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13237}
453fb36b
RD
13238static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13239 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13240}
13241static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13242 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13243}
13244static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13245 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13246}
44127b65
RD
13247static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13248 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13249}
13250static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13251 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13252}
13253static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13254 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13255}
13256static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13257 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13258}
13259static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13260 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13261}
13262static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13263 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
13264}
13265static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13266 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 13267}
ae8162c8 13268static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13269 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 13270}
7e08d4ef
RD
13271static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13272 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13273}
13274static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13275 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13276}
53aa7709
RD
13277static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13278 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13279}
44127b65
RD
13280static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13281 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13282}
13283static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13284 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13285}
13286static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13287 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13288}
8ac8dba0
RD
13289static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13290 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13291}
44127b65
RD
13292static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13293 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13294}
d1e20054
RD
13295static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13296 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13297}
44127b65
RD
13298static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13299 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13300}
13301static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13302 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13303}
13304static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13305 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13306}
13307static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13308 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13309}
13310static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13311 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13312}
0085ce49
RD
13313static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13314static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13315static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13316static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13317static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13318static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13319static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13320static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13321static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13322static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13323static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13324static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13325static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
092f0ed7 13326static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
0085ce49 13327static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
453fb36b
RD
13328static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13329static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13330static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
2131d850 13331static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
13332static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13333static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13334static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13335static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13336static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13337static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13338static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13339static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13340static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13341static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13342static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13343static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13344static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13345static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13346static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13347static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13348static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13349static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13350static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13351static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13352static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13353static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13354static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
453fb36b 13355static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
0085ce49
RD
13356static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13357static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13358static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13359static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13360static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13361static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
3ecece7e 13362static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13363static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13364static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13365static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13366static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13367static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13368static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13369static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
092f0ed7 13370static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13371static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13372static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13373static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13374static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13375static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13376static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13377static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13378static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13379static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13380static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13381static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13382static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13383static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13384static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13385static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13386static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13387static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13388static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
453fb36b
RD
13389static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13390static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13391static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13392static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13393static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13394static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13395static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13396static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13397static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13398static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13399static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13400static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13401static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13402static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13403static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13404static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13405static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13406static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 13407static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
13408static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13409static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13410static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13411static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13412static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13413static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13414static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13415static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13416static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13417static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13418static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13419static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13420static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13421static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13422static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13423static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13424static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13425static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13426static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13427static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13428static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13429static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13430static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13431static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13432static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13433static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13434static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13435static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13436static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13437static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13438static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13439static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
0085ce49
RD
13440static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13441static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
453fb36b 13442static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
27e45892 13443static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
0085ce49
RD
13444static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13445static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13446static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13447static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13448static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13449static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13450static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13451static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13452static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13453static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13454static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
453fb36b
RD
13455static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13456static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13457static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
0085ce49 13458static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
453fb36b 13459static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
27e45892 13460static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
0085ce49
RD
13461static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13462static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13463static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
27e45892 13464static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
0085ce49
RD
13465static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13466static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13467static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13468static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13469static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13470static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13471static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13472static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13473static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13474static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13475static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13476static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13477static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13478static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13479static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13480static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13481static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13482static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13483static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13484static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13485static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13486static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13487static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13488static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13489static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13490static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13491static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13492static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13493static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13494static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13495static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13496static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13497static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13498static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13499static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13500static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13501static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13502static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13503static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13504static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13505static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13506static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13507static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
453fb36b 13508static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 13509static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0085ce49 13510static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
453fb36b 13511static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
0085ce49 13512static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
092f0ed7 13513static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
2131d850 13514static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
0085ce49
RD
13515static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13516static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13517static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13518static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13519static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13520static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13521static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13522static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13523static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13524static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
13525static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13526static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13527static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
0085ce49
RD
13528static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13529static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13530static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13531static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13532static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13533static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13534static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13535static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13536static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13537static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13538static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13539static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13540static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13541static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13542static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
13543
13544static swig_type_info *swig_type_initial[] = {
13545 &_swigt__p_char,
13546 &_swigt__p_float,
13547 &_swigt__p_form_ops_t,
13548 &_swigt__p_int,
13549 &_swigt__p_unsigned_char,
13550 &_swigt__p_unsigned_int,
13551 &_swigt__p_unsigned_long,
13552 &_swigt__p_wxANIHandler,
13553 &_swigt__p_wxAcceleratorTable,
13554 &_swigt__p_wxActivateEvent,
13555 &_swigt__p_wxArrayString,
13556 &_swigt__p_wxBMPHandler,
13557 &_swigt__p_wxBitmap,
13558 &_swigt__p_wxBitmapButton,
13559 &_swigt__p_wxBookCtrlBase,
13560 &_swigt__p_wxBookCtrlBaseEvent,
13561 &_swigt__p_wxBoxSizer,
13562 &_swigt__p_wxButton,
13563 &_swigt__p_wxCURHandler,
13564 &_swigt__p_wxCalculateLayoutEvent,
13565 &_swigt__p_wxCheckBox,
13566 &_swigt__p_wxCheckListBox,
13567 &_swigt__p_wxChildFocusEvent,
13568 &_swigt__p_wxChoice,
13569 &_swigt__p_wxChoicebook,
13570 &_swigt__p_wxChoicebookEvent,
2131d850 13571 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
13572 &_swigt__p_wxCloseEvent,
13573 &_swigt__p_wxColour,
13574 &_swigt__p_wxColourData,
13575 &_swigt__p_wxColourDialog,
453fb36b
RD
13576 &_swigt__p_wxColourPickerCtrl,
13577 &_swigt__p_wxColourPickerEvent,
32fe5131
RD
13578 &_swigt__p_wxComboBox,
13579 &_swigt__p_wxCommandEvent,
13580 &_swigt__p_wxContextHelp,
13581 &_swigt__p_wxContextHelpButton,
13582 &_swigt__p_wxContextMenuEvent,
13583 &_swigt__p_wxControl,
13584 &_swigt__p_wxControlWithItems,
13585 &_swigt__p_wxDateEvent,
13586 &_swigt__p_wxDatePickerCtrl,
13587 &_swigt__p_wxDialog,
13588 &_swigt__p_wxDirDialog,
13589 &_swigt__p_wxDirFilterListCtrl,
453fb36b 13590 &_swigt__p_wxDirPickerCtrl,
32fe5131
RD
13591 &_swigt__p_wxDisplayChangedEvent,
13592 &_swigt__p_wxDropFilesEvent,
13593 &_swigt__p_wxDuplexMode,
13594 &_swigt__p_wxDynamicSashSplitEvent,
13595 &_swigt__p_wxDynamicSashUnifyEvent,
13596 &_swigt__p_wxDynamicSashWindow,
13597 &_swigt__p_wxEditableListBox,
13598 &_swigt__p_wxEraseEvent,
13599 &_swigt__p_wxEvent,
13600 &_swigt__p_wxEvtHandler,
13601 &_swigt__p_wxFSFile,
13602 &_swigt__p_wxFileDialog,
453fb36b
RD
13603 &_swigt__p_wxFileDirPickerEvent,
13604 &_swigt__p_wxFilePickerCtrl,
32fe5131
RD
13605 &_swigt__p_wxFileSystem,
13606 &_swigt__p_wxFindDialogEvent,
13607 &_swigt__p_wxFindReplaceData,
13608 &_swigt__p_wxFindReplaceDialog,
13609 &_swigt__p_wxFlexGridSizer,
13610 &_swigt__p_wxFocusEvent,
13611 &_swigt__p_wxFont,
13612 &_swigt__p_wxFontData,
13613 &_swigt__p_wxFontDialog,
453fb36b
RD
13614 &_swigt__p_wxFontPickerCtrl,
13615 &_swigt__p_wxFontPickerEvent,
32fe5131
RD
13616 &_swigt__p_wxFrame,
13617 &_swigt__p_wxGBSizerItem,
13618 &_swigt__p_wxGIFHandler,
13619 &_swigt__p_wxGauge,
13620 &_swigt__p_wxGenericDirCtrl,
13621 &_swigt__p_wxGenericDragImage,
13622 &_swigt__p_wxGridBagSizer,
13623 &_swigt__p_wxGridSizer,
13624 &_swigt__p_wxHelpEvent,
092f0ed7
RD
13625 &_swigt__p_wxHyperlinkCtrl,
13626 &_swigt__p_wxHyperlinkEvent,
32fe5131
RD
13627 &_swigt__p_wxICOHandler,
13628 &_swigt__p_wxIcon,
13629 &_swigt__p_wxIconizeEvent,
13630 &_swigt__p_wxIdleEvent,
13631 &_swigt__p_wxImage,
13632 &_swigt__p_wxImageHandler,
13633 &_swigt__p_wxImageList,
13634 &_swigt__p_wxIndividualLayoutConstraint,
13635 &_swigt__p_wxInitDialogEvent,
13636 &_swigt__p_wxJPEGHandler,
13637 &_swigt__p_wxKeyEvent,
13638 &_swigt__p_wxLEDNumberCtrl,
13639 &_swigt__p_wxLayoutAlgorithm,
13640 &_swigt__p_wxLayoutConstraints,
13641 &_swigt__p_wxListBox,
13642 &_swigt__p_wxListEvent,
13643 &_swigt__p_wxListItem,
13644 &_swigt__p_wxListView,
13645 &_swigt__p_wxListbook,
13646 &_swigt__p_wxListbookEvent,
13647 &_swigt__p_wxMDIChildFrame,
13648 &_swigt__p_wxMDIClientWindow,
13649 &_swigt__p_wxMDIParentFrame,
13650 &_swigt__p_wxMaximizeEvent,
13651 &_swigt__p_wxMenu,
13652 &_swigt__p_wxMenuBar,
13653 &_swigt__p_wxMenuEvent,
13654 &_swigt__p_wxMenuItem,
13655 &_swigt__p_wxMessageDialog,
13656 &_swigt__p_wxMiniFrame,
13657 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 13658 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
13659 &_swigt__p_wxMouseEvent,
13660 &_swigt__p_wxMoveEvent,
13661 &_swigt__p_wxMultiChoiceDialog,
13662 &_swigt__p_wxNavigationKeyEvent,
13663 &_swigt__p_wxNcPaintEvent,
13664 &_swigt__p_wxNotebook,
13665 &_swigt__p_wxNotebookEvent,
13666 &_swigt__p_wxNotifyEvent,
27e45892 13667 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
13668 &_swigt__p_wxObject,
13669 &_swigt__p_wxPCXHandler,
13670 &_swigt__p_wxPNGHandler,
13671 &_swigt__p_wxPNMHandler,
13672 &_swigt__p_wxPageSetupDialog,
13673 &_swigt__p_wxPageSetupDialogData,
13674 &_swigt__p_wxPaintEvent,
13675 &_swigt__p_wxPaletteChangedEvent,
13676 &_swigt__p_wxPanel,
13677 &_swigt__p_wxPaperSize,
13678 &_swigt__p_wxPasswordEntryDialog,
453fb36b 13679 &_swigt__p_wxPickerBase,
32fe5131
RD
13680 &_swigt__p_wxPopupWindow,
13681 &_swigt__p_wxPreviewCanvas,
13682 &_swigt__p_wxPreviewControlBar,
13683 &_swigt__p_wxPreviewFrame,
13684 &_swigt__p_wxPrintData,
13685 &_swigt__p_wxPrintDialog,
13686 &_swigt__p_wxPrintDialogData,
13687 &_swigt__p_wxPrintPreview,
13688 &_swigt__p_wxPrinter,
13689 &_swigt__p_wxProgressDialog,
13690 &_swigt__p_wxPyApp,
13691 &_swigt__p_wxPyCommandEvent,
13692 &_swigt__p_wxPyControl,
13693 &_swigt__p_wxPyEvent,
13694 &_swigt__p_wxPyHtmlListBox,
13695 &_swigt__p_wxPyImageHandler,
13696 &_swigt__p_wxPyListCtrl,
13697 &_swigt__p_wxPyPanel,
13698 &_swigt__p_wxPyPopupTransientWindow,
13699 &_swigt__p_wxPyPreviewControlBar,
13700 &_swigt__p_wxPyPreviewFrame,
13701 &_swigt__p_wxPyPrintPreview,
13702 &_swigt__p_wxPyPrintout,
13703 &_swigt__p_wxPyScrolledWindow,
13704 &_swigt__p_wxPySizer,
13705 &_swigt__p_wxPyTaskBarIcon,
13706 &_swigt__p_wxPyTreeCompanionWindow,
13707 &_swigt__p_wxPyTreeCtrl,
13708 &_swigt__p_wxPyTreeItemData,
13709 &_swigt__p_wxPyTreeListCtrl,
13710 &_swigt__p_wxPyVListBox,
13711 &_swigt__p_wxPyVScrolledWindow,
13712 &_swigt__p_wxPyValidator,
13713 &_swigt__p_wxPyWindow,
13714 &_swigt__p_wxQueryLayoutInfoEvent,
13715 &_swigt__p_wxQueryNewPaletteEvent,
13716 &_swigt__p_wxRadioBox,
13717 &_swigt__p_wxRadioButton,
13718 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13719 &_swigt__p_wxSashEvent,
13720 &_swigt__p_wxSashLayoutWindow,
13721 &_swigt__p_wxSashWindow,
13722 &_swigt__p_wxScrollBar,
13723 &_swigt__p_wxScrollEvent,
13724 &_swigt__p_wxScrollWinEvent,
13725 &_swigt__p_wxScrolledWindow,
13726 &_swigt__p_wxSetCursorEvent,
13727 &_swigt__p_wxShowEvent,
13728 &_swigt__p_wxSingleChoiceDialog,
13729 &_swigt__p_wxSizeEvent,
13730 &_swigt__p_wxSizer,
13731 &_swigt__p_wxSizerItem,
13732 &_swigt__p_wxSlider,
13733 &_swigt__p_wxSpinButton,
13734 &_swigt__p_wxSpinCtrl,
13735 &_swigt__p_wxSpinEvent,
13736 &_swigt__p_wxSplashScreen,
13737 &_swigt__p_wxSplashScreenWindow,
13738 &_swigt__p_wxSplitterEvent,
13739 &_swigt__p_wxSplitterScrolledWindow,
13740 &_swigt__p_wxSplitterWindow,
13741 &_swigt__p_wxStaticBitmap,
13742 &_swigt__p_wxStaticBox,
13743 &_swigt__p_wxStaticBoxSizer,
13744 &_swigt__p_wxStaticLine,
13745 &_swigt__p_wxStaticPicture,
13746 &_swigt__p_wxStaticText,
13747 &_swigt__p_wxStatusBar,
13748 &_swigt__p_wxStdDialogButtonSizer,
13749 &_swigt__p_wxSysColourChangedEvent,
13750 &_swigt__p_wxTIFFHandler,
13751 &_swigt__p_wxTaskBarIconEvent,
13752 &_swigt__p_wxTextCtrl,
13753 &_swigt__p_wxTextEntryDialog,
13754 &_swigt__p_wxTextUrlEvent,
13755 &_swigt__p_wxThinSplitterWindow,
13756 &_swigt__p_wxTipWindow,
13757 &_swigt__p_wxToggleButton,
13758 &_swigt__p_wxToolBar,
13759 &_swigt__p_wxToolBarBase,
13760 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
13761 &_swigt__p_wxToolbook,
13762 &_swigt__p_wxToolbookEvent,
32fe5131
RD
13763 &_swigt__p_wxTopLevelWindow,
13764 &_swigt__p_wxTreeEvent,
13765 &_swigt__p_wxTreeItemId,
13766 &_swigt__p_wxTreeListColumnInfo,
7e08d4ef
RD
13767 &_swigt__p_wxTreebook,
13768 &_swigt__p_wxTreebookEvent,
32fe5131
RD
13769 &_swigt__p_wxUpdateUIEvent,
13770 &_swigt__p_wxValidator,
13771 &_swigt__p_wxWindow,
13772 &_swigt__p_wxWindowCreateEvent,
13773 &_swigt__p_wxWindowDestroyEvent,
13774 &_swigt__p_wxXPMHandler,
32fe5131
RD
13775};
13776
13777static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13778static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13779static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13780static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13781static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13782static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13783static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13784static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13785static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13786static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13787static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13788static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13789static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13790static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13791static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13792static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13793static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13794static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13795static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13796static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13797static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13798static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13799static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13800static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13801static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13802static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13803static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13804static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13805static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13806static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13807static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13808static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13809static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13810static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13811static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13812static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13813static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13814static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13815static swig_cast_info _swigc__p_wxCommandEvent[] = { {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxCommandEvent, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxCommandEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxCommandEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13816static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13817static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13818static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13819static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13820static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13821static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13822static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13823static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13824static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
3ecece7e 13825static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13826static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13827static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13828static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13829static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13830static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13831static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13832static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13833static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13834static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13835static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13836static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13837static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13838static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13839static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13840static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13841static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13842static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13843static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13844static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13845static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13846static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13847static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13848static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13849static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13850static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13851static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13852static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13853static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13854static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13855static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13856static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13857static swig_cast_info _swigc__p_wxControl[] = { {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxControl, 0, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxControl, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxControl, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxControl, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxControl, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxControl, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxControl, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxControl, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxControl, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxControl, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxControl, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxControl, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxControl, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxControl, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13858static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13859static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13860static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13861static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13862static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13863static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13864static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13865static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13866static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13867static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13868static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13869static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13870static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13871static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13872static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13873static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13874static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13875static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13876static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13877static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13878static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13879static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13880static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13881static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13882static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13883static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13884static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13885static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13886static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13887static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13888static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13889static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13890static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13891static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13892static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13893static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13894static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13895static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13896static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13897static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13898static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13899static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13900static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13901static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13902static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13903static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13904static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13905static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13906static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13907static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13908static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13909static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13910static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13911static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13912static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13913static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13914static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13915static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13916static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13917static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13918static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13919static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13920static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13921static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13922static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13923static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13924static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13925static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13926static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13927static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13928static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13929static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13930static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13931static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13932static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13933static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13934static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13935static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13936static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13937static swig_cast_info _swigc__p_wxEvtHandler[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEvtHandler, 0, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxEvtHandler, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxEvtHandler, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13938static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13939static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13940static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13941static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13942static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13943static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13944static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13945static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13946static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13947static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13948static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13949static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13950static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13951static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13952static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13953static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13954static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13955static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13956static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13957static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13958static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13959static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13960static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13961static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13962static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13963static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13964static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13965static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13966static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13967static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13968static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13969static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13970static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13971static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13972static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13973static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13974static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13975static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13976static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13977static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13978static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13979static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13980static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13981static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13982static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13983static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13984static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13985static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13986static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13987static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13988static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13989static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindow, _p_wxWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarToolBase, _p_wxToolBarToolBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxObject, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13990static swig_cast_info _swigc__p_wxPanel[] = { {&_swigt__p_wxPanel, 0, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxPanel, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxPanel, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxPanel, 0, 0},{0, 0, 0, 0}};
13991static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13992static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13993static 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}};
13994static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13995static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13996static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13997static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13998static 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}};
13999static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14000static 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}};
14001static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14002static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14003static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14004static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14005static 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}};
27e45892 14006static swig_cast_info _swigc__p_wxWindow[] = { {&_swigt__p_wxToolbook, _p_wxToolbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckBox, _p_wxCheckBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyWindow, _p_wxPyWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSingleChoiceDialog, _p_wxSingleChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMultiChoiceDialog, _p_wxMultiChoiceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFileDialog, _p_wxFileDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTextEntryDialog, _p_wxTextEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPasswordEntryDialog, _p_wxPasswordEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxNumberEntryDialog, _p_wxNumberEntryDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMessageDialog, _p_wxMessageDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxProgressDialog, _p_wxProgressDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFindReplaceDialog, _p_wxFindReplaceDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSlider, _p_wxSliderTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxLEDNumberCtrl, _p_wxLEDNumberCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxWindow, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSpinCtrl, _p_wxSpinCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStatusBar, _p_wxStatusBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIParentFrame, _p_wxMDIParentFrameTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow, _p_wxPyPopupTransientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTipWindow, _p_wxTipWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxWindow, 0, 0, 0}, {&_swigt__p_wxPopupWindow, _p_wxPopupWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashLayoutWindow, _p_wxSashLayoutWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxScrolledWindow, _p_wxScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyScrolledWindow, _p_wxPyScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterScrolledWindow, _p_wxSplitterScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxTopLevelWindow, _p_wxTopLevelWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplashScreenWindow, _p_wxSplashScreenWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSplitterWindow, _p_wxSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxThinSplitterWindow, _p_wxThinSplitterWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxSashWindow, _p_wxSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMDIClientWindow, _p_wxMDIClientWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyVScrolledWindow, _p_wxPyVScrolledWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxMenuBar, _p_wxMenuBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDynamicSashWindow, _p_wxDynamicSashWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyTreeCompanionWindow, _p_wxPyTreeCompanionWindowTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPanel, _p_wxPanelTo_p_wxWindow, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFontPickerCtrl, _p_wxFontPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDirPickerCtrl, _p_wxDirPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxFilePickerCtrl, _p_wxFilePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxColourPickerCtrl, _p_wxColourPickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxDatePickerCtrl, _p_wxDatePickerCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxWindow, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxWindow, 0, 0}, {&_swigt__p_wxToolBar, _p_wxToolBarTo_p_wxWindow, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
14007
14008static swig_cast_info *swig_cast_initial[] = {
14009 _swigc__p_char,
14010 _swigc__p_float,
14011 _swigc__p_form_ops_t,
14012 _swigc__p_int,
14013 _swigc__p_unsigned_char,
14014 _swigc__p_unsigned_int,
14015 _swigc__p_unsigned_long,
14016 _swigc__p_wxANIHandler,
14017 _swigc__p_wxAcceleratorTable,
14018 _swigc__p_wxActivateEvent,
14019 _swigc__p_wxArrayString,
14020 _swigc__p_wxBMPHandler,
14021 _swigc__p_wxBitmap,
14022 _swigc__p_wxBitmapButton,
14023 _swigc__p_wxBookCtrlBase,
14024 _swigc__p_wxBookCtrlBaseEvent,
14025 _swigc__p_wxBoxSizer,
14026 _swigc__p_wxButton,
14027 _swigc__p_wxCURHandler,
14028 _swigc__p_wxCalculateLayoutEvent,
14029 _swigc__p_wxCheckBox,
14030 _swigc__p_wxCheckListBox,
14031 _swigc__p_wxChildFocusEvent,
14032 _swigc__p_wxChoice,
14033 _swigc__p_wxChoicebook,
14034 _swigc__p_wxChoicebookEvent,
2131d850 14035 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
14036 _swigc__p_wxCloseEvent,
14037 _swigc__p_wxColour,
14038 _swigc__p_wxColourData,
14039 _swigc__p_wxColourDialog,
453fb36b
RD
14040 _swigc__p_wxColourPickerCtrl,
14041 _swigc__p_wxColourPickerEvent,
32fe5131
RD
14042 _swigc__p_wxComboBox,
14043 _swigc__p_wxCommandEvent,
14044 _swigc__p_wxContextHelp,
14045 _swigc__p_wxContextHelpButton,
14046 _swigc__p_wxContextMenuEvent,
14047 _swigc__p_wxControl,
14048 _swigc__p_wxControlWithItems,
14049 _swigc__p_wxDateEvent,
14050 _swigc__p_wxDatePickerCtrl,
14051 _swigc__p_wxDialog,
14052 _swigc__p_wxDirDialog,
14053 _swigc__p_wxDirFilterListCtrl,
453fb36b 14054 _swigc__p_wxDirPickerCtrl,
32fe5131
RD
14055 _swigc__p_wxDisplayChangedEvent,
14056 _swigc__p_wxDropFilesEvent,
14057 _swigc__p_wxDuplexMode,
14058 _swigc__p_wxDynamicSashSplitEvent,
14059 _swigc__p_wxDynamicSashUnifyEvent,
14060 _swigc__p_wxDynamicSashWindow,
14061 _swigc__p_wxEditableListBox,
14062 _swigc__p_wxEraseEvent,
14063 _swigc__p_wxEvent,
14064 _swigc__p_wxEvtHandler,
14065 _swigc__p_wxFSFile,
14066 _swigc__p_wxFileDialog,
453fb36b
RD
14067 _swigc__p_wxFileDirPickerEvent,
14068 _swigc__p_wxFilePickerCtrl,
32fe5131
RD
14069 _swigc__p_wxFileSystem,
14070 _swigc__p_wxFindDialogEvent,
14071 _swigc__p_wxFindReplaceData,
14072 _swigc__p_wxFindReplaceDialog,
14073 _swigc__p_wxFlexGridSizer,
14074 _swigc__p_wxFocusEvent,
14075 _swigc__p_wxFont,
14076 _swigc__p_wxFontData,
14077 _swigc__p_wxFontDialog,
453fb36b
RD
14078 _swigc__p_wxFontPickerCtrl,
14079 _swigc__p_wxFontPickerEvent,
32fe5131
RD
14080 _swigc__p_wxFrame,
14081 _swigc__p_wxGBSizerItem,
14082 _swigc__p_wxGIFHandler,
14083 _swigc__p_wxGauge,
14084 _swigc__p_wxGenericDirCtrl,
14085 _swigc__p_wxGenericDragImage,
14086 _swigc__p_wxGridBagSizer,
14087 _swigc__p_wxGridSizer,
14088 _swigc__p_wxHelpEvent,
092f0ed7
RD
14089 _swigc__p_wxHyperlinkCtrl,
14090 _swigc__p_wxHyperlinkEvent,
32fe5131
RD
14091 _swigc__p_wxICOHandler,
14092 _swigc__p_wxIcon,
14093 _swigc__p_wxIconizeEvent,
14094 _swigc__p_wxIdleEvent,
14095 _swigc__p_wxImage,
14096 _swigc__p_wxImageHandler,
14097 _swigc__p_wxImageList,
14098 _swigc__p_wxIndividualLayoutConstraint,
14099 _swigc__p_wxInitDialogEvent,
14100 _swigc__p_wxJPEGHandler,
14101 _swigc__p_wxKeyEvent,
14102 _swigc__p_wxLEDNumberCtrl,
14103 _swigc__p_wxLayoutAlgorithm,
14104 _swigc__p_wxLayoutConstraints,
14105 _swigc__p_wxListBox,
14106 _swigc__p_wxListEvent,
14107 _swigc__p_wxListItem,
14108 _swigc__p_wxListView,
14109 _swigc__p_wxListbook,
14110 _swigc__p_wxListbookEvent,
14111 _swigc__p_wxMDIChildFrame,
14112 _swigc__p_wxMDIClientWindow,
14113 _swigc__p_wxMDIParentFrame,
14114 _swigc__p_wxMaximizeEvent,
14115 _swigc__p_wxMenu,
14116 _swigc__p_wxMenuBar,
14117 _swigc__p_wxMenuEvent,
14118 _swigc__p_wxMenuItem,
14119 _swigc__p_wxMessageDialog,
14120 _swigc__p_wxMiniFrame,
14121 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 14122 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
14123 _swigc__p_wxMouseEvent,
14124 _swigc__p_wxMoveEvent,
14125 _swigc__p_wxMultiChoiceDialog,
14126 _swigc__p_wxNavigationKeyEvent,
14127 _swigc__p_wxNcPaintEvent,
14128 _swigc__p_wxNotebook,
14129 _swigc__p_wxNotebookEvent,
14130 _swigc__p_wxNotifyEvent,
27e45892 14131 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
14132 _swigc__p_wxObject,
14133 _swigc__p_wxPCXHandler,
14134 _swigc__p_wxPNGHandler,
14135 _swigc__p_wxPNMHandler,
14136 _swigc__p_wxPageSetupDialog,
14137 _swigc__p_wxPageSetupDialogData,
14138 _swigc__p_wxPaintEvent,
14139 _swigc__p_wxPaletteChangedEvent,
14140 _swigc__p_wxPanel,
14141 _swigc__p_wxPaperSize,
14142 _swigc__p_wxPasswordEntryDialog,
453fb36b 14143 _swigc__p_wxPickerBase,
32fe5131
RD
14144 _swigc__p_wxPopupWindow,
14145 _swigc__p_wxPreviewCanvas,
14146 _swigc__p_wxPreviewControlBar,
14147 _swigc__p_wxPreviewFrame,
14148 _swigc__p_wxPrintData,
14149 _swigc__p_wxPrintDialog,
14150 _swigc__p_wxPrintDialogData,
14151 _swigc__p_wxPrintPreview,
14152 _swigc__p_wxPrinter,
14153 _swigc__p_wxProgressDialog,
14154 _swigc__p_wxPyApp,
14155 _swigc__p_wxPyCommandEvent,
14156 _swigc__p_wxPyControl,
14157 _swigc__p_wxPyEvent,
14158 _swigc__p_wxPyHtmlListBox,
14159 _swigc__p_wxPyImageHandler,
14160 _swigc__p_wxPyListCtrl,
14161 _swigc__p_wxPyPanel,
14162 _swigc__p_wxPyPopupTransientWindow,
14163 _swigc__p_wxPyPreviewControlBar,
14164 _swigc__p_wxPyPreviewFrame,
14165 _swigc__p_wxPyPrintPreview,
14166 _swigc__p_wxPyPrintout,
14167 _swigc__p_wxPyScrolledWindow,
14168 _swigc__p_wxPySizer,
14169 _swigc__p_wxPyTaskBarIcon,
14170 _swigc__p_wxPyTreeCompanionWindow,
14171 _swigc__p_wxPyTreeCtrl,
14172 _swigc__p_wxPyTreeItemData,
14173 _swigc__p_wxPyTreeListCtrl,
14174 _swigc__p_wxPyVListBox,
14175 _swigc__p_wxPyVScrolledWindow,
14176 _swigc__p_wxPyValidator,
14177 _swigc__p_wxPyWindow,
14178 _swigc__p_wxQueryLayoutInfoEvent,
14179 _swigc__p_wxQueryNewPaletteEvent,
14180 _swigc__p_wxRadioBox,
14181 _swigc__p_wxRadioButton,
14182 _swigc__p_wxRemotelyScrolledTreeCtrl,
14183 _swigc__p_wxSashEvent,
14184 _swigc__p_wxSashLayoutWindow,
14185 _swigc__p_wxSashWindow,
14186 _swigc__p_wxScrollBar,
14187 _swigc__p_wxScrollEvent,
14188 _swigc__p_wxScrollWinEvent,
14189 _swigc__p_wxScrolledWindow,
14190 _swigc__p_wxSetCursorEvent,
14191 _swigc__p_wxShowEvent,
14192 _swigc__p_wxSingleChoiceDialog,
14193 _swigc__p_wxSizeEvent,
14194 _swigc__p_wxSizer,
14195 _swigc__p_wxSizerItem,
14196 _swigc__p_wxSlider,
14197 _swigc__p_wxSpinButton,
14198 _swigc__p_wxSpinCtrl,
14199 _swigc__p_wxSpinEvent,
14200 _swigc__p_wxSplashScreen,
14201 _swigc__p_wxSplashScreenWindow,
14202 _swigc__p_wxSplitterEvent,
14203 _swigc__p_wxSplitterScrolledWindow,
14204 _swigc__p_wxSplitterWindow,
14205 _swigc__p_wxStaticBitmap,
14206 _swigc__p_wxStaticBox,
14207 _swigc__p_wxStaticBoxSizer,
14208 _swigc__p_wxStaticLine,
14209 _swigc__p_wxStaticPicture,
14210 _swigc__p_wxStaticText,
14211 _swigc__p_wxStatusBar,
14212 _swigc__p_wxStdDialogButtonSizer,
14213 _swigc__p_wxSysColourChangedEvent,
14214 _swigc__p_wxTIFFHandler,
14215 _swigc__p_wxTaskBarIconEvent,
14216 _swigc__p_wxTextCtrl,
14217 _swigc__p_wxTextEntryDialog,
14218 _swigc__p_wxTextUrlEvent,
14219 _swigc__p_wxThinSplitterWindow,
14220 _swigc__p_wxTipWindow,
14221 _swigc__p_wxToggleButton,
14222 _swigc__p_wxToolBar,
14223 _swigc__p_wxToolBarBase,
14224 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
14225 _swigc__p_wxToolbook,
14226 _swigc__p_wxToolbookEvent,
32fe5131
RD
14227 _swigc__p_wxTopLevelWindow,
14228 _swigc__p_wxTreeEvent,
14229 _swigc__p_wxTreeItemId,
14230 _swigc__p_wxTreeListColumnInfo,
7e08d4ef
RD
14231 _swigc__p_wxTreebook,
14232 _swigc__p_wxTreebookEvent,
32fe5131
RD
14233 _swigc__p_wxUpdateUIEvent,
14234 _swigc__p_wxValidator,
14235 _swigc__p_wxWindow,
14236 _swigc__p_wxWindowCreateEvent,
14237 _swigc__p_wxWindowDestroyEvent,
14238 _swigc__p_wxXPMHandler,
44127b65
RD
14239};
14240
14241
14242/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14243
14244static swig_const_info swig_const_table[] = {
c32bde28 14245{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
14246
14247#ifdef __cplusplus
14248}
14249#endif
0085ce49 14250/* -----------------------------------------------------------------------------
32fe5131
RD
14251 * Type initialization:
14252 * This problem is tough by the requirement that no dynamic
14253 * memory is used. Also, since swig_type_info structures store pointers to
14254 * swig_cast_info structures and swig_cast_info structures store pointers back
14255 * to swig_type_info structures, we need some lookup code at initialization.
14256 * The idea is that swig generates all the structures that are needed.
14257 * The runtime then collects these partially filled structures.
14258 * The SWIG_InitializeModule function takes these initial arrays out of
14259 * swig_module, and does all the lookup, filling in the swig_module.types
14260 * array with the correct data and linking the correct swig_cast_info
14261 * structures together.
0085ce49 14262 *
32fe5131
RD
14263 * The generated swig_type_info structures are assigned staticly to an initial
14264 * array. We just loop though that array, and handle each type individually.
14265 * First we lookup if this type has been already loaded, and if so, use the
14266 * loaded structure instead of the generated one. Then we have to fill in the
14267 * cast linked list. The cast data is initially stored in something like a
14268 * two-dimensional array. Each row corresponds to a type (there are the same
14269 * number of rows as there are in the swig_type_initial array). Each entry in
14270 * a column is one of the swig_cast_info structures for that type.
14271 * The cast_initial array is actually an array of arrays, because each row has
14272 * a variable number of columns. So to actually build the cast linked list,
14273 * we find the array of casts associated with the type, and loop through it
14274 * adding the casts to the list. The one last trick we need to do is making
14275 * sure the type pointer in the swig_cast_info struct is correct.
0085ce49 14276 *
32fe5131
RD
14277 * First off, we lookup the cast->type name to see if it is already loaded.
14278 * There are three cases to handle:
14279 * 1) If the cast->type has already been loaded AND the type we are adding
14280 * casting info to has not been loaded (it is in this module), THEN we
14281 * replace the cast->type pointer with the type pointer that has already
14282 * been loaded.
14283 * 2) If BOTH types (the one we are adding casting info to, and the
14284 * cast->type) are loaded, THEN the cast info has already been loaded by
14285 * the previous module so we just ignore it.
14286 * 3) Finally, if cast->type has not already been loaded, then we add that
14287 * swig_cast_info to the linked list (because the cast->type) pointer will
14288 * be correct.
0085ce49 14289 * ----------------------------------------------------------------------------- */
32fe5131
RD
14290
14291#ifdef __cplusplus
14292extern "C" {
14293#if 0
14294} /* c-mode */
14295#endif
14296#endif
14297
14298#if 0
14299#define SWIGRUNTIME_DEBUG
14300#endif
14301
14302SWIGRUNTIME void
14303SWIG_InitializeModule(void *clientdata) {
0085ce49
RD
14304 size_t i;
14305 swig_module_info *module_head;
14306 static int init_run = 0;
14307
14308 clientdata = clientdata;
14309
14310 if (init_run) return;
14311 init_run = 1;
14312
14313 /* Initialize the swig_module */
14314 swig_module.type_initial = swig_type_initial;
14315 swig_module.cast_initial = swig_cast_initial;
14316
14317 /* Try and load any already created modules */
14318 module_head = SWIG_GetModule(clientdata);
14319 if (module_head) {
14320 swig_module.next = module_head->next;
14321 module_head->next = &swig_module;
14322 } else {
14323 /* This is the first module loaded */
14324 swig_module.next = &swig_module;
14325 SWIG_SetModule(clientdata, &swig_module);
14326 }
14327
14328 /* Now work on filling in swig_module.types */
32fe5131 14329#ifdef SWIGRUNTIME_DEBUG
0085ce49 14330 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32fe5131 14331#endif
0085ce49
RD
14332 for (i = 0; i < swig_module.size; ++i) {
14333 swig_type_info *type = 0;
14334 swig_type_info *ret;
14335 swig_cast_info *cast;
14336
32fe5131 14337#ifdef SWIGRUNTIME_DEBUG
0085ce49 14338 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32fe5131 14339#endif
0085ce49
RD
14340
14341 /* if there is another module already loaded */
14342 if (swig_module.next != &swig_module) {
14343 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14344 }
14345 if (type) {
14346 /* Overwrite clientdata field */
32fe5131 14347#ifdef SWIGRUNTIME_DEBUG
0085ce49 14348 printf("SWIG_InitializeModule: found type %s\n", type->name);
32fe5131 14349#endif
0085ce49
RD
14350 if (swig_module.type_initial[i]->clientdata) {
14351 type->clientdata = swig_module.type_initial[i]->clientdata;
32fe5131 14352#ifdef SWIGRUNTIME_DEBUG
0085ce49 14353 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32fe5131 14354#endif
0085ce49
RD
14355 }
14356 } else {
14357 type = swig_module.type_initial[i];
14358 }
14359
14360 /* Insert casting types */
14361 cast = swig_module.cast_initial[i];
14362 while (cast->type) {
14363 /* Don't need to add information already in the list */
14364 ret = 0;
32fe5131 14365#ifdef SWIGRUNTIME_DEBUG
0085ce49 14366 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32fe5131 14367#endif
0085ce49
RD
14368 if (swig_module.next != &swig_module) {
14369 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32fe5131 14370#ifdef SWIGRUNTIME_DEBUG
0085ce49 14371 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32fe5131 14372#endif
0085ce49
RD
14373 }
14374 if (ret) {
14375 if (type == swig_module.type_initial[i]) {
32fe5131 14376#ifdef SWIGRUNTIME_DEBUG
0085ce49 14377 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32fe5131 14378#endif
0085ce49
RD
14379 cast->type = ret;
14380 ret = 0;
14381 } else {
14382 /* Check for casting already in the list */
14383 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32fe5131 14384#ifdef SWIGRUNTIME_DEBUG
0085ce49 14385 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32fe5131 14386#endif
0085ce49
RD
14387 if (!ocast) ret = 0;
14388 }
14389 }
14390
14391 if (!ret) {
32fe5131 14392#ifdef SWIGRUNTIME_DEBUG
0085ce49 14393 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32fe5131 14394#endif
0085ce49
RD
14395 if (type->cast) {
14396 type->cast->prev = cast;
14397 cast->next = type->cast;
32fe5131 14398 }
0085ce49
RD
14399 type->cast = cast;
14400 }
14401 cast++;
32fe5131 14402 }
0085ce49
RD
14403 /* Set entry in modules->types array equal to the type */
14404 swig_module.types[i] = type;
14405 }
14406 swig_module.types[i] = 0;
14407
32fe5131 14408#ifdef SWIGRUNTIME_DEBUG
0085ce49
RD
14409 printf("**** SWIG_InitializeModule: Cast List ******\n");
14410 for (i = 0; i < swig_module.size; ++i) {
14411 int j = 0;
14412 swig_cast_info *cast = swig_module.cast_initial[i];
14413 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14414 while (cast->type) {
14415 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14416 cast++;
14417 ++j;
14418 }
14419 printf("---- Total casts: %d\n",j);
14420 }
14421 printf("**** SWIG_InitializeModule: Cast List ******\n");
32fe5131
RD
14422#endif
14423}
14424
14425/* This function will propagate the clientdata field of type to
14426* any new swig_type_info structures that have been added into the list
14427* of equivalent types. It is like calling
14428* SWIG_TypeClientData(type, clientdata) a second time.
14429*/
14430SWIGRUNTIME void
14431SWIG_PropagateClientData(void) {
0085ce49
RD
14432 size_t i;
14433 swig_cast_info *equiv;
14434 static int init_run = 0;
14435
14436 if (init_run) return;
14437 init_run = 1;
14438
14439 for (i = 0; i < swig_module.size; i++) {
14440 if (swig_module.types[i]->clientdata) {
14441 equiv = swig_module.types[i]->cast;
14442 while (equiv) {
14443 if (!equiv->converter) {
14444 if (equiv->type && !equiv->type->clientdata)
14445 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14446 }
14447 equiv = equiv->next;
14448 }
32fe5131 14449 }
0085ce49 14450 }
32fe5131
RD
14451}
14452
14453#ifdef __cplusplus
14454#if 0
14455{
0085ce49 14456 /* c-mode */
32fe5131
RD
14457#endif
14458}
14459#endif
14460
44127b65 14461
3004cfd8
RD
14462
14463#ifdef __cplusplus
14464extern "C" {
14465#endif
0085ce49
RD
14466
14467 /* Python-specific SWIG API */
3004cfd8
RD
14468#define SWIG_newvarlink() SWIG_Python_newvarlink()
14469#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14470#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
0085ce49
RD
14471
14472 /* -----------------------------------------------------------------------------
14473 * global variable support code.
14474 * ----------------------------------------------------------------------------- */
14475
14476 typedef struct swig_globalvar {
14477 char *name; /* Name of global variable */
14478 PyObject *(*get_attr)(void); /* Return the current value */
14479 int (*set_attr)(PyObject *); /* Set the value */
14480 struct swig_globalvar *next;
14481 } swig_globalvar;
14482
14483 typedef struct swig_varlinkobject {
14484 PyObject_HEAD
14485 swig_globalvar *vars;
14486 } swig_varlinkobject;
14487
14488 SWIGINTERN PyObject *
14489 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14490 return PyString_FromString("<Swig global variables>");
14491 }
14492
14493 SWIGINTERN PyObject *
14494 swig_varlink_str(swig_varlinkobject *v) {
14495 PyObject *str = PyString_FromString("(");
14496 swig_globalvar *var;
14497 for (var = v->vars; var; var=var->next) {
14498 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14499 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14500 }
14501 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14502 return str;
14503 }
14504
14505 SWIGINTERN int
14506 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14507 PyObject *str = swig_varlink_str(v);
14508 fprintf(fp,"Swig global variables ");
14509 fprintf(fp,"%s\n", PyString_AsString(str));
14510 Py_DECREF(str);
14511 return 0;
14512 }
14513
14514 SWIGINTERN void
14515 swig_varlink_dealloc(swig_varlinkobject *v) {
14516 swig_globalvar *var = v->vars;
14517 while (var) {
14518 swig_globalvar *n = var->next;
14519 free(var->name);
14520 free(var);
14521 var = n;
3004cfd8 14522 }
0085ce49
RD
14523 }
14524
14525 SWIGINTERN PyObject *
14526 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14527 PyObject *res = NULL;
14528 swig_globalvar *var = v->vars;
14529 while (var) {
14530 if (strcmp(var->name,n) == 0) {
14531 res = (*var->get_attr)();
14532 break;
14533 }
14534 var = var->next;
3004cfd8 14535 }
0085ce49
RD
14536 if (res == NULL && !PyErr_Occurred()) {
14537 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
3004cfd8 14538 }
0085ce49
RD
14539 return res;
14540 }
14541
14542 SWIGINTERN int
14543 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14544 int res = 1;
14545 swig_globalvar *var = v->vars;
14546 while (var) {
14547 if (strcmp(var->name,n) == 0) {
14548 res = (*var->set_attr)(p);
14549 break;
14550 }
14551 var = var->next;
3004cfd8 14552 }
0085ce49
RD
14553 if (res == 1 && !PyErr_Occurred()) {
14554 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14555 }
14556 return res;
14557 }
14558
14559 SWIGINTERN PyTypeObject*
14560 swig_varlink_type(void) {
14561 static char varlink__doc__[] = "Swig var link object";
14562 static PyTypeObject varlink_type;
14563 static int type_init = 0;
14564 if (!type_init) {
14565 const PyTypeObject tmp
14566 = {
14567 PyObject_HEAD_INIT(NULL)
14568 0, /* Number of items in variable part (ob_size) */
14569 (char *)"swigvarlink", /* Type name (tp_name) */
14570 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14571 0, /* Itemsize (tp_itemsize) */
14572 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14573 (printfunc) swig_varlink_print, /* Print (tp_print) */
14574 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14575 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14576 0, /* tp_compare */
14577 (reprfunc) swig_varlink_repr, /* tp_repr */
14578 0, /* tp_as_number */
14579 0, /* tp_as_sequence */
14580 0, /* tp_as_mapping */
14581 0, /* tp_hash */
14582 0, /* tp_call */
14583 (reprfunc)swig_varlink_str, /* tp_str */
14584 0, /* tp_getattro */
14585 0, /* tp_setattro */
14586 0, /* tp_as_buffer */
14587 0, /* tp_flags */
14588 varlink__doc__, /* tp_doc */
14589 0, /* tp_traverse */
14590 0, /* tp_clear */
14591 0, /* tp_richcompare */
14592 0, /* tp_weaklistoffset */
3004cfd8 14593#if PY_VERSION_HEX >= 0x02020000
0085ce49 14594 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
3004cfd8
RD
14595#endif
14596#if PY_VERSION_HEX >= 0x02030000
0085ce49 14597 0, /* tp_del */
3004cfd8
RD
14598#endif
14599#ifdef COUNT_ALLOCS
0085ce49 14600 0,0,0,0 /* tp_alloc -> tp_next */
3004cfd8 14601#endif
0085ce49
RD
14602 };
14603 varlink_type = tmp;
14604 varlink_type.ob_type = &PyType_Type;
14605 type_init = 1;
3004cfd8 14606 }
0085ce49
RD
14607 return &varlink_type;
14608 }
14609
14610 /* Create a variable linking object for use later */
14611 SWIGINTERN PyObject *
14612 SWIG_Python_newvarlink(void) {
14613 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14614 if (result) {
14615 result->vars = 0;
14616 }
14617 return ((PyObject*) result);
14618 }
14619
14620 SWIGINTERN void
14621 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14622 swig_varlinkobject *v = (swig_varlinkobject *) p;
14623 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14624 if (gv) {
14625 size_t size = strlen(name)+1;
14626 gv->name = (char *)malloc(size);
14627 if (gv->name) {
14628 strncpy(gv->name,name,size);
14629 gv->get_attr = get_attr;
14630 gv->set_attr = set_attr;
14631 gv->next = v->vars;
14632 }
3004cfd8 14633 }
0085ce49
RD
14634 v->vars = gv;
14635 }
14636
14637 SWIGINTERN PyObject *
14638 SWIG_globals() {
14639 static PyObject *_SWIG_globals = 0;
14640 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14641 return _SWIG_globals;
14642 }
14643
14644 /* -----------------------------------------------------------------------------
14645 * constants/methods manipulation
14646 * ----------------------------------------------------------------------------- */
14647
14648 /* Install Constants */
14649 SWIGINTERN void
14650 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14651 PyObject *obj = 0;
14652 size_t i;
14653 for (i = 0; constants[i].type; ++i) {
14654 switch(constants[i].type) {
14655 case SWIG_PY_POINTER:
14656 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14657 break;
14658 case SWIG_PY_BINARY:
14659 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14660 break;
14661 default:
14662 obj = 0;
14663 break;
14664 }
14665 if (obj) {
14666 PyDict_SetItemString(d, constants[i].name, obj);
14667 Py_DECREF(obj);
14668 }
3004cfd8 14669 }
0085ce49
RD
14670 }
14671
14672 /* -----------------------------------------------------------------------------*/
14673 /* Fix SwigMethods to carry the callback ptrs when needed */
14674 /* -----------------------------------------------------------------------------*/
14675
14676 SWIGINTERN void
14677 SWIG_Python_FixMethods(PyMethodDef *methods,
3004cfd8
RD
14678 swig_const_info *const_table,
14679 swig_type_info **types,
14680 swig_type_info **types_initial) {
0085ce49
RD
14681 size_t i;
14682 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 14683 const char *c = methods[i].ml_doc;
0085ce49
RD
14684 if (c && (c = strstr(c, "swig_ptr: "))) {
14685 int j;
14686 swig_const_info *ci = 0;
453fb36b 14687 const char *name = c + 10;
0085ce49
RD
14688 for (j = 0; const_table[j].type; ++j) {
14689 if (strncmp(const_table[j].name, name,
14690 strlen(const_table[j].name)) == 0) {
14691 ci = &(const_table[j]);
14692 break;
14693 }
14694 }
14695 if (ci) {
14696 size_t shift = (ci->ptype) - types;
14697 swig_type_info *ty = types_initial[shift];
14698 size_t ldoc = (c - methods[i].ml_doc);
14699 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14700 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14701 if (ndoc) {
14702 char *buff = ndoc;
14703 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14704 if (ptr) {
14705 strncpy(buff, methods[i].ml_doc, ldoc);
14706 buff += ldoc;
14707 strncpy(buff, "swig_ptr: ", 10);
14708 buff += 10;
14709 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14710 methods[i].ml_doc = ndoc;
3004cfd8 14711 }
0085ce49 14712 }
3004cfd8 14713 }
0085ce49 14714 }
3004cfd8 14715 }
0085ce49
RD
14716 }
14717
3004cfd8
RD
14718#ifdef __cplusplus
14719}
14720#endif
14721
14722/* -----------------------------------------------------------------------------*
14723 * Partial Init method
14724 * -----------------------------------------------------------------------------*/
14725
44127b65
RD
14726#ifdef __cplusplus
14727extern "C"
14728#endif
32fe5131 14729SWIGEXPORT void SWIG_init(void) {
0085ce49
RD
14730 PyObject *m, *d;
14731
14732 /* Fix SwigMethods to carry the callback ptrs when needed */
14733 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14734
14735 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14736 d = PyModule_GetDict(m);
14737
14738 SWIG_InitializeModule(0);
14739 SWIG_InstallConstants(d,swig_const_table);
14740
14741
14742 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14743 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14744 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
0085ce49
RD
14745 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14746 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14747 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14748 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14749 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14750 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14751 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14752 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14753 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14754 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14755 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14756 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14757 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
33d6fd3b
RD
14758 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14759 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14760 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14761 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14762 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14763 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14764 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14765 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14766 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
0085ce49 14767 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
33d6fd3b
RD
14768 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14769 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14770
14771 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14772
0085ce49
RD
14773 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14774 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14775 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14776 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14777
0085ce49 14778 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
0085ce49 14779
44127b65
RD
14780}
14781