]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
reSWIGged
[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]
2579#define SWIGTYPE_p_wxMouseEvent swig_types[113]
2580#define SWIGTYPE_p_wxMoveEvent swig_types[114]
2581#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[115]
2582#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[116]
2583#define SWIGTYPE_p_wxNcPaintEvent swig_types[117]
2584#define SWIGTYPE_p_wxNotebook swig_types[118]
2585#define SWIGTYPE_p_wxNotebookEvent swig_types[119]
2586#define SWIGTYPE_p_wxNotifyEvent swig_types[120]
27e45892
RD
2587#define SWIGTYPE_p_wxNumberEntryDialog swig_types[121]
2588#define SWIGTYPE_p_wxObject swig_types[122]
2589#define SWIGTYPE_p_wxPCXHandler swig_types[123]
2590#define SWIGTYPE_p_wxPNGHandler swig_types[124]
2591#define SWIGTYPE_p_wxPNMHandler swig_types[125]
2592#define SWIGTYPE_p_wxPageSetupDialog swig_types[126]
2593#define SWIGTYPE_p_wxPageSetupDialogData swig_types[127]
2594#define SWIGTYPE_p_wxPaintEvent swig_types[128]
2595#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[129]
2596#define SWIGTYPE_p_wxPanel swig_types[130]
2597#define SWIGTYPE_p_wxPaperSize swig_types[131]
2598#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[132]
2599#define SWIGTYPE_p_wxPickerBase swig_types[133]
2600#define SWIGTYPE_p_wxPopupWindow swig_types[134]
2601#define SWIGTYPE_p_wxPreviewCanvas swig_types[135]
2602#define SWIGTYPE_p_wxPreviewControlBar swig_types[136]
2603#define SWIGTYPE_p_wxPreviewFrame swig_types[137]
2604#define SWIGTYPE_p_wxPrintData swig_types[138]
2605#define SWIGTYPE_p_wxPrintDialog swig_types[139]
2606#define SWIGTYPE_p_wxPrintDialogData swig_types[140]
2607#define SWIGTYPE_p_wxPrintPreview swig_types[141]
2608#define SWIGTYPE_p_wxPrinter swig_types[142]
2609#define SWIGTYPE_p_wxProgressDialog swig_types[143]
2610#define SWIGTYPE_p_wxPyApp swig_types[144]
2611#define SWIGTYPE_p_wxPyCommandEvent swig_types[145]
2612#define SWIGTYPE_p_wxPyControl swig_types[146]
2613#define SWIGTYPE_p_wxPyEvent swig_types[147]
2614#define SWIGTYPE_p_wxPyHtmlListBox swig_types[148]
2615#define SWIGTYPE_p_wxPyImageHandler swig_types[149]
2616#define SWIGTYPE_p_wxPyListCtrl swig_types[150]
2617#define SWIGTYPE_p_wxPyPanel swig_types[151]
2618#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[152]
2619#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[153]
2620#define SWIGTYPE_p_wxPyPreviewFrame swig_types[154]
2621#define SWIGTYPE_p_wxPyPrintPreview swig_types[155]
2622#define SWIGTYPE_p_wxPyPrintout swig_types[156]
2623#define SWIGTYPE_p_wxPyScrolledWindow swig_types[157]
2624#define SWIGTYPE_p_wxPySizer swig_types[158]
2625#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[159]
2626#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[160]
2627#define SWIGTYPE_p_wxPyTreeCtrl swig_types[161]
2628#define SWIGTYPE_p_wxPyTreeItemData swig_types[162]
2629#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[163]
2630#define SWIGTYPE_p_wxPyVListBox swig_types[164]
2631#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[165]
2632#define SWIGTYPE_p_wxPyValidator swig_types[166]
2633#define SWIGTYPE_p_wxPyWindow swig_types[167]
2634#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[168]
2635#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[169]
2636#define SWIGTYPE_p_wxRadioBox swig_types[170]
2637#define SWIGTYPE_p_wxRadioButton swig_types[171]
2638#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[172]
2639#define SWIGTYPE_p_wxSashEvent swig_types[173]
2640#define SWIGTYPE_p_wxSashLayoutWindow swig_types[174]
2641#define SWIGTYPE_p_wxSashWindow swig_types[175]
2642#define SWIGTYPE_p_wxScrollBar swig_types[176]
2643#define SWIGTYPE_p_wxScrollEvent swig_types[177]
2644#define SWIGTYPE_p_wxScrollWinEvent swig_types[178]
2645#define SWIGTYPE_p_wxScrolledWindow swig_types[179]
2646#define SWIGTYPE_p_wxSetCursorEvent swig_types[180]
2647#define SWIGTYPE_p_wxShowEvent swig_types[181]
2648#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[182]
2649#define SWIGTYPE_p_wxSizeEvent swig_types[183]
2650#define SWIGTYPE_p_wxSizer swig_types[184]
2651#define SWIGTYPE_p_wxSizerItem swig_types[185]
2652#define SWIGTYPE_p_wxSlider swig_types[186]
2653#define SWIGTYPE_p_wxSpinButton swig_types[187]
2654#define SWIGTYPE_p_wxSpinCtrl swig_types[188]
2655#define SWIGTYPE_p_wxSpinEvent swig_types[189]
2656#define SWIGTYPE_p_wxSplashScreen swig_types[190]
2657#define SWIGTYPE_p_wxSplashScreenWindow swig_types[191]
2658#define SWIGTYPE_p_wxSplitterEvent swig_types[192]
2659#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[193]
2660#define SWIGTYPE_p_wxSplitterWindow swig_types[194]
2661#define SWIGTYPE_p_wxStaticBitmap swig_types[195]
2662#define SWIGTYPE_p_wxStaticBox swig_types[196]
2663#define SWIGTYPE_p_wxStaticBoxSizer swig_types[197]
2664#define SWIGTYPE_p_wxStaticLine swig_types[198]
2665#define SWIGTYPE_p_wxStaticPicture swig_types[199]
2666#define SWIGTYPE_p_wxStaticText swig_types[200]
2667#define SWIGTYPE_p_wxStatusBar swig_types[201]
2668#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[202]
2669#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[203]
2670#define SWIGTYPE_p_wxTIFFHandler swig_types[204]
2671#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[205]
2672#define SWIGTYPE_p_wxTextCtrl swig_types[206]
2673#define SWIGTYPE_p_wxTextEntryDialog swig_types[207]
2674#define SWIGTYPE_p_wxTextUrlEvent swig_types[208]
2675#define SWIGTYPE_p_wxThinSplitterWindow swig_types[209]
2676#define SWIGTYPE_p_wxTipWindow swig_types[210]
2677#define SWIGTYPE_p_wxToggleButton swig_types[211]
2678#define SWIGTYPE_p_wxToolBar swig_types[212]
2679#define SWIGTYPE_p_wxToolBarBase swig_types[213]
2680#define SWIGTYPE_p_wxToolBarToolBase swig_types[214]
2681#define SWIGTYPE_p_wxToolbook swig_types[215]
2682#define SWIGTYPE_p_wxToolbookEvent swig_types[216]
2683#define SWIGTYPE_p_wxTopLevelWindow swig_types[217]
2684#define SWIGTYPE_p_wxTreeEvent swig_types[218]
2685#define SWIGTYPE_p_wxTreeItemId swig_types[219]
2686#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[220]
2687#define SWIGTYPE_p_wxTreebook swig_types[221]
2688#define SWIGTYPE_p_wxTreebookEvent swig_types[222]
2689#define SWIGTYPE_p_wxUpdateUIEvent swig_types[223]
2690#define SWIGTYPE_p_wxValidator swig_types[224]
2691#define SWIGTYPE_p_wxWindow swig_types[225]
2692#define SWIGTYPE_p_wxWindowCreateEvent swig_types[226]
2693#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[227]
2694#define SWIGTYPE_p_wxXPMHandler swig_types[228]
2695static swig_type_info *swig_types[230];
2696static swig_module_info swig_module = {swig_types, 229, 0, 0, 0, 0};
32fe5131
RD
2697#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2698#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
994141e6 2699
3004cfd8 2700/* -------- TYPES TABLE (END) -------- */
994141e6 2701
0085ce49
RD
2702#if (PY_VERSION_HEX <= 0x02000000)
2703# if !defined(SWIG_PYTHON_CLASSIC)
2704# error "This python version requires to use swig with the '-classic' option"
2705# endif
2706#endif
2707#if (PY_VERSION_HEX <= 0x02020000)
2708# error "This python version requires to use swig with the '-nomodern' option"
2709#endif
2710#if (PY_VERSION_HEX <= 0x02020000)
2711# error "This python version requires to use swig with the '-nomodernargs' option"
2712#endif
2713#ifndef METH_O
2714# error "This python version requires to use swig with the '-nofastunpack' option"
2715#endif
994141e6 2716
3004cfd8
RD
2717/*-----------------------------------------------
2718 @(target):= _gizmos.so
2719 ------------------------------------------------*/
2720#define SWIG_init init_gizmos
2721
2722#define SWIG_name "_gizmos"
994141e6 2723
0085ce49
RD
2724#define SWIGVERSION 0x010329
2725
2726
2727#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2728#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2729
2730
2731#include <stdexcept>
2732
2733
2734namespace swig {
2735 class PyObject_ptr {
2736 protected:
2737 PyObject *_obj;
2738
2739 public:
2740 PyObject_ptr() :_obj(0)
2741 {
2742 }
2743
2744 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2745 {
2746 Py_XINCREF(_obj);
2747 }
2748
2749 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2750 {
2751 if (initial_ref) Py_XINCREF(_obj);
2752 }
2753
2754 PyObject_ptr & operator=(const PyObject_ptr& item)
2755 {
2756 Py_XINCREF(item._obj);
2757 Py_XDECREF(_obj);
2758 _obj = item._obj;
2759 return *this;
2760 }
2761
2762 ~PyObject_ptr()
2763 {
2764 Py_XDECREF(_obj);
2765 }
2766
2767 operator PyObject *() const
2768 {
2769 return _obj;
2770 }
2771
2772 PyObject *operator->() const
2773 {
2774 return _obj;
2775 }
2776 };
2777}
2778
2779
2780namespace swig {
2781 struct PyObject_var : PyObject_ptr {
2782 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2783
2784 PyObject_var & operator = (PyObject* obj)
2785 {
2786 Py_XDECREF(_obj);
2787 _obj = obj;
2788 return *this;
2789 }
2790 };
2791}
2792
2793
44127b65
RD
2794#include "wx/wxPython/wxPython.h"
2795#include "wx/wxPython/pyclasses.h"
28eab81f 2796
44127b65
RD
2797#include <wx/gizmos/dynamicsash.h>
2798#include <wx/gizmos/editlbox.h>
2799#include <wx/gizmos/splittree.h>
2800#include <wx/gizmos/ledctrl.h>
6260902d 2801#include <wx/gizmos/statpict.h>
44127b65
RD
2802
2803#include <wx/listctrl.h>
2804#include <wx/treectrl.h>
2805#include <wx/imaglist.h>
28eab81f
RD
2806
2807#include "wx/treelistctrl.h"
44127b65
RD
2808#include "wx/wxPython/pytree.h"
2809
44127b65 2810
b2dc1044
RD
2811 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2812 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
2813 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
6260902d 2814 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
b2dc1044 2815 static const wxString wxPyEmptyString(wxEmptyString);
994141e6 2816
0085ce49 2817 #define SWIG_From_long PyInt_FromLong
3004cfd8
RD
2818
2819
0085ce49
RD
2820SWIGINTERNINLINE PyObject *
2821SWIG_From_int (int value)
2822{
2823 return SWIG_From_long (value);
2824}
15afbcd0
RD
2825
2826
0085ce49
RD
2827#include <limits.h>
2828#ifndef LLONG_MIN
2829# define LLONG_MIN LONG_LONG_MIN
2830#endif
2831#ifndef LLONG_MAX
2832# define LLONG_MAX LONG_LONG_MAX
2833#endif
2834#ifndef ULLONG_MAX
2835# define ULLONG_MAX ULONG_LONG_MAX
2836#endif
15afbcd0
RD
2837
2838
3004cfd8 2839SWIGINTERN int
0085ce49 2840SWIG_AsVal_long (PyObject* obj, long* val)
15afbcd0 2841{
c32bde28
RD
2842 if (PyNumber_Check(obj)) {
2843 if (val) *val = PyInt_AsLong(obj);
0085ce49 2844 return SWIG_OK;
c32bde28 2845 }
0085ce49 2846 return SWIG_TypeError;
15afbcd0
RD
2847}
2848
2849
3004cfd8 2850SWIGINTERN int
0085ce49
RD
2851SWIG_AsVal_int (PyObject * obj, int *val)
2852{
c32bde28 2853 long v;
0085ce49
RD
2854 int res = SWIG_AsVal_long (obj, &v);
2855 if (SWIG_IsOK(res)) {
2856 if ((v < INT_MIN || v > INT_MAX)) {
2857 return SWIG_OverflowError;
c32bde28 2858 } else {
0085ce49 2859 if (val) *val = static_cast< int >(v);
c32bde28 2860 }
0085ce49
RD
2861 }
2862 return res;
994141e6
RD
2863}
2864
0085ce49 2865SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
2866 wxArrayString strings;
2867 self->GetStrings(strings);
2868 return wxArrayString2PyList_helper(strings);
2869 }
2870
2871 typedef wxTreeCtrl wxPyTreeCtrl;
2872
2873
2874class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2875{
2876public:
2877 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2878 const wxPoint& pos = wxDefaultPosition,
2879 const wxSize& size = wxDefaultSize,
2880 long style = 0)
2881 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2882
2883
2884 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2885 bool found;
5a446332 2886 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 2887 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 2888 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
ae8162c8
RD
2889 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2890 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
2891 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2892 Py_DECREF(dcobj);
2893 Py_DECREF(idobj);
2894 Py_DECREF(recobj);
2895 }
4f89f6a3 2896 wxPyEndBlockThreads(blocked);
44127b65
RD
2897 if (! found)
2898 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2899 }
2900
2901 PYPRIVATE;
2902};
2903
994141e6 2904
3004cfd8 2905SWIGINTERN int
0085ce49 2906SWIG_AsVal_bool (PyObject *obj, bool *val)
c32bde28 2907{
c32bde28
RD
2908 if (obj == Py_True) {
2909 if (val) *val = true;
0085ce49
RD
2910 return SWIG_OK;
2911 } else if (obj == Py_False) {
c32bde28 2912 if (val) *val = false;
0085ce49 2913 return SWIG_OK;
3004cfd8 2914 } else {
0085ce49
RD
2915 long v = 0;
2916 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2917 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2918 return res;
c32bde28 2919 }
c32bde28 2920}
994141e6 2921
c32bde28 2922
3004cfd8 2923SWIGINTERN int
0085ce49 2924SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
15afbcd0 2925{
c32bde28
RD
2926 long v = 0;
2927 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2928 return SWIG_TypeError;
c32bde28
RD
2929 }
2930 else if (val)
2931 *val = (unsigned long)v;
0085ce49 2932 return SWIG_OK;
15afbcd0
RD
2933}
2934
2935
32fe5131 2936SWIGINTERNINLINE int
0085ce49 2937SWIG_AsVal_size_t (PyObject * obj, size_t *val)
15afbcd0 2938{
0085ce49
RD
2939 unsigned long v;
2940 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2941 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2942 return res;
15afbcd0
RD
2943}
2944
2945
32fe5131 2946SWIGINTERNINLINE PyObject*
0085ce49 2947SWIG_From_unsigned_SS_long (unsigned long value)
15afbcd0
RD
2948{
2949 return (value > LONG_MAX) ?
0085ce49
RD
2950 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2951}
2952
2953
2954SWIGINTERNINLINE PyObject *
2955SWIG_From_size_t (size_t value)
2956{
2957 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
994141e6
RD
2958}
2959
44127b65
RD
2960 // C++ version of Python aware control
2961class wxPyTreeListCtrl : public wxTreeListCtrl {
2962 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2963public:
2964 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2965 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2966 const wxPoint& pos,
2967 const wxSize& size,
2968 long style,
2969 const wxValidator &validator,
2970 const wxString& name) :
2971 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2972
2973 int OnCompareItems(const wxTreeItemId& item1,
2974 const wxTreeItemId& item2) {
2975 int rval = 0;
2976 bool found;
5a446332 2977 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
2978 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2979 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2980 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2981 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2982 Py_DECREF(o1);
2983 Py_DECREF(o2);
2984 }
4f89f6a3 2985 wxPyEndBlockThreads(blocked);
44127b65
RD
2986 if (! found)
2987 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2988 return rval;
2989 }
2990 PYPRIVATE;
2991};
2992
2993IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
2994
2995
994141e6 2996
0085ce49
RD
2997SWIGINTERNINLINE PyObject *
2998SWIG_From_unsigned_SS_int (unsigned int value)
2999{
3000 return SWIG_From_unsigned_SS_long (value);
3001}
15afbcd0
RD
3002
3003
0085ce49
RD
3004SWIGINTERN int
3005SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
15afbcd0 3006{
c32bde28 3007 unsigned long v;
0085ce49
RD
3008 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3009 if (SWIG_IsOK(res)) {
3010 if ((v > UINT_MAX)) {
3011 return SWIG_OverflowError;
3012 } else {
3013 if (val) *val = static_cast< unsigned int >(v);
c32bde28 3014 }
0085ce49
RD
3015 }
3016 return res;
994141e6
RD
3017}
3018
0085ce49 3019SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
3020 if (column < 0) column = self->GetMainColumn();
3021 return self->GetItemText(item, column);
3022 }
0085ce49 3023SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3024 if (column < 0) column = self->GetMainColumn();
3025 return self->GetItemImage(item, column, which);
3026 }
0085ce49 3027SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
3028 if (column < 0) column = self->GetMainColumn();
3029 self->SetItemText(item, column, text);
3030 }
0085ce49 3031SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3032 if (column < 0) column = self->GetMainColumn();
3033 self->SetItemImage(item, column, image, which);
3034 }
0085ce49 3035SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3036 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3037 if (data == NULL) {
3038 data = new wxPyTreeItemData();
3039 data->SetId(item); // set the id
3040 self->SetItemData(item, data);
3041 }
3042 return data;
3043 }
0085ce49 3044SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
3045 data->SetId(item); // set the id
3046 self->SetItemData(item, data);
3047 }
0085ce49 3048SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3049 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3050 if (data == NULL) {
3051 data = new wxPyTreeItemData();
3052 data->SetId(item); // set the id
3053 self->SetItemData(item, data);
3054 }
3055 return data->GetData();
3056 }
0085ce49 3057SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
3058 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3059 if (data == NULL) {
3060 data = new wxPyTreeItemData(obj);
3061 data->SetId(item); // set the id
3062 self->SetItemData(item, data);
3063 } else
3064 data->SetData(obj);
3065 }
0085ce49 3066SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
5a446332 3067 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3068 PyObject* rval = PyList_New(0);
3069 wxArrayTreeItemIds array;
3070 size_t num, x;
3071 num = self->GetSelections(array);
3072 for (x=0; x < num; x++) {
3073 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3074 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65 3075 PyList_Append(rval, item);
e9d6f3a4 3076 Py_DECREF(item);
44127b65 3077 }
4f89f6a3 3078 wxPyEndBlockThreads(blocked);
44127b65
RD
3079 return rval;
3080 }
0085ce49 3081SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
28eab81f 3082 void* cookie = 0;
823f0cfe 3083 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3084 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3085 PyObject* tup = PyTuple_New(2);
ae8162c8 3086 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3087 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3088 wxPyEndBlockThreads(blocked);
44127b65
RD
3089 return tup;
3090 }
0085ce49 3091SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
823f0cfe 3092 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3093 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3094 PyObject* tup = PyTuple_New(2);
ae8162c8 3095 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3096 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3097 wxPyEndBlockThreads(blocked);
44127b65
RD
3098 return tup;
3099 }
0085ce49 3100SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
3101 wxRect rect;
3102 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3103 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3104 wxRect* r = new wxRect(rect);
3105 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
4f89f6a3 3106 wxPyEndBlockThreads(blocked);
44127b65
RD
3107 return val;
3108 }
3109 else {
3110 RETURN_NONE();
3111 }
3112 }
6260902d
RD
3113
3114#include <float.h>
6260902d
RD
3115
3116
3117SWIGINTERN int
0085ce49 3118SWIG_AsVal_double (PyObject *obj, double* val)
6260902d
RD
3119{
3120 if (PyNumber_Check(obj)) {
3121 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 3122 return SWIG_OK;
6260902d 3123 }
0085ce49 3124 return SWIG_TypeError;
6260902d
RD
3125}
3126
3127
3128SWIGINTERN int
0085ce49 3129SWIG_AsVal_float (PyObject * obj, float *val)
6260902d 3130{
6260902d 3131 double v;
0085ce49
RD
3132 int res = SWIG_AsVal_double (obj, &v);
3133 if (SWIG_IsOK(res)) {
3134 if ((v < -FLT_MAX || v > FLT_MAX)) {
3135 return SWIG_OverflowError;
6260902d 3136 } else {
0085ce49 3137 if (val) *val = static_cast< float >(v);
6260902d 3138 }
0085ce49
RD
3139 }
3140 return res;
6260902d
RD
3141}
3142
6260902d 3143
0085ce49 3144 #define SWIG_From_double PyFloat_FromDouble
6260902d 3145
6260902d 3146
0085ce49
RD
3147SWIGINTERNINLINE PyObject *
3148SWIG_From_float (float value)
3149{
3150 return SWIG_From_double (value);
3151}
6260902d 3152
44127b65
RD
3153#ifdef __cplusplus
3154extern "C" {
3155#endif
0085ce49
RD
3156SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3157 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3158 return 1;
b2dc1044
RD
3159}
3160
3161
0085ce49
RD
3162SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3163 PyObject *pyobj = 0;
3164
3165 {
b2dc1044 3166#if wxUSE_UNICODE
0085ce49 3167 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3168#else
0085ce49 3169 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3170#endif
0085ce49
RD
3171 }
3172 return pyobj;
b2dc1044
RD
3173}
3174
3175
0085ce49
RD
3176SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3177 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3178 return 1;
b2dc1044
RD
3179}
3180
3181
0085ce49
RD
3182SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3183 PyObject *pyobj = 0;
3184
3185 {
b2dc1044 3186#if wxUSE_UNICODE
0085ce49 3187 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3188#else
0085ce49 3189 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3190#endif
0085ce49
RD
3191 }
3192 return pyobj;
b2dc1044
RD
3193}
3194
3195
0085ce49
RD
3196SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
3197 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
3198 return 1;
b2dc1044
RD
3199}
3200
3201
0085ce49
RD
3202SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
3203 PyObject *pyobj = 0;
3204
3205 {
b2dc1044 3206#if wxUSE_UNICODE
0085ce49 3207 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
b2dc1044 3208#else
0085ce49 3209 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
b2dc1044 3210#endif
0085ce49
RD
3211 }
3212 return pyobj;
b2dc1044
RD
3213}
3214
3215
0085ce49
RD
3216SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3217 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3218 return 1;
6260902d
RD
3219}
3220
3221
0085ce49
RD
3222SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3223 PyObject *pyobj = 0;
3224
3225 {
6260902d 3226#if wxUSE_UNICODE
0085ce49 3227 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3228#else
0085ce49 3229 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3230#endif
0085ce49
RD
3231 }
3232 return pyobj;
6260902d
RD
3233}
3234
3235
0085ce49
RD
3236SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3237 PyObject *resultobj = 0;
3238 wxObject *arg1 = (wxObject *) 0 ;
3239 wxDynamicSashSplitEvent *result = 0 ;
3240 void *argp1 = 0 ;
3241 int res1 = 0 ;
3242 PyObject * obj0 = 0 ;
3243 char * kwnames[] = {
3244 (char *) "target", NULL
3245 };
3246
3247 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3248 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3249 if (!SWIG_IsOK(res1)) {
3250 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3251 }
3252 arg1 = reinterpret_cast< wxObject * >(argp1);
3253 {
3254 PyThreadState* __tstate = wxPyBeginAllowThreads();
3255 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3260 return resultobj;
3261fail:
3262 return NULL;
44127b65
RD
3263}
3264
3265
0085ce49
RD
3266SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3267 PyObject *obj;
3268 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3269 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3270 return SWIG_Py_Void();
44127b65
RD
3271}
3272
0085ce49
RD
3273SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3274 return SWIG_Python_InitShadowInstance(args);
3275}
44127b65 3276
0085ce49
RD
3277SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj = 0;
3279 wxObject *arg1 = (wxObject *) 0 ;
3280 wxDynamicSashUnifyEvent *result = 0 ;
3281 void *argp1 = 0 ;
3282 int res1 = 0 ;
3283 PyObject * obj0 = 0 ;
3284 char * kwnames[] = {
3285 (char *) "target", NULL
3286 };
3287
3288 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3289 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3290 if (!SWIG_IsOK(res1)) {
3291 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3292 }
3293 arg1 = reinterpret_cast< wxObject * >(argp1);
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3297 wxPyEndAllowThreads(__tstate);
3298 if (PyErr_Occurred()) SWIG_fail;
3299 }
3300 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3301 return resultobj;
3302fail:
3303 return NULL;
3304}
3305
3306
3307SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3308 PyObject *obj;
3309 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3310 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3311 return SWIG_Py_Void();
3312}
3313
3314SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3315 return SWIG_Python_InitShadowInstance(args);
3316}
3317
3318SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3319 PyObject *resultobj = 0;
3320 wxWindow *arg1 = (wxWindow *) 0 ;
3321 int arg2 = (int) -1 ;
3322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3324 wxSize const &arg4_defvalue = wxDefaultSize ;
3325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3326 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3327 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3328 wxString *arg6 = (wxString *) &arg6_defvalue ;
3329 wxDynamicSashWindow *result = 0 ;
3330 void *argp1 = 0 ;
3331 int res1 = 0 ;
3332 int val2 ;
3333 int ecode2 = 0 ;
3334 wxPoint temp3 ;
3335 wxSize temp4 ;
3336 long val5 ;
3337 int ecode5 = 0 ;
3338 bool temp6 = false ;
3339 PyObject * obj0 = 0 ;
3340 PyObject * obj1 = 0 ;
3341 PyObject * obj2 = 0 ;
3342 PyObject * obj3 = 0 ;
3343 PyObject * obj4 = 0 ;
3344 PyObject * obj5 = 0 ;
3345 char * kwnames[] = {
3346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3347 };
3348
3349 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3350 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3351 if (!SWIG_IsOK(res1)) {
3352 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3353 }
3354 arg1 = reinterpret_cast< wxWindow * >(argp1);
3355 if (obj1) {
3356 ecode2 = SWIG_AsVal_int(obj1, &val2);
3357 if (!SWIG_IsOK(ecode2)) {
3358 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3359 }
3360 arg2 = static_cast< int >(val2);
3361 }
3362 if (obj2) {
44127b65 3363 {
0085ce49
RD
3364 arg3 = &temp3;
3365 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 3366 }
0085ce49
RD
3367 }
3368 if (obj3) {
44127b65 3369 {
0085ce49
RD
3370 arg4 = &temp4;
3371 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 3372 }
0085ce49
RD
3373 }
3374 if (obj4) {
3375 ecode5 = SWIG_AsVal_long(obj4, &val5);
3376 if (!SWIG_IsOK(ecode5)) {
3377 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3378 }
3379 arg5 = static_cast< long >(val5);
3380 }
3381 if (obj5) {
44127b65 3382 {
0085ce49
RD
3383 arg6 = wxString_in_helper(obj5);
3384 if (arg6 == NULL) SWIG_fail;
3385 temp6 = true;
44127b65 3386 }
0085ce49
RD
3387 }
3388 {
3389 if (!wxPyCheckForApp()) SWIG_fail;
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3396 {
3397 if (temp6)
3398 delete arg6;
3399 }
3400 return resultobj;
3401fail:
3402 {
3403 if (temp6)
3404 delete arg6;
3405 }
3406 return NULL;
44127b65
RD
3407}
3408
3409
0085ce49
RD
3410SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3411 PyObject *resultobj = 0;
3412 wxDynamicSashWindow *result = 0 ;
3413
3414 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3415 {
3416 if (!wxPyCheckForApp()) SWIG_fail;
3417 PyThreadState* __tstate = wxPyBeginAllowThreads();
3418 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3419 wxPyEndAllowThreads(__tstate);
3420 if (PyErr_Occurred()) SWIG_fail;
3421 }
3422 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3423 return resultobj;
3424fail:
3425 return NULL;
3426}
3427
3428
3429SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj = 0;
3431 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3432 wxWindow *arg2 = (wxWindow *) 0 ;
3433 int arg3 = (int) -1 ;
3434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3436 wxSize const &arg5_defvalue = wxDefaultSize ;
3437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3438 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3439 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3440 wxString *arg7 = (wxString *) &arg7_defvalue ;
3441 bool result;
3442 void *argp1 = 0 ;
3443 int res1 = 0 ;
3444 void *argp2 = 0 ;
3445 int res2 = 0 ;
3446 int val3 ;
3447 int ecode3 = 0 ;
3448 wxPoint temp4 ;
3449 wxSize temp5 ;
3450 long val6 ;
3451 int ecode6 = 0 ;
3452 bool temp7 = false ;
3453 PyObject * obj0 = 0 ;
3454 PyObject * obj1 = 0 ;
3455 PyObject * obj2 = 0 ;
3456 PyObject * obj3 = 0 ;
3457 PyObject * obj4 = 0 ;
3458 PyObject * obj5 = 0 ;
3459 PyObject * obj6 = 0 ;
3460 char * kwnames[] = {
3461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3462 };
3463
3464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3466 if (!SWIG_IsOK(res1)) {
3467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3468 }
3469 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3471 if (!SWIG_IsOK(res2)) {
3472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3473 }
3474 arg2 = reinterpret_cast< wxWindow * >(argp2);
3475 if (obj2) {
3476 ecode3 = SWIG_AsVal_int(obj2, &val3);
3477 if (!SWIG_IsOK(ecode3)) {
3478 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3479 }
3480 arg3 = static_cast< int >(val3);
3481 }
3482 if (obj3) {
44127b65 3483 {
0085ce49
RD
3484 arg4 = &temp4;
3485 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 3486 }
0085ce49
RD
3487 }
3488 if (obj4) {
3489 {
3490 arg5 = &temp5;
3491 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
994141e6 3492 }
0085ce49
RD
3493 }
3494 if (obj5) {
3495 ecode6 = SWIG_AsVal_long(obj5, &val6);
3496 if (!SWIG_IsOK(ecode6)) {
3497 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3498 }
3499 arg6 = static_cast< long >(val6);
3500 }
3501 if (obj6) {
3502 {
3503 arg7 = wxString_in_helper(obj6);
3504 if (arg7 == NULL) SWIG_fail;
3505 temp7 = true;
44127b65 3506 }
0085ce49
RD
3507 }
3508 {
3509 PyThreadState* __tstate = wxPyBeginAllowThreads();
3510 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 {
3515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3516 }
3517 {
3518 if (temp7)
3519 delete arg7;
3520 }
3521 return resultobj;
3522fail:
3523 {
3524 if (temp7)
3525 delete arg7;
3526 }
3527 return NULL;
3528}
3529
3530
3531SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj = 0;
3533 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3534 wxWindow *arg2 = (wxWindow *) 0 ;
3535 wxScrollBar *result = 0 ;
3536 void *argp1 = 0 ;
3537 int res1 = 0 ;
3538 void *argp2 = 0 ;
3539 int res2 = 0 ;
3540 PyObject * obj0 = 0 ;
3541 PyObject * obj1 = 0 ;
3542 char * kwnames[] = {
3543 (char *) "self",(char *) "child", NULL
3544 };
3545
3546 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3547 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3548 if (!SWIG_IsOK(res1)) {
3549 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3550 }
3551 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3552 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3553 if (!SWIG_IsOK(res2)) {
3554 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3555 }
3556 arg2 = reinterpret_cast< wxWindow * >(argp2);
3557 {
3558 PyThreadState* __tstate = wxPyBeginAllowThreads();
3559 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3564 return resultobj;
3565fail:
3566 return NULL;
3567}
3568
3569
3570SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3571 PyObject *resultobj = 0;
3572 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3573 wxWindow *arg2 = (wxWindow *) 0 ;
3574 wxScrollBar *result = 0 ;
3575 void *argp1 = 0 ;
3576 int res1 = 0 ;
3577 void *argp2 = 0 ;
3578 int res2 = 0 ;
3579 PyObject * obj0 = 0 ;
3580 PyObject * obj1 = 0 ;
3581 char * kwnames[] = {
3582 (char *) "self",(char *) "child", NULL
3583 };
3584
3585 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3586 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3587 if (!SWIG_IsOK(res1)) {
3588 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3589 }
3590 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3591 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3592 if (!SWIG_IsOK(res2)) {
3593 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3594 }
3595 arg2 = reinterpret_cast< wxWindow * >(argp2);
3596 {
3597 PyThreadState* __tstate = wxPyBeginAllowThreads();
3598 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3599 wxPyEndAllowThreads(__tstate);
3600 if (PyErr_Occurred()) SWIG_fail;
3601 }
3602 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3603 return resultobj;
3604fail:
3605 return NULL;
3606}
3607
3608
3609SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3610 PyObject *obj;
3611 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3612 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3613 return SWIG_Py_Void();
3614}
3615
3616SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3617 return SWIG_Python_InitShadowInstance(args);
3618}
3619
3620SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3621 PyObject *resultobj = 0;
3622 wxWindow *arg1 = (wxWindow *) 0 ;
3623 int arg2 = (int) -1 ;
3624 wxString const &arg3_defvalue = wxPyEmptyString ;
3625 wxString *arg3 = (wxString *) &arg3_defvalue ;
3626 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3627 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3628 wxSize const &arg5_defvalue = wxDefaultSize ;
3629 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3630 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3631 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3632 wxString *arg7 = (wxString *) &arg7_defvalue ;
3633 wxEditableListBox *result = 0 ;
3634 void *argp1 = 0 ;
3635 int res1 = 0 ;
3636 int val2 ;
3637 int ecode2 = 0 ;
3638 bool temp3 = false ;
3639 wxPoint temp4 ;
3640 wxSize temp5 ;
3641 long val6 ;
3642 int ecode6 = 0 ;
3643 bool temp7 = false ;
3644 PyObject * obj0 = 0 ;
3645 PyObject * obj1 = 0 ;
3646 PyObject * obj2 = 0 ;
3647 PyObject * obj3 = 0 ;
3648 PyObject * obj4 = 0 ;
3649 PyObject * obj5 = 0 ;
3650 PyObject * obj6 = 0 ;
3651 char * kwnames[] = {
3652 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3653 };
3654
3655 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3656 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3657 if (!SWIG_IsOK(res1)) {
3658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3659 }
3660 arg1 = reinterpret_cast< wxWindow * >(argp1);
3661 if (obj1) {
3662 ecode2 = SWIG_AsVal_int(obj1, &val2);
3663 if (!SWIG_IsOK(ecode2)) {
3664 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3665 }
3666 arg2 = static_cast< int >(val2);
3667 }
3668 if (obj2) {
44127b65 3669 {
0085ce49
RD
3670 arg3 = wxString_in_helper(obj2);
3671 if (arg3 == NULL) SWIG_fail;
3672 temp3 = true;
44127b65 3673 }
0085ce49
RD
3674 }
3675 if (obj3) {
4f89f6a3 3676 {
0085ce49
RD
3677 arg4 = &temp4;
3678 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 3679 }
0085ce49
RD
3680 }
3681 if (obj4) {
44127b65 3682 {
0085ce49
RD
3683 arg5 = &temp5;
3684 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 3685 }
0085ce49
RD
3686 }
3687 if (obj5) {
3688 ecode6 = SWIG_AsVal_long(obj5, &val6);
3689 if (!SWIG_IsOK(ecode6)) {
3690 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3691 }
3692 arg6 = static_cast< long >(val6);
3693 }
3694 if (obj6) {
44127b65 3695 {
0085ce49
RD
3696 arg7 = wxString_in_helper(obj6);
3697 if (arg7 == NULL) SWIG_fail;
3698 temp7 = true;
44127b65 3699 }
0085ce49
RD
3700 }
3701 {
3702 if (!wxPyCheckForApp()) SWIG_fail;
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3705 wxPyEndAllowThreads(__tstate);
3706 if (PyErr_Occurred()) SWIG_fail;
3707 }
3708 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3709 {
3710 if (temp3)
3711 delete arg3;
3712 }
3713 {
3714 if (temp7)
3715 delete arg7;
3716 }
3717 return resultobj;
3718fail:
3719 {
3720 if (temp3)
3721 delete arg3;
3722 }
3723 {
3724 if (temp7)
3725 delete arg7;
3726 }
3727 return NULL;
44127b65
RD
3728}
3729
3730
0085ce49
RD
3731SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3732 PyObject *resultobj = 0;
3733 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3734 wxArrayString *arg2 = 0 ;
3735 void *argp1 = 0 ;
3736 int res1 = 0 ;
3737 bool temp2 = false ;
3738 PyObject * obj0 = 0 ;
3739 PyObject * obj1 = 0 ;
3740 char * kwnames[] = {
3741 (char *) "self",(char *) "strings", NULL
3742 };
3743
3744 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3745 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3746 if (!SWIG_IsOK(res1)) {
3747 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3748 }
3749 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3750 {
3751 if (! PySequence_Check(obj1)) {
3752 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3753 SWIG_fail;
3754 }
3755 arg2 = new wxArrayString;
3756 temp2 = true;
3757 int i, len=PySequence_Length(obj1);
3758 for (i=0; i<len; i++) {
3759 PyObject* item = PySequence_GetItem(obj1, i);
3760 wxString* s = wxString_in_helper(item);
3761 if (PyErr_Occurred()) SWIG_fail;
3762 arg2->Add(*s);
3763 delete s;
3764 Py_DECREF(item);
44127b65 3765 }
0085ce49
RD
3766 }
3767 {
3768 PyThreadState* __tstate = wxPyBeginAllowThreads();
3769 (arg1)->SetStrings((wxArrayString const &)*arg2);
3770 wxPyEndAllowThreads(__tstate);
3771 if (PyErr_Occurred()) SWIG_fail;
3772 }
3773 resultobj = SWIG_Py_Void();
3774 {
3775 if (temp2) delete arg2;
3776 }
3777 return resultobj;
3778fail:
3779 {
3780 if (temp2) delete arg2;
3781 }
3782 return NULL;
44127b65
RD
3783}
3784
3785
0085ce49
RD
3786SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3787 PyObject *resultobj = 0;
3788 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3789 PyObject *result = 0 ;
3790 void *argp1 = 0 ;
3791 int res1 = 0 ;
3792 PyObject *swig_obj[1] ;
3793
3794 if (!args) SWIG_fail;
3795 swig_obj[0] = args;
3796 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3797 if (!SWIG_IsOK(res1)) {
3798 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3799 }
3800 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3801 {
3802 PyThreadState* __tstate = wxPyBeginAllowThreads();
3803 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3804 wxPyEndAllowThreads(__tstate);
3805 if (PyErr_Occurred()) SWIG_fail;
3806 }
3807 resultobj = result;
3808 return resultobj;
3809fail:
3810 return NULL;
44127b65
RD
3811}
3812
3813
0085ce49
RD
3814SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3815 PyObject *resultobj = 0;
3816 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3817 wxPyListCtrl *result = 0 ;
3818 void *argp1 = 0 ;
3819 int res1 = 0 ;
3820 PyObject *swig_obj[1] ;
3821
3822 if (!args) SWIG_fail;
3823 swig_obj[0] = args;
3824 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3825 if (!SWIG_IsOK(res1)) {
3826 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3827 }
3828 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyListCtrl, 0 | 0 );
3836 return resultobj;
3837fail:
3838 return NULL;
44127b65
RD
3839}
3840
3841
0085ce49
RD
3842SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3845 wxBitmapButton *result = 0 ;
3846 void *argp1 = 0 ;
3847 int res1 = 0 ;
3848 PyObject *swig_obj[1] ;
3849
3850 if (!args) SWIG_fail;
3851 swig_obj[0] = args;
3852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3853 if (!SWIG_IsOK(res1)) {
3854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3855 }
3856 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxBitmapButton *)(arg1)->GetDelButton();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3863 {
3864 resultobj = wxPyMake_wxObject(result, 0);
3865 }
3866 return resultobj;
3867fail:
3868 return NULL;
44127b65
RD
3869}
3870
3871
0085ce49
RD
3872SWIGINTERN PyObject *_wrap_EditableListBox_GetNewButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3873 PyObject *resultobj = 0;
3874 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3875 wxBitmapButton *result = 0 ;
3876 void *argp1 = 0 ;
3877 int res1 = 0 ;
3878 PyObject *swig_obj[1] ;
3879
3880 if (!args) SWIG_fail;
3881 swig_obj[0] = args;
3882 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3883 if (!SWIG_IsOK(res1)) {
3884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3885 }
3886 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (wxBitmapButton *)(arg1)->GetNewButton();
3890 wxPyEndAllowThreads(__tstate);
3891 if (PyErr_Occurred()) SWIG_fail;
3892 }
3893 {
3894 resultobj = wxPyMake_wxObject(result, 0);
3895 }
3896 return resultobj;
3897fail:
3898 return NULL;
44127b65
RD
3899}
3900
3901
0085ce49
RD
3902SWIGINTERN PyObject *_wrap_EditableListBox_GetUpButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3903 PyObject *resultobj = 0;
3904 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3905 wxBitmapButton *result = 0 ;
3906 void *argp1 = 0 ;
3907 int res1 = 0 ;
3908 PyObject *swig_obj[1] ;
3909
3910 if (!args) SWIG_fail;
3911 swig_obj[0] = args;
3912 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3913 if (!SWIG_IsOK(res1)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3915 }
3916 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (wxBitmapButton *)(arg1)->GetUpButton();
3920 wxPyEndAllowThreads(__tstate);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 {
3924 resultobj = wxPyMake_wxObject(result, 0);
3925 }
3926 return resultobj;
3927fail:
3928 return NULL;
44127b65
RD
3929}
3930
3931
0085ce49
RD
3932SWIGINTERN PyObject *_wrap_EditableListBox_GetDownButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3933 PyObject *resultobj = 0;
3934 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3935 wxBitmapButton *result = 0 ;
3936 void *argp1 = 0 ;
3937 int res1 = 0 ;
3938 PyObject *swig_obj[1] ;
3939
3940 if (!args) SWIG_fail;
3941 swig_obj[0] = args;
3942 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3943 if (!SWIG_IsOK(res1)) {
3944 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3945 }
3946 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (wxBitmapButton *)(arg1)->GetDownButton();
3950 wxPyEndAllowThreads(__tstate);
3951 if (PyErr_Occurred()) SWIG_fail;
3952 }
3953 {
3954 resultobj = wxPyMake_wxObject(result, 0);
3955 }
3956 return resultobj;
3957fail:
3958 return NULL;
44127b65
RD
3959}
3960
3961
0085ce49
RD
3962SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3963 PyObject *resultobj = 0;
3964 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3965 wxBitmapButton *result = 0 ;
3966 void *argp1 = 0 ;
3967 int res1 = 0 ;
3968 PyObject *swig_obj[1] ;
3969
3970 if (!args) SWIG_fail;
3971 swig_obj[0] = args;
3972 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3973 if (!SWIG_IsOK(res1)) {
3974 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3975 }
3976 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (wxBitmapButton *)(arg1)->GetEditButton();
3980 wxPyEndAllowThreads(__tstate);
3981 if (PyErr_Occurred()) SWIG_fail;
3982 }
3983 {
3984 resultobj = wxPyMake_wxObject(result, 0);
3985 }
3986 return resultobj;
3987fail:
3988 return NULL;
3989}
3990
3991
3992SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3993 PyObject *obj;
3994 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3995 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
3996 return SWIG_Py_Void();
3997}
3998
3999SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4000 return SWIG_Python_InitShadowInstance(args);
4001}
4002
4003SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj = 0;
4005 wxWindow *arg1 = (wxWindow *) 0 ;
4006 int arg2 ;
4007 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4008 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4009 wxSize const &arg4_defvalue = wxDefaultSize ;
4010 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4011 long arg5 = (long) wxTR_HAS_BUTTONS ;
4012 wxRemotelyScrolledTreeCtrl *result = 0 ;
4013 void *argp1 = 0 ;
4014 int res1 = 0 ;
4015 int val2 ;
4016 int ecode2 = 0 ;
4017 wxPoint temp3 ;
4018 wxSize temp4 ;
4019 long val5 ;
4020 int ecode5 = 0 ;
4021 PyObject * obj0 = 0 ;
4022 PyObject * obj1 = 0 ;
4023 PyObject * obj2 = 0 ;
4024 PyObject * obj3 = 0 ;
4025 PyObject * obj4 = 0 ;
4026 char * kwnames[] = {
4027 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4028 };
4029
4030 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4031 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4032 if (!SWIG_IsOK(res1)) {
4033 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4034 }
4035 arg1 = reinterpret_cast< wxWindow * >(argp1);
4036 ecode2 = SWIG_AsVal_int(obj1, &val2);
4037 if (!SWIG_IsOK(ecode2)) {
4038 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4039 }
4040 arg2 = static_cast< int >(val2);
4041 if (obj2) {
44127b65 4042 {
0085ce49
RD
4043 arg3 = &temp3;
4044 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4045 }
0085ce49
RD
4046 }
4047 if (obj3) {
44127b65 4048 {
0085ce49
RD
4049 arg4 = &temp4;
4050 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4051 }
0085ce49
RD
4052 }
4053 if (obj4) {
4054 ecode5 = SWIG_AsVal_long(obj4, &val5);
4055 if (!SWIG_IsOK(ecode5)) {
4056 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4057 }
4058 arg5 = static_cast< long >(val5);
4059 }
4060 {
4061 if (!wxPyCheckForApp()) SWIG_fail;
4062 PyThreadState* __tstate = wxPyBeginAllowThreads();
4063 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4064 wxPyEndAllowThreads(__tstate);
4065 if (PyErr_Occurred()) SWIG_fail;
4066 }
4067 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4068 return resultobj;
4069fail:
4070 return NULL;
44127b65
RD
4071}
4072
4073
0085ce49
RD
4074SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4075 PyObject *resultobj = 0;
4076 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4077 void *argp1 = 0 ;
4078 int res1 = 0 ;
4079 PyObject *swig_obj[1] ;
4080
4081 if (!args) SWIG_fail;
4082 swig_obj[0] = args;
4083 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4084 if (!SWIG_IsOK(res1)) {
4085 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4086 }
4087 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4088 {
4089 PyThreadState* __tstate = wxPyBeginAllowThreads();
4090 (arg1)->HideVScrollbar();
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 resultobj = SWIG_Py_Void();
4095 return resultobj;
4096fail:
4097 return NULL;
44127b65
RD
4098}
4099
4100
0085ce49
RD
4101SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4102 PyObject *resultobj = 0;
4103 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4104 void *argp1 = 0 ;
4105 int res1 = 0 ;
4106 PyObject *swig_obj[1] ;
4107
4108 if (!args) SWIG_fail;
4109 swig_obj[0] = args;
4110 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4111 if (!SWIG_IsOK(res1)) {
4112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4113 }
4114 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4115 {
4116 PyThreadState* __tstate = wxPyBeginAllowThreads();
4117 (arg1)->AdjustRemoteScrollbars();
4118 wxPyEndAllowThreads(__tstate);
4119 if (PyErr_Occurred()) SWIG_fail;
4120 }
4121 resultobj = SWIG_Py_Void();
4122 return resultobj;
4123fail:
4124 return NULL;
44127b65
RD
4125}
4126
4127
0085ce49
RD
4128SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4129 PyObject *resultobj = 0;
4130 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4131 wxScrolledWindow *result = 0 ;
4132 void *argp1 = 0 ;
4133 int res1 = 0 ;
4134 PyObject *swig_obj[1] ;
4135
4136 if (!args) SWIG_fail;
4137 swig_obj[0] = args;
4138 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4139 if (!SWIG_IsOK(res1)) {
4140 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4141 }
4142 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4143 {
4144 PyThreadState* __tstate = wxPyBeginAllowThreads();
4145 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4146 wxPyEndAllowThreads(__tstate);
4147 if (PyErr_Occurred()) SWIG_fail;
4148 }
4149 {
4150 resultobj = wxPyMake_wxObject(result, 0);
4151 }
4152 return resultobj;
4153fail:
4154 return NULL;
4155}
4156
4157
4158SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4159 PyObject *resultobj = 0;
4160 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4161 int arg2 ;
4162 int arg3 ;
4163 void *argp1 = 0 ;
4164 int res1 = 0 ;
4165 int val2 ;
4166 int ecode2 = 0 ;
4167 int val3 ;
4168 int ecode3 = 0 ;
4169 PyObject * obj0 = 0 ;
4170 PyObject * obj1 = 0 ;
4171 PyObject * obj2 = 0 ;
4172 char * kwnames[] = {
4173 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4174 };
4175
4176 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4177 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4178 if (!SWIG_IsOK(res1)) {
4179 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4180 }
4181 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4182 ecode2 = SWIG_AsVal_int(obj1, &val2);
4183 if (!SWIG_IsOK(ecode2)) {
4184 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4185 }
4186 arg2 = static_cast< int >(val2);
4187 ecode3 = SWIG_AsVal_int(obj2, &val3);
4188 if (!SWIG_IsOK(ecode3)) {
4189 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4190 }
4191 arg3 = static_cast< int >(val3);
4192 {
4193 PyThreadState* __tstate = wxPyBeginAllowThreads();
4194 (arg1)->ScrollToLine(arg2,arg3);
4195 wxPyEndAllowThreads(__tstate);
4196 if (PyErr_Occurred()) SWIG_fail;
4197 }
4198 resultobj = SWIG_Py_Void();
4199 return resultobj;
4200fail:
4201 return NULL;
4202}
4203
4204
4205SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj = 0;
4207 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4208 wxWindow *arg2 = (wxWindow *) 0 ;
4209 void *argp1 = 0 ;
4210 int res1 = 0 ;
4211 void *argp2 = 0 ;
4212 int res2 = 0 ;
4213 PyObject * obj0 = 0 ;
4214 PyObject * obj1 = 0 ;
4215 char * kwnames[] = {
4216 (char *) "self",(char *) "companion", NULL
4217 };
4218
4219 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4220 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4221 if (!SWIG_IsOK(res1)) {
4222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4223 }
4224 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4225 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4226 if (!SWIG_IsOK(res2)) {
4227 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4228 }
4229 arg2 = reinterpret_cast< wxWindow * >(argp2);
4230 {
4231 PyThreadState* __tstate = wxPyBeginAllowThreads();
4232 (arg1)->SetCompanionWindow(arg2);
4233 wxPyEndAllowThreads(__tstate);
4234 if (PyErr_Occurred()) SWIG_fail;
4235 }
4236 resultobj = SWIG_Py_Void();
4237 return resultobj;
4238fail:
4239 return NULL;
44127b65
RD
4240}
4241
4242
0085ce49
RD
4243SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4244 PyObject *resultobj = 0;
4245 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4246 wxWindow *result = 0 ;
4247 void *argp1 = 0 ;
4248 int res1 = 0 ;
4249 PyObject *swig_obj[1] ;
4250
4251 if (!args) SWIG_fail;
4252 swig_obj[0] = args;
4253 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4254 if (!SWIG_IsOK(res1)) {
4255 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4256 }
4257 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4261 wxPyEndAllowThreads(__tstate);
4262 if (PyErr_Occurred()) SWIG_fail;
4263 }
4264 {
4265 resultobj = wxPyMake_wxObject(result, 0);
4266 }
4267 return resultobj;
4268fail:
4269 return NULL;
4270}
4271
4272
4273SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4274 PyObject *obj;
4275 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4276 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4277 return SWIG_Py_Void();
4278}
4279
4280SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4281 return SWIG_Python_InitShadowInstance(args);
4282}
4283
4284SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj = 0;
4286 wxWindow *arg1 = (wxWindow *) 0 ;
4287 int arg2 = (int) -1 ;
4288 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4289 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4290 wxSize const &arg4_defvalue = wxDefaultSize ;
4291 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4292 long arg5 = (long) 0 ;
4293 wxPyTreeCompanionWindow *result = 0 ;
4294 void *argp1 = 0 ;
4295 int res1 = 0 ;
4296 int val2 ;
4297 int ecode2 = 0 ;
4298 wxPoint temp3 ;
4299 wxSize temp4 ;
4300 long val5 ;
4301 int ecode5 = 0 ;
4302 PyObject * obj0 = 0 ;
4303 PyObject * obj1 = 0 ;
4304 PyObject * obj2 = 0 ;
4305 PyObject * obj3 = 0 ;
4306 PyObject * obj4 = 0 ;
4307 char * kwnames[] = {
4308 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4309 };
4310
4311 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4312 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4313 if (!SWIG_IsOK(res1)) {
4314 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4315 }
4316 arg1 = reinterpret_cast< wxWindow * >(argp1);
4317 if (obj1) {
4318 ecode2 = SWIG_AsVal_int(obj1, &val2);
4319 if (!SWIG_IsOK(ecode2)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4321 }
4322 arg2 = static_cast< int >(val2);
4323 }
4324 if (obj2) {
44127b65 4325 {
0085ce49
RD
4326 arg3 = &temp3;
4327 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4328 }
0085ce49
RD
4329 }
4330 if (obj3) {
44127b65 4331 {
0085ce49
RD
4332 arg4 = &temp4;
4333 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4334 }
0085ce49
RD
4335 }
4336 if (obj4) {
4337 ecode5 = SWIG_AsVal_long(obj4, &val5);
4338 if (!SWIG_IsOK(ecode5)) {
4339 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4340 }
4341 arg5 = static_cast< long >(val5);
4342 }
4343 {
4344 if (!wxPyCheckForApp()) SWIG_fail;
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4351 return resultobj;
4352fail:
4353 return NULL;
4354}
4355
4356
4357SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4358 PyObject *resultobj = 0;
4359 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4360 PyObject *arg2 = (PyObject *) 0 ;
4361 PyObject *arg3 = (PyObject *) 0 ;
4362 void *argp1 = 0 ;
4363 int res1 = 0 ;
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 PyObject * obj2 = 0 ;
4367 char * kwnames[] = {
4368 (char *) "self",(char *) "self",(char *) "_class", NULL
4369 };
4370
4371 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4372 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4373 if (!SWIG_IsOK(res1)) {
4374 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4375 }
4376 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4377 arg2 = obj1;
4378 arg3 = obj2;
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->_setCallbackInfo(arg2,arg3);
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = SWIG_Py_Void();
4386 return resultobj;
4387fail:
4388 return NULL;
44127b65
RD
4389}
4390
4391
0085ce49
RD
4392SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4393 PyObject *resultobj = 0;
4394 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4395 wxRemotelyScrolledTreeCtrl *result = 0 ;
4396 void *argp1 = 0 ;
4397 int res1 = 0 ;
4398 PyObject *swig_obj[1] ;
4399
4400 if (!args) SWIG_fail;
4401 swig_obj[0] = args;
4402 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4403 if (!SWIG_IsOK(res1)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4405 }
4406 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4407 {
4408 PyThreadState* __tstate = wxPyBeginAllowThreads();
4409 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4410 wxPyEndAllowThreads(__tstate);
4411 if (PyErr_Occurred()) SWIG_fail;
4412 }
4413 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4414 return resultobj;
4415fail:
4416 return NULL;
4417}
4418
4419
4420SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4421 PyObject *resultobj = 0;
4422 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4423 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4424 void *argp1 = 0 ;
4425 int res1 = 0 ;
4426 void *argp2 = 0 ;
4427 int res2 = 0 ;
4428 PyObject * obj0 = 0 ;
4429 PyObject * obj1 = 0 ;
4430 char * kwnames[] = {
4431 (char *) "self",(char *) "treeCtrl", NULL
4432 };
4433
4434 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4435 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4436 if (!SWIG_IsOK(res1)) {
4437 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4438 }
4439 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4440 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4441 if (!SWIG_IsOK(res2)) {
4442 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4443 }
4444 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4445 {
4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4447 (arg1)->SetTreeCtrl(arg2);
4448 wxPyEndAllowThreads(__tstate);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 resultobj = SWIG_Py_Void();
4452 return resultobj;
4453fail:
4454 return NULL;
4455}
4456
4457
4458SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4459 PyObject *obj;
4460 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4461 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4462 return SWIG_Py_Void();
4463}
4464
4465SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4466 return SWIG_Python_InitShadowInstance(args);
4467}
4468
4469SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4470 PyObject *resultobj = 0;
4471 wxWindow *arg1 = (wxWindow *) 0 ;
4472 int arg2 = (int) -1 ;
4473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4475 wxSize const &arg4_defvalue = wxDefaultSize ;
4476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4477 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4478 wxThinSplitterWindow *result = 0 ;
4479 void *argp1 = 0 ;
4480 int res1 = 0 ;
4481 int val2 ;
4482 int ecode2 = 0 ;
4483 wxPoint temp3 ;
4484 wxSize temp4 ;
4485 long val5 ;
4486 int ecode5 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 PyObject * obj2 = 0 ;
4490 PyObject * obj3 = 0 ;
4491 PyObject * obj4 = 0 ;
4492 char * kwnames[] = {
4493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4494 };
4495
4496 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4497 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4498 if (!SWIG_IsOK(res1)) {
4499 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4500 }
4501 arg1 = reinterpret_cast< wxWindow * >(argp1);
4502 if (obj1) {
4503 ecode2 = SWIG_AsVal_int(obj1, &val2);
4504 if (!SWIG_IsOK(ecode2)) {
4505 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4506 }
4507 arg2 = static_cast< int >(val2);
4508 }
4509 if (obj2) {
44127b65 4510 {
0085ce49
RD
4511 arg3 = &temp3;
4512 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4513 }
0085ce49
RD
4514 }
4515 if (obj3) {
412d302d 4516 {
0085ce49
RD
4517 arg4 = &temp4;
4518 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
412d302d 4519 }
0085ce49
RD
4520 }
4521 if (obj4) {
4522 ecode5 = SWIG_AsVal_long(obj4, &val5);
4523 if (!SWIG_IsOK(ecode5)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4525 }
4526 arg5 = static_cast< long >(val5);
4527 }
4528 {
4529 if (!wxPyCheckForApp()) SWIG_fail;
4530 PyThreadState* __tstate = wxPyBeginAllowThreads();
4531 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4532 wxPyEndAllowThreads(__tstate);
4533 if (PyErr_Occurred()) SWIG_fail;
4534 }
4535 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4536 return resultobj;
4537fail:
4538 return NULL;
4539}
4540
4541
4542SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4543 PyObject *obj;
4544 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4545 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4546 return SWIG_Py_Void();
4547}
4548
4549SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4550 return SWIG_Python_InitShadowInstance(args);
4551}
4552
4553SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj = 0;
4555 wxWindow *arg1 = (wxWindow *) 0 ;
4556 int arg2 = (int) -1 ;
4557 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4558 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4559 wxSize const &arg4_defvalue = wxDefaultSize ;
4560 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4561 long arg5 = (long) 0 ;
4562 wxSplitterScrolledWindow *result = 0 ;
4563 void *argp1 = 0 ;
4564 int res1 = 0 ;
4565 int val2 ;
4566 int ecode2 = 0 ;
4567 wxPoint temp3 ;
4568 wxSize temp4 ;
4569 long val5 ;
4570 int ecode5 = 0 ;
4571 PyObject * obj0 = 0 ;
4572 PyObject * obj1 = 0 ;
4573 PyObject * obj2 = 0 ;
4574 PyObject * obj3 = 0 ;
4575 PyObject * obj4 = 0 ;
4576 char * kwnames[] = {
4577 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4578 };
4579
4580 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4581 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4582 if (!SWIG_IsOK(res1)) {
4583 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4584 }
4585 arg1 = reinterpret_cast< wxWindow * >(argp1);
4586 if (obj1) {
4587 ecode2 = SWIG_AsVal_int(obj1, &val2);
4588 if (!SWIG_IsOK(ecode2)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4590 }
4591 arg2 = static_cast< int >(val2);
4592 }
4593 if (obj2) {
3004cfd8 4594 {
0085ce49
RD
4595 arg3 = &temp3;
4596 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3004cfd8 4597 }
0085ce49
RD
4598 }
4599 if (obj3) {
3004cfd8 4600 {
0085ce49
RD
4601 arg4 = &temp4;
4602 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3004cfd8 4603 }
0085ce49
RD
4604 }
4605 if (obj4) {
4606 ecode5 = SWIG_AsVal_long(obj4, &val5);
4607 if (!SWIG_IsOK(ecode5)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4609 }
4610 arg5 = static_cast< long >(val5);
4611 }
4612 {
4613 if (!wxPyCheckForApp()) SWIG_fail;
4614 PyThreadState* __tstate = wxPyBeginAllowThreads();
4615 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4616 wxPyEndAllowThreads(__tstate);
4617 if (PyErr_Occurred()) SWIG_fail;
4618 }
4619 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4620 return resultobj;
4621fail:
4622 return NULL;
4623}
4624
4625
4626SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4627 PyObject *obj;
4628 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4629 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4630 return SWIG_Py_Void();
4631}
4632
4633SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4634 return SWIG_Python_InitShadowInstance(args);
4635}
4636
4637SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj = 0;
4639 wxWindow *arg1 = (wxWindow *) 0 ;
4640 int arg2 = (int) -1 ;
4641 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4642 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4643 wxSize const &arg4_defvalue = wxDefaultSize ;
4644 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4645 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4646 wxLEDNumberCtrl *result = 0 ;
4647 void *argp1 = 0 ;
4648 int res1 = 0 ;
4649 int val2 ;
4650 int ecode2 = 0 ;
4651 wxPoint temp3 ;
4652 wxSize temp4 ;
4653 long val5 ;
4654 int ecode5 = 0 ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj1 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 PyObject * obj3 = 0 ;
4659 PyObject * obj4 = 0 ;
4660 char * kwnames[] = {
4661 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4662 };
4663
4664 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4665 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4666 if (!SWIG_IsOK(res1)) {
4667 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4668 }
4669 arg1 = reinterpret_cast< wxWindow * >(argp1);
4670 if (obj1) {
4671 ecode2 = SWIG_AsVal_int(obj1, &val2);
4672 if (!SWIG_IsOK(ecode2)) {
4673 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4674 }
4675 arg2 = static_cast< int >(val2);
4676 }
4677 if (obj2) {
44127b65 4678 {
0085ce49
RD
4679 arg3 = &temp3;
4680 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4681 }
0085ce49
RD
4682 }
4683 if (obj3) {
44127b65 4684 {
0085ce49
RD
4685 arg4 = &temp4;
4686 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4687 }
0085ce49
RD
4688 }
4689 if (obj4) {
4690 ecode5 = SWIG_AsVal_long(obj4, &val5);
4691 if (!SWIG_IsOK(ecode5)) {
4692 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4693 }
4694 arg5 = static_cast< long >(val5);
4695 }
4696 {
4697 if (!wxPyCheckForApp()) SWIG_fail;
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4704 return resultobj;
4705fail:
4706 return NULL;
44127b65
RD
4707}
4708
4709
0085ce49
RD
4710SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4711 PyObject *resultobj = 0;
4712 wxLEDNumberCtrl *result = 0 ;
4713
4714 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4715 {
4716 if (!wxPyCheckForApp()) SWIG_fail;
4717 PyThreadState* __tstate = wxPyBeginAllowThreads();
4718 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4719 wxPyEndAllowThreads(__tstate);
4720 if (PyErr_Occurred()) SWIG_fail;
4721 }
4722 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4723 return resultobj;
4724fail:
4725 return NULL;
4726}
4727
4728
4729SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4730 PyObject *resultobj = 0;
4731 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4732 wxWindow *arg2 = (wxWindow *) 0 ;
4733 int arg3 = (int) -1 ;
4734 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4735 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4736 wxSize const &arg5_defvalue = wxDefaultSize ;
4737 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4738 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4739 bool result;
4740 void *argp1 = 0 ;
4741 int res1 = 0 ;
4742 void *argp2 = 0 ;
4743 int res2 = 0 ;
4744 int val3 ;
4745 int ecode3 = 0 ;
4746 wxPoint temp4 ;
4747 wxSize temp5 ;
4748 long val6 ;
4749 int ecode6 = 0 ;
4750 PyObject * obj0 = 0 ;
4751 PyObject * obj1 = 0 ;
4752 PyObject * obj2 = 0 ;
4753 PyObject * obj3 = 0 ;
4754 PyObject * obj4 = 0 ;
4755 PyObject * obj5 = 0 ;
4756 char * kwnames[] = {
4757 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4758 };
4759
4760 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4761 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4762 if (!SWIG_IsOK(res1)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4764 }
4765 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4766 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4767 if (!SWIG_IsOK(res2)) {
4768 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4769 }
4770 arg2 = reinterpret_cast< wxWindow * >(argp2);
4771 if (obj2) {
4772 ecode3 = SWIG_AsVal_int(obj2, &val3);
4773 if (!SWIG_IsOK(ecode3)) {
4774 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4775 }
4776 arg3 = static_cast< int >(val3);
4777 }
4778 if (obj3) {
44127b65 4779 {
0085ce49
RD
4780 arg4 = &temp4;
4781 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 4782 }
0085ce49
RD
4783 }
4784 if (obj4) {
44127b65 4785 {
0085ce49
RD
4786 arg5 = &temp5;
4787 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 4788 }
0085ce49
RD
4789 }
4790 if (obj5) {
4791 ecode6 = SWIG_AsVal_long(obj5, &val6);
4792 if (!SWIG_IsOK(ecode6)) {
4793 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4794 }
4795 arg6 = static_cast< long >(val6);
4796 }
4797 {
4798 PyThreadState* __tstate = wxPyBeginAllowThreads();
4799 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4800 wxPyEndAllowThreads(__tstate);
4801 if (PyErr_Occurred()) SWIG_fail;
4802 }
4803 {
4804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4805 }
4806 return resultobj;
4807fail:
4808 return NULL;
44127b65
RD
4809}
4810
4811
0085ce49
RD
4812SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4813 PyObject *resultobj = 0;
4814 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4815 wxLEDValueAlign result;
4816 void *argp1 = 0 ;
4817 int res1 = 0 ;
4818 PyObject *swig_obj[1] ;
4819
4820 if (!args) SWIG_fail;
4821 swig_obj[0] = args;
4822 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4823 if (!SWIG_IsOK(res1)) {
4824 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4825 }
4826 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 resultobj = SWIG_From_int(static_cast< int >(result));
4834 return resultobj;
4835fail:
4836 return NULL;
44127b65
RD
4837}
4838
4839
0085ce49
RD
4840SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4841 PyObject *resultobj = 0;
4842 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4843 bool result;
4844 void *argp1 = 0 ;
4845 int res1 = 0 ;
4846 PyObject *swig_obj[1] ;
4847
4848 if (!args) SWIG_fail;
4849 swig_obj[0] = args;
4850 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4851 if (!SWIG_IsOK(res1)) {
4852 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4853 }
4854 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4855 {
4856 PyThreadState* __tstate = wxPyBeginAllowThreads();
4857 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4858 wxPyEndAllowThreads(__tstate);
4859 if (PyErr_Occurred()) SWIG_fail;
4860 }
4861 {
4862 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4863 }
4864 return resultobj;
4865fail:
4866 return NULL;
44127b65
RD
4867}
4868
4869
0085ce49
RD
4870SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4871 PyObject *resultobj = 0;
4872 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4873 wxString *result = 0 ;
4874 void *argp1 = 0 ;
4875 int res1 = 0 ;
4876 PyObject *swig_obj[1] ;
4877
4878 if (!args) SWIG_fail;
4879 swig_obj[0] = args;
4880 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4881 if (!SWIG_IsOK(res1)) {
4882 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4883 }
4884 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 {
4888 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4889 result = (wxString *) &_result_ref;
44127b65 4890 }
0085ce49
RD
4891 wxPyEndAllowThreads(__tstate);
4892 if (PyErr_Occurred()) SWIG_fail;
4893 }
4894 {
4895#if wxUSE_UNICODE
4896 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4897#else
4898 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4899#endif
4900 }
4901 return resultobj;
4902fail:
4903 return NULL;
4904}
4905
4906
4907SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4908 PyObject *resultobj = 0;
4909 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4910 wxLEDValueAlign arg2 ;
4911 bool arg3 = (bool) true ;
4912 void *argp1 = 0 ;
4913 int res1 = 0 ;
4914 int val2 ;
4915 int ecode2 = 0 ;
4916 bool val3 ;
4917 int ecode3 = 0 ;
4918 PyObject * obj0 = 0 ;
4919 PyObject * obj1 = 0 ;
4920 PyObject * obj2 = 0 ;
4921 char * kwnames[] = {
4922 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4923 };
4924
4925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4927 if (!SWIG_IsOK(res1)) {
4928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4929 }
4930 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4931 ecode2 = SWIG_AsVal_int(obj1, &val2);
4932 if (!SWIG_IsOK(ecode2)) {
4933 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4934 }
4935 arg2 = static_cast< wxLEDValueAlign >(val2);
4936 if (obj2) {
4937 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4938 if (!SWIG_IsOK(ecode3)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4940 }
4941 arg3 = static_cast< bool >(val3);
4942 }
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->SetAlignment(arg2,arg3);
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 resultobj = SWIG_Py_Void();
4950 return resultobj;
4951fail:
4952 return NULL;
4953}
4954
4955
4956SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj = 0;
4958 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4959 bool arg2 ;
4960 bool arg3 = (bool) true ;
4961 void *argp1 = 0 ;
4962 int res1 = 0 ;
4963 bool val2 ;
4964 int ecode2 = 0 ;
4965 bool val3 ;
4966 int ecode3 = 0 ;
4967 PyObject * obj0 = 0 ;
4968 PyObject * obj1 = 0 ;
4969 PyObject * obj2 = 0 ;
4970 char * kwnames[] = {
4971 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
4972 };
4973
4974 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4975 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4976 if (!SWIG_IsOK(res1)) {
4977 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4978 }
4979 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4980 ecode2 = SWIG_AsVal_bool(obj1, &val2);
4981 if (!SWIG_IsOK(ecode2)) {
4982 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
4983 }
4984 arg2 = static_cast< bool >(val2);
4985 if (obj2) {
4986 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4987 if (!SWIG_IsOK(ecode3)) {
4988 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
4989 }
4990 arg3 = static_cast< bool >(val3);
4991 }
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 (arg1)->SetDrawFaded(arg2,arg3);
4995 wxPyEndAllowThreads(__tstate);
4996 if (PyErr_Occurred()) SWIG_fail;
4997 }
4998 resultobj = SWIG_Py_Void();
4999 return resultobj;
5000fail:
5001 return NULL;
5002}
5003
5004
5005SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5006 PyObject *resultobj = 0;
5007 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5008 wxString *arg2 = 0 ;
5009 bool arg3 = (bool) true ;
5010 void *argp1 = 0 ;
5011 int res1 = 0 ;
5012 bool temp2 = false ;
5013 bool val3 ;
5014 int ecode3 = 0 ;
5015 PyObject * obj0 = 0 ;
5016 PyObject * obj1 = 0 ;
5017 PyObject * obj2 = 0 ;
5018 char * kwnames[] = {
5019 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5020 };
5021
5022 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5023 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5024 if (!SWIG_IsOK(res1)) {
5025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5026 }
5027 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5028 {
5029 arg2 = wxString_in_helper(obj1);
5030 if (arg2 == NULL) SWIG_fail;
5031 temp2 = true;
5032 }
5033 if (obj2) {
5034 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5035 if (!SWIG_IsOK(ecode3)) {
5036 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5037 }
5038 arg3 = static_cast< bool >(val3);
5039 }
5040 {
5041 PyThreadState* __tstate = wxPyBeginAllowThreads();
5042 (arg1)->SetValue((wxString const &)*arg2,arg3);
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 resultobj = SWIG_Py_Void();
5047 {
5048 if (temp2)
5049 delete arg2;
5050 }
5051 return resultobj;
5052fail:
5053 {
5054 if (temp2)
5055 delete arg2;
5056 }
5057 return NULL;
5058}
5059
5060
5061SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5062 PyObject *obj;
5063 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5064 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5065 return SWIG_Py_Void();
5066}
5067
5068SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5069 return SWIG_Python_InitShadowInstance(args);
5070}
5071
5072SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5073 PyObject *resultobj = 0;
5074 wxString const &arg1_defvalue = wxPyEmptyString ;
5075 wxString *arg1 = (wxString *) &arg1_defvalue ;
5076 int arg2 = (int) -1 ;
5077 size_t arg3 = (size_t) 100 ;
5078 bool arg4 = (bool) true ;
5079 wxTreeListColumnAlign arg5 = (wxTreeListColumnAlign) wxTL_ALIGN_LEFT ;
5080 wxTreeListColumnInfo *result = 0 ;
5081 bool temp1 = false ;
5082 int val2 ;
5083 int ecode2 = 0 ;
5084 size_t val3 ;
5085 int ecode3 = 0 ;
5086 bool val4 ;
5087 int ecode4 = 0 ;
5088 int val5 ;
5089 int ecode5 = 0 ;
5090 PyObject * obj0 = 0 ;
5091 PyObject * obj1 = 0 ;
5092 PyObject * obj2 = 0 ;
5093 PyObject * obj3 = 0 ;
5094 PyObject * obj4 = 0 ;
5095 char * kwnames[] = {
5096 (char *) "text",(char *) "image",(char *) "width",(char *) "shown",(char *) "alignment", NULL
5097 };
5098
5099 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
5100 if (obj0) {
44127b65 5101 {
0085ce49
RD
5102 arg1 = wxString_in_helper(obj0);
5103 if (arg1 == NULL) SWIG_fail;
5104 temp1 = true;
44127b65 5105 }
0085ce49
RD
5106 }
5107 if (obj1) {
5108 ecode2 = SWIG_AsVal_int(obj1, &val2);
5109 if (!SWIG_IsOK(ecode2)) {
5110 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5111 }
5112 arg2 = static_cast< int >(val2);
5113 }
5114 if (obj2) {
5115 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
5116 if (!SWIG_IsOK(ecode3)) {
5117 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "size_t""'");
5118 }
5119 arg3 = static_cast< size_t >(val3);
5120 }
5121 if (obj3) {
5122 ecode4 = SWIG_AsVal_bool(obj3, &val4);
5123 if (!SWIG_IsOK(ecode4)) {
5124 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "bool""'");
5125 }
5126 arg4 = static_cast< bool >(val4);
5127 }
5128 if (obj4) {
5129 ecode5 = SWIG_AsVal_int(obj4, &val5);
5130 if (!SWIG_IsOK(ecode5)) {
5131 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "wxTreeListColumnAlign""'");
5132 }
5133 arg5 = static_cast< wxTreeListColumnAlign >(val5);
5134 }
5135 {
5136 PyThreadState* __tstate = wxPyBeginAllowThreads();
5137 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5);
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5142 {
5143 if (temp1)
5144 delete arg1;
5145 }
5146 return resultobj;
5147fail:
5148 {
5149 if (temp1)
5150 delete arg1;
5151 }
5152 return NULL;
44127b65
RD
5153}
5154
5155
01f6b6d3
RD
5156SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5157 PyObject *resultobj = 0;
5158 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5159 void *argp1 = 0 ;
5160 int res1 = 0 ;
5161 PyObject *swig_obj[1] ;
5162
5163 if (!args) SWIG_fail;
5164 swig_obj[0] = args;
5165 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5166 if (!SWIG_IsOK(res1)) {
5167 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5168 }
5169 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 delete arg1;
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = SWIG_Py_Void();
5178 return resultobj;
5179fail:
5180 return NULL;
5181}
5182
5183
0085ce49
RD
5184SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5185 PyObject *resultobj = 0;
5186 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5187 bool result;
5188 void *argp1 = 0 ;
5189 int res1 = 0 ;
5190 PyObject *swig_obj[1] ;
5191
5192 if (!args) SWIG_fail;
5193 swig_obj[0] = args;
5194 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5195 if (!SWIG_IsOK(res1)) {
5196 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5197 }
5198 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5199 {
5200 PyThreadState* __tstate = wxPyBeginAllowThreads();
5201 result = (bool)((wxTreeListColumnInfo const *)arg1)->GetShown();
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 {
5206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5207 }
5208 return resultobj;
5209fail:
5210 return NULL;
44127b65
RD
5211}
5212
5213
0085ce49
RD
5214SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5215 PyObject *resultobj = 0;
5216 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5217 wxTreeListColumnAlign result;
5218 void *argp1 = 0 ;
5219 int res1 = 0 ;
5220 PyObject *swig_obj[1] ;
5221
5222 if (!args) SWIG_fail;
5223 swig_obj[0] = args;
5224 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5225 if (!SWIG_IsOK(res1)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5227 }
5228 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5229 {
5230 PyThreadState* __tstate = wxPyBeginAllowThreads();
5231 result = (wxTreeListColumnAlign)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
5232 wxPyEndAllowThreads(__tstate);
5233 if (PyErr_Occurred()) SWIG_fail;
5234 }
5235 resultobj = SWIG_From_int(static_cast< int >(result));
5236 return resultobj;
5237fail:
5238 return NULL;
44127b65
RD
5239}
5240
5241
0085ce49
RD
5242SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5243 PyObject *resultobj = 0;
5244 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5245 wxString result;
5246 void *argp1 = 0 ;
5247 int res1 = 0 ;
5248 PyObject *swig_obj[1] ;
5249
5250 if (!args) SWIG_fail;
5251 swig_obj[0] = args;
5252 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5253 if (!SWIG_IsOK(res1)) {
5254 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5255 }
5256 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5257 {
5258 PyThreadState* __tstate = wxPyBeginAllowThreads();
5259 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 {
5264#if wxUSE_UNICODE
5265 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5266#else
5267 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5268#endif
5269 }
5270 return resultobj;
5271fail:
5272 return NULL;
44127b65
RD
5273}
5274
5275
0085ce49
RD
5276SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5277 PyObject *resultobj = 0;
5278 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5279 int result;
5280 void *argp1 = 0 ;
5281 int res1 = 0 ;
5282 PyObject *swig_obj[1] ;
5283
5284 if (!args) SWIG_fail;
5285 swig_obj[0] = args;
5286 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5287 if (!SWIG_IsOK(res1)) {
5288 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5289 }
5290 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5291 {
5292 PyThreadState* __tstate = wxPyBeginAllowThreads();
5293 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 resultobj = SWIG_From_int(static_cast< int >(result));
5298 return resultobj;
5299fail:
5300 return NULL;
44127b65
RD
5301}
5302
5303
0085ce49
RD
5304SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5305 PyObject *resultobj = 0;
5306 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5307 int result;
5308 void *argp1 = 0 ;
5309 int res1 = 0 ;
5310 PyObject *swig_obj[1] ;
5311
5312 if (!args) SWIG_fail;
5313 swig_obj[0] = args;
5314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5315 if (!SWIG_IsOK(res1)) {
5316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5317 }
5318 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 resultobj = SWIG_From_int(static_cast< int >(result));
5326 return resultobj;
5327fail:
5328 return NULL;
44127b65
RD
5329}
5330
5331
0085ce49
RD
5332SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5333 PyObject *resultobj = 0;
5334 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5335 size_t result;
5336 void *argp1 = 0 ;
5337 int res1 = 0 ;
5338 PyObject *swig_obj[1] ;
5339
5340 if (!args) SWIG_fail;
5341 swig_obj[0] = args;
5342 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5343 if (!SWIG_IsOK(res1)) {
5344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5345 }
5346 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5347 {
5348 PyThreadState* __tstate = wxPyBeginAllowThreads();
5349 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5354 return resultobj;
5355fail:
5356 return NULL;
5357}
5358
5359
5360SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5361 PyObject *resultobj = 0;
5362 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5363 bool arg2 ;
5364 void *argp1 = 0 ;
5365 int res1 = 0 ;
5366 bool val2 ;
5367 int ecode2 = 0 ;
5368 PyObject * obj0 = 0 ;
5369 PyObject * obj1 = 0 ;
5370 char * kwnames[] = {
5371 (char *) "self",(char *) "shown", NULL
5372 };
5373
5374 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5375 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5376 if (!SWIG_IsOK(res1)) {
5377 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5378 }
5379 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5380 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5381 if (!SWIG_IsOK(ecode2)) {
5382 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5383 }
5384 arg2 = static_cast< bool >(val2);
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 (arg1)->SetShown(arg2);
5388 wxPyEndAllowThreads(__tstate);
5389 if (PyErr_Occurred()) SWIG_fail;
5390 }
5391 resultobj = SWIG_Py_Void();
5392 return resultobj;
5393fail:
5394 return NULL;
5395}
5396
5397
5398SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5399 PyObject *resultobj = 0;
5400 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5401 wxTreeListColumnAlign arg2 ;
5402 void *argp1 = 0 ;
5403 int res1 = 0 ;
5404 int val2 ;
5405 int ecode2 = 0 ;
5406 PyObject * obj0 = 0 ;
5407 PyObject * obj1 = 0 ;
5408 char * kwnames[] = {
5409 (char *) "self",(char *) "alignment", NULL
5410 };
5411
5412 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5413 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5414 if (!SWIG_IsOK(res1)) {
5415 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5416 }
5417 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5418 ecode2 = SWIG_AsVal_int(obj1, &val2);
5419 if (!SWIG_IsOK(ecode2)) {
5420 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "wxTreeListColumnAlign""'");
5421 }
5422 arg2 = static_cast< wxTreeListColumnAlign >(val2);
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 (arg1)->SetAlignment(arg2);
5426 wxPyEndAllowThreads(__tstate);
5427 if (PyErr_Occurred()) SWIG_fail;
5428 }
5429 resultobj = SWIG_Py_Void();
5430 return resultobj;
5431fail:
5432 return NULL;
5433}
5434
5435
5436SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5437 PyObject *resultobj = 0;
5438 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5439 wxString *arg2 = 0 ;
5440 void *argp1 = 0 ;
5441 int res1 = 0 ;
5442 bool temp2 = false ;
5443 PyObject * obj0 = 0 ;
5444 PyObject * obj1 = 0 ;
5445 char * kwnames[] = {
5446 (char *) "self",(char *) "text", NULL
5447 };
5448
5449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5451 if (!SWIG_IsOK(res1)) {
5452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5453 }
5454 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5455 {
5456 arg2 = wxString_in_helper(obj1);
5457 if (arg2 == NULL) SWIG_fail;
5458 temp2 = true;
5459 }
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->SetText((wxString const &)*arg2);
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = SWIG_Py_Void();
5467 {
5468 if (temp2)
5469 delete arg2;
5470 }
5471 return resultobj;
5472fail:
5473 {
5474 if (temp2)
5475 delete arg2;
5476 }
5477 return NULL;
5478}
5479
5480
5481SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj = 0;
5483 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5484 int arg2 ;
5485 void *argp1 = 0 ;
5486 int res1 = 0 ;
5487 int val2 ;
5488 int ecode2 = 0 ;
5489 PyObject * obj0 = 0 ;
5490 PyObject * obj1 = 0 ;
5491 char * kwnames[] = {
5492 (char *) "self",(char *) "image", NULL
5493 };
5494
5495 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5496 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5497 if (!SWIG_IsOK(res1)) {
5498 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5499 }
5500 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5501 ecode2 = SWIG_AsVal_int(obj1, &val2);
5502 if (!SWIG_IsOK(ecode2)) {
5503 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5504 }
5505 arg2 = static_cast< int >(val2);
5506 {
5507 PyThreadState* __tstate = wxPyBeginAllowThreads();
5508 (arg1)->SetImage(arg2);
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 resultobj = SWIG_Py_Void();
5513 return resultobj;
5514fail:
5515 return NULL;
5516}
5517
5518
5519SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj = 0;
5521 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5522 int arg2 ;
5523 void *argp1 = 0 ;
5524 int res1 = 0 ;
5525 int val2 ;
5526 int ecode2 = 0 ;
5527 PyObject * obj0 = 0 ;
5528 PyObject * obj1 = 0 ;
5529 char * kwnames[] = {
5530 (char *) "self",(char *) "image", NULL
5531 };
5532
5533 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5534 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5535 if (!SWIG_IsOK(res1)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5537 }
5538 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5539 ecode2 = SWIG_AsVal_int(obj1, &val2);
5540 if (!SWIG_IsOK(ecode2)) {
5541 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5542 }
5543 arg2 = static_cast< int >(val2);
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 (arg1)->SetSelectedImage(arg2);
5547 wxPyEndAllowThreads(__tstate);
5548 if (PyErr_Occurred()) SWIG_fail;
5549 }
5550 resultobj = SWIG_Py_Void();
5551 return resultobj;
5552fail:
5553 return NULL;
5554}
5555
5556
5557SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5558 PyObject *resultobj = 0;
5559 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5560 size_t arg2 ;
5561 void *argp1 = 0 ;
5562 int res1 = 0 ;
5563 size_t val2 ;
5564 int ecode2 = 0 ;
5565 PyObject * obj0 = 0 ;
5566 PyObject * obj1 = 0 ;
5567 char * kwnames[] = {
5568 (char *) "self",(char *) "with", NULL
5569 };
5570
5571 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5572 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5573 if (!SWIG_IsOK(res1)) {
5574 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5575 }
5576 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5577 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5578 if (!SWIG_IsOK(ecode2)) {
5579 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5580 }
5581 arg2 = static_cast< size_t >(val2);
5582 {
5583 PyThreadState* __tstate = wxPyBeginAllowThreads();
5584 (arg1)->SetWidth(arg2);
5585 wxPyEndAllowThreads(__tstate);
5586 if (PyErr_Occurred()) SWIG_fail;
5587 }
5588 resultobj = SWIG_Py_Void();
5589 return resultobj;
5590fail:
5591 return NULL;
5592}
5593
5594
5595SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5596 PyObject *obj;
5597 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5598 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5599 return SWIG_Py_Void();
5600}
5601
5602SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5603 return SWIG_Python_InitShadowInstance(args);
5604}
5605
5606SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj = 0;
5608 wxWindow *arg1 = (wxWindow *) 0 ;
5609 int arg2 = (int) -1 ;
5610 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5611 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5612 wxSize const &arg4_defvalue = wxDefaultSize ;
5613 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5614 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5615 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5616 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5617 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5618 wxString *arg7 = (wxString *) &arg7_defvalue ;
5619 wxPyTreeListCtrl *result = 0 ;
5620 void *argp1 = 0 ;
5621 int res1 = 0 ;
5622 int val2 ;
5623 int ecode2 = 0 ;
5624 wxPoint temp3 ;
5625 wxSize temp4 ;
5626 long val5 ;
5627 int ecode5 = 0 ;
5628 void *argp6 = 0 ;
5629 int res6 = 0 ;
5630 bool temp7 = false ;
5631 PyObject * obj0 = 0 ;
5632 PyObject * obj1 = 0 ;
5633 PyObject * obj2 = 0 ;
5634 PyObject * obj3 = 0 ;
5635 PyObject * obj4 = 0 ;
5636 PyObject * obj5 = 0 ;
5637 PyObject * obj6 = 0 ;
5638 char * kwnames[] = {
5639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5640 };
5641
5642 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5643 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
5644 if (!SWIG_IsOK(res1)) {
5645 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5646 }
5647 arg1 = reinterpret_cast< wxWindow * >(argp1);
5648 if (obj1) {
5649 ecode2 = SWIG_AsVal_int(obj1, &val2);
5650 if (!SWIG_IsOK(ecode2)) {
5651 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5652 }
5653 arg2 = static_cast< int >(val2);
5654 }
5655 if (obj2) {
44127b65 5656 {
0085ce49
RD
5657 arg3 = &temp3;
5658 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 5659 }
0085ce49
RD
5660 }
5661 if (obj3) {
44127b65 5662 {
0085ce49
RD
5663 arg4 = &temp4;
5664 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 5665 }
0085ce49
RD
5666 }
5667 if (obj4) {
5668 ecode5 = SWIG_AsVal_long(obj4, &val5);
5669 if (!SWIG_IsOK(ecode5)) {
5670 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5671 }
5672 arg5 = static_cast< long >(val5);
5673 }
5674 if (obj5) {
5675 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5676 if (!SWIG_IsOK(res6)) {
5677 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5678 }
5679 if (!argp6) {
5680 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5681 }
5682 arg6 = reinterpret_cast< wxValidator * >(argp6);
5683 }
5684 if (obj6) {
4f89f6a3 5685 {
0085ce49
RD
5686 arg7 = wxString_in_helper(obj6);
5687 if (arg7 == NULL) SWIG_fail;
5688 temp7 = true;
4f89f6a3 5689 }
0085ce49
RD
5690 }
5691 {
5692 if (!wxPyCheckForApp()) SWIG_fail;
5693 PyThreadState* __tstate = wxPyBeginAllowThreads();
5694 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5695 wxPyEndAllowThreads(__tstate);
5696 if (PyErr_Occurred()) SWIG_fail;
5697 }
5698 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5699 {
5700 if (temp7)
5701 delete arg7;
5702 }
5703 return resultobj;
5704fail:
5705 {
5706 if (temp7)
5707 delete arg7;
5708 }
5709 return NULL;
44127b65
RD
5710}
5711
5712
0085ce49
RD
5713SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5714 PyObject *resultobj = 0;
5715 wxPyTreeListCtrl *result = 0 ;
5716
5717 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5718 {
5719 if (!wxPyCheckForApp()) SWIG_fail;
5720 PyThreadState* __tstate = wxPyBeginAllowThreads();
5721 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5722 wxPyEndAllowThreads(__tstate);
5723 if (PyErr_Occurred()) SWIG_fail;
5724 }
5725 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5726 return resultobj;
5727fail:
5728 return NULL;
5729}
5730
5731
5732SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5733 PyObject *resultobj = 0;
5734 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5735 wxWindow *arg2 = (wxWindow *) 0 ;
5736 int arg3 = (int) -1 ;
5737 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5738 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5739 wxSize const &arg5_defvalue = wxDefaultSize ;
5740 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5741 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5742 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5743 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5744 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5745 wxString *arg8 = (wxString *) &arg8_defvalue ;
5746 bool result;
5747 void *argp1 = 0 ;
5748 int res1 = 0 ;
5749 void *argp2 = 0 ;
5750 int res2 = 0 ;
5751 int val3 ;
5752 int ecode3 = 0 ;
5753 wxPoint temp4 ;
5754 wxSize temp5 ;
5755 long val6 ;
5756 int ecode6 = 0 ;
5757 void *argp7 = 0 ;
5758 int res7 = 0 ;
5759 bool temp8 = false ;
5760 PyObject * obj0 = 0 ;
5761 PyObject * obj1 = 0 ;
5762 PyObject * obj2 = 0 ;
5763 PyObject * obj3 = 0 ;
5764 PyObject * obj4 = 0 ;
5765 PyObject * obj5 = 0 ;
5766 PyObject * obj6 = 0 ;
5767 PyObject * obj7 = 0 ;
5768 char * kwnames[] = {
5769 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5770 };
5771
5772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5774 if (!SWIG_IsOK(res1)) {
5775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5776 }
5777 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5778 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5779 if (!SWIG_IsOK(res2)) {
5780 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5781 }
5782 arg2 = reinterpret_cast< wxWindow * >(argp2);
5783 if (obj2) {
5784 ecode3 = SWIG_AsVal_int(obj2, &val3);
5785 if (!SWIG_IsOK(ecode3)) {
5786 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5787 }
5788 arg3 = static_cast< int >(val3);
5789 }
5790 if (obj3) {
44127b65 5791 {
0085ce49
RD
5792 arg4 = &temp4;
5793 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 5794 }
0085ce49
RD
5795 }
5796 if (obj4) {
cc6dd355 5797 {
0085ce49
RD
5798 arg5 = &temp5;
5799 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
cc6dd355 5800 }
0085ce49
RD
5801 }
5802 if (obj5) {
5803 ecode6 = SWIG_AsVal_long(obj5, &val6);
5804 if (!SWIG_IsOK(ecode6)) {
5805 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5806 }
5807 arg6 = static_cast< long >(val6);
5808 }
5809 if (obj6) {
5810 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5811 if (!SWIG_IsOK(res7)) {
5812 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
3004cfd8 5813 }
0085ce49
RD
5814 if (!argp7) {
5815 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
44127b65 5816 }
0085ce49
RD
5817 arg7 = reinterpret_cast< wxValidator * >(argp7);
5818 }
5819 if (obj7) {
44127b65 5820 {
0085ce49
RD
5821 arg8 = wxString_in_helper(obj7);
5822 if (arg8 == NULL) SWIG_fail;
5823 temp8 = true;
44127b65 5824 }
0085ce49
RD
5825 }
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 {
5833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5834 }
5835 {
5836 if (temp8)
5837 delete arg8;
5838 }
5839 return resultobj;
5840fail:
5841 {
5842 if (temp8)
5843 delete arg8;
5844 }
5845 return NULL;
5846}
5847
5848
5849SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj = 0;
5851 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5852 PyObject *arg2 = (PyObject *) 0 ;
5853 PyObject *arg3 = (PyObject *) 0 ;
5854 void *argp1 = 0 ;
5855 int res1 = 0 ;
5856 PyObject * obj0 = 0 ;
5857 PyObject * obj1 = 0 ;
5858 PyObject * obj2 = 0 ;
5859 char * kwnames[] = {
5860 (char *) "self",(char *) "self",(char *) "_class", NULL
5861 };
5862
5863 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5864 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5865 if (!SWIG_IsOK(res1)) {
5866 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5867 }
5868 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5869 arg2 = obj1;
5870 arg3 = obj2;
5871 {
5872 PyThreadState* __tstate = wxPyBeginAllowThreads();
5873 (arg1)->_setCallbackInfo(arg2,arg3);
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 resultobj = SWIG_Py_Void();
5878 return resultobj;
5879fail:
5880 return NULL;
44127b65
RD
5881}
5882
5883
0085ce49
RD
5884SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5885 PyObject *resultobj = 0;
5886 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5887 size_t result;
5888 void *argp1 = 0 ;
5889 int res1 = 0 ;
5890 PyObject *swig_obj[1] ;
5891
5892 if (!args) SWIG_fail;
5893 swig_obj[0] = args;
5894 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5895 if (!SWIG_IsOK(res1)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5897 }
5898 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5899 {
5900 PyThreadState* __tstate = wxPyBeginAllowThreads();
5901 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5906 return resultobj;
5907fail:
5908 return NULL;
44127b65
RD
5909}
5910
5911
0085ce49
RD
5912SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5913 PyObject *resultobj = 0;
5914 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5915 unsigned int result;
5916 void *argp1 = 0 ;
5917 int res1 = 0 ;
5918 PyObject *swig_obj[1] ;
5919
5920 if (!args) SWIG_fail;
5921 swig_obj[0] = args;
5922 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5923 if (!SWIG_IsOK(res1)) {
5924 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5925 }
5926 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5927 {
5928 PyThreadState* __tstate = wxPyBeginAllowThreads();
5929 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
5934 return resultobj;
5935fail:
5936 return NULL;
5937}
5938
5939
5940SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj = 0;
5942 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5943 unsigned int arg2 ;
5944 void *argp1 = 0 ;
5945 int res1 = 0 ;
5946 unsigned int val2 ;
5947 int ecode2 = 0 ;
5948 PyObject * obj0 = 0 ;
5949 PyObject * obj1 = 0 ;
5950 char * kwnames[] = {
5951 (char *) "self",(char *) "indent", NULL
5952 };
5953
5954 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
5955 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5956 if (!SWIG_IsOK(res1)) {
5957 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5958 }
5959 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5960 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
5961 if (!SWIG_IsOK(ecode2)) {
5962 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
5963 }
5964 arg2 = static_cast< unsigned int >(val2);
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 (arg1)->SetIndent(arg2);
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = SWIG_Py_Void();
5972 return resultobj;
5973fail:
5974 return NULL;
28eab81f
RD
5975}
5976
5977
0085ce49
RD
5978SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5979 PyObject *resultobj = 0;
5980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5981 unsigned int result;
5982 void *argp1 = 0 ;
5983 int res1 = 0 ;
5984 PyObject *swig_obj[1] ;
5985
5986 if (!args) SWIG_fail;
5987 swig_obj[0] = args;
5988 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5989 if (!SWIG_IsOK(res1)) {
5990 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
5991 }
5992 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6000 return resultobj;
6001fail:
6002 return NULL;
6003}
6004
6005
6006SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj = 0;
6008 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6009 unsigned int arg2 ;
6010 void *argp1 = 0 ;
6011 int res1 = 0 ;
6012 unsigned int val2 ;
6013 int ecode2 = 0 ;
6014 PyObject * obj0 = 0 ;
6015 PyObject * obj1 = 0 ;
6016 char * kwnames[] = {
6017 (char *) "self",(char *) "spacing", NULL
6018 };
6019
6020 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6021 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6022 if (!SWIG_IsOK(res1)) {
6023 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6024 }
6025 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6026 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6027 if (!SWIG_IsOK(ecode2)) {
6028 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6029 }
6030 arg2 = static_cast< unsigned int >(val2);
6031 {
6032 PyThreadState* __tstate = wxPyBeginAllowThreads();
6033 (arg1)->SetLineSpacing(arg2);
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = SWIG_Py_Void();
6038 return resultobj;
6039fail:
6040 return NULL;
44127b65
RD
6041}
6042
6043
0085ce49
RD
6044SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6045 PyObject *resultobj = 0;
6046 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6047 wxImageList *result = 0 ;
6048 void *argp1 = 0 ;
6049 int res1 = 0 ;
6050 PyObject *swig_obj[1] ;
6051
6052 if (!args) SWIG_fail;
6053 swig_obj[0] = args;
6054 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6055 if (!SWIG_IsOK(res1)) {
6056 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6057 }
6058 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6059 {
6060 PyThreadState* __tstate = wxPyBeginAllowThreads();
6061 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 {
6066 resultobj = wxPyMake_wxObject(result, (bool)0);
6067 }
6068 return resultobj;
6069fail:
6070 return NULL;
44127b65
RD
6071}
6072
6073
0085ce49
RD
6074SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6075 PyObject *resultobj = 0;
6076 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6077 wxImageList *result = 0 ;
6078 void *argp1 = 0 ;
6079 int res1 = 0 ;
6080 PyObject *swig_obj[1] ;
6081
6082 if (!args) SWIG_fail;
6083 swig_obj[0] = args;
6084 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6085 if (!SWIG_IsOK(res1)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6087 }
6088 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6089 {
6090 PyThreadState* __tstate = wxPyBeginAllowThreads();
6091 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 {
6096 resultobj = wxPyMake_wxObject(result, (bool)0);
6097 }
6098 return resultobj;
6099fail:
6100 return NULL;
44127b65
RD
6101}
6102
6103
0085ce49
RD
6104SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6105 PyObject *resultobj = 0;
6106 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6107 wxImageList *result = 0 ;
6108 void *argp1 = 0 ;
6109 int res1 = 0 ;
6110 PyObject *swig_obj[1] ;
6111
6112 if (!args) SWIG_fail;
6113 swig_obj[0] = args;
6114 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6115 if (!SWIG_IsOK(res1)) {
6116 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6117 }
6118 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 {
6126 resultobj = wxPyMake_wxObject(result, (bool)0);
6127 }
6128 return resultobj;
6129fail:
6130 return NULL;
6131}
6132
6133
6134SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6135 PyObject *resultobj = 0;
6136 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6137 wxImageList *arg2 = (wxImageList *) 0 ;
6138 void *argp1 = 0 ;
6139 int res1 = 0 ;
6140 void *argp2 = 0 ;
6141 int res2 = 0 ;
6142 PyObject * obj0 = 0 ;
6143 PyObject * obj1 = 0 ;
6144 char * kwnames[] = {
6145 (char *) "self",(char *) "imageList", NULL
6146 };
6147
6148 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",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_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6152 }
6153 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6154 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6155 if (!SWIG_IsOK(res2)) {
6156 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6157 }
6158 arg2 = reinterpret_cast< wxImageList * >(argp2);
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 (arg1)->SetImageList(arg2);
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = SWIG_Py_Void();
6166 return resultobj;
6167fail:
6168 return NULL;
6169}
6170
6171
6172SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj = 0;
6174 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6175 wxImageList *arg2 = (wxImageList *) 0 ;
6176 void *argp1 = 0 ;
6177 int res1 = 0 ;
6178 void *argp2 = 0 ;
6179 int res2 = 0 ;
6180 PyObject * obj0 = 0 ;
6181 PyObject * obj1 = 0 ;
6182 char * kwnames[] = {
6183 (char *) "self",(char *) "imageList", NULL
6184 };
6185
6186 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6187 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6188 if (!SWIG_IsOK(res1)) {
6189 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6190 }
6191 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6192 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6193 if (!SWIG_IsOK(res2)) {
6194 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6195 }
6196 arg2 = reinterpret_cast< wxImageList * >(argp2);
6197 {
6198 PyThreadState* __tstate = wxPyBeginAllowThreads();
6199 (arg1)->SetStateImageList(arg2);
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 resultobj = SWIG_Py_Void();
6204 return resultobj;
6205fail:
6206 return NULL;
6207}
6208
6209
6210SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6211 PyObject *resultobj = 0;
6212 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6213 wxImageList *arg2 = (wxImageList *) 0 ;
6214 void *argp1 = 0 ;
6215 int res1 = 0 ;
6216 void *argp2 = 0 ;
6217 int res2 = 0 ;
6218 PyObject * obj0 = 0 ;
6219 PyObject * obj1 = 0 ;
6220 char * kwnames[] = {
6221 (char *) "self",(char *) "imageList", NULL
6222 };
6223
6224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6226 if (!SWIG_IsOK(res1)) {
6227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6228 }
6229 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6230 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6231 if (!SWIG_IsOK(res2)) {
6232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6233 }
6234 arg2 = reinterpret_cast< wxImageList * >(argp2);
6235 {
6236 PyThreadState* __tstate = wxPyBeginAllowThreads();
6237 (arg1)->SetButtonsImageList(arg2);
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_Py_Void();
6242 return resultobj;
6243fail:
6244 return NULL;
6245}
6246
6247
6248SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj = 0;
6250 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6251 wxImageList *arg2 = (wxImageList *) 0 ;
6252 void *argp1 = 0 ;
6253 int res1 = 0 ;
6254 int res2 = 0 ;
6255 PyObject * obj0 = 0 ;
6256 PyObject * obj1 = 0 ;
6257 char * kwnames[] = {
6258 (char *) "self",(char *) "imageList", NULL
6259 };
6260
6261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6263 if (!SWIG_IsOK(res1)) {
6264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6265 }
6266 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6267 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6268 if (!SWIG_IsOK(res2)) {
6269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6270 }
6271 {
6272 PyThreadState* __tstate = wxPyBeginAllowThreads();
6273 (arg1)->AssignImageList(arg2);
6274 wxPyEndAllowThreads(__tstate);
6275 if (PyErr_Occurred()) SWIG_fail;
6276 }
6277 resultobj = SWIG_Py_Void();
6278 return resultobj;
6279fail:
6280 return NULL;
6281}
6282
6283
6284SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6285 PyObject *resultobj = 0;
6286 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6287 wxImageList *arg2 = (wxImageList *) 0 ;
6288 void *argp1 = 0 ;
6289 int res1 = 0 ;
6290 int res2 = 0 ;
6291 PyObject * obj0 = 0 ;
6292 PyObject * obj1 = 0 ;
6293 char * kwnames[] = {
6294 (char *) "self",(char *) "imageList", NULL
6295 };
6296
6297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6298 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6299 if (!SWIG_IsOK(res1)) {
6300 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6301 }
6302 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6303 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6304 if (!SWIG_IsOK(res2)) {
6305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6306 }
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 (arg1)->AssignStateImageList(arg2);
6310 wxPyEndAllowThreads(__tstate);
6311 if (PyErr_Occurred()) SWIG_fail;
6312 }
6313 resultobj = SWIG_Py_Void();
6314 return resultobj;
6315fail:
6316 return NULL;
6317}
6318
6319
6320SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6321 PyObject *resultobj = 0;
6322 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6323 wxImageList *arg2 = (wxImageList *) 0 ;
6324 void *argp1 = 0 ;
6325 int res1 = 0 ;
6326 int res2 = 0 ;
6327 PyObject * obj0 = 0 ;
6328 PyObject * obj1 = 0 ;
6329 char * kwnames[] = {
6330 (char *) "self",(char *) "imageList", NULL
6331 };
6332
6333 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6334 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6335 if (!SWIG_IsOK(res1)) {
6336 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6337 }
6338 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6339 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6340 if (!SWIG_IsOK(res2)) {
6341 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6342 }
6343 {
6344 PyThreadState* __tstate = wxPyBeginAllowThreads();
6345 (arg1)->AssignButtonsImageList(arg2);
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 resultobj = SWIG_Py_Void();
6350 return resultobj;
6351fail:
6352 return NULL;
6353}
6354
6355
6356SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6357 PyObject *resultobj = 0;
6358 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6359 wxString *arg2 = 0 ;
6360 void *argp1 = 0 ;
6361 int res1 = 0 ;
6362 bool temp2 = false ;
6363 PyObject * obj0 = 0 ;
6364 PyObject * obj1 = 0 ;
6365 char * kwnames[] = {
6366 (char *) "self",(char *) "text", NULL
6367 };
6368
6369 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6370 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6371 if (!SWIG_IsOK(res1)) {
6372 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6373 }
6374 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6375 {
6376 arg2 = wxString_in_helper(obj1);
6377 if (arg2 == NULL) SWIG_fail;
6378 temp2 = true;
6379 }
6380 {
6381 PyThreadState* __tstate = wxPyBeginAllowThreads();
6382 (arg1)->AddColumn((wxString const &)*arg2);
6383 wxPyEndAllowThreads(__tstate);
6384 if (PyErr_Occurred()) SWIG_fail;
6385 }
6386 resultobj = SWIG_Py_Void();
6387 {
6388 if (temp2)
6389 delete arg2;
6390 }
6391 return resultobj;
6392fail:
6393 {
6394 if (temp2)
6395 delete arg2;
6396 }
6397 return NULL;
6398}
6399
6400
6401SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6402 PyObject *resultobj = 0;
6403 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6404 wxTreeListColumnInfo *arg2 = 0 ;
6405 void *argp1 = 0 ;
6406 int res1 = 0 ;
6407 void *argp2 = 0 ;
6408 int res2 = 0 ;
6409 PyObject * obj0 = 0 ;
6410 PyObject * obj1 = 0 ;
6411 char * kwnames[] = {
6412 (char *) "self",(char *) "col", NULL
6413 };
6414
6415 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6416 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6417 if (!SWIG_IsOK(res1)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6419 }
6420 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6421 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6422 if (!SWIG_IsOK(res2)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6424 }
6425 if (!argp2) {
6426 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6427 }
6428 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6429 {
6430 PyThreadState* __tstate = wxPyBeginAllowThreads();
6431 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6432 wxPyEndAllowThreads(__tstate);
6433 if (PyErr_Occurred()) SWIG_fail;
6434 }
6435 resultobj = SWIG_Py_Void();
6436 return resultobj;
6437fail:
6438 return NULL;
6439}
6440
6441
6442SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6443 PyObject *resultobj = 0;
6444 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6445 size_t arg2 ;
6446 wxString *arg3 = 0 ;
6447 void *argp1 = 0 ;
6448 int res1 = 0 ;
6449 size_t val2 ;
6450 int ecode2 = 0 ;
6451 bool temp3 = false ;
6452 PyObject * obj0 = 0 ;
6453 PyObject * obj1 = 0 ;
6454 PyObject * obj2 = 0 ;
6455 char * kwnames[] = {
6456 (char *) "self",(char *) "before",(char *) "text", NULL
6457 };
6458
6459 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6460 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6461 if (!SWIG_IsOK(res1)) {
6462 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6463 }
6464 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6465 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6466 if (!SWIG_IsOK(ecode2)) {
6467 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "size_t""'");
6468 }
6469 arg2 = static_cast< size_t >(val2);
6470 {
6471 arg3 = wxString_in_helper(obj2);
6472 if (arg3 == NULL) SWIG_fail;
6473 temp3 = true;
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 (arg1)->InsertColumn(arg2,(wxString const &)*arg3);
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 resultobj = SWIG_Py_Void();
6482 {
6483 if (temp3)
6484 delete arg3;
6485 }
6486 return resultobj;
6487fail:
6488 {
6489 if (temp3)
6490 delete arg3;
6491 }
6492 return NULL;
6493}
6494
6495
6496SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj = 0;
6498 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6499 size_t arg2 ;
6500 wxTreeListColumnInfo *arg3 = 0 ;
6501 void *argp1 = 0 ;
6502 int res1 = 0 ;
6503 size_t val2 ;
6504 int ecode2 = 0 ;
6505 void *argp3 = 0 ;
6506 int res3 = 0 ;
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
6509 PyObject * obj2 = 0 ;
6510 char * kwnames[] = {
6511 (char *) "self",(char *) "before",(char *) "col", NULL
6512 };
6513
6514 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6515 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6516 if (!SWIG_IsOK(res1)) {
6517 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6518 }
6519 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6520 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6521 if (!SWIG_IsOK(ecode2)) {
6522 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6523 }
6524 arg2 = static_cast< size_t >(val2);
6525 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6526 if (!SWIG_IsOK(res3)) {
6527 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6528 }
6529 if (!argp3) {
6530 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6531 }
6532 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6533 {
6534 PyThreadState* __tstate = wxPyBeginAllowThreads();
6535 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6536 wxPyEndAllowThreads(__tstate);
6537 if (PyErr_Occurred()) SWIG_fail;
6538 }
6539 resultobj = SWIG_Py_Void();
6540 return resultobj;
6541fail:
6542 return NULL;
6543}
6544
6545
6546SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6547 PyObject *resultobj = 0;
6548 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6549 size_t arg2 ;
6550 void *argp1 = 0 ;
6551 int res1 = 0 ;
6552 size_t val2 ;
6553 int ecode2 = 0 ;
6554 PyObject * obj0 = 0 ;
6555 PyObject * obj1 = 0 ;
6556 char * kwnames[] = {
6557 (char *) "self",(char *) "column", NULL
6558 };
6559
6560 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6561 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6562 if (!SWIG_IsOK(res1)) {
6563 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6564 }
6565 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6566 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6567 if (!SWIG_IsOK(ecode2)) {
6568 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6569 }
6570 arg2 = static_cast< size_t >(val2);
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 (arg1)->RemoveColumn(arg2);
6574 wxPyEndAllowThreads(__tstate);
6575 if (PyErr_Occurred()) SWIG_fail;
6576 }
6577 resultobj = SWIG_Py_Void();
6578 return resultobj;
6579fail:
6580 return NULL;
44127b65
RD
6581}
6582
6583
0085ce49
RD
6584SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6585 PyObject *resultobj = 0;
6586 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6587 size_t result;
6588 void *argp1 = 0 ;
6589 int res1 = 0 ;
6590 PyObject *swig_obj[1] ;
6591
6592 if (!args) SWIG_fail;
6593 swig_obj[0] = args;
6594 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6595 if (!SWIG_IsOK(res1)) {
6596 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6597 }
6598 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6599 {
6600 PyThreadState* __tstate = wxPyBeginAllowThreads();
6601 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6606 return resultobj;
6607fail:
6608 return NULL;
6609}
6610
6611
6612SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj = 0;
6614 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6615 size_t arg2 ;
6616 size_t arg3 ;
6617 void *argp1 = 0 ;
6618 int res1 = 0 ;
6619 size_t val2 ;
6620 int ecode2 = 0 ;
6621 size_t val3 ;
6622 int ecode3 = 0 ;
6623 PyObject * obj0 = 0 ;
6624 PyObject * obj1 = 0 ;
6625 PyObject * obj2 = 0 ;
6626 char * kwnames[] = {
6627 (char *) "self",(char *) "column",(char *) "width", NULL
6628 };
6629
6630 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6631 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6632 if (!SWIG_IsOK(res1)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6634 }
6635 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6636 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6637 if (!SWIG_IsOK(ecode2)) {
6638 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6639 }
6640 arg2 = static_cast< size_t >(val2);
6641 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
6642 if (!SWIG_IsOK(ecode3)) {
6643 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "size_t""'");
6644 }
6645 arg3 = static_cast< size_t >(val3);
6646 {
6647 PyThreadState* __tstate = wxPyBeginAllowThreads();
6648 (arg1)->SetColumnWidth(arg2,arg3);
6649 wxPyEndAllowThreads(__tstate);
6650 if (PyErr_Occurred()) SWIG_fail;
6651 }
6652 resultobj = SWIG_Py_Void();
6653 return resultobj;
6654fail:
6655 return NULL;
6656}
6657
6658
6659SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6660 PyObject *resultobj = 0;
6661 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6662 size_t arg2 ;
6663 int result;
6664 void *argp1 = 0 ;
6665 int res1 = 0 ;
6666 size_t val2 ;
6667 int ecode2 = 0 ;
6668 PyObject * obj0 = 0 ;
6669 PyObject * obj1 = 0 ;
6670 char * kwnames[] = {
6671 (char *) "self",(char *) "column", NULL
6672 };
6673
6674 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
6675 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6676 if (!SWIG_IsOK(res1)) {
6677 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6678 }
6679 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6680 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6681 if (!SWIG_IsOK(ecode2)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "size_t""'");
6683 }
6684 arg2 = static_cast< size_t >(val2);
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 resultobj = SWIG_From_int(static_cast< int >(result));
6692 return resultobj;
6693fail:
6694 return NULL;
6695}
6696
6697
6698SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj = 0;
6700 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6701 size_t arg2 ;
6702 void *argp1 = 0 ;
6703 int res1 = 0 ;
6704 size_t val2 ;
6705 int ecode2 = 0 ;
6706 PyObject * obj0 = 0 ;
6707 PyObject * obj1 = 0 ;
6708 char * kwnames[] = {
6709 (char *) "self",(char *) "column", NULL
6710 };
6711
6712 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6713 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6714 if (!SWIG_IsOK(res1)) {
6715 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6716 }
6717 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6718 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6719 if (!SWIG_IsOK(ecode2)) {
6720 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
6721 }
6722 arg2 = static_cast< size_t >(val2);
6723 {
6724 PyThreadState* __tstate = wxPyBeginAllowThreads();
6725 (arg1)->SetMainColumn(arg2);
6726 wxPyEndAllowThreads(__tstate);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 resultobj = SWIG_Py_Void();
6730 return resultobj;
6731fail:
6732 return NULL;
44127b65
RD
6733}
6734
6735
0085ce49
RD
6736SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6737 PyObject *resultobj = 0;
6738 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6739 size_t result;
6740 void *argp1 = 0 ;
6741 int res1 = 0 ;
6742 PyObject *swig_obj[1] ;
6743
6744 if (!args) SWIG_fail;
6745 swig_obj[0] = args;
6746 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6747 if (!SWIG_IsOK(res1)) {
6748 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6749 }
6750 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6751 {
6752 PyThreadState* __tstate = wxPyBeginAllowThreads();
6753 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
6754 wxPyEndAllowThreads(__tstate);
6755 if (PyErr_Occurred()) SWIG_fail;
6756 }
6757 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6758 return resultobj;
6759fail:
6760 return NULL;
6761}
6762
6763
6764SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj = 0;
6766 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6767 size_t arg2 ;
6768 wxString *arg3 = 0 ;
6769 void *argp1 = 0 ;
6770 int res1 = 0 ;
6771 size_t val2 ;
6772 int ecode2 = 0 ;
6773 bool temp3 = false ;
6774 PyObject * obj0 = 0 ;
6775 PyObject * obj1 = 0 ;
6776 PyObject * obj2 = 0 ;
6777 char * kwnames[] = {
6778 (char *) "self",(char *) "column",(char *) "text", NULL
6779 };
6780
6781 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6782 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6783 if (!SWIG_IsOK(res1)) {
6784 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6785 }
6786 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6787 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6788 if (!SWIG_IsOK(ecode2)) {
6789 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6790 }
6791 arg2 = static_cast< size_t >(val2);
6792 {
6793 arg3 = wxString_in_helper(obj2);
6794 if (arg3 == NULL) SWIG_fail;
6795 temp3 = true;
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
6800 wxPyEndAllowThreads(__tstate);
6801 if (PyErr_Occurred()) SWIG_fail;
6802 }
6803 resultobj = SWIG_Py_Void();
6804 {
6805 if (temp3)
6806 delete arg3;
6807 }
6808 return resultobj;
6809fail:
6810 {
6811 if (temp3)
6812 delete arg3;
6813 }
6814 return NULL;
6815}
6816
6817
6818SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj = 0;
6820 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6821 size_t arg2 ;
6822 wxString result;
6823 void *argp1 = 0 ;
6824 int res1 = 0 ;
6825 size_t val2 ;
6826 int ecode2 = 0 ;
6827 PyObject * obj0 = 0 ;
6828 PyObject * obj1 = 0 ;
6829 char * kwnames[] = {
6830 (char *) "self",(char *) "column", NULL
6831 };
6832
6833 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
6834 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6835 if (!SWIG_IsOK(res1)) {
6836 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6837 }
6838 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6839 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6840 if (!SWIG_IsOK(ecode2)) {
6841 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "size_t""'");
6842 }
6843 arg2 = static_cast< size_t >(val2);
6844 {
6845 PyThreadState* __tstate = wxPyBeginAllowThreads();
6846 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 {
6851#if wxUSE_UNICODE
6852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6853#else
6854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6855#endif
6856 }
6857 return resultobj;
6858fail:
6859 return NULL;
6860}
6861
6862
6863SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj = 0;
6865 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6866 size_t arg2 ;
6867 wxTreeListColumnInfo *arg3 = 0 ;
6868 void *argp1 = 0 ;
6869 int res1 = 0 ;
6870 size_t val2 ;
6871 int ecode2 = 0 ;
6872 void *argp3 = 0 ;
6873 int res3 = 0 ;
6874 PyObject * obj0 = 0 ;
6875 PyObject * obj1 = 0 ;
6876 PyObject * obj2 = 0 ;
6877 char * kwnames[] = {
6878 (char *) "self",(char *) "column",(char *) "info", NULL
6879 };
6880
6881 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6882 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6883 if (!SWIG_IsOK(res1)) {
6884 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6885 }
6886 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6887 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6888 if (!SWIG_IsOK(ecode2)) {
6889 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "size_t""'");
6890 }
6891 arg2 = static_cast< size_t >(val2);
6892 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6893 if (!SWIG_IsOK(res3)) {
6894 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6895 }
6896 if (!argp3) {
6897 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6898 }
6899 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6903 wxPyEndAllowThreads(__tstate);
6904 if (PyErr_Occurred()) SWIG_fail;
6905 }
6906 resultobj = SWIG_Py_Void();
6907 return resultobj;
6908fail:
6909 return NULL;
6910}
6911
6912
6913SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6914 PyObject *resultobj = 0;
6915 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6916 size_t arg2 ;
6917 wxTreeListColumnInfo *result = 0 ;
6918 void *argp1 = 0 ;
6919 int res1 = 0 ;
6920 size_t val2 ;
6921 int ecode2 = 0 ;
6922 PyObject * obj0 = 0 ;
6923 PyObject * obj1 = 0 ;
6924 char * kwnames[] = {
6925 (char *) "self",(char *) "column", NULL
6926 };
6927
6928 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6929 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6930 if (!SWIG_IsOK(res1)) {
6931 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6932 }
6933 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6934 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6935 if (!SWIG_IsOK(ecode2)) {
6936 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "size_t""'");
6937 }
6938 arg2 = static_cast< size_t >(val2);
6939 {
6940 PyThreadState* __tstate = wxPyBeginAllowThreads();
3004cfd8 6941 {
0085ce49
RD
6942 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6943 result = (wxTreeListColumnInfo *) &_result_ref;
3004cfd8 6944 }
0085ce49
RD
6945 wxPyEndAllowThreads(__tstate);
6946 if (PyErr_Occurred()) SWIG_fail;
6947 }
6948 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
6949 return resultobj;
6950fail:
6951 return NULL;
6952}
6953
6954
6955SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj = 0;
6957 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6958 size_t arg2 ;
6959 wxTreeListColumnAlign arg3 ;
6960 void *argp1 = 0 ;
6961 int res1 = 0 ;
6962 size_t val2 ;
6963 int ecode2 = 0 ;
6964 int val3 ;
6965 int ecode3 = 0 ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 PyObject * obj2 = 0 ;
6969 char * kwnames[] = {
6970 (char *) "self",(char *) "column",(char *) "align", NULL
6971 };
6972
6973 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6974 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6975 if (!SWIG_IsOK(res1)) {
6976 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6977 }
6978 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6979 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6980 if (!SWIG_IsOK(ecode2)) {
6981 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
6982 }
6983 arg2 = static_cast< size_t >(val2);
6984 ecode3 = SWIG_AsVal_int(obj2, &val3);
6985 if (!SWIG_IsOK(ecode3)) {
6986 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "wxTreeListColumnAlign""'");
6987 }
6988 arg3 = static_cast< wxTreeListColumnAlign >(val3);
6989 {
6990 PyThreadState* __tstate = wxPyBeginAllowThreads();
6991 (arg1)->SetColumnAlignment(arg2,arg3);
6992 wxPyEndAllowThreads(__tstate);
6993 if (PyErr_Occurred()) SWIG_fail;
6994 }
6995 resultobj = SWIG_Py_Void();
6996 return resultobj;
6997fail:
6998 return NULL;
6999}
7000
7001
7002SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj = 0;
7004 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7005 size_t arg2 ;
7006 wxTreeListColumnAlign result;
7007 void *argp1 = 0 ;
7008 int res1 = 0 ;
7009 size_t val2 ;
7010 int ecode2 = 0 ;
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
7013 char * kwnames[] = {
7014 (char *) "self",(char *) "column", NULL
7015 };
7016
7017 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7018 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7019 if (!SWIG_IsOK(res1)) {
7020 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7021 }
7022 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7023 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7024 if (!SWIG_IsOK(ecode2)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "size_t""'");
7026 }
7027 arg2 = static_cast< size_t >(val2);
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (wxTreeListColumnAlign)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
7031 wxPyEndAllowThreads(__tstate);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 }
7034 resultobj = SWIG_From_int(static_cast< int >(result));
7035 return resultobj;
7036fail:
7037 return NULL;
7038}
7039
7040
7041SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7042 PyObject *resultobj = 0;
7043 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7044 size_t arg2 ;
7045 int arg3 ;
7046 void *argp1 = 0 ;
7047 int res1 = 0 ;
7048 size_t val2 ;
7049 int ecode2 = 0 ;
7050 int val3 ;
7051 int ecode3 = 0 ;
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 PyObject * obj2 = 0 ;
7055 char * kwnames[] = {
7056 (char *) "self",(char *) "column",(char *) "image", NULL
7057 };
7058
7059 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7060 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7061 if (!SWIG_IsOK(res1)) {
7062 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7063 }
7064 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7065 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7066 if (!SWIG_IsOK(ecode2)) {
7067 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7068 }
7069 arg2 = static_cast< size_t >(val2);
7070 ecode3 = SWIG_AsVal_int(obj2, &val3);
7071 if (!SWIG_IsOK(ecode3)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7073 }
7074 arg3 = static_cast< int >(val3);
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 (arg1)->SetColumnImage(arg2,arg3);
7078 wxPyEndAllowThreads(__tstate);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 resultobj = SWIG_Py_Void();
7082 return resultobj;
7083fail:
7084 return NULL;
7085}
7086
7087
7088SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj = 0;
7090 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7091 size_t arg2 ;
7092 int result;
7093 void *argp1 = 0 ;
7094 int res1 = 0 ;
7095 size_t val2 ;
7096 int ecode2 = 0 ;
7097 PyObject * obj0 = 0 ;
7098 PyObject * obj1 = 0 ;
7099 char * kwnames[] = {
7100 (char *) "self",(char *) "column", NULL
7101 };
7102
7103 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7104 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7105 if (!SWIG_IsOK(res1)) {
7106 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7107 }
7108 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7109 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7110 if (!SWIG_IsOK(ecode2)) {
7111 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "size_t""'");
7112 }
7113 arg2 = static_cast< size_t >(val2);
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 resultobj = SWIG_From_int(static_cast< int >(result));
7121 return resultobj;
7122fail:
7123 return NULL;
7124}
7125
7126
7127SWIGINTERN PyObject *_wrap_TreeListCtrl_ShowColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj = 0;
7129 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7130 size_t arg2 ;
7131 bool arg3 ;
7132 void *argp1 = 0 ;
7133 int res1 = 0 ;
7134 size_t val2 ;
7135 int ecode2 = 0 ;
7136 bool val3 ;
7137 int ecode3 = 0 ;
7138 PyObject * obj0 = 0 ;
7139 PyObject * obj1 = 0 ;
7140 PyObject * obj2 = 0 ;
7141 char * kwnames[] = {
7142 (char *) "self",(char *) "column",(char *) "shown", NULL
7143 };
7144
7145 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_ShowColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7146 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7147 if (!SWIG_IsOK(res1)) {
7148 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7149 }
7150 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7151 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7152 if (!SWIG_IsOK(ecode2)) {
7153 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "2"" of type '" "size_t""'");
7154 }
7155 arg2 = static_cast< size_t >(val2);
7156 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7157 if (!SWIG_IsOK(ecode3)) {
7158 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_ShowColumn" "', expected argument " "3"" of type '" "bool""'");
7159 }
7160 arg3 = static_cast< bool >(val3);
7161 {
7162 PyThreadState* __tstate = wxPyBeginAllowThreads();
7163 (arg1)->ShowColumn(arg2,arg3);
7164 wxPyEndAllowThreads(__tstate);
7165 if (PyErr_Occurred()) SWIG_fail;
7166 }
7167 resultobj = SWIG_Py_Void();
7168 return resultobj;
7169fail:
7170 return NULL;
7171}
7172
7173
7174SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7175 PyObject *resultobj = 0;
7176 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7177 size_t arg2 ;
7178 bool result;
7179 void *argp1 = 0 ;
7180 int res1 = 0 ;
7181 size_t val2 ;
7182 int ecode2 = 0 ;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 char * kwnames[] = {
7186 (char *) "self",(char *) "column", NULL
7187 };
7188
7189 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7190 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7191 if (!SWIG_IsOK(res1)) {
7192 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7193 }
7194 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7195 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
7196 if (!SWIG_IsOK(ecode2)) {
7197 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "size_t""'");
7198 }
7199 arg2 = static_cast< size_t >(val2);
7200 {
7201 PyThreadState* __tstate = wxPyBeginAllowThreads();
7202 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 {
7207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7208 }
7209 return resultobj;
7210fail:
7211 return NULL;
7212}
7213
7214
7215SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj = 0;
7217 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7218 wxTreeItemId *arg2 = 0 ;
7219 int arg3 = (int) -1 ;
7220 wxString result;
7221 void *argp1 = 0 ;
7222 int res1 = 0 ;
7223 void *argp2 = 0 ;
7224 int res2 = 0 ;
7225 int val3 ;
7226 int ecode3 = 0 ;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 PyObject * obj2 = 0 ;
7230 char * kwnames[] = {
7231 (char *) "self",(char *) "item",(char *) "column", NULL
7232 };
7233
7234 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7235 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7236 if (!SWIG_IsOK(res1)) {
7237 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7238 }
7239 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7240 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7241 if (!SWIG_IsOK(res2)) {
7242 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7243 }
7244 if (!argp2) {
7245 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7246 }
7247 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7248 if (obj2) {
7249 ecode3 = SWIG_AsVal_int(obj2, &val3);
7250 if (!SWIG_IsOK(ecode3)) {
7251 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7252 }
7253 arg3 = static_cast< int >(val3);
7254 }
7255 {
7256 PyThreadState* __tstate = wxPyBeginAllowThreads();
7257 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7258 wxPyEndAllowThreads(__tstate);
7259 if (PyErr_Occurred()) SWIG_fail;
7260 }
7261 {
7262#if wxUSE_UNICODE
7263 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7264#else
7265 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7266#endif
7267 }
7268 return resultobj;
7269fail:
7270 return NULL;
7271}
7272
7273
7274SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj = 0;
7276 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7277 wxTreeItemId *arg2 = 0 ;
7278 int arg3 = (int) -1 ;
7279 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7280 int result;
7281 void *argp1 = 0 ;
7282 int res1 = 0 ;
7283 void *argp2 = 0 ;
7284 int res2 = 0 ;
7285 int val3 ;
7286 int ecode3 = 0 ;
7287 int val4 ;
7288 int ecode4 = 0 ;
7289 PyObject * obj0 = 0 ;
7290 PyObject * obj1 = 0 ;
7291 PyObject * obj2 = 0 ;
7292 PyObject * obj3 = 0 ;
7293 char * kwnames[] = {
7294 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7295 };
7296
7297 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) 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_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7301 }
7302 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7303 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7304 if (!SWIG_IsOK(res2)) {
7305 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7306 }
7307 if (!argp2) {
7308 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7309 }
7310 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7311 if (obj2) {
7312 ecode3 = SWIG_AsVal_int(obj2, &val3);
7313 if (!SWIG_IsOK(ecode3)) {
7314 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7315 }
7316 arg3 = static_cast< int >(val3);
7317 }
7318 if (obj3) {
7319 ecode4 = SWIG_AsVal_int(obj3, &val4);
7320 if (!SWIG_IsOK(ecode4)) {
7321 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7322 }
7323 arg4 = static_cast< wxTreeItemIcon >(val4);
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 resultobj = SWIG_From_int(static_cast< int >(result));
7332 return resultobj;
7333fail:
7334 return NULL;
7335}
7336
7337
7338SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7339 PyObject *resultobj = 0;
7340 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7341 wxTreeItemId *arg2 = 0 ;
7342 wxString *arg3 = 0 ;
7343 int arg4 = (int) -1 ;
7344 void *argp1 = 0 ;
7345 int res1 = 0 ;
7346 void *argp2 = 0 ;
7347 int res2 = 0 ;
7348 bool temp3 = false ;
7349 int val4 ;
7350 int ecode4 = 0 ;
7351 PyObject * obj0 = 0 ;
7352 PyObject * obj1 = 0 ;
7353 PyObject * obj2 = 0 ;
7354 PyObject * obj3 = 0 ;
7355 char * kwnames[] = {
7356 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7357 };
7358
7359 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7360 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7361 if (!SWIG_IsOK(res1)) {
7362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7363 }
7364 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7365 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7366 if (!SWIG_IsOK(res2)) {
7367 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7368 }
7369 if (!argp2) {
7370 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7371 }
7372 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7373 {
7374 arg3 = wxString_in_helper(obj2);
7375 if (arg3 == NULL) SWIG_fail;
7376 temp3 = true;
7377 }
7378 if (obj3) {
7379 ecode4 = SWIG_AsVal_int(obj3, &val4);
7380 if (!SWIG_IsOK(ecode4)) {
7381 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7382 }
7383 arg4 = static_cast< int >(val4);
7384 }
7385 {
7386 PyThreadState* __tstate = wxPyBeginAllowThreads();
7387 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7388 wxPyEndAllowThreads(__tstate);
7389 if (PyErr_Occurred()) SWIG_fail;
7390 }
7391 resultobj = SWIG_Py_Void();
7392 {
7393 if (temp3)
7394 delete arg3;
7395 }
7396 return resultobj;
7397fail:
7398 {
7399 if (temp3)
7400 delete arg3;
7401 }
7402 return NULL;
7403}
7404
7405
7406SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7407 PyObject *resultobj = 0;
7408 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7409 wxTreeItemId *arg2 = 0 ;
7410 int arg3 ;
7411 int arg4 = (int) -1 ;
7412 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7413 void *argp1 = 0 ;
7414 int res1 = 0 ;
7415 void *argp2 = 0 ;
7416 int res2 = 0 ;
7417 int val3 ;
7418 int ecode3 = 0 ;
7419 int val4 ;
7420 int ecode4 = 0 ;
7421 int val5 ;
7422 int ecode5 = 0 ;
7423 PyObject * obj0 = 0 ;
7424 PyObject * obj1 = 0 ;
7425 PyObject * obj2 = 0 ;
7426 PyObject * obj3 = 0 ;
7427 PyObject * obj4 = 0 ;
7428 char * kwnames[] = {
7429 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7430 };
7431
7432 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7433 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7434 if (!SWIG_IsOK(res1)) {
7435 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7436 }
7437 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7438 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7439 if (!SWIG_IsOK(res2)) {
7440 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7441 }
7442 if (!argp2) {
7443 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7444 }
7445 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7446 ecode3 = SWIG_AsVal_int(obj2, &val3);
7447 if (!SWIG_IsOK(ecode3)) {
7448 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7449 }
7450 arg3 = static_cast< int >(val3);
7451 if (obj3) {
7452 ecode4 = SWIG_AsVal_int(obj3, &val4);
7453 if (!SWIG_IsOK(ecode4)) {
7454 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7455 }
7456 arg4 = static_cast< int >(val4);
7457 }
7458 if (obj4) {
7459 ecode5 = SWIG_AsVal_int(obj4, &val5);
7460 if (!SWIG_IsOK(ecode5)) {
7461 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7462 }
7463 arg5 = static_cast< wxTreeItemIcon >(val5);
7464 }
7465 {
7466 PyThreadState* __tstate = wxPyBeginAllowThreads();
7467 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 resultobj = SWIG_Py_Void();
7472 return resultobj;
7473fail:
7474 return NULL;
7475}
7476
7477
7478SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj = 0;
7480 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7481 wxTreeItemId *arg2 = 0 ;
7482 wxPyTreeItemData *result = 0 ;
7483 void *argp1 = 0 ;
7484 int res1 = 0 ;
7485 void *argp2 = 0 ;
7486 int res2 = 0 ;
7487 PyObject * obj0 = 0 ;
7488 PyObject * obj1 = 0 ;
7489 char * kwnames[] = {
7490 (char *) "self",(char *) "item", NULL
7491 };
7492
7493 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7494 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7495 if (!SWIG_IsOK(res1)) {
7496 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7497 }
7498 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7499 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7500 if (!SWIG_IsOK(res2)) {
7501 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7502 }
7503 if (!argp2) {
7504 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7505 }
7506 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7514 return resultobj;
7515fail:
7516 return NULL;
7517}
7518
7519
7520SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj = 0;
7522 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7523 wxTreeItemId *arg2 = 0 ;
7524 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7525 void *argp1 = 0 ;
7526 int res1 = 0 ;
7527 void *argp2 = 0 ;
7528 int res2 = 0 ;
0085ce49
RD
7529 int res3 = 0 ;
7530 PyObject * obj0 = 0 ;
7531 PyObject * obj1 = 0 ;
7532 PyObject * obj2 = 0 ;
7533 char * kwnames[] = {
7534 (char *) "self",(char *) "item",(char *) "data", NULL
7535 };
7536
7537 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7538 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7539 if (!SWIG_IsOK(res1)) {
7540 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7541 }
7542 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7543 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7544 if (!SWIG_IsOK(res2)) {
7545 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7546 }
7547 if (!argp2) {
7548 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7549 }
7550 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
01f6b6d3 7551 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 7552 if (!SWIG_IsOK(res3)) {
01f6b6d3 7553 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
0085ce49 7554 }
0085ce49
RD
7555 {
7556 PyThreadState* __tstate = wxPyBeginAllowThreads();
7557 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 resultobj = SWIG_Py_Void();
7562 return resultobj;
7563fail:
7564 return NULL;
7565}
7566
7567
7568SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj = 0;
7570 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7571 wxTreeItemId *arg2 = 0 ;
7572 PyObject *result = 0 ;
7573 void *argp1 = 0 ;
7574 int res1 = 0 ;
7575 void *argp2 = 0 ;
7576 int res2 = 0 ;
7577 PyObject * obj0 = 0 ;
7578 PyObject * obj1 = 0 ;
7579 char * kwnames[] = {
7580 (char *) "self",(char *) "item", NULL
7581 };
7582
7583 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7584 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7585 if (!SWIG_IsOK(res1)) {
7586 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7587 }
7588 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7589 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7590 if (!SWIG_IsOK(res2)) {
7591 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7592 }
7593 if (!argp2) {
7594 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7595 }
7596 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7600 wxPyEndAllowThreads(__tstate);
7601 if (PyErr_Occurred()) SWIG_fail;
7602 }
7603 resultobj = result;
7604 return resultobj;
7605fail:
7606 return NULL;
7607}
7608
7609
7610SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7611 PyObject *resultobj = 0;
7612 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7613 wxTreeItemId *arg2 = 0 ;
7614 PyObject *arg3 = (PyObject *) 0 ;
7615 void *argp1 = 0 ;
7616 int res1 = 0 ;
7617 void *argp2 = 0 ;
7618 int res2 = 0 ;
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
7621 PyObject * obj2 = 0 ;
7622 char * kwnames[] = {
7623 (char *) "self",(char *) "item",(char *) "obj", NULL
7624 };
7625
7626 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7627 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7628 if (!SWIG_IsOK(res1)) {
7629 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7630 }
7631 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7632 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7633 if (!SWIG_IsOK(res2)) {
7634 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7635 }
7636 if (!argp2) {
7637 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7638 }
7639 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7640 arg3 = obj2;
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 resultobj = SWIG_Py_Void();
7648 return resultobj;
7649fail:
7650 return NULL;
7651}
7652
7653
7654SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj = 0;
7656 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7657 wxTreeItemId *arg2 = 0 ;
7658 bool arg3 = (bool) true ;
7659 void *argp1 = 0 ;
7660 int res1 = 0 ;
7661 void *argp2 = 0 ;
7662 int res2 = 0 ;
7663 bool val3 ;
7664 int ecode3 = 0 ;
7665 PyObject * obj0 = 0 ;
7666 PyObject * obj1 = 0 ;
7667 PyObject * obj2 = 0 ;
7668 char * kwnames[] = {
7669 (char *) "self",(char *) "item",(char *) "has", NULL
7670 };
7671
7672 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7673 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7674 if (!SWIG_IsOK(res1)) {
7675 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7676 }
7677 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7678 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7679 if (!SWIG_IsOK(res2)) {
7680 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7681 }
7682 if (!argp2) {
7683 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7684 }
7685 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7686 if (obj2) {
7687 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7688 if (!SWIG_IsOK(ecode3)) {
7689 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
7690 }
7691 arg3 = static_cast< bool >(val3);
7692 }
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
7696 wxPyEndAllowThreads(__tstate);
7697 if (PyErr_Occurred()) SWIG_fail;
7698 }
7699 resultobj = SWIG_Py_Void();
7700 return resultobj;
7701fail:
7702 return NULL;
7703}
7704
7705
7706SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7707 PyObject *resultobj = 0;
7708 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7709 wxTreeItemId *arg2 = 0 ;
7710 bool arg3 = (bool) true ;
7711 void *argp1 = 0 ;
7712 int res1 = 0 ;
7713 void *argp2 = 0 ;
7714 int res2 = 0 ;
7715 bool val3 ;
7716 int ecode3 = 0 ;
7717 PyObject * obj0 = 0 ;
7718 PyObject * obj1 = 0 ;
7719 PyObject * obj2 = 0 ;
7720 char * kwnames[] = {
7721 (char *) "self",(char *) "item",(char *) "bold", NULL
7722 };
7723
7724 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7725 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7726 if (!SWIG_IsOK(res1)) {
7727 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7728 }
7729 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7730 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7731 if (!SWIG_IsOK(res2)) {
7732 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7733 }
7734 if (!argp2) {
7735 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7736 }
7737 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7738 if (obj2) {
7739 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7740 if (!SWIG_IsOK(ecode3)) {
7741 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
7742 }
7743 arg3 = static_cast< bool >(val3);
7744 }
7745 {
7746 PyThreadState* __tstate = wxPyBeginAllowThreads();
7747 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
7748 wxPyEndAllowThreads(__tstate);
7749 if (PyErr_Occurred()) SWIG_fail;
7750 }
7751 resultobj = SWIG_Py_Void();
7752 return resultobj;
7753fail:
7754 return NULL;
7755}
7756
7757
7758SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7759 PyObject *resultobj = 0;
7760 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7761 wxTreeItemId *arg2 = 0 ;
7762 wxColour *arg3 = 0 ;
7763 void *argp1 = 0 ;
7764 int res1 = 0 ;
7765 void *argp2 = 0 ;
7766 int res2 = 0 ;
7767 wxColour temp3 ;
7768 PyObject * obj0 = 0 ;
7769 PyObject * obj1 = 0 ;
7770 PyObject * obj2 = 0 ;
7771 char * kwnames[] = {
7772 (char *) "self",(char *) "item",(char *) "colour", NULL
7773 };
7774
7775 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7776 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7777 if (!SWIG_IsOK(res1)) {
7778 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7779 }
7780 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7781 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7782 if (!SWIG_IsOK(res2)) {
7783 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7784 }
7785 if (!argp2) {
7786 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7787 }
7788 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7789 {
7790 arg3 = &temp3;
7791 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7792 }
7793 {
7794 PyThreadState* __tstate = wxPyBeginAllowThreads();
7795 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 resultobj = SWIG_Py_Void();
7800 return resultobj;
7801fail:
7802 return NULL;
7803}
7804
7805
7806SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7807 PyObject *resultobj = 0;
7808 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7809 wxTreeItemId *arg2 = 0 ;
7810 wxColour *arg3 = 0 ;
7811 void *argp1 = 0 ;
7812 int res1 = 0 ;
7813 void *argp2 = 0 ;
7814 int res2 = 0 ;
7815 wxColour temp3 ;
7816 PyObject * obj0 = 0 ;
7817 PyObject * obj1 = 0 ;
7818 PyObject * obj2 = 0 ;
7819 char * kwnames[] = {
7820 (char *) "self",(char *) "item",(char *) "colour", NULL
7821 };
7822
7823 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) 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_SetItemBackgroundColour" "', 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_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7832 }
7833 if (!argp2) {
7834 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7835 }
7836 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7837 {
7838 arg3 = &temp3;
7839 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
7840 }
7841 {
7842 PyThreadState* __tstate = wxPyBeginAllowThreads();
7843 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_Py_Void();
7848 return resultobj;
7849fail:
7850 return NULL;
7851}
7852
7853
7854SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj = 0;
7856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7857 wxTreeItemId *arg2 = 0 ;
7858 wxFont *arg3 = 0 ;
7859 void *argp1 = 0 ;
7860 int res1 = 0 ;
7861 void *argp2 = 0 ;
7862 int res2 = 0 ;
7863 void *argp3 = 0 ;
7864 int res3 = 0 ;
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj2 = 0 ;
7868 char * kwnames[] = {
7869 (char *) "self",(char *) "item",(char *) "font", NULL
7870 };
7871
7872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7874 if (!SWIG_IsOK(res1)) {
7875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7876 }
7877 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7878 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7879 if (!SWIG_IsOK(res2)) {
7880 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7881 }
7882 if (!argp2) {
7883 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7884 }
7885 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7886 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
7887 if (!SWIG_IsOK(res3)) {
7888 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7889 }
7890 if (!argp3) {
7891 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
7892 }
7893 arg3 = reinterpret_cast< wxFont * >(argp3);
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
7897 wxPyEndAllowThreads(__tstate);
7898 if (PyErr_Occurred()) SWIG_fail;
7899 }
7900 resultobj = SWIG_Py_Void();
7901 return resultobj;
7902fail:
7903 return NULL;
7904}
7905
7906
7907SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7908 PyObject *resultobj = 0;
7909 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7910 wxTreeItemId *arg2 = 0 ;
7911 bool result;
7912 void *argp1 = 0 ;
7913 int res1 = 0 ;
7914 void *argp2 = 0 ;
7915 int res2 = 0 ;
7916 PyObject * obj0 = 0 ;
7917 PyObject * obj1 = 0 ;
7918 char * kwnames[] = {
7919 (char *) "self",(char *) "item", NULL
7920 };
7921
7922 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
7923 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7924 if (!SWIG_IsOK(res1)) {
7925 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7926 }
7927 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7928 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7929 if (!SWIG_IsOK(res2)) {
7930 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7931 }
7932 if (!argp2) {
7933 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7934 }
7935 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
7939 wxPyEndAllowThreads(__tstate);
7940 if (PyErr_Occurred()) SWIG_fail;
7941 }
7942 {
7943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7944 }
7945 return resultobj;
7946fail:
7947 return NULL;
7948}
7949
7950
7951SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7952 PyObject *resultobj = 0;
7953 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7954 wxTreeItemId *arg2 = 0 ;
7955 wxColour result;
7956 void *argp1 = 0 ;
7957 int res1 = 0 ;
7958 void *argp2 = 0 ;
7959 int res2 = 0 ;
7960 PyObject * obj0 = 0 ;
7961 PyObject * obj1 = 0 ;
7962 char * kwnames[] = {
7963 (char *) "self",(char *) "item", NULL
7964 };
7965
7966 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
7967 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7968 if (!SWIG_IsOK(res1)) {
7969 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7970 }
7971 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7972 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7973 if (!SWIG_IsOK(res2)) {
7974 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7975 }
7976 if (!argp2) {
7977 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7978 }
7979 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
7983 wxPyEndAllowThreads(__tstate);
7984 if (PyErr_Occurred()) SWIG_fail;
7985 }
7986 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
7987 return resultobj;
7988fail:
7989 return NULL;
7990}
7991
7992
7993SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7994 PyObject *resultobj = 0;
7995 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7996 wxTreeItemId *arg2 = 0 ;
7997 wxColour result;
7998 void *argp1 = 0 ;
7999 int res1 = 0 ;
8000 void *argp2 = 0 ;
8001 int res2 = 0 ;
8002 PyObject * obj0 = 0 ;
8003 PyObject * obj1 = 0 ;
8004 char * kwnames[] = {
8005 (char *) "self",(char *) "item", NULL
8006 };
8007
8008 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
8009 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8010 if (!SWIG_IsOK(res1)) {
8011 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8012 }
8013 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8014 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8015 if (!SWIG_IsOK(res2)) {
8016 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8017 }
8018 if (!argp2) {
8019 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8020 }
8021 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
8025 wxPyEndAllowThreads(__tstate);
8026 if (PyErr_Occurred()) SWIG_fail;
8027 }
8028 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
8029 return resultobj;
8030fail:
8031 return NULL;
8032}
8033
8034
8035SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8036 PyObject *resultobj = 0;
8037 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8038 wxTreeItemId *arg2 = 0 ;
8039 wxFont result;
8040 void *argp1 = 0 ;
8041 int res1 = 0 ;
8042 void *argp2 = 0 ;
8043 int res2 = 0 ;
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char * kwnames[] = {
8047 (char *) "self",(char *) "item", NULL
8048 };
8049
8050 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
8051 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8052 if (!SWIG_IsOK(res1)) {
8053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8054 }
8055 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8056 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8057 if (!SWIG_IsOK(res2)) {
8058 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8059 }
8060 if (!argp2) {
8061 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8062 }
8063 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8064 {
8065 PyThreadState* __tstate = wxPyBeginAllowThreads();
8066 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
8067 wxPyEndAllowThreads(__tstate);
8068 if (PyErr_Occurred()) SWIG_fail;
8069 }
8070 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
8071 return resultobj;
8072fail:
8073 return NULL;
8074}
8075
8076
8077SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj = 0;
8079 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8080 wxTreeItemId *arg2 = 0 ;
8081 bool result;
8082 void *argp1 = 0 ;
8083 int res1 = 0 ;
8084 void *argp2 = 0 ;
8085 int res2 = 0 ;
8086 PyObject * obj0 = 0 ;
8087 PyObject * obj1 = 0 ;
8088 char * kwnames[] = {
8089 (char *) "self",(char *) "item", NULL
8090 };
8091
8092 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8093 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8094 if (!SWIG_IsOK(res1)) {
8095 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8096 }
8097 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8098 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8099 if (!SWIG_IsOK(res2)) {
8100 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8101 }
8102 if (!argp2) {
8103 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8104 }
8105 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8109 wxPyEndAllowThreads(__tstate);
8110 if (PyErr_Occurred()) SWIG_fail;
8111 }
8112 {
8113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8114 }
8115 return resultobj;
8116fail:
8117 return NULL;
8118}
8119
8120
8121SWIGINTERN PyObject *_wrap_TreeListCtrl_ItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8122 PyObject *resultobj = 0;
8123 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8124 wxTreeItemId *arg2 = 0 ;
8125 bool result;
8126 void *argp1 = 0 ;
8127 int res1 = 0 ;
8128 void *argp2 = 0 ;
8129 int res2 = 0 ;
8130 PyObject * obj0 = 0 ;
8131 PyObject * obj1 = 0 ;
8132 char * kwnames[] = {
8133 (char *) "self",(char *) "item", NULL
8134 };
8135
8136 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
8137 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8138 if (!SWIG_IsOK(res1)) {
8139 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8140 }
8141 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8142 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8143 if (!SWIG_IsOK(res2)) {
8144 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8145 }
8146 if (!argp2) {
8147 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8148 }
8149 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (bool)((wxPyTreeListCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 {
8157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8158 }
8159 return resultobj;
8160fail:
8161 return NULL;
8162}
8163
8164
8165SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj = 0;
8167 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8168 wxTreeItemId *arg2 = 0 ;
8169 bool result;
8170 void *argp1 = 0 ;
8171 int res1 = 0 ;
8172 void *argp2 = 0 ;
8173 int res2 = 0 ;
8174 PyObject * obj0 = 0 ;
8175 PyObject * obj1 = 0 ;
8176 char * kwnames[] = {
8177 (char *) "self",(char *) "item", NULL
8178 };
8179
8180 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8181 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8182 if (!SWIG_IsOK(res1)) {
8183 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8184 }
8185 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8186 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8187 if (!SWIG_IsOK(res2)) {
8188 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8189 }
8190 if (!argp2) {
8191 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8192 }
8193 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
8196 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 {
8201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8202 }
8203 return resultobj;
8204fail:
8205 return NULL;
8206}
8207
8208
8209SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj = 0;
8211 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8212 wxTreeItemId *arg2 = 0 ;
8213 bool result;
8214 void *argp1 = 0 ;
8215 int res1 = 0 ;
8216 void *argp2 = 0 ;
8217 int res2 = 0 ;
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
8220 char * kwnames[] = {
8221 (char *) "self",(char *) "item", NULL
8222 };
8223
8224 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8225 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8226 if (!SWIG_IsOK(res1)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8228 }
8229 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8230 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8231 if (!SWIG_IsOK(res2)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8233 }
8234 if (!argp2) {
8235 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8236 }
8237 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8238 {
8239 PyThreadState* __tstate = wxPyBeginAllowThreads();
8240 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8241 wxPyEndAllowThreads(__tstate);
8242 if (PyErr_Occurred()) SWIG_fail;
8243 }
8244 {
8245 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8246 }
8247 return resultobj;
8248fail:
8249 return NULL;
8250}
8251
8252
8253SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj = 0;
8255 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8256 wxTreeItemId *arg2 = 0 ;
8257 bool result;
8258 void *argp1 = 0 ;
8259 int res1 = 0 ;
8260 void *argp2 = 0 ;
8261 int res2 = 0 ;
8262 PyObject * obj0 = 0 ;
8263 PyObject * obj1 = 0 ;
8264 char * kwnames[] = {
8265 (char *) "self",(char *) "item", NULL
8266 };
8267
8268 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8269 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8270 if (!SWIG_IsOK(res1)) {
8271 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8272 }
8273 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8274 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8275 if (!SWIG_IsOK(res2)) {
8276 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8277 }
8278 if (!argp2) {
8279 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8280 }
8281 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8282 {
8283 PyThreadState* __tstate = wxPyBeginAllowThreads();
8284 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
8288 {
8289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8290 }
8291 return resultobj;
8292fail:
8293 return NULL;
8294}
8295
8296
8297SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8298 PyObject *resultobj = 0;
8299 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8300 wxTreeItemId *arg2 = 0 ;
8301 bool arg3 = (bool) true ;
8302 size_t result;
8303 void *argp1 = 0 ;
8304 int res1 = 0 ;
8305 void *argp2 = 0 ;
8306 int res2 = 0 ;
8307 bool val3 ;
8308 int ecode3 = 0 ;
8309 PyObject * obj0 = 0 ;
8310 PyObject * obj1 = 0 ;
8311 PyObject * obj2 = 0 ;
8312 char * kwnames[] = {
8313 (char *) "self",(char *) "item",(char *) "recursively", NULL
8314 };
8315
8316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8318 if (!SWIG_IsOK(res1)) {
8319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8320 }
8321 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8322 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8323 if (!SWIG_IsOK(res2)) {
8324 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8325 }
8326 if (!argp2) {
8327 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8328 }
8329 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8330 if (obj2) {
8331 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8332 if (!SWIG_IsOK(ecode3)) {
8333 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8334 }
8335 arg3 = static_cast< bool >(val3);
8336 }
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8344 return resultobj;
8345fail:
8346 return NULL;
44127b65
RD
8347}
8348
8349
0085ce49
RD
8350SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8351 PyObject *resultobj = 0;
8352 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8353 wxTreeItemId result;
8354 void *argp1 = 0 ;
8355 int res1 = 0 ;
8356 PyObject *swig_obj[1] ;
8357
8358 if (!args) SWIG_fail;
8359 swig_obj[0] = args;
8360 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8361 if (!SWIG_IsOK(res1)) {
8362 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8363 }
8364 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8372 return resultobj;
8373fail:
8374 return NULL;
44127b65
RD
8375}
8376
8377
0085ce49
RD
8378SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8379 PyObject *resultobj = 0;
8380 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8381 wxTreeItemId result;
8382 void *argp1 = 0 ;
8383 int res1 = 0 ;
8384 PyObject *swig_obj[1] ;
8385
8386 if (!args) SWIG_fail;
8387 swig_obj[0] = args;
8388 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8389 if (!SWIG_IsOK(res1)) {
8390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8391 }
8392 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8393 {
8394 PyThreadState* __tstate = wxPyBeginAllowThreads();
8395 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8400 return resultobj;
8401fail:
8402 return NULL;
44127b65
RD
8403}
8404
8405
0085ce49
RD
8406SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8407 PyObject *resultobj = 0;
8408 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8409 PyObject *result = 0 ;
8410 void *argp1 = 0 ;
8411 int res1 = 0 ;
8412 PyObject *swig_obj[1] ;
8413
8414 if (!args) SWIG_fail;
8415 swig_obj[0] = args;
8416 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8417 if (!SWIG_IsOK(res1)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8419 }
8420 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8421 {
8422 PyThreadState* __tstate = wxPyBeginAllowThreads();
8423 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8424 wxPyEndAllowThreads(__tstate);
8425 if (PyErr_Occurred()) SWIG_fail;
8426 }
8427 resultobj = result;
8428 return resultobj;
8429fail:
8430 return NULL;
8431}
8432
8433
8434SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8435 PyObject *resultobj = 0;
8436 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8437 wxTreeItemId *arg2 = 0 ;
8438 wxTreeItemId result;
8439 void *argp1 = 0 ;
8440 int res1 = 0 ;
8441 void *argp2 = 0 ;
8442 int res2 = 0 ;
8443 PyObject * obj0 = 0 ;
8444 PyObject * obj1 = 0 ;
8445 char * kwnames[] = {
8446 (char *) "self",(char *) "item", NULL
8447 };
8448
8449 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8450 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8451 if (!SWIG_IsOK(res1)) {
8452 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8453 }
8454 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8455 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8456 if (!SWIG_IsOK(res2)) {
8457 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8458 }
8459 if (!argp2) {
8460 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8461 }
8462 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8463 {
8464 PyThreadState* __tstate = wxPyBeginAllowThreads();
8465 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8470 return resultobj;
8471fail:
8472 return NULL;
8473}
8474
8475
8476SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj = 0;
8478 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8479 wxTreeItemId *arg2 = 0 ;
8480 PyObject *result = 0 ;
8481 void *argp1 = 0 ;
8482 int res1 = 0 ;
8483 void *argp2 = 0 ;
8484 int res2 = 0 ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj1 = 0 ;
8487 char * kwnames[] = {
8488 (char *) "self",(char *) "item", NULL
8489 };
8490
8491 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8492 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8493 if (!SWIG_IsOK(res1)) {
8494 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8495 }
8496 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8497 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8498 if (!SWIG_IsOK(res2)) {
8499 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8500 }
8501 if (!argp2) {
8502 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8503 }
8504 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8505 {
8506 PyThreadState* __tstate = wxPyBeginAllowThreads();
8507 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8508 wxPyEndAllowThreads(__tstate);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 }
8511 resultobj = result;
8512 return resultobj;
8513fail:
8514 return NULL;
8515}
8516
8517
8518SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8519 PyObject *resultobj = 0;
8520 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8521 wxTreeItemId *arg2 = 0 ;
8522 void *arg3 = (void *) 0 ;
8523 PyObject *result = 0 ;
8524 void *argp1 = 0 ;
8525 int res1 = 0 ;
8526 void *argp2 = 0 ;
8527 int res2 = 0 ;
8528 int res3 ;
8529 PyObject * obj0 = 0 ;
8530 PyObject * obj1 = 0 ;
8531 PyObject * obj2 = 0 ;
8532 char * kwnames[] = {
8533 (char *) "self",(char *) "item",(char *) "cookie", NULL
8534 };
8535
8536 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8537 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8538 if (!SWIG_IsOK(res1)) {
8539 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8540 }
8541 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8542 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8543 if (!SWIG_IsOK(res2)) {
8544 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8545 }
8546 if (!argp2) {
8547 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8548 }
8549 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8550 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8551 if (!SWIG_IsOK(res3)) {
8552 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8553 }
8554 {
8555 PyThreadState* __tstate = wxPyBeginAllowThreads();
8556 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = result;
8561 return resultobj;
8562fail:
8563 return NULL;
8564}
8565
8566
8567SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj = 0;
8569 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8570 wxTreeItemId *arg2 = 0 ;
8571 wxTreeItemId result;
8572 void *argp1 = 0 ;
8573 int res1 = 0 ;
8574 void *argp2 = 0 ;
8575 int res2 = 0 ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 char * kwnames[] = {
8579 (char *) "self",(char *) "item", NULL
8580 };
8581
8582 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8583 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8584 if (!SWIG_IsOK(res1)) {
8585 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8586 }
8587 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8588 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8589 if (!SWIG_IsOK(res2)) {
8590 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8591 }
8592 if (!argp2) {
8593 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8594 }
8595 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8596 {
8597 PyThreadState* __tstate = wxPyBeginAllowThreads();
8598 result = ((wxPyTreeListCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8603 return resultobj;
8604fail:
8605 return NULL;
8606}
8607
8608
8609SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj = 0;
8611 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8612 wxTreeItemId *arg2 = 0 ;
8613 wxTreeItemId result;
8614 void *argp1 = 0 ;
8615 int res1 = 0 ;
8616 void *argp2 = 0 ;
8617 int res2 = 0 ;
8618 PyObject * obj0 = 0 ;
8619 PyObject * obj1 = 0 ;
8620 char * kwnames[] = {
8621 (char *) "self",(char *) "item", NULL
8622 };
8623
8624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8626 if (!SWIG_IsOK(res1)) {
8627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8628 }
8629 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8630 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8631 if (!SWIG_IsOK(res2)) {
8632 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8633 }
8634 if (!argp2) {
8635 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8636 }
8637 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8645 return resultobj;
8646fail:
8647 return NULL;
8648}
8649
8650
8651SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj = 0;
8653 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8654 wxTreeItemId *arg2 = 0 ;
8655 wxTreeItemId result;
8656 void *argp1 = 0 ;
8657 int res1 = 0 ;
8658 void *argp2 = 0 ;
8659 int res2 = 0 ;
8660 PyObject * obj0 = 0 ;
8661 PyObject * obj1 = 0 ;
8662 char * kwnames[] = {
8663 (char *) "self",(char *) "item", NULL
8664 };
8665
8666 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) SWIG_fail;
8667 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8668 if (!SWIG_IsOK(res1)) {
8669 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8670 }
8671 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8672 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8673 if (!SWIG_IsOK(res2)) {
8674 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8675 }
8676 if (!argp2) {
8677 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8678 }
8679 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
8683 wxPyEndAllowThreads(__tstate);
8684 if (PyErr_Occurred()) SWIG_fail;
8685 }
8686 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8687 return resultobj;
8688fail:
8689 return NULL;
44127b65
RD
8690}
8691
8692
0085ce49
RD
8693SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8694 PyObject *resultobj = 0;
8695 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8696 wxTreeItemId result;
8697 void *argp1 = 0 ;
8698 int res1 = 0 ;
8699 PyObject *swig_obj[1] ;
8700
8701 if (!args) SWIG_fail;
8702 swig_obj[0] = args;
8703 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8704 if (!SWIG_IsOK(res1)) {
8705 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8706 }
8707 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8708 {
8709 PyThreadState* __tstate = wxPyBeginAllowThreads();
8710 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem();
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8715 return resultobj;
8716fail:
8717 return NULL;
8718}
8719
8720
8721SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj = 0;
8723 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8724 wxTreeItemId *arg2 = 0 ;
8725 wxTreeItemId result;
8726 void *argp1 = 0 ;
8727 int res1 = 0 ;
8728 void *argp2 = 0 ;
8729 int res2 = 0 ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
8732 char * kwnames[] = {
8733 (char *) "self",(char *) "item", NULL
8734 };
8735
8736 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8737 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8738 if (!SWIG_IsOK(res1)) {
8739 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8740 }
8741 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8742 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8743 if (!SWIG_IsOK(res2)) {
8744 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8745 }
8746 if (!argp2) {
8747 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8748 }
8749 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
8753 wxPyEndAllowThreads(__tstate);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 }
8756 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8757 return resultobj;
8758fail:
8759 return NULL;
8760}
8761
8762
8763SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8764 PyObject *resultobj = 0;
8765 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8766 wxTreeItemId *arg2 = 0 ;
8767 wxTreeItemId result;
8768 void *argp1 = 0 ;
8769 int res1 = 0 ;
8770 void *argp2 = 0 ;
8771 int res2 = 0 ;
8772 PyObject * obj0 = 0 ;
8773 PyObject * obj1 = 0 ;
8774 char * kwnames[] = {
8775 (char *) "self",(char *) "item", NULL
8776 };
8777
8778 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8779 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8780 if (!SWIG_IsOK(res1)) {
8781 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8782 }
8783 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8784 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8785 if (!SWIG_IsOK(res2)) {
8786 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8787 }
8788 if (!argp2) {
8789 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8790 }
8791 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
8795 wxPyEndAllowThreads(__tstate);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 }
8798 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8799 return resultobj;
8800fail:
8801 return NULL;
8802}
8803
8804
8805SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8806 PyObject *resultobj = 0;
8807 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8808 wxTreeItemId *arg2 = 0 ;
8809 wxTreeItemId result;
8810 void *argp1 = 0 ;
8811 int res1 = 0 ;
8812 void *argp2 = 0 ;
8813 int res2 = 0 ;
8814 PyObject * obj0 = 0 ;
8815 PyObject * obj1 = 0 ;
8816 char * kwnames[] = {
8817 (char *) "self",(char *) "item", NULL
8818 };
8819
8820 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
8821 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8822 if (!SWIG_IsOK(res1)) {
8823 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8824 }
8825 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8826 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8827 if (!SWIG_IsOK(res2)) {
8828 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8829 }
8830 if (!argp2) {
8831 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8832 }
8833 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
8837 wxPyEndAllowThreads(__tstate);
8838 if (PyErr_Occurred()) SWIG_fail;
8839 }
8840 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8841 return resultobj;
8842fail:
8843 return NULL;
8844}
8845
8846
8847SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj = 0;
8849 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8850 wxString *arg2 = 0 ;
8851 int arg3 = (int) -1 ;
8852 int arg4 = (int) -1 ;
8853 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
8854 wxTreeItemId result;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 bool temp2 = false ;
8858 int val3 ;
8859 int ecode3 = 0 ;
8860 int val4 ;
8861 int ecode4 = 0 ;
0085ce49
RD
8862 int res5 = 0 ;
8863 PyObject * obj0 = 0 ;
8864 PyObject * obj1 = 0 ;
8865 PyObject * obj2 = 0 ;
8866 PyObject * obj3 = 0 ;
8867 PyObject * obj4 = 0 ;
8868 char * kwnames[] = {
8869 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8870 };
8871
8872 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
8873 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8874 if (!SWIG_IsOK(res1)) {
8875 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8876 }
8877 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8878 {
8879 arg2 = wxString_in_helper(obj1);
8880 if (arg2 == NULL) SWIG_fail;
8881 temp2 = true;
8882 }
8883 if (obj2) {
8884 ecode3 = SWIG_AsVal_int(obj2, &val3);
8885 if (!SWIG_IsOK(ecode3)) {
8886 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
8887 }
8888 arg3 = static_cast< int >(val3);
8889 }
8890 if (obj3) {
8891 ecode4 = SWIG_AsVal_int(obj3, &val4);
8892 if (!SWIG_IsOK(ecode4)) {
8893 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
8894 }
8895 arg4 = static_cast< int >(val4);
8896 }
8897 if (obj4) {
01f6b6d3 8898 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 8899 if (!SWIG_IsOK(res5)) {
01f6b6d3 8900 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
28eab81f 8901 }
0085ce49
RD
8902 }
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
8906 wxPyEndAllowThreads(__tstate);
8907 if (PyErr_Occurred()) SWIG_fail;
8908 }
8909 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8910 {
8911 if (temp2)
8912 delete arg2;
8913 }
8914 return resultobj;
8915fail:
8916 {
8917 if (temp2)
8918 delete arg2;
8919 }
8920 return NULL;
8921}
8922
8923
8924SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8925 PyObject *resultobj = 0;
8926 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8927 wxTreeItemId *arg2 = 0 ;
8928 wxString *arg3 = 0 ;
8929 int arg4 = (int) -1 ;
8930 int arg5 = (int) -1 ;
8931 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
8932 wxTreeItemId result;
8933 void *argp1 = 0 ;
8934 int res1 = 0 ;
8935 void *argp2 = 0 ;
8936 int res2 = 0 ;
8937 bool temp3 = false ;
8938 int val4 ;
8939 int ecode4 = 0 ;
8940 int val5 ;
8941 int ecode5 = 0 ;
0085ce49
RD
8942 int res6 = 0 ;
8943 PyObject * obj0 = 0 ;
8944 PyObject * obj1 = 0 ;
8945 PyObject * obj2 = 0 ;
8946 PyObject * obj3 = 0 ;
8947 PyObject * obj4 = 0 ;
8948 PyObject * obj5 = 0 ;
8949 char * kwnames[] = {
8950 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
8951 };
8952
8953 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
8954 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8955 if (!SWIG_IsOK(res1)) {
8956 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8957 }
8958 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8959 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8960 if (!SWIG_IsOK(res2)) {
8961 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8962 }
8963 if (!argp2) {
8964 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8965 }
8966 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8967 {
8968 arg3 = wxString_in_helper(obj2);
8969 if (arg3 == NULL) SWIG_fail;
8970 temp3 = true;
8971 }
8972 if (obj3) {
8973 ecode4 = SWIG_AsVal_int(obj3, &val4);
8974 if (!SWIG_IsOK(ecode4)) {
8975 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
8976 }
8977 arg4 = static_cast< int >(val4);
8978 }
8979 if (obj4) {
8980 ecode5 = SWIG_AsVal_int(obj4, &val5);
8981 if (!SWIG_IsOK(ecode5)) {
8982 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
8983 }
8984 arg5 = static_cast< int >(val5);
8985 }
8986 if (obj5) {
01f6b6d3 8987 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 8988 if (!SWIG_IsOK(res6)) {
01f6b6d3 8989 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
28eab81f 8990 }
0085ce49
RD
8991 }
8992 {
8993 PyThreadState* __tstate = wxPyBeginAllowThreads();
8994 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8999 {
9000 if (temp3)
9001 delete arg3;
9002 }
9003 return resultobj;
9004fail:
9005 {
9006 if (temp3)
9007 delete arg3;
9008 }
9009 return NULL;
9010}
9011
9012
9013SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj = 0;
9015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9016 wxTreeItemId *arg2 = 0 ;
9017 wxTreeItemId *arg3 = 0 ;
9018 wxString *arg4 = 0 ;
9019 int arg5 = (int) -1 ;
9020 int arg6 = (int) -1 ;
9021 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9022 wxTreeItemId result;
9023 void *argp1 = 0 ;
9024 int res1 = 0 ;
9025 void *argp2 = 0 ;
9026 int res2 = 0 ;
9027 void *argp3 = 0 ;
9028 int res3 = 0 ;
9029 bool temp4 = false ;
9030 int val5 ;
9031 int ecode5 = 0 ;
9032 int val6 ;
9033 int ecode6 = 0 ;
0085ce49
RD
9034 int res7 = 0 ;
9035 PyObject * obj0 = 0 ;
9036 PyObject * obj1 = 0 ;
9037 PyObject * obj2 = 0 ;
9038 PyObject * obj3 = 0 ;
9039 PyObject * obj4 = 0 ;
9040 PyObject * obj5 = 0 ;
9041 PyObject * obj6 = 0 ;
9042 char * kwnames[] = {
9043 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9044 };
9045
9046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9047 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9048 if (!SWIG_IsOK(res1)) {
9049 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9050 }
9051 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9052 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9053 if (!SWIG_IsOK(res2)) {
9054 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9055 }
9056 if (!argp2) {
9057 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9058 }
9059 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9060 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9061 if (!SWIG_IsOK(res3)) {
9062 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9063 }
9064 if (!argp3) {
9065 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9066 }
9067 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9068 {
9069 arg4 = wxString_in_helper(obj3);
9070 if (arg4 == NULL) SWIG_fail;
9071 temp4 = true;
9072 }
9073 if (obj4) {
9074 ecode5 = SWIG_AsVal_int(obj4, &val5);
9075 if (!SWIG_IsOK(ecode5)) {
9076 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9077 }
9078 arg5 = static_cast< int >(val5);
9079 }
9080 if (obj5) {
9081 ecode6 = SWIG_AsVal_int(obj5, &val6);
9082 if (!SWIG_IsOK(ecode6)) {
9083 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9084 }
9085 arg6 = static_cast< int >(val6);
9086 }
9087 if (obj6) {
01f6b6d3 9088 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9089 if (!SWIG_IsOK(res7)) {
01f6b6d3 9090 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
28eab81f 9091 }
0085ce49
RD
9092 }
9093 {
9094 PyThreadState* __tstate = wxPyBeginAllowThreads();
9095 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9096 wxPyEndAllowThreads(__tstate);
9097 if (PyErr_Occurred()) SWIG_fail;
9098 }
9099 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9100 {
9101 if (temp4)
9102 delete arg4;
9103 }
9104 return resultobj;
9105fail:
9106 {
9107 if (temp4)
9108 delete arg4;
9109 }
9110 return NULL;
9111}
9112
9113
9114SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9115 PyObject *resultobj = 0;
9116 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9117 wxTreeItemId *arg2 = 0 ;
9118 size_t arg3 ;
9119 wxString *arg4 = 0 ;
9120 int arg5 = (int) -1 ;
9121 int arg6 = (int) -1 ;
9122 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9123 wxTreeItemId result;
9124 void *argp1 = 0 ;
9125 int res1 = 0 ;
9126 void *argp2 = 0 ;
9127 int res2 = 0 ;
9128 size_t val3 ;
9129 int ecode3 = 0 ;
9130 bool temp4 = false ;
9131 int val5 ;
9132 int ecode5 = 0 ;
9133 int val6 ;
9134 int ecode6 = 0 ;
0085ce49
RD
9135 int res7 = 0 ;
9136 PyObject * obj0 = 0 ;
9137 PyObject * obj1 = 0 ;
9138 PyObject * obj2 = 0 ;
9139 PyObject * obj3 = 0 ;
9140 PyObject * obj4 = 0 ;
9141 PyObject * obj5 = 0 ;
9142 PyObject * obj6 = 0 ;
9143 char * kwnames[] = {
9144 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9145 };
9146
9147 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9148 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9149 if (!SWIG_IsOK(res1)) {
9150 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9151 }
9152 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9153 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9154 if (!SWIG_IsOK(res2)) {
9155 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9156 }
9157 if (!argp2) {
9158 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9159 }
9160 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9161 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9162 if (!SWIG_IsOK(ecode3)) {
9163 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9164 }
9165 arg3 = static_cast< size_t >(val3);
9166 {
9167 arg4 = wxString_in_helper(obj3);
9168 if (arg4 == NULL) SWIG_fail;
9169 temp4 = true;
9170 }
9171 if (obj4) {
9172 ecode5 = SWIG_AsVal_int(obj4, &val5);
9173 if (!SWIG_IsOK(ecode5)) {
9174 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9175 }
9176 arg5 = static_cast< int >(val5);
9177 }
9178 if (obj5) {
9179 ecode6 = SWIG_AsVal_int(obj5, &val6);
9180 if (!SWIG_IsOK(ecode6)) {
9181 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9182 }
9183 arg6 = static_cast< int >(val6);
9184 }
9185 if (obj6) {
01f6b6d3 9186 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9187 if (!SWIG_IsOK(res7)) {
01f6b6d3 9188 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
44127b65 9189 }
0085ce49
RD
9190 }
9191 {
9192 PyThreadState* __tstate = wxPyBeginAllowThreads();
9193 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9198 {
9199 if (temp4)
9200 delete arg4;
9201 }
9202 return resultobj;
9203fail:
9204 {
9205 if (temp4)
9206 delete arg4;
9207 }
9208 return NULL;
9209}
9210
9211
9212SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9213 PyObject *resultobj = 0;
9214 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9215 wxTreeItemId *arg2 = 0 ;
9216 wxString *arg3 = 0 ;
9217 int arg4 = (int) -1 ;
9218 int arg5 = (int) -1 ;
9219 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9220 wxTreeItemId result;
9221 void *argp1 = 0 ;
9222 int res1 = 0 ;
9223 void *argp2 = 0 ;
9224 int res2 = 0 ;
9225 bool temp3 = false ;
9226 int val4 ;
9227 int ecode4 = 0 ;
9228 int val5 ;
9229 int ecode5 = 0 ;
0085ce49
RD
9230 int res6 = 0 ;
9231 PyObject * obj0 = 0 ;
9232 PyObject * obj1 = 0 ;
9233 PyObject * obj2 = 0 ;
9234 PyObject * obj3 = 0 ;
9235 PyObject * obj4 = 0 ;
9236 PyObject * obj5 = 0 ;
9237 char * kwnames[] = {
9238 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9239 };
9240
9241 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9242 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9243 if (!SWIG_IsOK(res1)) {
9244 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9245 }
9246 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
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_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9250 }
9251 if (!argp2) {
9252 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9253 }
9254 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9255 {
9256 arg3 = wxString_in_helper(obj2);
9257 if (arg3 == NULL) SWIG_fail;
9258 temp3 = true;
9259 }
9260 if (obj3) {
9261 ecode4 = SWIG_AsVal_int(obj3, &val4);
9262 if (!SWIG_IsOK(ecode4)) {
9263 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9264 }
9265 arg4 = static_cast< int >(val4);
9266 }
9267 if (obj4) {
9268 ecode5 = SWIG_AsVal_int(obj4, &val5);
9269 if (!SWIG_IsOK(ecode5)) {
9270 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9271 }
9272 arg5 = static_cast< int >(val5);
9273 }
9274 if (obj5) {
01f6b6d3 9275 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9276 if (!SWIG_IsOK(res6)) {
01f6b6d3 9277 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
44127b65 9278 }
0085ce49
RD
9279 }
9280 {
9281 PyThreadState* __tstate = wxPyBeginAllowThreads();
9282 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9283 wxPyEndAllowThreads(__tstate);
9284 if (PyErr_Occurred()) SWIG_fail;
9285 }
9286 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9287 {
9288 if (temp3)
9289 delete arg3;
9290 }
9291 return resultobj;
9292fail:
9293 {
9294 if (temp3)
9295 delete arg3;
9296 }
9297 return NULL;
9298}
9299
9300
9301SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9302 PyObject *resultobj = 0;
9303 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9304 wxTreeItemId *arg2 = 0 ;
9305 void *argp1 = 0 ;
9306 int res1 = 0 ;
9307 void *argp2 = 0 ;
9308 int res2 = 0 ;
9309 PyObject * obj0 = 0 ;
9310 PyObject * obj1 = 0 ;
9311 char * kwnames[] = {
9312 (char *) "self",(char *) "item", NULL
9313 };
9314
9315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9317 if (!SWIG_IsOK(res1)) {
9318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9319 }
9320 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9321 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9322 if (!SWIG_IsOK(res2)) {
9323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9324 }
9325 if (!argp2) {
9326 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9327 }
9328 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9329 {
9330 PyThreadState* __tstate = wxPyBeginAllowThreads();
9331 (arg1)->Delete((wxTreeItemId const &)*arg2);
9332 wxPyEndAllowThreads(__tstate);
9333 if (PyErr_Occurred()) SWIG_fail;
9334 }
9335 resultobj = SWIG_Py_Void();
9336 return resultobj;
9337fail:
9338 return NULL;
9339}
9340
9341
9342SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj = 0;
9344 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9345 wxTreeItemId *arg2 = 0 ;
9346 void *argp1 = 0 ;
9347 int res1 = 0 ;
9348 void *argp2 = 0 ;
9349 int res2 = 0 ;
9350 PyObject * obj0 = 0 ;
9351 PyObject * obj1 = 0 ;
9352 char * kwnames[] = {
9353 (char *) "self",(char *) "item", NULL
9354 };
9355
9356 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9357 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9358 if (!SWIG_IsOK(res1)) {
9359 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9360 }
9361 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9362 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9363 if (!SWIG_IsOK(res2)) {
9364 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9365 }
9366 if (!argp2) {
9367 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9368 }
9369 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9370 {
9371 PyThreadState* __tstate = wxPyBeginAllowThreads();
9372 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 resultobj = SWIG_Py_Void();
9377 return resultobj;
9378fail:
9379 return NULL;
44127b65
RD
9380}
9381
9382
0085ce49
RD
9383SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteAllItems(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9384 PyObject *resultobj = 0;
9385 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9386 void *argp1 = 0 ;
9387 int res1 = 0 ;
9388 PyObject *swig_obj[1] ;
9389
9390 if (!args) SWIG_fail;
9391 swig_obj[0] = args;
9392 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9393 if (!SWIG_IsOK(res1)) {
9394 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteAllItems" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9395 }
9396 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9397 {
9398 PyThreadState* __tstate = wxPyBeginAllowThreads();
9399 (arg1)->DeleteAllItems();
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = SWIG_Py_Void();
9404 return resultobj;
9405fail:
9406 return NULL;
9407}
9408
9409
9410SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj = 0;
9412 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9413 wxTreeItemId *arg2 = 0 ;
9414 void *argp1 = 0 ;
9415 int res1 = 0 ;
9416 void *argp2 = 0 ;
9417 int res2 = 0 ;
9418 PyObject * obj0 = 0 ;
9419 PyObject * obj1 = 0 ;
9420 char * kwnames[] = {
9421 (char *) "self",(char *) "item", NULL
9422 };
9423
9424 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9425 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9426 if (!SWIG_IsOK(res1)) {
9427 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9428 }
9429 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9430 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9431 if (!SWIG_IsOK(res2)) {
9432 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9433 }
9434 if (!argp2) {
9435 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9436 }
9437 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9438 {
9439 PyThreadState* __tstate = wxPyBeginAllowThreads();
9440 (arg1)->Expand((wxTreeItemId const &)*arg2);
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 resultobj = SWIG_Py_Void();
9445 return resultobj;
9446fail:
9447 return NULL;
9448}
9449
9450
9451SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj = 0;
9453 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9454 wxTreeItemId *arg2 = 0 ;
9455 void *argp1 = 0 ;
9456 int res1 = 0 ;
9457 void *argp2 = 0 ;
9458 int res2 = 0 ;
9459 PyObject * obj0 = 0 ;
9460 PyObject * obj1 = 0 ;
9461 char * kwnames[] = {
9462 (char *) "self",(char *) "item", NULL
9463 };
9464
9465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
9466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9467 if (!SWIG_IsOK(res1)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9469 }
9470 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9471 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9472 if (!SWIG_IsOK(res2)) {
9473 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9474 }
9475 if (!argp2) {
9476 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9477 }
9478 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
9485 resultobj = SWIG_Py_Void();
9486 return resultobj;
9487fail:
9488 return NULL;
9489}
9490
9491
9492SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj = 0;
9494 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9495 wxTreeItemId *arg2 = 0 ;
9496 void *argp1 = 0 ;
9497 int res1 = 0 ;
9498 void *argp2 = 0 ;
9499 int res2 = 0 ;
9500 PyObject * obj0 = 0 ;
9501 PyObject * obj1 = 0 ;
9502 char * kwnames[] = {
9503 (char *) "self",(char *) "item", NULL
9504 };
9505
9506 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
9507 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9508 if (!SWIG_IsOK(res1)) {
9509 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9510 }
9511 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9512 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9513 if (!SWIG_IsOK(res2)) {
9514 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9515 }
9516 if (!argp2) {
9517 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9518 }
9519 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9520 {
9521 PyThreadState* __tstate = wxPyBeginAllowThreads();
9522 (arg1)->Collapse((wxTreeItemId const &)*arg2);
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = SWIG_Py_Void();
9527 return resultobj;
9528fail:
9529 return NULL;
9530}
9531
9532
9533SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9534 PyObject *resultobj = 0;
9535 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9536 wxTreeItemId *arg2 = 0 ;
9537 void *argp1 = 0 ;
9538 int res1 = 0 ;
9539 void *argp2 = 0 ;
9540 int res2 = 0 ;
9541 PyObject * obj0 = 0 ;
9542 PyObject * obj1 = 0 ;
9543 char * kwnames[] = {
9544 (char *) "self",(char *) "item", NULL
9545 };
9546
9547 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
9548 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9549 if (!SWIG_IsOK(res1)) {
9550 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9551 }
9552 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9553 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9554 if (!SWIG_IsOK(res2)) {
9555 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9556 }
9557 if (!argp2) {
9558 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9559 }
9560 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 resultobj = SWIG_Py_Void();
9568 return resultobj;
9569fail:
9570 return NULL;
9571}
9572
9573
9574SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9575 PyObject *resultobj = 0;
9576 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9577 wxTreeItemId *arg2 = 0 ;
9578 void *argp1 = 0 ;
9579 int res1 = 0 ;
9580 void *argp2 = 0 ;
9581 int res2 = 0 ;
9582 PyObject * obj0 = 0 ;
9583 PyObject * obj1 = 0 ;
9584 char * kwnames[] = {
9585 (char *) "self",(char *) "item", NULL
9586 };
9587
9588 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
9589 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9590 if (!SWIG_IsOK(res1)) {
9591 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9592 }
9593 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9594 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9595 if (!SWIG_IsOK(res2)) {
9596 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9597 }
9598 if (!argp2) {
9599 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9600 }
9601 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->Toggle((wxTreeItemId const &)*arg2);
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 resultobj = SWIG_Py_Void();
9609 return resultobj;
9610fail:
9611 return NULL;
44127b65
RD
9612}
9613
9614
0085ce49
RD
9615SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9616 PyObject *resultobj = 0;
9617 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9618 void *argp1 = 0 ;
9619 int res1 = 0 ;
9620 PyObject *swig_obj[1] ;
9621
9622 if (!args) SWIG_fail;
9623 swig_obj[0] = args;
9624 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9625 if (!SWIG_IsOK(res1)) {
9626 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9627 }
9628 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 (arg1)->Unselect();
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 resultobj = SWIG_Py_Void();
9636 return resultobj;
9637fail:
9638 return NULL;
6260902d
RD
9639}
9640
9641
0085ce49
RD
9642SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
9643 PyObject *resultobj = 0;
9644 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9645 void *argp1 = 0 ;
9646 int res1 = 0 ;
9647 PyObject *swig_obj[1] ;
9648
9649 if (!args) SWIG_fail;
9650 swig_obj[0] = args;
9651 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9652 if (!SWIG_IsOK(res1)) {
9653 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9654 }
9655 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 (arg1)->UnselectAll();
9659 wxPyEndAllowThreads(__tstate);
9660 if (PyErr_Occurred()) SWIG_fail;
9661 }
9662 resultobj = SWIG_Py_Void();
9663 return resultobj;
9664fail:
9665 return NULL;
9666}
9667
9668
9669SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9670 PyObject *resultobj = 0;
9671 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9672 wxTreeItemId *arg2 = 0 ;
9673 bool arg3 = (bool) true ;
9674 bool arg4 = (bool) false ;
9675 void *argp1 = 0 ;
9676 int res1 = 0 ;
9677 void *argp2 = 0 ;
9678 int res2 = 0 ;
9679 bool val3 ;
9680 int ecode3 = 0 ;
9681 bool val4 ;
9682 int ecode4 = 0 ;
9683 PyObject * obj0 = 0 ;
9684 PyObject * obj1 = 0 ;
9685 PyObject * obj2 = 0 ;
9686 PyObject * obj3 = 0 ;
9687 char * kwnames[] = {
9688 (char *) "self",(char *) "item",(char *) "unselect_others",(char *) "extended_select", NULL
9689 };
9690
9691 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
9692 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9693 if (!SWIG_IsOK(res1)) {
9694 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9695 }
9696 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9697 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9698 if (!SWIG_IsOK(res2)) {
9699 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9700 }
9701 if (!argp2) {
9702 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9703 }
9704 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9705 if (obj2) {
9706 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9707 if (!SWIG_IsOK(ecode3)) {
9708 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "bool""'");
9709 }
9710 arg3 = static_cast< bool >(val3);
9711 }
9712 if (obj3) {
9713 ecode4 = SWIG_AsVal_bool(obj3, &val4);
9714 if (!SWIG_IsOK(ecode4)) {
9715 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
9716 }
9717 arg4 = static_cast< bool >(val4);
9718 }
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 (arg1)->SelectItem((wxTreeItemId const &)*arg2,arg3,arg4);
9722 wxPyEndAllowThreads(__tstate);
9723 if (PyErr_Occurred()) SWIG_fail;
9724 }
9725 resultobj = SWIG_Py_Void();
9726 return resultobj;
9727fail:
9728 return NULL;
9729}
9730
9731
9732SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9733 PyObject *resultobj = 0;
9734 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9735 bool arg2 = (bool) false ;
9736 void *argp1 = 0 ;
9737 int res1 = 0 ;
9738 bool val2 ;
9739 int ecode2 = 0 ;
9740 PyObject * obj0 = 0 ;
9741 PyObject * obj1 = 0 ;
9742 char * kwnames[] = {
9743 (char *) "self",(char *) "extended_select", NULL
9744 };
9745
9746 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SelectAll",kwnames,&obj0,&obj1)) SWIG_fail;
9747 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9748 if (!SWIG_IsOK(res1)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9750 }
9751 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9752 if (obj1) {
9753 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9754 if (!SWIG_IsOK(ecode2)) {
9755 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "2"" of type '" "bool""'");
9756 }
9757 arg2 = static_cast< bool >(val2);
9758 }
9759 {
9760 PyThreadState* __tstate = wxPyBeginAllowThreads();
9761 (arg1)->SelectAll(arg2);
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
9765 resultobj = SWIG_Py_Void();
9766 return resultobj;
9767fail:
9768 return NULL;
9769}
9770
9771
9772SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9773 PyObject *resultobj = 0;
9774 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9775 wxTreeItemId *arg2 = 0 ;
9776 void *argp1 = 0 ;
9777 int res1 = 0 ;
9778 void *argp2 = 0 ;
9779 int res2 = 0 ;
9780 PyObject * obj0 = 0 ;
9781 PyObject * obj1 = 0 ;
9782 char * kwnames[] = {
9783 (char *) "self",(char *) "item", NULL
9784 };
9785
9786 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
9787 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9788 if (!SWIG_IsOK(res1)) {
9789 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9790 }
9791 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9792 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9793 if (!SWIG_IsOK(res2)) {
9794 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9795 }
9796 if (!argp2) {
9797 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9798 }
9799 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
9803 wxPyEndAllowThreads(__tstate);
9804 if (PyErr_Occurred()) SWIG_fail;
9805 }
9806 resultobj = SWIG_Py_Void();
9807 return resultobj;
9808fail:
9809 return NULL;
9810}
9811
9812
9813SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9814 PyObject *resultobj = 0;
9815 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9816 wxTreeItemId *arg2 = 0 ;
9817 void *argp1 = 0 ;
9818 int res1 = 0 ;
9819 void *argp2 = 0 ;
9820 int res2 = 0 ;
9821 PyObject * obj0 = 0 ;
9822 PyObject * obj1 = 0 ;
9823 char * kwnames[] = {
9824 (char *) "self",(char *) "item", NULL
9825 };
9826
9827 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
9828 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9829 if (!SWIG_IsOK(res1)) {
9830 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9831 }
9832 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9833 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9834 if (!SWIG_IsOK(res2)) {
9835 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9836 }
9837 if (!argp2) {
9838 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9839 }
9840 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9841 {
9842 PyThreadState* __tstate = wxPyBeginAllowThreads();
9843 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 resultobj = SWIG_Py_Void();
9848 return resultobj;
9849fail:
9850 return NULL;
9851}
9852
9853
9854SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj = 0;
9856 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9857 wxPoint *arg2 = 0 ;
9858 int *arg3 = 0 ;
9859 int *arg4 = 0 ;
9860 wxTreeItemId result;
9861 void *argp1 = 0 ;
9862 int res1 = 0 ;
9863 wxPoint temp2 ;
9864 int temp3 ;
9865 int res3 = SWIG_TMPOBJ ;
9866 int temp4 ;
9867 int res4 = SWIG_TMPOBJ ;
9868 PyObject * obj0 = 0 ;
9869 PyObject * obj1 = 0 ;
9870 char * kwnames[] = {
9871 (char *) "self",(char *) "point", NULL
9872 };
9873
9874 arg3 = &temp3;
9875 arg4 = &temp4;
9876 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
9877 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9878 if (!SWIG_IsOK(res1)) {
9879 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9880 }
9881 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9882 {
9883 arg2 = &temp2;
9884 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9885 }
9886 {
9887 PyThreadState* __tstate = wxPyBeginAllowThreads();
9888 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9893 if (SWIG_IsTmpObj(res3)) {
9894 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
9895 } else {
9896 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9897 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
9898 }
9899 if (SWIG_IsTmpObj(res4)) {
9900 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
9901 } else {
9902 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
9903 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
9904 }
9905 return resultobj;
9906fail:
9907 return NULL;
9908}
9909
9910
9911SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj = 0;
9913 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9914 wxTreeItemId *arg2 = 0 ;
9915 bool arg3 = (bool) false ;
9916 PyObject *result = 0 ;
9917 void *argp1 = 0 ;
9918 int res1 = 0 ;
9919 void *argp2 = 0 ;
9920 int res2 = 0 ;
9921 bool val3 ;
9922 int ecode3 = 0 ;
9923 PyObject * obj0 = 0 ;
9924 PyObject * obj1 = 0 ;
9925 PyObject * obj2 = 0 ;
9926 char * kwnames[] = {
9927 (char *) "self",(char *) "item",(char *) "textOnly", NULL
9928 };
9929
9930 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
9931 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9932 if (!SWIG_IsOK(res1)) {
9933 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9934 }
9935 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9936 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9937 if (!SWIG_IsOK(res2)) {
9938 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9939 }
9940 if (!argp2) {
9941 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9942 }
9943 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9944 if (obj2) {
9945 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9946 if (!SWIG_IsOK(ecode3)) {
9947 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
9948 }
9949 arg3 = static_cast< bool >(val3);
9950 }
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
9954 wxPyEndAllowThreads(__tstate);
9955 if (PyErr_Occurred()) SWIG_fail;
9956 }
9957 resultobj = result;
9958 return resultobj;
9959fail:
9960 return NULL;
9961}
9962
9963
9964SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9965 PyObject *resultobj = 0;
9966 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9967 wxTreeItemId *arg2 = 0 ;
9968 void *argp1 = 0 ;
9969 int res1 = 0 ;
9970 void *argp2 = 0 ;
9971 int res2 = 0 ;
9972 PyObject * obj0 = 0 ;
9973 PyObject * obj1 = 0 ;
9974 char * kwnames[] = {
9975 (char *) "self",(char *) "item", NULL
9976 };
9977
9978 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1)) SWIG_fail;
9979 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9980 if (!SWIG_IsOK(res1)) {
9981 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9982 }
9983 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9984 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9985 if (!SWIG_IsOK(res2)) {
9986 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9987 }
9988 if (!argp2) {
9989 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9990 }
9991 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9992 {
9993 PyThreadState* __tstate = wxPyBeginAllowThreads();
9994 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
9995 wxPyEndAllowThreads(__tstate);
9996 if (PyErr_Occurred()) SWIG_fail;
9997 }
9998 resultobj = SWIG_Py_Void();
9999 return resultobj;
10000fail:
10001 return NULL;
10002}
10003
10004
10005SWIGINTERN PyObject *_wrap_TreeListCtrl_Edit(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10006 PyObject *resultobj = 0;
10007 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10008 wxTreeItemId *arg2 = 0 ;
10009 void *argp1 = 0 ;
10010 int res1 = 0 ;
10011 void *argp2 = 0 ;
10012 int res2 = 0 ;
10013 PyObject * obj0 = 0 ;
10014 PyObject * obj1 = 0 ;
10015 char * kwnames[] = {
10016 (char *) "self",(char *) "item", NULL
10017 };
10018
10019 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Edit",kwnames,&obj0,&obj1)) SWIG_fail;
10020 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10021 if (!SWIG_IsOK(res1)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Edit" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10023 }
10024 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10025 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10026 if (!SWIG_IsOK(res2)) {
10027 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10028 }
10029 if (!argp2) {
10030 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Edit" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10031 }
10032 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10033 {
10034 PyThreadState* __tstate = wxPyBeginAllowThreads();
10035 (arg1)->Edit((wxTreeItemId const &)*arg2);
10036 wxPyEndAllowThreads(__tstate);
10037 if (PyErr_Occurred()) SWIG_fail;
10038 }
10039 resultobj = SWIG_Py_Void();
10040 return resultobj;
10041fail:
10042 return NULL;
10043}
10044
10045
10046SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10047 PyObject *resultobj = 0;
10048 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10049 wxTreeItemId *arg2 = 0 ;
10050 void *argp1 = 0 ;
10051 int res1 = 0 ;
10052 void *argp2 = 0 ;
10053 int res2 = 0 ;
10054 PyObject * obj0 = 0 ;
10055 PyObject * obj1 = 0 ;
10056 char * kwnames[] = {
10057 (char *) "self",(char *) "item", NULL
10058 };
10059
10060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10062 if (!SWIG_IsOK(res1)) {
10063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10064 }
10065 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10066 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10067 if (!SWIG_IsOK(res2)) {
10068 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10069 }
10070 if (!argp2) {
10071 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10072 }
10073 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10077 wxPyEndAllowThreads(__tstate);
10078 if (PyErr_Occurred()) SWIG_fail;
10079 }
10080 resultobj = SWIG_Py_Void();
10081 return resultobj;
10082fail:
10083 return NULL;
10084}
10085
10086
10087SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10088 PyObject *resultobj = 0;
10089 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10090 wxTreeItemId *arg2 = 0 ;
10091 wxString *arg3 = 0 ;
10092 int arg4 = (int) 0 ;
10093 wxTreeItemId result;
10094 void *argp1 = 0 ;
10095 int res1 = 0 ;
10096 void *argp2 = 0 ;
10097 int res2 = 0 ;
10098 bool temp3 = false ;
10099 int val4 ;
10100 int ecode4 = 0 ;
10101 PyObject * obj0 = 0 ;
10102 PyObject * obj1 = 0 ;
10103 PyObject * obj2 = 0 ;
10104 PyObject * obj3 = 0 ;
10105 char * kwnames[] = {
10106 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10107 };
10108
10109 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10110 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10111 if (!SWIG_IsOK(res1)) {
10112 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10113 }
10114 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10115 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10116 if (!SWIG_IsOK(res2)) {
10117 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10118 }
10119 if (!argp2) {
10120 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10121 }
10122 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10123 {
10124 arg3 = wxString_in_helper(obj2);
10125 if (arg3 == NULL) SWIG_fail;
10126 temp3 = true;
10127 }
10128 if (obj3) {
10129 ecode4 = SWIG_AsVal_int(obj3, &val4);
10130 if (!SWIG_IsOK(ecode4)) {
10131 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10132 }
10133 arg4 = static_cast< int >(val4);
10134 }
10135 {
10136 PyThreadState* __tstate = wxPyBeginAllowThreads();
10137 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10142 {
10143 if (temp3)
10144 delete arg3;
10145 }
10146 return resultobj;
10147fail:
10148 {
10149 if (temp3)
10150 delete arg3;
10151 }
10152 return NULL;
6260902d
RD
10153}
10154
10155
0085ce49
RD
10156SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10157 PyObject *resultobj = 0;
10158 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10159 wxWindow *result = 0 ;
10160 void *argp1 = 0 ;
10161 int res1 = 0 ;
10162 PyObject *swig_obj[1] ;
10163
10164 if (!args) SWIG_fail;
10165 swig_obj[0] = args;
10166 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10167 if (!SWIG_IsOK(res1)) {
10168 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10169 }
10170 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 {
10178 resultobj = wxPyMake_wxObject(result, 0);
10179 }
10180 return resultobj;
10181fail:
10182 return NULL;
6260902d
RD
10183}
10184
10185
0085ce49
RD
10186SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10187 PyObject *resultobj = 0;
10188 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10189 wxScrolledWindow *result = 0 ;
10190 void *argp1 = 0 ;
10191 int res1 = 0 ;
10192 PyObject *swig_obj[1] ;
10193
10194 if (!args) SWIG_fail;
10195 swig_obj[0] = args;
10196 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10197 if (!SWIG_IsOK(res1)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10199 }
10200 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 {
10208 resultobj = wxPyMake_wxObject(result, 0);
10209 }
10210 return resultobj;
10211fail:
10212 return NULL;
10213}
10214
10215
10216SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10217 PyObject *obj;
10218 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10219 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10220 return SWIG_Py_Void();
10221}
10222
10223SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10224 return SWIG_Python_InitShadowInstance(args);
10225}
10226
10227SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10228 PyObject *resultobj = 0;
10229 wxWindow *arg1 = (wxWindow *) 0 ;
10230 int arg2 = (int) -1 ;
10231 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10232 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10233 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10234 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10235 wxSize const &arg5_defvalue = wxDefaultSize ;
10236 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10237 long arg6 = (long) 0 ;
10238 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10239 wxString *arg7 = (wxString *) &arg7_defvalue ;
10240 wxStaticPicture *result = 0 ;
10241 void *argp1 = 0 ;
10242 int res1 = 0 ;
10243 int val2 ;
10244 int ecode2 = 0 ;
10245 void *argp3 = 0 ;
10246 int res3 = 0 ;
10247 wxPoint temp4 ;
10248 wxSize temp5 ;
10249 long val6 ;
10250 int ecode6 = 0 ;
10251 bool temp7 = false ;
10252 PyObject * obj0 = 0 ;
10253 PyObject * obj1 = 0 ;
10254 PyObject * obj2 = 0 ;
10255 PyObject * obj3 = 0 ;
10256 PyObject * obj4 = 0 ;
10257 PyObject * obj5 = 0 ;
10258 PyObject * obj6 = 0 ;
10259 char * kwnames[] = {
10260 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10261 };
10262
10263 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10264 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10265 if (!SWIG_IsOK(res1)) {
10266 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10267 }
10268 arg1 = reinterpret_cast< wxWindow * >(argp1);
10269 if (obj1) {
10270 ecode2 = SWIG_AsVal_int(obj1, &val2);
10271 if (!SWIG_IsOK(ecode2)) {
10272 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10273 }
10274 arg2 = static_cast< int >(val2);
10275 }
10276 if (obj2) {
10277 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10278 if (!SWIG_IsOK(res3)) {
10279 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10280 }
0085ce49
RD
10281 if (!argp3) {
10282 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10283 }
0085ce49
RD
10284 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10285 }
10286 if (obj3) {
6260902d 10287 {
0085ce49
RD
10288 arg4 = &temp4;
10289 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6260902d 10290 }
0085ce49
RD
10291 }
10292 if (obj4) {
6260902d 10293 {
0085ce49
RD
10294 arg5 = &temp5;
10295 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6260902d 10296 }
0085ce49
RD
10297 }
10298 if (obj5) {
10299 ecode6 = SWIG_AsVal_long(obj5, &val6);
10300 if (!SWIG_IsOK(ecode6)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10302 }
10303 arg6 = static_cast< long >(val6);
10304 }
10305 if (obj6) {
6260902d 10306 {
0085ce49
RD
10307 arg7 = wxString_in_helper(obj6);
10308 if (arg7 == NULL) SWIG_fail;
10309 temp7 = true;
6260902d 10310 }
0085ce49
RD
10311 }
10312 {
10313 if (!wxPyCheckForApp()) SWIG_fail;
10314 PyThreadState* __tstate = wxPyBeginAllowThreads();
10315 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10316 wxPyEndAllowThreads(__tstate);
10317 if (PyErr_Occurred()) SWIG_fail;
10318 }
10319 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10320 {
10321 if (temp7)
10322 delete arg7;
10323 }
10324 return resultobj;
10325fail:
10326 {
10327 if (temp7)
10328 delete arg7;
10329 }
10330 return NULL;
6260902d
RD
10331}
10332
10333
0085ce49
RD
10334SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10335 PyObject *resultobj = 0;
10336 wxStaticPicture *result = 0 ;
10337
10338 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10339 {
10340 if (!wxPyCheckForApp()) SWIG_fail;
10341 PyThreadState* __tstate = wxPyBeginAllowThreads();
10342 result = (wxStaticPicture *)new wxStaticPicture();
10343 wxPyEndAllowThreads(__tstate);
10344 if (PyErr_Occurred()) SWIG_fail;
10345 }
10346 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10347 return resultobj;
10348fail:
10349 return NULL;
10350}
10351
10352
10353SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10354 PyObject *resultobj = 0;
10355 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10356 wxWindow *arg2 = (wxWindow *) 0 ;
10357 int arg3 = (int) -1 ;
10358 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10359 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10360 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10361 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10362 wxSize const &arg6_defvalue = wxDefaultSize ;
10363 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10364 long arg7 = (long) 0 ;
10365 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10366 wxString *arg8 = (wxString *) &arg8_defvalue ;
10367 bool result;
10368 void *argp1 = 0 ;
10369 int res1 = 0 ;
10370 void *argp2 = 0 ;
10371 int res2 = 0 ;
10372 int val3 ;
10373 int ecode3 = 0 ;
10374 void *argp4 = 0 ;
10375 int res4 = 0 ;
10376 wxPoint temp5 ;
10377 wxSize temp6 ;
10378 long val7 ;
10379 int ecode7 = 0 ;
10380 bool temp8 = false ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 PyObject * obj2 = 0 ;
10384 PyObject * obj3 = 0 ;
10385 PyObject * obj4 = 0 ;
10386 PyObject * obj5 = 0 ;
10387 PyObject * obj6 = 0 ;
10388 PyObject * obj7 = 0 ;
10389 char * kwnames[] = {
10390 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10391 };
10392
10393 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10394 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10395 if (!SWIG_IsOK(res1)) {
10396 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10397 }
10398 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10399 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10400 if (!SWIG_IsOK(res2)) {
10401 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10402 }
10403 arg2 = reinterpret_cast< wxWindow * >(argp2);
10404 if (obj2) {
10405 ecode3 = SWIG_AsVal_int(obj2, &val3);
10406 if (!SWIG_IsOK(ecode3)) {
10407 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10408 }
10409 arg3 = static_cast< int >(val3);
10410 }
10411 if (obj3) {
10412 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10413 if (!SWIG_IsOK(res4)) {
10414 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10415 }
0085ce49
RD
10416 if (!argp4) {
10417 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10418 }
0085ce49
RD
10419 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10420 }
10421 if (obj4) {
6260902d 10422 {
0085ce49
RD
10423 arg5 = &temp5;
10424 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6260902d 10425 }
0085ce49
RD
10426 }
10427 if (obj5) {
6260902d 10428 {
0085ce49
RD
10429 arg6 = &temp6;
10430 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6260902d 10431 }
0085ce49
RD
10432 }
10433 if (obj6) {
10434 ecode7 = SWIG_AsVal_long(obj6, &val7);
10435 if (!SWIG_IsOK(ecode7)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
10437 }
10438 arg7 = static_cast< long >(val7);
10439 }
10440 if (obj7) {
6260902d 10441 {
0085ce49
RD
10442 arg8 = wxString_in_helper(obj7);
10443 if (arg8 == NULL) SWIG_fail;
10444 temp8 = true;
6260902d 10445 }
0085ce49
RD
10446 }
10447 {
10448 PyThreadState* __tstate = wxPyBeginAllowThreads();
10449 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 {
10454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10455 }
10456 {
10457 if (temp8)
10458 delete arg8;
10459 }
10460 return resultobj;
10461fail:
10462 {
10463 if (temp8)
10464 delete arg8;
10465 }
10466 return NULL;
10467}
10468
10469
10470SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj = 0;
10472 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10473 wxBitmap *arg2 = 0 ;
10474 void *argp1 = 0 ;
10475 int res1 = 0 ;
10476 void *argp2 = 0 ;
10477 int res2 = 0 ;
10478 PyObject * obj0 = 0 ;
10479 PyObject * obj1 = 0 ;
10480 char * kwnames[] = {
10481 (char *) "self",(char *) "bmp", NULL
10482 };
10483
10484 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
10485 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10486 if (!SWIG_IsOK(res1)) {
10487 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10488 }
10489 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10490 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
10491 if (!SWIG_IsOK(res2)) {
10492 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10493 }
10494 if (!argp2) {
10495 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
10496 }
10497 arg2 = reinterpret_cast< wxBitmap * >(argp2);
10498 {
10499 PyThreadState* __tstate = wxPyBeginAllowThreads();
10500 (arg1)->SetBitmap((wxBitmap const &)*arg2);
10501 wxPyEndAllowThreads(__tstate);
10502 if (PyErr_Occurred()) SWIG_fail;
10503 }
10504 resultobj = SWIG_Py_Void();
10505 return resultobj;
10506fail:
10507 return NULL;
6260902d
RD
10508}
10509
10510
0085ce49
RD
10511SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10512 PyObject *resultobj = 0;
10513 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10514 wxBitmap result;
10515 void *argp1 = 0 ;
10516 int res1 = 0 ;
10517 PyObject *swig_obj[1] ;
10518
10519 if (!args) SWIG_fail;
10520 swig_obj[0] = args;
10521 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10522 if (!SWIG_IsOK(res1)) {
10523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10524 }
10525 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10526 {
10527 PyThreadState* __tstate = wxPyBeginAllowThreads();
10528 result = ((wxStaticPicture const *)arg1)->GetBitmap();
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
10533 return resultobj;
10534fail:
10535 return NULL;
10536}
10537
10538
10539SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10540 PyObject *resultobj = 0;
10541 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10542 wxIcon *arg2 = 0 ;
10543 void *argp1 = 0 ;
10544 int res1 = 0 ;
10545 void *argp2 = 0 ;
10546 int res2 = 0 ;
10547 PyObject * obj0 = 0 ;
10548 PyObject * obj1 = 0 ;
10549 char * kwnames[] = {
10550 (char *) "self",(char *) "icon", NULL
10551 };
10552
10553 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
10554 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10555 if (!SWIG_IsOK(res1)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10557 }
10558 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10559 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
10560 if (!SWIG_IsOK(res2)) {
10561 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10562 }
10563 if (!argp2) {
10564 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
10565 }
10566 arg2 = reinterpret_cast< wxIcon * >(argp2);
10567 {
10568 PyThreadState* __tstate = wxPyBeginAllowThreads();
10569 (arg1)->SetIcon((wxIcon const &)*arg2);
10570 wxPyEndAllowThreads(__tstate);
10571 if (PyErr_Occurred()) SWIG_fail;
10572 }
10573 resultobj = SWIG_Py_Void();
10574 return resultobj;
10575fail:
10576 return NULL;
6260902d
RD
10577}
10578
10579
0085ce49
RD
10580SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10581 PyObject *resultobj = 0;
10582 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10583 wxIcon result;
10584 void *argp1 = 0 ;
10585 int res1 = 0 ;
10586 PyObject *swig_obj[1] ;
10587
10588 if (!args) SWIG_fail;
10589 swig_obj[0] = args;
10590 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10591 if (!SWIG_IsOK(res1)) {
10592 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10593 }
10594 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = ((wxStaticPicture const *)arg1)->GetIcon();
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
10602 return resultobj;
10603fail:
10604 return NULL;
10605}
10606
10607
10608SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj = 0;
10610 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10611 int arg2 ;
10612 void *argp1 = 0 ;
10613 int res1 = 0 ;
10614 int val2 ;
10615 int ecode2 = 0 ;
10616 PyObject * obj0 = 0 ;
10617 PyObject * obj1 = 0 ;
10618 char * kwnames[] = {
10619 (char *) "self",(char *) "align", NULL
10620 };
10621
10622 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
10623 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10624 if (!SWIG_IsOK(res1)) {
10625 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10626 }
10627 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10628 ecode2 = SWIG_AsVal_int(obj1, &val2);
10629 if (!SWIG_IsOK(ecode2)) {
10630 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
10631 }
10632 arg2 = static_cast< int >(val2);
10633 {
10634 PyThreadState* __tstate = wxPyBeginAllowThreads();
10635 (arg1)->SetAlignment(arg2);
10636 wxPyEndAllowThreads(__tstate);
10637 if (PyErr_Occurred()) SWIG_fail;
10638 }
10639 resultobj = SWIG_Py_Void();
10640 return resultobj;
10641fail:
10642 return NULL;
6260902d
RD
10643}
10644
10645
0085ce49
RD
10646SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10647 PyObject *resultobj = 0;
10648 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10649 int result;
10650 void *argp1 = 0 ;
10651 int res1 = 0 ;
10652 PyObject *swig_obj[1] ;
10653
10654 if (!args) SWIG_fail;
10655 swig_obj[0] = args;
10656 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10657 if (!SWIG_IsOK(res1)) {
10658 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10659 }
10660 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
10664 wxPyEndAllowThreads(__tstate);
10665 if (PyErr_Occurred()) SWIG_fail;
10666 }
10667 resultobj = SWIG_From_int(static_cast< int >(result));
10668 return resultobj;
10669fail:
10670 return NULL;
10671}
10672
10673
10674SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10675 PyObject *resultobj = 0;
10676 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10677 int arg2 ;
10678 void *argp1 = 0 ;
10679 int res1 = 0 ;
10680 int val2 ;
10681 int ecode2 = 0 ;
10682 PyObject * obj0 = 0 ;
10683 PyObject * obj1 = 0 ;
10684 char * kwnames[] = {
10685 (char *) "self",(char *) "scale", NULL
10686 };
10687
10688 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
10689 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10690 if (!SWIG_IsOK(res1)) {
10691 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10692 }
10693 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10694 ecode2 = SWIG_AsVal_int(obj1, &val2);
10695 if (!SWIG_IsOK(ecode2)) {
10696 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
10697 }
10698 arg2 = static_cast< int >(val2);
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 (arg1)->SetScale(arg2);
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = SWIG_Py_Void();
10706 return resultobj;
10707fail:
10708 return NULL;
6260902d
RD
10709}
10710
10711
0085ce49
RD
10712SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10713 PyObject *resultobj = 0;
10714 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10715 int result;
10716 void *argp1 = 0 ;
10717 int res1 = 0 ;
10718 PyObject *swig_obj[1] ;
10719
10720 if (!args) SWIG_fail;
10721 swig_obj[0] = args;
10722 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10723 if (!SWIG_IsOK(res1)) {
10724 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10725 }
10726 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10727 {
10728 PyThreadState* __tstate = wxPyBeginAllowThreads();
10729 result = (int)((wxStaticPicture const *)arg1)->GetScale();
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 resultobj = SWIG_From_int(static_cast< int >(result));
10734 return resultobj;
10735fail:
10736 return NULL;
10737}
10738
10739
10740SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10741 PyObject *resultobj = 0;
10742 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10743 float arg2 ;
10744 float arg3 ;
10745 void *argp1 = 0 ;
10746 int res1 = 0 ;
10747 float val2 ;
10748 int ecode2 = 0 ;
10749 float val3 ;
10750 int ecode3 = 0 ;
10751 PyObject * obj0 = 0 ;
10752 PyObject * obj1 = 0 ;
10753 PyObject * obj2 = 0 ;
10754 char * kwnames[] = {
10755 (char *) "self",(char *) "sx",(char *) "sy", NULL
10756 };
10757
10758 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10759 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10760 if (!SWIG_IsOK(res1)) {
10761 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10762 }
10763 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10764 ecode2 = SWIG_AsVal_float(obj1, &val2);
10765 if (!SWIG_IsOK(ecode2)) {
10766 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
10767 }
10768 arg2 = static_cast< float >(val2);
10769 ecode3 = SWIG_AsVal_float(obj2, &val3);
10770 if (!SWIG_IsOK(ecode3)) {
10771 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
10772 }
10773 arg3 = static_cast< float >(val3);
10774 {
10775 PyThreadState* __tstate = wxPyBeginAllowThreads();
10776 (arg1)->SetCustomScale(arg2,arg3);
10777 wxPyEndAllowThreads(__tstate);
10778 if (PyErr_Occurred()) SWIG_fail;
10779 }
10780 resultobj = SWIG_Py_Void();
10781 return resultobj;
10782fail:
10783 return NULL;
10784}
10785
10786
10787SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10788 PyObject *resultobj = 0;
10789 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10790 float *arg2 = (float *) 0 ;
10791 float *arg3 = (float *) 0 ;
10792 void *argp1 = 0 ;
10793 int res1 = 0 ;
10794 float temp2 ;
10795 int res2 = SWIG_TMPOBJ ;
10796 float temp3 ;
10797 int res3 = SWIG_TMPOBJ ;
10798 PyObject *swig_obj[1] ;
10799
10800 arg2 = &temp2;
10801 arg3 = &temp3;
10802 if (!args) SWIG_fail;
10803 swig_obj[0] = args;
10804 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10805 if (!SWIG_IsOK(res1)) {
10806 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
10807 }
10808 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
10812 wxPyEndAllowThreads(__tstate);
10813 if (PyErr_Occurred()) SWIG_fail;
10814 }
10815 resultobj = SWIG_Py_Void();
10816 if (SWIG_IsTmpObj(res2)) {
10817 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
10818 } else {
10819 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10820 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
10821 }
10822 if (SWIG_IsTmpObj(res3)) {
10823 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
10824 } else {
10825 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10826 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
10827 }
10828 return resultobj;
10829fail:
10830 return NULL;
6260902d
RD
10831}
10832
10833
0085ce49
RD
10834SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10835 PyObject *obj;
10836 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10837 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
10838 return SWIG_Py_Void();
6260902d 10839}
0085ce49
RD
10840
10841SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10842 return SWIG_Python_InitShadowInstance(args);
10843}
10844
44127b65 10845static PyMethodDef SwigMethods[] = {
3004cfd8
RD
10846 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10847 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
0085ce49 10848 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
10849 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
10850 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
0085ce49 10851 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
3004cfd8 10852 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10853 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
3004cfd8
RD
10854 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10855 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10856 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
10857 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 10858 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
10859 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
10860 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10861 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
10862 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
10863 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
10864 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
10865 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
10866 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
10867 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
3004cfd8 10868 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
0085ce49 10869 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
3004cfd8 10870 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10871 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
10872 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
10873 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
3004cfd8
RD
10874 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
10875 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10876 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
3004cfd8 10877 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 10878 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
10879 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10880 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10881 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
3004cfd8
RD
10882 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
10883 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
0085ce49 10884 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
10885 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10886 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 10887 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
10888 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
10889 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 10890 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
3004cfd8 10891 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10892 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
3004cfd8 10893 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10894 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
10895 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
10896 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
3004cfd8
RD
10897 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10898 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
10899 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
10900 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 10901 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8 10902 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
01f6b6d3 10903 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
0085ce49
RD
10904 { (char *)"TreeListColumnInfo_GetShown", (PyCFunction)_wrap_TreeListColumnInfo_GetShown, METH_O, NULL},
10905 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
10906 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
10907 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
10908 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
10909 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
3004cfd8
RD
10910 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
10911 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10912 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
10913 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
10914 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
10915 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10916 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
0085ce49 10917 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
3004cfd8 10918 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10919 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
3004cfd8
RD
10920 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
10921 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10922 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
10923 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
3004cfd8 10924 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10925 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
3004cfd8 10926 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10927 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
10928 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
10929 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
3004cfd8
RD
10930 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10931 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10932 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10933 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10934 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10935 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
10936 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10937 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10938 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10939 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
10940 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10941 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
3004cfd8
RD
10942 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10943 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
10944 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10945 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
3004cfd8
RD
10946 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10947 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
10948 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10949 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10950 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10951 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
10952 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10953 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
10954 { (char *)"TreeListCtrl_ShowColumn", (PyCFunction) _wrap_TreeListCtrl_ShowColumn, METH_VARARGS | METH_KEYWORDS, NULL},
10955 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
10956 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10957 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10958 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
10959 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
10960 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10961 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
10962 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10963 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
10964 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10965 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10966 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10967 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10968 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10969 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
10970 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
10971 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
10972 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
10973 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10974 { (char *)"TreeListCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
10975 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
10976 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
10977 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
10978 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
10979 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
10980 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
10981 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
3004cfd8
RD
10982 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
10983 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
10984 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
10985 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
10986 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
10987 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10988 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstVisibleItem, METH_O, NULL},
3004cfd8
RD
10989 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10990 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
10991 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
10992 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
10993 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
10994 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
10995 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
10996 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
10997 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
10998 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 10999 { (char *)"TreeListCtrl_DeleteAllItems", (PyCFunction)_wrap_TreeListCtrl_DeleteAllItems, METH_O, NULL},
3004cfd8
RD
11000 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11001 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11002 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11003 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11004 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11005 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11006 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
3004cfd8
RD
11007 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
11008 { (char *)"TreeListCtrl_SelectAll", (PyCFunction) _wrap_TreeListCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS, NULL},
11009 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11010 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11011 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11012 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11013 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
11014 { (char *)"TreeListCtrl_Edit", (PyCFunction) _wrap_TreeListCtrl_Edit, METH_VARARGS | METH_KEYWORDS, NULL},
11015 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11016 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11017 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11018 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
3004cfd8 11019 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11020 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
6260902d 11021 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11022 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
6260902d
RD
11023 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11024 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11025 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
6260902d 11026 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11027 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
6260902d 11028 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11029 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
6260902d 11030 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11031 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
6260902d 11032 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11033 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
6260902d 11034 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
0085ce49 11035 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
c32bde28 11036 { NULL, NULL, 0, NULL }
44127b65
RD
11037};
11038
11039
11040/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11041
11042static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11043 return (void *)((wxValidator *) ((wxPyValidator *) x));
11044}
11045static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11046 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11047}
11048static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11049 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11050}
823f0cfe
RD
11051static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11052 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11053}
44127b65
RD
11054static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11055 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11056}
11057static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11058 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11059}
11060static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11061 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11062}
11063static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11064 return (void *)((wxPanel *) ((wxPyPanel *) x));
11065}
11066static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11067 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11068}
11069static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11070 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11071}
11072static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11073 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11074}
11075static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11076 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11077}
7e08d4ef
RD
11078static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11079 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11080}
44127b65
RD
11081static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11082 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11083}
11084static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11085 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11086}
11087static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11088 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11089}
11090static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11091 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11092}
11093static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11094 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11095}
11096static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11097 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11098}
11099static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11100 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11101}
453fb36b
RD
11102static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11103 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11104}
8ac8dba0
RD
11105static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11106 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11107}
7e08d4ef
RD
11108static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11109 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11110}
44127b65
RD
11111static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11112 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11113}
11114static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11115 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11116}
11117static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11118 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11119}
44127b65
RD
11120static void *_p_wxControlTo_p_wxWindow(void *x) {
11121 return (void *)((wxWindow *) ((wxControl *) x));
11122}
823f0cfe
RD
11123static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11124 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11125}
44127b65
RD
11126static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11127 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11128}
11129static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11130 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11131}
11132static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11133 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11134}
11135static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11136 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11137}
11138static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11139 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11140}
7e08d4ef
RD
11141static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11142 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11143}
44127b65
RD
11144static void *_p_wxListViewTo_p_wxWindow(void *x) {
11145 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11146}
11147static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11148 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11149}
11150static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 11151 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
11152}
11153static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11154 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11155}
ae8162c8 11156static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 11157 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 11158}
44127b65
RD
11159static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11160 return (void *)((wxWindow *) ((wxPyWindow *) x));
11161}
11162static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11163 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11164}
11165static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 11166 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
11167}
11168static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11169 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11170}
11171static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11172 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11173}
11174static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11175 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11176}
11177static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11178 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11179}
d3b6e4ff
RD
11180static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11181 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11182}
27e45892
RD
11183static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11184 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11185}
44127b65
RD
11186static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11187 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11188}
11189static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11190 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11191}
11192static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11193 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11194}
11195static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11196 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11197}
11198static void *_p_wxSliderTo_p_wxWindow(void *x) {
11199 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11200}
11201static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11202 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11203}
8ac8dba0
RD
11204static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11205 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11206}
44127b65
RD
11207static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11208 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11209}
11210static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11211 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11212}
11213static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11214 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11215}
11216static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11217 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11218}
11219static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11220 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11221}
44127b65
RD
11222static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11223 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11224}
11225static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11226 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11227}
11228static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11229 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11230}
11231static void *_p_wxButtonTo_p_wxWindow(void *x) {
11232 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11233}
11234static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11235 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11236}
11237static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11238 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11239}
11240static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11241 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11242}
11243static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11244 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11245}
11246static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11247 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11248}
11249static void *_p_wxFrameTo_p_wxWindow(void *x) {
11250 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11251}
11252static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11253 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11254}
11255static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11256 return (void *)((wxWindow *) ((wxStatusBar *) x));
11257}
11258static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11259 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11260}
6260902d
RD
11261static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11262 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11263}
823f0cfe
RD
11264static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11265 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11266}
d3b6e4ff
RD
11267static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11268 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11269}
44127b65
RD
11270static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11271 return (void *)((wxWindow *) ((wxSashWindow *) x));
11272}
11273static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11274 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11275}
11276static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11277 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11278}
11279static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11280 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11281}
11282static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11283 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11284}
11285static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11286 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11287}
11288static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11289 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11290}
11291static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11292 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11293}
11294static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11295 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11296}
11297static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11298 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11299}
44127b65
RD
11300static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11301 return (void *)((wxWindow *) ((wxMenuBar *) x));
11302}
11303static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11304 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11305}
11306static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11307 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11308}
11309static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11310 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11311}
11312static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11313 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11314}
44127b65
RD
11315static void *_p_wxDialogTo_p_wxWindow(void *x) {
11316 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11317}
11318static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11319 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11320}
11321static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11323}
11324static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11326}
11327static void *_p_wxPanelTo_p_wxWindow(void *x) {
11328 return (void *)((wxWindow *) ((wxPanel *) x));
11329}
11330static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11331 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11332}
11333static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11334 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11335}
11336static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11337 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11338}
53aa7709
RD
11339static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11340 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11341}
453fb36b
RD
11342static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11343 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11344}
11345static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11346 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11347}
11348static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11349 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11350}
11351static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11352 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11353}
44127b65
RD
11354static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11355 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11356}
092f0ed7
RD
11357static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11358 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11359}
44127b65
RD
11360static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11361 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11362}
11363static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11364 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11365}
823f0cfe
RD
11366static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11367 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11368}
44127b65
RD
11369static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11370 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11371}
11372static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11373 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11374}
8ac8dba0
RD
11375static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11376 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
11377}
11378static void *_p_wxToolBarTo_p_wxControl(void *x) {
11379 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11380}
453fb36b
RD
11381static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11382 return (void *)((wxControl *) ((wxPickerBase *) x));
11383}
44127b65
RD
11384static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11385 return (void *)((wxControl *) ((wxToggleButton *) x));
11386}
11387static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11388 return (void *)((wxControl *) ((wxRadioButton *) x));
11389}
11390static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11391 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11392}
7e08d4ef
RD
11393static void *_p_wxToolbookTo_p_wxControl(void *x) {
11394 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
44127b65
RD
11395}
11396static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11397 return (void *)((wxControl *) ((wxToolBarBase *) x));
11398}
11399static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11400 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11401}
11402static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11403 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11404}
11405static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11406 return (void *)((wxControl *) ((wxComboBox *) x));
11407}
7e08d4ef
RD
11408static void *_p_wxPyControlTo_p_wxControl(void *x) {
11409 return (void *)((wxControl *) ((wxPyControl *) x));
11410}
44127b65
RD
11411static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11412 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11413}
11414static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11415 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11416}
11417static void *_p_wxScrollBarTo_p_wxControl(void *x) {
11418 return (void *)((wxControl *) ((wxScrollBar *) x));
11419}
11420static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
11421 return (void *)((wxControl *) ((wxControlWithItems *) x));
11422}
11423static void *_p_wxGaugeTo_p_wxControl(void *x) {
11424 return (void *)((wxControl *) ((wxGauge *) x));
11425}
11426static void *_p_wxStaticLineTo_p_wxControl(void *x) {
11427 return (void *)((wxControl *) ((wxStaticLine *) x));
11428}
ae8162c8 11429static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 11430 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 11431}
44127b65 11432static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 11433 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 11434}
092f0ed7
RD
11435static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
11436 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
11437}
44127b65
RD
11438static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
11439 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
11440}
ae8162c8
RD
11441static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
11442 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11443}
44127b65
RD
11444static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
11445 return (void *)((wxControl *) ((wxCheckBox *) x));
11446}
11447static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
11448 return (void *)((wxControl *) ((wxRadioBox *) x));
11449}
11450static void *_p_wxChoiceTo_p_wxControl(void *x) {
11451 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
11452}
11453static void *_p_wxListBoxTo_p_wxControl(void *x) {
11454 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
11455}
11456static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
11457 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11458}
11459static void *_p_wxListViewTo_p_wxControl(void *x) {
11460 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
11461}
11462static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 11463 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
11464}
11465static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
11466 return (void *)((wxControl *) ((wxStaticBitmap *) x));
11467}
11468static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
11469 return (void *)((wxControl *) ((wxSpinCtrl *) x));
11470}
11471static void *_p_wxStaticTextTo_p_wxControl(void *x) {
11472 return (void *)((wxControl *) ((wxStaticText *) x));
11473}
11474static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
11475 return (void *)((wxControl *) ((wxStaticBox *) x));
11476}
11477static void *_p_wxSliderTo_p_wxControl(void *x) {
11478 return (void *)((wxControl *) ((wxSlider *) x));
11479}
7e08d4ef
RD
11480static void *_p_wxTreebookTo_p_wxControl(void *x) {
11481 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
44127b65
RD
11482}
11483static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
11484 return (void *)((wxControl *) ((wxSpinButton *) x));
11485}
11486static void *_p_wxButtonTo_p_wxControl(void *x) {
11487 return (void *)((wxControl *) ((wxButton *) x));
11488}
11489static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
11490 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
11491}
7e08d4ef
RD
11492static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
11493 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11494}
53aa7709
RD
11495static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
11496 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
11497}
453fb36b
RD
11498static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
11499 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
11500}
11501static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
11502 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
11503}
11504static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
11505 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
11506}
11507static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
11508 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
11509}
6260902d
RD
11510static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
11511 return (void *)((wxControl *) ((wxStaticPicture *) x));
11512}
44127b65
RD
11513static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
11514 return (void *)((wxControl *) ((wxTextCtrl *) x));
11515}
4cf4100f
RD
11516static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
11517 return (void *)((wxPyListCtrl *) ((wxListView *) x));
11518}
44127b65
RD
11519static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
11520 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
11521}
11522static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
11523 return (void *)((wxEvent *) ((wxMenuEvent *) x));
11524}
11525static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
11526 return (void *)((wxEvent *) ((wxCloseEvent *) x));
11527}
11528static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
11529 return (void *)((wxEvent *) ((wxMouseEvent *) x));
11530}
11531static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
11532 return (void *)((wxEvent *) ((wxEraseEvent *) x));
11533}
8ac8dba0
RD
11534static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
11535 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11536}
44127b65
RD
11537static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
11538 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11539}
11540static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
11541 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
11542}
11543static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
11544 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
11545}
453fb36b
RD
11546static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
11547 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
11548}
11549static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
11550 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
11551}
11552static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
11553 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
11554}
44127b65
RD
11555static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
11556 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
11557}
11558static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
11559 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
11560}
11561static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
11562 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
11563}
11564static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
11565 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
11566}
44127b65
RD
11567static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
11568 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
11569}
2131d850
RD
11570static void *_p_wxPyEventTo_p_wxEvent(void *x) {
11571 return (void *)((wxEvent *) ((wxPyEvent *) x));
11572}
44127b65
RD
11573static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
11574 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
11575}
11576static void *_p_wxListEventTo_p_wxEvent(void *x) {
11577 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11578}
11579static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
11580 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11581}
11582static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
11583 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
11584}
11585static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 11586 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
11587}
11588static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 11589 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 11590}
ae8162c8 11591static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 11592 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 11593}
7e08d4ef
RD
11594static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
11595 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
11596}
11597static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
11598 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
11599}
44127b65
RD
11600static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
11601 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
11602}
11603static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
11604 return (void *)((wxEvent *) ((wxIdleEvent *) x));
11605}
11606static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
11607 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
11608}
11609static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
11610 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
11611}
11612static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
11613 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
11614}
11615static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
11616 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
11617}
11618static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
11619 return (void *)((wxEvent *) ((wxActivateEvent *) x));
11620}
11621static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
11622 return (void *)((wxEvent *) ((wxSizeEvent *) x));
11623}
11624static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
11625 return (void *)((wxEvent *) ((wxMoveEvent *) x));
11626}
53aa7709
RD
11627static void *_p_wxDateEventTo_p_wxEvent(void *x) {
11628 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
11629}
2131d850
RD
11630static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
11631 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
11632}
44127b65
RD
11633static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
11634 return (void *)((wxEvent *) ((wxPaintEvent *) x));
11635}
11636static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
11637 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
11638}
11639static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
11640 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
11641}
11642static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
11643 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
11644}
11645static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
11646 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
11647}
11648static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
11649 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
11650}
11651static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
11652 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
11653}
092f0ed7
RD
11654static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
11655 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
11656}
44127b65
RD
11657static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
11658 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
11659}
11660static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
11661 return (void *)((wxEvent *) ((wxFocusEvent *) x));
11662}
11663static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
11664 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
11665}
11666static void *_p_wxSashEventTo_p_wxEvent(void *x) {
11667 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
11668}
11669static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
11670 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11671}
11672static void *_p_wxShowEventTo_p_wxEvent(void *x) {
11673 return (void *)((wxEvent *) ((wxShowEvent *) x));
11674}
11675static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
11676 return (void *)((wxEvent *) ((wxCommandEvent *) x));
11677}
11678static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
11679 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
11680}
11681static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
11682 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11683}
11684static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
11685 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
11686}
11687static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
11688 return (void *)((wxEvent *) ((wxKeyEvent *) x));
11689}
11690static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
11691 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
11692}
11693static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
11694 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
11695}
d1e20054
RD
11696static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
11697 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
11698}
44127b65
RD
11699static void *_p_wxScrollBarTo_p_wxObject(void *x) {
11700 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
11701}
11702static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
11703 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
11704}
11705static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
11706 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11707}
11708static void *_p_wxEventTo_p_wxObject(void *x) {
11709 return (void *)((wxObject *) ((wxEvent *) x));
11710}
44127b65
RD
11711static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
11712 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
11713}
11714static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
11715 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
11716}
11717static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
11718 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
11719}
11720static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
11721 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11722}
11723static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
11724 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11725}
11726static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
11727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
11728}
11729static void *_p_wxMenuItemTo_p_wxObject(void *x) {
11730 return (void *)((wxObject *) ((wxMenuItem *) x));
11731}
11732static void *_p_wxImageTo_p_wxObject(void *x) {
11733 return (void *)((wxObject *) ((wxImage *) x));
11734}
11735static void *_p_wxPySizerTo_p_wxObject(void *x) {
11736 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
11737}
11738static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
11739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
11740}
11741static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
11742 return (void *)((wxObject *) ((wxGenericDragImage *) x));
11743}
11744static void *_p_wxComboBoxTo_p_wxObject(void *x) {
11745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
11746}
84f85550
RD
11747static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
11748 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
11749}
11750static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
11751 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
11752}
11753static void *_p_wxPyAppTo_p_wxObject(void *x) {
11754 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
11755}
7e08d4ef
RD
11756static void *_p_wxTreebookTo_p_wxObject(void *x) {
11757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11758}
44127b65 11759static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 11760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
11761}
11762static void *_p_wxListItemTo_p_wxObject(void *x) {
11763 return (void *)((wxObject *) ((wxListItem *) x));
11764}
ae8162c8 11765static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0
RD
11766 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
11767}
11768static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
11769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
ae8162c8 11770}
44127b65
RD
11771static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
11772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
11773}
11774static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
11775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11776}
11777static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
11778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11779}
11780static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
11781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
11782}
11783static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
11784 return (void *)((wxObject *) ((wxFindReplaceData *) x));
11785}
11786static void *_p_wxStaticLineTo_p_wxObject(void *x) {
11787 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
11788}
11789static void *_p_wxValidatorTo_p_wxObject(void *x) {
11790 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
11791}
11792static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
11793 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
11794}
11795static void *_p_wxEraseEventTo_p_wxObject(void *x) {
11796 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
11797}
11798static void *_p_wxMouseEventTo_p_wxObject(void *x) {
11799 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
11800}
11801static void *_p_wxCloseEventTo_p_wxObject(void *x) {
11802 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
11803}
53aa7709
RD
11804static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
11805 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
11806}
44127b65
RD
11807static void *_p_wxTreeEventTo_p_wxObject(void *x) {
11808 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
11809}
44127b65
RD
11810static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
11811 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
11812}
11813static void *_p_wxScrollEventTo_p_wxObject(void *x) {
11814 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
11815}
11816static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
11817 return (void *)((wxObject *) ((wxPrintDialogData *) x));
11818}
11819static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
11820 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
11821}
11822static void *_p_wxPrinterTo_p_wxObject(void *x) {
11823 return (void *)((wxObject *) ((wxPrinter *) x));
11824}
11825static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
11826 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
11827}
11828static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
11829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
11830}
11831static void *_p_wxGridSizerTo_p_wxObject(void *x) {
11832 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
11833}
11834static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
11835 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
11836}
11837static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
11838 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
11839}
11840static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
11841 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
11842}
11843static void *_p_wxControlTo_p_wxObject(void *x) {
11844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
11845}
11846static void *_p_wxPyControlTo_p_wxObject(void *x) {
11847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
11848}
11849static void *_p_wxContextHelpTo_p_wxObject(void *x) {
11850 return (void *)((wxObject *) ((wxContextHelp *) x));
11851}
11852static void *_p_wxColourDataTo_p_wxObject(void *x) {
11853 return (void *)((wxObject *) ((wxColourData *) x));
11854}
11855static void *_p_wxActivateEventTo_p_wxObject(void *x) {
11856 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
11857}
11858static void *_p_wxMoveEventTo_p_wxObject(void *x) {
11859 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
11860}
11861static void *_p_wxSizeEventTo_p_wxObject(void *x) {
11862 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
11863}
11864static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
11865 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
11866}
11867static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
11868 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
11869}
11870static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
11871 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
11872}
11873static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
11874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
11875}
11876static void *_p_wxIdleEventTo_p_wxObject(void *x) {
11877 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
11878}
53aa7709
RD
11879static void *_p_wxDateEventTo_p_wxObject(void *x) {
11880 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
11881}
44127b65
RD
11882static void *_p_wxStaticTextTo_p_wxObject(void *x) {
11883 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
11884}
11885static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
11886 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
11887}
11888static void *_p_wxListEventTo_p_wxObject(void *x) {
11889 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
11890}
11891static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
11892 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
11893}
11894static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
11895 return (void *)((wxObject *) ((wxPyPrintout *) x));
11896}
11897static void *_p_wxGaugeTo_p_wxObject(void *x) {
11898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
11899}
11900static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
11901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11902}
51b83b37
RD
11903static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
11904 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
11905}
44127b65
RD
11906static void *_p_wxChoiceTo_p_wxObject(void *x) {
11907 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11908}
11909static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
11910 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
11911}
11912static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
11913 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
11914}
11915static void *_p_wxButtonTo_p_wxObject(void *x) {
11916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
11917}
11918static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
11919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11920}
11921static void *_p_wxKeyEventTo_p_wxObject(void *x) {
11922 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
11923}
11924static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
11925 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
11926}
11927static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
11928 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
11929}
11930static void *_p_wxSashEventTo_p_wxObject(void *x) {
11931 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
11932}
11933static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
11934 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11935}
11936static void *_p_wxListBoxTo_p_wxObject(void *x) {
11937 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11938}
11939static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
11940 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11941}
11942static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
11943 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11944}
11945static void *_p_wxPrintDataTo_p_wxObject(void *x) {
11946 return (void *)((wxObject *) ((wxPrintData *) x));
11947}
11948static void *_p_wxFontDataTo_p_wxObject(void *x) {
11949 return (void *)((wxObject *) ((wxFontData *) x));
11950}
11951static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
11952 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
11953}
11954static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
11955 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11956}
11957static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 11958 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
11959}
11960static void *_p_wxFrameTo_p_wxObject(void *x) {
11961 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
11962}
11963static void *_p_wxPyPanelTo_p_wxObject(void *x) {
11964 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
11965}
11966static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
11967 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
11968}
11969static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
11970 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
11971}
11972static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
11973 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11974}
11975static void *_p_wxFileSystemTo_p_wxObject(void *x) {
11976 return (void *)((wxObject *) ((wxFileSystem *) x));
11977}
11978static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
11979 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
11980}
11981static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
11982 return (void *)((wxObject *) ((wxPrintPreview *) x));
11983}
11984static void *_p_wxListViewTo_p_wxObject(void *x) {
11985 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11986}
11987static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
11988 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
11989}
11990static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
11991 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
11992}
11993static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
11994 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11995}
11996static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
11997 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
11998}
11999static void *_p_wxSizerTo_p_wxObject(void *x) {
12000 return (void *)((wxObject *) ((wxSizer *) x));
12001}
12002static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12003 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12004}
12005static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12006 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12007}
12008static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12009 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12010}
12011static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12012 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12013}
12014static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12015 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12016}
2131d850
RD
12017static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12018 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12019}
44127b65
RD
12020static void *_p_wxFSFileTo_p_wxObject(void *x) {
12021 return (void *)((wxObject *) ((wxFSFile *) x));
12022}
453fb36b
RD
12023static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12024 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12025}
44127b65
RD
12026static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12027 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12028}
12029static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12030 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12031}
453fb36b
RD
12032static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12033 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12034}
12035static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12036 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12037}
12038static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12040}
44127b65
RD
12041static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12042 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12043}
12044static void *_p_wxMenuTo_p_wxObject(void *x) {
12045 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12046}
44127b65
RD
12047static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12048 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
12049}
12050static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12051 return (void *)((wxObject *) ((wxSizerItem *) x));
12052}
12053static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12054 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
12055}
2131d850
RD
12056static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12057 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12058}
44127b65 12059static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 12060 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
12061}
12062static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 12063 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
12064}
12065static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12066 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12067}
12068static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12069 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12070}
12071static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12072 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12073}
12074static void *_p_wxDialogTo_p_wxObject(void *x) {
12075 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12076}
12077static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12078 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12079}
12080static void *_p_wxPyEventTo_p_wxObject(void *x) {
12081 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12082}
12083static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12084 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12085}
12086static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12088}
6260902d
RD
12089static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12090 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12091}
44127b65
RD
12092static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12093 return (void *)((wxObject *) ((wxEvtHandler *) x));
12094}
12095static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12096 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12097}
943e8dfd
RD
12098static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12099 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12100}
44127b65
RD
12101static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12102 return (void *)((wxObject *) ((wxImageHandler *) x));
12103}
943e8dfd
RD
12104static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12105 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12106}
44127b65
RD
12107static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12108 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12109}
12110static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12111 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12112}
12113static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12114 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12115}
12116static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12117 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12118}
12119static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12120 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12121}
12122static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12123 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12124}
12125static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12126 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12127}
12128static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12129 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12130}
12131static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12132 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12133}
44127b65
RD
12134static void *_p_wxShowEventTo_p_wxObject(void *x) {
12135 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12136}
092f0ed7
RD
12137static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12138 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12139}
823f0cfe
RD
12140static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12142}
44127b65
RD
12143static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12145}
12146static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12148}
12149static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12151}
12152static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12154}
12155static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12157}
12158static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12160}
12161static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12163}
12164static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12166}
12167static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12168 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12169}
12170static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12171 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12172}
44127b65
RD
12173static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12174 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12175}
0df68c9f
RD
12176static void *_p_wxWindowTo_p_wxObject(void *x) {
12177 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12178}
44127b65
RD
12179static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12180 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12181}
12182static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12183 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12184}
12185static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12186 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12187}
12188static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12189 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12190}
12191static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12192 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12193}
44127b65 12194static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 12195 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 12196}
d1e20054 12197static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 12198 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d1e20054 12199}
ae8162c8 12200static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 12201 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12202}
7e08d4ef
RD
12203static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12204 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12205}
12206static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12207 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12208}
44127b65
RD
12209static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12210 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12211}
12212static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12213 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12214}
12215static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12216 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12217}
27e45892
RD
12218static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12219 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12220}
d3b6e4ff
RD
12221static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12222 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12223}
44127b65
RD
12224static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12225 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12226}
12227static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12228 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12229}
12230static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12231 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12232}
12233static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12234 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12235}
12236static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12237 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12238}
44127b65
RD
12239static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12240 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12241}
27e45892
RD
12242static void *_p_wxSliderTo_p_wxObject(void *x) {
12243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12244}
53aa7709
RD
12245static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12247}
453fb36b
RD
12248static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12249 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12250}
12251static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12253}
12254static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12255 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12256}
12257static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12259}
44127b65
RD
12260static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12261 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12262}
12263static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12264 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12265}
12266static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12267 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12268}
12269static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12270 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12271}
12272static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12274}
092f0ed7
RD
12275static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12276 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12277}
44127b65
RD
12278static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12279 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12280}
12281static void *_p_wxPanelTo_p_wxObject(void *x) {
12282 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12283}
d1e20054
RD
12284static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12285 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12286}
44127b65
RD
12287static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12288 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12289}
12290static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12291 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12292}
12293static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12294 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12295}
12296static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12297 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12298}
12299static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12301}
12302static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12303 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12304}
12305static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12306 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12307}
7e08d4ef
RD
12308static void *_p_wxToolbookTo_p_wxObject(void *x) {
12309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12310}
44127b65
RD
12311static void *_p_wxToolBarTo_p_wxObject(void *x) {
12312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12313}
12314static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12316}
12317static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12318 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12319}
12320static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12321 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12322}
12323static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12324 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12325}
12326static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12327 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12328}
12329static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12330 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12331}
7e08d4ef
RD
12332static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12333 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12334}
44127b65
RD
12335static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12336 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12337}
12338static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12339 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12340}
12341static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12342 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12343}
12344static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12345 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12346}
12347static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12348 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12349}
12350static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12351 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12352}
84f85550
RD
12353static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12354 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
12355}
12356static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12357 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12358}
453fb36b
RD
12359static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12360 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12361}
44127b65
RD
12362static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12363 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12364}
12365static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12366 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12367}
12368static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12369 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12370}
12371static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12372 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12373}
12374static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12375 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12376}
12377static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12378 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12379}
12380static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12381 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12382}
12383static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12384 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12385}
44127b65
RD
12386static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12387 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12388}
12389static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12390 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12391}
7e08d4ef
RD
12392static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12393 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12394}
44127b65
RD
12395static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12396 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12397}
7e08d4ef
RD
12398static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12399 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12400}
44127b65
RD
12401static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12402 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12403}
12404static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12405 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12406}
12407static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12408 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12409}
12410static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
12411 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12412}
ae8162c8 12413static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12414 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 12415}
44127b65
RD
12416static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
12417 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
12418}
12419static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
12420 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12421}
12422static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12423 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
12424}
12425static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
12426 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12427}
12428static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
12429 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12430}
12431static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
12432 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12433}
27e45892
RD
12434static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
12435 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12436}
44127b65
RD
12437static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
12438 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12439}
12440static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
12441 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12442}
12443static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
12444 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12445}
12446static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
12447 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12448}
d3b6e4ff
RD
12449static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
12450 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12451}
44127b65
RD
12452static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
12453 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12454}
12455static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
12456 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
12457}
12458static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
12459 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
12460}
8ac8dba0
RD
12461static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
12462 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
12463}
44127b65
RD
12464static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
12465 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12466}
12467static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
12468 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12469}
12470static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
12471 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12472}
12473static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
12474 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12475}
12476static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
12477 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12478}
44127b65
RD
12479static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
12480 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12481}
12482static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
12483 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
12484}
12485static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
12486 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12487}
12488static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
12489 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
12490}
12491static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
12492 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12493}
12494static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
12495 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
12496}
12497static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
12498 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
12499}
12500static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
12501 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
12502}
12503static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
12504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12505}
12506static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
12507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12508}
12509static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
12510 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12511}
12512static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
12513 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
12514}
12515static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
12516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12517}
6260902d
RD
12518static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
12519 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12520}
823f0cfe
RD
12521static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
12522 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12523}
44127b65
RD
12524static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
12525 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
12526}
12527static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
12528 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
12529}
12530static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
12531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12532}
12533static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
12534 return (void *)((wxEvtHandler *) ((wxWindow *) x));
12535}
12536static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
12537 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
12538}
12539static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
12540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
12541}
12542static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
12543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
12544}
12545static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
12546 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12547}
12548static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
12549 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
12550}
12551static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
12552 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12553}
12554static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
12555 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12556}
12557static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
12558 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12559}
12560static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
12561 return (void *)((wxEvtHandler *) ((wxMenu *) x));
12562}
12563static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
12564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
12565}
12566static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
12567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
12568}
12569static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
12570 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
12571}
12572static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
12573 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12574}
12575static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
12576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12577}
d3b6e4ff
RD
12578static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
12579 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12580}
44127b65
RD
12581static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
12582 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12583}
12584static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
12585 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12586}
12587static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
12588 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12589}
44127b65
RD
12590static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
12591 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
12592}
12593static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
12594 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
12595}
12596static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
12597 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
12598}
12599static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
12600 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12601}
12602static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
12603 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12604}
53aa7709
RD
12605static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
12606 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12607}
453fb36b
RD
12608static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
12609 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12610}
12611static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
12612 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12613}
12614static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
12615 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12616}
12617static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
12618 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12619}
44127b65
RD
12620static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
12621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12622}
092f0ed7
RD
12623static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
12624 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12625}
44127b65
RD
12626static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
12627 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12628}
12629static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
12630 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
12631}
12632static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
12633 return (void *)((wxEvtHandler *) ((wxValidator *) x));
12634}
12635static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
12636 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12637}
12638static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
12639 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
12640}
12641static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
12642 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12643}
092f0ed7
RD
12644static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
12645 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
12646}
44127b65
RD
12647static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
12648 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
12649}
2131d850
RD
12650static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
12651 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
12652}
453fb36b
RD
12653static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
12654 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
12655}
12656static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
12657 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12658}
12659static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
12660 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
12661}
44127b65
RD
12662static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
12663 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
12664}
12665static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
12666 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
12667}
12668static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
12669 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
12670}
12671static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
12672 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
12673}
12674static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
12675 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
12676}
12677static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 12678 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
12679}
12680static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 12681 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 12682}
ae8162c8 12683static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 12684 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12685}
7e08d4ef
RD
12686static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
12687 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12688}
12689static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
12690 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12691}
53aa7709
RD
12692static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
12693 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
12694}
44127b65
RD
12695static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
12696 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
12697}
12698static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
12699 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
12700}
12701static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
12702 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12703}
8ac8dba0
RD
12704static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
12705 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12706}
44127b65
RD
12707static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
12708 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
12709}
d1e20054
RD
12710static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
12711 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
12712}
44127b65
RD
12713static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
12714 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
12715}
12716static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
12717 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
12718}
12719static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
12720 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12721}
12722static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
12723 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
12724}
12725static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
12726 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
12727}
0085ce49
RD
12728static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
12729static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
12730static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
12731static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
12732static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
12733static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
12734static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
12735static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
12736static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
12737static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
12738static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
12739static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
12740static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
092f0ed7 12741static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
0085ce49 12742static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
453fb36b
RD
12743static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
12744static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
12745static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
2131d850 12746static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
12747static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
12748static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
12749static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
12750static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
12751static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
12752static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
12753static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
12754static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
12755static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
12756static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
12757static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
12758static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
12759static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
12760static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
12761static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
12762static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
12763static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
12764static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
12765static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
12766static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
12767static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
12768static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
12769static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
453fb36b 12770static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
0085ce49
RD
12771static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
12772static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
12773static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
12774static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
12775static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
12776static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
12777static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
12778static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
12779static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
12780static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
12781static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
12782static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
12783static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
092f0ed7 12784static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
12785static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
12786static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
12787static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
12788static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
12789static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
12790static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
12791static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
12792static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
12793static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
12794static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
12795static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
12796static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
12797static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
12798static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
12799static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
12800static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
12801static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
12802static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
453fb36b
RD
12803static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
12804static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
12805static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
12806static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
12807static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
12808static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
12809static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
12810static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
12811static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
12812static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
12813static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
12814static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
12815static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
12816static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
12817static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
12818static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
12819static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
12820static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
12821static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
12822static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
12823static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
12824static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
12825static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
12826static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
12827static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
12828static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
12829static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
12830static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
12831static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
12832static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
12833static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
12834static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
12835static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
12836static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
12837static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
12838static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
12839static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
12840static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
12841static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
12842static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
12843static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
12844static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
12845static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
12846static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
12847static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
12848static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
12849static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
12850static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
12851static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
12852static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
0085ce49
RD
12853static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
12854static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
453fb36b 12855static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
27e45892 12856static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
0085ce49
RD
12857static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
12858static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
12859static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
12860static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
12861static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
12862static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
12863static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
12864static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
12865static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
12866static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
12867static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
453fb36b
RD
12868static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
12869static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
12870static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
0085ce49 12871static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
453fb36b 12872static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
27e45892 12873static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
0085ce49
RD
12874static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
12875static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
12876static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
27e45892 12877static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
0085ce49
RD
12878static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
12879static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
12880static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
12881static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
12882static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
12883static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
12884static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
12885static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
12886static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
12887static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
12888static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
12889static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
12890static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
12891static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
12892static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
12893static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
12894static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
12895static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
12896static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
12897static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
12898static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
12899static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
12900static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
12901static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
12902static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
12903static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
12904static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
12905static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
12906static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
12907static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
12908static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
12909static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
12910static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
12911static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
12912static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
12913static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
12914static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
12915static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
12916static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
12917static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
12918static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
12919static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
12920static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
0085ce49 12921static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
453fb36b 12922static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
0085ce49 12923static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
453fb36b 12924static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
0085ce49 12925static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
092f0ed7 12926static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
2131d850 12927static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
0085ce49
RD
12928static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
12929static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
12930static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
12931static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
12932static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
12933static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
12934static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
12935static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
12936static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
12937static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
12938static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
12939static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
12940static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
12941static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", "wxPyListCtrl *", 0, 0, (void*)0, 0};
12942static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
12943static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
12944static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
12945static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
12946static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
12947static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
12948static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
12949static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
12950static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
12951static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
12952static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
12953static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
12954static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
12955static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
12956static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
12957
12958static swig_type_info *swig_type_initial[] = {
12959 &_swigt__p_char,
12960 &_swigt__p_float,
12961 &_swigt__p_form_ops_t,
12962 &_swigt__p_int,
12963 &_swigt__p_unsigned_char,
12964 &_swigt__p_unsigned_int,
12965 &_swigt__p_unsigned_long,
12966 &_swigt__p_wxANIHandler,
12967 &_swigt__p_wxAcceleratorTable,
12968 &_swigt__p_wxActivateEvent,
12969 &_swigt__p_wxArrayString,
12970 &_swigt__p_wxBMPHandler,
12971 &_swigt__p_wxBitmap,
12972 &_swigt__p_wxBitmapButton,
12973 &_swigt__p_wxBookCtrlBase,
12974 &_swigt__p_wxBookCtrlBaseEvent,
12975 &_swigt__p_wxBoxSizer,
12976 &_swigt__p_wxButton,
12977 &_swigt__p_wxCURHandler,
12978 &_swigt__p_wxCalculateLayoutEvent,
12979 &_swigt__p_wxCheckBox,
12980 &_swigt__p_wxCheckListBox,
12981 &_swigt__p_wxChildFocusEvent,
12982 &_swigt__p_wxChoice,
12983 &_swigt__p_wxChoicebook,
12984 &_swigt__p_wxChoicebookEvent,
2131d850 12985 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
12986 &_swigt__p_wxCloseEvent,
12987 &_swigt__p_wxColour,
12988 &_swigt__p_wxColourData,
12989 &_swigt__p_wxColourDialog,
453fb36b
RD
12990 &_swigt__p_wxColourPickerCtrl,
12991 &_swigt__p_wxColourPickerEvent,
32fe5131
RD
12992 &_swigt__p_wxComboBox,
12993 &_swigt__p_wxCommandEvent,
12994 &_swigt__p_wxContextHelp,
12995 &_swigt__p_wxContextHelpButton,
12996 &_swigt__p_wxContextMenuEvent,
12997 &_swigt__p_wxControl,
12998 &_swigt__p_wxControlWithItems,
12999 &_swigt__p_wxDateEvent,
13000 &_swigt__p_wxDatePickerCtrl,
13001 &_swigt__p_wxDialog,
13002 &_swigt__p_wxDirDialog,
13003 &_swigt__p_wxDirFilterListCtrl,
453fb36b 13004 &_swigt__p_wxDirPickerCtrl,
32fe5131
RD
13005 &_swigt__p_wxDisplayChangedEvent,
13006 &_swigt__p_wxDropFilesEvent,
13007 &_swigt__p_wxDuplexMode,
13008 &_swigt__p_wxDynamicSashSplitEvent,
13009 &_swigt__p_wxDynamicSashUnifyEvent,
13010 &_swigt__p_wxDynamicSashWindow,
13011 &_swigt__p_wxEditableListBox,
13012 &_swigt__p_wxEraseEvent,
13013 &_swigt__p_wxEvent,
13014 &_swigt__p_wxEvtHandler,
13015 &_swigt__p_wxFSFile,
13016 &_swigt__p_wxFileDialog,
453fb36b
RD
13017 &_swigt__p_wxFileDirPickerEvent,
13018 &_swigt__p_wxFilePickerCtrl,
32fe5131
RD
13019 &_swigt__p_wxFileSystem,
13020 &_swigt__p_wxFindDialogEvent,
13021 &_swigt__p_wxFindReplaceData,
13022 &_swigt__p_wxFindReplaceDialog,
13023 &_swigt__p_wxFlexGridSizer,
13024 &_swigt__p_wxFocusEvent,
13025 &_swigt__p_wxFont,
13026 &_swigt__p_wxFontData,
13027 &_swigt__p_wxFontDialog,
453fb36b
RD
13028 &_swigt__p_wxFontPickerCtrl,
13029 &_swigt__p_wxFontPickerEvent,
32fe5131
RD
13030 &_swigt__p_wxFrame,
13031 &_swigt__p_wxGBSizerItem,
13032 &_swigt__p_wxGIFHandler,
13033 &_swigt__p_wxGauge,
13034 &_swigt__p_wxGenericDirCtrl,
13035 &_swigt__p_wxGenericDragImage,
13036 &_swigt__p_wxGridBagSizer,
13037 &_swigt__p_wxGridSizer,
13038 &_swigt__p_wxHelpEvent,
092f0ed7
RD
13039 &_swigt__p_wxHyperlinkCtrl,
13040 &_swigt__p_wxHyperlinkEvent,
32fe5131
RD
13041 &_swigt__p_wxICOHandler,
13042 &_swigt__p_wxIcon,
13043 &_swigt__p_wxIconizeEvent,
13044 &_swigt__p_wxIdleEvent,
13045 &_swigt__p_wxImage,
13046 &_swigt__p_wxImageHandler,
13047 &_swigt__p_wxImageList,
13048 &_swigt__p_wxIndividualLayoutConstraint,
13049 &_swigt__p_wxInitDialogEvent,
13050 &_swigt__p_wxJPEGHandler,
13051 &_swigt__p_wxKeyEvent,
13052 &_swigt__p_wxLEDNumberCtrl,
13053 &_swigt__p_wxLayoutAlgorithm,
13054 &_swigt__p_wxLayoutConstraints,
13055 &_swigt__p_wxListBox,
13056 &_swigt__p_wxListEvent,
13057 &_swigt__p_wxListItem,
13058 &_swigt__p_wxListView,
13059 &_swigt__p_wxListbook,
13060 &_swigt__p_wxListbookEvent,
13061 &_swigt__p_wxMDIChildFrame,
13062 &_swigt__p_wxMDIClientWindow,
13063 &_swigt__p_wxMDIParentFrame,
13064 &_swigt__p_wxMaximizeEvent,
13065 &_swigt__p_wxMenu,
13066 &_swigt__p_wxMenuBar,
13067 &_swigt__p_wxMenuEvent,
13068 &_swigt__p_wxMenuItem,
13069 &_swigt__p_wxMessageDialog,
13070 &_swigt__p_wxMiniFrame,
13071 &_swigt__p_wxMouseCaptureChangedEvent,
13072 &_swigt__p_wxMouseEvent,
13073 &_swigt__p_wxMoveEvent,
13074 &_swigt__p_wxMultiChoiceDialog,
13075 &_swigt__p_wxNavigationKeyEvent,
13076 &_swigt__p_wxNcPaintEvent,
13077 &_swigt__p_wxNotebook,
13078 &_swigt__p_wxNotebookEvent,
13079 &_swigt__p_wxNotifyEvent,
27e45892 13080 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
13081 &_swigt__p_wxObject,
13082 &_swigt__p_wxPCXHandler,
13083 &_swigt__p_wxPNGHandler,
13084 &_swigt__p_wxPNMHandler,
13085 &_swigt__p_wxPageSetupDialog,
13086 &_swigt__p_wxPageSetupDialogData,
13087 &_swigt__p_wxPaintEvent,
13088 &_swigt__p_wxPaletteChangedEvent,
13089 &_swigt__p_wxPanel,
13090 &_swigt__p_wxPaperSize,
13091 &_swigt__p_wxPasswordEntryDialog,
453fb36b 13092 &_swigt__p_wxPickerBase,
32fe5131
RD
13093 &_swigt__p_wxPopupWindow,
13094 &_swigt__p_wxPreviewCanvas,
13095 &_swigt__p_wxPreviewControlBar,
13096 &_swigt__p_wxPreviewFrame,
13097 &_swigt__p_wxPrintData,
13098 &_swigt__p_wxPrintDialog,
13099 &_swigt__p_wxPrintDialogData,
13100 &_swigt__p_wxPrintPreview,
13101 &_swigt__p_wxPrinter,
13102 &_swigt__p_wxProgressDialog,
13103 &_swigt__p_wxPyApp,
13104 &_swigt__p_wxPyCommandEvent,
13105 &_swigt__p_wxPyControl,
13106 &_swigt__p_wxPyEvent,
13107 &_swigt__p_wxPyHtmlListBox,
13108 &_swigt__p_wxPyImageHandler,
13109 &_swigt__p_wxPyListCtrl,
13110 &_swigt__p_wxPyPanel,
13111 &_swigt__p_wxPyPopupTransientWindow,
13112 &_swigt__p_wxPyPreviewControlBar,
13113 &_swigt__p_wxPyPreviewFrame,
13114 &_swigt__p_wxPyPrintPreview,
13115 &_swigt__p_wxPyPrintout,
13116 &_swigt__p_wxPyScrolledWindow,
13117 &_swigt__p_wxPySizer,
13118 &_swigt__p_wxPyTaskBarIcon,
13119 &_swigt__p_wxPyTreeCompanionWindow,
13120 &_swigt__p_wxPyTreeCtrl,
13121 &_swigt__p_wxPyTreeItemData,
13122 &_swigt__p_wxPyTreeListCtrl,
13123 &_swigt__p_wxPyVListBox,
13124 &_swigt__p_wxPyVScrolledWindow,
13125 &_swigt__p_wxPyValidator,
13126 &_swigt__p_wxPyWindow,
13127 &_swigt__p_wxQueryLayoutInfoEvent,
13128 &_swigt__p_wxQueryNewPaletteEvent,
13129 &_swigt__p_wxRadioBox,
13130 &_swigt__p_wxRadioButton,
13131 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13132 &_swigt__p_wxSashEvent,
13133 &_swigt__p_wxSashLayoutWindow,
13134 &_swigt__p_wxSashWindow,
13135 &_swigt__p_wxScrollBar,
13136 &_swigt__p_wxScrollEvent,
13137 &_swigt__p_wxScrollWinEvent,
13138 &_swigt__p_wxScrolledWindow,
13139 &_swigt__p_wxSetCursorEvent,
13140 &_swigt__p_wxShowEvent,
13141 &_swigt__p_wxSingleChoiceDialog,
13142 &_swigt__p_wxSizeEvent,
13143 &_swigt__p_wxSizer,
13144 &_swigt__p_wxSizerItem,
13145 &_swigt__p_wxSlider,
13146 &_swigt__p_wxSpinButton,
13147 &_swigt__p_wxSpinCtrl,
13148 &_swigt__p_wxSpinEvent,
13149 &_swigt__p_wxSplashScreen,
13150 &_swigt__p_wxSplashScreenWindow,
13151 &_swigt__p_wxSplitterEvent,
13152 &_swigt__p_wxSplitterScrolledWindow,
13153 &_swigt__p_wxSplitterWindow,
13154 &_swigt__p_wxStaticBitmap,
13155 &_swigt__p_wxStaticBox,
13156 &_swigt__p_wxStaticBoxSizer,
13157 &_swigt__p_wxStaticLine,
13158 &_swigt__p_wxStaticPicture,
13159 &_swigt__p_wxStaticText,
13160 &_swigt__p_wxStatusBar,
13161 &_swigt__p_wxStdDialogButtonSizer,
13162 &_swigt__p_wxSysColourChangedEvent,
13163 &_swigt__p_wxTIFFHandler,
13164 &_swigt__p_wxTaskBarIconEvent,
13165 &_swigt__p_wxTextCtrl,
13166 &_swigt__p_wxTextEntryDialog,
13167 &_swigt__p_wxTextUrlEvent,
13168 &_swigt__p_wxThinSplitterWindow,
13169 &_swigt__p_wxTipWindow,
13170 &_swigt__p_wxToggleButton,
13171 &_swigt__p_wxToolBar,
13172 &_swigt__p_wxToolBarBase,
13173 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
13174 &_swigt__p_wxToolbook,
13175 &_swigt__p_wxToolbookEvent,
32fe5131
RD
13176 &_swigt__p_wxTopLevelWindow,
13177 &_swigt__p_wxTreeEvent,
13178 &_swigt__p_wxTreeItemId,
13179 &_swigt__p_wxTreeListColumnInfo,
7e08d4ef
RD
13180 &_swigt__p_wxTreebook,
13181 &_swigt__p_wxTreebookEvent,
32fe5131
RD
13182 &_swigt__p_wxUpdateUIEvent,
13183 &_swigt__p_wxValidator,
13184 &_swigt__p_wxWindow,
13185 &_swigt__p_wxWindowCreateEvent,
13186 &_swigt__p_wxWindowDestroyEvent,
13187 &_swigt__p_wxXPMHandler,
32fe5131
RD
13188};
13189
13190static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13191static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13192static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13193static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13194static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13195static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13196static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13197static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13198static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13199static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13200static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13201static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13202static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13203static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13204static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13205static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13206static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13207static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13208static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13209static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13210static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13211static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13212static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13213static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13214static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13215static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13216static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13217static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13218static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13219static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13220static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13221static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13222static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13223static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13224static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13225static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13226static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13227static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13228static 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
13229static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13230static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13231static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13232static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13233static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13234static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13235static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13236static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13237static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13238static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13239static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13240static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13241static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13242static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13243static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13244static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13245static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13246static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13247static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13248static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13249static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13250static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13251static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13252static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13253static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13254static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13255static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13256static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13257static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13258static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13259static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13260static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13261static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13262static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13263static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13264static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13265static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13266static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13267static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13268static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13269static 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
13270static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13271static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13272static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13273static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13274static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13275static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13276static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13277static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13278static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13279static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13280static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13281static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
13282static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13283static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13284static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13285static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13286static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13287static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13288static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13289static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13290static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13291static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13292static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13293static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13294static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13295static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13296static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13297static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13298static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13299static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13300static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13301static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13302static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13303static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13304static 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_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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
13305static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13306static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13307static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13308static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13309static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13310static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13311static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13312static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13313static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13314static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13315static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13316static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13317static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13318static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13319static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13320static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13321static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13322static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13323static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13324static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13325static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13326static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13327static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13328static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13329static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13330static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13331static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13332static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13333static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13334static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13335static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13336static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13337static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13338static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13339static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13340static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13341static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13342static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13343static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13344static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13345static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13346static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13347static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13348static 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
13349static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13350static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13351static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13352static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13353static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13354static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13355static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13356static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13357static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13358static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13359static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13360static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13361static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13362static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13363static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13364static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13365static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13366static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13367static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13368static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13369static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13370static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13371static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13372static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13373static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13374static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13375static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13376static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13377static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13378static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13379static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13380static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13381static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13382static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13383static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13384static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13385static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13386static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13387static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13388static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13389static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13390static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13391static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13392static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13393static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13394static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13395static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13396static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13397static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13398static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
13399static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13400static 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_wxIconizeEvent, _p_wxIconizeEventTo_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_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_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_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_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_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_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
13401static 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}};
13402static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
13403static swig_cast_info _swigc__p_wxPyListCtrl[] = { {&_swigt__p_wxPyListCtrl, 0, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxPyListCtrl, 0, 0},{0, 0, 0, 0}};
13404static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
13405static 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}};
13406static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
13407static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
13408static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
13409static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
13410static 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}};
13411static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13412static 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}};
13413static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
13414static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
13415static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
13416static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
13417static 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 13418static 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
13419
13420static swig_cast_info *swig_cast_initial[] = {
13421 _swigc__p_char,
13422 _swigc__p_float,
13423 _swigc__p_form_ops_t,
13424 _swigc__p_int,
13425 _swigc__p_unsigned_char,
13426 _swigc__p_unsigned_int,
13427 _swigc__p_unsigned_long,
13428 _swigc__p_wxANIHandler,
13429 _swigc__p_wxAcceleratorTable,
13430 _swigc__p_wxActivateEvent,
13431 _swigc__p_wxArrayString,
13432 _swigc__p_wxBMPHandler,
13433 _swigc__p_wxBitmap,
13434 _swigc__p_wxBitmapButton,
13435 _swigc__p_wxBookCtrlBase,
13436 _swigc__p_wxBookCtrlBaseEvent,
13437 _swigc__p_wxBoxSizer,
13438 _swigc__p_wxButton,
13439 _swigc__p_wxCURHandler,
13440 _swigc__p_wxCalculateLayoutEvent,
13441 _swigc__p_wxCheckBox,
13442 _swigc__p_wxCheckListBox,
13443 _swigc__p_wxChildFocusEvent,
13444 _swigc__p_wxChoice,
13445 _swigc__p_wxChoicebook,
13446 _swigc__p_wxChoicebookEvent,
2131d850 13447 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
13448 _swigc__p_wxCloseEvent,
13449 _swigc__p_wxColour,
13450 _swigc__p_wxColourData,
13451 _swigc__p_wxColourDialog,
453fb36b
RD
13452 _swigc__p_wxColourPickerCtrl,
13453 _swigc__p_wxColourPickerEvent,
32fe5131
RD
13454 _swigc__p_wxComboBox,
13455 _swigc__p_wxCommandEvent,
13456 _swigc__p_wxContextHelp,
13457 _swigc__p_wxContextHelpButton,
13458 _swigc__p_wxContextMenuEvent,
13459 _swigc__p_wxControl,
13460 _swigc__p_wxControlWithItems,
13461 _swigc__p_wxDateEvent,
13462 _swigc__p_wxDatePickerCtrl,
13463 _swigc__p_wxDialog,
13464 _swigc__p_wxDirDialog,
13465 _swigc__p_wxDirFilterListCtrl,
453fb36b 13466 _swigc__p_wxDirPickerCtrl,
32fe5131
RD
13467 _swigc__p_wxDisplayChangedEvent,
13468 _swigc__p_wxDropFilesEvent,
13469 _swigc__p_wxDuplexMode,
13470 _swigc__p_wxDynamicSashSplitEvent,
13471 _swigc__p_wxDynamicSashUnifyEvent,
13472 _swigc__p_wxDynamicSashWindow,
13473 _swigc__p_wxEditableListBox,
13474 _swigc__p_wxEraseEvent,
13475 _swigc__p_wxEvent,
13476 _swigc__p_wxEvtHandler,
13477 _swigc__p_wxFSFile,
13478 _swigc__p_wxFileDialog,
453fb36b
RD
13479 _swigc__p_wxFileDirPickerEvent,
13480 _swigc__p_wxFilePickerCtrl,
32fe5131
RD
13481 _swigc__p_wxFileSystem,
13482 _swigc__p_wxFindDialogEvent,
13483 _swigc__p_wxFindReplaceData,
13484 _swigc__p_wxFindReplaceDialog,
13485 _swigc__p_wxFlexGridSizer,
13486 _swigc__p_wxFocusEvent,
13487 _swigc__p_wxFont,
13488 _swigc__p_wxFontData,
13489 _swigc__p_wxFontDialog,
453fb36b
RD
13490 _swigc__p_wxFontPickerCtrl,
13491 _swigc__p_wxFontPickerEvent,
32fe5131
RD
13492 _swigc__p_wxFrame,
13493 _swigc__p_wxGBSizerItem,
13494 _swigc__p_wxGIFHandler,
13495 _swigc__p_wxGauge,
13496 _swigc__p_wxGenericDirCtrl,
13497 _swigc__p_wxGenericDragImage,
13498 _swigc__p_wxGridBagSizer,
13499 _swigc__p_wxGridSizer,
13500 _swigc__p_wxHelpEvent,
092f0ed7
RD
13501 _swigc__p_wxHyperlinkCtrl,
13502 _swigc__p_wxHyperlinkEvent,
32fe5131
RD
13503 _swigc__p_wxICOHandler,
13504 _swigc__p_wxIcon,
13505 _swigc__p_wxIconizeEvent,
13506 _swigc__p_wxIdleEvent,
13507 _swigc__p_wxImage,
13508 _swigc__p_wxImageHandler,
13509 _swigc__p_wxImageList,
13510 _swigc__p_wxIndividualLayoutConstraint,
13511 _swigc__p_wxInitDialogEvent,
13512 _swigc__p_wxJPEGHandler,
13513 _swigc__p_wxKeyEvent,
13514 _swigc__p_wxLEDNumberCtrl,
13515 _swigc__p_wxLayoutAlgorithm,
13516 _swigc__p_wxLayoutConstraints,
13517 _swigc__p_wxListBox,
13518 _swigc__p_wxListEvent,
13519 _swigc__p_wxListItem,
13520 _swigc__p_wxListView,
13521 _swigc__p_wxListbook,
13522 _swigc__p_wxListbookEvent,
13523 _swigc__p_wxMDIChildFrame,
13524 _swigc__p_wxMDIClientWindow,
13525 _swigc__p_wxMDIParentFrame,
13526 _swigc__p_wxMaximizeEvent,
13527 _swigc__p_wxMenu,
13528 _swigc__p_wxMenuBar,
13529 _swigc__p_wxMenuEvent,
13530 _swigc__p_wxMenuItem,
13531 _swigc__p_wxMessageDialog,
13532 _swigc__p_wxMiniFrame,
13533 _swigc__p_wxMouseCaptureChangedEvent,
13534 _swigc__p_wxMouseEvent,
13535 _swigc__p_wxMoveEvent,
13536 _swigc__p_wxMultiChoiceDialog,
13537 _swigc__p_wxNavigationKeyEvent,
13538 _swigc__p_wxNcPaintEvent,
13539 _swigc__p_wxNotebook,
13540 _swigc__p_wxNotebookEvent,
13541 _swigc__p_wxNotifyEvent,
27e45892 13542 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
13543 _swigc__p_wxObject,
13544 _swigc__p_wxPCXHandler,
13545 _swigc__p_wxPNGHandler,
13546 _swigc__p_wxPNMHandler,
13547 _swigc__p_wxPageSetupDialog,
13548 _swigc__p_wxPageSetupDialogData,
13549 _swigc__p_wxPaintEvent,
13550 _swigc__p_wxPaletteChangedEvent,
13551 _swigc__p_wxPanel,
13552 _swigc__p_wxPaperSize,
13553 _swigc__p_wxPasswordEntryDialog,
453fb36b 13554 _swigc__p_wxPickerBase,
32fe5131
RD
13555 _swigc__p_wxPopupWindow,
13556 _swigc__p_wxPreviewCanvas,
13557 _swigc__p_wxPreviewControlBar,
13558 _swigc__p_wxPreviewFrame,
13559 _swigc__p_wxPrintData,
13560 _swigc__p_wxPrintDialog,
13561 _swigc__p_wxPrintDialogData,
13562 _swigc__p_wxPrintPreview,
13563 _swigc__p_wxPrinter,
13564 _swigc__p_wxProgressDialog,
13565 _swigc__p_wxPyApp,
13566 _swigc__p_wxPyCommandEvent,
13567 _swigc__p_wxPyControl,
13568 _swigc__p_wxPyEvent,
13569 _swigc__p_wxPyHtmlListBox,
13570 _swigc__p_wxPyImageHandler,
13571 _swigc__p_wxPyListCtrl,
13572 _swigc__p_wxPyPanel,
13573 _swigc__p_wxPyPopupTransientWindow,
13574 _swigc__p_wxPyPreviewControlBar,
13575 _swigc__p_wxPyPreviewFrame,
13576 _swigc__p_wxPyPrintPreview,
13577 _swigc__p_wxPyPrintout,
13578 _swigc__p_wxPyScrolledWindow,
13579 _swigc__p_wxPySizer,
13580 _swigc__p_wxPyTaskBarIcon,
13581 _swigc__p_wxPyTreeCompanionWindow,
13582 _swigc__p_wxPyTreeCtrl,
13583 _swigc__p_wxPyTreeItemData,
13584 _swigc__p_wxPyTreeListCtrl,
13585 _swigc__p_wxPyVListBox,
13586 _swigc__p_wxPyVScrolledWindow,
13587 _swigc__p_wxPyValidator,
13588 _swigc__p_wxPyWindow,
13589 _swigc__p_wxQueryLayoutInfoEvent,
13590 _swigc__p_wxQueryNewPaletteEvent,
13591 _swigc__p_wxRadioBox,
13592 _swigc__p_wxRadioButton,
13593 _swigc__p_wxRemotelyScrolledTreeCtrl,
13594 _swigc__p_wxSashEvent,
13595 _swigc__p_wxSashLayoutWindow,
13596 _swigc__p_wxSashWindow,
13597 _swigc__p_wxScrollBar,
13598 _swigc__p_wxScrollEvent,
13599 _swigc__p_wxScrollWinEvent,
13600 _swigc__p_wxScrolledWindow,
13601 _swigc__p_wxSetCursorEvent,
13602 _swigc__p_wxShowEvent,
13603 _swigc__p_wxSingleChoiceDialog,
13604 _swigc__p_wxSizeEvent,
13605 _swigc__p_wxSizer,
13606 _swigc__p_wxSizerItem,
13607 _swigc__p_wxSlider,
13608 _swigc__p_wxSpinButton,
13609 _swigc__p_wxSpinCtrl,
13610 _swigc__p_wxSpinEvent,
13611 _swigc__p_wxSplashScreen,
13612 _swigc__p_wxSplashScreenWindow,
13613 _swigc__p_wxSplitterEvent,
13614 _swigc__p_wxSplitterScrolledWindow,
13615 _swigc__p_wxSplitterWindow,
13616 _swigc__p_wxStaticBitmap,
13617 _swigc__p_wxStaticBox,
13618 _swigc__p_wxStaticBoxSizer,
13619 _swigc__p_wxStaticLine,
13620 _swigc__p_wxStaticPicture,
13621 _swigc__p_wxStaticText,
13622 _swigc__p_wxStatusBar,
13623 _swigc__p_wxStdDialogButtonSizer,
13624 _swigc__p_wxSysColourChangedEvent,
13625 _swigc__p_wxTIFFHandler,
13626 _swigc__p_wxTaskBarIconEvent,
13627 _swigc__p_wxTextCtrl,
13628 _swigc__p_wxTextEntryDialog,
13629 _swigc__p_wxTextUrlEvent,
13630 _swigc__p_wxThinSplitterWindow,
13631 _swigc__p_wxTipWindow,
13632 _swigc__p_wxToggleButton,
13633 _swigc__p_wxToolBar,
13634 _swigc__p_wxToolBarBase,
13635 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
13636 _swigc__p_wxToolbook,
13637 _swigc__p_wxToolbookEvent,
32fe5131
RD
13638 _swigc__p_wxTopLevelWindow,
13639 _swigc__p_wxTreeEvent,
13640 _swigc__p_wxTreeItemId,
13641 _swigc__p_wxTreeListColumnInfo,
7e08d4ef
RD
13642 _swigc__p_wxTreebook,
13643 _swigc__p_wxTreebookEvent,
32fe5131
RD
13644 _swigc__p_wxUpdateUIEvent,
13645 _swigc__p_wxValidator,
13646 _swigc__p_wxWindow,
13647 _swigc__p_wxWindowCreateEvent,
13648 _swigc__p_wxWindowDestroyEvent,
13649 _swigc__p_wxXPMHandler,
44127b65
RD
13650};
13651
13652
13653/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
13654
13655static swig_const_info swig_const_table[] = {
c32bde28 13656{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
13657
13658#ifdef __cplusplus
13659}
13660#endif
0085ce49 13661/* -----------------------------------------------------------------------------
32fe5131
RD
13662 * Type initialization:
13663 * This problem is tough by the requirement that no dynamic
13664 * memory is used. Also, since swig_type_info structures store pointers to
13665 * swig_cast_info structures and swig_cast_info structures store pointers back
13666 * to swig_type_info structures, we need some lookup code at initialization.
13667 * The idea is that swig generates all the structures that are needed.
13668 * The runtime then collects these partially filled structures.
13669 * The SWIG_InitializeModule function takes these initial arrays out of
13670 * swig_module, and does all the lookup, filling in the swig_module.types
13671 * array with the correct data and linking the correct swig_cast_info
13672 * structures together.
0085ce49 13673 *
32fe5131
RD
13674 * The generated swig_type_info structures are assigned staticly to an initial
13675 * array. We just loop though that array, and handle each type individually.
13676 * First we lookup if this type has been already loaded, and if so, use the
13677 * loaded structure instead of the generated one. Then we have to fill in the
13678 * cast linked list. The cast data is initially stored in something like a
13679 * two-dimensional array. Each row corresponds to a type (there are the same
13680 * number of rows as there are in the swig_type_initial array). Each entry in
13681 * a column is one of the swig_cast_info structures for that type.
13682 * The cast_initial array is actually an array of arrays, because each row has
13683 * a variable number of columns. So to actually build the cast linked list,
13684 * we find the array of casts associated with the type, and loop through it
13685 * adding the casts to the list. The one last trick we need to do is making
13686 * sure the type pointer in the swig_cast_info struct is correct.
0085ce49 13687 *
32fe5131
RD
13688 * First off, we lookup the cast->type name to see if it is already loaded.
13689 * There are three cases to handle:
13690 * 1) If the cast->type has already been loaded AND the type we are adding
13691 * casting info to has not been loaded (it is in this module), THEN we
13692 * replace the cast->type pointer with the type pointer that has already
13693 * been loaded.
13694 * 2) If BOTH types (the one we are adding casting info to, and the
13695 * cast->type) are loaded, THEN the cast info has already been loaded by
13696 * the previous module so we just ignore it.
13697 * 3) Finally, if cast->type has not already been loaded, then we add that
13698 * swig_cast_info to the linked list (because the cast->type) pointer will
13699 * be correct.
0085ce49 13700 * ----------------------------------------------------------------------------- */
32fe5131
RD
13701
13702#ifdef __cplusplus
13703extern "C" {
13704#if 0
13705} /* c-mode */
13706#endif
13707#endif
13708
13709#if 0
13710#define SWIGRUNTIME_DEBUG
13711#endif
13712
13713SWIGRUNTIME void
13714SWIG_InitializeModule(void *clientdata) {
0085ce49
RD
13715 size_t i;
13716 swig_module_info *module_head;
13717 static int init_run = 0;
13718
13719 clientdata = clientdata;
13720
13721 if (init_run) return;
13722 init_run = 1;
13723
13724 /* Initialize the swig_module */
13725 swig_module.type_initial = swig_type_initial;
13726 swig_module.cast_initial = swig_cast_initial;
13727
13728 /* Try and load any already created modules */
13729 module_head = SWIG_GetModule(clientdata);
13730 if (module_head) {
13731 swig_module.next = module_head->next;
13732 module_head->next = &swig_module;
13733 } else {
13734 /* This is the first module loaded */
13735 swig_module.next = &swig_module;
13736 SWIG_SetModule(clientdata, &swig_module);
13737 }
13738
13739 /* Now work on filling in swig_module.types */
32fe5131 13740#ifdef SWIGRUNTIME_DEBUG
0085ce49 13741 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32fe5131 13742#endif
0085ce49
RD
13743 for (i = 0; i < swig_module.size; ++i) {
13744 swig_type_info *type = 0;
13745 swig_type_info *ret;
13746 swig_cast_info *cast;
13747
32fe5131 13748#ifdef SWIGRUNTIME_DEBUG
0085ce49 13749 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32fe5131 13750#endif
0085ce49
RD
13751
13752 /* if there is another module already loaded */
13753 if (swig_module.next != &swig_module) {
13754 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
13755 }
13756 if (type) {
13757 /* Overwrite clientdata field */
32fe5131 13758#ifdef SWIGRUNTIME_DEBUG
0085ce49 13759 printf("SWIG_InitializeModule: found type %s\n", type->name);
32fe5131 13760#endif
0085ce49
RD
13761 if (swig_module.type_initial[i]->clientdata) {
13762 type->clientdata = swig_module.type_initial[i]->clientdata;
32fe5131 13763#ifdef SWIGRUNTIME_DEBUG
0085ce49 13764 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32fe5131 13765#endif
0085ce49
RD
13766 }
13767 } else {
13768 type = swig_module.type_initial[i];
13769 }
13770
13771 /* Insert casting types */
13772 cast = swig_module.cast_initial[i];
13773 while (cast->type) {
13774 /* Don't need to add information already in the list */
13775 ret = 0;
32fe5131 13776#ifdef SWIGRUNTIME_DEBUG
0085ce49 13777 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32fe5131 13778#endif
0085ce49
RD
13779 if (swig_module.next != &swig_module) {
13780 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32fe5131 13781#ifdef SWIGRUNTIME_DEBUG
0085ce49 13782 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32fe5131 13783#endif
0085ce49
RD
13784 }
13785 if (ret) {
13786 if (type == swig_module.type_initial[i]) {
32fe5131 13787#ifdef SWIGRUNTIME_DEBUG
0085ce49 13788 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32fe5131 13789#endif
0085ce49
RD
13790 cast->type = ret;
13791 ret = 0;
13792 } else {
13793 /* Check for casting already in the list */
13794 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32fe5131 13795#ifdef SWIGRUNTIME_DEBUG
0085ce49 13796 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32fe5131 13797#endif
0085ce49
RD
13798 if (!ocast) ret = 0;
13799 }
13800 }
13801
13802 if (!ret) {
32fe5131 13803#ifdef SWIGRUNTIME_DEBUG
0085ce49 13804 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32fe5131 13805#endif
0085ce49
RD
13806 if (type->cast) {
13807 type->cast->prev = cast;
13808 cast->next = type->cast;
32fe5131 13809 }
0085ce49
RD
13810 type->cast = cast;
13811 }
13812 cast++;
32fe5131 13813 }
0085ce49
RD
13814 /* Set entry in modules->types array equal to the type */
13815 swig_module.types[i] = type;
13816 }
13817 swig_module.types[i] = 0;
13818
32fe5131 13819#ifdef SWIGRUNTIME_DEBUG
0085ce49
RD
13820 printf("**** SWIG_InitializeModule: Cast List ******\n");
13821 for (i = 0; i < swig_module.size; ++i) {
13822 int j = 0;
13823 swig_cast_info *cast = swig_module.cast_initial[i];
13824 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
13825 while (cast->type) {
13826 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
13827 cast++;
13828 ++j;
13829 }
13830 printf("---- Total casts: %d\n",j);
13831 }
13832 printf("**** SWIG_InitializeModule: Cast List ******\n");
32fe5131
RD
13833#endif
13834}
13835
13836/* This function will propagate the clientdata field of type to
13837* any new swig_type_info structures that have been added into the list
13838* of equivalent types. It is like calling
13839* SWIG_TypeClientData(type, clientdata) a second time.
13840*/
13841SWIGRUNTIME void
13842SWIG_PropagateClientData(void) {
0085ce49
RD
13843 size_t i;
13844 swig_cast_info *equiv;
13845 static int init_run = 0;
13846
13847 if (init_run) return;
13848 init_run = 1;
13849
13850 for (i = 0; i < swig_module.size; i++) {
13851 if (swig_module.types[i]->clientdata) {
13852 equiv = swig_module.types[i]->cast;
13853 while (equiv) {
13854 if (!equiv->converter) {
13855 if (equiv->type && !equiv->type->clientdata)
13856 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
13857 }
13858 equiv = equiv->next;
13859 }
32fe5131 13860 }
0085ce49 13861 }
32fe5131
RD
13862}
13863
13864#ifdef __cplusplus
13865#if 0
13866{
0085ce49 13867 /* c-mode */
32fe5131
RD
13868#endif
13869}
13870#endif
13871
44127b65 13872
3004cfd8
RD
13873
13874#ifdef __cplusplus
13875extern "C" {
13876#endif
0085ce49
RD
13877
13878 /* Python-specific SWIG API */
3004cfd8
RD
13879#define SWIG_newvarlink() SWIG_Python_newvarlink()
13880#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
13881#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
0085ce49
RD
13882
13883 /* -----------------------------------------------------------------------------
13884 * global variable support code.
13885 * ----------------------------------------------------------------------------- */
13886
13887 typedef struct swig_globalvar {
13888 char *name; /* Name of global variable */
13889 PyObject *(*get_attr)(void); /* Return the current value */
13890 int (*set_attr)(PyObject *); /* Set the value */
13891 struct swig_globalvar *next;
13892 } swig_globalvar;
13893
13894 typedef struct swig_varlinkobject {
13895 PyObject_HEAD
13896 swig_globalvar *vars;
13897 } swig_varlinkobject;
13898
13899 SWIGINTERN PyObject *
13900 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
13901 return PyString_FromString("<Swig global variables>");
13902 }
13903
13904 SWIGINTERN PyObject *
13905 swig_varlink_str(swig_varlinkobject *v) {
13906 PyObject *str = PyString_FromString("(");
13907 swig_globalvar *var;
13908 for (var = v->vars; var; var=var->next) {
13909 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
13910 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
13911 }
13912 PyString_ConcatAndDel(&str,PyString_FromString(")"));
13913 return str;
13914 }
13915
13916 SWIGINTERN int
13917 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
13918 PyObject *str = swig_varlink_str(v);
13919 fprintf(fp,"Swig global variables ");
13920 fprintf(fp,"%s\n", PyString_AsString(str));
13921 Py_DECREF(str);
13922 return 0;
13923 }
13924
13925 SWIGINTERN void
13926 swig_varlink_dealloc(swig_varlinkobject *v) {
13927 swig_globalvar *var = v->vars;
13928 while (var) {
13929 swig_globalvar *n = var->next;
13930 free(var->name);
13931 free(var);
13932 var = n;
3004cfd8 13933 }
0085ce49
RD
13934 }
13935
13936 SWIGINTERN PyObject *
13937 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
13938 PyObject *res = NULL;
13939 swig_globalvar *var = v->vars;
13940 while (var) {
13941 if (strcmp(var->name,n) == 0) {
13942 res = (*var->get_attr)();
13943 break;
13944 }
13945 var = var->next;
3004cfd8 13946 }
0085ce49
RD
13947 if (res == NULL && !PyErr_Occurred()) {
13948 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
3004cfd8 13949 }
0085ce49
RD
13950 return res;
13951 }
13952
13953 SWIGINTERN int
13954 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
13955 int res = 1;
13956 swig_globalvar *var = v->vars;
13957 while (var) {
13958 if (strcmp(var->name,n) == 0) {
13959 res = (*var->set_attr)(p);
13960 break;
13961 }
13962 var = var->next;
3004cfd8 13963 }
0085ce49
RD
13964 if (res == 1 && !PyErr_Occurred()) {
13965 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
13966 }
13967 return res;
13968 }
13969
13970 SWIGINTERN PyTypeObject*
13971 swig_varlink_type(void) {
13972 static char varlink__doc__[] = "Swig var link object";
13973 static PyTypeObject varlink_type;
13974 static int type_init = 0;
13975 if (!type_init) {
13976 const PyTypeObject tmp
13977 = {
13978 PyObject_HEAD_INIT(NULL)
13979 0, /* Number of items in variable part (ob_size) */
13980 (char *)"swigvarlink", /* Type name (tp_name) */
13981 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
13982 0, /* Itemsize (tp_itemsize) */
13983 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
13984 (printfunc) swig_varlink_print, /* Print (tp_print) */
13985 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
13986 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
13987 0, /* tp_compare */
13988 (reprfunc) swig_varlink_repr, /* tp_repr */
13989 0, /* tp_as_number */
13990 0, /* tp_as_sequence */
13991 0, /* tp_as_mapping */
13992 0, /* tp_hash */
13993 0, /* tp_call */
13994 (reprfunc)swig_varlink_str, /* tp_str */
13995 0, /* tp_getattro */
13996 0, /* tp_setattro */
13997 0, /* tp_as_buffer */
13998 0, /* tp_flags */
13999 varlink__doc__, /* tp_doc */
14000 0, /* tp_traverse */
14001 0, /* tp_clear */
14002 0, /* tp_richcompare */
14003 0, /* tp_weaklistoffset */
3004cfd8 14004#if PY_VERSION_HEX >= 0x02020000
0085ce49 14005 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
14006#endif
14007#if PY_VERSION_HEX >= 0x02030000
0085ce49 14008 0, /* tp_del */
3004cfd8
RD
14009#endif
14010#ifdef COUNT_ALLOCS
0085ce49 14011 0,0,0,0 /* tp_alloc -> tp_next */
3004cfd8 14012#endif
0085ce49
RD
14013 };
14014 varlink_type = tmp;
14015 varlink_type.ob_type = &PyType_Type;
14016 type_init = 1;
3004cfd8 14017 }
0085ce49
RD
14018 return &varlink_type;
14019 }
14020
14021 /* Create a variable linking object for use later */
14022 SWIGINTERN PyObject *
14023 SWIG_Python_newvarlink(void) {
14024 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14025 if (result) {
14026 result->vars = 0;
14027 }
14028 return ((PyObject*) result);
14029 }
14030
14031 SWIGINTERN void
14032 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14033 swig_varlinkobject *v = (swig_varlinkobject *) p;
14034 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14035 if (gv) {
14036 size_t size = strlen(name)+1;
14037 gv->name = (char *)malloc(size);
14038 if (gv->name) {
14039 strncpy(gv->name,name,size);
14040 gv->get_attr = get_attr;
14041 gv->set_attr = set_attr;
14042 gv->next = v->vars;
14043 }
3004cfd8 14044 }
0085ce49
RD
14045 v->vars = gv;
14046 }
14047
14048 SWIGINTERN PyObject *
14049 SWIG_globals() {
14050 static PyObject *_SWIG_globals = 0;
14051 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14052 return _SWIG_globals;
14053 }
14054
14055 /* -----------------------------------------------------------------------------
14056 * constants/methods manipulation
14057 * ----------------------------------------------------------------------------- */
14058
14059 /* Install Constants */
14060 SWIGINTERN void
14061 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14062 PyObject *obj = 0;
14063 size_t i;
14064 for (i = 0; constants[i].type; ++i) {
14065 switch(constants[i].type) {
14066 case SWIG_PY_POINTER:
14067 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14068 break;
14069 case SWIG_PY_BINARY:
14070 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14071 break;
14072 default:
14073 obj = 0;
14074 break;
14075 }
14076 if (obj) {
14077 PyDict_SetItemString(d, constants[i].name, obj);
14078 Py_DECREF(obj);
14079 }
3004cfd8 14080 }
0085ce49
RD
14081 }
14082
14083 /* -----------------------------------------------------------------------------*/
14084 /* Fix SwigMethods to carry the callback ptrs when needed */
14085 /* -----------------------------------------------------------------------------*/
14086
14087 SWIGINTERN void
14088 SWIG_Python_FixMethods(PyMethodDef *methods,
3004cfd8
RD
14089 swig_const_info *const_table,
14090 swig_type_info **types,
14091 swig_type_info **types_initial) {
0085ce49
RD
14092 size_t i;
14093 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 14094 const char *c = methods[i].ml_doc;
0085ce49
RD
14095 if (c && (c = strstr(c, "swig_ptr: "))) {
14096 int j;
14097 swig_const_info *ci = 0;
453fb36b 14098 const char *name = c + 10;
0085ce49
RD
14099 for (j = 0; const_table[j].type; ++j) {
14100 if (strncmp(const_table[j].name, name,
14101 strlen(const_table[j].name)) == 0) {
14102 ci = &(const_table[j]);
14103 break;
14104 }
14105 }
14106 if (ci) {
14107 size_t shift = (ci->ptype) - types;
14108 swig_type_info *ty = types_initial[shift];
14109 size_t ldoc = (c - methods[i].ml_doc);
14110 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14111 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14112 if (ndoc) {
14113 char *buff = ndoc;
14114 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14115 if (ptr) {
14116 strncpy(buff, methods[i].ml_doc, ldoc);
14117 buff += ldoc;
14118 strncpy(buff, "swig_ptr: ", 10);
14119 buff += 10;
14120 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14121 methods[i].ml_doc = ndoc;
3004cfd8 14122 }
0085ce49 14123 }
3004cfd8 14124 }
0085ce49 14125 }
3004cfd8 14126 }
0085ce49
RD
14127 }
14128
3004cfd8
RD
14129#ifdef __cplusplus
14130}
14131#endif
14132
14133/* -----------------------------------------------------------------------------*
14134 * Partial Init method
14135 * -----------------------------------------------------------------------------*/
14136
44127b65
RD
14137#ifdef __cplusplus
14138extern "C"
14139#endif
32fe5131 14140SWIGEXPORT void SWIG_init(void) {
0085ce49
RD
14141 PyObject *m, *d;
14142
14143 /* Fix SwigMethods to carry the callback ptrs when needed */
14144 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14145
14146 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14147 d = PyModule_GetDict(m);
14148
14149 SWIG_InitializeModule(0);
14150 SWIG_InstallConstants(d,swig_const_table);
14151
14152
14153 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14154 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14155 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
14156 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14157 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14158 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14159 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14160 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14161 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14162 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14163 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14164 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14165 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14166 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14167 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14168 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14169 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
14170 SWIG_Python_SetConstant(d, "TL_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_LEFT)));
14171 SWIG_Python_SetConstant(d, "TL_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxTL_ALIGN_RIGHT)));
14172 SWIG_Python_SetConstant(d, "TL_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxTL_ALIGN_CENTER)));
14173 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
14174 SWIG_Python_SetConstant(d, "TL_SEARCH_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_VISIBLE)));
14175 SWIG_Python_SetConstant(d, "TL_SEARCH_LEVEL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_LEVEL)));
14176 SWIG_Python_SetConstant(d, "TL_SEARCH_FULL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_FULL)));
14177 SWIG_Python_SetConstant(d, "TL_SEARCH_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_SEARCH_PARTIAL)));
14178 SWIG_Python_SetConstant(d, "TL_SEARCH_NOCASE",SWIG_From_int(static_cast< int >(wxTL_SEARCH_NOCASE)));
14179 SWIG_Python_SetConstant(d, "TR_DONT_ADJUST_MAC",SWIG_From_int(static_cast< int >(wxTR_DONT_ADJUST_MAC)));
14180 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14181 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14182 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14183 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14184
14185
14186 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
14187 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14188
44127b65
RD
14189}
14190