]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/gizmos/gtk/gizmos_wrap.cpp
Some more details about CollapsiblePane
[wxWidgets.git] / wxPython / contrib / gizmos / gtk / gizmos_wrap.cpp
CommitLineData
44127b65
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
0085ce49 3 * Version 1.3.29
44127b65
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
0085ce49 12#define SWIG_PYTHON_DIRECTOR_NO_VTABLE
44127b65
RD
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
3004cfd8 27};
44127b65
RD
28#endif
29
0085ce49 30/* -----------------------------------------------------------------------------
32fe5131
RD
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
0085ce49 33 * ----------------------------------------------------------------------------- */
44127b65 34
32fe5131
RD
35/* template workaround for compilers that cannot correctly implement the C++ standard */
36#ifndef SWIGTEMPLATEDISAMBIGUATOR
0085ce49
RD
37# if defined(__SUNPRO_CC)
38# if (__SUNPRO_CC <= 0x560)
39# define SWIGTEMPLATEDISAMBIGUATOR template
40# else
41# define SWIGTEMPLATEDISAMBIGUATOR
42# endif
43# else
44# define SWIGTEMPLATEDISAMBIGUATOR
45# endif
3004cfd8 46#endif
44127b65 47
32fe5131
RD
48/* inline attribute */
49#ifndef SWIGINLINE
50# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51# define SWIGINLINE inline
52# else
53# define SWIGINLINE
54# endif
55#endif
56
57/* attribute recognised by some compilers to avoid 'unused' warnings */
58#ifndef SWIGUNUSED
0085ce49
RD
59# if defined(__GNUC__)
60# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61# define SWIGUNUSED __attribute__ ((__unused__))
62# else
63# define SWIGUNUSED
64# endif
65# elif defined(__ICC)
66# define SWIGUNUSED __attribute__ ((__unused__))
32fe5131
RD
67# else
68# define SWIGUNUSED
69# endif
70#endif
71
0085ce49
RD
72#ifndef SWIGUNUSEDPARM
73# ifdef __cplusplus
74# define SWIGUNUSEDPARM(p)
75# else
76# define SWIGUNUSEDPARM(p) p SWIGUNUSED
77# endif
78#endif
79
32fe5131
RD
80/* internal SWIG method */
81#ifndef SWIGINTERN
82# define SWIGINTERN static SWIGUNUSED
83#endif
84
85/* internal inline SWIG method */
86#ifndef SWIGINTERNINLINE
87# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
88#endif
89
0085ce49
RD
90/* exporting methods */
91#if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92# ifndef GCC_HASCLASSVISIBILITY
93# define GCC_HASCLASSVISIBILITY
94# endif
95#endif
96
32fe5131
RD
97#ifndef SWIGEXPORT
98# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99# if defined(STATIC_LINKED)
100# define SWIGEXPORT
101# else
102# define SWIGEXPORT __declspec(dllexport)
103# endif
104# else
0085ce49
RD
105# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106# define SWIGEXPORT __attribute__ ((visibility("default")))
107# else
108# define SWIGEXPORT
109# endif
32fe5131
RD
110# endif
111#endif
112
113/* calling conventions for Windows */
114#ifndef SWIGSTDCALL
115# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116# define SWIGSTDCALL __stdcall
117# else
118# define SWIGSTDCALL
119# endif
120#endif
121
0085ce49
RD
122/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124# define _CRT_SECURE_NO_DEPRECATE
125#endif
32fe5131 126
c9c7117a 127
0085ce49 128/* Python.h has to appear first */
3004cfd8 129#include <Python.h>
44127b65 130
0085ce49 131/* -----------------------------------------------------------------------------
3004cfd8 132 * swigrun.swg
44127b65 133 *
0085ce49
RD
134 * This file contains generic CAPI SWIG runtime support for pointer
135 * type checking.
136 * ----------------------------------------------------------------------------- */
44127b65 137
3004cfd8
RD
138/* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
32fe5131 140#define SWIG_RUNTIME_VERSION "2"
44127b65 141
3004cfd8
RD
142/* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143#ifdef SWIG_TYPE_TABLE
32fe5131
RD
144# define SWIG_QUOTE_STRING(x) #x
145# define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146# define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
44127b65 147#else
32fe5131 148# define SWIG_TYPE_TABLE_NAME
3004cfd8
RD
149#endif
150
151/*
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
155
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
158*/
32fe5131 159
3004cfd8 160#ifndef SWIGRUNTIME
32fe5131 161# define SWIGRUNTIME SWIGINTERN
3004cfd8 162#endif
32fe5131 163
3004cfd8 164#ifndef SWIGRUNTIMEINLINE
32fe5131 165# define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
44127b65
RD
166#endif
167
0085ce49
RD
168/* Generic buffer size */
169#ifndef SWIG_BUFFER_SIZE
170# define SWIG_BUFFER_SIZE 1024
171#endif
172
173/* Flags for pointer conversions */
174#define SWIG_POINTER_DISOWN 0x1
175
176/* Flags for new pointer objects */
177#define SWIG_POINTER_OWN 0x1
178
179
180/*
181 Flags/methods for returning states.
182
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
186
187 Use the following macros/flags to set or process the returning
188 states.
189
190 In old swig versions, you usually write code as:
191
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
193 // success code
194 } else {
195 //fail code
196 }
197
198 Now you can be more explicit as:
199
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
202 // success code
203 } else {
204 // fail code
205 }
206
207 that seems to be the same, but now you can also do
208
209 Type *ptr;
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
212 // success code
213 if (SWIG_IsNewObj(res) {
214 ...
215 delete *ptr;
216 } else {
217 ...
218 }
219 } else {
220 // fail code
221 }
222
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
226
227 int SWIG_ConvertPtr(obj, ptr,...) {
228 if (<obj is ok>) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
231 return SWIG_NEWOBJ;
232 } else {
233 *ptr = <ptr to old object>;
234 return SWIG_OLDOBJ;
235 }
236 } else {
237 return SWIG_BADOBJ;
238 }
239 }
240
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
243 swig errors code.
244
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
247
248 int food(double)
249 int fooi(int);
250
251 and you call
252
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
255
256 just use the SWIG_AddCast()/SWIG_CheckState()
257
258
259 */
260#define SWIG_OK (0)
261#define SWIG_ERROR (-1)
262#define SWIG_IsOK(r) (r >= 0)
263#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
264
265/* The CastRankLimit says how many bits are used for the cast rank */
266#define SWIG_CASTRANKLIMIT (1 << 8)
267/* The NewMask denotes the object was created (using new/malloc) */
268#define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269/* The TmpMask is for in/out typemaps that use temporal objects */
270#define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271/* Simple returning values */
272#define SWIG_BADOBJ (SWIG_ERROR)
273#define SWIG_OLDOBJ (SWIG_OK)
274#define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275#define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276/* Check, add and del mask methods */
277#define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278#define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279#define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280#define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281#define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282#define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
283
284
285/* Cast-Rank Mode */
286#if defined(SWIG_CASTRANK_MODE)
287# ifndef SWIG_TypeRank
288# define SWIG_TypeRank unsigned long
289# endif
290# ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291# define SWIG_MAXCASTRANK (2)
292# endif
293# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295SWIGINTERNINLINE int SWIG_AddCast(int r) {
296 return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
297}
298SWIGINTERNINLINE int SWIG_CheckState(int r) {
299 return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
300}
301#else /* no cast-rank mode */
302# define SWIG_AddCast
303# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
304#endif
305
306
307
308
32fe5131
RD
309#include <string.h>
310
44127b65
RD
311#ifdef __cplusplus
312extern "C" {
313#endif
314
315typedef void *(*swig_converter_func)(void *);
316typedef struct swig_type_info *(*swig_dycast_func)(void **);
317
32fe5131 318/* Structure to store inforomation on one type */
44127b65 319typedef struct swig_type_info {
32fe5131
RD
320 const char *name; /* mangled name of this type */
321 const char *str; /* human readable name of this type */
322 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info *cast; /* linked list of types that can cast into this type */
324 void *clientdata; /* language specific type data */
0085ce49 325 int owndata; /* flag if the structure owns the clientdata */
44127b65
RD
326} swig_type_info;
327
32fe5131
RD
328/* Structure to store a type and conversion function used for casting */
329typedef struct swig_cast_info {
330 swig_type_info *type; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter; /* function to cast the void pointers */
332 struct swig_cast_info *next; /* pointer to next cast in linked list */
333 struct swig_cast_info *prev; /* pointer to the previous cast */
334} swig_cast_info;
335
336/* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339typedef struct swig_module_info {
340 swig_type_info **types; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size; /* Number of types in this module */
342 struct swig_module_info *next; /* Pointer to next element in circularly linked list */
343 swig_type_info **type_initial; /* Array of initially generated type structures */
344 swig_cast_info **cast_initial; /* Array of initially generated casting structures */
345 void *clientdata; /* Language specific module data */
346} swig_module_info;
347
3004cfd8
RD
348/*
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
351
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
354*/
355SWIGRUNTIME int
356SWIG_TypeNameComp(const char *f1, const char *l1,
357 const char *f2, const char *l2) {
358 for (;(f1 != l1) && (f2 != l2); ++f1, ++f2) {
359 while ((*f1 == ' ') && (f1 != l1)) ++f1;
360 while ((*f2 == ' ') && (f2 != l2)) ++f2;
0085ce49 361 if (*f1 != *f2) return (*f1 > *f2) ? 1 : -1;
3004cfd8
RD
362 }
363 return (l1 - f1) - (l2 - f2);
364}
365
366/*
367 Check type equivalence in a name list like <name1>|<name2>|...
32fe5131 368 Return 0 if not equal, 1 if equal
3004cfd8
RD
369*/
370SWIGRUNTIME int
371SWIG_TypeEquiv(const char *nb, const char *tb) {
372 int equiv = 0;
373 const char* te = tb + strlen(tb);
374 const char* ne = nb;
375 while (!equiv && *ne) {
376 for (nb = ne; *ne; ++ne) {
377 if (*ne == '|') break;
378 }
32fe5131 379 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
3004cfd8
RD
380 if (*ne) ++ne;
381 }
382 return equiv;
383}
384
385/*
32fe5131
RD
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
3004cfd8 388*/
32fe5131
RD
389SWIGRUNTIME int
390SWIG_TypeCompare(const char *nb, const char *tb) {
391 int equiv = 0;
392 const char* te = tb + strlen(tb);
393 const char* ne = nb;
394 while (!equiv && *ne) {
395 for (nb = ne; *ne; ++ne) {
396 if (*ne == '|') break;
3004cfd8 397 }
32fe5131
RD
398 equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
399 if (*ne) ++ne;
3004cfd8 400 }
32fe5131 401 return equiv;
3004cfd8
RD
402}
403
32fe5131
RD
404
405/* think of this as a c++ template<> or a scheme macro */
406#define SWIG_TypeCheck_Template(comparison, ty) \
407 if (ty) { \
408 swig_cast_info *iter = ty->cast; \
409 while (iter) { \
410 if (comparison) { \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
414 if (iter->next) \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
417 iter->prev = 0; \
418 if (ty->cast) ty->cast->prev = iter; \
419 ty->cast = iter; \
420 return iter; \
421 } \
422 iter = iter->next; \
423 } \
424 } \
425 return 0
426
3004cfd8
RD
427/*
428 Check the typename
429*/
32fe5131 430SWIGRUNTIME swig_cast_info *
3004cfd8 431SWIG_TypeCheck(const char *c, swig_type_info *ty) {
32fe5131
RD
432 SWIG_TypeCheck_Template(strcmp(iter->type->name, c) == 0, ty);
433}
434
435/* Same as previous function, except strcmp is replaced with a pointer comparison */
436SWIGRUNTIME swig_cast_info *
437SWIG_TypeCheckStruct(swig_type_info *from, swig_type_info *into) {
438 SWIG_TypeCheck_Template(iter->type == from, into);
3004cfd8 439}
44127b65 440
3004cfd8
RD
441/*
442 Cast a pointer up an inheritance hierarchy
443*/
444SWIGRUNTIMEINLINE void *
32fe5131 445SWIG_TypeCast(swig_cast_info *ty, void *ptr) {
3004cfd8
RD
446 return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr);
447}
448
449/*
450 Dynamic pointer casting. Down an inheritance hierarchy
451*/
452SWIGRUNTIME swig_type_info *
453SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) {
454 swig_type_info *lastty = ty;
455 if (!ty || !ty->dcast) return ty;
456 while (ty && (ty->dcast)) {
457 ty = (*ty->dcast)(ptr);
458 if (ty) lastty = ty;
459 }
460 return lastty;
461}
462
463/*
464 Return the name associated with this type
465*/
466SWIGRUNTIMEINLINE const char *
467SWIG_TypeName(const swig_type_info *ty) {
468 return ty->name;
469}
470
471/*
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
474*/
475SWIGRUNTIME const char *
476SWIG_TypePrettyName(const swig_type_info *type) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
480 specific. */
0085ce49 481 if (!type) return NULL;
3004cfd8
RD
482 if (type->str != NULL) {
483 const char *last_name = type->str;
484 const char *s;
485 for (s = type->str; *s; s++)
486 if (*s == '|') last_name = s+1;
487 return last_name;
488 }
489 else
490 return type->name;
491}
492
3004cfd8
RD
493/*
494 Set the clientdata field for a type
495*/
496SWIGRUNTIME void
32fe5131
RD
497SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
498 swig_cast_info *cast = ti->cast;
3004cfd8
RD
499 /* if (ti->clientdata == clientdata) return; */
500 ti->clientdata = clientdata;
32fe5131
RD
501
502 while (cast) {
503 if (!cast->converter) {
504 swig_type_info *tc = cast->type;
505 if (!tc->clientdata) {
506 SWIG_TypeClientData(tc, clientdata);
3004cfd8 507 }
32fe5131
RD
508 }
509 cast = cast->next;
510 }
511}
0085ce49
RD
512SWIGRUNTIME void
513SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
514 SWIG_TypeClientData(ti, clientdata);
515 ti->owndata = 1;
516}
517
32fe5131
RD
518/*
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
521
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
524 the circular list.
525*/
526SWIGRUNTIME swig_type_info *
527SWIG_MangledTypeQueryModule(swig_module_info *start,
528 swig_module_info *end,
529 const char *name) {
530 swig_module_info *iter = start;
531 do {
532 if (iter->size) {
533 register size_t l = 0;
534 register size_t r = iter->size - 1;
535 do {
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i = (l + r) >> 1;
538 const char *iname = iter->types[i]->name;
539 if (iname) {
540 register int compare = strcmp(name, iname);
541 if (compare == 0) {
542 return iter->types[i];
543 } else if (compare < 0) {
544 if (i) {
545 r = i - 1;
546 } else {
547 break;
548 }
549 } else if (compare > 0) {
550 l = i + 1;
551 }
552 } else {
553 break; /* should never happen */
554 }
555 } while (l <= r);
3004cfd8 556 }
32fe5131
RD
557 iter = iter->next;
558 } while (iter != end);
559 return 0;
560}
561
562/*
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
566
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
569 the circular list.
570*/
571SWIGRUNTIME swig_type_info *
572SWIG_TypeQueryModule(swig_module_info *start,
573 swig_module_info *end,
574 const char *name) {
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
577 if (ret) {
578 return ret;
579 } else {
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info *iter = start;
583 do {
584 register size_t i = 0;
585 for (; i < iter->size; ++i) {
586 if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
587 return iter->types[i];
588 }
589 iter = iter->next;
590 } while (iter != end);
3004cfd8 591 }
32fe5131
RD
592
593 /* neither found a match */
594 return 0;
3004cfd8
RD
595}
596
597/*
598 Pack binary data into a string
599*/
600SWIGRUNTIME char *
601SWIG_PackData(char *c, void *ptr, size_t sz) {
32fe5131
RD
602 static const char hex[17] = "0123456789abcdef";
603 register const unsigned char *u = (unsigned char *) ptr;
604 register const unsigned char *eu = u + sz;
3004cfd8 605 for (; u != eu; ++u) {
32fe5131 606 register unsigned char uu = *u;
3004cfd8
RD
607 *(c++) = hex[(uu & 0xf0) >> 4];
608 *(c++) = hex[uu & 0xf];
609 }
610 return c;
611}
612
613/*
614 Unpack binary data from a string
615*/
616SWIGRUNTIME const char *
617SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
618 register unsigned char *u = (unsigned char *) ptr;
32fe5131 619 register const unsigned char *eu = u + sz;
3004cfd8 620 for (; u != eu; ++u) {
32fe5131 621 register char d = *(c++);
0085ce49 622 register unsigned char uu;
3004cfd8
RD
623 if ((d >= '0') && (d <= '9'))
624 uu = ((d - '0') << 4);
625 else if ((d >= 'a') && (d <= 'f'))
626 uu = ((d - ('a'-10)) << 4);
627 else
628 return (char *) 0;
629 d = *(c++);
630 if ((d >= '0') && (d <= '9'))
631 uu |= (d - '0');
632 else if ((d >= 'a') && (d <= 'f'))
633 uu |= (d - ('a'-10));
634 else
635 return (char *) 0;
636 *u = uu;
637 }
638 return c;
639}
640
3004cfd8
RD
641/*
642 Pack 'void *' into a string buffer.
643*/
644SWIGRUNTIME char *
645SWIG_PackVoidPtr(char *buff, void *ptr, const char *name, size_t bsz) {
646 char *r = buff;
647 if ((2*sizeof(void *) + 2) > bsz) return 0;
648 *(r++) = '_';
649 r = SWIG_PackData(r,&ptr,sizeof(void *));
650 if (strlen(name) + 1 > (bsz - (r - buff))) return 0;
651 strcpy(r,name);
652 return buff;
653}
654
655SWIGRUNTIME const char *
656SWIG_UnpackVoidPtr(const char *c, void **ptr, const char *name) {
657 if (*c != '_') {
658 if (strcmp(c,"NULL") == 0) {
659 *ptr = (void *) 0;
660 return name;
661 } else {
662 return 0;
663 }
664 }
665 return SWIG_UnpackData(++c,ptr,sizeof(void *));
666}
667
668SWIGRUNTIME char *
669SWIG_PackDataName(char *buff, void *ptr, size_t sz, const char *name, size_t bsz) {
670 char *r = buff;
671 size_t lname = (name ? strlen(name) : 0);
672 if ((2*sz + 2 + lname) > bsz) return 0;
673 *(r++) = '_';
674 r = SWIG_PackData(r,ptr,sz);
675 if (lname) {
676 strncpy(r,name,lname+1);
677 } else {
678 *r = 0;
679 }
680 return buff;
681}
682
683SWIGRUNTIME const char *
684SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
685 if (*c != '_') {
686 if (strcmp(c,"NULL") == 0) {
687 memset(ptr,0,sz);
688 return name;
689 } else {
690 return 0;
691 }
692 }
693 return SWIG_UnpackData(++c,ptr,sz);
694}
44127b65
RD
695
696#ifdef __cplusplus
697}
44127b65
RD
698#endif
699
0085ce49
RD
700/* Errors in SWIG */
701#define SWIG_UnknownError -1
702#define SWIG_IOError -2
703#define SWIG_RuntimeError -3
704#define SWIG_IndexError -4
705#define SWIG_TypeError -5
706#define SWIG_DivisionByZero -6
707#define SWIG_OverflowError -7
708#define SWIG_SyntaxError -8
709#define SWIG_ValueError -9
710#define SWIG_SystemError -10
711#define SWIG_AttributeError -11
712#define SWIG_MemoryError -12
713#define SWIG_NullReferenceError -13
3004cfd8 714
0085ce49
RD
715
716
717/* Python.h has to appear first */
718#include <Python.h>
719
720/* Add PyOS_snprintf for old Pythons */
721#if PY_VERSION_HEX < 0x02020000
722# if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723# define PyOS_snprintf _snprintf
724# else
725# define PyOS_snprintf snprintf
726# endif
727#endif
728
729/* A crude PyString_FromFormat implementation for old Pythons */
730#if PY_VERSION_HEX < 0x02020000
731
732#ifndef SWIG_PYBUFFER_SIZE
733# define SWIG_PYBUFFER_SIZE 1024
734#endif
735
736static PyObject *
737PyString_FromFormat(const char *fmt, ...) {
738 va_list ap;
739 char buf[SWIG_PYBUFFER_SIZE * 2];
740 int res;
741 va_start(ap, fmt);
742 res = vsnprintf(buf, sizeof(buf), fmt, ap);
743 va_end(ap);
744 return (res < 0 || res >= (int)sizeof(buf)) ? 0 : PyString_FromString(buf);
745}
746#endif
747
748/* Add PyObject_Del for old Pythons */
749#if PY_VERSION_HEX < 0x01060000
750# define PyObject_Del(op) PyMem_DEL((op))
751#endif
752#ifndef PyObject_DEL
753# define PyObject_DEL PyObject_Del
754#endif
755
756/* A crude PyExc_StopIteration exception for old Pythons */
757#if PY_VERSION_HEX < 0x02020000
758# ifndef PyExc_StopIteration
759# define PyExc_StopIteration PyExc_RuntimeError
760# endif
761# ifndef PyObject_GenericGetAttr
762# define PyObject_GenericGetAttr 0
763# endif
3004cfd8 764#endif
0085ce49
RD
765/* Py_NotImplemented is defined in 2.1 and up. */
766#if PY_VERSION_HEX < 0x02010000
767# ifndef Py_NotImplemented
768# define Py_NotImplemented PyExc_RuntimeError
769# endif
770#endif
771
772
773/* A crude PyString_AsStringAndSize implementation for old Pythons */
774#if PY_VERSION_HEX < 0x02010000
775# ifndef PyString_AsStringAndSize
776# define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
777# endif
778#endif
779
780/* PySequence_Size for old Pythons */
781#if PY_VERSION_HEX < 0x02000000
782# ifndef PySequence_Size
783# define PySequence_Size PySequence_Length
784# endif
785#endif
786
787
788/* PyBool_FromLong for old Pythons */
789#if PY_VERSION_HEX < 0x02030000
790static
791PyObject *PyBool_FromLong(long ok)
792{
793 PyObject *result = ok ? Py_True : Py_False;
794 Py_INCREF(result);
795 return result;
796}
797#endif
798
3004cfd8
RD
799
800/* -----------------------------------------------------------------------------
0085ce49 801 * error manipulation
3004cfd8
RD
802 * ----------------------------------------------------------------------------- */
803
0085ce49
RD
804SWIGRUNTIME PyObject*
805SWIG_Python_ErrorType(int code) {
806 PyObject* type = 0;
807 switch(code) {
808 case SWIG_MemoryError:
809 type = PyExc_MemoryError;
810 break;
811 case SWIG_IOError:
812 type = PyExc_IOError;
813 break;
814 case SWIG_RuntimeError:
815 type = PyExc_RuntimeError;
816 break;
817 case SWIG_IndexError:
818 type = PyExc_IndexError;
819 break;
820 case SWIG_TypeError:
821 type = PyExc_TypeError;
822 break;
823 case SWIG_DivisionByZero:
824 type = PyExc_ZeroDivisionError;
825 break;
826 case SWIG_OverflowError:
827 type = PyExc_OverflowError;
828 break;
829 case SWIG_SyntaxError:
830 type = PyExc_SyntaxError;
831 break;
832 case SWIG_ValueError:
833 type = PyExc_ValueError;
834 break;
835 case SWIG_SystemError:
836 type = PyExc_SystemError;
837 break;
838 case SWIG_AttributeError:
839 type = PyExc_AttributeError;
840 break;
841 default:
842 type = PyExc_RuntimeError;
843 }
844 return type;
845}
3004cfd8 846
0085ce49
RD
847
848SWIGRUNTIME void
849SWIG_Python_AddErrorMsg(const char* mesg)
850{
851 PyObject *type = 0;
852 PyObject *value = 0;
853 PyObject *traceback = 0;
854
855 if (PyErr_Occurred()) PyErr_Fetch(&type, &value, &traceback);
856 if (value) {
857 PyObject *old_str = PyObject_Str(value);
858 PyErr_Clear();
859 Py_XINCREF(type);
860 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
861 Py_DECREF(old_str);
862 Py_DECREF(value);
863 } else {
864 PyErr_Format(PyExc_RuntimeError, mesg);
865 }
866}
867
868
869
870#if defined(SWIG_PYTHON_NO_THREADS)
871# if defined(SWIG_PYTHON_THREADS)
872# undef SWIG_PYTHON_THREADS
873# endif
874#endif
875#if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876# if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877# if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878# define SWIG_PYTHON_USE_GIL
879# endif
880# endif
881# if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882# ifndef SWIG_PYTHON_INITIALIZE_THREADS
883# define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
884# endif
885# ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block {
887 bool status;
888 PyGILState_STATE state;
889 public:
890 void end() { if (status) { PyGILState_Release(state); status = false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
893 };
894 class SWIG_Python_Thread_Allow {
895 bool status;
896 PyThreadState *save;
897 public:
898 void end() { if (status) { PyEval_RestoreThread(save); status = false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
901 };
902# define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903# define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904# define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905# define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
906# else /* C code */
907# define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908# define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909# define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910# define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
911# endif
912# else /* Old thread way, not implemented, user must provide it */
913# if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914# define SWIG_PYTHON_INITIALIZE_THREADS
915# endif
916# if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
918# endif
919# if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920# define SWIG_PYTHON_THREAD_END_BLOCK
921# endif
922# if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
924# endif
925# if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926# define SWIG_PYTHON_THREAD_END_ALLOW
927# endif
928# endif
929#else /* No thread support */
930# define SWIG_PYTHON_INITIALIZE_THREADS
931# define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932# define SWIG_PYTHON_THREAD_END_BLOCK
933# define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934# define SWIG_PYTHON_THREAD_END_ALLOW
3004cfd8
RD
935#endif
936
0085ce49
RD
937/* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
3004cfd8 940
0085ce49
RD
941#ifdef __cplusplus
942extern "C" {
943#if 0
944} /* cc-mode */
945#endif
946#endif
3004cfd8
RD
947
948/* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
951
952/* Constant Types */
44127b65
RD
953#define SWIG_PY_POINTER 4
954#define SWIG_PY_BINARY 5
955
44127b65
RD
956/* Constant information structure */
957typedef struct swig_const_info {
0085ce49
RD
958 int type;
959 char *name;
960 long lvalue;
961 double dvalue;
962 void *pvalue;
963 swig_type_info **ptype;
44127b65
RD
964} swig_const_info;
965
3004cfd8 966#ifdef __cplusplus
0085ce49
RD
967#if 0
968{ /* cc-mode */
969#endif
3004cfd8
RD
970}
971#endif
972
973
0085ce49
RD
974/* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
977 *
3004cfd8
RD
978 * pyrun.swg
979 *
0085ce49
RD
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
982 * type checking.
3004cfd8 983 *
0085ce49 984 * ----------------------------------------------------------------------------- */
3004cfd8 985
44127b65 986/* Common SWIG API */
44127b65 987
d1a49b78
RD
988#if PY_VERSION_HEX < 0x02050000
989typedef int Py_ssize_t;
990#endif
991
0085ce49
RD
992/* for raw pointers */
993#define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994#define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995#define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996#define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997#define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998#define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999#define swig_owntype int
44127b65 1000
0085ce49
RD
1001/* for raw packed data */
1002#define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003#define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
44127b65 1004
0085ce49
RD
1005/* for class or struct pointers */
1006#define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007#define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
44127b65 1008
0085ce49
RD
1009/* for C or C++ function pointers */
1010#define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011#define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
44127b65 1012
0085ce49
RD
1013/* for C++ member pointers, ie, member methods */
1014#define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015#define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
32fe5131 1016
3004cfd8 1017
0085ce49 1018/* Runtime API */
3004cfd8 1019
0085ce49
RD
1020#define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021#define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022#define SWIG_NewClientData(obj) PySwigClientData_New(obj)
32fe5131 1023
0085ce49
RD
1024#define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025#define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026#define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027#define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028#define SWIG_fail goto fail
32fe5131 1029
3004cfd8 1030
0085ce49 1031/* Runtime API implementation */
3004cfd8 1032
0085ce49 1033/* Error manipulation */
3004cfd8 1034
0085ce49
RD
1035SWIGINTERN void
1036SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1038 PyErr_SetObject(errtype, obj);
1039 Py_DECREF(obj);
1040 SWIG_PYTHON_THREAD_END_BLOCK;
3004cfd8
RD
1041}
1042
0085ce49
RD
1043SWIGINTERN void
1044SWIG_Python_SetErrorMsg(PyObject *errtype, const char *msg) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK;
1046 PyErr_SetString(errtype, (char *) msg);
1047 SWIG_PYTHON_THREAD_END_BLOCK;
3004cfd8
RD
1048}
1049
0085ce49 1050#define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
32fe5131 1051
0085ce49 1052/* Set a constant value */
3004cfd8 1053
0085ce49
RD
1054SWIGINTERN void
1055SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) {
1056 PyDict_SetItemString(d, (char*) name, obj);
1057 Py_DECREF(obj);
3004cfd8
RD
1058}
1059
0085ce49 1060/* Append a value to the result obj */
3004cfd8 1061
0085ce49
RD
1062SWIGINTERN PyObject*
1063SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) {
1064#if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1065 if (!result) {
1066 result = obj;
1067 } else if (result == Py_None) {
1068 Py_DECREF(result);
1069 result = obj;
1070 } else {
1071 if (!PyList_Check(result)) {
1072 PyObject *o2 = result;
1073 result = PyList_New(1);
1074 PyList_SetItem(result, 0, o2);
1075 }
1076 PyList_Append(result,obj);
1077 Py_DECREF(obj);
1078 }
1079 return result;
1080#else
1081 PyObject* o2;
1082 PyObject* o3;
1083 if (!result) {
1084 result = obj;
1085 } else if (result == Py_None) {
1086 Py_DECREF(result);
1087 result = obj;
3004cfd8 1088 } else {
0085ce49
RD
1089 if (!PyTuple_Check(result)) {
1090 o2 = result;
1091 result = PyTuple_New(1);
1092 PyTuple_SET_ITEM(result, 0, o2);
1093 }
1094 o3 = PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3, 0, obj);
1096 o2 = result;
1097 result = PySequence_Concat(o2, o3);
1098 Py_DECREF(o2);
1099 Py_DECREF(o3);
3004cfd8 1100 }
0085ce49
RD
1101 return result;
1102#endif
3004cfd8
RD
1103}
1104
0085ce49 1105/* Unpack the argument tuple */
3004cfd8 1106
0085ce49
RD
1107SWIGINTERN int
1108SWIG_Python_UnpackTuple(PyObject *args, const char *name, int min, int max, PyObject **objs)
1109{
1110 if (!args) {
1111 if (!min && !max) {
1112 return 1;
1113 } else {
1114 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got none",
1115 name, (min == max ? "" : "at least "), min);
1116 return 0;
1117 }
1118 }
1119 if (!PyTuple_Check(args)) {
1120 PyErr_SetString(PyExc_SystemError, "UnpackTuple() argument list is not a tuple");
1121 return 0;
1122 } else {
1123 register int l = PyTuple_GET_SIZE(args);
1124 if (l < min) {
1125 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1126 name, (min == max ? "" : "at least "), min, l);
1127 return 0;
1128 } else if (l > max) {
1129 PyErr_Format(PyExc_TypeError, "%s expected %s%d arguments, got %d",
1130 name, (min == max ? "" : "at most "), max, l);
1131 return 0;
1132 } else {
1133 register int i;
1134 for (i = 0; i < l; ++i) {
1135 objs[i] = PyTuple_GET_ITEM(args, i);
1136 }
1137 for (; l < max; ++l) {
1138 objs[l] = 0;
1139 }
1140 return i + 1;
1141 }
1142 }
1143}
1144
1145/* A functor is a function object with one single object argument */
1146#if PY_VERSION_HEX >= 0x02020000
1147#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1148#else
1149#define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1150#endif
1151
1152/*
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1155*/
1156#ifdef __cplusplus
1157#define SWIG_STATIC_POINTER(var) var
1158#else
1159#define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1160#endif
1161
1162/* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1165
1166/* Flags for new pointer objects */
1167#define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168#define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1169
1170#define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1171
1172#ifdef __cplusplus
1173extern "C" {
1174#if 0
1175} /* cc-mode */
1176#endif
1177#endif
1178
1179/* How to access Py_None */
1180#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181# ifndef SWIG_PYTHON_NO_BUILD_NONE
1182# ifndef SWIG_PYTHON_BUILD_NONE
1183# define SWIG_PYTHON_BUILD_NONE
1184# endif
1185# endif
1186#endif
1187
1188#ifdef SWIG_PYTHON_BUILD_NONE
1189# ifdef Py_None
1190# undef Py_None
1191# define Py_None SWIG_Py_None()
1192# endif
1193SWIGRUNTIMEINLINE PyObject *
1194_SWIG_Py_None(void)
1195{
1196 PyObject *none = Py_BuildValue("");
1197 Py_DECREF(none);
1198 return none;
1199}
1200SWIGRUNTIME PyObject *
1201SWIG_Py_None(void)
1202{
1203 static PyObject *SWIG_STATIC_POINTER(none) = _SWIG_Py_None();
1204 return none;
1205}
1206#endif
1207
1208/* The python void return value */
1209
1210SWIGRUNTIMEINLINE PyObject *
1211SWIG_Py_Void(void)
1212{
1213 PyObject *none = Py_None;
1214 Py_INCREF(none);
1215 return none;
1216}
1217
1218/* PySwigClientData */
1219
1220typedef struct {
1221 PyObject *klass;
1222 PyObject *newraw;
1223 PyObject *newargs;
1224 PyObject *destroy;
1225 int delargs;
1226 int implicitconv;
1227} PySwigClientData;
1228
1229SWIGRUNTIMEINLINE int
1230SWIG_Python_CheckImplicit(swig_type_info *ty)
1231{
1232 PySwigClientData *data = (PySwigClientData *)ty->clientdata;
1233 return data ? data->implicitconv : 0;
1234}
1235
1236SWIGRUNTIMEINLINE PyObject *
1237SWIG_Python_ExceptionType(swig_type_info *desc) {
1238 PySwigClientData *data = desc ? (PySwigClientData *) desc->clientdata : 0;
1239 PyObject *klass = data ? data->klass : 0;
1240 return (klass ? klass : PyExc_RuntimeError);
1241}
1242
1243
1244SWIGRUNTIME PySwigClientData *
1245PySwigClientData_New(PyObject* obj)
1246{
1247 if (!obj) {
1248 return 0;
1249 } else {
1250 PySwigClientData *data = (PySwigClientData *)malloc(sizeof(PySwigClientData));
1251 /* the klass element */
1252 data->klass = obj;
1253 Py_INCREF(data->klass);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj)) {
1256 data->newraw = 0;
1257 data->newargs = obj;
1258 Py_INCREF(obj);
1259 } else {
1260#if (PY_VERSION_HEX < 0x02020000)
1261 data->newraw = 0;
1262#else
1263 data->newraw = PyObject_GetAttrString(data->klass, (char *)"__new__");
1264#endif
1265 if (data->newraw) {
1266 Py_INCREF(data->newraw);
1267 data->newargs = PyTuple_New(1);
1268 PyTuple_SetItem(data->newargs, 0, obj);
1269 } else {
1270 data->newargs = obj;
1271 }
1272 Py_INCREF(data->newargs);
1273 }
1274 /* the destroy method, aka as the C++ delete method */
1275 data->destroy = PyObject_GetAttrString(data->klass, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1277 PyErr_Clear();
1278 data->destroy = 0;
1279 }
1280 if (data->destroy) {
1281 int flags;
1282 Py_INCREF(data->destroy);
1283 flags = PyCFunction_GET_FLAGS(data->destroy);
1284#ifdef METH_O
1285 data->delargs = !(flags & (METH_O));
1286#else
1287 data->delargs = 0;
1288#endif
1289 } else {
1290 data->delargs = 0;
1291 }
1292 data->implicitconv = 0;
1293 return data;
1294 }
1295}
1296
1297SWIGRUNTIME void
1298PySwigClientData_Del(PySwigClientData* data)
1299{
1300 Py_XDECREF(data->newraw);
1301 Py_XDECREF(data->newargs);
1302 Py_XDECREF(data->destroy);
1303}
1304
1305/* =============== PySwigObject =====================*/
1306
1307typedef struct {
1308 PyObject_HEAD
1309 void *ptr;
1310 swig_type_info *ty;
1311 int own;
1312 PyObject *next;
1313} PySwigObject;
1314
1315SWIGRUNTIME PyObject *
1316PySwigObject_long(PySwigObject *v)
1317{
1318 return PyLong_FromVoidPtr(v->ptr);
1319}
1320
1321SWIGRUNTIME PyObject *
1322PySwigObject_format(const char* fmt, PySwigObject *v)
1323{
1324 PyObject *res = NULL;
1325 PyObject *args = PyTuple_New(1);
1326 if (args) {
1327 if (PyTuple_SetItem(args, 0, PySwigObject_long(v)) == 0) {
1328 PyObject *ofmt = PyString_FromString(fmt);
1329 if (ofmt) {
1330 res = PyString_Format(ofmt,args);
1331 Py_DECREF(ofmt);
1332 }
1333 Py_DECREF(args);
1334 }
1335 }
1336 return res;
1337}
1338
1339SWIGRUNTIME PyObject *
1340PySwigObject_oct(PySwigObject *v)
1341{
1342 return PySwigObject_format("%o",v);
1343}
1344
1345SWIGRUNTIME PyObject *
1346PySwigObject_hex(PySwigObject *v)
1347{
1348 return PySwigObject_format("%x",v);
1349}
1350
1351SWIGRUNTIME PyObject *
1352#ifdef METH_NOARGS
1353PySwigObject_repr(PySwigObject *v)
1354#else
1355PySwigObject_repr(PySwigObject *v, PyObject *args)
1356#endif
1357{
1358 const char *name = SWIG_TypePrettyName(v->ty);
1359 PyObject *hex = PySwigObject_hex(v);
1360 PyObject *repr = PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name, PyString_AsString(hex));
1361 Py_DECREF(hex);
1362 if (v->next) {
1363#ifdef METH_NOARGS
1364 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next);
1365#else
1366 PyObject *nrep = PySwigObject_repr((PySwigObject *)v->next, args);
1367#endif
1368 PyString_ConcatAndDel(&repr,nrep);
1369 }
1370 return repr;
1371}
1372
1373SWIGRUNTIME int
1374PySwigObject_print(PySwigObject *v, FILE *fp, int SWIGUNUSEDPARM(flags))
1375{
1376#ifdef METH_NOARGS
1377 PyObject *repr = PySwigObject_repr(v);
1378#else
1379 PyObject *repr = PySwigObject_repr(v, NULL);
1380#endif
1381 if (repr) {
1382 fputs(PyString_AsString(repr), fp);
1383 Py_DECREF(repr);
1384 return 0;
1385 } else {
1386 return 1;
1387 }
1388}
1389
1390SWIGRUNTIME PyObject *
1391PySwigObject_str(PySwigObject *v)
1392{
1393 char result[SWIG_BUFFER_SIZE];
1394 return SWIG_PackVoidPtr(result, v->ptr, v->ty->name, sizeof(result)) ?
1395 PyString_FromString(result) : 0;
1396}
1397
1398SWIGRUNTIME int
1399PySwigObject_compare(PySwigObject *v, PySwigObject *w)
1400{
1401 void *i = v->ptr;
1402 void *j = w->ptr;
1403 return (i < j) ? -1 : ((i > j) ? 1 : 0);
1404}
1405
1406SWIGRUNTIME PyTypeObject* _PySwigObject_type(void);
1407
1408SWIGRUNTIME PyTypeObject*
1409PySwigObject_type(void) {
1410 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigObject_type();
1411 return type;
1412}
1413
1414SWIGRUNTIMEINLINE int
1415PySwigObject_Check(PyObject *op) {
1416 return ((op)->ob_type == PySwigObject_type())
1417 || (strcmp((op)->ob_type->tp_name,"PySwigObject") == 0);
1418}
1419
1420SWIGRUNTIME PyObject *
1421PySwigObject_New(void *ptr, swig_type_info *ty, int own);
1422
1423SWIGRUNTIME void
1424PySwigObject_dealloc(PyObject *v)
1425{
1426 PySwigObject *sobj = (PySwigObject *) v;
1427 PyObject *next = sobj->next;
1428 if (sobj->own) {
1429 swig_type_info *ty = sobj->ty;
1430 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
1431 PyObject *destroy = data ? data->destroy : 0;
1432 if (destroy) {
1433 /* destroy is always a VARARGS method */
1434 PyObject *res;
1435 if (data->delargs) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject *tmp = PySwigObject_New(sobj->ptr, ty, 0);
1438 res = SWIG_Python_CallFunctor(destroy, tmp);
1439 Py_DECREF(tmp);
1440 } else {
1441 PyCFunction meth = PyCFunction_GET_FUNCTION(destroy);
1442 PyObject *mself = PyCFunction_GET_SELF(destroy);
1443 res = ((*meth)(mself, v));
1444 }
1445 Py_XDECREF(res);
1446 } else {
1447 const char *name = SWIG_TypePrettyName(ty);
1448#if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
1450#endif
1451 }
1452 }
1453 Py_XDECREF(next);
1454 PyObject_DEL(v);
1455}
1456
1457SWIGRUNTIME PyObject*
1458PySwigObject_append(PyObject* v, PyObject* next)
1459{
1460 PySwigObject *sobj = (PySwigObject *) v;
1461#ifndef METH_O
1462 PyObject *tmp = 0;
1463 if (!PyArg_ParseTuple(next,(char *)"O:append", &tmp)) return NULL;
1464 next = tmp;
1465#endif
1466 if (!PySwigObject_Check(next)) {
1467 return NULL;
1468 }
1469 sobj->next = next;
1470 Py_INCREF(next);
1471 return SWIG_Py_Void();
1472}
1473
1474SWIGRUNTIME PyObject*
1475#ifdef METH_NOARGS
1476PySwigObject_next(PyObject* v)
1477#else
1478PySwigObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1479#endif
1480{
1481 PySwigObject *sobj = (PySwigObject *) v;
1482 if (sobj->next) {
1483 Py_INCREF(sobj->next);
1484 return sobj->next;
1485 } else {
1486 return SWIG_Py_Void();
1487 }
1488}
1489
1490SWIGINTERN PyObject*
1491#ifdef METH_NOARGS
1492PySwigObject_disown(PyObject *v)
1493#else
1494PySwigObject_disown(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1495#endif
1496{
1497 PySwigObject *sobj = (PySwigObject *)v;
1498 sobj->own = 0;
1499 return SWIG_Py_Void();
1500}
1501
1502SWIGINTERN PyObject*
1503#ifdef METH_NOARGS
1504PySwigObject_acquire(PyObject *v)
1505#else
1506PySwigObject_acquire(PyObject* v, PyObject *SWIGUNUSEDPARM(args))
1507#endif
1508{
1509 PySwigObject *sobj = (PySwigObject *)v;
1510 sobj->own = SWIG_POINTER_OWN;
1511 return SWIG_Py_Void();
1512}
1513
1514SWIGINTERN PyObject*
1515PySwigObject_own(PyObject *v, PyObject *args)
1516{
1517 PyObject *val = 0;
1518#if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args,(char *)"|O:own",&val))
1520#else
1521 if (!PyArg_UnpackTuple(args, (char *)"own", 0, 1, &val))
1522#endif
1523 {
1524 return NULL;
1525 }
1526 else
1527 {
1528 PySwigObject *sobj = (PySwigObject *)v;
1529 PyObject *obj = PyBool_FromLong(sobj->own);
1530 if (val) {
1531#ifdef METH_NOARGS
1532 if (PyObject_IsTrue(val)) {
1533 PySwigObject_acquire(v);
1534 } else {
1535 PySwigObject_disown(v);
1536 }
1537#else
1538 if (PyObject_IsTrue(val)) {
1539 PySwigObject_acquire(v,args);
1540 } else {
1541 PySwigObject_disown(v,args);
1542 }
1543#endif
1544 }
1545 return obj;
1546 }
1547}
1548
1549#ifdef METH_O
1550static PyMethodDef
1551swigobject_methods[] = {
1552 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_NOARGS, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_NOARGS, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction)PySwigObject_append, METH_O, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction)PySwigObject_next, METH_NOARGS, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_NOARGS, (char *)"returns object representation"},
1558 {0, 0, 0, 0}
1559};
1560#else
1561static PyMethodDef
1562swigobject_methods[] = {
1563 {(char *)"disown", (PyCFunction)PySwigObject_disown, METH_VARARGS, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction)PySwigObject_acquire, METH_VARARGS, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction)PySwigObject_own, METH_VARARGS, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction)PySwigObject_append, METH_VARARGS, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction)PySwigObject_next, METH_VARARGS, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction)PySwigObject_repr, METH_VARARGS, (char *)"returns object representation"},
1569 {0, 0, 0, 0}
1570};
1571#endif
1572
1573#if PY_VERSION_HEX < 0x02020000
1574SWIGINTERN PyObject *
1575PySwigObject_getattr(PySwigObject *sobj,char *name)
1576{
1577 return Py_FindMethod(swigobject_methods, (PyObject *)sobj, name);
1578}
1579#endif
1580
1581SWIGRUNTIME PyTypeObject*
1582_PySwigObject_type(void) {
1583 static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer";
1584
1585 static PyNumberMethods PySwigObject_as_number = {
1586 (binaryfunc)0, /*nb_add*/
1587 (binaryfunc)0, /*nb_subtract*/
1588 (binaryfunc)0, /*nb_multiply*/
1589 (binaryfunc)0, /*nb_divide*/
1590 (binaryfunc)0, /*nb_remainder*/
3004cfd8
RD
1591 (binaryfunc)0, /*nb_divmod*/
1592 (ternaryfunc)0,/*nb_power*/
1593 (unaryfunc)0, /*nb_negative*/
1594 (unaryfunc)0, /*nb_positive*/
1595 (unaryfunc)0, /*nb_absolute*/
1596 (inquiry)0, /*nb_nonzero*/
1597 0, /*nb_invert*/
1598 0, /*nb_lshift*/
1599 0, /*nb_rshift*/
1600 0, /*nb_and*/
1601 0, /*nb_xor*/
1602 0, /*nb_or*/
1603 (coercion)0, /*nb_coerce*/
1604 (unaryfunc)PySwigObject_long, /*nb_int*/
1605 (unaryfunc)PySwigObject_long, /*nb_long*/
1606 (unaryfunc)0, /*nb_float*/
1607 (unaryfunc)PySwigObject_oct, /*nb_oct*/
1608 (unaryfunc)PySwigObject_hex, /*nb_hex*/
32fe5131 1609#if PY_VERSION_HEX >= 0x02020000
3004cfd8 1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
32fe5131
RD
1611#elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
3004cfd8
RD
1613#endif
1614 };
1615
0085ce49 1616 static PyTypeObject pyswigobject_type;
32fe5131 1617 static int type_init = 0;
3004cfd8 1618 if (!type_init) {
0085ce49
RD
1619 const PyTypeObject tmp
1620 = {
1621 PyObject_HEAD_INIT(NULL)
1622 0, /* ob_size */
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor)PySwigObject_dealloc, /* tp_dealloc */
1627 (printfunc)PySwigObject_print, /* tp_print */
1628#if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc)PySwigObject_getattr, /* tp_getattr */
1630#else
1631 (getattrfunc)0, /* tp_getattr */
3004cfd8 1632#endif
0085ce49
RD
1633 (setattrfunc)0, /* tp_setattr */
1634 (cmpfunc)PySwigObject_compare, /* tp_compare */
1635 (reprfunc)PySwigObject_repr, /* tp_repr */
1636 &PySwigObject_as_number, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc)0, /* tp_hash */
1640 (ternaryfunc)0, /* tp_call */
1641 (reprfunc)PySwigObject_str, /* tp_str */
1642 PyObject_GenericGetAttr, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT, /* tp_flags */
1646 swigobject_doc, /* tp_doc */
1647 0, /* tp_traverse */
1648 0, /* tp_clear */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
3004cfd8 1651#if PY_VERSION_HEX >= 0x02020000
0085ce49
RD
1652 0, /* tp_iter */
1653 0, /* tp_iternext */
1654 swigobject_methods, /* tp_methods */
1655 0, /* tp_members */
1656 0, /* tp_getset */
1657 0, /* tp_base */
1658 0, /* tp_dict */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1662 0, /* tp_init */
1663 0, /* tp_alloc */
1664 0, /* tp_new */
1665 0, /* tp_free */
1666 0, /* tp_is_gc */
1667 0, /* tp_bases */
1668 0, /* tp_mro */
1669 0, /* tp_cache */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
3004cfd8
RD
1672#endif
1673#if PY_VERSION_HEX >= 0x02030000
0085ce49 1674 0, /* tp_del */
3004cfd8
RD
1675#endif
1676#ifdef COUNT_ALLOCS
0085ce49 1677 0,0,0,0 /* tp_alloc -> tp_next */
44127b65 1678#endif
0085ce49 1679 };
32fe5131 1680 pyswigobject_type = tmp;
0085ce49 1681 pyswigobject_type.ob_type = &PyType_Type;
3004cfd8
RD
1682 type_init = 1;
1683 }
32fe5131 1684 return &pyswigobject_type;
3004cfd8 1685}
c32bde28 1686
3004cfd8 1687SWIGRUNTIME PyObject *
0085ce49 1688PySwigObject_New(void *ptr, swig_type_info *ty, int own)
3004cfd8 1689{
0085ce49
RD
1690 PySwigObject *sobj = PyObject_NEW(PySwigObject, PySwigObject_type());
1691 if (sobj) {
1692 sobj->ptr = ptr;
1693 sobj->ty = ty;
1694 sobj->own = own;
1695 sobj->next = 0;
32fe5131 1696 }
0085ce49 1697 return (PyObject *)sobj;
3004cfd8 1698}
44127b65 1699
3004cfd8
RD
1700/* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
44127b65 1703
3004cfd8
RD
1704typedef struct {
1705 PyObject_HEAD
1706 void *pack;
0085ce49 1707 swig_type_info *ty;
3004cfd8
RD
1708 size_t size;
1709} PySwigPacked;
44127b65 1710
3004cfd8 1711SWIGRUNTIME int
0085ce49 1712PySwigPacked_print(PySwigPacked *v, FILE *fp, int SWIGUNUSEDPARM(flags))
3004cfd8
RD
1713{
1714 char result[SWIG_BUFFER_SIZE];
1715 fputs("<Swig Packed ", fp);
1716 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
1717 fputs("at ", fp);
1718 fputs(result, fp);
1719 }
0085ce49 1720 fputs(v->ty->name,fp);
3004cfd8
RD
1721 fputs(">", fp);
1722 return 0;
1723}
1724
1725SWIGRUNTIME PyObject *
1726PySwigPacked_repr(PySwigPacked *v)
1727{
1728 char result[SWIG_BUFFER_SIZE];
1729 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))) {
0085ce49 1730 return PyString_FromFormat("<Swig Packed at %s%s>", result, v->ty->name);
3004cfd8 1731 } else {
0085ce49 1732 return PyString_FromFormat("<Swig Packed %s>", v->ty->name);
3004cfd8
RD
1733 }
1734}
c32bde28 1735
3004cfd8
RD
1736SWIGRUNTIME PyObject *
1737PySwigPacked_str(PySwigPacked *v)
1738{
1739 char result[SWIG_BUFFER_SIZE];
1740 if (SWIG_PackDataName(result, v->pack, v->size, 0, sizeof(result))){
0085ce49 1741 return PyString_FromFormat("%s%s", result, v->ty->name);
3004cfd8 1742 } else {
0085ce49 1743 return PyString_FromString(v->ty->name);
3004cfd8
RD
1744 }
1745}
1746
1747SWIGRUNTIME int
1748PySwigPacked_compare(PySwigPacked *v, PySwigPacked *w)
1749{
0085ce49
RD
1750 size_t i = v->size;
1751 size_t j = w->size;
1752 int s = (i < j) ? -1 : ((i > j) ? 1 : 0);
1753 return s ? s : strncmp((char *)v->pack, (char *)w->pack, 2*v->size);
3004cfd8
RD
1754}
1755
0085ce49 1756SWIGRUNTIME PyTypeObject* _PySwigPacked_type(void);
3004cfd8
RD
1757
1758SWIGRUNTIME PyTypeObject*
32fe5131 1759PySwigPacked_type(void) {
0085ce49
RD
1760 static PyTypeObject *SWIG_STATIC_POINTER(type) = _PySwigPacked_type();
1761 return type;
1762}
1763
1764SWIGRUNTIMEINLINE int
1765PySwigPacked_Check(PyObject *op) {
1766 return ((op)->ob_type == _PySwigPacked_type())
1767 || (strcmp((op)->ob_type->tp_name,"PySwigPacked") == 0);
1768}
1769
1770SWIGRUNTIME void
1771PySwigPacked_dealloc(PyObject *v)
1772{
1773 if (PySwigPacked_Check(v)) {
1774 PySwigPacked *sobj = (PySwigPacked *) v;
1775 free(sobj->pack);
1776 }
1777 PyObject_DEL(v);
1778}
1779
1780SWIGRUNTIME PyTypeObject*
1781_PySwigPacked_type(void) {
1782 static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type;
1784 static int type_init = 0;
1785 if (!type_init) {
1786 const PyTypeObject tmp
1787 = {
1788 PyObject_HEAD_INIT(NULL)
1789 0, /* ob_size */
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor)PySwigPacked_dealloc, /* tp_dealloc */
1794 (printfunc)PySwigPacked_print, /* tp_print */
1795 (getattrfunc)0, /* tp_getattr */
1796 (setattrfunc)0, /* tp_setattr */
1797 (cmpfunc)PySwigPacked_compare, /* tp_compare */
1798 (reprfunc)PySwigPacked_repr, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc)0, /* tp_hash */
1803 (ternaryfunc)0, /* tp_call */
1804 (reprfunc)PySwigPacked_str, /* tp_str */
1805 PyObject_GenericGetAttr, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT, /* tp_flags */
1809 swigpacked_doc, /* tp_doc */
1810 0, /* tp_traverse */
1811 0, /* tp_clear */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814#if PY_VERSION_HEX >= 0x02020000
1815 0, /* tp_iter */
1816 0, /* tp_iternext */
1817 0, /* tp_methods */
1818 0, /* tp_members */
1819 0, /* tp_getset */
1820 0, /* tp_base */
1821 0, /* tp_dict */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1825 0, /* tp_init */
1826 0, /* tp_alloc */
1827 0, /* tp_new */
1828 0, /* tp_free */
1829 0, /* tp_is_gc */
1830 0, /* tp_bases */
1831 0, /* tp_mro */
1832 0, /* tp_cache */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
3004cfd8
RD
1835#endif
1836#if PY_VERSION_HEX >= 0x02030000
0085ce49 1837 0, /* tp_del */
3004cfd8
RD
1838#endif
1839#ifdef COUNT_ALLOCS
0085ce49 1840 0,0,0,0 /* tp_alloc -> tp_next */
3004cfd8 1841#endif
0085ce49 1842 };
32fe5131 1843 pyswigpacked_type = tmp;
0085ce49 1844 pyswigpacked_type.ob_type = &PyType_Type;
3004cfd8
RD
1845 type_init = 1;
1846 }
32fe5131 1847 return &pyswigpacked_type;
3004cfd8
RD
1848}
1849
1850SWIGRUNTIME PyObject *
0085ce49 1851PySwigPacked_New(void *ptr, size_t size, swig_type_info *ty)
3004cfd8 1852{
0085ce49
RD
1853 PySwigPacked *sobj = PyObject_NEW(PySwigPacked, PySwigPacked_type());
1854 if (sobj) {
3004cfd8 1855 void *pack = malloc(size);
32fe5131
RD
1856 if (pack) {
1857 memcpy(pack, ptr, size);
0085ce49
RD
1858 sobj->pack = pack;
1859 sobj->ty = ty;
1860 sobj->size = size;
1861 } else {
1862 PyObject_DEL((PyObject *) sobj);
1863 sobj = 0;
32fe5131 1864 }
3004cfd8 1865 }
0085ce49 1866 return (PyObject *) sobj;
3004cfd8
RD
1867}
1868
0085ce49 1869SWIGRUNTIME swig_type_info *
3004cfd8
RD
1870PySwigPacked_UnpackData(PyObject *obj, void *ptr, size_t size)
1871{
0085ce49
RD
1872 if (PySwigPacked_Check(obj)) {
1873 PySwigPacked *sobj = (PySwigPacked *)obj;
1874 if (sobj->size != size) return 0;
1875 memcpy(ptr, sobj->pack, size);
1876 return sobj->ty;
1877 } else {
1878 return 0;
1879 }
3004cfd8
RD
1880}
1881
3004cfd8 1882/* -----------------------------------------------------------------------------
0085ce49 1883 * pointers/data manipulation
3004cfd8
RD
1884 * ----------------------------------------------------------------------------- */
1885
0085ce49
RD
1886SWIGRUNTIMEINLINE PyObject *
1887_SWIG_This(void)
1888{
1889 return PyString_FromString("this");
1890}
3004cfd8 1891
0085ce49
RD
1892SWIGRUNTIME PyObject *
1893SWIG_This(void)
1894{
1895 static PyObject *SWIG_STATIC_POINTER(swig_this) = _SWIG_This();
1896 return swig_this;
1897}
3004cfd8 1898
0085ce49 1899/* #define SWIG_PYTHON_SLOW_GETSET_THIS */
3004cfd8 1900
0085ce49
RD
1901SWIGRUNTIME PySwigObject *
1902SWIG_Python_GetSwigThis(PyObject *pyobj)
3004cfd8 1903{
0085ce49
RD
1904 if (PySwigObject_Check(pyobj)) {
1905 return (PySwigObject *) pyobj;
1906 } else {
1907 PyObject *obj = 0;
1908#if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj)) {
1910 obj = _PyInstance_Lookup(pyobj, SWIG_This());
1911 } else {
1912 PyObject **dictptr = _PyObject_GetDictPtr(pyobj);
1913 if (dictptr != NULL) {
1914 PyObject *dict = *dictptr;
1915 obj = dict ? PyDict_GetItem(dict, SWIG_This()) : 0;
1916 } else {
1917#ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj)) {
1919 PyObject *wobj = PyWeakref_GET_OBJECT(pyobj);
1920 return wobj ? SWIG_Python_GetSwigThis(wobj) : 0;
1921 }
1922#endif
1923 obj = PyObject_GetAttr(pyobj,SWIG_This());
1924 if (obj) {
1925 Py_DECREF(obj);
3004cfd8 1926 } else {
0085ce49
RD
1927 if (PyErr_Occurred()) PyErr_Clear();
1928 return 0;
3004cfd8 1929 }
3004cfd8 1930 }
0085ce49
RD
1931 }
1932#else
1933 obj = PyObject_GetAttr(pyobj,SWIG_This());
1934 if (obj) {
1935 Py_DECREF(obj);
1936 } else {
1937 if (PyErr_Occurred()) PyErr_Clear();
1938 return 0;
1939 }
1940#endif
1941 if (obj && !PySwigObject_Check(obj)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj);
1945 }
1946 return (PySwigObject *)obj;
3004cfd8
RD
1947 }
1948}
1949
0085ce49
RD
1950/* Acquire a pointer value */
1951
1952SWIGRUNTIME int
1953SWIG_Python_AcquirePtr(PyObject *obj, int own) {
1954 if (own) {
1955 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1956 if (sobj) {
1957 int oldown = sobj->own;
1958 sobj->own = own;
1959 return oldown;
1960 }
3004cfd8 1961 }
0085ce49 1962 return 0;
3004cfd8
RD
1963}
1964
0085ce49
RD
1965/* Convert a pointer value */
1966
3004cfd8 1967SWIGRUNTIME int
0085ce49
RD
1968SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int flags, int *own) {
1969 if (!obj) return SWIG_ERROR;
1970 if (obj == Py_None) {
1971 if (ptr) *ptr = 0;
1972 return SWIG_OK;
1973 } else {
1974 PySwigObject *sobj = SWIG_Python_GetSwigThis(obj);
1975 while (sobj) {
1976 void *vptr = sobj->ptr;
1977 if (ty) {
1978 swig_type_info *to = sobj->ty;
1979 if (to == ty) {
1980 /* no type cast needed */
1981 if (ptr) *ptr = vptr;
1982 break;
1983 } else {
1984 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
1985 if (!tc) {
1986 sobj = (PySwigObject *)sobj->next;
1987 } else {
1988 if (ptr) *ptr = SWIG_TypeCast(tc,vptr);
1989 break;
1990 }
1991 }
3004cfd8 1992 } else {
0085ce49
RD
1993 if (ptr) *ptr = vptr;
1994 break;
3004cfd8 1995 }
3004cfd8 1996 }
0085ce49
RD
1997 if (sobj) {
1998 if (own) *own = sobj->own;
1999 if (flags & SWIG_POINTER_DISOWN) {
2000 sobj->own = 0;
2001 }
2002 return SWIG_OK;
2003 } else {
2004 int res = SWIG_ERROR;
2005 if (flags & SWIG_POINTER_IMPLICIT_CONV) {
2006 PySwigClientData *data = ty ? (PySwigClientData *) ty->clientdata : 0;
2007 if (data && !data->implicitconv) {
2008 PyObject *klass = data->klass;
2009 if (klass) {
2010 PyObject *impconv;
2011 data->implicitconv = 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv = SWIG_Python_CallFunctor(klass, obj);
2013 data->implicitconv = 0;
2014 if (PyErr_Occurred()) {
2015 PyErr_Clear();
2016 impconv = 0;
2017 }
2018 if (impconv) {
2019 PySwigObject *iobj = SWIG_Python_GetSwigThis(impconv);
2020 if (iobj) {
2021 void *vptr;
2022 res = SWIG_Python_ConvertPtrAndOwn((PyObject*)iobj, &vptr, ty, 0, 0);
2023 if (SWIG_IsOK(res)) {
2024 if (ptr) {
2025 *ptr = vptr;
2026 /* transfer the ownership to 'ptr' */
2027 iobj->own = 0;
2028 res = SWIG_AddCast(res);
2029 res = SWIG_AddNewMask(res);
2030 } else {
2031 res = SWIG_AddCast(res);
2032 }
2033 }
2034 }
2035 Py_DECREF(impconv);
2036 }
2037 }
2038 }
2039 }
2040 return res;
2041 }
3004cfd8
RD
2042 }
2043}
2044
0085ce49
RD
2045/* Convert a function ptr value */
2046
3004cfd8 2047SWIGRUNTIME int
0085ce49
RD
2048SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) {
2049 if (!PyCFunction_Check(obj)) {
2050 return SWIG_ConvertPtr(obj, ptr, ty, 0);
3004cfd8 2051 } else {
0085ce49
RD
2052 void *vptr = 0;
2053
2054 /* here we get the method pointer for callbacks */
d1a49b78 2055 const char *doc = (((PyCFunctionObject *)obj) -> m_ml -> ml_doc);
0085ce49
RD
2056 const char *desc = doc ? strstr(doc, "swig_ptr: ") : 0;
2057 if (desc) {
2058 desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0;
2059 if (!desc) return SWIG_ERROR;
2060 }
2061 if (ty) {
2062 swig_cast_info *tc = SWIG_TypeCheck(desc,ty);
2063 if (!tc) return SWIG_ERROR;
2064 *ptr = SWIG_TypeCast(tc,vptr);
2065 } else {
2066 *ptr = vptr;
2067 }
2068 return SWIG_OK;
3004cfd8
RD
2069 }
2070}
2071
0085ce49 2072/* Convert a packed value value */
3004cfd8 2073
3004cfd8 2074SWIGRUNTIME int
0085ce49
RD
2075SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
2076 swig_type_info *to = PySwigPacked_UnpackData(obj, ptr, sz);
2077 if (!to) return SWIG_ERROR;
2078 if (ty) {
2079 if (to != ty) {
2080 /* check type cast? */
2081 swig_cast_info *tc = SWIG_TypeCheck(to->name,ty);
2082 if (!tc) return SWIG_ERROR;
2083 }
3004cfd8 2084 }
0085ce49
RD
2085 return SWIG_OK;
2086}
3004cfd8 2087
0085ce49
RD
2088/* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
3004cfd8 2091
0085ce49
RD
2092/*
2093 Create a new instance object, whitout calling __init__, and set the
2094 'this' attribute.
2095*/
3004cfd8 2096
0085ce49
RD
2097SWIGRUNTIME PyObject*
2098SWIG_Python_NewShadowInstance(PySwigClientData *data, PyObject *swig_this)
2099{
2100#if (PY_VERSION_HEX >= 0x02020000)
2101 PyObject *inst = 0;
2102 PyObject *newraw = data->newraw;
2103 if (newraw) {
2104 inst = PyObject_Call(newraw, data->newargs, NULL);
2105 if (inst) {
2106#if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2108 if (dictptr != NULL) {
2109 PyObject *dict = *dictptr;
2110 if (dict == NULL) {
2111 dict = PyDict_New();
2112 *dictptr = dict;
2113 PyDict_SetItem(dict, SWIG_This(), swig_this);
2114 }
3004cfd8 2115 }
0085ce49
RD
2116#else
2117 PyObject *key = SWIG_This();
2118 PyObject_SetAttr(inst, key, swig_this);
2119#endif
3004cfd8 2120 }
0085ce49
RD
2121 } else {
2122 PyObject *dict = PyDict_New();
2123 PyDict_SetItem(dict, SWIG_This(), swig_this);
2124 inst = PyInstance_NewRaw(data->newargs, dict);
2125 Py_DECREF(dict);
3004cfd8 2126 }
0085ce49
RD
2127 return inst;
2128#else
2129#if (PY_VERSION_HEX >= 0x02010000)
2130 PyObject *inst;
2131 PyObject *dict = PyDict_New();
2132 PyDict_SetItem(dict, SWIG_This(), swig_this);
2133 inst = PyInstance_NewRaw(data->newargs, dict);
2134 Py_DECREF(dict);
2135 return (PyObject *) inst;
2136#else
2137 PyInstanceObject *inst = PyObject_NEW(PyInstanceObject, &PyInstance_Type);
2138 if (inst == NULL) {
2139 return NULL;
3004cfd8 2140 }
0085ce49
RD
2141 inst->in_class = (PyClassObject *)data->newargs;
2142 Py_INCREF(inst->in_class);
2143 inst->in_dict = PyDict_New();
2144 if (inst->in_dict == NULL) {
2145 Py_DECREF(inst);
2146 return NULL;
3004cfd8 2147 }
0085ce49
RD
2148#ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst->in_weakreflist = NULL;
2150#endif
2151#ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst);
2153#endif
2154 PyDict_SetItem(inst->in_dict, SWIG_This(), swig_this);
2155 return (PyObject *) inst;
2156#endif
2157#endif
3004cfd8
RD
2158}
2159
0085ce49
RD
2160SWIGRUNTIME void
2161SWIG_Python_SetSwigThis(PyObject *inst, PyObject *swig_this)
2162{
2163 PyObject *dict;
2164#if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject **dictptr = _PyObject_GetDictPtr(inst);
2166 if (dictptr != NULL) {
2167 dict = *dictptr;
2168 if (dict == NULL) {
2169 dict = PyDict_New();
2170 *dictptr = dict;
2171 }
2172 PyDict_SetItem(dict, SWIG_This(), swig_this);
2173 return;
2174 }
3004cfd8 2175#endif
0085ce49
RD
2176 dict = PyObject_GetAttrString(inst, "__dict__");
2177 PyDict_SetItem(dict, SWIG_This(), swig_this);
2178 Py_DECREF(dict);
2179}
3004cfd8 2180
0085ce49
RD
2181
2182SWIGINTERN PyObject *
2183SWIG_Python_InitShadowInstance(PyObject *args) {
2184 PyObject *obj[2];
2185 if (!SWIG_Python_UnpackTuple(args,(char*)"swiginit", 2, 2, obj)) {
2186 return NULL;
2187 } else {
2188 PySwigObject *sthis = SWIG_Python_GetSwigThis(obj[0]);
2189 if (sthis) {
2190 PySwigObject_append((PyObject*) sthis, obj[1]);
3004cfd8 2191 } else {
0085ce49 2192 SWIG_Python_SetSwigThis(obj[0], obj[1]);
3004cfd8 2193 }
0085ce49 2194 return SWIG_Py_Void();
3004cfd8 2195 }
0085ce49
RD
2196}
2197
2198/* Create a new pointer object */
3004cfd8 2199
3004cfd8 2200SWIGRUNTIME PyObject *
0085ce49 2201SWIG_Python_NewPointerObj(void *ptr, swig_type_info *type, int flags) {
3004cfd8 2202 if (!ptr) {
0085ce49
RD
2203 return SWIG_Py_Void();
2204 } else {
2205 int own = (flags & SWIG_POINTER_OWN) ? SWIG_POINTER_OWN : 0;
2206 PyObject *robj = PySwigObject_New(ptr, type, own);
2207 PySwigClientData *clientdata = type ? (PySwigClientData *)(type->clientdata) : 0;
2208 if (clientdata && !(flags & SWIG_POINTER_NOSHADOW)) {
2209 PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj);
2210 if (inst) {
2211 Py_DECREF(robj);
2212 robj = inst;
3004cfd8 2213 }
3004cfd8 2214 }
0085ce49 2215 return robj;
3004cfd8 2216 }
3004cfd8
RD
2217}
2218
0085ce49
RD
2219/* Create a new packed object */
2220
2221SWIGRUNTIMEINLINE PyObject *
3004cfd8 2222SWIG_Python_NewPackedObj(void *ptr, size_t sz, swig_type_info *type) {
0085ce49 2223 return ptr ? PySwigPacked_New((void *) ptr, sz, type) : SWIG_Py_Void();
3004cfd8
RD
2224}
2225
2226/* -----------------------------------------------------------------------------*
2227 * Get type list
2228 * -----------------------------------------------------------------------------*/
2229
2230#ifdef SWIG_LINK_RUNTIME
2231void *SWIG_ReturnGlobalTypeList(void *);
2232#endif
2233
32fe5131
RD
2234SWIGRUNTIME swig_module_info *
2235SWIG_Python_GetModule(void) {
3004cfd8
RD
2236 static void *type_pointer = (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer) {
2239#ifdef SWIG_LINK_RUNTIME
2240 type_pointer = SWIG_ReturnGlobalTypeList((void *)0);
2241#else
2242 type_pointer = PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME);
2244 if (PyErr_Occurred()) {
2245 PyErr_Clear();
2246 type_pointer = (void *)0;
2247 }
3004cfd8 2248#endif
32fe5131
RD
2249 }
2250 return (swig_module_info *) type_pointer;
3004cfd8
RD
2251}
2252
32fe5131
RD
2253#if PY_MAJOR_VERSION < 2
2254/* PyModule_AddObject function was introduced in Python 2.0. The following function
0085ce49 2255 is copied out of Python/modsupport.c in python version 2.3.4 */
32fe5131
RD
2256SWIGINTERN int
2257PyModule_AddObject(PyObject *m, char *name, PyObject *o)
2258{
2259 PyObject *dict;
2260 if (!PyModule_Check(m)) {
2261 PyErr_SetString(PyExc_TypeError,
2262 "PyModule_AddObject() needs module as first arg");
0085ce49 2263 return SWIG_ERROR;
32fe5131
RD
2264 }
2265 if (!o) {
2266 PyErr_SetString(PyExc_TypeError,
2267 "PyModule_AddObject() needs non-NULL value");
0085ce49 2268 return SWIG_ERROR;
32fe5131
RD
2269 }
2270
2271 dict = PyModule_GetDict(m);
2272 if (dict == NULL) {
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError, "module '%s' has no __dict__",
2275 PyModule_GetName(m));
0085ce49 2276 return SWIG_ERROR;
32fe5131
RD
2277 }
2278 if (PyDict_SetItemString(dict, name, o))
0085ce49 2279 return SWIG_ERROR;
32fe5131 2280 Py_DECREF(o);
0085ce49 2281 return SWIG_OK;
3004cfd8 2282}
32fe5131 2283#endif
3004cfd8 2284
0085ce49
RD
2285SWIGRUNTIME void
2286SWIG_Python_DestroyModule(void *vptr)
2287{
2288 swig_module_info *swig_module = (swig_module_info *) vptr;
2289 swig_type_info **types = swig_module->types;
2290 size_t i;
2291 for (i =0; i < swig_module->size; ++i) {
2292 swig_type_info *ty = types[i];
2293 if (ty->owndata) {
2294 PySwigClientData *data = (PySwigClientData *) ty->clientdata;
2295 if (data) PySwigClientData_Del(data);
2296 }
2297 }
2298 Py_DECREF(SWIG_This());
2299}
2300
32fe5131
RD
2301SWIGRUNTIME void
2302SWIG_Python_SetModule(swig_module_info *swig_module) {
2303 static PyMethodDef swig_empty_runtime_method_table[] = { {NULL, NULL, 0, NULL} };/* Sentinel */
2304
2305 PyObject *module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION,
2306 swig_empty_runtime_method_table);
0085ce49 2307 PyObject *pointer = PyCObject_FromVoidPtr((void *) swig_module, SWIG_Python_DestroyModule);
32fe5131
RD
2308 if (pointer && module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME, pointer);
0085ce49
RD
2310 } else {
2311 Py_XDECREF(pointer);
32fe5131
RD
2312 }
2313}
994141e6 2314
0085ce49
RD
2315/* The python cached type query */
2316SWIGRUNTIME PyObject *
2317SWIG_Python_TypeCache() {
2318 static PyObject *SWIG_STATIC_POINTER(cache) = PyDict_New();
2319 return cache;
3004cfd8 2320}
15afbcd0 2321
0085ce49
RD
2322SWIGRUNTIME swig_type_info *
2323SWIG_Python_TypeQuery(const char *type)
2324{
2325 PyObject *cache = SWIG_Python_TypeCache();
2326 PyObject *key = PyString_FromString(type);
2327 PyObject *obj = PyDict_GetItem(cache, key);
2328 swig_type_info *descriptor;
2329 if (obj) {
2330 descriptor = (swig_type_info *) PyCObject_AsVoidPtr(obj);
2331 } else {
2332 swig_module_info *swig_module = SWIG_Python_GetModule();
2333 descriptor = SWIG_TypeQueryModule(swig_module, swig_module, type);
2334 if (descriptor) {
2335 obj = PyCObject_FromVoidPtr(descriptor, NULL);
2336 PyDict_SetItem(cache, key, obj);
2337 Py_DECREF(obj);
2338 }
2339 }
2340 Py_DECREF(key);
2341 return descriptor;
2342}
2343
2344/*
2345 For backward compatibility only
2346*/
2347#define SWIG_POINTER_EXCEPTION 0
2348#define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349#define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2350
2351SWIGRUNTIME int
2352SWIG_Python_AddErrMesg(const char* mesg, int infront)
2353{
2354 if (PyErr_Occurred()) {
2355 PyObject *type = 0;
2356 PyObject *value = 0;
2357 PyObject *traceback = 0;
2358 PyErr_Fetch(&type, &value, &traceback);
2359 if (value) {
2360 PyObject *old_str = PyObject_Str(value);
2361 Py_XINCREF(type);
2362 PyErr_Clear();
2363 if (infront) {
2364 PyErr_Format(type, "%s %s", mesg, PyString_AsString(old_str));
2365 } else {
2366 PyErr_Format(type, "%s %s", PyString_AsString(old_str), mesg);
2367 }
2368 Py_DECREF(old_str);
2369 }
2370 return 1;
2371 } else {
2372 return 0;
2373 }
2374}
2375
2376SWIGRUNTIME int
2377SWIG_Python_ArgFail(int argnum)
2378{
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2381 char mesg[256];
2382 PyOS_snprintf(mesg, sizeof(mesg), "argument number %d:", argnum);
2383 return SWIG_Python_AddErrMesg(mesg, 1);
2384 } else {
2385 return 0;
2386 }
2387}
2388
2389SWIGRUNTIMEINLINE const char *
2390PySwigObject_GetDesc(PyObject *self)
2391{
2392 PySwigObject *v = (PySwigObject *)self;
2393 swig_type_info *ty = v ? v->ty : 0;
2394 return ty ? ty->str : (char*)"";
2395}
2396
2397SWIGRUNTIME void
2398SWIG_Python_TypeError(const char *type, PyObject *obj)
2399{
2400 if (type) {
2401#if defined(SWIG_COBJECT_TYPES)
2402 if (obj && PySwigObject_Check(obj)) {
2403 const char *otype = (const char *) PySwigObject_GetDesc(obj);
2404 if (otype) {
2405 PyErr_Format(PyExc_TypeError, "a '%s' is expected, 'PySwigObject(%s)' is received",
2406 type, otype);
2407 return;
2408 }
2409 } else
2410#endif
2411 {
2412 const char *otype = (obj ? obj->ob_type->tp_name : 0);
2413 if (otype) {
2414 PyObject *str = PyObject_Str(obj);
2415 const char *cstr = str ? PyString_AsString(str) : 0;
2416 if (cstr) {
2417 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s(%s)' is received",
2418 type, otype, cstr);
2419 } else {
2420 PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received",
2421 type, otype);
2422 }
2423 Py_XDECREF(str);
2424 return;
2425 }
2426 }
2427 PyErr_Format(PyExc_TypeError, "a '%s' is expected", type);
2428 } else {
2429 PyErr_Format(PyExc_TypeError, "unexpected type is received");
2430 }
2431}
2432
2433
2434/* Convert a pointer value, signal an exception on a type mismatch */
2435SWIGRUNTIME void *
2436SWIG_Python_MustGetPtr(PyObject *obj, swig_type_info *ty, int argnum, int flags) {
2437 void *result;
2438 if (SWIG_Python_ConvertPtr(obj, &result, ty, flags) == -1) {
2439 PyErr_Clear();
2440 if (flags & SWIG_POINTER_EXCEPTION) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty), obj);
2442 SWIG_Python_ArgFail(argnum);
2443 }
2444 }
2445 return result;
2446}
2447
2448
2449#ifdef __cplusplus
2450#if 0
2451{ /* cc-mode */
2452#endif
2453}
2454#endif
2455
2456
2457
2458#define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2459
2460#define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2461
2462
2463
2464/* -------- TYPES TABLE (BEGIN) -------- */
2465
2466#define SWIGTYPE_p_char swig_types[0]
2467#define SWIGTYPE_p_float swig_types[1]
32fe5131
RD
2468#define SWIGTYPE_p_form_ops_t swig_types[2]
2469#define SWIGTYPE_p_int swig_types[3]
2470#define SWIGTYPE_p_unsigned_char swig_types[4]
2471#define SWIGTYPE_p_unsigned_int swig_types[5]
2472#define SWIGTYPE_p_unsigned_long swig_types[6]
2473#define SWIGTYPE_p_wxANIHandler swig_types[7]
2474#define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475#define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476#define SWIGTYPE_p_wxArrayString swig_types[10]
2477#define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478#define SWIGTYPE_p_wxBitmap swig_types[12]
2479#define SWIGTYPE_p_wxBitmapButton swig_types[13]
2480#define SWIGTYPE_p_wxBookCtrlBase swig_types[14]
2481#define SWIGTYPE_p_wxBookCtrlBaseEvent swig_types[15]
2482#define SWIGTYPE_p_wxBoxSizer swig_types[16]
2483#define SWIGTYPE_p_wxButton swig_types[17]
2484#define SWIGTYPE_p_wxCURHandler swig_types[18]
2485#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[19]
2486#define SWIGTYPE_p_wxCheckBox swig_types[20]
2487#define SWIGTYPE_p_wxCheckListBox swig_types[21]
2488#define SWIGTYPE_p_wxChildFocusEvent swig_types[22]
2489#define SWIGTYPE_p_wxChoice swig_types[23]
2490#define SWIGTYPE_p_wxChoicebook swig_types[24]
2491#define SWIGTYPE_p_wxChoicebookEvent swig_types[25]
2131d850
RD
2492#define SWIGTYPE_p_wxClipboardTextEvent swig_types[26]
2493#define SWIGTYPE_p_wxCloseEvent swig_types[27]
2494#define SWIGTYPE_p_wxColour swig_types[28]
2495#define SWIGTYPE_p_wxColourData swig_types[29]
2496#define SWIGTYPE_p_wxColourDialog swig_types[30]
453fb36b
RD
2497#define SWIGTYPE_p_wxColourPickerCtrl swig_types[31]
2498#define SWIGTYPE_p_wxColourPickerEvent swig_types[32]
2499#define SWIGTYPE_p_wxComboBox swig_types[33]
2500#define SWIGTYPE_p_wxCommandEvent swig_types[34]
2501#define SWIGTYPE_p_wxContextHelp swig_types[35]
2502#define SWIGTYPE_p_wxContextHelpButton swig_types[36]
2503#define SWIGTYPE_p_wxContextMenuEvent swig_types[37]
2504#define SWIGTYPE_p_wxControl swig_types[38]
2505#define SWIGTYPE_p_wxControlWithItems swig_types[39]
2506#define SWIGTYPE_p_wxDateEvent swig_types[40]
2507#define SWIGTYPE_p_wxDatePickerCtrl swig_types[41]
2508#define SWIGTYPE_p_wxDialog swig_types[42]
2509#define SWIGTYPE_p_wxDirDialog swig_types[43]
2510#define SWIGTYPE_p_wxDirFilterListCtrl swig_types[44]
2511#define SWIGTYPE_p_wxDirPickerCtrl swig_types[45]
2512#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[46]
2513#define SWIGTYPE_p_wxDropFilesEvent swig_types[47]
2514#define SWIGTYPE_p_wxDuplexMode swig_types[48]
2515#define SWIGTYPE_p_wxDynamicSashSplitEvent swig_types[49]
2516#define SWIGTYPE_p_wxDynamicSashUnifyEvent swig_types[50]
2517#define SWIGTYPE_p_wxDynamicSashWindow swig_types[51]
2518#define SWIGTYPE_p_wxEditableListBox swig_types[52]
2519#define SWIGTYPE_p_wxEraseEvent swig_types[53]
2520#define SWIGTYPE_p_wxEvent swig_types[54]
2521#define SWIGTYPE_p_wxEvtHandler swig_types[55]
2522#define SWIGTYPE_p_wxFSFile swig_types[56]
2523#define SWIGTYPE_p_wxFileDialog swig_types[57]
2524#define SWIGTYPE_p_wxFileDirPickerEvent swig_types[58]
2525#define SWIGTYPE_p_wxFilePickerCtrl swig_types[59]
2526#define SWIGTYPE_p_wxFileSystem swig_types[60]
2527#define SWIGTYPE_p_wxFindDialogEvent swig_types[61]
2528#define SWIGTYPE_p_wxFindReplaceData swig_types[62]
2529#define SWIGTYPE_p_wxFindReplaceDialog swig_types[63]
2530#define SWIGTYPE_p_wxFlexGridSizer swig_types[64]
2531#define SWIGTYPE_p_wxFocusEvent swig_types[65]
2532#define SWIGTYPE_p_wxFont swig_types[66]
2533#define SWIGTYPE_p_wxFontData swig_types[67]
2534#define SWIGTYPE_p_wxFontDialog swig_types[68]
2535#define SWIGTYPE_p_wxFontPickerCtrl swig_types[69]
2536#define SWIGTYPE_p_wxFontPickerEvent swig_types[70]
2537#define SWIGTYPE_p_wxFrame swig_types[71]
2538#define SWIGTYPE_p_wxGBSizerItem swig_types[72]
2539#define SWIGTYPE_p_wxGIFHandler swig_types[73]
2540#define SWIGTYPE_p_wxGauge swig_types[74]
2541#define SWIGTYPE_p_wxGenericDirCtrl swig_types[75]
2542#define SWIGTYPE_p_wxGenericDragImage swig_types[76]
2543#define SWIGTYPE_p_wxGridBagSizer swig_types[77]
2544#define SWIGTYPE_p_wxGridSizer swig_types[78]
2545#define SWIGTYPE_p_wxHelpEvent swig_types[79]
2546#define SWIGTYPE_p_wxHyperlinkCtrl swig_types[80]
2547#define SWIGTYPE_p_wxHyperlinkEvent swig_types[81]
2548#define SWIGTYPE_p_wxICOHandler swig_types[82]
2549#define SWIGTYPE_p_wxIcon swig_types[83]
2550#define SWIGTYPE_p_wxIconizeEvent swig_types[84]
2551#define SWIGTYPE_p_wxIdleEvent swig_types[85]
2552#define SWIGTYPE_p_wxImage swig_types[86]
2553#define SWIGTYPE_p_wxImageHandler swig_types[87]
2554#define SWIGTYPE_p_wxImageList swig_types[88]
2555#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[89]
2556#define SWIGTYPE_p_wxInitDialogEvent swig_types[90]
2557#define SWIGTYPE_p_wxJPEGHandler swig_types[91]
2558#define SWIGTYPE_p_wxKeyEvent swig_types[92]
2559#define SWIGTYPE_p_wxLEDNumberCtrl swig_types[93]
2560#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[94]
2561#define SWIGTYPE_p_wxLayoutConstraints swig_types[95]
2562#define SWIGTYPE_p_wxListBox swig_types[96]
2563#define SWIGTYPE_p_wxListEvent swig_types[97]
2564#define SWIGTYPE_p_wxListItem swig_types[98]
2565#define SWIGTYPE_p_wxListView swig_types[99]
2566#define SWIGTYPE_p_wxListbook swig_types[100]
2567#define SWIGTYPE_p_wxListbookEvent swig_types[101]
2568#define SWIGTYPE_p_wxMDIChildFrame swig_types[102]
2569#define SWIGTYPE_p_wxMDIClientWindow swig_types[103]
2570#define SWIGTYPE_p_wxMDIParentFrame swig_types[104]
2571#define SWIGTYPE_p_wxMaximizeEvent swig_types[105]
2572#define SWIGTYPE_p_wxMenu swig_types[106]
2573#define SWIGTYPE_p_wxMenuBar swig_types[107]
2574#define SWIGTYPE_p_wxMenuEvent swig_types[108]
2575#define SWIGTYPE_p_wxMenuItem swig_types[109]
2576#define SWIGTYPE_p_wxMessageDialog swig_types[110]
2577#define SWIGTYPE_p_wxMiniFrame swig_types[111]
2578#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[112]
34e0a3bb
RD
2579#define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[113]
2580#define SWIGTYPE_p_wxMouseEvent swig_types[114]
2581#define SWIGTYPE_p_wxMoveEvent swig_types[115]
2582#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[116]
2583#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[117]
2584#define SWIGTYPE_p_wxNcPaintEvent swig_types[118]
2585#define SWIGTYPE_p_wxNotebook swig_types[119]
2586#define SWIGTYPE_p_wxNotebookEvent swig_types[120]
2587#define SWIGTYPE_p_wxNotifyEvent swig_types[121]
2588#define SWIGTYPE_p_wxNumberEntryDialog swig_types[122]
2589#define SWIGTYPE_p_wxObject swig_types[123]
2590#define SWIGTYPE_p_wxPCXHandler swig_types[124]
2591#define SWIGTYPE_p_wxPNGHandler swig_types[125]
2592#define SWIGTYPE_p_wxPNMHandler swig_types[126]
2593#define SWIGTYPE_p_wxPageSetupDialog swig_types[127]
2594#define SWIGTYPE_p_wxPageSetupDialogData swig_types[128]
2595#define SWIGTYPE_p_wxPaintEvent swig_types[129]
2596#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[130]
2597#define SWIGTYPE_p_wxPanel swig_types[131]
2598#define SWIGTYPE_p_wxPaperSize swig_types[132]
2599#define SWIGTYPE_p_wxPasswordEntryDialog swig_types[133]
2600#define SWIGTYPE_p_wxPickerBase swig_types[134]
2601#define SWIGTYPE_p_wxPopupWindow swig_types[135]
2602#define SWIGTYPE_p_wxPreviewCanvas swig_types[136]
2603#define SWIGTYPE_p_wxPreviewControlBar swig_types[137]
2604#define SWIGTYPE_p_wxPreviewFrame swig_types[138]
2605#define SWIGTYPE_p_wxPrintData swig_types[139]
2606#define SWIGTYPE_p_wxPrintDialog swig_types[140]
2607#define SWIGTYPE_p_wxPrintDialogData swig_types[141]
2608#define SWIGTYPE_p_wxPrintPreview swig_types[142]
2609#define SWIGTYPE_p_wxPrinter swig_types[143]
2610#define SWIGTYPE_p_wxProgressDialog swig_types[144]
2611#define SWIGTYPE_p_wxPyApp swig_types[145]
2612#define SWIGTYPE_p_wxPyCommandEvent swig_types[146]
2613#define SWIGTYPE_p_wxPyControl swig_types[147]
2614#define SWIGTYPE_p_wxPyEvent swig_types[148]
2615#define SWIGTYPE_p_wxPyHtmlListBox swig_types[149]
2616#define SWIGTYPE_p_wxPyImageHandler swig_types[150]
2617#define SWIGTYPE_p_wxPyListCtrl swig_types[151]
2618#define SWIGTYPE_p_wxPyPanel swig_types[152]
2619#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[153]
2620#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[154]
2621#define SWIGTYPE_p_wxPyPreviewFrame swig_types[155]
2622#define SWIGTYPE_p_wxPyPrintPreview swig_types[156]
2623#define SWIGTYPE_p_wxPyPrintout swig_types[157]
2624#define SWIGTYPE_p_wxPyScrolledWindow swig_types[158]
2625#define SWIGTYPE_p_wxPySizer swig_types[159]
2626#define SWIGTYPE_p_wxPyTaskBarIcon swig_types[160]
2627#define SWIGTYPE_p_wxPyTreeCompanionWindow swig_types[161]
2628#define SWIGTYPE_p_wxPyTreeCtrl swig_types[162]
2629#define SWIGTYPE_p_wxPyTreeItemData swig_types[163]
2630#define SWIGTYPE_p_wxPyTreeListCtrl swig_types[164]
2631#define SWIGTYPE_p_wxPyVListBox swig_types[165]
2632#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[166]
2633#define SWIGTYPE_p_wxPyValidator swig_types[167]
2634#define SWIGTYPE_p_wxPyWindow swig_types[168]
2635#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[169]
2636#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[170]
2637#define SWIGTYPE_p_wxRadioBox swig_types[171]
2638#define SWIGTYPE_p_wxRadioButton swig_types[172]
2639#define SWIGTYPE_p_wxRemotelyScrolledTreeCtrl swig_types[173]
2640#define SWIGTYPE_p_wxSashEvent swig_types[174]
2641#define SWIGTYPE_p_wxSashLayoutWindow swig_types[175]
2642#define SWIGTYPE_p_wxSashWindow swig_types[176]
2643#define SWIGTYPE_p_wxScrollBar swig_types[177]
2644#define SWIGTYPE_p_wxScrollEvent swig_types[178]
2645#define SWIGTYPE_p_wxScrollWinEvent swig_types[179]
2646#define SWIGTYPE_p_wxScrolledWindow swig_types[180]
2647#define SWIGTYPE_p_wxSetCursorEvent swig_types[181]
2648#define SWIGTYPE_p_wxShowEvent swig_types[182]
2649#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[183]
2650#define SWIGTYPE_p_wxSizeEvent swig_types[184]
2651#define SWIGTYPE_p_wxSizer swig_types[185]
2652#define SWIGTYPE_p_wxSizerItem swig_types[186]
2653#define SWIGTYPE_p_wxSlider swig_types[187]
2654#define SWIGTYPE_p_wxSpinButton swig_types[188]
2655#define SWIGTYPE_p_wxSpinCtrl swig_types[189]
2656#define SWIGTYPE_p_wxSpinEvent swig_types[190]
2657#define SWIGTYPE_p_wxSplashScreen swig_types[191]
2658#define SWIGTYPE_p_wxSplashScreenWindow swig_types[192]
2659#define SWIGTYPE_p_wxSplitterEvent swig_types[193]
2660#define SWIGTYPE_p_wxSplitterScrolledWindow swig_types[194]
2661#define SWIGTYPE_p_wxSplitterWindow swig_types[195]
2662#define SWIGTYPE_p_wxStaticBitmap swig_types[196]
2663#define SWIGTYPE_p_wxStaticBox swig_types[197]
2664#define SWIGTYPE_p_wxStaticBoxSizer swig_types[198]
2665#define SWIGTYPE_p_wxStaticLine swig_types[199]
2666#define SWIGTYPE_p_wxStaticPicture swig_types[200]
2667#define SWIGTYPE_p_wxStaticText swig_types[201]
2668#define SWIGTYPE_p_wxStatusBar swig_types[202]
2669#define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[203]
2670#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[204]
580080c5
RD
2671#define SWIGTYPE_p_wxTGAHandler swig_types[205]
2672#define SWIGTYPE_p_wxTIFFHandler swig_types[206]
2673#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[207]
2674#define SWIGTYPE_p_wxTextCtrl swig_types[208]
2675#define SWIGTYPE_p_wxTextEntryDialog swig_types[209]
2676#define SWIGTYPE_p_wxTextUrlEvent swig_types[210]
2677#define SWIGTYPE_p_wxThinSplitterWindow swig_types[211]
2678#define SWIGTYPE_p_wxTipWindow swig_types[212]
2679#define SWIGTYPE_p_wxToggleButton swig_types[213]
2680#define SWIGTYPE_p_wxToolBar swig_types[214]
2681#define SWIGTYPE_p_wxToolBarBase swig_types[215]
2682#define SWIGTYPE_p_wxToolBarToolBase swig_types[216]
2683#define SWIGTYPE_p_wxToolbook swig_types[217]
2684#define SWIGTYPE_p_wxToolbookEvent swig_types[218]
2685#define SWIGTYPE_p_wxTopLevelWindow swig_types[219]
2686#define SWIGTYPE_p_wxTreeEvent swig_types[220]
2687#define SWIGTYPE_p_wxTreeItemId swig_types[221]
2688#define SWIGTYPE_p_wxTreeListColumnInfo swig_types[222]
2689#define SWIGTYPE_p_wxTreebook swig_types[223]
2690#define SWIGTYPE_p_wxTreebookEvent swig_types[224]
2691#define SWIGTYPE_p_wxUpdateUIEvent swig_types[225]
2692#define SWIGTYPE_p_wxValidator swig_types[226]
2693#define SWIGTYPE_p_wxWindow swig_types[227]
2694#define SWIGTYPE_p_wxWindowCreateEvent swig_types[228]
2695#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[229]
2696#define SWIGTYPE_p_wxXPMHandler swig_types[230]
2697static swig_type_info *swig_types[232];
2698static swig_module_info swig_module = {swig_types, 231, 0, 0, 0, 0};
32fe5131
RD
2699#define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2700#define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
994141e6 2701
3004cfd8 2702/* -------- TYPES TABLE (END) -------- */
994141e6 2703
0085ce49
RD
2704#if (PY_VERSION_HEX <= 0x02000000)
2705# if !defined(SWIG_PYTHON_CLASSIC)
2706# error "This python version requires to use swig with the '-classic' option"
2707# endif
2708#endif
2709#if (PY_VERSION_HEX <= 0x02020000)
2710# error "This python version requires to use swig with the '-nomodern' option"
2711#endif
2712#if (PY_VERSION_HEX <= 0x02020000)
2713# error "This python version requires to use swig with the '-nomodernargs' option"
2714#endif
2715#ifndef METH_O
2716# error "This python version requires to use swig with the '-nofastunpack' option"
2717#endif
994141e6 2718
3004cfd8
RD
2719/*-----------------------------------------------
2720 @(target):= _gizmos.so
2721 ------------------------------------------------*/
2722#define SWIG_init init_gizmos
2723
2724#define SWIG_name "_gizmos"
994141e6 2725
0085ce49
RD
2726#define SWIGVERSION 0x010329
2727
2728
2729#define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2730#define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2731
2732
2733#include <stdexcept>
2734
2735
2736namespace swig {
2737 class PyObject_ptr {
2738 protected:
2739 PyObject *_obj;
2740
2741 public:
2742 PyObject_ptr() :_obj(0)
2743 {
2744 }
2745
2746 PyObject_ptr(const PyObject_ptr& item) : _obj(item._obj)
2747 {
2748 Py_XINCREF(_obj);
2749 }
2750
2751 PyObject_ptr(PyObject *obj, bool initial_ref = true) :_obj(obj)
2752 {
2753 if (initial_ref) Py_XINCREF(_obj);
2754 }
2755
2756 PyObject_ptr & operator=(const PyObject_ptr& item)
2757 {
2758 Py_XINCREF(item._obj);
2759 Py_XDECREF(_obj);
2760 _obj = item._obj;
2761 return *this;
2762 }
2763
2764 ~PyObject_ptr()
2765 {
2766 Py_XDECREF(_obj);
2767 }
2768
2769 operator PyObject *() const
2770 {
2771 return _obj;
2772 }
2773
2774 PyObject *operator->() const
2775 {
2776 return _obj;
2777 }
2778 };
2779}
2780
2781
2782namespace swig {
2783 struct PyObject_var : PyObject_ptr {
2784 PyObject_var(PyObject* obj = 0) : PyObject_ptr(obj, false) { }
2785
2786 PyObject_var & operator = (PyObject* obj)
2787 {
2788 Py_XDECREF(_obj);
2789 _obj = obj;
2790 return *this;
2791 }
2792 };
2793}
2794
2795
44127b65
RD
2796#include "wx/wxPython/wxPython.h"
2797#include "wx/wxPython/pyclasses.h"
28eab81f 2798
44127b65
RD
2799#include <wx/gizmos/dynamicsash.h>
2800#include <wx/gizmos/editlbox.h>
2801#include <wx/gizmos/splittree.h>
2802#include <wx/gizmos/ledctrl.h>
6260902d 2803#include <wx/gizmos/statpict.h>
44127b65
RD
2804
2805#include <wx/listctrl.h>
2806#include <wx/treectrl.h>
2807#include <wx/imaglist.h>
28eab81f 2808
44127b65 2809
b2dc1044
RD
2810 static const wxString wxPyDynamicSashNameStr(wxT("dynamicSashWindow"));
2811 static const wxString wxPyEditableListBoxNameStr(wxT("editableListBox"));
6260902d 2812 static const wxString wxPyStaticPictureNameStr(wxStaticPictureNameStr);
b2dc1044 2813 static const wxString wxPyEmptyString(wxEmptyString);
994141e6 2814
0085ce49 2815 #define SWIG_From_long PyInt_FromLong
3004cfd8
RD
2816
2817
0085ce49
RD
2818SWIGINTERNINLINE PyObject *
2819SWIG_From_int (int value)
2820{
2821 return SWIG_From_long (value);
2822}
15afbcd0
RD
2823
2824
0085ce49
RD
2825#include <limits.h>
2826#ifndef LLONG_MIN
2827# define LLONG_MIN LONG_LONG_MIN
2828#endif
2829#ifndef LLONG_MAX
2830# define LLONG_MAX LONG_LONG_MAX
2831#endif
2832#ifndef ULLONG_MAX
2833# define ULLONG_MAX ULONG_LONG_MAX
2834#endif
15afbcd0
RD
2835
2836
3004cfd8 2837SWIGINTERN int
0085ce49 2838SWIG_AsVal_long (PyObject* obj, long* val)
15afbcd0 2839{
c32bde28
RD
2840 if (PyNumber_Check(obj)) {
2841 if (val) *val = PyInt_AsLong(obj);
0085ce49 2842 return SWIG_OK;
c32bde28 2843 }
0085ce49 2844 return SWIG_TypeError;
15afbcd0
RD
2845}
2846
2847
3004cfd8 2848SWIGINTERN int
0085ce49
RD
2849SWIG_AsVal_int (PyObject * obj, int *val)
2850{
c32bde28 2851 long v;
0085ce49
RD
2852 int res = SWIG_AsVal_long (obj, &v);
2853 if (SWIG_IsOK(res)) {
2854 if ((v < INT_MIN || v > INT_MAX)) {
2855 return SWIG_OverflowError;
c32bde28 2856 } else {
0085ce49 2857 if (val) *val = static_cast< int >(v);
c32bde28 2858 }
0085ce49
RD
2859 }
2860 return res;
994141e6
RD
2861}
2862
0085ce49 2863SWIGINTERN PyObject *wxEditableListBox_GetStrings(wxEditableListBox *self){
44127b65
RD
2864 wxArrayString strings;
2865 self->GetStrings(strings);
2866 return wxArrayString2PyList_helper(strings);
2867 }
2868
2869 typedef wxTreeCtrl wxPyTreeCtrl;
2870
2871
2872class wxPyTreeCompanionWindow: public wxTreeCompanionWindow
2873{
2874public:
2875 wxPyTreeCompanionWindow(wxWindow* parent, wxWindowID id = -1,
2876 const wxPoint& pos = wxDefaultPosition,
2877 const wxSize& size = wxDefaultSize,
2878 long style = 0)
2879 : wxTreeCompanionWindow(parent, id, pos, size, style) {}
2880
2881
2882 virtual void DrawItem(wxDC& dc, wxTreeItemId id, const wxRect& rect) {
2883 bool found;
5a446332 2884 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 2885 if ((found = wxPyCBH_findCallback(m_myInst, "DrawItem"))) {
412d302d 2886 PyObject* dcobj = wxPyMake_wxObject(&dc,false);
ae8162c8
RD
2887 PyObject* idobj = wxPyConstructObject((void*)&id, wxT("wxTreeItemId"), false);
2888 PyObject* recobj= wxPyConstructObject((void*)&rect, wxT("wxRect"), false);
44127b65
RD
2889 wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OOO)", dcobj, idobj, recobj));
2890 Py_DECREF(dcobj);
2891 Py_DECREF(idobj);
2892 Py_DECREF(recobj);
2893 }
4f89f6a3 2894 wxPyEndBlockThreads(blocked);
44127b65
RD
2895 if (! found)
2896 wxTreeCompanionWindow::DrawItem(dc, id, rect);
2897 }
2898
2899 PYPRIVATE;
2900};
2901
994141e6 2902
3004cfd8 2903SWIGINTERN int
0085ce49 2904SWIG_AsVal_bool (PyObject *obj, bool *val)
c32bde28 2905{
c32bde28
RD
2906 if (obj == Py_True) {
2907 if (val) *val = true;
0085ce49
RD
2908 return SWIG_OK;
2909 } else if (obj == Py_False) {
c32bde28 2910 if (val) *val = false;
0085ce49 2911 return SWIG_OK;
3004cfd8 2912 } else {
0085ce49
RD
2913 long v = 0;
2914 int res = SWIG_AddCast(SWIG_AsVal_long (obj, val ? &v : 0));
2915 if (SWIG_IsOK(res) && val) *val = v ? true : false;
2916 return res;
c32bde28 2917 }
c32bde28 2918}
994141e6 2919
c32bde28 2920
33d6fd3b
RD
2921#include "wx/treelistctrl.h"
2922#include "wx/wxPython/pytree.h"
2923
2924
2925 static const wxString wxPyTreeListCtrlNameStr(wxT("treelistctrl"));
2926
2927SWIGINTERNINLINE PyObject*
2928SWIG_From_unsigned_SS_long (unsigned long value)
2929{
2930 return (value > LONG_MAX) ?
2931 PyLong_FromUnsignedLong(value) : PyInt_FromLong(static_cast< long >(value));
2932}
2933
2934
2935SWIGINTERNINLINE PyObject *
2936SWIG_From_size_t (size_t value)
2937{
2938 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value));
2939}
2940
2941
3004cfd8 2942SWIGINTERN int
0085ce49 2943SWIG_AsVal_unsigned_SS_long (PyObject* obj, unsigned long* val)
15afbcd0 2944{
c32bde28
RD
2945 long v = 0;
2946 if (SWIG_AsVal_long(obj, &v) && v < 0) {
0085ce49 2947 return SWIG_TypeError;
c32bde28
RD
2948 }
2949 else if (val)
2950 *val = (unsigned long)v;
0085ce49 2951 return SWIG_OK;
15afbcd0
RD
2952}
2953
2954
32fe5131 2955SWIGINTERNINLINE int
0085ce49 2956SWIG_AsVal_size_t (PyObject * obj, size_t *val)
15afbcd0 2957{
0085ce49
RD
2958 unsigned long v;
2959 int res = SWIG_AsVal_unsigned_SS_long (obj, val ? &v : 0);
2960 if (SWIG_IsOK(res) && val) *val = static_cast< size_t >(v);
2961 return res;
15afbcd0
RD
2962}
2963
44127b65
RD
2964 // C++ version of Python aware control
2965class wxPyTreeListCtrl : public wxTreeListCtrl {
2966 DECLARE_ABSTRACT_CLASS(wxPyTreeListCtrl);
2967public:
2968 wxPyTreeListCtrl() : wxTreeListCtrl() {}
2969 wxPyTreeListCtrl(wxWindow *parent, wxWindowID id,
2970 const wxPoint& pos,
2971 const wxSize& size,
2972 long style,
2973 const wxValidator &validator,
2974 const wxString& name) :
2975 wxTreeListCtrl(parent, id, pos, size, style, validator, name) {}
2976
33d6fd3b
RD
2977 virtual int OnCompareItems(const wxTreeItemId& item1,
2978 const wxTreeItemId& item2) {
44127b65
RD
2979 int rval = 0;
2980 bool found;
5a446332 2981 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
2982 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
2983 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), 0);
2984 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), 0);
2985 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
2986 Py_DECREF(o1);
2987 Py_DECREF(o2);
2988 }
4f89f6a3 2989 wxPyEndBlockThreads(blocked);
44127b65
RD
2990 if (! found)
2991 rval = wxTreeListCtrl::OnCompareItems(item1, item2);
2992 return rval;
2993 }
33d6fd3b
RD
2994
2995 virtual wxString OnGetItemText( wxTreeItemData* item, long column ) const {
2996 wxString rval;
2997 bool found;
2998 wxPyBlock_t blocked = wxPyBeginBlockThreads();
2999 if ((found = wxPyCBH_findCallback(m_myInst, "OnGetItemText"))) {
3000 PyObject* ro;
3001 PyObject* itemo = wxPyConstructObject((void*)&item, wxT("wxTreeItemId"), 0);
3002 ro = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("(Oi)", itemo, column));
3003 Py_DECREF(itemo);
3004 if (ro) {
3005 rval = Py2wxString(ro);
3006 Py_DECREF(ro);
3007 }
3008 }
3009 wxPyEndBlockThreads(blocked);
3010 if (! found)
3011 rval = wxTreeListCtrl::OnGetItemText(item, column);
3012 return rval;
3013 }
3014
44127b65
RD
3015 PYPRIVATE;
3016};
3017
3018IMPLEMENT_ABSTRACT_CLASS(wxPyTreeListCtrl, wxTreeListCtrl)
3019
3020
994141e6 3021
0085ce49
RD
3022SWIGINTERNINLINE PyObject *
3023SWIG_From_unsigned_SS_int (unsigned int value)
3024{
3025 return SWIG_From_unsigned_SS_long (value);
3026}
15afbcd0
RD
3027
3028
0085ce49
RD
3029SWIGINTERN int
3030SWIG_AsVal_unsigned_SS_int (PyObject * obj, unsigned int *val)
15afbcd0 3031{
c32bde28 3032 unsigned long v;
0085ce49
RD
3033 int res = SWIG_AsVal_unsigned_SS_long (obj, &v);
3034 if (SWIG_IsOK(res)) {
3035 if ((v > UINT_MAX)) {
3036 return SWIG_OverflowError;
3037 } else {
3038 if (val) *val = static_cast< unsigned int >(v);
c32bde28 3039 }
0085ce49
RD
3040 }
3041 return res;
994141e6
RD
3042}
3043
0085ce49 3044SWIGINTERN wxString wxPyTreeListCtrl_GetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
44127b65
RD
3045 if (column < 0) column = self->GetMainColumn();
3046 return self->GetItemText(item, column);
3047 }
0085ce49 3048SWIGINTERN int wxPyTreeListCtrl_GetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3049 if (column < 0) column = self->GetMainColumn();
3050 return self->GetItemImage(item, column, which);
3051 }
0085ce49 3052SWIGINTERN void wxPyTreeListCtrl_SetItemText(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxString const &text,int column=-1){
44127b65
RD
3053 if (column < 0) column = self->GetMainColumn();
3054 self->SetItemText(item, column, text);
3055 }
0085ce49 3056SWIGINTERN void wxPyTreeListCtrl_SetItemImage(wxPyTreeListCtrl *self,wxTreeItemId const &item,int image,int column=-1,wxTreeItemIcon which=wxTreeItemIcon_Normal){
44127b65
RD
3057 if (column < 0) column = self->GetMainColumn();
3058 self->SetItemImage(item, column, image, which);
3059 }
0085ce49 3060SWIGINTERN wxPyTreeItemData *wxPyTreeListCtrl_GetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3061 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3062 if (data == NULL) {
3063 data = new wxPyTreeItemData();
3064 data->SetId(item); // set the id
3065 self->SetItemData(item, data);
3066 }
3067 return data;
3068 }
0085ce49 3069SWIGINTERN void wxPyTreeListCtrl_SetItemData(wxPyTreeListCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
44127b65
RD
3070 data->SetId(item); // set the id
3071 self->SetItemData(item, data);
3072 }
0085ce49 3073SWIGINTERN PyObject *wxPyTreeListCtrl_GetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item){
44127b65
RD
3074 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3075 if (data == NULL) {
3076 data = new wxPyTreeItemData();
3077 data->SetId(item); // set the id
3078 self->SetItemData(item, data);
3079 }
3080 return data->GetData();
3081 }
0085ce49 3082SWIGINTERN void wxPyTreeListCtrl_SetItemPyData(wxPyTreeListCtrl *self,wxTreeItemId const &item,PyObject *obj){
44127b65
RD
3083 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
3084 if (data == NULL) {
3085 data = new wxPyTreeItemData(obj);
3086 data->SetId(item); // set the id
3087 self->SetItemData(item, data);
3088 } else
3089 data->SetData(obj);
3090 }
0085ce49 3091SWIGINTERN PyObject *wxPyTreeListCtrl_GetSelections(wxPyTreeListCtrl *self){
5a446332 3092 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3093 PyObject* rval = PyList_New(0);
3094 wxArrayTreeItemIds array;
3095 size_t num, x;
3096 num = self->GetSelections(array);
3097 for (x=0; x < num; x++) {
3098 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
ae8162c8 3099 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), true);
44127b65 3100 PyList_Append(rval, item);
e9d6f3a4 3101 Py_DECREF(item);
44127b65 3102 }
4f89f6a3 3103 wxPyEndBlockThreads(blocked);
44127b65
RD
3104 return rval;
3105 }
0085ce49 3106SWIGINTERN PyObject *wxPyTreeListCtrl_GetFirstChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
28eab81f 3107 void* cookie = 0;
823f0cfe 3108 wxTreeItemId* ritem = new wxTreeItemId(self->GetFirstChild(item, cookie));
5a446332 3109 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3110 PyObject* tup = PyTuple_New(2);
ae8162c8 3111 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3112 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3113 wxPyEndBlockThreads(blocked);
44127b65
RD
3114 return tup;
3115 }
0085ce49 3116SWIGINTERN PyObject *wxPyTreeListCtrl_GetNextChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
823f0cfe 3117 wxTreeItemId* ritem = new wxTreeItemId(self->GetNextChild(item, cookie));
5a446332 3118 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65 3119 PyObject* tup = PyTuple_New(2);
ae8162c8 3120 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
28eab81f 3121 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
4f89f6a3 3122 wxPyEndBlockThreads(blocked);
44127b65
RD
3123 return tup;
3124 }
33d6fd3b
RD
3125SWIGINTERN PyObject *wxPyTreeListCtrl_GetLastChild(wxPyTreeListCtrl *self,wxTreeItemId const &item){
3126 void* cookie = 0;
3127 wxTreeItemId* ritem = new wxTreeItemId(self->GetLastChild(item, cookie));
3128 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3129 PyObject* tup = PyTuple_New(2);
3130 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3131 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3132 wxPyEndBlockThreads(blocked);
3133 return tup;
3134 }
3135SWIGINTERN PyObject *wxPyTreeListCtrl_GetPrevChild(wxPyTreeListCtrl *self,wxTreeItemId const &item,void *cookie){
3136 wxTreeItemId* ritem = new wxTreeItemId(self->GetPrevChild(item, cookie));
3137 wxPyBlock_t blocked = wxPyBeginBlockThreads();
3138 PyObject* tup = PyTuple_New(2);
3139 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(ritem, wxT("wxTreeItemId"), true));
3140 PyTuple_SET_ITEM(tup, 1, wxPyMakeSwigPtr(cookie, wxT("void")));
3141 wxPyEndBlockThreads(blocked);
3142 return tup;
3143 }
0085ce49 3144SWIGINTERN PyObject *wxPyTreeListCtrl_GetBoundingRect(wxPyTreeListCtrl *self,wxTreeItemId const &item,bool textOnly=false){
44127b65
RD
3145 wxRect rect;
3146 if (self->GetBoundingRect(item, rect, textOnly)) {
5a446332 3147 wxPyBlock_t blocked = wxPyBeginBlockThreads();
44127b65
RD
3148 wxRect* r = new wxRect(rect);
3149 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), 1);
4f89f6a3 3150 wxPyEndBlockThreads(blocked);
44127b65
RD
3151 return val;
3152 }
3153 else {
3154 RETURN_NONE();
3155 }
3156 }
33d6fd3b
RD
3157SWIGINTERN void wxPyTreeListCtrl_EditLabel(wxPyTreeListCtrl *self,wxTreeItemId const &item,int column=-1){
3158 if (column < 0) column = self->GetMainColumn();
3159 self->EditLabel(item, column);
3160 }
6260902d
RD
3161
3162#include <float.h>
6260902d
RD
3163
3164
3165SWIGINTERN int
0085ce49 3166SWIG_AsVal_double (PyObject *obj, double* val)
6260902d
RD
3167{
3168 if (PyNumber_Check(obj)) {
3169 if (val) *val = PyFloat_AsDouble(obj);
0085ce49 3170 return SWIG_OK;
6260902d 3171 }
0085ce49 3172 return SWIG_TypeError;
6260902d
RD
3173}
3174
3175
3176SWIGINTERN int
0085ce49 3177SWIG_AsVal_float (PyObject * obj, float *val)
6260902d 3178{
6260902d 3179 double v;
0085ce49
RD
3180 int res = SWIG_AsVal_double (obj, &v);
3181 if (SWIG_IsOK(res)) {
3182 if ((v < -FLT_MAX || v > FLT_MAX)) {
3183 return SWIG_OverflowError;
6260902d 3184 } else {
0085ce49 3185 if (val) *val = static_cast< float >(v);
6260902d 3186 }
0085ce49
RD
3187 }
3188 return res;
6260902d
RD
3189}
3190
6260902d 3191
0085ce49 3192 #define SWIG_From_double PyFloat_FromDouble
6260902d 3193
6260902d 3194
0085ce49
RD
3195SWIGINTERNINLINE PyObject *
3196SWIG_From_float (float value)
3197{
3198 return SWIG_From_double (value);
3199}
6260902d 3200
44127b65
RD
3201#ifdef __cplusplus
3202extern "C" {
3203#endif
0085ce49
RD
3204SWIGINTERN int DynamicSashNameStr_set(PyObject *) {
3205 SWIG_Error(SWIG_AttributeError,"Variable DynamicSashNameStr is read-only.");
3206 return 1;
b2dc1044
RD
3207}
3208
3209
0085ce49
RD
3210SWIGINTERN PyObject *DynamicSashNameStr_get(void) {
3211 PyObject *pyobj = 0;
3212
3213 {
b2dc1044 3214#if wxUSE_UNICODE
0085ce49 3215 pyobj = PyUnicode_FromWideChar((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3216#else
0085ce49 3217 pyobj = PyString_FromStringAndSize((&wxPyDynamicSashNameStr)->c_str(), (&wxPyDynamicSashNameStr)->Len());
b2dc1044 3218#endif
0085ce49
RD
3219 }
3220 return pyobj;
b2dc1044
RD
3221}
3222
3223
0085ce49
RD
3224SWIGINTERN int EditableListBoxNameStr_set(PyObject *) {
3225 SWIG_Error(SWIG_AttributeError,"Variable EditableListBoxNameStr is read-only.");
3226 return 1;
b2dc1044
RD
3227}
3228
3229
0085ce49
RD
3230SWIGINTERN PyObject *EditableListBoxNameStr_get(void) {
3231 PyObject *pyobj = 0;
3232
3233 {
b2dc1044 3234#if wxUSE_UNICODE
0085ce49 3235 pyobj = PyUnicode_FromWideChar((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3236#else
0085ce49 3237 pyobj = PyString_FromStringAndSize((&wxPyEditableListBoxNameStr)->c_str(), (&wxPyEditableListBoxNameStr)->Len());
b2dc1044 3238#endif
0085ce49
RD
3239 }
3240 return pyobj;
b2dc1044
RD
3241}
3242
3243
0085ce49
RD
3244SWIGINTERN int StaticPictureNameStr_set(PyObject *) {
3245 SWIG_Error(SWIG_AttributeError,"Variable StaticPictureNameStr is read-only.");
3246 return 1;
6260902d
RD
3247}
3248
3249
0085ce49
RD
3250SWIGINTERN PyObject *StaticPictureNameStr_get(void) {
3251 PyObject *pyobj = 0;
3252
3253 {
6260902d 3254#if wxUSE_UNICODE
0085ce49 3255 pyobj = PyUnicode_FromWideChar((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3256#else
0085ce49 3257 pyobj = PyString_FromStringAndSize((&wxPyStaticPictureNameStr)->c_str(), (&wxPyStaticPictureNameStr)->Len());
6260902d 3258#endif
0085ce49
RD
3259 }
3260 return pyobj;
6260902d
RD
3261}
3262
3263
0085ce49
RD
3264SWIGINTERN PyObject *_wrap_new_DynamicSashSplitEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3265 PyObject *resultobj = 0;
3266 wxObject *arg1 = (wxObject *) 0 ;
3267 wxDynamicSashSplitEvent *result = 0 ;
3268 void *argp1 = 0 ;
3269 int res1 = 0 ;
3270 PyObject * obj0 = 0 ;
3271 char * kwnames[] = {
3272 (char *) "target", NULL
3273 };
3274
3275 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashSplitEvent",kwnames,&obj0)) SWIG_fail;
3276 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3277 if (!SWIG_IsOK(res1)) {
3278 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashSplitEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3279 }
3280 arg1 = reinterpret_cast< wxObject * >(argp1);
3281 {
3282 PyThreadState* __tstate = wxPyBeginAllowThreads();
3283 result = (wxDynamicSashSplitEvent *)new wxDynamicSashSplitEvent(arg1);
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_POINTER_NEW | 0 );
3288 return resultobj;
3289fail:
3290 return NULL;
44127b65
RD
3291}
3292
3293
0085ce49
RD
3294SWIGINTERN PyObject *DynamicSashSplitEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3295 PyObject *obj;
3296 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3297 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashSplitEvent, SWIG_NewClientData(obj));
3298 return SWIG_Py_Void();
44127b65
RD
3299}
3300
0085ce49
RD
3301SWIGINTERN PyObject *DynamicSashSplitEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3302 return SWIG_Python_InitShadowInstance(args);
3303}
44127b65 3304
0085ce49
RD
3305SWIGINTERN PyObject *_wrap_new_DynamicSashUnifyEvent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3306 PyObject *resultobj = 0;
3307 wxObject *arg1 = (wxObject *) 0 ;
3308 wxDynamicSashUnifyEvent *result = 0 ;
3309 void *argp1 = 0 ;
3310 int res1 = 0 ;
3311 PyObject * obj0 = 0 ;
3312 char * kwnames[] = {
3313 (char *) "target", NULL
3314 };
3315
3316 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_DynamicSashUnifyEvent",kwnames,&obj0)) SWIG_fail;
3317 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxObject, 0 | 0 );
3318 if (!SWIG_IsOK(res1)) {
3319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashUnifyEvent" "', expected argument " "1"" of type '" "wxObject *""'");
3320 }
3321 arg1 = reinterpret_cast< wxObject * >(argp1);
3322 {
3323 PyThreadState* __tstate = wxPyBeginAllowThreads();
3324 result = (wxDynamicSashUnifyEvent *)new wxDynamicSashUnifyEvent(arg1);
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_POINTER_NEW | 0 );
3329 return resultobj;
3330fail:
3331 return NULL;
3332}
3333
3334
3335SWIGINTERN PyObject *DynamicSashUnifyEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3336 PyObject *obj;
3337 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3338 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashUnifyEvent, SWIG_NewClientData(obj));
3339 return SWIG_Py_Void();
3340}
3341
3342SWIGINTERN PyObject *DynamicSashUnifyEvent_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3343 return SWIG_Python_InitShadowInstance(args);
3344}
3345
3346SWIGINTERN PyObject *_wrap_new_DynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3347 PyObject *resultobj = 0;
3348 wxWindow *arg1 = (wxWindow *) 0 ;
3349 int arg2 = (int) -1 ;
3350 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3351 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3352 wxSize const &arg4_defvalue = wxDefaultSize ;
3353 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3354 long arg5 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3355 wxString const &arg6_defvalue = wxPyDynamicSashNameStr ;
3356 wxString *arg6 = (wxString *) &arg6_defvalue ;
3357 wxDynamicSashWindow *result = 0 ;
3358 void *argp1 = 0 ;
3359 int res1 = 0 ;
3360 int val2 ;
3361 int ecode2 = 0 ;
3362 wxPoint temp3 ;
3363 wxSize temp4 ;
3364 long val5 ;
3365 int ecode5 = 0 ;
3366 bool temp6 = false ;
3367 PyObject * obj0 = 0 ;
3368 PyObject * obj1 = 0 ;
3369 PyObject * obj2 = 0 ;
3370 PyObject * obj3 = 0 ;
3371 PyObject * obj4 = 0 ;
3372 PyObject * obj5 = 0 ;
3373 char * kwnames[] = {
3374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3375 };
3376
3377 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_DynamicSashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
3378 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3379 if (!SWIG_IsOK(res1)) {
3380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_DynamicSashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
3381 }
3382 arg1 = reinterpret_cast< wxWindow * >(argp1);
3383 if (obj1) {
3384 ecode2 = SWIG_AsVal_int(obj1, &val2);
3385 if (!SWIG_IsOK(ecode2)) {
3386 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_DynamicSashWindow" "', expected argument " "2"" of type '" "int""'");
3387 }
3388 arg2 = static_cast< int >(val2);
3389 }
3390 if (obj2) {
44127b65 3391 {
0085ce49
RD
3392 arg3 = &temp3;
3393 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 3394 }
0085ce49
RD
3395 }
3396 if (obj3) {
44127b65 3397 {
0085ce49
RD
3398 arg4 = &temp4;
3399 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 3400 }
0085ce49
RD
3401 }
3402 if (obj4) {
3403 ecode5 = SWIG_AsVal_long(obj4, &val5);
3404 if (!SWIG_IsOK(ecode5)) {
3405 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_DynamicSashWindow" "', expected argument " "5"" of type '" "long""'");
3406 }
3407 arg5 = static_cast< long >(val5);
3408 }
3409 if (obj5) {
44127b65 3410 {
0085ce49
RD
3411 arg6 = wxString_in_helper(obj5);
3412 if (arg6 == NULL) SWIG_fail;
3413 temp6 = true;
44127b65 3414 }
0085ce49
RD
3415 }
3416 {
3417 if (!wxPyCheckForApp()) SWIG_fail;
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 result = (wxDynamicSashWindow *)new wxDynamicSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3420 wxPyEndAllowThreads(__tstate);
3421 if (PyErr_Occurred()) SWIG_fail;
3422 }
3423 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_NEW | 0 );
3424 {
3425 if (temp6)
3426 delete arg6;
3427 }
3428 return resultobj;
3429fail:
3430 {
3431 if (temp6)
3432 delete arg6;
3433 }
3434 return NULL;
44127b65
RD
3435}
3436
3437
0085ce49
RD
3438SWIGINTERN PyObject *_wrap_new_PreDynamicSashWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3439 PyObject *resultobj = 0;
3440 wxDynamicSashWindow *result = 0 ;
3441
3442 if (!SWIG_Python_UnpackTuple(args,"new_PreDynamicSashWindow",0,0,0)) SWIG_fail;
3443 {
3444 if (!wxPyCheckForApp()) SWIG_fail;
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (wxDynamicSashWindow *)new wxDynamicSashWindow();
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxDynamicSashWindow, SWIG_POINTER_OWN | 0 );
3451 return resultobj;
3452fail:
3453 return NULL;
3454}
3455
3456
3457SWIGINTERN PyObject *_wrap_DynamicSashWindow_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj = 0;
3459 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3460 wxWindow *arg2 = (wxWindow *) 0 ;
3461 int arg3 = (int) -1 ;
3462 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3463 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3464 wxSize const &arg5_defvalue = wxDefaultSize ;
3465 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3466 long arg6 = (long) wxCLIP_CHILDREN|wxDS_MANAGE_SCROLLBARS|wxDS_DRAG_CORNER ;
3467 wxString const &arg7_defvalue = wxPyDynamicSashNameStr ;
3468 wxString *arg7 = (wxString *) &arg7_defvalue ;
3469 bool result;
3470 void *argp1 = 0 ;
3471 int res1 = 0 ;
3472 void *argp2 = 0 ;
3473 int res2 = 0 ;
3474 int val3 ;
3475 int ecode3 = 0 ;
3476 wxPoint temp4 ;
3477 wxSize temp5 ;
3478 long val6 ;
3479 int ecode6 = 0 ;
3480 bool temp7 = false ;
3481 PyObject * obj0 = 0 ;
3482 PyObject * obj1 = 0 ;
3483 PyObject * obj2 = 0 ;
3484 PyObject * obj3 = 0 ;
3485 PyObject * obj4 = 0 ;
3486 PyObject * obj5 = 0 ;
3487 PyObject * obj6 = 0 ;
3488 char * kwnames[] = {
3489 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3490 };
3491
3492 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:DynamicSashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3493 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3494 if (!SWIG_IsOK(res1)) {
3495 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_Create" "', expected argument " "1"" of type '" "wxDynamicSashWindow *""'");
3496 }
3497 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3498 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3499 if (!SWIG_IsOK(res2)) {
3500 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3501 }
3502 arg2 = reinterpret_cast< wxWindow * >(argp2);
3503 if (obj2) {
3504 ecode3 = SWIG_AsVal_int(obj2, &val3);
3505 if (!SWIG_IsOK(ecode3)) {
3506 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "DynamicSashWindow_Create" "', expected argument " "3"" of type '" "int""'");
3507 }
3508 arg3 = static_cast< int >(val3);
3509 }
3510 if (obj3) {
44127b65 3511 {
0085ce49
RD
3512 arg4 = &temp4;
3513 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 3514 }
0085ce49
RD
3515 }
3516 if (obj4) {
3517 {
3518 arg5 = &temp5;
3519 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
994141e6 3520 }
0085ce49
RD
3521 }
3522 if (obj5) {
3523 ecode6 = SWIG_AsVal_long(obj5, &val6);
3524 if (!SWIG_IsOK(ecode6)) {
3525 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "DynamicSashWindow_Create" "', expected argument " "6"" of type '" "long""'");
3526 }
3527 arg6 = static_cast< long >(val6);
3528 }
3529 if (obj6) {
3530 {
3531 arg7 = wxString_in_helper(obj6);
3532 if (arg7 == NULL) SWIG_fail;
3533 temp7 = true;
44127b65 3534 }
0085ce49
RD
3535 }
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3539 wxPyEndAllowThreads(__tstate);
3540 if (PyErr_Occurred()) SWIG_fail;
3541 }
3542 {
3543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3544 }
3545 {
3546 if (temp7)
3547 delete arg7;
3548 }
3549 return resultobj;
3550fail:
3551 {
3552 if (temp7)
3553 delete arg7;
3554 }
3555 return NULL;
3556}
3557
3558
3559SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetHScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3560 PyObject *resultobj = 0;
3561 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3562 wxWindow *arg2 = (wxWindow *) 0 ;
3563 wxScrollBar *result = 0 ;
3564 void *argp1 = 0 ;
3565 int res1 = 0 ;
3566 void *argp2 = 0 ;
3567 int res2 = 0 ;
3568 PyObject * obj0 = 0 ;
3569 PyObject * obj1 = 0 ;
3570 char * kwnames[] = {
3571 (char *) "self",(char *) "child", NULL
3572 };
3573
3574 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetHScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3575 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3576 if (!SWIG_IsOK(res1)) {
3577 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3578 }
3579 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3580 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3581 if (!SWIG_IsOK(res2)) {
3582 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetHScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3583 }
3584 arg2 = reinterpret_cast< wxWindow * >(argp2);
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetHScrollBar((wxWindow const *)arg2);
3588 wxPyEndAllowThreads(__tstate);
3589 if (PyErr_Occurred()) SWIG_fail;
3590 }
3591 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3592 return resultobj;
3593fail:
3594 return NULL;
3595}
3596
3597
3598SWIGINTERN PyObject *_wrap_DynamicSashWindow_GetVScrollBar(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3599 PyObject *resultobj = 0;
3600 wxDynamicSashWindow *arg1 = (wxDynamicSashWindow *) 0 ;
3601 wxWindow *arg2 = (wxWindow *) 0 ;
3602 wxScrollBar *result = 0 ;
3603 void *argp1 = 0 ;
3604 int res1 = 0 ;
3605 void *argp2 = 0 ;
3606 int res2 = 0 ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj1 = 0 ;
3609 char * kwnames[] = {
3610 (char *) "self",(char *) "child", NULL
3611 };
3612
3613 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DynamicSashWindow_GetVScrollBar",kwnames,&obj0,&obj1)) SWIG_fail;
3614 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxDynamicSashWindow, 0 | 0 );
3615 if (!SWIG_IsOK(res1)) {
3616 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "1"" of type '" "wxDynamicSashWindow const *""'");
3617 }
3618 arg1 = reinterpret_cast< wxDynamicSashWindow * >(argp1);
3619 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
3620 if (!SWIG_IsOK(res2)) {
3621 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "DynamicSashWindow_GetVScrollBar" "', expected argument " "2"" of type '" "wxWindow const *""'");
3622 }
3623 arg2 = reinterpret_cast< wxWindow * >(argp2);
3624 {
3625 PyThreadState* __tstate = wxPyBeginAllowThreads();
3626 result = (wxScrollBar *)((wxDynamicSashWindow const *)arg1)->GetVScrollBar((wxWindow const *)arg2);
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
3630 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxScrollBar, 0 | 0 );
3631 return resultobj;
3632fail:
3633 return NULL;
3634}
3635
3636
3637SWIGINTERN PyObject *DynamicSashWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3638 PyObject *obj;
3639 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
3640 SWIG_TypeNewClientData(SWIGTYPE_p_wxDynamicSashWindow, SWIG_NewClientData(obj));
3641 return SWIG_Py_Void();
3642}
3643
3644SWIGINTERN PyObject *DynamicSashWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3645 return SWIG_Python_InitShadowInstance(args);
3646}
3647
3648SWIGINTERN PyObject *_wrap_new_EditableListBox(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj = 0;
3650 wxWindow *arg1 = (wxWindow *) 0 ;
3651 int arg2 = (int) -1 ;
3652 wxString const &arg3_defvalue = wxPyEmptyString ;
3653 wxString *arg3 = (wxString *) &arg3_defvalue ;
3654 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3655 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3656 wxSize const &arg5_defvalue = wxDefaultSize ;
3657 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3658 long arg6 = (long) wxEL_ALLOW_NEW|wxEL_ALLOW_EDIT|wxEL_ALLOW_DELETE ;
3659 wxString const &arg7_defvalue = wxPyEditableListBoxNameStr ;
3660 wxString *arg7 = (wxString *) &arg7_defvalue ;
3661 wxEditableListBox *result = 0 ;
3662 void *argp1 = 0 ;
3663 int res1 = 0 ;
3664 int val2 ;
3665 int ecode2 = 0 ;
3666 bool temp3 = false ;
3667 wxPoint temp4 ;
3668 wxSize temp5 ;
3669 long val6 ;
3670 int ecode6 = 0 ;
3671 bool temp7 = false ;
3672 PyObject * obj0 = 0 ;
3673 PyObject * obj1 = 0 ;
3674 PyObject * obj2 = 0 ;
3675 PyObject * obj3 = 0 ;
3676 PyObject * obj4 = 0 ;
3677 PyObject * obj5 = 0 ;
3678 PyObject * obj6 = 0 ;
3679 char * kwnames[] = {
3680 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3681 };
3682
3683 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_EditableListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
3684 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
3685 if (!SWIG_IsOK(res1)) {
3686 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_EditableListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
3687 }
3688 arg1 = reinterpret_cast< wxWindow * >(argp1);
3689 if (obj1) {
3690 ecode2 = SWIG_AsVal_int(obj1, &val2);
3691 if (!SWIG_IsOK(ecode2)) {
3692 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_EditableListBox" "', expected argument " "2"" of type '" "int""'");
3693 }
3694 arg2 = static_cast< int >(val2);
3695 }
3696 if (obj2) {
44127b65 3697 {
0085ce49
RD
3698 arg3 = wxString_in_helper(obj2);
3699 if (arg3 == NULL) SWIG_fail;
3700 temp3 = true;
44127b65 3701 }
0085ce49
RD
3702 }
3703 if (obj3) {
4f89f6a3 3704 {
0085ce49
RD
3705 arg4 = &temp4;
3706 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4f89f6a3 3707 }
0085ce49
RD
3708 }
3709 if (obj4) {
44127b65 3710 {
0085ce49
RD
3711 arg5 = &temp5;
3712 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 3713 }
0085ce49
RD
3714 }
3715 if (obj5) {
3716 ecode6 = SWIG_AsVal_long(obj5, &val6);
3717 if (!SWIG_IsOK(ecode6)) {
3718 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_EditableListBox" "', expected argument " "6"" of type '" "long""'");
3719 }
3720 arg6 = static_cast< long >(val6);
3721 }
3722 if (obj6) {
44127b65 3723 {
0085ce49
RD
3724 arg7 = wxString_in_helper(obj6);
3725 if (arg7 == NULL) SWIG_fail;
3726 temp7 = true;
44127b65 3727 }
0085ce49
RD
3728 }
3729 {
3730 if (!wxPyCheckForApp()) SWIG_fail;
3731 PyThreadState* __tstate = wxPyBeginAllowThreads();
3732 result = (wxEditableListBox *)new wxEditableListBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3733 wxPyEndAllowThreads(__tstate);
3734 if (PyErr_Occurred()) SWIG_fail;
3735 }
3736 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxEditableListBox, SWIG_POINTER_NEW | 0 );
3737 {
3738 if (temp3)
3739 delete arg3;
3740 }
3741 {
3742 if (temp7)
3743 delete arg7;
3744 }
3745 return resultobj;
3746fail:
3747 {
3748 if (temp3)
3749 delete arg3;
3750 }
3751 {
3752 if (temp7)
3753 delete arg7;
3754 }
3755 return NULL;
44127b65
RD
3756}
3757
3758
0085ce49
RD
3759SWIGINTERN PyObject *_wrap_EditableListBox_SetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
3760 PyObject *resultobj = 0;
3761 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3762 wxArrayString *arg2 = 0 ;
3763 void *argp1 = 0 ;
3764 int res1 = 0 ;
3765 bool temp2 = false ;
3766 PyObject * obj0 = 0 ;
3767 PyObject * obj1 = 0 ;
3768 char * kwnames[] = {
3769 (char *) "self",(char *) "strings", NULL
3770 };
3771
3772 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EditableListBox_SetStrings",kwnames,&obj0,&obj1)) SWIG_fail;
3773 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
3774 if (!SWIG_IsOK(res1)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_SetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3776 }
3777 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3778 {
3779 if (! PySequence_Check(obj1)) {
3780 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
3781 SWIG_fail;
3782 }
3783 arg2 = new wxArrayString;
3784 temp2 = true;
3785 int i, len=PySequence_Length(obj1);
3786 for (i=0; i<len; i++) {
3787 PyObject* item = PySequence_GetItem(obj1, i);
3788 wxString* s = wxString_in_helper(item);
3789 if (PyErr_Occurred()) SWIG_fail;
3790 arg2->Add(*s);
3791 delete s;
3792 Py_DECREF(item);
44127b65 3793 }
0085ce49
RD
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 (arg1)->SetStrings((wxArrayString const &)*arg2);
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 resultobj = SWIG_Py_Void();
3802 {
3803 if (temp2) delete arg2;
3804 }
3805 return resultobj;
3806fail:
3807 {
3808 if (temp2) delete arg2;
3809 }
3810 return NULL;
44127b65
RD
3811}
3812
3813
0085ce49
RD
3814SWIGINTERN PyObject *_wrap_EditableListBox_GetStrings(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3815 PyObject *resultobj = 0;
3816 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3817 PyObject *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_GetStrings" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3827 }
3828 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3829 {
3830 PyThreadState* __tstate = wxPyBeginAllowThreads();
3831 result = (PyObject *)wxEditableListBox_GetStrings(arg1);
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = result;
3836 return resultobj;
3837fail:
3838 return NULL;
44127b65
RD
3839}
3840
3841
0085ce49
RD
3842SWIGINTERN PyObject *_wrap_EditableListBox_GetListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3843 PyObject *resultobj = 0;
3844 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3845 wxPyListCtrl *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_GetListCtrl" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3855 }
3856 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3857 {
3858 PyThreadState* __tstate = wxPyBeginAllowThreads();
3859 result = (wxPyListCtrl *)(arg1)->GetListCtrl();
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
3ecece7e
RD
3863 {
3864 resultobj = wxPyMake_wxObject((wxObject*)result, (bool)0);
3865 }
0085ce49
RD
3866 return resultobj;
3867fail:
3868 return NULL;
44127b65
RD
3869}
3870
3871
0085ce49
RD
3872SWIGINTERN PyObject *_wrap_EditableListBox_GetDelButton(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_GetDelButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3885 }
3886 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3887 {
3888 PyThreadState* __tstate = wxPyBeginAllowThreads();
3889 result = (wxBitmapButton *)(arg1)->GetDelButton();
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_GetNewButton(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_GetNewButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3915 }
3916 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (wxBitmapButton *)(arg1)->GetNewButton();
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_GetUpButton(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_GetUpButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3945 }
3946 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3947 {
3948 PyThreadState* __tstate = wxPyBeginAllowThreads();
3949 result = (wxBitmapButton *)(arg1)->GetUpButton();
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_GetDownButton(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_GetDownButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
3975 }
3976 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 result = (wxBitmapButton *)(arg1)->GetDownButton();
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;
44127b65
RD
3989}
3990
3991
0085ce49
RD
3992SWIGINTERN PyObject *_wrap_EditableListBox_GetEditButton(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
3993 PyObject *resultobj = 0;
3994 wxEditableListBox *arg1 = (wxEditableListBox *) 0 ;
3995 wxBitmapButton *result = 0 ;
3996 void *argp1 = 0 ;
3997 int res1 = 0 ;
3998 PyObject *swig_obj[1] ;
3999
4000 if (!args) SWIG_fail;
4001 swig_obj[0] = args;
4002 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxEditableListBox, 0 | 0 );
4003 if (!SWIG_IsOK(res1)) {
4004 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "EditableListBox_GetEditButton" "', expected argument " "1"" of type '" "wxEditableListBox *""'");
4005 }
4006 arg1 = reinterpret_cast< wxEditableListBox * >(argp1);
4007 {
4008 PyThreadState* __tstate = wxPyBeginAllowThreads();
4009 result = (wxBitmapButton *)(arg1)->GetEditButton();
4010 wxPyEndAllowThreads(__tstate);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 }
4013 {
4014 resultobj = wxPyMake_wxObject(result, 0);
4015 }
4016 return resultobj;
4017fail:
4018 return NULL;
4019}
4020
4021
4022SWIGINTERN PyObject *EditableListBox_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4023 PyObject *obj;
4024 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxEditableListBox, SWIG_NewClientData(obj));
4026 return SWIG_Py_Void();
4027}
4028
4029SWIGINTERN PyObject *EditableListBox_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4030 return SWIG_Python_InitShadowInstance(args);
4031}
4032
4033SWIGINTERN PyObject *_wrap_new_RemotelyScrolledTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4034 PyObject *resultobj = 0;
4035 wxWindow *arg1 = (wxWindow *) 0 ;
4036 int arg2 ;
4037 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4038 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4039 wxSize const &arg4_defvalue = wxDefaultSize ;
4040 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4041 long arg5 = (long) wxTR_HAS_BUTTONS ;
4042 wxRemotelyScrolledTreeCtrl *result = 0 ;
4043 void *argp1 = 0 ;
4044 int res1 = 0 ;
4045 int val2 ;
4046 int ecode2 = 0 ;
4047 wxPoint temp3 ;
4048 wxSize temp4 ;
4049 long val5 ;
4050 int ecode5 = 0 ;
4051 PyObject * obj0 = 0 ;
4052 PyObject * obj1 = 0 ;
4053 PyObject * obj2 = 0 ;
4054 PyObject * obj3 = 0 ;
4055 PyObject * obj4 = 0 ;
4056 char * kwnames[] = {
4057 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4058 };
4059
4060 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_RemotelyScrolledTreeCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4061 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4062 if (!SWIG_IsOK(res1)) {
4063 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4064 }
4065 arg1 = reinterpret_cast< wxWindow * >(argp1);
4066 ecode2 = SWIG_AsVal_int(obj1, &val2);
4067 if (!SWIG_IsOK(ecode2)) {
4068 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "2"" of type '" "int""'");
4069 }
4070 arg2 = static_cast< int >(val2);
4071 if (obj2) {
44127b65 4072 {
0085ce49
RD
4073 arg3 = &temp3;
4074 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4075 }
0085ce49
RD
4076 }
4077 if (obj3) {
44127b65 4078 {
0085ce49
RD
4079 arg4 = &temp4;
4080 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4081 }
0085ce49
RD
4082 }
4083 if (obj4) {
4084 ecode5 = SWIG_AsVal_long(obj4, &val5);
4085 if (!SWIG_IsOK(ecode5)) {
4086 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_RemotelyScrolledTreeCtrl" "', expected argument " "5"" of type '" "long""'");
4087 }
4088 arg5 = static_cast< long >(val5);
4089 }
4090 {
4091 if (!wxPyCheckForApp()) SWIG_fail;
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (wxRemotelyScrolledTreeCtrl *)new wxRemotelyScrolledTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4094 wxPyEndAllowThreads(__tstate);
4095 if (PyErr_Occurred()) SWIG_fail;
4096 }
4097 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_POINTER_NEW | 0 );
4098 return resultobj;
4099fail:
4100 return NULL;
44127b65
RD
4101}
4102
4103
0085ce49
RD
4104SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4105 PyObject *resultobj = 0;
4106 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4107 void *argp1 = 0 ;
4108 int res1 = 0 ;
4109 PyObject *swig_obj[1] ;
4110
4111 if (!args) SWIG_fail;
4112 swig_obj[0] = args;
4113 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4114 if (!SWIG_IsOK(res1)) {
4115 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_HideVScrollbar" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4116 }
4117 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4118 {
4119 PyThreadState* __tstate = wxPyBeginAllowThreads();
4120 (arg1)->HideVScrollbar();
4121 wxPyEndAllowThreads(__tstate);
4122 if (PyErr_Occurred()) SWIG_fail;
4123 }
4124 resultobj = SWIG_Py_Void();
4125 return resultobj;
4126fail:
4127 return NULL;
44127b65
RD
4128}
4129
4130
0085ce49
RD
4131SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4132 PyObject *resultobj = 0;
4133 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4134 void *argp1 = 0 ;
4135 int res1 = 0 ;
4136 PyObject *swig_obj[1] ;
4137
4138 if (!args) SWIG_fail;
4139 swig_obj[0] = args;
4140 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4141 if (!SWIG_IsOK(res1)) {
4142 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4143 }
4144 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4145 {
4146 PyThreadState* __tstate = wxPyBeginAllowThreads();
4147 (arg1)->AdjustRemoteScrollbars();
4148 wxPyEndAllowThreads(__tstate);
4149 if (PyErr_Occurred()) SWIG_fail;
4150 }
4151 resultobj = SWIG_Py_Void();
4152 return resultobj;
4153fail:
4154 return NULL;
44127b65
RD
4155}
4156
4157
0085ce49
RD
4158SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4159 PyObject *resultobj = 0;
4160 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4161 wxScrolledWindow *result = 0 ;
4162 void *argp1 = 0 ;
4163 int res1 = 0 ;
4164 PyObject *swig_obj[1] ;
4165
4166 if (!args) SWIG_fail;
4167 swig_obj[0] = args;
4168 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4169 if (!SWIG_IsOK(res1)) {
4170 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetScrolledWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4171 }
4172 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = (wxScrolledWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetScrolledWindow();
4176 wxPyEndAllowThreads(__tstate);
4177 if (PyErr_Occurred()) SWIG_fail;
4178 }
4179 {
4180 resultobj = wxPyMake_wxObject(result, 0);
4181 }
4182 return resultobj;
4183fail:
4184 return NULL;
4185}
4186
4187
4188SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_ScrollToLine(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4189 PyObject *resultobj = 0;
4190 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4191 int arg2 ;
4192 int arg3 ;
4193 void *argp1 = 0 ;
4194 int res1 = 0 ;
4195 int val2 ;
4196 int ecode2 = 0 ;
4197 int val3 ;
4198 int ecode3 = 0 ;
4199 PyObject * obj0 = 0 ;
4200 PyObject * obj1 = 0 ;
4201 PyObject * obj2 = 0 ;
4202 char * kwnames[] = {
4203 (char *) "self",(char *) "posHoriz",(char *) "posVert", NULL
4204 };
4205
4206 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RemotelyScrolledTreeCtrl_ScrollToLine",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4207 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4208 if (!SWIG_IsOK(res1)) {
4209 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4210 }
4211 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4212 ecode2 = SWIG_AsVal_int(obj1, &val2);
4213 if (!SWIG_IsOK(ecode2)) {
4214 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "2"" of type '" "int""'");
4215 }
4216 arg2 = static_cast< int >(val2);
4217 ecode3 = SWIG_AsVal_int(obj2, &val3);
4218 if (!SWIG_IsOK(ecode3)) {
4219 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "RemotelyScrolledTreeCtrl_ScrollToLine" "', expected argument " "3"" of type '" "int""'");
4220 }
4221 arg3 = static_cast< int >(val3);
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 (arg1)->ScrollToLine(arg2,arg3);
4225 wxPyEndAllowThreads(__tstate);
4226 if (PyErr_Occurred()) SWIG_fail;
4227 }
4228 resultobj = SWIG_Py_Void();
4229 return resultobj;
4230fail:
4231 return NULL;
4232}
4233
4234
4235SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj = 0;
4237 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4238 wxWindow *arg2 = (wxWindow *) 0 ;
4239 void *argp1 = 0 ;
4240 int res1 = 0 ;
4241 void *argp2 = 0 ;
4242 int res2 = 0 ;
4243 PyObject * obj0 = 0 ;
4244 PyObject * obj1 = 0 ;
4245 char * kwnames[] = {
4246 (char *) "self",(char *) "companion", NULL
4247 };
4248
4249 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RemotelyScrolledTreeCtrl_SetCompanionWindow",kwnames,&obj0,&obj1)) SWIG_fail;
4250 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4251 if (!SWIG_IsOK(res1)) {
4252 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4253 }
4254 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4255 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4256 if (!SWIG_IsOK(res2)) {
4257 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "RemotelyScrolledTreeCtrl_SetCompanionWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
4258 }
4259 arg2 = reinterpret_cast< wxWindow * >(argp2);
4260 {
4261 PyThreadState* __tstate = wxPyBeginAllowThreads();
4262 (arg1)->SetCompanionWindow(arg2);
4263 wxPyEndAllowThreads(__tstate);
4264 if (PyErr_Occurred()) SWIG_fail;
4265 }
4266 resultobj = SWIG_Py_Void();
4267 return resultobj;
4268fail:
4269 return NULL;
44127b65
RD
4270}
4271
4272
0085ce49
RD
4273SWIGINTERN PyObject *_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4274 PyObject *resultobj = 0;
4275 wxRemotelyScrolledTreeCtrl *arg1 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4276 wxWindow *result = 0 ;
4277 void *argp1 = 0 ;
4278 int res1 = 0 ;
4279 PyObject *swig_obj[1] ;
4280
4281 if (!args) SWIG_fail;
4282 swig_obj[0] = args;
4283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4284 if (!SWIG_IsOK(res1)) {
4285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "RemotelyScrolledTreeCtrl_GetCompanionWindow" "', expected argument " "1"" of type '" "wxRemotelyScrolledTreeCtrl const *""'");
4286 }
4287 arg1 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp1);
4288 {
4289 PyThreadState* __tstate = wxPyBeginAllowThreads();
4290 result = (wxWindow *)((wxRemotelyScrolledTreeCtrl const *)arg1)->GetCompanionWindow();
4291 wxPyEndAllowThreads(__tstate);
4292 if (PyErr_Occurred()) SWIG_fail;
4293 }
4294 {
4295 resultobj = wxPyMake_wxObject(result, 0);
4296 }
4297 return resultobj;
4298fail:
4299 return NULL;
4300}
4301
4302
4303SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4304 PyObject *obj;
4305 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4306 SWIG_TypeNewClientData(SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, SWIG_NewClientData(obj));
4307 return SWIG_Py_Void();
4308}
4309
4310SWIGINTERN PyObject *RemotelyScrolledTreeCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4311 return SWIG_Python_InitShadowInstance(args);
4312}
4313
4314SWIGINTERN PyObject *_wrap_new_TreeCompanionWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj = 0;
4316 wxWindow *arg1 = (wxWindow *) 0 ;
4317 int arg2 = (int) -1 ;
4318 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4319 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4320 wxSize const &arg4_defvalue = wxDefaultSize ;
4321 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4322 long arg5 = (long) 0 ;
4323 wxPyTreeCompanionWindow *result = 0 ;
4324 void *argp1 = 0 ;
4325 int res1 = 0 ;
4326 int val2 ;
4327 int ecode2 = 0 ;
4328 wxPoint temp3 ;
4329 wxSize temp4 ;
4330 long val5 ;
4331 int ecode5 = 0 ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 PyObject * obj2 = 0 ;
4335 PyObject * obj3 = 0 ;
4336 PyObject * obj4 = 0 ;
4337 char * kwnames[] = {
4338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4339 };
4340
4341 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_TreeCompanionWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4342 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4343 if (!SWIG_IsOK(res1)) {
4344 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeCompanionWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4345 }
4346 arg1 = reinterpret_cast< wxWindow * >(argp1);
4347 if (obj1) {
4348 ecode2 = SWIG_AsVal_int(obj1, &val2);
4349 if (!SWIG_IsOK(ecode2)) {
4350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeCompanionWindow" "', expected argument " "2"" of type '" "int""'");
4351 }
4352 arg2 = static_cast< int >(val2);
4353 }
4354 if (obj2) {
44127b65 4355 {
0085ce49
RD
4356 arg3 = &temp3;
4357 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4358 }
0085ce49
RD
4359 }
4360 if (obj3) {
44127b65 4361 {
0085ce49
RD
4362 arg4 = &temp4;
4363 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4364 }
0085ce49
RD
4365 }
4366 if (obj4) {
4367 ecode5 = SWIG_AsVal_long(obj4, &val5);
4368 if (!SWIG_IsOK(ecode5)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeCompanionWindow" "', expected argument " "5"" of type '" "long""'");
4370 }
4371 arg5 = static_cast< long >(val5);
4372 }
4373 {
4374 if (!wxPyCheckForApp()) SWIG_fail;
4375 PyThreadState* __tstate = wxPyBeginAllowThreads();
4376 result = (wxPyTreeCompanionWindow *)new wxPyTreeCompanionWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4377 wxPyEndAllowThreads(__tstate);
4378 if (PyErr_Occurred()) SWIG_fail;
4379 }
4380 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_POINTER_NEW | 0 );
4381 return resultobj;
4382fail:
4383 return NULL;
4384}
4385
4386
4387SWIGINTERN PyObject *_wrap_TreeCompanionWindow__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4388 PyObject *resultobj = 0;
4389 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4390 PyObject *arg2 = (PyObject *) 0 ;
4391 PyObject *arg3 = (PyObject *) 0 ;
4392 void *argp1 = 0 ;
4393 int res1 = 0 ;
4394 PyObject * obj0 = 0 ;
4395 PyObject * obj1 = 0 ;
4396 PyObject * obj2 = 0 ;
4397 char * kwnames[] = {
4398 (char *) "self",(char *) "self",(char *) "_class", NULL
4399 };
4400
4401 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCompanionWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4402 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4403 if (!SWIG_IsOK(res1)) {
4404 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4405 }
4406 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4407 arg2 = obj1;
4408 arg3 = obj2;
4409 {
4410 PyThreadState* __tstate = wxPyBeginAllowThreads();
4411 (arg1)->_setCallbackInfo(arg2,arg3);
4412 wxPyEndAllowThreads(__tstate);
4413 if (PyErr_Occurred()) SWIG_fail;
4414 }
4415 resultobj = SWIG_Py_Void();
4416 return resultobj;
4417fail:
4418 return NULL;
44127b65
RD
4419}
4420
4421
0085ce49
RD
4422SWIGINTERN PyObject *_wrap_TreeCompanionWindow_GetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4423 PyObject *resultobj = 0;
4424 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4425 wxRemotelyScrolledTreeCtrl *result = 0 ;
4426 void *argp1 = 0 ;
4427 int res1 = 0 ;
4428 PyObject *swig_obj[1] ;
4429
4430 if (!args) SWIG_fail;
4431 swig_obj[0] = args;
4432 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4433 if (!SWIG_IsOK(res1)) {
4434 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_GetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow const *""'");
4435 }
4436 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (wxRemotelyScrolledTreeCtrl *)((wxPyTreeCompanionWindow const *)arg1)->GetTreeCtrl();
4440 wxPyEndAllowThreads(__tstate);
4441 if (PyErr_Occurred()) SWIG_fail;
4442 }
4443 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4444 return resultobj;
4445fail:
4446 return NULL;
4447}
4448
4449
4450SWIGINTERN PyObject *_wrap_TreeCompanionWindow_SetTreeCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4451 PyObject *resultobj = 0;
4452 wxPyTreeCompanionWindow *arg1 = (wxPyTreeCompanionWindow *) 0 ;
4453 wxRemotelyScrolledTreeCtrl *arg2 = (wxRemotelyScrolledTreeCtrl *) 0 ;
4454 void *argp1 = 0 ;
4455 int res1 = 0 ;
4456 void *argp2 = 0 ;
4457 int res2 = 0 ;
4458 PyObject * obj0 = 0 ;
4459 PyObject * obj1 = 0 ;
4460 char * kwnames[] = {
4461 (char *) "self",(char *) "treeCtrl", NULL
4462 };
4463
4464 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCompanionWindow_SetTreeCtrl",kwnames,&obj0,&obj1)) SWIG_fail;
4465 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeCompanionWindow, 0 | 0 );
4466 if (!SWIG_IsOK(res1)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "1"" of type '" "wxPyTreeCompanionWindow *""'");
4468 }
4469 arg1 = reinterpret_cast< wxPyTreeCompanionWindow * >(argp1);
4470 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxRemotelyScrolledTreeCtrl, 0 | 0 );
4471 if (!SWIG_IsOK(res2)) {
4472 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeCompanionWindow_SetTreeCtrl" "', expected argument " "2"" of type '" "wxRemotelyScrolledTreeCtrl *""'");
4473 }
4474 arg2 = reinterpret_cast< wxRemotelyScrolledTreeCtrl * >(argp2);
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 (arg1)->SetTreeCtrl(arg2);
4478 wxPyEndAllowThreads(__tstate);
4479 if (PyErr_Occurred()) SWIG_fail;
4480 }
4481 resultobj = SWIG_Py_Void();
4482 return resultobj;
4483fail:
4484 return NULL;
4485}
4486
4487
4488SWIGINTERN PyObject *TreeCompanionWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4489 PyObject *obj;
4490 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4491 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeCompanionWindow, SWIG_NewClientData(obj));
4492 return SWIG_Py_Void();
4493}
4494
4495SWIGINTERN PyObject *TreeCompanionWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4496 return SWIG_Python_InitShadowInstance(args);
4497}
4498
4499SWIGINTERN PyObject *_wrap_new_ThinSplitterWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4500 PyObject *resultobj = 0;
4501 wxWindow *arg1 = (wxWindow *) 0 ;
4502 int arg2 = (int) -1 ;
4503 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4504 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4505 wxSize const &arg4_defvalue = wxDefaultSize ;
4506 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4507 long arg5 = (long) wxSP_3D|wxCLIP_CHILDREN ;
4508 wxThinSplitterWindow *result = 0 ;
4509 void *argp1 = 0 ;
4510 int res1 = 0 ;
4511 int val2 ;
4512 int ecode2 = 0 ;
4513 wxPoint temp3 ;
4514 wxSize temp4 ;
4515 long val5 ;
4516 int ecode5 = 0 ;
4517 PyObject * obj0 = 0 ;
4518 PyObject * obj1 = 0 ;
4519 PyObject * obj2 = 0 ;
4520 PyObject * obj3 = 0 ;
4521 PyObject * obj4 = 0 ;
4522 char * kwnames[] = {
4523 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4524 };
4525
4526 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_ThinSplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4527 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4528 if (!SWIG_IsOK(res1)) {
4529 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_ThinSplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4530 }
4531 arg1 = reinterpret_cast< wxWindow * >(argp1);
4532 if (obj1) {
4533 ecode2 = SWIG_AsVal_int(obj1, &val2);
4534 if (!SWIG_IsOK(ecode2)) {
4535 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_ThinSplitterWindow" "', expected argument " "2"" of type '" "int""'");
4536 }
4537 arg2 = static_cast< int >(val2);
4538 }
4539 if (obj2) {
44127b65 4540 {
0085ce49
RD
4541 arg3 = &temp3;
4542 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4543 }
0085ce49
RD
4544 }
4545 if (obj3) {
412d302d 4546 {
0085ce49
RD
4547 arg4 = &temp4;
4548 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
412d302d 4549 }
0085ce49
RD
4550 }
4551 if (obj4) {
4552 ecode5 = SWIG_AsVal_long(obj4, &val5);
4553 if (!SWIG_IsOK(ecode5)) {
4554 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_ThinSplitterWindow" "', expected argument " "5"" of type '" "long""'");
4555 }
4556 arg5 = static_cast< long >(val5);
4557 }
4558 {
4559 if (!wxPyCheckForApp()) SWIG_fail;
4560 PyThreadState* __tstate = wxPyBeginAllowThreads();
4561 result = (wxThinSplitterWindow *)new wxThinSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4562 wxPyEndAllowThreads(__tstate);
4563 if (PyErr_Occurred()) SWIG_fail;
4564 }
4565 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxThinSplitterWindow, SWIG_POINTER_NEW | 0 );
4566 return resultobj;
4567fail:
4568 return NULL;
4569}
4570
4571
4572SWIGINTERN PyObject *ThinSplitterWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4573 PyObject *obj;
4574 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4575 SWIG_TypeNewClientData(SWIGTYPE_p_wxThinSplitterWindow, SWIG_NewClientData(obj));
4576 return SWIG_Py_Void();
4577}
4578
4579SWIGINTERN PyObject *ThinSplitterWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4580 return SWIG_Python_InitShadowInstance(args);
4581}
4582
4583SWIGINTERN PyObject *_wrap_new_SplitterScrolledWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4584 PyObject *resultobj = 0;
4585 wxWindow *arg1 = (wxWindow *) 0 ;
4586 int arg2 = (int) -1 ;
4587 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4588 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4589 wxSize const &arg4_defvalue = wxDefaultSize ;
4590 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4591 long arg5 = (long) 0 ;
4592 wxSplitterScrolledWindow *result = 0 ;
4593 void *argp1 = 0 ;
4594 int res1 = 0 ;
4595 int val2 ;
4596 int ecode2 = 0 ;
4597 wxPoint temp3 ;
4598 wxSize temp4 ;
4599 long val5 ;
4600 int ecode5 = 0 ;
4601 PyObject * obj0 = 0 ;
4602 PyObject * obj1 = 0 ;
4603 PyObject * obj2 = 0 ;
4604 PyObject * obj3 = 0 ;
4605 PyObject * obj4 = 0 ;
4606 char * kwnames[] = {
4607 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4608 };
4609
4610 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_SplitterScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4611 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4612 if (!SWIG_IsOK(res1)) {
4613 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SplitterScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4614 }
4615 arg1 = reinterpret_cast< wxWindow * >(argp1);
4616 if (obj1) {
4617 ecode2 = SWIG_AsVal_int(obj1, &val2);
4618 if (!SWIG_IsOK(ecode2)) {
4619 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_SplitterScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4620 }
4621 arg2 = static_cast< int >(val2);
4622 }
4623 if (obj2) {
3004cfd8 4624 {
0085ce49
RD
4625 arg3 = &temp3;
4626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3004cfd8 4627 }
0085ce49
RD
4628 }
4629 if (obj3) {
3004cfd8 4630 {
0085ce49
RD
4631 arg4 = &temp4;
4632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3004cfd8 4633 }
0085ce49
RD
4634 }
4635 if (obj4) {
4636 ecode5 = SWIG_AsVal_long(obj4, &val5);
4637 if (!SWIG_IsOK(ecode5)) {
4638 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_SplitterScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4639 }
4640 arg5 = static_cast< long >(val5);
4641 }
4642 {
4643 if (!wxPyCheckForApp()) SWIG_fail;
4644 PyThreadState* __tstate = wxPyBeginAllowThreads();
4645 result = (wxSplitterScrolledWindow *)new wxSplitterScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
4649 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_POINTER_NEW | 0 );
4650 return resultobj;
4651fail:
4652 return NULL;
4653}
4654
4655
4656SWIGINTERN PyObject *SplitterScrolledWindow_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4657 PyObject *obj;
4658 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
4659 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterScrolledWindow, SWIG_NewClientData(obj));
4660 return SWIG_Py_Void();
4661}
4662
4663SWIGINTERN PyObject *SplitterScrolledWindow_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4664 return SWIG_Python_InitShadowInstance(args);
4665}
4666
4667SWIGINTERN PyObject *_wrap_new_LEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4668 PyObject *resultobj = 0;
4669 wxWindow *arg1 = (wxWindow *) 0 ;
4670 int arg2 = (int) -1 ;
4671 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4672 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4673 wxSize const &arg4_defvalue = wxDefaultSize ;
4674 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4675 long arg5 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4676 wxLEDNumberCtrl *result = 0 ;
4677 void *argp1 = 0 ;
4678 int res1 = 0 ;
4679 int val2 ;
4680 int ecode2 = 0 ;
4681 wxPoint temp3 ;
4682 wxSize temp4 ;
4683 long val5 ;
4684 int ecode5 = 0 ;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 PyObject * obj2 = 0 ;
4688 PyObject * obj3 = 0 ;
4689 PyObject * obj4 = 0 ;
4690 char * kwnames[] = {
4691 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4692 };
4693
4694 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:new_LEDNumberCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
4695 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
4696 if (!SWIG_IsOK(res1)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_LEDNumberCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
4698 }
4699 arg1 = reinterpret_cast< wxWindow * >(argp1);
4700 if (obj1) {
4701 ecode2 = SWIG_AsVal_int(obj1, &val2);
4702 if (!SWIG_IsOK(ecode2)) {
4703 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_LEDNumberCtrl" "', expected argument " "2"" of type '" "int""'");
4704 }
4705 arg2 = static_cast< int >(val2);
4706 }
4707 if (obj2) {
44127b65 4708 {
0085ce49
RD
4709 arg3 = &temp3;
4710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 4711 }
0085ce49
RD
4712 }
4713 if (obj3) {
44127b65 4714 {
0085ce49
RD
4715 arg4 = &temp4;
4716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 4717 }
0085ce49
RD
4718 }
4719 if (obj4) {
4720 ecode5 = SWIG_AsVal_long(obj4, &val5);
4721 if (!SWIG_IsOK(ecode5)) {
4722 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_LEDNumberCtrl" "', expected argument " "5"" of type '" "long""'");
4723 }
4724 arg5 = static_cast< long >(val5);
4725 }
4726 {
4727 if (!wxPyCheckForApp()) SWIG_fail;
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
4730 wxPyEndAllowThreads(__tstate);
4731 if (PyErr_Occurred()) SWIG_fail;
4732 }
4733 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_NEW | 0 );
4734 return resultobj;
4735fail:
4736 return NULL;
44127b65
RD
4737}
4738
4739
0085ce49
RD
4740SWIGINTERN PyObject *_wrap_new_PreLEDNumberCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4741 PyObject *resultobj = 0;
4742 wxLEDNumberCtrl *result = 0 ;
4743
4744 if (!SWIG_Python_UnpackTuple(args,"new_PreLEDNumberCtrl",0,0,0)) SWIG_fail;
4745 {
4746 if (!wxPyCheckForApp()) SWIG_fail;
4747 PyThreadState* __tstate = wxPyBeginAllowThreads();
4748 result = (wxLEDNumberCtrl *)new wxLEDNumberCtrl();
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxLEDNumberCtrl, SWIG_POINTER_OWN | 0 );
4753 return resultobj;
4754fail:
4755 return NULL;
4756}
4757
4758
4759SWIGINTERN PyObject *_wrap_LEDNumberCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4760 PyObject *resultobj = 0;
4761 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4762 wxWindow *arg2 = (wxWindow *) 0 ;
4763 int arg3 = (int) -1 ;
4764 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4765 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4766 wxSize const &arg5_defvalue = wxDefaultSize ;
4767 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4768 long arg6 = (long) wxLED_ALIGN_LEFT|wxLED_DRAW_FADED ;
4769 bool result;
4770 void *argp1 = 0 ;
4771 int res1 = 0 ;
4772 void *argp2 = 0 ;
4773 int res2 = 0 ;
4774 int val3 ;
4775 int ecode3 = 0 ;
4776 wxPoint temp4 ;
4777 wxSize temp5 ;
4778 long val6 ;
4779 int ecode6 = 0 ;
4780 PyObject * obj0 = 0 ;
4781 PyObject * obj1 = 0 ;
4782 PyObject * obj2 = 0 ;
4783 PyObject * obj3 = 0 ;
4784 PyObject * obj4 = 0 ;
4785 PyObject * obj5 = 0 ;
4786 char * kwnames[] = {
4787 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4788 };
4789
4790 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:LEDNumberCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
4791 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4792 if (!SWIG_IsOK(res1)) {
4793 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_Create" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4794 }
4795 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4796 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
4797 if (!SWIG_IsOK(res2)) {
4798 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "LEDNumberCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4799 }
4800 arg2 = reinterpret_cast< wxWindow * >(argp2);
4801 if (obj2) {
4802 ecode3 = SWIG_AsVal_int(obj2, &val3);
4803 if (!SWIG_IsOK(ecode3)) {
4804 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_Create" "', expected argument " "3"" of type '" "int""'");
4805 }
4806 arg3 = static_cast< int >(val3);
4807 }
4808 if (obj3) {
44127b65 4809 {
0085ce49
RD
4810 arg4 = &temp4;
4811 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 4812 }
0085ce49
RD
4813 }
4814 if (obj4) {
44127b65 4815 {
0085ce49
RD
4816 arg5 = &temp5;
4817 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
44127b65 4818 }
0085ce49
RD
4819 }
4820 if (obj5) {
4821 ecode6 = SWIG_AsVal_long(obj5, &val6);
4822 if (!SWIG_IsOK(ecode6)) {
4823 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "LEDNumberCtrl_Create" "', expected argument " "6"" of type '" "long""'");
4824 }
4825 arg6 = static_cast< long >(val6);
4826 }
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4835 }
4836 return resultobj;
4837fail:
4838 return NULL;
44127b65
RD
4839}
4840
4841
0085ce49
RD
4842SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4843 PyObject *resultobj = 0;
4844 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4845 wxLEDValueAlign result;
4846 void *argp1 = 0 ;
4847 int res1 = 0 ;
4848 PyObject *swig_obj[1] ;
4849
4850 if (!args) SWIG_fail;
4851 swig_obj[0] = args;
4852 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4853 if (!SWIG_IsOK(res1)) {
4854 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4855 }
4856 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4857 {
4858 PyThreadState* __tstate = wxPyBeginAllowThreads();
4859 result = (wxLEDValueAlign)((wxLEDNumberCtrl const *)arg1)->GetAlignment();
4860 wxPyEndAllowThreads(__tstate);
4861 if (PyErr_Occurred()) SWIG_fail;
4862 }
4863 resultobj = SWIG_From_int(static_cast< int >(result));
4864 return resultobj;
4865fail:
4866 return NULL;
44127b65
RD
4867}
4868
4869
0085ce49
RD
4870SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4871 PyObject *resultobj = 0;
4872 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4873 bool result;
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_GetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4883 }
4884 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4885 {
4886 PyThreadState* __tstate = wxPyBeginAllowThreads();
4887 result = (bool)((wxLEDNumberCtrl const *)arg1)->GetDrawFaded();
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
4891 {
4892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4893 }
4894 return resultobj;
4895fail:
4896 return NULL;
44127b65
RD
4897}
4898
4899
0085ce49
RD
4900SWIGINTERN PyObject *_wrap_LEDNumberCtrl_GetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
4901 PyObject *resultobj = 0;
4902 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4903 wxString *result = 0 ;
4904 void *argp1 = 0 ;
4905 int res1 = 0 ;
4906 PyObject *swig_obj[1] ;
4907
4908 if (!args) SWIG_fail;
4909 swig_obj[0] = args;
4910 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4911 if (!SWIG_IsOK(res1)) {
4912 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_GetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl const *""'");
4913 }
4914 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 {
4918 wxString const &_result_ref = ((wxLEDNumberCtrl const *)arg1)->GetValue();
4919 result = (wxString *) &_result_ref;
44127b65 4920 }
0085ce49
RD
4921 wxPyEndAllowThreads(__tstate);
4922 if (PyErr_Occurred()) SWIG_fail;
4923 }
4924 {
4925#if wxUSE_UNICODE
4926 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
4927#else
4928 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
4929#endif
4930 }
4931 return resultobj;
4932fail:
4933 return NULL;
4934}
4935
4936
4937SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj = 0;
4939 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4940 wxLEDValueAlign arg2 ;
4941 bool arg3 = (bool) true ;
4942 void *argp1 = 0 ;
4943 int res1 = 0 ;
4944 int val2 ;
4945 int ecode2 = 0 ;
4946 bool val3 ;
4947 int ecode3 = 0 ;
4948 PyObject * obj0 = 0 ;
4949 PyObject * obj1 = 0 ;
4950 PyObject * obj2 = 0 ;
4951 char * kwnames[] = {
4952 (char *) "self",(char *) "Alignment",(char *) "Redraw", NULL
4953 };
4954
4955 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
4956 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
4957 if (!SWIG_IsOK(res1)) {
4958 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
4959 }
4960 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
4961 ecode2 = SWIG_AsVal_int(obj1, &val2);
4962 if (!SWIG_IsOK(ecode2)) {
4963 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "2"" of type '" "wxLEDValueAlign""'");
4964 }
4965 arg2 = static_cast< wxLEDValueAlign >(val2);
4966 if (obj2) {
4967 ecode3 = SWIG_AsVal_bool(obj2, &val3);
4968 if (!SWIG_IsOK(ecode3)) {
4969 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetAlignment" "', expected argument " "3"" of type '" "bool""'");
4970 }
4971 arg3 = static_cast< bool >(val3);
4972 }
4973 {
4974 PyThreadState* __tstate = wxPyBeginAllowThreads();
4975 (arg1)->SetAlignment(arg2,arg3);
4976 wxPyEndAllowThreads(__tstate);
4977 if (PyErr_Occurred()) SWIG_fail;
4978 }
4979 resultobj = SWIG_Py_Void();
4980 return resultobj;
4981fail:
4982 return NULL;
4983}
4984
4985
4986SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetDrawFaded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj = 0;
4988 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
4989 bool arg2 ;
4990 bool arg3 = (bool) true ;
4991 void *argp1 = 0 ;
4992 int res1 = 0 ;
4993 bool val2 ;
4994 int ecode2 = 0 ;
4995 bool val3 ;
4996 int ecode3 = 0 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 PyObject * obj2 = 0 ;
5000 char * kwnames[] = {
5001 (char *) "self",(char *) "DrawFaded",(char *) "Redraw", NULL
5002 };
5003
5004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetDrawFaded",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5006 if (!SWIG_IsOK(res1)) {
5007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5008 }
5009 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5010 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5011 if (!SWIG_IsOK(ecode2)) {
5012 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "2"" of type '" "bool""'");
5013 }
5014 arg2 = static_cast< bool >(val2);
5015 if (obj2) {
5016 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5017 if (!SWIG_IsOK(ecode3)) {
5018 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetDrawFaded" "', expected argument " "3"" of type '" "bool""'");
5019 }
5020 arg3 = static_cast< bool >(val3);
5021 }
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 (arg1)->SetDrawFaded(arg2,arg3);
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 resultobj = SWIG_Py_Void();
5029 return resultobj;
5030fail:
5031 return NULL;
5032}
5033
5034
5035SWIGINTERN PyObject *_wrap_LEDNumberCtrl_SetValue(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5036 PyObject *resultobj = 0;
5037 wxLEDNumberCtrl *arg1 = (wxLEDNumberCtrl *) 0 ;
5038 wxString *arg2 = 0 ;
5039 bool arg3 = (bool) true ;
5040 void *argp1 = 0 ;
5041 int res1 = 0 ;
5042 bool temp2 = false ;
5043 bool val3 ;
5044 int ecode3 = 0 ;
5045 PyObject * obj0 = 0 ;
5046 PyObject * obj1 = 0 ;
5047 PyObject * obj2 = 0 ;
5048 char * kwnames[] = {
5049 (char *) "self",(char *) "Value",(char *) "Redraw", NULL
5050 };
5051
5052 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LEDNumberCtrl_SetValue",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5053 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxLEDNumberCtrl, 0 | 0 );
5054 if (!SWIG_IsOK(res1)) {
5055 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "1"" of type '" "wxLEDNumberCtrl *""'");
5056 }
5057 arg1 = reinterpret_cast< wxLEDNumberCtrl * >(argp1);
5058 {
5059 arg2 = wxString_in_helper(obj1);
5060 if (arg2 == NULL) SWIG_fail;
5061 temp2 = true;
5062 }
5063 if (obj2) {
5064 ecode3 = SWIG_AsVal_bool(obj2, &val3);
5065 if (!SWIG_IsOK(ecode3)) {
5066 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "LEDNumberCtrl_SetValue" "', expected argument " "3"" of type '" "bool""'");
5067 }
5068 arg3 = static_cast< bool >(val3);
5069 }
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 (arg1)->SetValue((wxString const &)*arg2,arg3);
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 resultobj = SWIG_Py_Void();
5077 {
5078 if (temp2)
5079 delete arg2;
5080 }
5081 return resultobj;
5082fail:
5083 {
5084 if (temp2)
5085 delete arg2;
5086 }
5087 return NULL;
5088}
5089
5090
5091SWIGINTERN PyObject *LEDNumberCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5092 PyObject *obj;
5093 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5094 SWIG_TypeNewClientData(SWIGTYPE_p_wxLEDNumberCtrl, SWIG_NewClientData(obj));
5095 return SWIG_Py_Void();
5096}
5097
5098SWIGINTERN PyObject *LEDNumberCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5099 return SWIG_Python_InitShadowInstance(args);
5100}
5101
33d6fd3b
RD
5102SWIGINTERN int TreeListCtrlNameStr_set(PyObject *) {
5103 SWIG_Error(SWIG_AttributeError,"Variable TreeListCtrlNameStr is read-only.");
5104 return 1;
5105}
5106
5107
5108SWIGINTERN PyObject *TreeListCtrlNameStr_get(void) {
5109 PyObject *pyobj = 0;
5110
5111 {
5112#if wxUSE_UNICODE
5113 pyobj = PyUnicode_FromWideChar((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5114#else
5115 pyobj = PyString_FromStringAndSize((&wxPyTreeListCtrlNameStr)->c_str(), (&wxPyTreeListCtrlNameStr)->Len());
5116#endif
5117 }
5118 return pyobj;
5119}
5120
5121
0085ce49
RD
5122SWIGINTERN PyObject *_wrap_new_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj = 0;
5124 wxString const &arg1_defvalue = wxPyEmptyString ;
5125 wxString *arg1 = (wxString *) &arg1_defvalue ;
33d6fd3b
RD
5126 int arg2 = (int) DEFAULT_COL_WIDTH ;
5127 int arg3 = (int) wxALIGN_LEFT ;
5128 int arg4 = (int) -1 ;
5129 bool arg5 = (bool) true ;
5130 bool arg6 = (bool) false ;
0085ce49
RD
5131 wxTreeListColumnInfo *result = 0 ;
5132 bool temp1 = false ;
5133 int val2 ;
5134 int ecode2 = 0 ;
33d6fd3b 5135 int val3 ;
0085ce49 5136 int ecode3 = 0 ;
33d6fd3b 5137 int val4 ;
0085ce49 5138 int ecode4 = 0 ;
33d6fd3b 5139 bool val5 ;
0085ce49 5140 int ecode5 = 0 ;
33d6fd3b
RD
5141 bool val6 ;
5142 int ecode6 = 0 ;
0085ce49
RD
5143 PyObject * obj0 = 0 ;
5144 PyObject * obj1 = 0 ;
5145 PyObject * obj2 = 0 ;
5146 PyObject * obj3 = 0 ;
5147 PyObject * obj4 = 0 ;
33d6fd3b 5148 PyObject * obj5 = 0 ;
0085ce49 5149 char * kwnames[] = {
33d6fd3b 5150 (char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
5151 };
5152
33d6fd3b 5153 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_TreeListColumnInfo",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
0085ce49 5154 if (obj0) {
44127b65 5155 {
0085ce49
RD
5156 arg1 = wxString_in_helper(obj0);
5157 if (arg1 == NULL) SWIG_fail;
5158 temp1 = true;
44127b65 5159 }
0085ce49
RD
5160 }
5161 if (obj1) {
5162 ecode2 = SWIG_AsVal_int(obj1, &val2);
5163 if (!SWIG_IsOK(ecode2)) {
5164 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListColumnInfo" "', expected argument " "2"" of type '" "int""'");
5165 }
5166 arg2 = static_cast< int >(val2);
5167 }
5168 if (obj2) {
33d6fd3b 5169 ecode3 = SWIG_AsVal_int(obj2, &val3);
0085ce49 5170 if (!SWIG_IsOK(ecode3)) {
33d6fd3b 5171 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_TreeListColumnInfo" "', expected argument " "3"" of type '" "int""'");
0085ce49 5172 }
33d6fd3b 5173 arg3 = static_cast< int >(val3);
0085ce49
RD
5174 }
5175 if (obj3) {
33d6fd3b 5176 ecode4 = SWIG_AsVal_int(obj3, &val4);
0085ce49 5177 if (!SWIG_IsOK(ecode4)) {
33d6fd3b 5178 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "new_TreeListColumnInfo" "', expected argument " "4"" of type '" "int""'");
0085ce49 5179 }
33d6fd3b 5180 arg4 = static_cast< int >(val4);
0085ce49
RD
5181 }
5182 if (obj4) {
33d6fd3b 5183 ecode5 = SWIG_AsVal_bool(obj4, &val5);
0085ce49 5184 if (!SWIG_IsOK(ecode5)) {
33d6fd3b
RD
5185 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListColumnInfo" "', expected argument " "5"" of type '" "bool""'");
5186 }
5187 arg5 = static_cast< bool >(val5);
5188 }
5189 if (obj5) {
5190 ecode6 = SWIG_AsVal_bool(obj5, &val6);
5191 if (!SWIG_IsOK(ecode6)) {
5192 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_TreeListColumnInfo" "', expected argument " "6"" of type '" "bool""'");
0085ce49 5193 }
33d6fd3b 5194 arg6 = static_cast< bool >(val6);
0085ce49
RD
5195 }
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5198 result = (wxTreeListColumnInfo *)new wxTreeListColumnInfo((wxString const &)*arg1,arg2,arg3,arg4,arg5,arg6);
0085ce49
RD
5199 wxPyEndAllowThreads(__tstate);
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_NEW | 0 );
5203 {
5204 if (temp1)
5205 delete arg1;
5206 }
5207 return resultobj;
5208fail:
5209 {
5210 if (temp1)
5211 delete arg1;
5212 }
5213 return NULL;
44127b65
RD
5214}
5215
5216
01f6b6d3
RD
5217SWIGINTERN PyObject *_wrap_delete_TreeListColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5218 PyObject *resultobj = 0;
5219 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5220 void *argp1 = 0 ;
5221 int res1 = 0 ;
5222 PyObject *swig_obj[1] ;
5223
5224 if (!args) SWIG_fail;
5225 swig_obj[0] = args;
5226 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, SWIG_POINTER_DISOWN | 0 );
5227 if (!SWIG_IsOK(res1)) {
5228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_TreeListColumnInfo" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5229 }
5230 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 delete arg1;
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 resultobj = SWIG_Py_Void();
5239 return resultobj;
5240fail:
5241 return NULL;
5242}
5243
5244
0085ce49
RD
5245SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5246 PyObject *resultobj = 0;
5247 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5248 int result;
0085ce49
RD
5249 void *argp1 = 0 ;
5250 int res1 = 0 ;
5251 PyObject *swig_obj[1] ;
5252
5253 if (!args) SWIG_fail;
5254 swig_obj[0] = args;
5255 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5256 if (!SWIG_IsOK(res1)) {
5257 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5258 }
5259 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5262 result = (int)((wxTreeListColumnInfo const *)arg1)->GetAlignment();
0085ce49
RD
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 resultobj = SWIG_From_int(static_cast< int >(result));
5267 return resultobj;
5268fail:
5269 return NULL;
44127b65
RD
5270}
5271
5272
0085ce49
RD
5273SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5274 PyObject *resultobj = 0;
5275 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5276 wxString result;
5277 void *argp1 = 0 ;
5278 int res1 = 0 ;
5279 PyObject *swig_obj[1] ;
5280
5281 if (!args) SWIG_fail;
5282 swig_obj[0] = args;
5283 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5284 if (!SWIG_IsOK(res1)) {
5285 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5286 }
5287 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5288 {
5289 PyThreadState* __tstate = wxPyBeginAllowThreads();
5290 result = ((wxTreeListColumnInfo const *)arg1)->GetText();
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 {
5295#if wxUSE_UNICODE
5296 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
5297#else
5298 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
5299#endif
5300 }
5301 return resultobj;
5302fail:
5303 return NULL;
44127b65
RD
5304}
5305
5306
0085ce49
RD
5307SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5308 PyObject *resultobj = 0;
5309 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5310 int result;
5311 void *argp1 = 0 ;
5312 int res1 = 0 ;
5313 PyObject *swig_obj[1] ;
5314
5315 if (!args) SWIG_fail;
5316 swig_obj[0] = args;
5317 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5318 if (!SWIG_IsOK(res1)) {
5319 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5320 }
5321 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5322 {
5323 PyThreadState* __tstate = wxPyBeginAllowThreads();
5324 result = (int)((wxTreeListColumnInfo const *)arg1)->GetImage();
5325 wxPyEndAllowThreads(__tstate);
5326 if (PyErr_Occurred()) SWIG_fail;
5327 }
5328 resultobj = SWIG_From_int(static_cast< int >(result));
5329 return resultobj;
5330fail:
5331 return NULL;
44127b65
RD
5332}
5333
5334
0085ce49
RD
5335SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5336 PyObject *resultobj = 0;
5337 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5338 int result;
5339 void *argp1 = 0 ;
5340 int res1 = 0 ;
5341 PyObject *swig_obj[1] ;
5342
5343 if (!args) SWIG_fail;
5344 swig_obj[0] = args;
5345 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5346 if (!SWIG_IsOK(res1)) {
5347 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5348 }
5349 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (int)((wxTreeListColumnInfo const *)arg1)->GetSelectedImage();
5353 wxPyEndAllowThreads(__tstate);
5354 if (PyErr_Occurred()) SWIG_fail;
5355 }
5356 resultobj = SWIG_From_int(static_cast< int >(result));
5357 return resultobj;
5358fail:
5359 return NULL;
44127b65
RD
5360}
5361
5362
0085ce49
RD
5363SWIGINTERN PyObject *_wrap_TreeListColumnInfo_GetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5364 PyObject *resultobj = 0;
5365 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5366 size_t result;
5367 void *argp1 = 0 ;
5368 int res1 = 0 ;
5369 PyObject *swig_obj[1] ;
5370
5371 if (!args) SWIG_fail;
5372 swig_obj[0] = args;
5373 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5374 if (!SWIG_IsOK(res1)) {
5375 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_GetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5376 }
5377 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (size_t)((wxTreeListColumnInfo const *)arg1)->GetWidth();
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
5385 return resultobj;
5386fail:
5387 return NULL;
5388}
5389
5390
33d6fd3b 5391SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
5392 PyObject *resultobj = 0;
5393 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5394 bool result;
0085ce49
RD
5395 void *argp1 = 0 ;
5396 int res1 = 0 ;
33d6fd3b 5397 PyObject *swig_obj[1] ;
0085ce49 5398
33d6fd3b
RD
5399 if (!args) SWIG_fail;
5400 swig_obj[0] = args;
5401 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
0085ce49 5402 if (!SWIG_IsOK(res1)) {
33d6fd3b 5403 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
0085ce49
RD
5404 }
5405 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
0085ce49
RD
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 5408 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsEditable();
0085ce49
RD
5409 wxPyEndAllowThreads(__tstate);
5410 if (PyErr_Occurred()) SWIG_fail;
5411 }
33d6fd3b
RD
5412 {
5413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5414 }
5415 return resultobj;
5416fail:
5417 return NULL;
5418}
5419
5420
5421SWIGINTERN PyObject *_wrap_TreeListColumnInfo_IsShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5422 PyObject *resultobj = 0;
5423 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5424 bool result;
5425 void *argp1 = 0 ;
5426 int res1 = 0 ;
5427 PyObject *swig_obj[1] ;
5428
5429 if (!args) SWIG_fail;
5430 swig_obj[0] = args;
5431 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5432 if (!SWIG_IsOK(res1)) {
5433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_IsShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo const *""'");
5434 }
5435 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxTreeListColumnInfo const *)arg1)->IsShown();
5439 wxPyEndAllowThreads(__tstate);
5440 if (PyErr_Occurred()) SWIG_fail;
5441 }
5442 {
5443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5444 }
0085ce49
RD
5445 return resultobj;
5446fail:
5447 return NULL;
5448}
5449
5450
5451SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5452 PyObject *resultobj = 0;
5453 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
33d6fd3b 5454 int arg2 ;
0085ce49
RD
5455 void *argp1 = 0 ;
5456 int res1 = 0 ;
5457 int val2 ;
5458 int ecode2 = 0 ;
5459 PyObject * obj0 = 0 ;
5460 PyObject * obj1 = 0 ;
5461 char * kwnames[] = {
5462 (char *) "self",(char *) "alignment", NULL
5463 };
5464
5465 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
5466 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5467 if (!SWIG_IsOK(res1)) {
5468 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5469 }
5470 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5471 ecode2 = SWIG_AsVal_int(obj1, &val2);
5472 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 5473 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 5474 }
33d6fd3b 5475 arg2 = static_cast< int >(val2);
0085ce49
RD
5476 {
5477 PyThreadState* __tstate = wxPyBeginAllowThreads();
5478 (arg1)->SetAlignment(arg2);
5479 wxPyEndAllowThreads(__tstate);
5480 if (PyErr_Occurred()) SWIG_fail;
5481 }
5482 resultobj = SWIG_Py_Void();
5483 return resultobj;
5484fail:
5485 return NULL;
5486}
5487
5488
5489SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5490 PyObject *resultobj = 0;
5491 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5492 wxString *arg2 = 0 ;
5493 void *argp1 = 0 ;
5494 int res1 = 0 ;
5495 bool temp2 = false ;
5496 PyObject * obj0 = 0 ;
5497 PyObject * obj1 = 0 ;
5498 char * kwnames[] = {
5499 (char *) "self",(char *) "text", NULL
5500 };
5501
5502 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetText",kwnames,&obj0,&obj1)) SWIG_fail;
5503 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5504 if (!SWIG_IsOK(res1)) {
5505 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetText" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5506 }
5507 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5508 {
5509 arg2 = wxString_in_helper(obj1);
5510 if (arg2 == NULL) SWIG_fail;
5511 temp2 = true;
5512 }
5513 {
5514 PyThreadState* __tstate = wxPyBeginAllowThreads();
5515 (arg1)->SetText((wxString const &)*arg2);
5516 wxPyEndAllowThreads(__tstate);
5517 if (PyErr_Occurred()) SWIG_fail;
5518 }
5519 resultobj = SWIG_Py_Void();
5520 {
5521 if (temp2)
5522 delete arg2;
5523 }
5524 return resultobj;
5525fail:
5526 {
5527 if (temp2)
5528 delete arg2;
5529 }
5530 return NULL;
5531}
5532
5533
5534SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5535 PyObject *resultobj = 0;
5536 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5537 int arg2 ;
5538 void *argp1 = 0 ;
5539 int res1 = 0 ;
5540 int val2 ;
5541 int ecode2 = 0 ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 char * kwnames[] = {
5545 (char *) "self",(char *) "image", NULL
5546 };
5547
5548 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetImage",kwnames,&obj0,&obj1)) SWIG_fail;
5549 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5550 if (!SWIG_IsOK(res1)) {
5551 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5552 }
5553 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5554 ecode2 = SWIG_AsVal_int(obj1, &val2);
5555 if (!SWIG_IsOK(ecode2)) {
5556 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetImage" "', expected argument " "2"" of type '" "int""'");
5557 }
5558 arg2 = static_cast< int >(val2);
5559 {
5560 PyThreadState* __tstate = wxPyBeginAllowThreads();
5561 (arg1)->SetImage(arg2);
5562 wxPyEndAllowThreads(__tstate);
5563 if (PyErr_Occurred()) SWIG_fail;
5564 }
5565 resultobj = SWIG_Py_Void();
5566 return resultobj;
5567fail:
5568 return NULL;
5569}
5570
5571
5572SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetSelectedImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj = 0;
5574 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5575 int arg2 ;
5576 void *argp1 = 0 ;
5577 int res1 = 0 ;
5578 int val2 ;
5579 int ecode2 = 0 ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 char * kwnames[] = {
5583 (char *) "self",(char *) "image", NULL
5584 };
5585
5586 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetSelectedImage",kwnames,&obj0,&obj1)) SWIG_fail;
5587 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5588 if (!SWIG_IsOK(res1)) {
5589 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5590 }
5591 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5592 ecode2 = SWIG_AsVal_int(obj1, &val2);
5593 if (!SWIG_IsOK(ecode2)) {
5594 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetSelectedImage" "', expected argument " "2"" of type '" "int""'");
5595 }
5596 arg2 = static_cast< int >(val2);
5597 {
5598 PyThreadState* __tstate = wxPyBeginAllowThreads();
5599 (arg1)->SetSelectedImage(arg2);
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 resultobj = SWIG_Py_Void();
5604 return resultobj;
5605fail:
5606 return NULL;
5607}
5608
5609
5610SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj = 0;
5612 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5613 size_t arg2 ;
5614 void *argp1 = 0 ;
5615 int res1 = 0 ;
5616 size_t val2 ;
5617 int ecode2 = 0 ;
5618 PyObject * obj0 = 0 ;
5619 PyObject * obj1 = 0 ;
5620 char * kwnames[] = {
5621 (char *) "self",(char *) "with", NULL
5622 };
5623
5624 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetWidth",kwnames,&obj0,&obj1)) SWIG_fail;
5625 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5626 if (!SWIG_IsOK(res1)) {
5627 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5628 }
5629 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5630 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
5631 if (!SWIG_IsOK(ecode2)) {
5632 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetWidth" "', expected argument " "2"" of type '" "size_t""'");
5633 }
5634 arg2 = static_cast< size_t >(val2);
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 (arg1)->SetWidth(arg2);
5638 wxPyEndAllowThreads(__tstate);
5639 if (PyErr_Occurred()) SWIG_fail;
5640 }
5641 resultobj = SWIG_Py_Void();
5642 return resultobj;
5643fail:
5644 return NULL;
5645}
5646
5647
33d6fd3b 5648SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49 5649 PyObject *resultobj = 0;
33d6fd3b
RD
5650 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5651 bool arg2 ;
0085ce49
RD
5652 void *argp1 = 0 ;
5653 int res1 = 0 ;
33d6fd3b 5654 bool val2 ;
0085ce49 5655 int ecode2 = 0 ;
0085ce49
RD
5656 PyObject * obj0 = 0 ;
5657 PyObject * obj1 = 0 ;
0085ce49 5658 char * kwnames[] = {
33d6fd3b 5659 (char *) "self",(char *) "edit", NULL
0085ce49
RD
5660 };
5661
33d6fd3b
RD
5662 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetEditable",kwnames,&obj0,&obj1)) SWIG_fail;
5663 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5664 if (!SWIG_IsOK(res1)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5666 }
5667 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5668 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5669 if (!SWIG_IsOK(ecode2)) {
5670 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetEditable" "', expected argument " "2"" of type '" "bool""'");
5671 }
5672 arg2 = static_cast< bool >(val2);
5673 {
5674 PyThreadState* __tstate = wxPyBeginAllowThreads();
5675 (arg1)->SetEditable(arg2);
5676 wxPyEndAllowThreads(__tstate);
5677 if (PyErr_Occurred()) SWIG_fail;
5678 }
5679 resultobj = SWIG_Py_Void();
5680 return resultobj;
5681fail:
5682 return NULL;
5683}
5684
5685
5686SWIGINTERN PyObject *_wrap_TreeListColumnInfo_SetShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5687 PyObject *resultobj = 0;
5688 wxTreeListColumnInfo *arg1 = (wxTreeListColumnInfo *) 0 ;
5689 bool arg2 ;
5690 void *argp1 = 0 ;
5691 int res1 = 0 ;
5692 bool val2 ;
5693 int ecode2 = 0 ;
5694 PyObject * obj0 = 0 ;
5695 PyObject * obj1 = 0 ;
5696 char * kwnames[] = {
5697 (char *) "self",(char *) "shown", NULL
5698 };
5699
5700 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListColumnInfo_SetShown",kwnames,&obj0,&obj1)) SWIG_fail;
5701 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
5702 if (!SWIG_IsOK(res1)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "1"" of type '" "wxTreeListColumnInfo *""'");
5704 }
5705 arg1 = reinterpret_cast< wxTreeListColumnInfo * >(argp1);
5706 ecode2 = SWIG_AsVal_bool(obj1, &val2);
5707 if (!SWIG_IsOK(ecode2)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListColumnInfo_SetShown" "', expected argument " "2"" of type '" "bool""'");
5709 }
5710 arg2 = static_cast< bool >(val2);
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 (arg1)->SetShown(arg2);
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 resultobj = SWIG_Py_Void();
5718 return resultobj;
5719fail:
5720 return NULL;
5721}
5722
5723
5724SWIGINTERN PyObject *TreeListColumnInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5725 PyObject *obj;
5726 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
5727 SWIG_TypeNewClientData(SWIGTYPE_p_wxTreeListColumnInfo, SWIG_NewClientData(obj));
5728 return SWIG_Py_Void();
5729}
5730
5731SWIGINTERN PyObject *TreeListColumnInfo_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5732 return SWIG_Python_InitShadowInstance(args);
5733}
5734
5735SWIGINTERN PyObject *_wrap_new_TreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5736 PyObject *resultobj = 0;
5737 wxWindow *arg1 = (wxWindow *) 0 ;
5738 int arg2 = (int) -1 ;
5739 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5740 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5741 wxSize const &arg4_defvalue = wxDefaultSize ;
5742 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5743 long arg5 = (long) wxTR_DEFAULT_STYLE ;
5744 wxValidator const &arg6_defvalue = wxDefaultValidator ;
5745 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
5746 wxString const &arg7_defvalue = wxPyTreeListCtrlNameStr ;
5747 wxString *arg7 = (wxString *) &arg7_defvalue ;
5748 wxPyTreeListCtrl *result = 0 ;
5749 void *argp1 = 0 ;
5750 int res1 = 0 ;
5751 int val2 ;
5752 int ecode2 = 0 ;
5753 wxPoint temp3 ;
5754 wxSize temp4 ;
5755 long val5 ;
5756 int ecode5 = 0 ;
5757 void *argp6 = 0 ;
5758 int res6 = 0 ;
5759 bool temp7 = 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 char * kwnames[] = {
5768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5769 };
5770
5771 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_TreeListCtrl",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
5772 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
0085ce49
RD
5773 if (!SWIG_IsOK(res1)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_TreeListCtrl" "', expected argument " "1"" of type '" "wxWindow *""'");
5775 }
5776 arg1 = reinterpret_cast< wxWindow * >(argp1);
5777 if (obj1) {
5778 ecode2 = SWIG_AsVal_int(obj1, &val2);
5779 if (!SWIG_IsOK(ecode2)) {
5780 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_TreeListCtrl" "', expected argument " "2"" of type '" "int""'");
5781 }
5782 arg2 = static_cast< int >(val2);
5783 }
5784 if (obj2) {
44127b65 5785 {
0085ce49
RD
5786 arg3 = &temp3;
5787 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
44127b65 5788 }
0085ce49
RD
5789 }
5790 if (obj3) {
44127b65 5791 {
0085ce49
RD
5792 arg4 = &temp4;
5793 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
44127b65 5794 }
0085ce49
RD
5795 }
5796 if (obj4) {
5797 ecode5 = SWIG_AsVal_long(obj4, &val5);
5798 if (!SWIG_IsOK(ecode5)) {
5799 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "new_TreeListCtrl" "', expected argument " "5"" of type '" "long""'");
5800 }
5801 arg5 = static_cast< long >(val5);
5802 }
5803 if (obj5) {
5804 res6 = SWIG_ConvertPtr(obj5, &argp6, SWIGTYPE_p_wxValidator, 0 | 0);
5805 if (!SWIG_IsOK(res6)) {
5806 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5807 }
5808 if (!argp6) {
5809 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_TreeListCtrl" "', expected argument " "6"" of type '" "wxValidator const &""'");
5810 }
5811 arg6 = reinterpret_cast< wxValidator * >(argp6);
5812 }
5813 if (obj6) {
4f89f6a3 5814 {
0085ce49
RD
5815 arg7 = wxString_in_helper(obj6);
5816 if (arg7 == NULL) SWIG_fail;
5817 temp7 = true;
4f89f6a3 5818 }
0085ce49
RD
5819 }
5820 {
5821 if (!wxPyCheckForApp()) SWIG_fail;
5822 PyThreadState* __tstate = wxPyBeginAllowThreads();
5823 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_NEW | 0 );
5828 {
5829 if (temp7)
5830 delete arg7;
5831 }
5832 return resultobj;
5833fail:
5834 {
5835 if (temp7)
5836 delete arg7;
5837 }
5838 return NULL;
44127b65
RD
5839}
5840
5841
0085ce49
RD
5842SWIGINTERN PyObject *_wrap_new_PreTreeListCtrl(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
5843 PyObject *resultobj = 0;
5844 wxPyTreeListCtrl *result = 0 ;
5845
5846 if (!SWIG_Python_UnpackTuple(args,"new_PreTreeListCtrl",0,0,0)) SWIG_fail;
5847 {
5848 if (!wxPyCheckForApp()) SWIG_fail;
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 result = (wxPyTreeListCtrl *)new wxPyTreeListCtrl();
5851 wxPyEndAllowThreads(__tstate);
5852 if (PyErr_Occurred()) SWIG_fail;
5853 }
5854 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeListCtrl, SWIG_POINTER_OWN | 0 );
5855 return resultobj;
5856fail:
5857 return NULL;
5858}
5859
5860
5861SWIGINTERN PyObject *_wrap_TreeListCtrl_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5862 PyObject *resultobj = 0;
5863 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5864 wxWindow *arg2 = (wxWindow *) 0 ;
5865 int arg3 = (int) -1 ;
5866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5868 wxSize const &arg5_defvalue = wxDefaultSize ;
5869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5870 long arg6 = (long) wxTR_DEFAULT_STYLE ;
5871 wxValidator const &arg7_defvalue = wxDefaultValidator ;
5872 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
5873 wxString const &arg8_defvalue = wxPyTreeListCtrlNameStr ;
5874 wxString *arg8 = (wxString *) &arg8_defvalue ;
5875 bool result;
5876 void *argp1 = 0 ;
5877 int res1 = 0 ;
5878 void *argp2 = 0 ;
5879 int res2 = 0 ;
5880 int val3 ;
5881 int ecode3 = 0 ;
5882 wxPoint temp4 ;
5883 wxSize temp5 ;
5884 long val6 ;
5885 int ecode6 = 0 ;
5886 void *argp7 = 0 ;
5887 int res7 = 0 ;
5888 bool temp8 = false ;
5889 PyObject * obj0 = 0 ;
5890 PyObject * obj1 = 0 ;
5891 PyObject * obj2 = 0 ;
5892 PyObject * obj3 = 0 ;
5893 PyObject * obj4 = 0 ;
5894 PyObject * obj5 = 0 ;
5895 PyObject * obj6 = 0 ;
5896 PyObject * obj7 = 0 ;
5897 char * kwnames[] = {
5898 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
5899 };
5900
5901 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:TreeListCtrl_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
5902 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5903 if (!SWIG_IsOK(res1)) {
5904 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Create" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5905 }
5906 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5907 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
5908 if (!SWIG_IsOK(res2)) {
5909 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
5910 }
5911 arg2 = reinterpret_cast< wxWindow * >(argp2);
5912 if (obj2) {
5913 ecode3 = SWIG_AsVal_int(obj2, &val3);
5914 if (!SWIG_IsOK(ecode3)) {
5915 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_Create" "', expected argument " "3"" of type '" "int""'");
5916 }
5917 arg3 = static_cast< int >(val3);
5918 }
5919 if (obj3) {
44127b65 5920 {
0085ce49
RD
5921 arg4 = &temp4;
5922 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
44127b65 5923 }
0085ce49
RD
5924 }
5925 if (obj4) {
cc6dd355 5926 {
0085ce49
RD
5927 arg5 = &temp5;
5928 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
cc6dd355 5929 }
0085ce49
RD
5930 }
5931 if (obj5) {
5932 ecode6 = SWIG_AsVal_long(obj5, &val6);
5933 if (!SWIG_IsOK(ecode6)) {
5934 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_Create" "', expected argument " "6"" of type '" "long""'");
5935 }
5936 arg6 = static_cast< long >(val6);
5937 }
5938 if (obj6) {
5939 res7 = SWIG_ConvertPtr(obj6, &argp7, SWIGTYPE_p_wxValidator, 0 | 0);
5940 if (!SWIG_IsOK(res7)) {
5941 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
3004cfd8 5942 }
0085ce49
RD
5943 if (!argp7) {
5944 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Create" "', expected argument " "7"" of type '" "wxValidator const &""'");
44127b65 5945 }
0085ce49
RD
5946 arg7 = reinterpret_cast< wxValidator * >(argp7);
5947 }
5948 if (obj7) {
44127b65 5949 {
0085ce49
RD
5950 arg8 = wxString_in_helper(obj7);
5951 if (arg8 == NULL) SWIG_fail;
5952 temp8 = true;
44127b65 5953 }
0085ce49
RD
5954 }
5955 {
5956 PyThreadState* __tstate = wxPyBeginAllowThreads();
5957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
5958 wxPyEndAllowThreads(__tstate);
5959 if (PyErr_Occurred()) SWIG_fail;
5960 }
5961 {
5962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5963 }
5964 {
5965 if (temp8)
5966 delete arg8;
5967 }
5968 return resultobj;
5969fail:
5970 {
5971 if (temp8)
5972 delete arg8;
5973 }
5974 return NULL;
5975}
5976
5977
5978SWIGINTERN PyObject *_wrap_TreeListCtrl__setCallbackInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj = 0;
5980 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
5981 PyObject *arg2 = (PyObject *) 0 ;
5982 PyObject *arg3 = (PyObject *) 0 ;
5983 void *argp1 = 0 ;
5984 int res1 = 0 ;
5985 PyObject * obj0 = 0 ;
5986 PyObject * obj1 = 0 ;
5987 PyObject * obj2 = 0 ;
5988 char * kwnames[] = {
5989 (char *) "self",(char *) "self",(char *) "_class", NULL
5990 };
5991
5992 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
5993 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
5994 if (!SWIG_IsOK(res1)) {
5995 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
5996 }
5997 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
5998 arg2 = obj1;
5999 arg3 = obj2;
6000 {
6001 PyThreadState* __tstate = wxPyBeginAllowThreads();
6002 (arg1)->_setCallbackInfo(arg2,arg3);
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = SWIG_Py_Void();
6007 return resultobj;
6008fail:
6009 return NULL;
44127b65
RD
6010}
6011
6012
0085ce49
RD
6013SWIGINTERN PyObject *_wrap_TreeListCtrl_GetCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6014 PyObject *resultobj = 0;
6015 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6016 size_t result;
6017 void *argp1 = 0 ;
6018 int res1 = 0 ;
6019 PyObject *swig_obj[1] ;
6020
6021 if (!args) SWIG_fail;
6022 swig_obj[0] = args;
6023 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6024 if (!SWIG_IsOK(res1)) {
6025 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6026 }
6027 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetCount();
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6035 return resultobj;
6036fail:
6037 return NULL;
44127b65
RD
6038}
6039
6040
0085ce49
RD
6041SWIGINTERN PyObject *_wrap_TreeListCtrl_GetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6042 PyObject *resultobj = 0;
6043 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6044 unsigned int result;
6045 void *argp1 = 0 ;
6046 int res1 = 0 ;
6047 PyObject *swig_obj[1] ;
6048
6049 if (!args) SWIG_fail;
6050 swig_obj[0] = args;
6051 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6052 if (!SWIG_IsOK(res1)) {
6053 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6054 }
6055 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6056 {
6057 PyThreadState* __tstate = wxPyBeginAllowThreads();
6058 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetIndent();
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6063 return resultobj;
6064fail:
6065 return NULL;
6066}
6067
6068
6069SWIGINTERN PyObject *_wrap_TreeListCtrl_SetIndent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj = 0;
6071 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6072 unsigned int arg2 ;
6073 void *argp1 = 0 ;
6074 int res1 = 0 ;
6075 unsigned int val2 ;
6076 int ecode2 = 0 ;
6077 PyObject * obj0 = 0 ;
6078 PyObject * obj1 = 0 ;
6079 char * kwnames[] = {
6080 (char *) "self",(char *) "indent", NULL
6081 };
6082
6083 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetIndent",kwnames,&obj0,&obj1)) SWIG_fail;
6084 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6085 if (!SWIG_IsOK(res1)) {
6086 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6087 }
6088 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6089 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6090 if (!SWIG_IsOK(ecode2)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetIndent" "', expected argument " "2"" of type '" "unsigned int""'");
6092 }
6093 arg2 = static_cast< unsigned int >(val2);
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 (arg1)->SetIndent(arg2);
6097 wxPyEndAllowThreads(__tstate);
6098 if (PyErr_Occurred()) SWIG_fail;
6099 }
6100 resultobj = SWIG_Py_Void();
6101 return resultobj;
6102fail:
6103 return NULL;
28eab81f
RD
6104}
6105
6106
0085ce49
RD
6107SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6108 PyObject *resultobj = 0;
6109 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6110 unsigned int result;
6111 void *argp1 = 0 ;
6112 int res1 = 0 ;
6113 PyObject *swig_obj[1] ;
6114
6115 if (!args) SWIG_fail;
6116 swig_obj[0] = args;
6117 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6118 if (!SWIG_IsOK(res1)) {
6119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6120 }
6121 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6122 {
6123 PyThreadState* __tstate = wxPyBeginAllowThreads();
6124 result = (unsigned int)((wxPyTreeListCtrl const *)arg1)->GetLineSpacing();
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result));
6129 return resultobj;
6130fail:
6131 return NULL;
6132}
6133
6134
6135SWIGINTERN PyObject *_wrap_TreeListCtrl_SetLineSpacing(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj = 0;
6137 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6138 unsigned int arg2 ;
6139 void *argp1 = 0 ;
6140 int res1 = 0 ;
6141 unsigned int val2 ;
6142 int ecode2 = 0 ;
6143 PyObject * obj0 = 0 ;
6144 PyObject * obj1 = 0 ;
6145 char * kwnames[] = {
6146 (char *) "self",(char *) "spacing", NULL
6147 };
6148
6149 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetLineSpacing",kwnames,&obj0,&obj1)) SWIG_fail;
6150 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6151 if (!SWIG_IsOK(res1)) {
6152 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6153 }
6154 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6155 ecode2 = SWIG_AsVal_unsigned_SS_int(obj1, &val2);
6156 if (!SWIG_IsOK(ecode2)) {
6157 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetLineSpacing" "', expected argument " "2"" of type '" "unsigned int""'");
6158 }
6159 arg2 = static_cast< unsigned int >(val2);
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 (arg1)->SetLineSpacing(arg2);
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = SWIG_Py_Void();
6167 return resultobj;
6168fail:
6169 return NULL;
44127b65
RD
6170}
6171
6172
0085ce49
RD
6173SWIGINTERN PyObject *_wrap_TreeListCtrl_GetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6174 PyObject *resultobj = 0;
6175 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6176 wxImageList *result = 0 ;
6177 void *argp1 = 0 ;
6178 int res1 = 0 ;
6179 PyObject *swig_obj[1] ;
6180
6181 if (!args) SWIG_fail;
6182 swig_obj[0] = args;
6183 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6184 if (!SWIG_IsOK(res1)) {
6185 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6186 }
6187 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetImageList();
6191 wxPyEndAllowThreads(__tstate);
6192 if (PyErr_Occurred()) SWIG_fail;
6193 }
3ecece7e
RD
6194 {
6195 resultobj = wxPyMake_wxObject(result, (bool)0);
6196 }
0085ce49
RD
6197 return resultobj;
6198fail:
6199 return NULL;
44127b65
RD
6200}
6201
6202
0085ce49
RD
6203SWIGINTERN PyObject *_wrap_TreeListCtrl_GetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6204 PyObject *resultobj = 0;
6205 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6206 wxImageList *result = 0 ;
6207 void *argp1 = 0 ;
6208 int res1 = 0 ;
6209 PyObject *swig_obj[1] ;
6210
6211 if (!args) SWIG_fail;
6212 swig_obj[0] = args;
6213 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6214 if (!SWIG_IsOK(res1)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6216 }
6217 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6218 {
6219 PyThreadState* __tstate = wxPyBeginAllowThreads();
6220 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetStateImageList();
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
3ecece7e
RD
6224 {
6225 resultobj = wxPyMake_wxObject(result, (bool)0);
6226 }
0085ce49
RD
6227 return resultobj;
6228fail:
6229 return NULL;
44127b65
RD
6230}
6231
6232
0085ce49
RD
6233SWIGINTERN PyObject *_wrap_TreeListCtrl_GetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6234 PyObject *resultobj = 0;
6235 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6236 wxImageList *result = 0 ;
6237 void *argp1 = 0 ;
6238 int res1 = 0 ;
6239 PyObject *swig_obj[1] ;
6240
6241 if (!args) SWIG_fail;
6242 swig_obj[0] = args;
6243 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6244 if (!SWIG_IsOK(res1)) {
6245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6246 }
6247 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6248 {
6249 PyThreadState* __tstate = wxPyBeginAllowThreads();
6250 result = (wxImageList *)((wxPyTreeListCtrl const *)arg1)->GetButtonsImageList();
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
3ecece7e
RD
6254 {
6255 resultobj = wxPyMake_wxObject(result, (bool)0);
6256 }
0085ce49
RD
6257 return resultobj;
6258fail:
6259 return NULL;
6260}
6261
6262
6263SWIGINTERN PyObject *_wrap_TreeListCtrl_SetImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6264 PyObject *resultobj = 0;
6265 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6266 wxImageList *arg2 = (wxImageList *) 0 ;
6267 void *argp1 = 0 ;
6268 int res1 = 0 ;
6269 void *argp2 = 0 ;
6270 int res2 = 0 ;
6271 PyObject * obj0 = 0 ;
6272 PyObject * obj1 = 0 ;
6273 char * kwnames[] = {
6274 (char *) "self",(char *) "imageList", NULL
6275 };
6276
6277 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6278 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6279 if (!SWIG_IsOK(res1)) {
6280 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6281 }
6282 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6283 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6284 if (!SWIG_IsOK(res2)) {
6285 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6286 }
6287 arg2 = reinterpret_cast< wxImageList * >(argp2);
6288 {
6289 PyThreadState* __tstate = wxPyBeginAllowThreads();
6290 (arg1)->SetImageList(arg2);
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
6294 resultobj = SWIG_Py_Void();
6295 return resultobj;
6296fail:
6297 return NULL;
6298}
6299
6300
6301SWIGINTERN PyObject *_wrap_TreeListCtrl_SetStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6302 PyObject *resultobj = 0;
6303 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6304 wxImageList *arg2 = (wxImageList *) 0 ;
6305 void *argp1 = 0 ;
6306 int res1 = 0 ;
6307 void *argp2 = 0 ;
6308 int res2 = 0 ;
6309 PyObject * obj0 = 0 ;
6310 PyObject * obj1 = 0 ;
6311 char * kwnames[] = {
6312 (char *) "self",(char *) "imageList", NULL
6313 };
6314
6315 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6316 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6317 if (!SWIG_IsOK(res1)) {
6318 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6319 }
6320 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6321 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6322 if (!SWIG_IsOK(res2)) {
6323 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6324 }
6325 arg2 = reinterpret_cast< wxImageList * >(argp2);
6326 {
6327 PyThreadState* __tstate = wxPyBeginAllowThreads();
6328 (arg1)->SetStateImageList(arg2);
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = SWIG_Py_Void();
6333 return resultobj;
6334fail:
6335 return NULL;
6336}
6337
6338
6339SWIGINTERN PyObject *_wrap_TreeListCtrl_SetButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj = 0;
6341 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6342 wxImageList *arg2 = (wxImageList *) 0 ;
6343 void *argp1 = 0 ;
6344 int res1 = 0 ;
6345 void *argp2 = 0 ;
6346 int res2 = 0 ;
6347 PyObject * obj0 = 0 ;
6348 PyObject * obj1 = 0 ;
6349 char * kwnames[] = {
6350 (char *) "self",(char *) "imageList", NULL
6351 };
6352
6353 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6354 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6355 if (!SWIG_IsOK(res1)) {
6356 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6357 }
6358 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6359 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxImageList, 0 | 0 );
6360 if (!SWIG_IsOK(res2)) {
6361 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6362 }
6363 arg2 = reinterpret_cast< wxImageList * >(argp2);
6364 {
6365 PyThreadState* __tstate = wxPyBeginAllowThreads();
6366 (arg1)->SetButtonsImageList(arg2);
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 resultobj = SWIG_Py_Void();
6371 return resultobj;
6372fail:
6373 return NULL;
6374}
6375
6376
6377SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6378 PyObject *resultobj = 0;
6379 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6380 wxImageList *arg2 = (wxImageList *) 0 ;
6381 void *argp1 = 0 ;
6382 int res1 = 0 ;
6383 int res2 = 0 ;
6384 PyObject * obj0 = 0 ;
6385 PyObject * obj1 = 0 ;
6386 char * kwnames[] = {
6387 (char *) "self",(char *) "imageList", NULL
6388 };
6389
6390 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6391 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6392 if (!SWIG_IsOK(res1)) {
6393 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6394 }
6395 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6396 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6397 if (!SWIG_IsOK(res2)) {
6398 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6399 }
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 (arg1)->AssignImageList(arg2);
6403 wxPyEndAllowThreads(__tstate);
6404 if (PyErr_Occurred()) SWIG_fail;
6405 }
6406 resultobj = SWIG_Py_Void();
6407 return resultobj;
6408fail:
6409 return NULL;
6410}
6411
6412
6413SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignStateImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6414 PyObject *resultobj = 0;
6415 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6416 wxImageList *arg2 = (wxImageList *) 0 ;
6417 void *argp1 = 0 ;
6418 int res1 = 0 ;
6419 int res2 = 0 ;
6420 PyObject * obj0 = 0 ;
6421 PyObject * obj1 = 0 ;
6422 char * kwnames[] = {
6423 (char *) "self",(char *) "imageList", NULL
6424 };
6425
6426 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6427 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6428 if (!SWIG_IsOK(res1)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6430 }
6431 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6432 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6433 if (!SWIG_IsOK(res2)) {
6434 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignStateImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6435 }
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 (arg1)->AssignStateImageList(arg2);
6439 wxPyEndAllowThreads(__tstate);
6440 if (PyErr_Occurred()) SWIG_fail;
6441 }
6442 resultobj = SWIG_Py_Void();
6443 return resultobj;
6444fail:
6445 return NULL;
6446}
6447
6448
6449SWIGINTERN PyObject *_wrap_TreeListCtrl_AssignButtonsImageList(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6450 PyObject *resultobj = 0;
6451 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6452 wxImageList *arg2 = (wxImageList *) 0 ;
6453 void *argp1 = 0 ;
6454 int res1 = 0 ;
6455 int res2 = 0 ;
6456 PyObject * obj0 = 0 ;
6457 PyObject * obj1 = 0 ;
6458 char * kwnames[] = {
6459 (char *) "self",(char *) "imageList", NULL
6460 };
6461
6462 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AssignButtonsImageList",kwnames,&obj0,&obj1)) SWIG_fail;
6463 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6464 if (!SWIG_IsOK(res1)) {
6465 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6466 }
6467 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6468 res2 = SWIG_ConvertPtr(obj1, SWIG_as_voidptrptr(&arg2), SWIGTYPE_p_wxImageList, SWIG_POINTER_DISOWN | 0 );
6469 if (!SWIG_IsOK(res2)) {
6470 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AssignButtonsImageList" "', expected argument " "2"" of type '" "wxImageList *""'");
6471 }
6472 {
6473 PyThreadState* __tstate = wxPyBeginAllowThreads();
6474 (arg1)->AssignButtonsImageList(arg2);
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 resultobj = SWIG_Py_Void();
6479 return resultobj;
6480fail:
6481 return NULL;
6482}
6483
6484
6485SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6486 PyObject *resultobj = 0;
6487 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6488 wxString *arg2 = 0 ;
33d6fd3b
RD
6489 int arg3 = (int) DEFAULT_COL_WIDTH ;
6490 int arg4 = (int) wxALIGN_LEFT ;
6491 int arg5 = (int) -1 ;
6492 bool arg6 = (bool) true ;
6493 bool arg7 = (bool) false ;
0085ce49
RD
6494 void *argp1 = 0 ;
6495 int res1 = 0 ;
6496 bool temp2 = false ;
33d6fd3b
RD
6497 int val3 ;
6498 int ecode3 = 0 ;
6499 int val4 ;
6500 int ecode4 = 0 ;
6501 int val5 ;
6502 int ecode5 = 0 ;
6503 bool val6 ;
6504 int ecode6 = 0 ;
6505 bool val7 ;
6506 int ecode7 = 0 ;
0085ce49
RD
6507 PyObject * obj0 = 0 ;
6508 PyObject * obj1 = 0 ;
33d6fd3b
RD
6509 PyObject * obj2 = 0 ;
6510 PyObject * obj3 = 0 ;
6511 PyObject * obj4 = 0 ;
6512 PyObject * obj5 = 0 ;
6513 PyObject * obj6 = 0 ;
0085ce49 6514 char * kwnames[] = {
33d6fd3b 6515 (char *) "self",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
6516 };
6517
33d6fd3b 6518 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:TreeListCtrl_AddColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
0085ce49
RD
6519 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6520 if (!SWIG_IsOK(res1)) {
6521 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6522 }
6523 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6524 {
6525 arg2 = wxString_in_helper(obj1);
6526 if (arg2 == NULL) SWIG_fail;
6527 temp2 = true;
6528 }
33d6fd3b
RD
6529 if (obj2) {
6530 ecode3 = SWIG_AsVal_int(obj2, &val3);
6531 if (!SWIG_IsOK(ecode3)) {
6532 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "3"" of type '" "int""'");
6533 }
6534 arg3 = static_cast< int >(val3);
6535 }
6536 if (obj3) {
6537 ecode4 = SWIG_AsVal_int(obj3, &val4);
6538 if (!SWIG_IsOK(ecode4)) {
6539 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "4"" of type '" "int""'");
6540 }
6541 arg4 = static_cast< int >(val4);
6542 }
6543 if (obj4) {
6544 ecode5 = SWIG_AsVal_int(obj4, &val5);
6545 if (!SWIG_IsOK(ecode5)) {
6546 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "5"" of type '" "int""'");
6547 }
6548 arg5 = static_cast< int >(val5);
6549 }
6550 if (obj5) {
6551 ecode6 = SWIG_AsVal_bool(obj5, &val6);
6552 if (!SWIG_IsOK(ecode6)) {
6553 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "6"" of type '" "bool""'");
6554 }
6555 arg6 = static_cast< bool >(val6);
6556 }
6557 if (obj6) {
6558 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6559 if (!SWIG_IsOK(ecode7)) {
6560 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_AddColumn" "', expected argument " "7"" of type '" "bool""'");
6561 }
6562 arg7 = static_cast< bool >(val7);
6563 }
0085ce49
RD
6564 {
6565 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6566 (arg1)->AddColumn((wxString const &)*arg2,arg3,arg4,arg5,arg6,arg7);
0085ce49
RD
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 resultobj = SWIG_Py_Void();
6571 {
6572 if (temp2)
6573 delete arg2;
6574 }
6575 return resultobj;
6576fail:
6577 {
6578 if (temp2)
6579 delete arg2;
6580 }
6581 return NULL;
6582}
6583
6584
6585SWIGINTERN PyObject *_wrap_TreeListCtrl_AddColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6586 PyObject *resultobj = 0;
6587 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6588 wxTreeListColumnInfo *arg2 = 0 ;
6589 void *argp1 = 0 ;
6590 int res1 = 0 ;
6591 void *argp2 = 0 ;
6592 int res2 = 0 ;
6593 PyObject * obj0 = 0 ;
6594 PyObject * obj1 = 0 ;
6595 char * kwnames[] = {
6596 (char *) "self",(char *) "col", NULL
6597 };
6598
6599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_AddColumnInfo",kwnames,&obj0,&obj1)) SWIG_fail;
6600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6601 if (!SWIG_IsOK(res1)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6603 }
6604 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6606 if (!SWIG_IsOK(res2)) {
6607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6608 }
6609 if (!argp2) {
6610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AddColumnInfo" "', expected argument " "2"" of type '" "wxTreeListColumnInfo const &""'");
6611 }
6612 arg2 = reinterpret_cast< wxTreeListColumnInfo * >(argp2);
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 (arg1)->AddColumn((wxTreeListColumnInfo const &)*arg2);
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 resultobj = SWIG_Py_Void();
6620 return resultobj;
6621fail:
6622 return NULL;
6623}
6624
6625
6626SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6627 PyObject *resultobj = 0;
6628 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 6629 int arg2 ;
0085ce49 6630 wxString *arg3 = 0 ;
33d6fd3b
RD
6631 int arg4 = (int) DEFAULT_COL_WIDTH ;
6632 int arg5 = (int) wxALIGN_LEFT ;
6633 int arg6 = (int) -1 ;
6634 bool arg7 = (bool) true ;
6635 bool arg8 = (bool) false ;
0085ce49
RD
6636 void *argp1 = 0 ;
6637 int res1 = 0 ;
33d6fd3b 6638 int val2 ;
0085ce49
RD
6639 int ecode2 = 0 ;
6640 bool temp3 = false ;
33d6fd3b
RD
6641 int val4 ;
6642 int ecode4 = 0 ;
6643 int val5 ;
6644 int ecode5 = 0 ;
6645 int val6 ;
6646 int ecode6 = 0 ;
6647 bool val7 ;
6648 int ecode7 = 0 ;
6649 bool val8 ;
6650 int ecode8 = 0 ;
0085ce49
RD
6651 PyObject * obj0 = 0 ;
6652 PyObject * obj1 = 0 ;
6653 PyObject * obj2 = 0 ;
33d6fd3b
RD
6654 PyObject * obj3 = 0 ;
6655 PyObject * obj4 = 0 ;
6656 PyObject * obj5 = 0 ;
6657 PyObject * obj6 = 0 ;
6658 PyObject * obj7 = 0 ;
0085ce49 6659 char * kwnames[] = {
33d6fd3b 6660 (char *) "self",(char *) "before",(char *) "text",(char *) "width",(char *) "flag",(char *) "image",(char *) "shown",(char *) "edit", NULL
0085ce49
RD
6661 };
6662
33d6fd3b 6663 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:TreeListCtrl_InsertColumn",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
0085ce49
RD
6664 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6665 if (!SWIG_IsOK(res1)) {
6666 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6667 }
6668 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 6669 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 6670 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6671 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "2"" of type '" "int""'");
0085ce49 6672 }
33d6fd3b 6673 arg2 = static_cast< int >(val2);
0085ce49
RD
6674 {
6675 arg3 = wxString_in_helper(obj2);
6676 if (arg3 == NULL) SWIG_fail;
6677 temp3 = true;
6678 }
33d6fd3b
RD
6679 if (obj3) {
6680 ecode4 = SWIG_AsVal_int(obj3, &val4);
6681 if (!SWIG_IsOK(ecode4)) {
6682 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "4"" of type '" "int""'");
6683 }
6684 arg4 = static_cast< int >(val4);
6685 }
6686 if (obj4) {
6687 ecode5 = SWIG_AsVal_int(obj4, &val5);
6688 if (!SWIG_IsOK(ecode5)) {
6689 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "5"" of type '" "int""'");
6690 }
6691 arg5 = static_cast< int >(val5);
6692 }
6693 if (obj5) {
6694 ecode6 = SWIG_AsVal_int(obj5, &val6);
6695 if (!SWIG_IsOK(ecode6)) {
6696 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "6"" of type '" "int""'");
6697 }
6698 arg6 = static_cast< int >(val6);
6699 }
6700 if (obj6) {
6701 ecode7 = SWIG_AsVal_bool(obj6, &val7);
6702 if (!SWIG_IsOK(ecode7)) {
6703 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "7"" of type '" "bool""'");
6704 }
6705 arg7 = static_cast< bool >(val7);
6706 }
6707 if (obj7) {
6708 ecode8 = SWIG_AsVal_bool(obj7, &val8);
6709 if (!SWIG_IsOK(ecode8)) {
6710 SWIG_exception_fail(SWIG_ArgError(ecode8), "in method '" "TreeListCtrl_InsertColumn" "', expected argument " "8"" of type '" "bool""'");
6711 }
6712 arg8 = static_cast< bool >(val8);
6713 }
0085ce49
RD
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6716 (arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5,arg6,arg7,arg8);
0085ce49
RD
6717 wxPyEndAllowThreads(__tstate);
6718 if (PyErr_Occurred()) SWIG_fail;
6719 }
6720 resultobj = SWIG_Py_Void();
6721 {
6722 if (temp3)
6723 delete arg3;
6724 }
6725 return resultobj;
6726fail:
6727 {
6728 if (temp3)
6729 delete arg3;
6730 }
6731 return NULL;
6732}
6733
6734
6735SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertColumnInfo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj = 0;
6737 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6738 size_t arg2 ;
6739 wxTreeListColumnInfo *arg3 = 0 ;
6740 void *argp1 = 0 ;
6741 int res1 = 0 ;
6742 size_t val2 ;
6743 int ecode2 = 0 ;
6744 void *argp3 = 0 ;
6745 int res3 = 0 ;
6746 PyObject * obj0 = 0 ;
6747 PyObject * obj1 = 0 ;
6748 PyObject * obj2 = 0 ;
6749 char * kwnames[] = {
6750 (char *) "self",(char *) "before",(char *) "col", NULL
6751 };
6752
6753 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_InsertColumnInfo",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
6754 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6755 if (!SWIG_IsOK(res1)) {
6756 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6757 }
6758 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6759 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6760 if (!SWIG_IsOK(ecode2)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "2"" of type '" "size_t""'");
6762 }
6763 arg2 = static_cast< size_t >(val2);
6764 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6765 if (!SWIG_IsOK(res3)) {
6766 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6767 }
6768 if (!argp3) {
6769 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertColumnInfo" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6770 }
6771 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
6772 {
6773 PyThreadState* __tstate = wxPyBeginAllowThreads();
6774 (arg1)->InsertColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = SWIG_Py_Void();
6779 return resultobj;
6780fail:
6781 return NULL;
6782}
6783
6784
6785SWIGINTERN PyObject *_wrap_TreeListCtrl_RemoveColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
6786 PyObject *resultobj = 0;
6787 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6788 size_t arg2 ;
6789 void *argp1 = 0 ;
6790 int res1 = 0 ;
6791 size_t val2 ;
6792 int ecode2 = 0 ;
6793 PyObject * obj0 = 0 ;
6794 PyObject * obj1 = 0 ;
6795 char * kwnames[] = {
6796 (char *) "self",(char *) "column", NULL
6797 };
6798
6799 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_RemoveColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6800 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6801 if (!SWIG_IsOK(res1)) {
6802 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
6803 }
6804 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6805 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6806 if (!SWIG_IsOK(ecode2)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_RemoveColumn" "', expected argument " "2"" of type '" "size_t""'");
6808 }
6809 arg2 = static_cast< size_t >(val2);
6810 {
6811 PyThreadState* __tstate = wxPyBeginAllowThreads();
6812 (arg1)->RemoveColumn(arg2);
6813 wxPyEndAllowThreads(__tstate);
6814 if (PyErr_Occurred()) SWIG_fail;
6815 }
6816 resultobj = SWIG_Py_Void();
6817 return resultobj;
6818fail:
6819 return NULL;
44127b65
RD
6820}
6821
6822
0085ce49
RD
6823SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
6824 PyObject *resultobj = 0;
6825 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6826 size_t result;
6827 void *argp1 = 0 ;
6828 int res1 = 0 ;
6829 PyObject *swig_obj[1] ;
6830
6831 if (!args) SWIG_fail;
6832 swig_obj[0] = args;
6833 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6834 if (!SWIG_IsOK(res1)) {
6835 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
6836 }
6837 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetColumnCount();
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
6845 return resultobj;
6846fail:
6847 return NULL;
6848}
6849
6850
33d6fd3b 6851SWIGINTERN PyObject *_wrap_TreeListCtrl_SetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6852 PyObject *resultobj = 0;
6853 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
6854 size_t arg2 ;
0085ce49
RD
6855 void *argp1 = 0 ;
6856 int res1 = 0 ;
6857 size_t val2 ;
6858 int ecode2 = 0 ;
0085ce49
RD
6859 PyObject * obj0 = 0 ;
6860 PyObject * obj1 = 0 ;
0085ce49 6861 char * kwnames[] = {
33d6fd3b 6862 (char *) "self",(char *) "column", NULL
0085ce49
RD
6863 };
6864
33d6fd3b 6865 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SetMainColumn",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
6866 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6867 if (!SWIG_IsOK(res1)) {
33d6fd3b 6868 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6869 }
6870 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
6871 ecode2 = SWIG_AsVal_size_t(obj1, &val2);
6872 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6873 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetMainColumn" "', expected argument " "2"" of type '" "size_t""'");
0085ce49
RD
6874 }
6875 arg2 = static_cast< size_t >(val2);
0085ce49
RD
6876 {
6877 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6878 (arg1)->SetMainColumn(arg2);
0085ce49
RD
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = SWIG_Py_Void();
6883 return resultobj;
6884fail:
6885 return NULL;
6886}
6887
6888
33d6fd3b 6889SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
6890 PyObject *resultobj = 0;
6891 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 6892 size_t result;
0085ce49
RD
6893 void *argp1 = 0 ;
6894 int res1 = 0 ;
33d6fd3b 6895 PyObject *swig_obj[1] ;
0085ce49 6896
33d6fd3b
RD
6897 if (!args) SWIG_fail;
6898 swig_obj[0] = args;
6899 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 6900 if (!SWIG_IsOK(res1)) {
33d6fd3b 6901 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
6902 }
6903 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6906 result = (size_t)((wxPyTreeListCtrl const *)arg1)->GetMainColumn();
0085ce49
RD
6907 wxPyEndAllowThreads(__tstate);
6908 if (PyErr_Occurred()) SWIG_fail;
6909 }
33d6fd3b 6910 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
0085ce49
RD
6911 return resultobj;
6912fail:
6913 return NULL;
6914}
6915
6916
33d6fd3b 6917SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6918 PyObject *resultobj = 0;
6919 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
6920 int arg2 ;
6921 wxTreeListColumnInfo *arg3 = 0 ;
0085ce49
RD
6922 void *argp1 = 0 ;
6923 int res1 = 0 ;
33d6fd3b 6924 int val2 ;
0085ce49 6925 int ecode2 = 0 ;
33d6fd3b
RD
6926 void *argp3 = 0 ;
6927 int res3 = 0 ;
0085ce49
RD
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
33d6fd3b 6930 PyObject * obj2 = 0 ;
0085ce49 6931 char * kwnames[] = {
33d6fd3b 6932 (char *) "self",(char *) "column",(char *) "colInfo", NULL
0085ce49
RD
6933 };
6934
33d6fd3b 6935 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumn",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
6936 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
6937 if (!SWIG_IsOK(res1)) {
33d6fd3b 6938 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6939 }
6940 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 6941 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 6942 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 6943 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "2"" of type '" "int""'");
0085ce49 6944 }
33d6fd3b
RD
6945 arg2 = static_cast< int >(val2);
6946 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0);
6947 if (!SWIG_IsOK(res3)) {
6948 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6949 }
6950 if (!argp3) {
6951 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetColumn" "', expected argument " "3"" of type '" "wxTreeListColumnInfo const &""'");
6952 }
6953 arg3 = reinterpret_cast< wxTreeListColumnInfo * >(argp3);
0085ce49
RD
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 6956 (arg1)->SetColumn(arg2,(wxTreeListColumnInfo const &)*arg3);
0085ce49
RD
6957 wxPyEndAllowThreads(__tstate);
6958 if (PyErr_Occurred()) SWIG_fail;
6959 }
6960 resultobj = SWIG_Py_Void();
6961 return resultobj;
6962fail:
6963 return NULL;
44127b65
RD
6964}
6965
6966
33d6fd3b 6967SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumn(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
6968 PyObject *resultobj = 0;
6969 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
6970 int arg2 ;
6971 wxTreeListColumnInfo *result = 0 ;
0085ce49
RD
6972 void *argp1 = 0 ;
6973 int res1 = 0 ;
33d6fd3b
RD
6974 int val2 ;
6975 int ecode2 = 0 ;
6976 PyObject * obj0 = 0 ;
6977 PyObject * obj1 = 0 ;
6978 char * kwnames[] = {
6979 (char *) "self",(char *) "column", NULL
6980 };
0085ce49 6981
33d6fd3b
RD
6982 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumn",kwnames,&obj0,&obj1)) SWIG_fail;
6983 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 6984 if (!SWIG_IsOK(res1)) {
33d6fd3b 6985 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
6986 }
6987 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
6988 ecode2 = SWIG_AsVal_int(obj1, &val2);
6989 if (!SWIG_IsOK(ecode2)) {
6990 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumn" "', expected argument " "2"" of type '" "int""'");
6991 }
6992 arg2 = static_cast< int >(val2);
0085ce49
RD
6993 {
6994 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b
RD
6995 {
6996 wxTreeListColumnInfo &_result_ref = (arg1)->GetColumn(arg2);
6997 result = (wxTreeListColumnInfo *) &_result_ref;
6998 }
0085ce49
RD
6999 wxPyEndAllowThreads(__tstate);
7000 if (PyErr_Occurred()) SWIG_fail;
7001 }
33d6fd3b 7002 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxTreeListColumnInfo, 0 | 0 );
0085ce49
RD
7003 return resultobj;
7004fail:
7005 return NULL;
7006}
7007
7008
7009SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7010 PyObject *resultobj = 0;
7011 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7012 int arg2 ;
0085ce49
RD
7013 wxString *arg3 = 0 ;
7014 void *argp1 = 0 ;
7015 int res1 = 0 ;
33d6fd3b 7016 int val2 ;
0085ce49
RD
7017 int ecode2 = 0 ;
7018 bool temp3 = false ;
7019 PyObject * obj0 = 0 ;
7020 PyObject * obj1 = 0 ;
7021 PyObject * obj2 = 0 ;
7022 char * kwnames[] = {
7023 (char *) "self",(char *) "column",(char *) "text", NULL
7024 };
7025
7026 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7027 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7028 if (!SWIG_IsOK(res1)) {
7029 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7030 }
7031 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7032 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7033 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7034 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnText" "', expected argument " "2"" of type '" "int""'");
0085ce49 7035 }
33d6fd3b 7036 arg2 = static_cast< int >(val2);
0085ce49
RD
7037 {
7038 arg3 = wxString_in_helper(obj2);
7039 if (arg3 == NULL) SWIG_fail;
7040 temp3 = true;
7041 }
7042 {
7043 PyThreadState* __tstate = wxPyBeginAllowThreads();
7044 (arg1)->SetColumnText(arg2,(wxString const &)*arg3);
7045 wxPyEndAllowThreads(__tstate);
7046 if (PyErr_Occurred()) SWIG_fail;
7047 }
7048 resultobj = SWIG_Py_Void();
7049 {
7050 if (temp3)
7051 delete arg3;
7052 }
7053 return resultobj;
7054fail:
7055 {
7056 if (temp3)
7057 delete arg3;
7058 }
7059 return NULL;
7060}
7061
7062
7063SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7064 PyObject *resultobj = 0;
7065 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7066 int arg2 ;
0085ce49
RD
7067 wxString result;
7068 void *argp1 = 0 ;
7069 int res1 = 0 ;
33d6fd3b 7070 int val2 ;
0085ce49
RD
7071 int ecode2 = 0 ;
7072 PyObject * obj0 = 0 ;
7073 PyObject * obj1 = 0 ;
7074 char * kwnames[] = {
7075 (char *) "self",(char *) "column", NULL
7076 };
7077
7078 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnText",kwnames,&obj0,&obj1)) SWIG_fail;
7079 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7080 if (!SWIG_IsOK(res1)) {
7081 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7082 }
7083 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7084 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7085 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7086 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnText" "', expected argument " "2"" of type '" "int""'");
0085ce49 7087 }
33d6fd3b 7088 arg2 = static_cast< int >(val2);
0085ce49
RD
7089 {
7090 PyThreadState* __tstate = wxPyBeginAllowThreads();
7091 result = ((wxPyTreeListCtrl const *)arg1)->GetColumnText(arg2);
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 {
7096#if wxUSE_UNICODE
7097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7098#else
7099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7100#endif
7101 }
7102 return resultobj;
7103fail:
7104 return NULL;
7105}
7106
7107
33d6fd3b 7108SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7109 PyObject *resultobj = 0;
7110 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7111 int arg2 ;
7112 int arg3 ;
0085ce49
RD
7113 void *argp1 = 0 ;
7114 int res1 = 0 ;
33d6fd3b 7115 int val2 ;
0085ce49 7116 int ecode2 = 0 ;
33d6fd3b
RD
7117 int val3 ;
7118 int ecode3 = 0 ;
0085ce49
RD
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 PyObject * obj2 = 0 ;
7122 char * kwnames[] = {
33d6fd3b 7123 (char *) "self",(char *) "column",(char *) "width", NULL
0085ce49
RD
7124 };
7125
33d6fd3b 7126 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnWidth",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
7127 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7128 if (!SWIG_IsOK(res1)) {
33d6fd3b 7129 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
7130 }
7131 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7132 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7133 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7134 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "2"" of type '" "int""'");
0085ce49 7135 }
33d6fd3b
RD
7136 arg2 = static_cast< int >(val2);
7137 ecode3 = SWIG_AsVal_int(obj2, &val3);
7138 if (!SWIG_IsOK(ecode3)) {
7139 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnWidth" "', expected argument " "3"" of type '" "int""'");
7140 }
7141 arg3 = static_cast< int >(val3);
0085ce49
RD
7142 {
7143 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7144 (arg1)->SetColumnWidth(arg2,arg3);
0085ce49
RD
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 resultobj = SWIG_Py_Void();
7149 return resultobj;
7150fail:
7151 return NULL;
7152}
7153
7154
33d6fd3b 7155SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnWidth(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7156 PyObject *resultobj = 0;
7157 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7158 int arg2 ;
7159 int result;
0085ce49
RD
7160 void *argp1 = 0 ;
7161 int res1 = 0 ;
33d6fd3b 7162 int val2 ;
0085ce49
RD
7163 int ecode2 = 0 ;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj1 = 0 ;
7166 char * kwnames[] = {
7167 (char *) "self",(char *) "column", NULL
7168 };
7169
33d6fd3b 7170 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnWidth",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
7171 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7172 if (!SWIG_IsOK(res1)) {
33d6fd3b 7173 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
7174 }
7175 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7176 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7177 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7178 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnWidth" "', expected argument " "2"" of type '" "int""'");
0085ce49 7179 }
33d6fd3b 7180 arg2 = static_cast< int >(val2);
0085ce49
RD
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7183 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnWidth(arg2);
0085ce49
RD
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
33d6fd3b 7187 resultobj = SWIG_From_int(static_cast< int >(result));
0085ce49
RD
7188 return resultobj;
7189fail:
7190 return NULL;
7191}
7192
7193
7194SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj = 0;
7196 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7197 int arg2 ;
7198 int arg3 ;
0085ce49
RD
7199 void *argp1 = 0 ;
7200 int res1 = 0 ;
33d6fd3b 7201 int val2 ;
0085ce49
RD
7202 int ecode2 = 0 ;
7203 int val3 ;
7204 int ecode3 = 0 ;
7205 PyObject * obj0 = 0 ;
7206 PyObject * obj1 = 0 ;
7207 PyObject * obj2 = 0 ;
7208 char * kwnames[] = {
33d6fd3b 7209 (char *) "self",(char *) "column",(char *) "flag", NULL
0085ce49
RD
7210 };
7211
7212 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnAlignment",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7213 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7214 if (!SWIG_IsOK(res1)) {
7215 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7216 }
7217 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7218 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7219 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7220 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 7221 }
33d6fd3b 7222 arg2 = static_cast< int >(val2);
0085ce49
RD
7223 ecode3 = SWIG_AsVal_int(obj2, &val3);
7224 if (!SWIG_IsOK(ecode3)) {
33d6fd3b 7225 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnAlignment" "', expected argument " "3"" of type '" "int""'");
0085ce49 7226 }
33d6fd3b 7227 arg3 = static_cast< int >(val3);
0085ce49
RD
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 (arg1)->SetColumnAlignment(arg2,arg3);
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = SWIG_Py_Void();
7235 return resultobj;
7236fail:
7237 return NULL;
7238}
7239
7240
7241SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj = 0;
7243 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7244 int arg2 ;
7245 int result;
0085ce49
RD
7246 void *argp1 = 0 ;
7247 int res1 = 0 ;
33d6fd3b 7248 int val2 ;
0085ce49
RD
7249 int ecode2 = 0 ;
7250 PyObject * obj0 = 0 ;
7251 PyObject * obj1 = 0 ;
7252 char * kwnames[] = {
7253 (char *) "self",(char *) "column", NULL
7254 };
7255
7256 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
7257 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7258 if (!SWIG_IsOK(res1)) {
7259 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7260 }
7261 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7262 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7263 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7264 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnAlignment" "', expected argument " "2"" of type '" "int""'");
0085ce49 7265 }
33d6fd3b 7266 arg2 = static_cast< int >(val2);
0085ce49
RD
7267 {
7268 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7269 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnAlignment(arg2);
0085ce49
RD
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = SWIG_From_int(static_cast< int >(result));
7274 return resultobj;
7275fail:
7276 return NULL;
7277}
7278
7279
7280SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj = 0;
7282 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7283 int arg2 ;
0085ce49
RD
7284 int arg3 ;
7285 void *argp1 = 0 ;
7286 int res1 = 0 ;
33d6fd3b 7287 int val2 ;
0085ce49
RD
7288 int ecode2 = 0 ;
7289 int val3 ;
7290 int ecode3 = 0 ;
7291 PyObject * obj0 = 0 ;
7292 PyObject * obj1 = 0 ;
7293 PyObject * obj2 = 0 ;
7294 char * kwnames[] = {
7295 (char *) "self",(char *) "column",(char *) "image", NULL
7296 };
7297
7298 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetColumnImage",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7299 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7300 if (!SWIG_IsOK(res1)) {
7301 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7302 }
7303 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7304 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7305 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7306 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "2"" of type '" "int""'");
0085ce49 7307 }
33d6fd3b 7308 arg2 = static_cast< int >(val2);
0085ce49
RD
7309 ecode3 = SWIG_AsVal_int(obj2, &val3);
7310 if (!SWIG_IsOK(ecode3)) {
7311 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnImage" "', expected argument " "3"" of type '" "int""'");
7312 }
7313 arg3 = static_cast< int >(val3);
7314 {
7315 PyThreadState* __tstate = wxPyBeginAllowThreads();
7316 (arg1)->SetColumnImage(arg2,arg3);
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 resultobj = SWIG_Py_Void();
7321 return resultobj;
7322fail:
7323 return NULL;
7324}
7325
7326
7327SWIGINTERN PyObject *_wrap_TreeListCtrl_GetColumnImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7328 PyObject *resultobj = 0;
7329 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7330 int arg2 ;
0085ce49
RD
7331 int result;
7332 void *argp1 = 0 ;
7333 int res1 = 0 ;
33d6fd3b 7334 int val2 ;
0085ce49
RD
7335 int ecode2 = 0 ;
7336 PyObject * obj0 = 0 ;
7337 PyObject * obj1 = 0 ;
7338 char * kwnames[] = {
7339 (char *) "self",(char *) "column", NULL
7340 };
7341
7342 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetColumnImage",kwnames,&obj0,&obj1)) SWIG_fail;
7343 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7344 if (!SWIG_IsOK(res1)) {
7345 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7346 }
7347 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7348 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7349 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7350 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetColumnImage" "', expected argument " "2"" of type '" "int""'");
0085ce49 7351 }
33d6fd3b 7352 arg2 = static_cast< int >(val2);
0085ce49
RD
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 result = (int)((wxPyTreeListCtrl const *)arg1)->GetColumnImage(arg2);
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 resultobj = SWIG_From_int(static_cast< int >(result));
7360 return resultobj;
7361fail:
7362 return NULL;
7363}
7364
7365
33d6fd3b 7366SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7367 PyObject *resultobj = 0;
7368 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b
RD
7369 int arg2 ;
7370 bool arg3 = (bool) true ;
0085ce49
RD
7371 void *argp1 = 0 ;
7372 int res1 = 0 ;
33d6fd3b 7373 int val2 ;
0085ce49
RD
7374 int ecode2 = 0 ;
7375 bool val3 ;
7376 int ecode3 = 0 ;
7377 PyObject * obj0 = 0 ;
7378 PyObject * obj1 = 0 ;
7379 PyObject * obj2 = 0 ;
7380 char * kwnames[] = {
7381 (char *) "self",(char *) "column",(char *) "shown", NULL
7382 };
7383
33d6fd3b 7384 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnShown",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
7385 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7386 if (!SWIG_IsOK(res1)) {
33d6fd3b 7387 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
7388 }
7389 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7390 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7391 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7392 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "2"" of type '" "int""'");
0085ce49 7393 }
33d6fd3b
RD
7394 arg2 = static_cast< int >(val2);
7395 if (obj2) {
7396 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7397 if (!SWIG_IsOK(ecode3)) {
7398 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnShown" "', expected argument " "3"" of type '" "bool""'");
7399 }
7400 arg3 = static_cast< bool >(val3);
7401 }
0085ce49
RD
7402 {
7403 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 7404 (arg1)->SetColumnShown(arg2,arg3);
0085ce49
RD
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 resultobj = SWIG_Py_Void();
7409 return resultobj;
7410fail:
7411 return NULL;
7412}
7413
7414
7415SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnShown(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7416 PyObject *resultobj = 0;
7417 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 7418 int arg2 ;
0085ce49
RD
7419 bool result;
7420 void *argp1 = 0 ;
7421 int res1 = 0 ;
33d6fd3b 7422 int val2 ;
0085ce49
RD
7423 int ecode2 = 0 ;
7424 PyObject * obj0 = 0 ;
7425 PyObject * obj1 = 0 ;
7426 char * kwnames[] = {
7427 (char *) "self",(char *) "column", NULL
7428 };
7429
7430 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnShown",kwnames,&obj0,&obj1)) SWIG_fail;
7431 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7432 if (!SWIG_IsOK(res1)) {
7433 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7434 }
7435 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b 7436 ecode2 = SWIG_AsVal_int(obj1, &val2);
0085ce49 7437 if (!SWIG_IsOK(ecode2)) {
33d6fd3b 7438 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnShown" "', expected argument " "2"" of type '" "int""'");
0085ce49 7439 }
33d6fd3b 7440 arg2 = static_cast< int >(val2);
0085ce49
RD
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnShown(arg2);
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 {
7448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7449 }
7450 return resultobj;
7451fail:
7452 return NULL;
7453}
7454
7455
33d6fd3b
RD
7456SWIGINTERN PyObject *_wrap_TreeListCtrl_SetColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj = 0;
7458 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7459 int arg2 ;
7460 bool arg3 = (bool) true ;
7461 void *argp1 = 0 ;
7462 int res1 = 0 ;
7463 int val2 ;
7464 int ecode2 = 0 ;
7465 bool val3 ;
7466 int ecode3 = 0 ;
7467 PyObject * obj0 = 0 ;
7468 PyObject * obj1 = 0 ;
7469 PyObject * obj2 = 0 ;
7470 char * kwnames[] = {
7471 (char *) "self",(char *) "column",(char *) "edit", NULL
7472 };
7473
7474 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetColumnEditable",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7475 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7476 if (!SWIG_IsOK(res1)) {
7477 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7478 }
7479 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7480 ecode2 = SWIG_AsVal_int(obj1, &val2);
7481 if (!SWIG_IsOK(ecode2)) {
7482 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "2"" of type '" "int""'");
7483 }
7484 arg2 = static_cast< int >(val2);
7485 if (obj2) {
7486 ecode3 = SWIG_AsVal_bool(obj2, &val3);
7487 if (!SWIG_IsOK(ecode3)) {
7488 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetColumnEditable" "', expected argument " "3"" of type '" "bool""'");
7489 }
7490 arg3 = static_cast< bool >(val3);
7491 }
7492 {
7493 PyThreadState* __tstate = wxPyBeginAllowThreads();
7494 (arg1)->SetColumnEditable(arg2,arg3);
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 resultobj = SWIG_Py_Void();
7499 return resultobj;
7500fail:
7501 return NULL;
7502}
7503
7504
7505SWIGINTERN PyObject *_wrap_TreeListCtrl_IsColumnEditable(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7506 PyObject *resultobj = 0;
7507 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7508 int arg2 ;
7509 bool result;
7510 void *argp1 = 0 ;
7511 int res1 = 0 ;
7512 int val2 ;
7513 int ecode2 = 0 ;
7514 PyObject * obj0 = 0 ;
7515 PyObject * obj1 = 0 ;
7516 char * kwnames[] = {
7517 (char *) "self",(char *) "column", NULL
7518 };
7519
7520 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsColumnEditable",kwnames,&obj0,&obj1)) SWIG_fail;
7521 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7522 if (!SWIG_IsOK(res1)) {
7523 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
7524 }
7525 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7526 ecode2 = SWIG_AsVal_int(obj1, &val2);
7527 if (!SWIG_IsOK(ecode2)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_IsColumnEditable" "', expected argument " "2"" of type '" "int""'");
7529 }
7530 arg2 = static_cast< int >(val2);
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsColumnEditable(arg2);
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 {
7538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7539 }
7540 return resultobj;
7541fail:
7542 return NULL;
7543}
7544
7545
0085ce49
RD
7546SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj = 0;
7548 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7549 wxTreeItemId *arg2 = 0 ;
7550 int arg3 = (int) -1 ;
7551 wxString result;
7552 void *argp1 = 0 ;
7553 int res1 = 0 ;
7554 void *argp2 = 0 ;
7555 int res2 = 0 ;
7556 int val3 ;
7557 int ecode3 = 0 ;
7558 PyObject * obj0 = 0 ;
7559 PyObject * obj1 = 0 ;
7560 PyObject * obj2 = 0 ;
7561 char * kwnames[] = {
7562 (char *) "self",(char *) "item",(char *) "column", NULL
7563 };
7564
7565 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetItemText",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7566 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7567 if (!SWIG_IsOK(res1)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7569 }
7570 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7571 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7572 if (!SWIG_IsOK(res2)) {
7573 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7574 }
7575 if (!argp2) {
7576 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7577 }
7578 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7579 if (obj2) {
7580 ecode3 = SWIG_AsVal_int(obj2, &val3);
7581 if (!SWIG_IsOK(ecode3)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemText" "', expected argument " "3"" of type '" "int""'");
7583 }
7584 arg3 = static_cast< int >(val3);
7585 }
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 result = wxPyTreeListCtrl_GetItemText(arg1,(wxTreeItemId const &)*arg2,arg3);
7589 wxPyEndAllowThreads(__tstate);
7590 if (PyErr_Occurred()) SWIG_fail;
7591 }
7592 {
7593#if wxUSE_UNICODE
7594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7595#else
7596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7597#endif
7598 }
7599 return resultobj;
7600fail:
7601 return NULL;
7602}
7603
7604
7605SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj = 0;
7607 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7608 wxTreeItemId *arg2 = 0 ;
7609 int arg3 = (int) -1 ;
7610 wxTreeItemIcon arg4 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7611 int result;
7612 void *argp1 = 0 ;
7613 int res1 = 0 ;
7614 void *argp2 = 0 ;
7615 int res2 = 0 ;
7616 int val3 ;
7617 int ecode3 = 0 ;
7618 int val4 ;
7619 int ecode4 = 0 ;
7620 PyObject * obj0 = 0 ;
7621 PyObject * obj1 = 0 ;
7622 PyObject * obj2 = 0 ;
7623 PyObject * obj3 = 0 ;
7624 char * kwnames[] = {
7625 (char *) "self",(char *) "item",(char *) "column",(char *) "which", NULL
7626 };
7627
7628 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_GetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7629 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7630 if (!SWIG_IsOK(res1)) {
7631 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7632 }
7633 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7634 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7635 if (!SWIG_IsOK(res2)) {
7636 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7637 }
7638 if (!argp2) {
7639 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7640 }
7641 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7642 if (obj2) {
7643 ecode3 = SWIG_AsVal_int(obj2, &val3);
7644 if (!SWIG_IsOK(ecode3)) {
7645 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "3"" of type '" "int""'");
7646 }
7647 arg3 = static_cast< int >(val3);
7648 }
7649 if (obj3) {
7650 ecode4 = SWIG_AsVal_int(obj3, &val4);
7651 if (!SWIG_IsOK(ecode4)) {
7652 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_GetItemImage" "', expected argument " "4"" of type '" "wxTreeItemIcon""'");
7653 }
7654 arg4 = static_cast< wxTreeItemIcon >(val4);
7655 }
7656 {
7657 PyThreadState* __tstate = wxPyBeginAllowThreads();
7658 result = (int)wxPyTreeListCtrl_GetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4);
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 resultobj = SWIG_From_int(static_cast< int >(result));
7663 return resultobj;
7664fail:
7665 return NULL;
7666}
7667
7668
7669SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemText(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj = 0;
7671 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7672 wxTreeItemId *arg2 = 0 ;
7673 wxString *arg3 = 0 ;
7674 int arg4 = (int) -1 ;
7675 void *argp1 = 0 ;
7676 int res1 = 0 ;
7677 void *argp2 = 0 ;
7678 int res2 = 0 ;
7679 bool temp3 = false ;
7680 int val4 ;
7681 int ecode4 = 0 ;
7682 PyObject * obj0 = 0 ;
7683 PyObject * obj1 = 0 ;
7684 PyObject * obj2 = 0 ;
7685 PyObject * obj3 = 0 ;
7686 char * kwnames[] = {
7687 (char *) "self",(char *) "item",(char *) "text",(char *) "column", NULL
7688 };
7689
7690 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
7691 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7692 if (!SWIG_IsOK(res1)) {
7693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7694 }
7695 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7696 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7697 if (!SWIG_IsOK(res2)) {
7698 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7699 }
7700 if (!argp2) {
7701 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemText" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7702 }
7703 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7704 {
7705 arg3 = wxString_in_helper(obj2);
7706 if (arg3 == NULL) SWIG_fail;
7707 temp3 = true;
7708 }
7709 if (obj3) {
7710 ecode4 = SWIG_AsVal_int(obj3, &val4);
7711 if (!SWIG_IsOK(ecode4)) {
7712 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemText" "', expected argument " "4"" of type '" "int""'");
7713 }
7714 arg4 = static_cast< int >(val4);
7715 }
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 wxPyTreeListCtrl_SetItemText(arg1,(wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
7719 wxPyEndAllowThreads(__tstate);
7720 if (PyErr_Occurred()) SWIG_fail;
7721 }
7722 resultobj = SWIG_Py_Void();
7723 {
7724 if (temp3)
7725 delete arg3;
7726 }
7727 return resultobj;
7728fail:
7729 {
7730 if (temp3)
7731 delete arg3;
7732 }
7733 return NULL;
7734}
7735
7736
7737SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemImage(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj = 0;
7739 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7740 wxTreeItemId *arg2 = 0 ;
7741 int arg3 ;
7742 int arg4 = (int) -1 ;
7743 wxTreeItemIcon arg5 = (wxTreeItemIcon) wxTreeItemIcon_Normal ;
7744 void *argp1 = 0 ;
7745 int res1 = 0 ;
7746 void *argp2 = 0 ;
7747 int res2 = 0 ;
7748 int val3 ;
7749 int ecode3 = 0 ;
7750 int val4 ;
7751 int ecode4 = 0 ;
7752 int val5 ;
7753 int ecode5 = 0 ;
7754 PyObject * obj0 = 0 ;
7755 PyObject * obj1 = 0 ;
7756 PyObject * obj2 = 0 ;
7757 PyObject * obj3 = 0 ;
7758 PyObject * obj4 = 0 ;
7759 char * kwnames[] = {
7760 (char *) "self",(char *) "item",(char *) "image",(char *) "column",(char *) "which", NULL
7761 };
7762
7763 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:TreeListCtrl_SetItemImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
7764 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7765 if (!SWIG_IsOK(res1)) {
7766 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7767 }
7768 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7769 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7770 if (!SWIG_IsOK(res2)) {
7771 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7772 }
7773 if (!argp2) {
7774 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7775 }
7776 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7777 ecode3 = SWIG_AsVal_int(obj2, &val3);
7778 if (!SWIG_IsOK(ecode3)) {
7779 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "3"" of type '" "int""'");
7780 }
7781 arg3 = static_cast< int >(val3);
7782 if (obj3) {
7783 ecode4 = SWIG_AsVal_int(obj3, &val4);
7784 if (!SWIG_IsOK(ecode4)) {
7785 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "4"" of type '" "int""'");
7786 }
7787 arg4 = static_cast< int >(val4);
7788 }
7789 if (obj4) {
7790 ecode5 = SWIG_AsVal_int(obj4, &val5);
7791 if (!SWIG_IsOK(ecode5)) {
7792 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_SetItemImage" "', expected argument " "5"" of type '" "wxTreeItemIcon""'");
7793 }
7794 arg5 = static_cast< wxTreeItemIcon >(val5);
7795 }
7796 {
7797 PyThreadState* __tstate = wxPyBeginAllowThreads();
7798 wxPyTreeListCtrl_SetItemImage(arg1,(wxTreeItemId const &)*arg2,arg3,arg4,arg5);
7799 wxPyEndAllowThreads(__tstate);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 resultobj = SWIG_Py_Void();
7803 return resultobj;
7804fail:
7805 return NULL;
7806}
7807
7808
7809SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7810 PyObject *resultobj = 0;
7811 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7812 wxTreeItemId *arg2 = 0 ;
7813 wxPyTreeItemData *result = 0 ;
7814 void *argp1 = 0 ;
7815 int res1 = 0 ;
7816 void *argp2 = 0 ;
7817 int res2 = 0 ;
7818 PyObject * obj0 = 0 ;
7819 PyObject * obj1 = 0 ;
7820 char * kwnames[] = {
7821 (char *) "self",(char *) "item", NULL
7822 };
7823
7824 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemData",kwnames,&obj0,&obj1)) SWIG_fail;
7825 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7826 if (!SWIG_IsOK(res1)) {
7827 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7828 }
7829 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7830 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7831 if (!SWIG_IsOK(res2)) {
7832 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7833 }
7834 if (!argp2) {
7835 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7836 }
7837 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 result = (wxPyTreeItemData *)wxPyTreeListCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
7841 wxPyEndAllowThreads(__tstate);
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxPyTreeItemData, 0 | 0 );
7845 return resultobj;
7846fail:
7847 return NULL;
7848}
7849
7850
7851SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7852 PyObject *resultobj = 0;
7853 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7854 wxTreeItemId *arg2 = 0 ;
7855 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
7856 void *argp1 = 0 ;
7857 int res1 = 0 ;
7858 void *argp2 = 0 ;
7859 int res2 = 0 ;
0085ce49
RD
7860 int res3 = 0 ;
7861 PyObject * obj0 = 0 ;
7862 PyObject * obj1 = 0 ;
7863 PyObject * obj2 = 0 ;
7864 char * kwnames[] = {
7865 (char *) "self",(char *) "item",(char *) "data", NULL
7866 };
7867
7868 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7869 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7870 if (!SWIG_IsOK(res1)) {
7871 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7872 }
7873 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7874 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7875 if (!SWIG_IsOK(res2)) {
7876 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7877 }
7878 if (!argp2) {
7879 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7880 }
7881 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
01f6b6d3 7882 res3 = SWIG_ConvertPtr(obj2, SWIG_as_voidptrptr(&arg3), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 7883 if (!SWIG_IsOK(res3)) {
01f6b6d3 7884 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemData" "', expected argument " "3"" of type '" "wxPyTreeItemData *""'");
0085ce49 7885 }
0085ce49
RD
7886 {
7887 PyThreadState* __tstate = wxPyBeginAllowThreads();
7888 wxPyTreeListCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 resultobj = SWIG_Py_Void();
7893 return resultobj;
7894fail:
7895 return NULL;
7896}
7897
7898
7899SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7900 PyObject *resultobj = 0;
7901 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7902 wxTreeItemId *arg2 = 0 ;
7903 PyObject *result = 0 ;
7904 void *argp1 = 0 ;
7905 int res1 = 0 ;
7906 void *argp2 = 0 ;
7907 int res2 = 0 ;
7908 PyObject * obj0 = 0 ;
7909 PyObject * obj1 = 0 ;
7910 char * kwnames[] = {
7911 (char *) "self",(char *) "item", NULL
7912 };
7913
7914 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemPyData",kwnames,&obj0,&obj1)) SWIG_fail;
7915 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7916 if (!SWIG_IsOK(res1)) {
7917 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7918 }
7919 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7920 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7921 if (!SWIG_IsOK(res2)) {
7922 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7923 }
7924 if (!argp2) {
7925 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7926 }
7927 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7928 {
7929 PyThreadState* __tstate = wxPyBeginAllowThreads();
7930 result = (PyObject *)wxPyTreeListCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 resultobj = result;
7935 return resultobj;
7936fail:
7937 return NULL;
7938}
7939
7940
7941SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemPyData(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj = 0;
7943 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7944 wxTreeItemId *arg2 = 0 ;
7945 PyObject *arg3 = (PyObject *) 0 ;
7946 void *argp1 = 0 ;
7947 int res1 = 0 ;
7948 void *argp2 = 0 ;
7949 int res2 = 0 ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 PyObject * obj2 = 0 ;
7953 char * kwnames[] = {
7954 (char *) "self",(char *) "item",(char *) "obj", NULL
7955 };
7956
7957 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
7958 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
7959 if (!SWIG_IsOK(res1)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
7961 }
7962 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
7963 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
7964 if (!SWIG_IsOK(res2)) {
7965 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7966 }
7967 if (!argp2) {
7968 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemPyData" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
7969 }
7970 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
7971 arg3 = obj2;
7972 {
7973 PyThreadState* __tstate = wxPyBeginAllowThreads();
7974 wxPyTreeListCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 resultobj = SWIG_Py_Void();
7979 return resultobj;
7980fail:
7981 return NULL;
7982}
7983
7984
33d6fd3b 7985SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
7986 PyObject *resultobj = 0;
7987 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
7988 wxTreeItemId *arg2 = 0 ;
33d6fd3b 7989 bool result;
0085ce49
RD
7990 void *argp1 = 0 ;
7991 int res1 = 0 ;
7992 void *argp2 = 0 ;
7993 int res2 = 0 ;
0085ce49
RD
7994 PyObject * obj0 = 0 ;
7995 PyObject * obj1 = 0 ;
0085ce49 7996 char * kwnames[] = {
33d6fd3b 7997 (char *) "self",(char *) "item", NULL
0085ce49
RD
7998 };
7999
33d6fd3b 8000 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBold",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8001 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8002 if (!SWIG_IsOK(res1)) {
33d6fd3b 8003 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8004 }
8005 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8006 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8007 if (!SWIG_IsOK(res2)) {
33d6fd3b 8008 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8009 }
8010 if (!argp2) {
33d6fd3b 8011 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8012 }
8013 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8016 result = (bool)((wxPyTreeListCtrl const *)arg1)->GetItemBold((wxTreeItemId const &)*arg2);
0085ce49
RD
8017 wxPyEndAllowThreads(__tstate);
8018 if (PyErr_Occurred()) SWIG_fail;
8019 }
33d6fd3b
RD
8020 {
8021 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8022 }
0085ce49
RD
8023 return resultobj;
8024fail:
8025 return NULL;
8026}
8027
8028
33d6fd3b 8029SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8030 PyObject *resultobj = 0;
8031 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8032 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8033 wxColour result;
0085ce49
RD
8034 void *argp1 = 0 ;
8035 int res1 = 0 ;
8036 void *argp2 = 0 ;
8037 int res2 = 0 ;
0085ce49
RD
8038 PyObject * obj0 = 0 ;
8039 PyObject * obj1 = 0 ;
0085ce49 8040 char * kwnames[] = {
33d6fd3b 8041 (char *) "self",(char *) "item", NULL
0085ce49
RD
8042 };
8043
33d6fd3b 8044 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8045 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8046 if (!SWIG_IsOK(res1)) {
33d6fd3b 8047 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8048 }
8049 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8050 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8051 if (!SWIG_IsOK(res2)) {
33d6fd3b 8052 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8053 }
8054 if (!argp2) {
33d6fd3b 8055 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8056 }
8057 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8060 result = ((wxPyTreeListCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
0085ce49
RD
8061 wxPyEndAllowThreads(__tstate);
8062 if (PyErr_Occurred()) SWIG_fail;
8063 }
33d6fd3b 8064 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8065 return resultobj;
8066fail:
8067 return NULL;
8068}
8069
8070
33d6fd3b 8071SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8072 PyObject *resultobj = 0;
8073 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8074 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8075 wxColour result;
0085ce49
RD
8076 void *argp1 = 0 ;
8077 int res1 = 0 ;
8078 void *argp2 = 0 ;
8079 int res2 = 0 ;
0085ce49
RD
8080 PyObject * obj0 = 0 ;
8081 PyObject * obj1 = 0 ;
0085ce49 8082 char * kwnames[] = {
33d6fd3b 8083 (char *) "self",(char *) "item", NULL
0085ce49
RD
8084 };
8085
33d6fd3b 8086 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8087 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8088 if (!SWIG_IsOK(res1)) {
33d6fd3b 8089 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8090 }
8091 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8092 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8093 if (!SWIG_IsOK(res2)) {
33d6fd3b 8094 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8095 }
8096 if (!argp2) {
33d6fd3b 8097 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8098 }
8099 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8100 {
8101 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8102 result = ((wxPyTreeListCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
0085ce49
RD
8103 wxPyEndAllowThreads(__tstate);
8104 if (PyErr_Occurred()) SWIG_fail;
8105 }
33d6fd3b 8106 resultobj = SWIG_NewPointerObj((new wxColour(static_cast< const wxColour& >(result))), SWIGTYPE_p_wxColour, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8107 return resultobj;
8108fail:
8109 return NULL;
8110}
8111
8112
33d6fd3b 8113SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8114 PyObject *resultobj = 0;
8115 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8116 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8117 wxFont result;
0085ce49
RD
8118 void *argp1 = 0 ;
8119 int res1 = 0 ;
8120 void *argp2 = 0 ;
8121 int res2 = 0 ;
0085ce49
RD
8122 PyObject * obj0 = 0 ;
8123 PyObject * obj1 = 0 ;
0085ce49 8124 char * kwnames[] = {
33d6fd3b 8125 (char *) "self",(char *) "item", NULL
0085ce49
RD
8126 };
8127
33d6fd3b 8128 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemFont",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8129 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8130 if (!SWIG_IsOK(res1)) {
33d6fd3b 8131 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8132 }
8133 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8134 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8135 if (!SWIG_IsOK(res2)) {
33d6fd3b 8136 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8137 }
8138 if (!argp2) {
33d6fd3b 8139 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8140 }
8141 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8144 result = ((wxPyTreeListCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
0085ce49
RD
8145 wxPyEndAllowThreads(__tstate);
8146 if (PyErr_Occurred()) SWIG_fail;
8147 }
33d6fd3b 8148 resultobj = SWIG_NewPointerObj((new wxFont(static_cast< const wxFont& >(result))), SWIGTYPE_p_wxFont, SWIG_POINTER_OWN | 0 );
0085ce49
RD
8149 return resultobj;
8150fail:
8151 return NULL;
8152}
8153
8154
33d6fd3b 8155SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemHasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8156 PyObject *resultobj = 0;
8157 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8158 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8159 bool arg3 = (bool) true ;
0085ce49
RD
8160 void *argp1 = 0 ;
8161 int res1 = 0 ;
8162 void *argp2 = 0 ;
8163 int res2 = 0 ;
33d6fd3b
RD
8164 bool val3 ;
8165 int ecode3 = 0 ;
0085ce49
RD
8166 PyObject * obj0 = 0 ;
8167 PyObject * obj1 = 0 ;
8168 PyObject * obj2 = 0 ;
8169 char * kwnames[] = {
33d6fd3b 8170 (char *) "self",(char *) "item",(char *) "has", NULL
0085ce49
RD
8171 };
8172
33d6fd3b 8173 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8174 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8175 if (!SWIG_IsOK(res1)) {
33d6fd3b 8176 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8177 }
8178 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8179 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8180 if (!SWIG_IsOK(res2)) {
33d6fd3b 8181 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8182 }
8183 if (!argp2) {
33d6fd3b 8184 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8185 }
8186 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8187 if (obj2) {
8188 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8189 if (!SWIG_IsOK(ecode3)) {
8190 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemHasChildren" "', expected argument " "3"" of type '" "bool""'");
8191 }
8192 arg3 = static_cast< bool >(val3);
0085ce49 8193 }
0085ce49
RD
8194 {
8195 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8196 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
8197 wxPyEndAllowThreads(__tstate);
8198 if (PyErr_Occurred()) SWIG_fail;
8199 }
8200 resultobj = SWIG_Py_Void();
8201 return resultobj;
8202fail:
8203 return NULL;
8204}
8205
8206
33d6fd3b 8207SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8208 PyObject *resultobj = 0;
8209 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8210 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8211 bool arg3 = (bool) true ;
0085ce49
RD
8212 void *argp1 = 0 ;
8213 int res1 = 0 ;
8214 void *argp2 = 0 ;
8215 int res2 = 0 ;
33d6fd3b
RD
8216 bool val3 ;
8217 int ecode3 = 0 ;
0085ce49
RD
8218 PyObject * obj0 = 0 ;
8219 PyObject * obj1 = 0 ;
33d6fd3b 8220 PyObject * obj2 = 0 ;
0085ce49 8221 char * kwnames[] = {
33d6fd3b 8222 (char *) "self",(char *) "item",(char *) "bold", NULL
0085ce49
RD
8223 };
8224
33d6fd3b 8225 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8226 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8227 if (!SWIG_IsOK(res1)) {
33d6fd3b 8228 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8229 }
8230 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8231 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8232 if (!SWIG_IsOK(res2)) {
33d6fd3b 8233 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8234 }
8235 if (!argp2) {
33d6fd3b 8236 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8237 }
8238 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8239 if (obj2) {
8240 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8241 if (!SWIG_IsOK(ecode3)) {
8242 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_SetItemBold" "', expected argument " "3"" of type '" "bool""'");
8243 }
8244 arg3 = static_cast< bool >(val3);
8245 }
0085ce49
RD
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8248 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
8249 wxPyEndAllowThreads(__tstate);
8250 if (PyErr_Occurred()) SWIG_fail;
8251 }
33d6fd3b 8252 resultobj = SWIG_Py_Void();
0085ce49
RD
8253 return resultobj;
8254fail:
8255 return NULL;
8256}
8257
8258
33d6fd3b 8259SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemTextColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8260 PyObject *resultobj = 0;
8261 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8262 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8263 wxColour *arg3 = 0 ;
0085ce49
RD
8264 void *argp1 = 0 ;
8265 int res1 = 0 ;
8266 void *argp2 = 0 ;
8267 int res2 = 0 ;
33d6fd3b 8268 wxColour temp3 ;
0085ce49
RD
8269 PyObject * obj0 = 0 ;
8270 PyObject * obj1 = 0 ;
33d6fd3b 8271 PyObject * obj2 = 0 ;
0085ce49 8272 char * kwnames[] = {
33d6fd3b 8273 (char *) "self",(char *) "item",(char *) "colour", NULL
0085ce49
RD
8274 };
8275
33d6fd3b 8276 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8277 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8278 if (!SWIG_IsOK(res1)) {
33d6fd3b 8279 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8280 }
8281 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8282 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8283 if (!SWIG_IsOK(res2)) {
33d6fd3b 8284 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8285 }
8286 if (!argp2) {
33d6fd3b 8287 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemTextColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8288 }
8289 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8290 {
8291 arg3 = &temp3;
8292 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8293 }
0085ce49
RD
8294 {
8295 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8296 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
0085ce49
RD
8297 wxPyEndAllowThreads(__tstate);
8298 if (PyErr_Occurred()) SWIG_fail;
8299 }
33d6fd3b 8300 resultobj = SWIG_Py_Void();
0085ce49
RD
8301 return resultobj;
8302fail:
8303 return NULL;
8304}
8305
8306
33d6fd3b 8307SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemBackgroundColour(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8308 PyObject *resultobj = 0;
8309 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8310 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8311 wxColour *arg3 = 0 ;
0085ce49
RD
8312 void *argp1 = 0 ;
8313 int res1 = 0 ;
8314 void *argp2 = 0 ;
8315 int res2 = 0 ;
33d6fd3b 8316 wxColour temp3 ;
0085ce49
RD
8317 PyObject * obj0 = 0 ;
8318 PyObject * obj1 = 0 ;
33d6fd3b 8319 PyObject * obj2 = 0 ;
0085ce49 8320 char * kwnames[] = {
33d6fd3b 8321 (char *) "self",(char *) "item",(char *) "colour", NULL
0085ce49
RD
8322 };
8323
33d6fd3b 8324 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8325 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8326 if (!SWIG_IsOK(res1)) {
33d6fd3b 8327 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8328 }
8329 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8330 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8331 if (!SWIG_IsOK(res2)) {
33d6fd3b 8332 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8333 }
8334 if (!argp2) {
33d6fd3b 8335 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemBackgroundColour" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8336 }
8337 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8338 {
8339 arg3 = &temp3;
8340 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
8341 }
0085ce49
RD
8342 {
8343 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8344 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
0085ce49
RD
8345 wxPyEndAllowThreads(__tstate);
8346 if (PyErr_Occurred()) SWIG_fail;
8347 }
33d6fd3b 8348 resultobj = SWIG_Py_Void();
0085ce49
RD
8349 return resultobj;
8350fail:
8351 return NULL;
8352}
8353
8354
33d6fd3b 8355SWIGINTERN PyObject *_wrap_TreeListCtrl_SetItemFont(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8356 PyObject *resultobj = 0;
8357 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8358 wxTreeItemId *arg2 = 0 ;
33d6fd3b 8359 wxFont *arg3 = 0 ;
0085ce49
RD
8360 void *argp1 = 0 ;
8361 int res1 = 0 ;
8362 void *argp2 = 0 ;
8363 int res2 = 0 ;
33d6fd3b
RD
8364 void *argp3 = 0 ;
8365 int res3 = 0 ;
0085ce49
RD
8366 PyObject * obj0 = 0 ;
8367 PyObject * obj1 = 0 ;
33d6fd3b 8368 PyObject * obj2 = 0 ;
0085ce49 8369 char * kwnames[] = {
33d6fd3b 8370 (char *) "self",(char *) "item",(char *) "font", NULL
0085ce49
RD
8371 };
8372
33d6fd3b 8373 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
8374 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8375 if (!SWIG_IsOK(res1)) {
33d6fd3b 8376 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
8377 }
8378 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8379 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8380 if (!SWIG_IsOK(res2)) {
33d6fd3b 8381 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8382 }
8383 if (!argp2) {
33d6fd3b 8384 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8385 }
8386 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
8387 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxFont, 0 | 0);
8388 if (!SWIG_IsOK(res3)) {
8389 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8390 }
8391 if (!argp3) {
8392 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetItemFont" "', expected argument " "3"" of type '" "wxFont const &""'");
8393 }
8394 arg3 = reinterpret_cast< wxFont * >(argp3);
0085ce49
RD
8395 {
8396 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8397 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
0085ce49
RD
8398 wxPyEndAllowThreads(__tstate);
8399 if (PyErr_Occurred()) SWIG_fail;
8400 }
33d6fd3b 8401 resultobj = SWIG_Py_Void();
0085ce49
RD
8402 return resultobj;
8403fail:
8404 return NULL;
8405}
8406
8407
8408SWIGINTERN PyObject *_wrap_TreeListCtrl_IsVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8409 PyObject *resultobj = 0;
8410 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8411 wxTreeItemId *arg2 = 0 ;
8412 bool result;
8413 void *argp1 = 0 ;
8414 int res1 = 0 ;
8415 void *argp2 = 0 ;
8416 int res2 = 0 ;
8417 PyObject * obj0 = 0 ;
8418 PyObject * obj1 = 0 ;
8419 char * kwnames[] = {
8420 (char *) "self",(char *) "item", NULL
8421 };
8422
8423 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsVisible",kwnames,&obj0,&obj1)) SWIG_fail;
8424 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8425 if (!SWIG_IsOK(res1)) {
8426 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8427 }
8428 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8429 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8430 if (!SWIG_IsOK(res2)) {
8431 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8432 }
8433 if (!argp2) {
8434 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8435 }
8436 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8437 {
8438 PyThreadState* __tstate = wxPyBeginAllowThreads();
8439 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
8440 wxPyEndAllowThreads(__tstate);
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 {
8444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8445 }
8446 return resultobj;
8447fail:
8448 return NULL;
8449}
8450
8451
33d6fd3b 8452SWIGINTERN PyObject *_wrap_TreeListCtrl_HasChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
8453 PyObject *resultobj = 0;
8454 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8455 wxTreeItemId *arg2 = 0 ;
8456 bool result;
8457 void *argp1 = 0 ;
8458 int res1 = 0 ;
8459 void *argp2 = 0 ;
8460 int res2 = 0 ;
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 char * kwnames[] = {
8464 (char *) "self",(char *) "item", NULL
8465 };
8466
33d6fd3b 8467 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HasChildren",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
8468 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8469 if (!SWIG_IsOK(res1)) {
33d6fd3b 8470 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
8471 }
8472 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8473 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8474 if (!SWIG_IsOK(res2)) {
33d6fd3b 8475 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8476 }
8477 if (!argp2) {
33d6fd3b 8478 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_HasChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
8479 }
8480 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 8483 result = (bool)((wxPyTreeListCtrl const *)arg1)->HasChildren((wxTreeItemId const &)*arg2);
0085ce49
RD
8484 wxPyEndAllowThreads(__tstate);
8485 if (PyErr_Occurred()) SWIG_fail;
8486 }
8487 {
8488 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8489 }
8490 return resultobj;
8491fail:
8492 return NULL;
8493}
8494
8495
8496SWIGINTERN PyObject *_wrap_TreeListCtrl_IsExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8497 PyObject *resultobj = 0;
8498 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8499 wxTreeItemId *arg2 = 0 ;
8500 bool result;
8501 void *argp1 = 0 ;
8502 int res1 = 0 ;
8503 void *argp2 = 0 ;
8504 int res2 = 0 ;
8505 PyObject * obj0 = 0 ;
8506 PyObject * obj1 = 0 ;
8507 char * kwnames[] = {
8508 (char *) "self",(char *) "item", NULL
8509 };
8510
8511 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
8512 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8513 if (!SWIG_IsOK(res1)) {
8514 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8515 }
8516 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8517 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8518 if (!SWIG_IsOK(res2)) {
8519 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8520 }
8521 if (!argp2) {
8522 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8523 }
8524 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 {
8532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8533 }
8534 return resultobj;
8535fail:
8536 return NULL;
8537}
8538
8539
8540SWIGINTERN PyObject *_wrap_TreeListCtrl_IsSelected(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8541 PyObject *resultobj = 0;
8542 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8543 wxTreeItemId *arg2 = 0 ;
8544 bool result;
8545 void *argp1 = 0 ;
8546 int res1 = 0 ;
8547 void *argp2 = 0 ;
8548 int res2 = 0 ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 char * kwnames[] = {
8552 (char *) "self",(char *) "item", NULL
8553 };
8554
8555 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsSelected",kwnames,&obj0,&obj1)) SWIG_fail;
8556 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8557 if (!SWIG_IsOK(res1)) {
8558 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8559 }
8560 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8561 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8562 if (!SWIG_IsOK(res2)) {
8563 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8564 }
8565 if (!argp2) {
8566 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsSelected" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8567 }
8568 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8569 {
8570 PyThreadState* __tstate = wxPyBeginAllowThreads();
8571 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
8572 wxPyEndAllowThreads(__tstate);
8573 if (PyErr_Occurred()) SWIG_fail;
8574 }
8575 {
8576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8577 }
8578 return resultobj;
8579fail:
8580 return NULL;
8581}
8582
8583
8584SWIGINTERN PyObject *_wrap_TreeListCtrl_IsBold(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj = 0;
8586 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8587 wxTreeItemId *arg2 = 0 ;
8588 bool result;
8589 void *argp1 = 0 ;
8590 int res1 = 0 ;
8591 void *argp2 = 0 ;
8592 int res2 = 0 ;
8593 PyObject * obj0 = 0 ;
8594 PyObject * obj1 = 0 ;
8595 char * kwnames[] = {
8596 (char *) "self",(char *) "item", NULL
8597 };
8598
8599 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_IsBold",kwnames,&obj0,&obj1)) SWIG_fail;
8600 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8601 if (!SWIG_IsOK(res1)) {
8602 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_IsBold" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8603 }
8604 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8605 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8606 if (!SWIG_IsOK(res2)) {
8607 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8608 }
8609 if (!argp2) {
8610 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_IsBold" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8611 }
8612 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (bool)((wxPyTreeListCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 {
8620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8621 }
8622 return resultobj;
8623fail:
8624 return NULL;
8625}
8626
8627
8628SWIGINTERN PyObject *_wrap_TreeListCtrl_GetChildrenCount(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8629 PyObject *resultobj = 0;
8630 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8631 wxTreeItemId *arg2 = 0 ;
8632 bool arg3 = (bool) true ;
8633 size_t result;
8634 void *argp1 = 0 ;
8635 int res1 = 0 ;
8636 void *argp2 = 0 ;
8637 int res2 = 0 ;
8638 bool val3 ;
8639 int ecode3 = 0 ;
8640 PyObject * obj0 = 0 ;
8641 PyObject * obj1 = 0 ;
8642 PyObject * obj2 = 0 ;
8643 char * kwnames[] = {
8644 (char *) "self",(char *) "item",(char *) "recursively", NULL
8645 };
8646
8647 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8648 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8649 if (!SWIG_IsOK(res1)) {
8650 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8651 }
8652 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8653 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8654 if (!SWIG_IsOK(res2)) {
8655 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8656 }
8657 if (!argp2) {
8658 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8659 }
8660 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8661 if (obj2) {
8662 ecode3 = SWIG_AsVal_bool(obj2, &val3);
8663 if (!SWIG_IsOK(ecode3)) {
8664 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetChildrenCount" "', expected argument " "3"" of type '" "bool""'");
8665 }
8666 arg3 = static_cast< bool >(val3);
8667 }
8668 {
8669 PyThreadState* __tstate = wxPyBeginAllowThreads();
8670 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
8671 wxPyEndAllowThreads(__tstate);
8672 if (PyErr_Occurred()) SWIG_fail;
8673 }
8674 resultobj = SWIG_From_size_t(static_cast< size_t >(result));
8675 return resultobj;
8676fail:
8677 return NULL;
44127b65
RD
8678}
8679
8680
0085ce49
RD
8681SWIGINTERN PyObject *_wrap_TreeListCtrl_GetRootItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8682 PyObject *resultobj = 0;
8683 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8684 wxTreeItemId result;
8685 void *argp1 = 0 ;
8686 int res1 = 0 ;
8687 PyObject *swig_obj[1] ;
8688
8689 if (!args) SWIG_fail;
8690 swig_obj[0] = args;
8691 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8692 if (!SWIG_IsOK(res1)) {
8693 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetRootItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8694 }
8695 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8696 {
8697 PyThreadState* __tstate = wxPyBeginAllowThreads();
8698 result = ((wxPyTreeListCtrl const *)arg1)->GetRootItem();
8699 wxPyEndAllowThreads(__tstate);
8700 if (PyErr_Occurred()) SWIG_fail;
8701 }
8702 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8703 return resultobj;
8704fail:
8705 return NULL;
44127b65
RD
8706}
8707
8708
0085ce49
RD
8709SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelection(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8710 PyObject *resultobj = 0;
8711 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8712 wxTreeItemId result;
8713 void *argp1 = 0 ;
8714 int res1 = 0 ;
8715 PyObject *swig_obj[1] ;
8716
8717 if (!args) SWIG_fail;
8718 swig_obj[0] = args;
8719 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8720 if (!SWIG_IsOK(res1)) {
8721 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelection" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8722 }
8723 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8724 {
8725 PyThreadState* __tstate = wxPyBeginAllowThreads();
8726 result = ((wxPyTreeListCtrl const *)arg1)->GetSelection();
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
8730 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8731 return resultobj;
8732fail:
8733 return NULL;
44127b65
RD
8734}
8735
8736
0085ce49
RD
8737SWIGINTERN PyObject *_wrap_TreeListCtrl_GetSelections(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
8738 PyObject *resultobj = 0;
8739 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8740 PyObject *result = 0 ;
8741 void *argp1 = 0 ;
8742 int res1 = 0 ;
8743 PyObject *swig_obj[1] ;
8744
8745 if (!args) SWIG_fail;
8746 swig_obj[0] = args;
8747 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8748 if (!SWIG_IsOK(res1)) {
8749 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetSelections" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8750 }
8751 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8752 {
8753 PyThreadState* __tstate = wxPyBeginAllowThreads();
8754 result = (PyObject *)wxPyTreeListCtrl_GetSelections(arg1);
8755 wxPyEndAllowThreads(__tstate);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 }
8758 resultobj = result;
8759 return resultobj;
8760fail:
8761 return NULL;
8762}
8763
8764
8765SWIGINTERN PyObject *_wrap_TreeListCtrl_GetItemParent(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8766 PyObject *resultobj = 0;
8767 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8768 wxTreeItemId *arg2 = 0 ;
8769 wxTreeItemId result;
8770 void *argp1 = 0 ;
8771 int res1 = 0 ;
8772 void *argp2 = 0 ;
8773 int res2 = 0 ;
8774 PyObject * obj0 = 0 ;
8775 PyObject * obj1 = 0 ;
8776 char * kwnames[] = {
8777 (char *) "self",(char *) "item", NULL
8778 };
8779
8780 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetItemParent",kwnames,&obj0,&obj1)) SWIG_fail;
8781 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8782 if (!SWIG_IsOK(res1)) {
8783 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
8784 }
8785 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8786 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8787 if (!SWIG_IsOK(res2)) {
8788 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8789 }
8790 if (!argp2) {
8791 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetItemParent" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8792 }
8793 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8794 {
8795 PyThreadState* __tstate = wxPyBeginAllowThreads();
8796 result = ((wxPyTreeListCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
8801 return resultobj;
8802fail:
8803 return NULL;
8804}
8805
8806
8807SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj = 0;
8809 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8810 wxTreeItemId *arg2 = 0 ;
8811 PyObject *result = 0 ;
8812 void *argp1 = 0 ;
8813 int res1 = 0 ;
8814 void *argp2 = 0 ;
8815 int res2 = 0 ;
8816 PyObject * obj0 = 0 ;
8817 PyObject * obj1 = 0 ;
8818 char * kwnames[] = {
8819 (char *) "self",(char *) "item", NULL
8820 };
8821
8822 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetFirstChild",kwnames,&obj0,&obj1)) SWIG_fail;
8823 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8824 if (!SWIG_IsOK(res1)) {
8825 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8826 }
8827 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8828 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8829 if (!SWIG_IsOK(res2)) {
8830 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8831 }
8832 if (!argp2) {
8833 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetFirstChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8834 }
8835 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8836 {
8837 PyThreadState* __tstate = wxPyBeginAllowThreads();
8838 result = (PyObject *)wxPyTreeListCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
8839 wxPyEndAllowThreads(__tstate);
8840 if (PyErr_Occurred()) SWIG_fail;
8841 }
8842 resultobj = result;
8843 return resultobj;
8844fail:
8845 return NULL;
8846}
8847
8848
8849SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8850 PyObject *resultobj = 0;
8851 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8852 wxTreeItemId *arg2 = 0 ;
8853 void *arg3 = (void *) 0 ;
8854 PyObject *result = 0 ;
8855 void *argp1 = 0 ;
8856 int res1 = 0 ;
8857 void *argp2 = 0 ;
8858 int res2 = 0 ;
8859 int res3 ;
8860 PyObject * obj0 = 0 ;
8861 PyObject * obj1 = 0 ;
8862 PyObject * obj2 = 0 ;
8863 char * kwnames[] = {
8864 (char *) "self",(char *) "item",(char *) "cookie", NULL
8865 };
8866
8867 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8868 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8869 if (!SWIG_IsOK(res1)) {
8870 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8871 }
8872 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8873 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8874 if (!SWIG_IsOK(res2)) {
8875 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8876 }
8877 if (!argp2) {
8878 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8879 }
8880 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8881 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8882 if (!SWIG_IsOK(res3)) {
8883 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetNextChild" "', expected argument " "3"" of type '" "void *""'");
8884 }
8885 {
8886 PyThreadState* __tstate = wxPyBeginAllowThreads();
8887 result = (PyObject *)wxPyTreeListCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
33d6fd3b
RD
8891 resultobj = result;
8892 return resultobj;
8893fail:
8894 return NULL;
8895}
8896
8897
8898SWIGINTERN PyObject *_wrap_TreeListCtrl_GetLastChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj = 0;
8900 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8901 wxTreeItemId *arg2 = 0 ;
8902 PyObject *result = 0 ;
8903 void *argp1 = 0 ;
8904 int res1 = 0 ;
8905 void *argp2 = 0 ;
8906 int res2 = 0 ;
8907 PyObject * obj0 = 0 ;
8908 PyObject * obj1 = 0 ;
8909 char * kwnames[] = {
8910 (char *) "self",(char *) "item", NULL
8911 };
8912
8913 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetLastChild",kwnames,&obj0,&obj1)) SWIG_fail;
8914 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8915 if (!SWIG_IsOK(res1)) {
8916 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8917 }
8918 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8919 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8920 if (!SWIG_IsOK(res2)) {
8921 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8922 }
8923 if (!argp2) {
8924 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetLastChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8925 }
8926 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 result = (PyObject *)wxPyTreeListCtrl_GetLastChild(arg1,(wxTreeItemId const &)*arg2);
8930 wxPyEndAllowThreads(__tstate);
8931 if (PyErr_Occurred()) SWIG_fail;
8932 }
8933 resultobj = result;
8934 return resultobj;
8935fail:
8936 return NULL;
8937}
8938
8939
8940SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevChild(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8941 PyObject *resultobj = 0;
8942 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8943 wxTreeItemId *arg2 = 0 ;
8944 void *arg3 = (void *) 0 ;
8945 PyObject *result = 0 ;
8946 void *argp1 = 0 ;
8947 int res1 = 0 ;
8948 void *argp2 = 0 ;
8949 int res2 = 0 ;
8950 int res3 ;
8951 PyObject * obj0 = 0 ;
8952 PyObject * obj1 = 0 ;
8953 PyObject * obj2 = 0 ;
8954 char * kwnames[] = {
8955 (char *) "self",(char *) "item",(char *) "cookie", NULL
8956 };
8957
8958 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeListCtrl_GetPrevChild",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
8959 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
8960 if (!SWIG_IsOK(res1)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
8962 }
8963 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
8964 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
8965 if (!SWIG_IsOK(res2)) {
8966 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8967 }
8968 if (!argp2) {
8969 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
8970 }
8971 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
8972 res3 = SWIG_ConvertPtr(obj2,SWIG_as_voidptrptr(&arg3), 0, 0);
8973 if (!SWIG_IsOK(res3)) {
8974 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_GetPrevChild" "', expected argument " "3"" of type '" "void *""'");
8975 }
8976 {
8977 PyThreadState* __tstate = wxPyBeginAllowThreads();
8978 result = (PyObject *)wxPyTreeListCtrl_GetPrevChild(arg1,(wxTreeItemId const &)*arg2,arg3);
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 resultobj = result;
8983 return resultobj;
8984fail:
8985 return NULL;
8986}
8987
8988
8989SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
8990 PyObject *resultobj = 0;
8991 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
8992 wxTreeItemId *arg2 = 0 ;
8993 wxTreeItemId result;
8994 void *argp1 = 0 ;
8995 int res1 = 0 ;
8996 void *argp2 = 0 ;
8997 int res2 = 0 ;
8998 PyObject * obj0 = 0 ;
8999 PyObject * obj1 = 0 ;
9000 char * kwnames[] = {
9001 (char *) "self",(char *) "item", NULL
9002 };
9003
9004 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextSibling",kwnames,&obj0,&obj1)) SWIG_fail;
9005 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9006 if (!SWIG_IsOK(res1)) {
9007 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9008 }
9009 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9010 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9011 if (!SWIG_IsOK(res2)) {
9012 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9013 }
9014 if (!argp2) {
9015 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9016 }
9017 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9018 {
9019 PyThreadState* __tstate = wxPyBeginAllowThreads();
9020 result = ((wxPyTreeListCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9025 return resultobj;
9026fail:
9027 return NULL;
9028}
9029
9030
9031SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevSibling(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9032 PyObject *resultobj = 0;
9033 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9034 wxTreeItemId *arg2 = 0 ;
9035 wxTreeItemId result;
9036 void *argp1 = 0 ;
9037 int res1 = 0 ;
9038 void *argp2 = 0 ;
9039 int res2 = 0 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 char * kwnames[] = {
9043 (char *) "self",(char *) "item", NULL
9044 };
9045
9046 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) 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_GetPrevSibling" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
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_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9055 }
9056 if (!argp2) {
9057 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevSibling" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9058 }
9059 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
9066 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9067 return resultobj;
9068fail:
9069 return NULL;
9070}
9071
9072
9073SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNext(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj = 0;
9075 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9076 wxTreeItemId *arg2 = 0 ;
9077 wxTreeItemId result;
9078 void *argp1 = 0 ;
9079 int res1 = 0 ;
9080 void *argp2 = 0 ;
9081 int res2 = 0 ;
9082 PyObject * obj0 = 0 ;
9083 PyObject * obj1 = 0 ;
9084 char * kwnames[] = {
9085 (char *) "self",(char *) "item", NULL
9086 };
9087
9088 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNext",kwnames,&obj0,&obj1)) SWIG_fail;
9089 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9090 if (!SWIG_IsOK(res1)) {
9091 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNext" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
9092 }
9093 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9094 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9095 if (!SWIG_IsOK(res2)) {
9096 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9097 }
9098 if (!argp2) {
9099 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNext" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9100 }
9101 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9102 {
9103 PyThreadState* __tstate = wxPyBeginAllowThreads();
9104 result = ((wxPyTreeListCtrl const *)arg1)->GetNext((wxTreeItemId const &)*arg2);
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
0085ce49
RD
9109 return resultobj;
9110fail:
9111 return NULL;
9112}
9113
9114
33d6fd3b 9115SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrev(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9116 PyObject *resultobj = 0;
9117 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9118 wxTreeItemId *arg2 = 0 ;
9119 wxTreeItemId result;
9120 void *argp1 = 0 ;
9121 int res1 = 0 ;
9122 void *argp2 = 0 ;
9123 int res2 = 0 ;
9124 PyObject * obj0 = 0 ;
9125 PyObject * obj1 = 0 ;
9126 char * kwnames[] = {
9127 (char *) "self",(char *) "item", NULL
9128 };
9129
33d6fd3b 9130 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrev",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9131 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9132 if (!SWIG_IsOK(res1)) {
33d6fd3b 9133 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9134 }
9135 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9136 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9137 if (!SWIG_IsOK(res2)) {
33d6fd3b 9138 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9139 }
9140 if (!argp2) {
33d6fd3b 9141 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrev" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9142 }
9143 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9146 result = ((wxPyTreeListCtrl const *)arg1)->GetPrev((wxTreeItemId const &)*arg2);
0085ce49
RD
9147 wxPyEndAllowThreads(__tstate);
9148 if (PyErr_Occurred()) SWIG_fail;
9149 }
9150 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9151 return resultobj;
9152fail:
9153 return NULL;
9154}
9155
9156
33d6fd3b 9157SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstExpandedItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
9158 PyObject *resultobj = 0;
9159 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
0085ce49
RD
9160 wxTreeItemId result;
9161 void *argp1 = 0 ;
9162 int res1 = 0 ;
33d6fd3b 9163 PyObject *swig_obj[1] ;
0085ce49 9164
33d6fd3b
RD
9165 if (!args) SWIG_fail;
9166 swig_obj[0] = args;
9167 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 9168 if (!SWIG_IsOK(res1)) {
33d6fd3b 9169 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstExpandedItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9170 }
9171 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9174 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstExpandedItem();
0085ce49
RD
9175 wxPyEndAllowThreads(__tstate);
9176 if (PyErr_Occurred()) SWIG_fail;
9177 }
9178 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9179 return resultobj;
9180fail:
9181 return NULL;
9182}
9183
9184
33d6fd3b 9185SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9186 PyObject *resultobj = 0;
9187 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9188 wxTreeItemId *arg2 = 0 ;
9189 wxTreeItemId result;
9190 void *argp1 = 0 ;
9191 int res1 = 0 ;
9192 void *argp2 = 0 ;
9193 int res2 = 0 ;
9194 PyObject * obj0 = 0 ;
9195 PyObject * obj1 = 0 ;
9196 char * kwnames[] = {
9197 (char *) "self",(char *) "item", NULL
9198 };
9199
33d6fd3b 9200 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetNextExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9201 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9202 if (!SWIG_IsOK(res1)) {
33d6fd3b 9203 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9204 }
9205 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9206 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9207 if (!SWIG_IsOK(res2)) {
33d6fd3b 9208 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9209 }
9210 if (!argp2) {
33d6fd3b 9211 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9212 }
9213 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9216 result = ((wxPyTreeListCtrl const *)arg1)->GetNextExpanded((wxTreeItemId const &)*arg2);
0085ce49
RD
9217 wxPyEndAllowThreads(__tstate);
9218 if (PyErr_Occurred()) SWIG_fail;
9219 }
9220 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9221 return resultobj;
9222fail:
9223 return NULL;
44127b65
RD
9224}
9225
9226
33d6fd3b 9227SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevExpanded(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9228 PyObject *resultobj = 0;
9229 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 9230 wxTreeItemId *arg2 = 0 ;
0085ce49
RD
9231 wxTreeItemId result;
9232 void *argp1 = 0 ;
9233 int res1 = 0 ;
33d6fd3b
RD
9234 void *argp2 = 0 ;
9235 int res2 = 0 ;
9236 PyObject * obj0 = 0 ;
9237 PyObject * obj1 = 0 ;
9238 char * kwnames[] = {
9239 (char *) "self",(char *) "item", NULL
9240 };
0085ce49 9241
33d6fd3b
RD
9242 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_GetPrevExpanded",kwnames,&obj0,&obj1)) SWIG_fail;
9243 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49 9244 if (!SWIG_IsOK(res1)) {
33d6fd3b 9245 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9246 }
9247 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
9248 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9249 if (!SWIG_IsOK(res2)) {
9250 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9251 }
9252 if (!argp2) {
9253 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevExpanded" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9254 }
9255 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
0085ce49
RD
9256 {
9257 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9258 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevExpanded((wxTreeItemId const &)*arg2);
0085ce49
RD
9259 wxPyEndAllowThreads(__tstate);
9260 if (PyErr_Occurred()) SWIG_fail;
9261 }
9262 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9263 return resultobj;
9264fail:
9265 return NULL;
9266}
9267
9268
33d6fd3b 9269SWIGINTERN PyObject *_wrap_TreeListCtrl_GetFirstVisibleItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9270 PyObject *resultobj = 0;
9271 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
33d6fd3b 9272 bool arg2 = (bool) false ;
0085ce49
RD
9273 wxTreeItemId result;
9274 void *argp1 = 0 ;
9275 int res1 = 0 ;
33d6fd3b
RD
9276 bool val2 ;
9277 int ecode2 = 0 ;
0085ce49
RD
9278 PyObject * obj0 = 0 ;
9279 PyObject * obj1 = 0 ;
9280 char * kwnames[] = {
33d6fd3b 9281 (char *) "self",(char *) "fullRow", NULL
0085ce49
RD
9282 };
9283
33d6fd3b 9284 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_GetFirstVisibleItem",kwnames,&obj0,&obj1)) SWIG_fail;
0085ce49
RD
9285 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9286 if (!SWIG_IsOK(res1)) {
33d6fd3b 9287 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9288 }
9289 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
33d6fd3b
RD
9290 if (obj1) {
9291 ecode2 = SWIG_AsVal_bool(obj1, &val2);
9292 if (!SWIG_IsOK(ecode2)) {
9293 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "TreeListCtrl_GetFirstVisibleItem" "', expected argument " "2"" of type '" "bool""'");
9294 }
9295 arg2 = static_cast< bool >(val2);
0085ce49 9296 }
0085ce49
RD
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9299 result = ((wxPyTreeListCtrl const *)arg1)->GetFirstVisibleItem(arg2);
0085ce49
RD
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9304 return resultobj;
9305fail:
9306 return NULL;
9307}
9308
9309
33d6fd3b 9310SWIGINTERN PyObject *_wrap_TreeListCtrl_GetNextVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9311 PyObject *resultobj = 0;
9312 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9313 wxTreeItemId *arg2 = 0 ;
33d6fd3b 9314 bool arg3 = (bool) false ;
0085ce49
RD
9315 wxTreeItemId result;
9316 void *argp1 = 0 ;
9317 int res1 = 0 ;
9318 void *argp2 = 0 ;
9319 int res2 = 0 ;
33d6fd3b
RD
9320 bool val3 ;
9321 int ecode3 = 0 ;
0085ce49
RD
9322 PyObject * obj0 = 0 ;
9323 PyObject * obj1 = 0 ;
33d6fd3b 9324 PyObject * obj2 = 0 ;
0085ce49 9325 char * kwnames[] = {
33d6fd3b 9326 (char *) "self",(char *) "item",(char *) "fullRow", NULL
0085ce49
RD
9327 };
9328
33d6fd3b 9329 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetNextVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
9330 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9331 if (!SWIG_IsOK(res1)) {
33d6fd3b 9332 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9333 }
9334 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9335 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9336 if (!SWIG_IsOK(res2)) {
33d6fd3b 9337 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9338 }
9339 if (!argp2) {
33d6fd3b 9340 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9341 }
9342 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
9343 if (obj2) {
9344 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9345 if (!SWIG_IsOK(ecode3)) {
9346 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetNextVisible" "', expected argument " "3"" of type '" "bool""'");
9347 }
9348 arg3 = static_cast< bool >(val3);
9349 }
0085ce49
RD
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9352 result = ((wxPyTreeListCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
9353 wxPyEndAllowThreads(__tstate);
9354 if (PyErr_Occurred()) SWIG_fail;
9355 }
9356 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9357 return resultobj;
9358fail:
9359 return NULL;
9360}
9361
9362
33d6fd3b 9363SWIGINTERN PyObject *_wrap_TreeListCtrl_GetPrevVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
0085ce49
RD
9364 PyObject *resultobj = 0;
9365 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9366 wxTreeItemId *arg2 = 0 ;
33d6fd3b 9367 bool arg3 = (bool) false ;
0085ce49
RD
9368 wxTreeItemId result;
9369 void *argp1 = 0 ;
9370 int res1 = 0 ;
9371 void *argp2 = 0 ;
9372 int res2 = 0 ;
33d6fd3b
RD
9373 bool val3 ;
9374 int ecode3 = 0 ;
0085ce49
RD
9375 PyObject * obj0 = 0 ;
9376 PyObject * obj1 = 0 ;
33d6fd3b 9377 PyObject * obj2 = 0 ;
0085ce49 9378 char * kwnames[] = {
33d6fd3b 9379 (char *) "self",(char *) "item",(char *) "fullRow", NULL
0085ce49
RD
9380 };
9381
33d6fd3b 9382 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetPrevVisible",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
9383 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9384 if (!SWIG_IsOK(res1)) {
33d6fd3b 9385 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
0085ce49
RD
9386 }
9387 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9388 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9389 if (!SWIG_IsOK(res2)) {
33d6fd3b 9390 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9391 }
9392 if (!argp2) {
33d6fd3b 9393 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
0085ce49
RD
9394 }
9395 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
9396 if (obj2) {
9397 ecode3 = SWIG_AsVal_bool(obj2, &val3);
9398 if (!SWIG_IsOK(ecode3)) {
9399 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetPrevVisible" "', expected argument " "3"" of type '" "bool""'");
9400 }
9401 arg3 = static_cast< bool >(val3);
9402 }
0085ce49
RD
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9405 result = ((wxPyTreeListCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
9406 wxPyEndAllowThreads(__tstate);
9407 if (PyErr_Occurred()) SWIG_fail;
9408 }
9409 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9410 return resultobj;
9411fail:
9412 return NULL;
9413}
9414
9415
9416SWIGINTERN PyObject *_wrap_TreeListCtrl_AddRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9417 PyObject *resultobj = 0;
9418 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9419 wxString *arg2 = 0 ;
9420 int arg3 = (int) -1 ;
9421 int arg4 = (int) -1 ;
9422 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
9423 wxTreeItemId result;
9424 void *argp1 = 0 ;
9425 int res1 = 0 ;
9426 bool temp2 = false ;
9427 int val3 ;
9428 int ecode3 = 0 ;
9429 int val4 ;
9430 int ecode4 = 0 ;
0085ce49
RD
9431 int res5 = 0 ;
9432 PyObject * obj0 = 0 ;
9433 PyObject * obj1 = 0 ;
9434 PyObject * obj2 = 0 ;
9435 PyObject * obj3 = 0 ;
9436 PyObject * obj4 = 0 ;
9437 char * kwnames[] = {
9438 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9439 };
9440
9441 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:TreeListCtrl_AddRoot",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) SWIG_fail;
9442 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9443 if (!SWIG_IsOK(res1)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9445 }
9446 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9447 {
9448 arg2 = wxString_in_helper(obj1);
9449 if (arg2 == NULL) SWIG_fail;
9450 temp2 = true;
9451 }
9452 if (obj2) {
9453 ecode3 = SWIG_AsVal_int(obj2, &val3);
9454 if (!SWIG_IsOK(ecode3)) {
9455 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "3"" of type '" "int""'");
9456 }
9457 arg3 = static_cast< int >(val3);
9458 }
9459 if (obj3) {
9460 ecode4 = SWIG_AsVal_int(obj3, &val4);
9461 if (!SWIG_IsOK(ecode4)) {
9462 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "4"" of type '" "int""'");
9463 }
9464 arg4 = static_cast< int >(val4);
9465 }
9466 if (obj4) {
01f6b6d3 9467 res5 = SWIG_ConvertPtr(obj4, SWIG_as_voidptrptr(&arg5), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9468 if (!SWIG_IsOK(res5)) {
01f6b6d3 9469 SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "TreeListCtrl_AddRoot" "', expected argument " "5"" of type '" "wxPyTreeItemData *""'");
28eab81f 9470 }
0085ce49
RD
9471 }
9472 {
9473 PyThreadState* __tstate = wxPyBeginAllowThreads();
9474 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
9475 wxPyEndAllowThreads(__tstate);
9476 if (PyErr_Occurred()) SWIG_fail;
9477 }
9478 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9479 {
9480 if (temp2)
9481 delete arg2;
9482 }
9483 return resultobj;
9484fail:
9485 {
9486 if (temp2)
9487 delete arg2;
9488 }
9489 return NULL;
9490}
9491
9492
9493SWIGINTERN PyObject *_wrap_TreeListCtrl_PrependItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj = 0;
9495 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9496 wxTreeItemId *arg2 = 0 ;
9497 wxString *arg3 = 0 ;
9498 int arg4 = (int) -1 ;
9499 int arg5 = (int) -1 ;
9500 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9501 wxTreeItemId result;
9502 void *argp1 = 0 ;
9503 int res1 = 0 ;
9504 void *argp2 = 0 ;
9505 int res2 = 0 ;
9506 bool temp3 = false ;
9507 int val4 ;
9508 int ecode4 = 0 ;
9509 int val5 ;
9510 int ecode5 = 0 ;
0085ce49
RD
9511 int res6 = 0 ;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514 PyObject * obj2 = 0 ;
9515 PyObject * obj3 = 0 ;
9516 PyObject * obj4 = 0 ;
9517 PyObject * obj5 = 0 ;
9518 char * kwnames[] = {
9519 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9520 };
9521
9522 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9523 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9524 if (!SWIG_IsOK(res1)) {
9525 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9526 }
9527 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9528 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9529 if (!SWIG_IsOK(res2)) {
9530 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9531 }
9532 if (!argp2) {
9533 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_PrependItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9534 }
9535 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9536 {
9537 arg3 = wxString_in_helper(obj2);
9538 if (arg3 == NULL) SWIG_fail;
9539 temp3 = true;
9540 }
9541 if (obj3) {
9542 ecode4 = SWIG_AsVal_int(obj3, &val4);
9543 if (!SWIG_IsOK(ecode4)) {
9544 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "4"" of type '" "int""'");
9545 }
9546 arg4 = static_cast< int >(val4);
9547 }
9548 if (obj4) {
9549 ecode5 = SWIG_AsVal_int(obj4, &val5);
9550 if (!SWIG_IsOK(ecode5)) {
9551 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "5"" of type '" "int""'");
9552 }
9553 arg5 = static_cast< int >(val5);
9554 }
9555 if (obj5) {
01f6b6d3 9556 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9557 if (!SWIG_IsOK(res6)) {
01f6b6d3 9558 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_PrependItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
28eab81f 9559 }
0085ce49
RD
9560 }
9561 {
9562 PyThreadState* __tstate = wxPyBeginAllowThreads();
9563 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9568 {
9569 if (temp3)
9570 delete arg3;
9571 }
9572 return resultobj;
9573fail:
9574 {
9575 if (temp3)
9576 delete arg3;
9577 }
9578 return NULL;
9579}
9580
9581
9582SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj = 0;
9584 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9585 wxTreeItemId *arg2 = 0 ;
9586 wxTreeItemId *arg3 = 0 ;
9587 wxString *arg4 = 0 ;
9588 int arg5 = (int) -1 ;
9589 int arg6 = (int) -1 ;
9590 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9591 wxTreeItemId result;
9592 void *argp1 = 0 ;
9593 int res1 = 0 ;
9594 void *argp2 = 0 ;
9595 int res2 = 0 ;
9596 void *argp3 = 0 ;
9597 int res3 = 0 ;
9598 bool temp4 = false ;
9599 int val5 ;
9600 int ecode5 = 0 ;
9601 int val6 ;
9602 int ecode6 = 0 ;
0085ce49
RD
9603 int res7 = 0 ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 PyObject * obj2 = 0 ;
9607 PyObject * obj3 = 0 ;
9608 PyObject * obj4 = 0 ;
9609 PyObject * obj5 = 0 ;
9610 PyObject * obj6 = 0 ;
9611 char * kwnames[] = {
9612 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9613 };
9614
9615 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9616 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9617 if (!SWIG_IsOK(res1)) {
9618 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9619 }
9620 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9621 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9622 if (!SWIG_IsOK(res2)) {
9623 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9624 }
9625 if (!argp2) {
9626 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9627 }
9628 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9629 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9630 if (!SWIG_IsOK(res3)) {
9631 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9632 }
9633 if (!argp3) {
9634 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
9635 }
9636 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
9637 {
9638 arg4 = wxString_in_helper(obj3);
9639 if (arg4 == NULL) SWIG_fail;
9640 temp4 = true;
9641 }
9642 if (obj4) {
9643 ecode5 = SWIG_AsVal_int(obj4, &val5);
9644 if (!SWIG_IsOK(ecode5)) {
9645 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "5"" of type '" "int""'");
9646 }
9647 arg5 = static_cast< int >(val5);
9648 }
9649 if (obj5) {
9650 ecode6 = SWIG_AsVal_int(obj5, &val6);
9651 if (!SWIG_IsOK(ecode6)) {
9652 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "6"" of type '" "int""'");
9653 }
9654 arg6 = static_cast< int >(val6);
9655 }
9656 if (obj6) {
01f6b6d3 9657 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9658 if (!SWIG_IsOK(res7)) {
01f6b6d3 9659 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItem" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
28eab81f 9660 }
0085ce49
RD
9661 }
9662 {
9663 PyThreadState* __tstate = wxPyBeginAllowThreads();
9664 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9665 wxPyEndAllowThreads(__tstate);
9666 if (PyErr_Occurred()) SWIG_fail;
9667 }
9668 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9669 {
9670 if (temp4)
9671 delete arg4;
9672 }
9673 return resultobj;
9674fail:
9675 {
9676 if (temp4)
9677 delete arg4;
9678 }
9679 return NULL;
9680}
9681
9682
9683SWIGINTERN PyObject *_wrap_TreeListCtrl_InsertItemBefore(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9684 PyObject *resultobj = 0;
9685 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9686 wxTreeItemId *arg2 = 0 ;
9687 size_t arg3 ;
9688 wxString *arg4 = 0 ;
9689 int arg5 = (int) -1 ;
9690 int arg6 = (int) -1 ;
9691 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
9692 wxTreeItemId result;
9693 void *argp1 = 0 ;
9694 int res1 = 0 ;
9695 void *argp2 = 0 ;
9696 int res2 = 0 ;
9697 size_t val3 ;
9698 int ecode3 = 0 ;
9699 bool temp4 = false ;
9700 int val5 ;
9701 int ecode5 = 0 ;
9702 int val6 ;
9703 int ecode6 = 0 ;
0085ce49
RD
9704 int res7 = 0 ;
9705 PyObject * obj0 = 0 ;
9706 PyObject * obj1 = 0 ;
9707 PyObject * obj2 = 0 ;
9708 PyObject * obj3 = 0 ;
9709 PyObject * obj4 = 0 ;
9710 PyObject * obj5 = 0 ;
9711 PyObject * obj6 = 0 ;
9712 char * kwnames[] = {
9713 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9714 };
9715
9716 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOO:TreeListCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
9717 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9718 if (!SWIG_IsOK(res1)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9720 }
9721 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9722 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9723 if (!SWIG_IsOK(res2)) {
9724 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9725 }
9726 if (!argp2) {
9727 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9728 }
9729 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9730 ecode3 = SWIG_AsVal_size_t(obj2, &val3);
9731 if (!SWIG_IsOK(ecode3)) {
9732 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "3"" of type '" "size_t""'");
9733 }
9734 arg3 = static_cast< size_t >(val3);
9735 {
9736 arg4 = wxString_in_helper(obj3);
9737 if (arg4 == NULL) SWIG_fail;
9738 temp4 = true;
9739 }
9740 if (obj4) {
9741 ecode5 = SWIG_AsVal_int(obj4, &val5);
9742 if (!SWIG_IsOK(ecode5)) {
9743 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "5"" of type '" "int""'");
9744 }
9745 arg5 = static_cast< int >(val5);
9746 }
9747 if (obj5) {
9748 ecode6 = SWIG_AsVal_int(obj5, &val6);
9749 if (!SWIG_IsOK(ecode6)) {
9750 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "6"" of type '" "int""'");
9751 }
9752 arg6 = static_cast< int >(val6);
9753 }
9754 if (obj6) {
01f6b6d3 9755 res7 = SWIG_ConvertPtr(obj6, SWIG_as_voidptrptr(&arg7), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9756 if (!SWIG_IsOK(res7)) {
01f6b6d3 9757 SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "TreeListCtrl_InsertItemBefore" "', expected argument " "7"" of type '" "wxPyTreeItemData *""'");
44127b65 9758 }
0085ce49
RD
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
9763 wxPyEndAllowThreads(__tstate);
9764 if (PyErr_Occurred()) SWIG_fail;
9765 }
9766 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9767 {
9768 if (temp4)
9769 delete arg4;
9770 }
9771 return resultobj;
9772fail:
9773 {
9774 if (temp4)
9775 delete arg4;
9776 }
9777 return NULL;
9778}
9779
9780
9781SWIGINTERN PyObject *_wrap_TreeListCtrl_AppendItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9782 PyObject *resultobj = 0;
9783 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9784 wxTreeItemId *arg2 = 0 ;
9785 wxString *arg3 = 0 ;
9786 int arg4 = (int) -1 ;
9787 int arg5 = (int) -1 ;
9788 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
9789 wxTreeItemId result;
9790 void *argp1 = 0 ;
9791 int res1 = 0 ;
9792 void *argp2 = 0 ;
9793 int res2 = 0 ;
9794 bool temp3 = false ;
9795 int val4 ;
9796 int ecode4 = 0 ;
9797 int val5 ;
9798 int ecode5 = 0 ;
0085ce49
RD
9799 int res6 = 0 ;
9800 PyObject * obj0 = 0 ;
9801 PyObject * obj1 = 0 ;
9802 PyObject * obj2 = 0 ;
9803 PyObject * obj3 = 0 ;
9804 PyObject * obj4 = 0 ;
9805 PyObject * obj5 = 0 ;
9806 char * kwnames[] = {
9807 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
9808 };
9809
9810 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:TreeListCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
9811 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9812 if (!SWIG_IsOK(res1)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9814 }
9815 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9816 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9817 if (!SWIG_IsOK(res2)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9819 }
9820 if (!argp2) {
9821 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_AppendItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9822 }
9823 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9824 {
9825 arg3 = wxString_in_helper(obj2);
9826 if (arg3 == NULL) SWIG_fail;
9827 temp3 = true;
9828 }
9829 if (obj3) {
9830 ecode4 = SWIG_AsVal_int(obj3, &val4);
9831 if (!SWIG_IsOK(ecode4)) {
9832 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "4"" of type '" "int""'");
9833 }
9834 arg4 = static_cast< int >(val4);
9835 }
9836 if (obj4) {
9837 ecode5 = SWIG_AsVal_int(obj4, &val5);
9838 if (!SWIG_IsOK(ecode5)) {
9839 SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "5"" of type '" "int""'");
9840 }
9841 arg5 = static_cast< int >(val5);
9842 }
9843 if (obj5) {
01f6b6d3 9844 res6 = SWIG_ConvertPtr(obj5, SWIG_as_voidptrptr(&arg6), SWIGTYPE_p_wxPyTreeItemData, SWIG_POINTER_DISOWN | 0 );
0085ce49 9845 if (!SWIG_IsOK(res6)) {
01f6b6d3 9846 SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "TreeListCtrl_AppendItem" "', expected argument " "6"" of type '" "wxPyTreeItemData *""'");
44127b65 9847 }
0085ce49
RD
9848 }
9849 {
9850 PyThreadState* __tstate = wxPyBeginAllowThreads();
9851 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
9852 wxPyEndAllowThreads(__tstate);
9853 if (PyErr_Occurred()) SWIG_fail;
9854 }
9855 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
9856 {
9857 if (temp3)
9858 delete arg3;
9859 }
9860 return resultobj;
9861fail:
9862 {
9863 if (temp3)
9864 delete arg3;
9865 }
9866 return NULL;
9867}
9868
9869
9870SWIGINTERN PyObject *_wrap_TreeListCtrl_Delete(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9871 PyObject *resultobj = 0;
9872 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9873 wxTreeItemId *arg2 = 0 ;
9874 void *argp1 = 0 ;
9875 int res1 = 0 ;
9876 void *argp2 = 0 ;
9877 int res2 = 0 ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj1 = 0 ;
9880 char * kwnames[] = {
9881 (char *) "self",(char *) "item", NULL
9882 };
9883
9884 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Delete",kwnames,&obj0,&obj1)) SWIG_fail;
9885 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9886 if (!SWIG_IsOK(res1)) {
9887 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Delete" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9888 }
9889 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9890 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9891 if (!SWIG_IsOK(res2)) {
9892 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9893 }
9894 if (!argp2) {
9895 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Delete" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9896 }
9897 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9898 {
9899 PyThreadState* __tstate = wxPyBeginAllowThreads();
9900 (arg1)->Delete((wxTreeItemId const &)*arg2);
9901 wxPyEndAllowThreads(__tstate);
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
9904 resultobj = SWIG_Py_Void();
9905 return resultobj;
9906fail:
9907 return NULL;
9908}
9909
9910
9911SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9912 PyObject *resultobj = 0;
9913 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9914 wxTreeItemId *arg2 = 0 ;
9915 void *argp1 = 0 ;
9916 int res1 = 0 ;
9917 void *argp2 = 0 ;
9918 int res2 = 0 ;
9919 PyObject * obj0 = 0 ;
9920 PyObject * obj1 = 0 ;
9921 char * kwnames[] = {
9922 (char *) "self",(char *) "item", NULL
9923 };
9924
9925 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_DeleteChildren",kwnames,&obj0,&obj1)) SWIG_fail;
9926 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9927 if (!SWIG_IsOK(res1)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9929 }
9930 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9931 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
9932 if (!SWIG_IsOK(res2)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9934 }
9935 if (!argp2) {
9936 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_DeleteChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
9937 }
9938 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 resultobj = SWIG_Py_Void();
9946 return resultobj;
9947fail:
9948 return NULL;
44127b65
RD
9949}
9950
9951
33d6fd3b 9952SWIGINTERN PyObject *_wrap_TreeListCtrl_DeleteRoot(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
9953 PyObject *resultobj = 0;
9954 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9955 void *argp1 = 0 ;
9956 int res1 = 0 ;
9957 PyObject *swig_obj[1] ;
9958
9959 if (!args) SWIG_fail;
9960 swig_obj[0] = args;
9961 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9962 if (!SWIG_IsOK(res1)) {
33d6fd3b 9963 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_DeleteRoot" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
0085ce49
RD
9964 }
9965 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9966 {
9967 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 9968 (arg1)->DeleteRoot();
0085ce49
RD
9969 wxPyEndAllowThreads(__tstate);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 resultobj = SWIG_Py_Void();
9973 return resultobj;
9974fail:
9975 return NULL;
9976}
9977
9978
9979SWIGINTERN PyObject *_wrap_TreeListCtrl_Expand(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
9980 PyObject *resultobj = 0;
9981 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
9982 wxTreeItemId *arg2 = 0 ;
9983 void *argp1 = 0 ;
9984 int res1 = 0 ;
9985 void *argp2 = 0 ;
9986 int res2 = 0 ;
9987 PyObject * obj0 = 0 ;
9988 PyObject * obj1 = 0 ;
9989 char * kwnames[] = {
9990 (char *) "self",(char *) "item", NULL
9991 };
9992
9993 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Expand",kwnames,&obj0,&obj1)) SWIG_fail;
9994 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
9995 if (!SWIG_IsOK(res1)) {
9996 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Expand" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
9997 }
9998 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
9999 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10000 if (!SWIG_IsOK(res2)) {
10001 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10002 }
10003 if (!argp2) {
10004 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Expand" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10005 }
10006 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10007 {
10008 PyThreadState* __tstate = wxPyBeginAllowThreads();
10009 (arg1)->Expand((wxTreeItemId const &)*arg2);
10010 wxPyEndAllowThreads(__tstate);
10011 if (PyErr_Occurred()) SWIG_fail;
10012 }
10013 resultobj = SWIG_Py_Void();
10014 return resultobj;
10015fail:
10016 return NULL;
10017}
10018
10019
10020SWIGINTERN PyObject *_wrap_TreeListCtrl_ExpandAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj = 0;
10022 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10023 wxTreeItemId *arg2 = 0 ;
10024 void *argp1 = 0 ;
10025 int res1 = 0 ;
10026 void *argp2 = 0 ;
10027 int res2 = 0 ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 char * kwnames[] = {
10031 (char *) "self",(char *) "item", NULL
10032 };
10033
10034 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ExpandAll",kwnames,&obj0,&obj1)) SWIG_fail;
10035 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10036 if (!SWIG_IsOK(res1)) {
10037 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10038 }
10039 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10040 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10041 if (!SWIG_IsOK(res2)) {
10042 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10043 }
10044 if (!argp2) {
10045 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ExpandAll" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10046 }
10047 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10048 {
10049 PyThreadState* __tstate = wxPyBeginAllowThreads();
10050 (arg1)->ExpandAll((wxTreeItemId const &)*arg2);
10051 wxPyEndAllowThreads(__tstate);
10052 if (PyErr_Occurred()) SWIG_fail;
10053 }
10054 resultobj = SWIG_Py_Void();
10055 return resultobj;
10056fail:
10057 return NULL;
10058}
10059
10060
10061SWIGINTERN PyObject *_wrap_TreeListCtrl_Collapse(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10062 PyObject *resultobj = 0;
10063 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10064 wxTreeItemId *arg2 = 0 ;
10065 void *argp1 = 0 ;
10066 int res1 = 0 ;
10067 void *argp2 = 0 ;
10068 int res2 = 0 ;
10069 PyObject * obj0 = 0 ;
10070 PyObject * obj1 = 0 ;
10071 char * kwnames[] = {
10072 (char *) "self",(char *) "item", NULL
10073 };
10074
10075 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Collapse",kwnames,&obj0,&obj1)) SWIG_fail;
10076 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10077 if (!SWIG_IsOK(res1)) {
10078 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Collapse" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10079 }
10080 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10081 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10082 if (!SWIG_IsOK(res2)) {
10083 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10084 }
10085 if (!argp2) {
10086 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Collapse" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10087 }
10088 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10089 {
10090 PyThreadState* __tstate = wxPyBeginAllowThreads();
10091 (arg1)->Collapse((wxTreeItemId const &)*arg2);
10092 wxPyEndAllowThreads(__tstate);
10093 if (PyErr_Occurred()) SWIG_fail;
10094 }
10095 resultobj = SWIG_Py_Void();
10096 return resultobj;
10097fail:
10098 return NULL;
10099}
10100
10101
10102SWIGINTERN PyObject *_wrap_TreeListCtrl_CollapseAndReset(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10103 PyObject *resultobj = 0;
10104 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10105 wxTreeItemId *arg2 = 0 ;
10106 void *argp1 = 0 ;
10107 int res1 = 0 ;
10108 void *argp2 = 0 ;
10109 int res2 = 0 ;
10110 PyObject * obj0 = 0 ;
10111 PyObject * obj1 = 0 ;
10112 char * kwnames[] = {
10113 (char *) "self",(char *) "item", NULL
10114 };
10115
10116 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) SWIG_fail;
10117 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10118 if (!SWIG_IsOK(res1)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10120 }
10121 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10122 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10123 if (!SWIG_IsOK(res2)) {
10124 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10125 }
10126 if (!argp2) {
10127 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_CollapseAndReset" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10128 }
10129 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
10133 wxPyEndAllowThreads(__tstate);
10134 if (PyErr_Occurred()) SWIG_fail;
10135 }
10136 resultobj = SWIG_Py_Void();
10137 return resultobj;
10138fail:
10139 return NULL;
10140}
10141
10142
10143SWIGINTERN PyObject *_wrap_TreeListCtrl_Toggle(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10144 PyObject *resultobj = 0;
10145 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10146 wxTreeItemId *arg2 = 0 ;
10147 void *argp1 = 0 ;
10148 int res1 = 0 ;
10149 void *argp2 = 0 ;
10150 int res2 = 0 ;
10151 PyObject * obj0 = 0 ;
10152 PyObject * obj1 = 0 ;
10153 char * kwnames[] = {
10154 (char *) "self",(char *) "item", NULL
10155 };
10156
10157 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_Toggle",kwnames,&obj0,&obj1)) SWIG_fail;
10158 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10159 if (!SWIG_IsOK(res1)) {
10160 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Toggle" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10161 }
10162 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10163 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10164 if (!SWIG_IsOK(res2)) {
10165 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10166 }
10167 if (!argp2) {
10168 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_Toggle" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10169 }
10170 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10171 {
10172 PyThreadState* __tstate = wxPyBeginAllowThreads();
10173 (arg1)->Toggle((wxTreeItemId const &)*arg2);
10174 wxPyEndAllowThreads(__tstate);
10175 if (PyErr_Occurred()) SWIG_fail;
10176 }
10177 resultobj = SWIG_Py_Void();
10178 return resultobj;
10179fail:
10180 return NULL;
44127b65
RD
10181}
10182
10183
0085ce49
RD
10184SWIGINTERN PyObject *_wrap_TreeListCtrl_Unselect(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10185 PyObject *resultobj = 0;
10186 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10187 void *argp1 = 0 ;
10188 int res1 = 0 ;
10189 PyObject *swig_obj[1] ;
10190
10191 if (!args) SWIG_fail;
10192 swig_obj[0] = args;
10193 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10194 if (!SWIG_IsOK(res1)) {
10195 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_Unselect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10196 }
10197 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10198 {
10199 PyThreadState* __tstate = wxPyBeginAllowThreads();
10200 (arg1)->Unselect();
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = SWIG_Py_Void();
10205 return resultobj;
10206fail:
10207 return NULL;
6260902d
RD
10208}
10209
10210
0085ce49
RD
10211SWIGINTERN PyObject *_wrap_TreeListCtrl_UnselectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10212 PyObject *resultobj = 0;
10213 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10214 void *argp1 = 0 ;
10215 int res1 = 0 ;
10216 PyObject *swig_obj[1] ;
10217
10218 if (!args) SWIG_fail;
10219 swig_obj[0] = args;
10220 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10221 if (!SWIG_IsOK(res1)) {
10222 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_UnselectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10223 }
10224 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 (arg1)->UnselectAll();
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = SWIG_Py_Void();
10232 return resultobj;
10233fail:
10234 return NULL;
10235}
10236
10237
10238SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj = 0;
10240 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10241 wxTreeItemId *arg2 = 0 ;
33d6fd3b
RD
10242 wxTreeItemId const &arg3_defvalue = (wxTreeItemId *) NULL ;
10243 wxTreeItemId *arg3 = (wxTreeItemId *) &arg3_defvalue ;
10244 bool arg4 = (bool) true ;
0085ce49
RD
10245 void *argp1 = 0 ;
10246 int res1 = 0 ;
10247 void *argp2 = 0 ;
10248 int res2 = 0 ;
33d6fd3b
RD
10249 void *argp3 = 0 ;
10250 int res3 = 0 ;
0085ce49
RD
10251 bool val4 ;
10252 int ecode4 = 0 ;
10253 PyObject * obj0 = 0 ;
10254 PyObject * obj1 = 0 ;
10255 PyObject * obj2 = 0 ;
10256 PyObject * obj3 = 0 ;
10257 char * kwnames[] = {
33d6fd3b 10258 (char *) "self",(char *) "item",(char *) "last",(char *) "unselect_others", NULL
0085ce49
RD
10259 };
10260
10261 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:TreeListCtrl_SelectItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10262 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10263 if (!SWIG_IsOK(res1)) {
10264 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10265 }
10266 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10267 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10268 if (!SWIG_IsOK(res2)) {
10269 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10270 }
10271 if (!argp2) {
10272 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10273 }
10274 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10275 if (obj2) {
33d6fd3b
RD
10276 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10277 if (!SWIG_IsOK(res3)) {
10278 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10279 }
10280 if (!argp3) {
10281 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SelectItem" "', expected argument " "3"" of type '" "wxTreeItemId const &""'");
10282 }
10283 arg3 = reinterpret_cast< wxTreeItemId * >(argp3);
0085ce49
RD
10284 }
10285 if (obj3) {
10286 ecode4 = SWIG_AsVal_bool(obj3, &val4);
10287 if (!SWIG_IsOK(ecode4)) {
10288 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_SelectItem" "', expected argument " "4"" of type '" "bool""'");
10289 }
10290 arg4 = static_cast< bool >(val4);
10291 }
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10294 (arg1)->SelectItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,arg4);
0085ce49
RD
10295 wxPyEndAllowThreads(__tstate);
10296 if (PyErr_Occurred()) SWIG_fail;
10297 }
10298 resultobj = SWIG_Py_Void();
10299 return resultobj;
10300fail:
10301 return NULL;
10302}
10303
10304
33d6fd3b 10305SWIGINTERN PyObject *_wrap_TreeListCtrl_SelectAll(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
0085ce49
RD
10306 PyObject *resultobj = 0;
10307 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
0085ce49
RD
10308 void *argp1 = 0 ;
10309 int res1 = 0 ;
33d6fd3b 10310 PyObject *swig_obj[1] ;
0085ce49 10311
33d6fd3b
RD
10312 if (!args) SWIG_fail;
10313 swig_obj[0] = args;
10314 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
0085ce49
RD
10315 if (!SWIG_IsOK(res1)) {
10316 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SelectAll" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10317 }
10318 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
0085ce49
RD
10319 {
10320 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10321 (arg1)->SelectAll();
0085ce49
RD
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = SWIG_Py_Void();
10326 return resultobj;
10327fail:
10328 return NULL;
10329}
10330
10331
10332SWIGINTERN PyObject *_wrap_TreeListCtrl_EnsureVisible(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj = 0;
10334 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10335 wxTreeItemId *arg2 = 0 ;
10336 void *argp1 = 0 ;
10337 int res1 = 0 ;
10338 void *argp2 = 0 ;
10339 int res2 = 0 ;
10340 PyObject * obj0 = 0 ;
10341 PyObject * obj1 = 0 ;
10342 char * kwnames[] = {
10343 (char *) "self",(char *) "item", NULL
10344 };
10345
10346 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_EnsureVisible",kwnames,&obj0,&obj1)) SWIG_fail;
10347 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10348 if (!SWIG_IsOK(res1)) {
10349 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10350 }
10351 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10352 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10353 if (!SWIG_IsOK(res2)) {
10354 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10355 }
10356 if (!argp2) {
10357 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EnsureVisible" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10358 }
10359 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10360 {
10361 PyThreadState* __tstate = wxPyBeginAllowThreads();
10362 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
10363 wxPyEndAllowThreads(__tstate);
10364 if (PyErr_Occurred()) SWIG_fail;
10365 }
10366 resultobj = SWIG_Py_Void();
10367 return resultobj;
10368fail:
10369 return NULL;
10370}
10371
10372
10373SWIGINTERN PyObject *_wrap_TreeListCtrl_ScrollTo(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10374 PyObject *resultobj = 0;
10375 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10376 wxTreeItemId *arg2 = 0 ;
10377 void *argp1 = 0 ;
10378 int res1 = 0 ;
10379 void *argp2 = 0 ;
10380 int res2 = 0 ;
10381 PyObject * obj0 = 0 ;
10382 PyObject * obj1 = 0 ;
10383 char * kwnames[] = {
10384 (char *) "self",(char *) "item", NULL
10385 };
10386
10387 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_ScrollTo",kwnames,&obj0,&obj1)) SWIG_fail;
10388 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10389 if (!SWIG_IsOK(res1)) {
10390 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10391 }
10392 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10393 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10394 if (!SWIG_IsOK(res2)) {
10395 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10396 }
10397 if (!argp2) {
10398 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_ScrollTo" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10399 }
10400 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 resultobj = SWIG_Py_Void();
10408 return resultobj;
10409fail:
10410 return NULL;
10411}
10412
10413
10414SWIGINTERN PyObject *_wrap_TreeListCtrl_HitTest(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10415 PyObject *resultobj = 0;
10416 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10417 wxPoint *arg2 = 0 ;
10418 int *arg3 = 0 ;
10419 int *arg4 = 0 ;
10420 wxTreeItemId result;
10421 void *argp1 = 0 ;
10422 int res1 = 0 ;
10423 wxPoint temp2 ;
10424 int temp3 ;
10425 int res3 = SWIG_TMPOBJ ;
10426 int temp4 ;
10427 int res4 = SWIG_TMPOBJ ;
10428 PyObject * obj0 = 0 ;
10429 PyObject * obj1 = 0 ;
10430 char * kwnames[] = {
10431 (char *) "self",(char *) "point", NULL
10432 };
10433
10434 arg3 = &temp3;
10435 arg4 = &temp4;
10436 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_HitTest",kwnames,&obj0,&obj1)) SWIG_fail;
10437 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10438 if (!SWIG_IsOK(res1)) {
10439 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_HitTest" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10440 }
10441 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10442 {
10443 arg2 = &temp2;
10444 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10445 }
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3,*arg4);
10449 wxPyEndAllowThreads(__tstate);
10450 if (PyErr_Occurred()) SWIG_fail;
10451 }
10452 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10453 if (SWIG_IsTmpObj(res3)) {
10454 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg3)));
10455 } else {
10456 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10457 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, new_flags));
10458 }
10459 if (SWIG_IsTmpObj(res4)) {
10460 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg4)));
10461 } else {
10462 int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
10463 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, new_flags));
10464 }
10465 return resultobj;
10466fail:
10467 return NULL;
10468}
10469
10470
10471SWIGINTERN PyObject *_wrap_TreeListCtrl_GetBoundingRect(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10472 PyObject *resultobj = 0;
10473 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10474 wxTreeItemId *arg2 = 0 ;
10475 bool arg3 = (bool) false ;
10476 PyObject *result = 0 ;
10477 void *argp1 = 0 ;
10478 int res1 = 0 ;
10479 void *argp2 = 0 ;
10480 int res2 = 0 ;
10481 bool val3 ;
10482 int ecode3 = 0 ;
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 char * kwnames[] = {
10487 (char *) "self",(char *) "item",(char *) "textOnly", NULL
10488 };
10489
10490 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
10491 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10492 if (!SWIG_IsOK(res1)) {
10493 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10494 }
10495 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10496 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10497 if (!SWIG_IsOK(res2)) {
10498 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10499 }
10500 if (!argp2) {
10501 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10502 }
10503 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10504 if (obj2) {
10505 ecode3 = SWIG_AsVal_bool(obj2, &val3);
10506 if (!SWIG_IsOK(ecode3)) {
10507 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_GetBoundingRect" "', expected argument " "3"" of type '" "bool""'");
10508 }
10509 arg3 = static_cast< bool >(val3);
10510 }
10511 {
10512 PyThreadState* __tstate = wxPyBeginAllowThreads();
10513 result = (PyObject *)wxPyTreeListCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
10514 wxPyEndAllowThreads(__tstate);
10515 if (PyErr_Occurred()) SWIG_fail;
10516 }
10517 resultobj = result;
10518 return resultobj;
10519fail:
10520 return NULL;
10521}
10522
10523
10524SWIGINTERN PyObject *_wrap_TreeListCtrl_EditLabel(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10525 PyObject *resultobj = 0;
10526 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10527 wxTreeItemId *arg2 = 0 ;
33d6fd3b 10528 int arg3 = (int) -1 ;
0085ce49
RD
10529 void *argp1 = 0 ;
10530 int res1 = 0 ;
10531 void *argp2 = 0 ;
10532 int res2 = 0 ;
33d6fd3b
RD
10533 int val3 ;
10534 int ecode3 = 0 ;
0085ce49
RD
10535 PyObject * obj0 = 0 ;
10536 PyObject * obj1 = 0 ;
33d6fd3b 10537 PyObject * obj2 = 0 ;
0085ce49 10538 char * kwnames[] = {
33d6fd3b 10539 (char *) "self",(char *) "item",(char *) "column", NULL
0085ce49
RD
10540 };
10541
33d6fd3b 10542 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeListCtrl_EditLabel",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
0085ce49
RD
10543 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10544 if (!SWIG_IsOK(res1)) {
10545 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10546 }
10547 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10548 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10549 if (!SWIG_IsOK(res2)) {
10550 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10551 }
10552 if (!argp2) {
10553 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_EditLabel" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10554 }
10555 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
33d6fd3b
RD
10556 if (obj2) {
10557 ecode3 = SWIG_AsVal_int(obj2, &val3);
10558 if (!SWIG_IsOK(ecode3)) {
10559 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "TreeListCtrl_EditLabel" "', expected argument " "3"" of type '" "int""'");
10560 }
10561 arg3 = static_cast< int >(val3);
0085ce49 10562 }
0085ce49
RD
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
33d6fd3b 10565 wxPyTreeListCtrl_EditLabel(arg1,(wxTreeItemId const &)*arg2,arg3);
0085ce49
RD
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = SWIG_Py_Void();
10570 return resultobj;
10571fail:
10572 return NULL;
10573}
10574
10575
10576SWIGINTERN PyObject *_wrap_TreeListCtrl_SortChildren(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj = 0;
10578 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10579 wxTreeItemId *arg2 = 0 ;
10580 void *argp1 = 0 ;
10581 int res1 = 0 ;
10582 void *argp2 = 0 ;
10583 int res2 = 0 ;
10584 PyObject * obj0 = 0 ;
10585 PyObject * obj1 = 0 ;
10586 char * kwnames[] = {
10587 (char *) "self",(char *) "item", NULL
10588 };
10589
10590 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeListCtrl_SortChildren",kwnames,&obj0,&obj1)) SWIG_fail;
10591 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10592 if (!SWIG_IsOK(res1)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10594 }
10595 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10596 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10597 if (!SWIG_IsOK(res2)) {
10598 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10599 }
10600 if (!argp2) {
10601 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SortChildren" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10602 }
10603 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10604 {
10605 PyThreadState* __tstate = wxPyBeginAllowThreads();
10606 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
10607 wxPyEndAllowThreads(__tstate);
10608 if (PyErr_Occurred()) SWIG_fail;
10609 }
10610 resultobj = SWIG_Py_Void();
10611 return resultobj;
10612fail:
10613 return NULL;
10614}
10615
10616
10617SWIGINTERN PyObject *_wrap_TreeListCtrl_FindItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10618 PyObject *resultobj = 0;
10619 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10620 wxTreeItemId *arg2 = 0 ;
10621 wxString *arg3 = 0 ;
10622 int arg4 = (int) 0 ;
10623 wxTreeItemId result;
10624 void *argp1 = 0 ;
10625 int res1 = 0 ;
10626 void *argp2 = 0 ;
10627 int res2 = 0 ;
10628 bool temp3 = false ;
10629 int val4 ;
10630 int ecode4 = 0 ;
10631 PyObject * obj0 = 0 ;
10632 PyObject * obj1 = 0 ;
10633 PyObject * obj2 = 0 ;
10634 PyObject * obj3 = 0 ;
10635 char * kwnames[] = {
10636 (char *) "self",(char *) "item",(char *) "str",(char *) "flags", NULL
10637 };
10638
10639 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:TreeListCtrl_FindItem",kwnames,&obj0,&obj1,&obj2,&obj3)) SWIG_fail;
10640 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10641 if (!SWIG_IsOK(res1)) {
10642 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_FindItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10643 }
10644 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10645 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10646 if (!SWIG_IsOK(res2)) {
10647 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10648 }
10649 if (!argp2) {
10650 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_FindItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10651 }
10652 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10653 {
10654 arg3 = wxString_in_helper(obj2);
10655 if (arg3 == NULL) SWIG_fail;
10656 temp3 = true;
10657 }
10658 if (obj3) {
10659 ecode4 = SWIG_AsVal_int(obj3, &val4);
10660 if (!SWIG_IsOK(ecode4)) {
10661 SWIG_exception_fail(SWIG_ArgError(ecode4), "in method '" "TreeListCtrl_FindItem" "', expected argument " "4"" of type '" "int""'");
10662 }
10663 arg4 = static_cast< int >(val4);
10664 }
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 result = (arg1)->FindItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4);
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 resultobj = SWIG_NewPointerObj((new wxTreeItemId(static_cast< const wxTreeItemId& >(result))), SWIGTYPE_p_wxTreeItemId, SWIG_POINTER_OWN | 0 );
10672 {
10673 if (temp3)
10674 delete arg3;
10675 }
10676 return resultobj;
10677fail:
10678 {
10679 if (temp3)
10680 delete arg3;
10681 }
10682 return NULL;
6260902d
RD
10683}
10684
10685
33d6fd3b
RD
10686SWIGINTERN PyObject *_wrap_TreeListCtrl_SetDragItem(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10687 PyObject *resultobj = 0;
10688 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10689 wxTreeItemId const &arg2_defvalue = (wxTreeItemId *) NULL ;
10690 wxTreeItemId *arg2 = (wxTreeItemId *) &arg2_defvalue ;
10691 void *argp1 = 0 ;
10692 int res1 = 0 ;
10693 void *argp2 = 0 ;
10694 int res2 = 0 ;
10695 PyObject * obj0 = 0 ;
10696 PyObject * obj1 = 0 ;
10697 char * kwnames[] = {
10698 (char *) "self",(char *) "item", NULL
10699 };
10700
10701 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TreeListCtrl_SetDragItem",kwnames,&obj0,&obj1)) SWIG_fail;
10702 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10703 if (!SWIG_IsOK(res1)) {
10704 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "1"" of type '" "wxPyTreeListCtrl *""'");
10705 }
10706 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10707 if (obj1) {
10708 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxTreeItemId, 0 | 0);
10709 if (!SWIG_IsOK(res2)) {
10710 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10711 }
10712 if (!argp2) {
10713 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "TreeListCtrl_SetDragItem" "', expected argument " "2"" of type '" "wxTreeItemId const &""'");
10714 }
10715 arg2 = reinterpret_cast< wxTreeItemId * >(argp2);
10716 }
10717 {
10718 PyThreadState* __tstate = wxPyBeginAllowThreads();
10719 (arg1)->SetDragItem((wxTreeItemId const &)*arg2);
10720 wxPyEndAllowThreads(__tstate);
10721 if (PyErr_Occurred()) SWIG_fail;
10722 }
10723 resultobj = SWIG_Py_Void();
10724 return resultobj;
10725fail:
10726 return NULL;
10727}
10728
10729
0085ce49
RD
10730SWIGINTERN PyObject *_wrap_TreeListCtrl_GetHeaderWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10731 PyObject *resultobj = 0;
10732 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10733 wxWindow *result = 0 ;
10734 void *argp1 = 0 ;
10735 int res1 = 0 ;
10736 PyObject *swig_obj[1] ;
10737
10738 if (!args) SWIG_fail;
10739 swig_obj[0] = args;
10740 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10741 if (!SWIG_IsOK(res1)) {
10742 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetHeaderWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10743 }
10744 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10745 {
10746 PyThreadState* __tstate = wxPyBeginAllowThreads();
10747 result = (wxWindow *)((wxPyTreeListCtrl const *)arg1)->GetHeaderWindow();
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 {
10752 resultobj = wxPyMake_wxObject(result, 0);
10753 }
10754 return resultobj;
10755fail:
10756 return NULL;
6260902d
RD
10757}
10758
10759
0085ce49
RD
10760SWIGINTERN PyObject *_wrap_TreeListCtrl_GetMainWindow(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10761 PyObject *resultobj = 0;
10762 wxPyTreeListCtrl *arg1 = (wxPyTreeListCtrl *) 0 ;
10763 wxScrolledWindow *result = 0 ;
10764 void *argp1 = 0 ;
10765 int res1 = 0 ;
10766 PyObject *swig_obj[1] ;
10767
10768 if (!args) SWIG_fail;
10769 swig_obj[0] = args;
10770 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxPyTreeListCtrl, 0 | 0 );
10771 if (!SWIG_IsOK(res1)) {
10772 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "TreeListCtrl_GetMainWindow" "', expected argument " "1"" of type '" "wxPyTreeListCtrl const *""'");
10773 }
10774 arg1 = reinterpret_cast< wxPyTreeListCtrl * >(argp1);
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 result = (wxScrolledWindow *)((wxPyTreeListCtrl const *)arg1)->GetMainWindow();
10778 wxPyEndAllowThreads(__tstate);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 }
10781 {
10782 resultobj = wxPyMake_wxObject(result, 0);
10783 }
10784 return resultobj;
10785fail:
10786 return NULL;
10787}
10788
10789
10790SWIGINTERN PyObject *TreeListCtrl_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10791 PyObject *obj;
10792 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
10793 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTreeListCtrl, SWIG_NewClientData(obj));
10794 return SWIG_Py_Void();
10795}
10796
10797SWIGINTERN PyObject *TreeListCtrl_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10798 return SWIG_Python_InitShadowInstance(args);
10799}
10800
10801SWIGINTERN PyObject *_wrap_new_StaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj = 0;
10803 wxWindow *arg1 = (wxWindow *) 0 ;
10804 int arg2 = (int) -1 ;
10805 wxBitmap const &arg3_defvalue = wxNullBitmap ;
10806 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
10807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10809 wxSize const &arg5_defvalue = wxDefaultSize ;
10810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10811 long arg6 = (long) 0 ;
10812 wxString const &arg7_defvalue = wxPyStaticPictureNameStr ;
10813 wxString *arg7 = (wxString *) &arg7_defvalue ;
10814 wxStaticPicture *result = 0 ;
10815 void *argp1 = 0 ;
10816 int res1 = 0 ;
10817 int val2 ;
10818 int ecode2 = 0 ;
10819 void *argp3 = 0 ;
10820 int res3 = 0 ;
10821 wxPoint temp4 ;
10822 wxSize temp5 ;
10823 long val6 ;
10824 int ecode6 = 0 ;
10825 bool temp7 = false ;
10826 PyObject * obj0 = 0 ;
10827 PyObject * obj1 = 0 ;
10828 PyObject * obj2 = 0 ;
10829 PyObject * obj3 = 0 ;
10830 PyObject * obj4 = 0 ;
10831 PyObject * obj5 = 0 ;
10832 PyObject * obj6 = 0 ;
10833 char * kwnames[] = {
10834 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10835 };
10836
10837 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_StaticPicture",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
10838 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxWindow, 0 | 0 );
10839 if (!SWIG_IsOK(res1)) {
10840 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_StaticPicture" "', expected argument " "1"" of type '" "wxWindow *""'");
10841 }
10842 arg1 = reinterpret_cast< wxWindow * >(argp1);
10843 if (obj1) {
10844 ecode2 = SWIG_AsVal_int(obj1, &val2);
10845 if (!SWIG_IsOK(ecode2)) {
10846 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "new_StaticPicture" "', expected argument " "2"" of type '" "int""'");
10847 }
10848 arg2 = static_cast< int >(val2);
10849 }
10850 if (obj2) {
10851 res3 = SWIG_ConvertPtr(obj2, &argp3, SWIGTYPE_p_wxBitmap, 0 | 0);
10852 if (!SWIG_IsOK(res3)) {
10853 SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10854 }
0085ce49
RD
10855 if (!argp3) {
10856 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_StaticPicture" "', expected argument " "3"" of type '" "wxBitmap const &""'");
6260902d 10857 }
0085ce49
RD
10858 arg3 = reinterpret_cast< wxBitmap * >(argp3);
10859 }
10860 if (obj3) {
6260902d 10861 {
0085ce49
RD
10862 arg4 = &temp4;
10863 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6260902d 10864 }
0085ce49
RD
10865 }
10866 if (obj4) {
6260902d 10867 {
0085ce49
RD
10868 arg5 = &temp5;
10869 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6260902d 10870 }
0085ce49
RD
10871 }
10872 if (obj5) {
10873 ecode6 = SWIG_AsVal_long(obj5, &val6);
10874 if (!SWIG_IsOK(ecode6)) {
10875 SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "new_StaticPicture" "', expected argument " "6"" of type '" "long""'");
10876 }
10877 arg6 = static_cast< long >(val6);
10878 }
10879 if (obj6) {
6260902d 10880 {
0085ce49
RD
10881 arg7 = wxString_in_helper(obj6);
10882 if (arg7 == NULL) SWIG_fail;
10883 temp7 = true;
6260902d 10884 }
0085ce49
RD
10885 }
10886 {
10887 if (!wxPyCheckForApp()) SWIG_fail;
10888 PyThreadState* __tstate = wxPyBeginAllowThreads();
10889 result = (wxStaticPicture *)new wxStaticPicture(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10890 wxPyEndAllowThreads(__tstate);
10891 if (PyErr_Occurred()) SWIG_fail;
10892 }
10893 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_NEW | 0 );
10894 {
10895 if (temp7)
10896 delete arg7;
10897 }
10898 return resultobj;
10899fail:
10900 {
10901 if (temp7)
10902 delete arg7;
10903 }
10904 return NULL;
6260902d
RD
10905}
10906
10907
0085ce49
RD
10908SWIGINTERN PyObject *_wrap_new_PreStaticPicture(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
10909 PyObject *resultobj = 0;
10910 wxStaticPicture *result = 0 ;
10911
10912 if (!SWIG_Python_UnpackTuple(args,"new_PreStaticPicture",0,0,0)) SWIG_fail;
10913 {
10914 if (!wxPyCheckForApp()) SWIG_fail;
10915 PyThreadState* __tstate = wxPyBeginAllowThreads();
10916 result = (wxStaticPicture *)new wxStaticPicture();
10917 wxPyEndAllowThreads(__tstate);
10918 if (PyErr_Occurred()) SWIG_fail;
10919 }
10920 resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_wxStaticPicture, SWIG_POINTER_OWN | 0 );
10921 return resultobj;
10922fail:
10923 return NULL;
10924}
10925
10926
10927SWIGINTERN PyObject *_wrap_StaticPicture_Create(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
10928 PyObject *resultobj = 0;
10929 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
10930 wxWindow *arg2 = (wxWindow *) 0 ;
10931 int arg3 = (int) -1 ;
10932 wxBitmap const &arg4_defvalue = wxNullBitmap ;
10933 wxBitmap *arg4 = (wxBitmap *) &arg4_defvalue ;
10934 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10935 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10936 wxSize const &arg6_defvalue = wxDefaultSize ;
10937 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10938 long arg7 = (long) 0 ;
10939 wxString const &arg8_defvalue = wxPyStaticPictureNameStr ;
10940 wxString *arg8 = (wxString *) &arg8_defvalue ;
10941 bool result;
10942 void *argp1 = 0 ;
10943 int res1 = 0 ;
10944 void *argp2 = 0 ;
10945 int res2 = 0 ;
10946 int val3 ;
10947 int ecode3 = 0 ;
10948 void *argp4 = 0 ;
10949 int res4 = 0 ;
10950 wxPoint temp5 ;
10951 wxSize temp6 ;
10952 long val7 ;
10953 int ecode7 = 0 ;
10954 bool temp8 = false ;
10955 PyObject * obj0 = 0 ;
10956 PyObject * obj1 = 0 ;
10957 PyObject * obj2 = 0 ;
10958 PyObject * obj3 = 0 ;
10959 PyObject * obj4 = 0 ;
10960 PyObject * obj5 = 0 ;
10961 PyObject * obj6 = 0 ;
10962 PyObject * obj7 = 0 ;
10963 char * kwnames[] = {
10964 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10965 };
10966
10967 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:StaticPicture_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) SWIG_fail;
10968 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
10969 if (!SWIG_IsOK(res1)) {
10970 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_Create" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
10971 }
10972 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
10973 res2 = SWIG_ConvertPtr(obj1, &argp2,SWIGTYPE_p_wxWindow, 0 | 0 );
10974 if (!SWIG_IsOK(res2)) {
10975 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10976 }
10977 arg2 = reinterpret_cast< wxWindow * >(argp2);
10978 if (obj2) {
10979 ecode3 = SWIG_AsVal_int(obj2, &val3);
10980 if (!SWIG_IsOK(ecode3)) {
10981 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_Create" "', expected argument " "3"" of type '" "int""'");
10982 }
10983 arg3 = static_cast< int >(val3);
10984 }
10985 if (obj3) {
10986 res4 = SWIG_ConvertPtr(obj3, &argp4, SWIGTYPE_p_wxBitmap, 0 | 0);
10987 if (!SWIG_IsOK(res4)) {
10988 SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10989 }
0085ce49
RD
10990 if (!argp4) {
10991 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_Create" "', expected argument " "4"" of type '" "wxBitmap const &""'");
6260902d 10992 }
0085ce49
RD
10993 arg4 = reinterpret_cast< wxBitmap * >(argp4);
10994 }
10995 if (obj4) {
6260902d 10996 {
0085ce49
RD
10997 arg5 = &temp5;
10998 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6260902d 10999 }
0085ce49
RD
11000 }
11001 if (obj5) {
6260902d 11002 {
0085ce49
RD
11003 arg6 = &temp6;
11004 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6260902d 11005 }
0085ce49
RD
11006 }
11007 if (obj6) {
11008 ecode7 = SWIG_AsVal_long(obj6, &val7);
11009 if (!SWIG_IsOK(ecode7)) {
11010 SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "StaticPicture_Create" "', expected argument " "7"" of type '" "long""'");
11011 }
11012 arg7 = static_cast< long >(val7);
11013 }
11014 if (obj7) {
6260902d 11015 {
0085ce49
RD
11016 arg8 = wxString_in_helper(obj7);
11017 if (arg8 == NULL) SWIG_fail;
11018 temp8 = true;
6260902d 11019 }
0085ce49
RD
11020 }
11021 {
11022 PyThreadState* __tstate = wxPyBeginAllowThreads();
11023 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
11024 wxPyEndAllowThreads(__tstate);
11025 if (PyErr_Occurred()) SWIG_fail;
11026 }
11027 {
11028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11029 }
11030 {
11031 if (temp8)
11032 delete arg8;
11033 }
11034 return resultobj;
11035fail:
11036 {
11037 if (temp8)
11038 delete arg8;
11039 }
11040 return NULL;
11041}
11042
11043
11044SWIGINTERN PyObject *_wrap_StaticPicture_SetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11045 PyObject *resultobj = 0;
11046 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11047 wxBitmap *arg2 = 0 ;
11048 void *argp1 = 0 ;
11049 int res1 = 0 ;
11050 void *argp2 = 0 ;
11051 int res2 = 0 ;
11052 PyObject * obj0 = 0 ;
11053 PyObject * obj1 = 0 ;
11054 char * kwnames[] = {
11055 (char *) "self",(char *) "bmp", NULL
11056 };
11057
11058 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetBitmap",kwnames,&obj0,&obj1)) SWIG_fail;
11059 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11060 if (!SWIG_IsOK(res1)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11062 }
11063 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11064 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxBitmap, 0 | 0);
11065 if (!SWIG_IsOK(res2)) {
11066 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11067 }
11068 if (!argp2) {
11069 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
11070 }
11071 arg2 = reinterpret_cast< wxBitmap * >(argp2);
11072 {
11073 PyThreadState* __tstate = wxPyBeginAllowThreads();
11074 (arg1)->SetBitmap((wxBitmap const &)*arg2);
11075 wxPyEndAllowThreads(__tstate);
11076 if (PyErr_Occurred()) SWIG_fail;
11077 }
11078 resultobj = SWIG_Py_Void();
11079 return resultobj;
11080fail:
11081 return NULL;
6260902d
RD
11082}
11083
11084
0085ce49
RD
11085SWIGINTERN PyObject *_wrap_StaticPicture_GetBitmap(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11086 PyObject *resultobj = 0;
11087 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11088 wxBitmap result;
11089 void *argp1 = 0 ;
11090 int res1 = 0 ;
11091 PyObject *swig_obj[1] ;
11092
11093 if (!args) SWIG_fail;
11094 swig_obj[0] = args;
11095 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11096 if (!SWIG_IsOK(res1)) {
11097 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetBitmap" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11098 }
11099 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11100 {
11101 PyThreadState* __tstate = wxPyBeginAllowThreads();
11102 result = ((wxStaticPicture const *)arg1)->GetBitmap();
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = SWIG_NewPointerObj((new wxBitmap(static_cast< const wxBitmap& >(result))), SWIGTYPE_p_wxBitmap, SWIG_POINTER_OWN | 0 );
11107 return resultobj;
11108fail:
11109 return NULL;
11110}
11111
11112
11113SWIGINTERN PyObject *_wrap_StaticPicture_SetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj = 0;
11115 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11116 wxIcon *arg2 = 0 ;
11117 void *argp1 = 0 ;
11118 int res1 = 0 ;
11119 void *argp2 = 0 ;
11120 int res2 = 0 ;
11121 PyObject * obj0 = 0 ;
11122 PyObject * obj1 = 0 ;
11123 char * kwnames[] = {
11124 (char *) "self",(char *) "icon", NULL
11125 };
11126
11127 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetIcon",kwnames,&obj0,&obj1)) SWIG_fail;
11128 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11129 if (!SWIG_IsOK(res1)) {
11130 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetIcon" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11131 }
11132 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11133 res2 = SWIG_ConvertPtr(obj1, &argp2, SWIGTYPE_p_wxIcon, 0 | 0);
11134 if (!SWIG_IsOK(res2)) {
11135 SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11136 }
11137 if (!argp2) {
11138 SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "StaticPicture_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
11139 }
11140 arg2 = reinterpret_cast< wxIcon * >(argp2);
11141 {
11142 PyThreadState* __tstate = wxPyBeginAllowThreads();
11143 (arg1)->SetIcon((wxIcon const &)*arg2);
11144 wxPyEndAllowThreads(__tstate);
11145 if (PyErr_Occurred()) SWIG_fail;
11146 }
11147 resultobj = SWIG_Py_Void();
11148 return resultobj;
11149fail:
11150 return NULL;
6260902d
RD
11151}
11152
11153
0085ce49
RD
11154SWIGINTERN PyObject *_wrap_StaticPicture_GetIcon(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11155 PyObject *resultobj = 0;
11156 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11157 wxIcon result;
11158 void *argp1 = 0 ;
11159 int res1 = 0 ;
11160 PyObject *swig_obj[1] ;
11161
11162 if (!args) SWIG_fail;
11163 swig_obj[0] = args;
11164 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11165 if (!SWIG_IsOK(res1)) {
11166 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetIcon" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11167 }
11168 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11169 {
11170 PyThreadState* __tstate = wxPyBeginAllowThreads();
11171 result = ((wxStaticPicture const *)arg1)->GetIcon();
11172 wxPyEndAllowThreads(__tstate);
11173 if (PyErr_Occurred()) SWIG_fail;
11174 }
11175 resultobj = SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon& >(result))), SWIGTYPE_p_wxIcon, SWIG_POINTER_OWN | 0 );
11176 return resultobj;
11177fail:
11178 return NULL;
11179}
11180
11181
11182SWIGINTERN PyObject *_wrap_StaticPicture_SetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11183 PyObject *resultobj = 0;
11184 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11185 int arg2 ;
11186 void *argp1 = 0 ;
11187 int res1 = 0 ;
11188 int val2 ;
11189 int ecode2 = 0 ;
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 char * kwnames[] = {
11193 (char *) "self",(char *) "align", NULL
11194 };
11195
11196 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetAlignment",kwnames,&obj0,&obj1)) SWIG_fail;
11197 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11198 if (!SWIG_IsOK(res1)) {
11199 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11200 }
11201 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11202 ecode2 = SWIG_AsVal_int(obj1, &val2);
11203 if (!SWIG_IsOK(ecode2)) {
11204 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetAlignment" "', expected argument " "2"" of type '" "int""'");
11205 }
11206 arg2 = static_cast< int >(val2);
11207 {
11208 PyThreadState* __tstate = wxPyBeginAllowThreads();
11209 (arg1)->SetAlignment(arg2);
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 resultobj = SWIG_Py_Void();
11214 return resultobj;
11215fail:
11216 return NULL;
6260902d
RD
11217}
11218
11219
0085ce49
RD
11220SWIGINTERN PyObject *_wrap_StaticPicture_GetAlignment(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11221 PyObject *resultobj = 0;
11222 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11223 int result;
11224 void *argp1 = 0 ;
11225 int res1 = 0 ;
11226 PyObject *swig_obj[1] ;
11227
11228 if (!args) SWIG_fail;
11229 swig_obj[0] = args;
11230 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11231 if (!SWIG_IsOK(res1)) {
11232 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetAlignment" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11233 }
11234 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11235 {
11236 PyThreadState* __tstate = wxPyBeginAllowThreads();
11237 result = (int)((wxStaticPicture const *)arg1)->GetAlignment();
11238 wxPyEndAllowThreads(__tstate);
11239 if (PyErr_Occurred()) SWIG_fail;
11240 }
11241 resultobj = SWIG_From_int(static_cast< int >(result));
11242 return resultobj;
11243fail:
11244 return NULL;
11245}
11246
11247
11248SWIGINTERN PyObject *_wrap_StaticPicture_SetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj = 0;
11250 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11251 int arg2 ;
11252 void *argp1 = 0 ;
11253 int res1 = 0 ;
11254 int val2 ;
11255 int ecode2 = 0 ;
11256 PyObject * obj0 = 0 ;
11257 PyObject * obj1 = 0 ;
11258 char * kwnames[] = {
11259 (char *) "self",(char *) "scale", NULL
11260 };
11261
11262 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticPicture_SetScale",kwnames,&obj0,&obj1)) SWIG_fail;
11263 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11264 if (!SWIG_IsOK(res1)) {
11265 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11266 }
11267 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11268 ecode2 = SWIG_AsVal_int(obj1, &val2);
11269 if (!SWIG_IsOK(ecode2)) {
11270 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetScale" "', expected argument " "2"" of type '" "int""'");
11271 }
11272 arg2 = static_cast< int >(val2);
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 (arg1)->SetScale(arg2);
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 resultobj = SWIG_Py_Void();
11280 return resultobj;
11281fail:
11282 return NULL;
6260902d
RD
11283}
11284
11285
0085ce49
RD
11286SWIGINTERN PyObject *_wrap_StaticPicture_GetScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11287 PyObject *resultobj = 0;
11288 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11289 int result;
11290 void *argp1 = 0 ;
11291 int res1 = 0 ;
11292 PyObject *swig_obj[1] ;
11293
11294 if (!args) SWIG_fail;
11295 swig_obj[0] = args;
11296 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11297 if (!SWIG_IsOK(res1)) {
11298 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11299 }
11300 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11301 {
11302 PyThreadState* __tstate = wxPyBeginAllowThreads();
11303 result = (int)((wxStaticPicture const *)arg1)->GetScale();
11304 wxPyEndAllowThreads(__tstate);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 }
11307 resultobj = SWIG_From_int(static_cast< int >(result));
11308 return resultobj;
11309fail:
11310 return NULL;
11311}
11312
11313
11314SWIGINTERN PyObject *_wrap_StaticPicture_SetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args, PyObject *kwargs) {
11315 PyObject *resultobj = 0;
11316 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11317 float arg2 ;
11318 float arg3 ;
11319 void *argp1 = 0 ;
11320 int res1 = 0 ;
11321 float val2 ;
11322 int ecode2 = 0 ;
11323 float val3 ;
11324 int ecode3 = 0 ;
11325 PyObject * obj0 = 0 ;
11326 PyObject * obj1 = 0 ;
11327 PyObject * obj2 = 0 ;
11328 char * kwnames[] = {
11329 (char *) "self",(char *) "sx",(char *) "sy", NULL
11330 };
11331
11332 if (!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:StaticPicture_SetCustomScale",kwnames,&obj0,&obj1,&obj2)) SWIG_fail;
11333 res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11334 if (!SWIG_IsOK(res1)) {
11335 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture *""'");
11336 }
11337 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11338 ecode2 = SWIG_AsVal_float(obj1, &val2);
11339 if (!SWIG_IsOK(ecode2)) {
11340 SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "2"" of type '" "float""'");
11341 }
11342 arg2 = static_cast< float >(val2);
11343 ecode3 = SWIG_AsVal_float(obj2, &val3);
11344 if (!SWIG_IsOK(ecode3)) {
11345 SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "StaticPicture_SetCustomScale" "', expected argument " "3"" of type '" "float""'");
11346 }
11347 arg3 = static_cast< float >(val3);
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 (arg1)->SetCustomScale(arg2,arg3);
11351 wxPyEndAllowThreads(__tstate);
11352 if (PyErr_Occurred()) SWIG_fail;
11353 }
11354 resultobj = SWIG_Py_Void();
11355 return resultobj;
11356fail:
11357 return NULL;
11358}
11359
11360
11361SWIGINTERN PyObject *_wrap_StaticPicture_GetCustomScale(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11362 PyObject *resultobj = 0;
11363 wxStaticPicture *arg1 = (wxStaticPicture *) 0 ;
11364 float *arg2 = (float *) 0 ;
11365 float *arg3 = (float *) 0 ;
11366 void *argp1 = 0 ;
11367 int res1 = 0 ;
11368 float temp2 ;
11369 int res2 = SWIG_TMPOBJ ;
11370 float temp3 ;
11371 int res3 = SWIG_TMPOBJ ;
11372 PyObject *swig_obj[1] ;
11373
11374 arg2 = &temp2;
11375 arg3 = &temp3;
11376 if (!args) SWIG_fail;
11377 swig_obj[0] = args;
11378 res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_wxStaticPicture, 0 | 0 );
11379 if (!SWIG_IsOK(res1)) {
11380 SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "StaticPicture_GetCustomScale" "', expected argument " "1"" of type '" "wxStaticPicture const *""'");
11381 }
11382 arg1 = reinterpret_cast< wxStaticPicture * >(argp1);
11383 {
11384 PyThreadState* __tstate = wxPyBeginAllowThreads();
11385 ((wxStaticPicture const *)arg1)->GetCustomScale(arg2,arg3);
11386 wxPyEndAllowThreads(__tstate);
11387 if (PyErr_Occurred()) SWIG_fail;
11388 }
11389 resultobj = SWIG_Py_Void();
11390 if (SWIG_IsTmpObj(res2)) {
11391 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg2)));
11392 } else {
11393 int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11394 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_float, new_flags));
11395 }
11396 if (SWIG_IsTmpObj(res3)) {
11397 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_float((*arg3)));
11398 } else {
11399 int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ;
11400 resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_float, new_flags));
11401 }
11402 return resultobj;
11403fail:
11404 return NULL;
6260902d
RD
11405}
11406
11407
0085ce49
RD
11408SWIGINTERN PyObject *StaticPicture_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11409 PyObject *obj;
11410 if (!SWIG_Python_UnpackTuple(args,(char*)"swigregister", 1, 1,&obj)) return NULL;
11411 SWIG_TypeNewClientData(SWIGTYPE_p_wxStaticPicture, SWIG_NewClientData(obj));
11412 return SWIG_Py_Void();
6260902d 11413}
0085ce49
RD
11414
11415SWIGINTERN PyObject *StaticPicture_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) {
11416 return SWIG_Python_InitShadowInstance(args);
11417}
11418
44127b65 11419static PyMethodDef SwigMethods[] = {
3004cfd8
RD
11420 { (char *)"new_DynamicSashSplitEvent", (PyCFunction) _wrap_new_DynamicSashSplitEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11421 { (char *)"DynamicSashSplitEvent_swigregister", DynamicSashSplitEvent_swigregister, METH_VARARGS, NULL},
0085ce49 11422 { (char *)"DynamicSashSplitEvent_swiginit", DynamicSashSplitEvent_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11423 { (char *)"new_DynamicSashUnifyEvent", (PyCFunction) _wrap_new_DynamicSashUnifyEvent, METH_VARARGS | METH_KEYWORDS, NULL},
11424 { (char *)"DynamicSashUnifyEvent_swigregister", DynamicSashUnifyEvent_swigregister, METH_VARARGS, NULL},
0085ce49 11425 { (char *)"DynamicSashUnifyEvent_swiginit", DynamicSashUnifyEvent_swiginit, METH_VARARGS, NULL},
3004cfd8 11426 { (char *)"new_DynamicSashWindow", (PyCFunction) _wrap_new_DynamicSashWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11427 { (char *)"new_PreDynamicSashWindow", (PyCFunction)_wrap_new_PreDynamicSashWindow, METH_NOARGS, NULL},
3004cfd8
RD
11428 { (char *)"DynamicSashWindow_Create", (PyCFunction) _wrap_DynamicSashWindow_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11429 { (char *)"DynamicSashWindow_GetHScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetHScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11430 { (char *)"DynamicSashWindow_GetVScrollBar", (PyCFunction) _wrap_DynamicSashWindow_GetVScrollBar, METH_VARARGS | METH_KEYWORDS, NULL},
11431 { (char *)"DynamicSashWindow_swigregister", DynamicSashWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11432 { (char *)"DynamicSashWindow_swiginit", DynamicSashWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11433 { (char *)"new_EditableListBox", (PyCFunction) _wrap_new_EditableListBox, METH_VARARGS | METH_KEYWORDS, NULL},
11434 { (char *)"EditableListBox_SetStrings", (PyCFunction) _wrap_EditableListBox_SetStrings, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11435 { (char *)"EditableListBox_GetStrings", (PyCFunction)_wrap_EditableListBox_GetStrings, METH_O, NULL},
11436 { (char *)"EditableListBox_GetListCtrl", (PyCFunction)_wrap_EditableListBox_GetListCtrl, METH_O, NULL},
11437 { (char *)"EditableListBox_GetDelButton", (PyCFunction)_wrap_EditableListBox_GetDelButton, METH_O, NULL},
11438 { (char *)"EditableListBox_GetNewButton", (PyCFunction)_wrap_EditableListBox_GetNewButton, METH_O, NULL},
11439 { (char *)"EditableListBox_GetUpButton", (PyCFunction)_wrap_EditableListBox_GetUpButton, METH_O, NULL},
11440 { (char *)"EditableListBox_GetDownButton", (PyCFunction)_wrap_EditableListBox_GetDownButton, METH_O, NULL},
11441 { (char *)"EditableListBox_GetEditButton", (PyCFunction)_wrap_EditableListBox_GetEditButton, METH_O, NULL},
3004cfd8 11442 { (char *)"EditableListBox_swigregister", EditableListBox_swigregister, METH_VARARGS, NULL},
0085ce49 11443 { (char *)"EditableListBox_swiginit", EditableListBox_swiginit, METH_VARARGS, NULL},
3004cfd8 11444 { (char *)"new_RemotelyScrolledTreeCtrl", (PyCFunction) _wrap_new_RemotelyScrolledTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11445 { (char *)"RemotelyScrolledTreeCtrl_HideVScrollbar", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_HideVScrollbar, METH_O, NULL},
11446 { (char *)"RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_AdjustRemoteScrollbars, METH_O, NULL},
11447 { (char *)"RemotelyScrolledTreeCtrl_GetScrolledWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetScrolledWindow, METH_O, NULL},
3004cfd8
RD
11448 { (char *)"RemotelyScrolledTreeCtrl_ScrollToLine", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_ScrollToLine, METH_VARARGS | METH_KEYWORDS, NULL},
11449 { (char *)"RemotelyScrolledTreeCtrl_SetCompanionWindow", (PyCFunction) _wrap_RemotelyScrolledTreeCtrl_SetCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11450 { (char *)"RemotelyScrolledTreeCtrl_GetCompanionWindow", (PyCFunction)_wrap_RemotelyScrolledTreeCtrl_GetCompanionWindow, METH_O, NULL},
3004cfd8 11451 { (char *)"RemotelyScrolledTreeCtrl_swigregister", RemotelyScrolledTreeCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11452 { (char *)"RemotelyScrolledTreeCtrl_swiginit", RemotelyScrolledTreeCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11453 { (char *)"new_TreeCompanionWindow", (PyCFunction) _wrap_new_TreeCompanionWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11454 { (char *)"TreeCompanionWindow__setCallbackInfo", (PyCFunction) _wrap_TreeCompanionWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11455 { (char *)"TreeCompanionWindow_GetTreeCtrl", (PyCFunction)_wrap_TreeCompanionWindow_GetTreeCtrl, METH_O, NULL},
3004cfd8
RD
11456 { (char *)"TreeCompanionWindow_SetTreeCtrl", (PyCFunction) _wrap_TreeCompanionWindow_SetTreeCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
11457 { (char *)"TreeCompanionWindow_swigregister", TreeCompanionWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11458 { (char *)"TreeCompanionWindow_swiginit", TreeCompanionWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11459 { (char *)"new_ThinSplitterWindow", (PyCFunction) _wrap_new_ThinSplitterWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11460 { (char *)"ThinSplitterWindow_swigregister", ThinSplitterWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11461 { (char *)"ThinSplitterWindow_swiginit", ThinSplitterWindow_swiginit, METH_VARARGS, NULL},
3004cfd8
RD
11462 { (char *)"new_SplitterScrolledWindow", (PyCFunction) _wrap_new_SplitterScrolledWindow, METH_VARARGS | METH_KEYWORDS, NULL},
11463 { (char *)"SplitterScrolledWindow_swigregister", SplitterScrolledWindow_swigregister, METH_VARARGS, NULL},
0085ce49 11464 { (char *)"SplitterScrolledWindow_swiginit", SplitterScrolledWindow_swiginit, METH_VARARGS, NULL},
3004cfd8 11465 { (char *)"new_LEDNumberCtrl", (PyCFunction) _wrap_new_LEDNumberCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11466 { (char *)"new_PreLEDNumberCtrl", (PyCFunction)_wrap_new_PreLEDNumberCtrl, METH_NOARGS, NULL},
3004cfd8 11467 { (char *)"LEDNumberCtrl_Create", (PyCFunction) _wrap_LEDNumberCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11468 { (char *)"LEDNumberCtrl_GetAlignment", (PyCFunction)_wrap_LEDNumberCtrl_GetAlignment, METH_O, NULL},
11469 { (char *)"LEDNumberCtrl_GetDrawFaded", (PyCFunction)_wrap_LEDNumberCtrl_GetDrawFaded, METH_O, NULL},
11470 { (char *)"LEDNumberCtrl_GetValue", (PyCFunction)_wrap_LEDNumberCtrl_GetValue, METH_O, NULL},
3004cfd8
RD
11471 { (char *)"LEDNumberCtrl_SetAlignment", (PyCFunction) _wrap_LEDNumberCtrl_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11472 { (char *)"LEDNumberCtrl_SetDrawFaded", (PyCFunction) _wrap_LEDNumberCtrl_SetDrawFaded, METH_VARARGS | METH_KEYWORDS, NULL},
11473 { (char *)"LEDNumberCtrl_SetValue", (PyCFunction) _wrap_LEDNumberCtrl_SetValue, METH_VARARGS | METH_KEYWORDS, NULL},
11474 { (char *)"LEDNumberCtrl_swigregister", LEDNumberCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11475 { (char *)"LEDNumberCtrl_swiginit", LEDNumberCtrl_swiginit, METH_VARARGS, NULL},
3004cfd8 11476 { (char *)"new_TreeListColumnInfo", (PyCFunction) _wrap_new_TreeListColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
01f6b6d3 11477 { (char *)"delete_TreeListColumnInfo", (PyCFunction)_wrap_delete_TreeListColumnInfo, METH_O, NULL},
0085ce49
RD
11478 { (char *)"TreeListColumnInfo_GetAlignment", (PyCFunction)_wrap_TreeListColumnInfo_GetAlignment, METH_O, NULL},
11479 { (char *)"TreeListColumnInfo_GetText", (PyCFunction)_wrap_TreeListColumnInfo_GetText, METH_O, NULL},
11480 { (char *)"TreeListColumnInfo_GetImage", (PyCFunction)_wrap_TreeListColumnInfo_GetImage, METH_O, NULL},
11481 { (char *)"TreeListColumnInfo_GetSelectedImage", (PyCFunction)_wrap_TreeListColumnInfo_GetSelectedImage, METH_O, NULL},
11482 { (char *)"TreeListColumnInfo_GetWidth", (PyCFunction)_wrap_TreeListColumnInfo_GetWidth, METH_O, NULL},
33d6fd3b
RD
11483 { (char *)"TreeListColumnInfo_IsEditable", (PyCFunction)_wrap_TreeListColumnInfo_IsEditable, METH_O, NULL},
11484 { (char *)"TreeListColumnInfo_IsShown", (PyCFunction)_wrap_TreeListColumnInfo_IsShown, METH_O, NULL},
3004cfd8
RD
11485 { (char *)"TreeListColumnInfo_SetAlignment", (PyCFunction) _wrap_TreeListColumnInfo_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11486 { (char *)"TreeListColumnInfo_SetText", (PyCFunction) _wrap_TreeListColumnInfo_SetText, METH_VARARGS | METH_KEYWORDS, NULL},
11487 { (char *)"TreeListColumnInfo_SetImage", (PyCFunction) _wrap_TreeListColumnInfo_SetImage, METH_VARARGS | METH_KEYWORDS, NULL},
11488 { (char *)"TreeListColumnInfo_SetSelectedImage", (PyCFunction) _wrap_TreeListColumnInfo_SetSelectedImage, METH_VARARGS | METH_KEYWORDS, NULL},
11489 { (char *)"TreeListColumnInfo_SetWidth", (PyCFunction) _wrap_TreeListColumnInfo_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11490 { (char *)"TreeListColumnInfo_SetEditable", (PyCFunction) _wrap_TreeListColumnInfo_SetEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11491 { (char *)"TreeListColumnInfo_SetShown", (PyCFunction) _wrap_TreeListColumnInfo_SetShown, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11492 { (char *)"TreeListColumnInfo_swigregister", TreeListColumnInfo_swigregister, METH_VARARGS, NULL},
0085ce49 11493 { (char *)"TreeListColumnInfo_swiginit", TreeListColumnInfo_swiginit, METH_VARARGS, NULL},
3004cfd8 11494 { (char *)"new_TreeListCtrl", (PyCFunction) _wrap_new_TreeListCtrl, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11495 { (char *)"new_PreTreeListCtrl", (PyCFunction)_wrap_new_PreTreeListCtrl, METH_NOARGS, NULL},
3004cfd8
RD
11496 { (char *)"TreeListCtrl_Create", (PyCFunction) _wrap_TreeListCtrl_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11497 { (char *)"TreeListCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11498 { (char *)"TreeListCtrl_GetCount", (PyCFunction)_wrap_TreeListCtrl_GetCount, METH_O, NULL},
11499 { (char *)"TreeListCtrl_GetIndent", (PyCFunction)_wrap_TreeListCtrl_GetIndent, METH_O, NULL},
3004cfd8 11500 { (char *)"TreeListCtrl_SetIndent", (PyCFunction) _wrap_TreeListCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11501 { (char *)"TreeListCtrl_GetLineSpacing", (PyCFunction)_wrap_TreeListCtrl_GetLineSpacing, METH_O, NULL},
3004cfd8 11502 { (char *)"TreeListCtrl_SetLineSpacing", (PyCFunction) _wrap_TreeListCtrl_SetLineSpacing, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11503 { (char *)"TreeListCtrl_GetImageList", (PyCFunction)_wrap_TreeListCtrl_GetImageList, METH_O, NULL},
11504 { (char *)"TreeListCtrl_GetStateImageList", (PyCFunction)_wrap_TreeListCtrl_GetStateImageList, METH_O, NULL},
11505 { (char *)"TreeListCtrl_GetButtonsImageList", (PyCFunction)_wrap_TreeListCtrl_GetButtonsImageList, METH_O, NULL},
3004cfd8
RD
11506 { (char *)"TreeListCtrl_SetImageList", (PyCFunction) _wrap_TreeListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11507 { (char *)"TreeListCtrl_SetStateImageList", (PyCFunction) _wrap_TreeListCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11508 { (char *)"TreeListCtrl_SetButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_SetButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11509 { (char *)"TreeListCtrl_AssignImageList", (PyCFunction) _wrap_TreeListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11510 { (char *)"TreeListCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeListCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11511 { (char *)"TreeListCtrl_AssignButtonsImageList", (PyCFunction) _wrap_TreeListCtrl_AssignButtonsImageList, METH_VARARGS | METH_KEYWORDS, NULL},
11512 { (char *)"TreeListCtrl_AddColumn", (PyCFunction) _wrap_TreeListCtrl_AddColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11513 { (char *)"TreeListCtrl_AddColumnInfo", (PyCFunction) _wrap_TreeListCtrl_AddColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11514 { (char *)"TreeListCtrl_InsertColumn", (PyCFunction) _wrap_TreeListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11515 { (char *)"TreeListCtrl_InsertColumnInfo", (PyCFunction) _wrap_TreeListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS, NULL},
11516 { (char *)"TreeListCtrl_RemoveColumn", (PyCFunction) _wrap_TreeListCtrl_RemoveColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11517 { (char *)"TreeListCtrl_GetColumnCount", (PyCFunction)_wrap_TreeListCtrl_GetColumnCount, METH_O, NULL},
3004cfd8 11518 { (char *)"TreeListCtrl_SetMainColumn", (PyCFunction) _wrap_TreeListCtrl_SetMainColumn, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11519 { (char *)"TreeListCtrl_GetMainColumn", (PyCFunction)_wrap_TreeListCtrl_GetMainColumn, METH_O, NULL},
3004cfd8
RD
11520 { (char *)"TreeListCtrl_SetColumn", (PyCFunction) _wrap_TreeListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
11521 { (char *)"TreeListCtrl_GetColumn", (PyCFunction) _wrap_TreeListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11522 { (char *)"TreeListCtrl_SetColumnText", (PyCFunction) _wrap_TreeListCtrl_SetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11523 { (char *)"TreeListCtrl_GetColumnText", (PyCFunction) _wrap_TreeListCtrl_GetColumnText, METH_VARARGS | METH_KEYWORDS, NULL},
11524 { (char *)"TreeListCtrl_SetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
11525 { (char *)"TreeListCtrl_GetColumnWidth", (PyCFunction) _wrap_TreeListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11526 { (char *)"TreeListCtrl_SetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_SetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11527 { (char *)"TreeListCtrl_GetColumnAlignment", (PyCFunction) _wrap_TreeListCtrl_GetColumnAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
11528 { (char *)"TreeListCtrl_SetColumnImage", (PyCFunction) _wrap_TreeListCtrl_SetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
11529 { (char *)"TreeListCtrl_GetColumnImage", (PyCFunction) _wrap_TreeListCtrl_GetColumnImage, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11530 { (char *)"TreeListCtrl_SetColumnShown", (PyCFunction) _wrap_TreeListCtrl_SetColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11531 { (char *)"TreeListCtrl_IsColumnShown", (PyCFunction) _wrap_TreeListCtrl_IsColumnShown, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11532 { (char *)"TreeListCtrl_SetColumnEditable", (PyCFunction) _wrap_TreeListCtrl_SetColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
11533 { (char *)"TreeListCtrl_IsColumnEditable", (PyCFunction) _wrap_TreeListCtrl_IsColumnEditable, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11534 { (char *)"TreeListCtrl_GetItemText", (PyCFunction) _wrap_TreeListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11535 { (char *)"TreeListCtrl_GetItemImage", (PyCFunction) _wrap_TreeListCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11536 { (char *)"TreeListCtrl_SetItemText", (PyCFunction) _wrap_TreeListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS, NULL},
11537 { (char *)"TreeListCtrl_SetItemImage", (PyCFunction) _wrap_TreeListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS, NULL},
11538 { (char *)"TreeListCtrl_GetItemData", (PyCFunction) _wrap_TreeListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11539 { (char *)"TreeListCtrl_SetItemData", (PyCFunction) _wrap_TreeListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS, NULL},
11540 { (char *)"TreeListCtrl_GetItemPyData", (PyCFunction) _wrap_TreeListCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
11541 { (char *)"TreeListCtrl_SetItemPyData", (PyCFunction) _wrap_TreeListCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11542 { (char *)"TreeListCtrl_GetItemBold", (PyCFunction) _wrap_TreeListCtrl_GetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11543 { (char *)"TreeListCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11544 { (char *)"TreeListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11545 { (char *)"TreeListCtrl_GetItemFont", (PyCFunction) _wrap_TreeListCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11546 { (char *)"TreeListCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeListCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11547 { (char *)"TreeListCtrl_SetItemBold", (PyCFunction) _wrap_TreeListCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS, NULL},
11548 { (char *)"TreeListCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS, NULL},
11549 { (char *)"TreeListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL},
11550 { (char *)"TreeListCtrl_SetItemFont", (PyCFunction) _wrap_TreeListCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8 11551 { (char *)"TreeListCtrl_IsVisible", (PyCFunction) _wrap_TreeListCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11552 { (char *)"TreeListCtrl_HasChildren", (PyCFunction) _wrap_TreeListCtrl_HasChildren, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11553 { (char *)"TreeListCtrl_IsExpanded", (PyCFunction) _wrap_TreeListCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11554 { (char *)"TreeListCtrl_IsSelected", (PyCFunction) _wrap_TreeListCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS, NULL},
11555 { (char *)"TreeListCtrl_IsBold", (PyCFunction) _wrap_TreeListCtrl_IsBold, METH_VARARGS | METH_KEYWORDS, NULL},
11556 { (char *)"TreeListCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeListCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11557 { (char *)"TreeListCtrl_GetRootItem", (PyCFunction)_wrap_TreeListCtrl_GetRootItem, METH_O, NULL},
11558 { (char *)"TreeListCtrl_GetSelection", (PyCFunction)_wrap_TreeListCtrl_GetSelection, METH_O, NULL},
11559 { (char *)"TreeListCtrl_GetSelections", (PyCFunction)_wrap_TreeListCtrl_GetSelections, METH_O, NULL},
3004cfd8
RD
11560 { (char *)"TreeListCtrl_GetItemParent", (PyCFunction) _wrap_TreeListCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS, NULL},
11561 { (char *)"TreeListCtrl_GetFirstChild", (PyCFunction) _wrap_TreeListCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS, NULL},
11562 { (char *)"TreeListCtrl_GetNextChild", (PyCFunction) _wrap_TreeListCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS, NULL},
11563 { (char *)"TreeListCtrl_GetLastChild", (PyCFunction) _wrap_TreeListCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11564 { (char *)"TreeListCtrl_GetPrevChild", (PyCFunction) _wrap_TreeListCtrl_GetPrevChild, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11565 { (char *)"TreeListCtrl_GetNextSibling", (PyCFunction) _wrap_TreeListCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS, NULL},
11566 { (char *)"TreeListCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeListCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b
RD
11567 { (char *)"TreeListCtrl_GetNext", (PyCFunction) _wrap_TreeListCtrl_GetNext, METH_VARARGS | METH_KEYWORDS, NULL},
11568 { (char *)"TreeListCtrl_GetPrev", (PyCFunction) _wrap_TreeListCtrl_GetPrev, METH_VARARGS | METH_KEYWORDS, NULL},
11569 { (char *)"TreeListCtrl_GetFirstExpandedItem", (PyCFunction)_wrap_TreeListCtrl_GetFirstExpandedItem, METH_O, NULL},
11570 { (char *)"TreeListCtrl_GetNextExpanded", (PyCFunction) _wrap_TreeListCtrl_GetNextExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11571 { (char *)"TreeListCtrl_GetPrevExpanded", (PyCFunction) _wrap_TreeListCtrl_GetPrevExpanded, METH_VARARGS | METH_KEYWORDS, NULL},
11572 { (char *)"TreeListCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeListCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11573 { (char *)"TreeListCtrl_GetNextVisible", (PyCFunction) _wrap_TreeListCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11574 { (char *)"TreeListCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeListCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11575 { (char *)"TreeListCtrl_AddRoot", (PyCFunction) _wrap_TreeListCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS, NULL},
11576 { (char *)"TreeListCtrl_PrependItem", (PyCFunction) _wrap_TreeListCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL},
11577 { (char *)"TreeListCtrl_InsertItem", (PyCFunction) _wrap_TreeListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL},
11578 { (char *)"TreeListCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeListCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS, NULL},
11579 { (char *)"TreeListCtrl_AppendItem", (PyCFunction) _wrap_TreeListCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL},
11580 { (char *)"TreeListCtrl_Delete", (PyCFunction) _wrap_TreeListCtrl_Delete, METH_VARARGS | METH_KEYWORDS, NULL},
11581 { (char *)"TreeListCtrl_DeleteChildren", (PyCFunction) _wrap_TreeListCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11582 { (char *)"TreeListCtrl_DeleteRoot", (PyCFunction)_wrap_TreeListCtrl_DeleteRoot, METH_O, NULL},
3004cfd8
RD
11583 { (char *)"TreeListCtrl_Expand", (PyCFunction) _wrap_TreeListCtrl_Expand, METH_VARARGS | METH_KEYWORDS, NULL},
11584 { (char *)"TreeListCtrl_ExpandAll", (PyCFunction) _wrap_TreeListCtrl_ExpandAll, METH_VARARGS | METH_KEYWORDS, NULL},
11585 { (char *)"TreeListCtrl_Collapse", (PyCFunction) _wrap_TreeListCtrl_Collapse, METH_VARARGS | METH_KEYWORDS, NULL},
11586 { (char *)"TreeListCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeListCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS, NULL},
11587 { (char *)"TreeListCtrl_Toggle", (PyCFunction) _wrap_TreeListCtrl_Toggle, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11588 { (char *)"TreeListCtrl_Unselect", (PyCFunction)_wrap_TreeListCtrl_Unselect, METH_O, NULL},
11589 { (char *)"TreeListCtrl_UnselectAll", (PyCFunction)_wrap_TreeListCtrl_UnselectAll, METH_O, NULL},
3004cfd8 11590 { (char *)"TreeListCtrl_SelectItem", (PyCFunction) _wrap_TreeListCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11591 { (char *)"TreeListCtrl_SelectAll", (PyCFunction)_wrap_TreeListCtrl_SelectAll, METH_O, NULL},
3004cfd8
RD
11592 { (char *)"TreeListCtrl_EnsureVisible", (PyCFunction) _wrap_TreeListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS, NULL},
11593 { (char *)"TreeListCtrl_ScrollTo", (PyCFunction) _wrap_TreeListCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS, NULL},
11594 { (char *)"TreeListCtrl_HitTest", (PyCFunction) _wrap_TreeListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS, NULL},
11595 { (char *)"TreeListCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeListCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS, NULL},
11596 { (char *)"TreeListCtrl_EditLabel", (PyCFunction) _wrap_TreeListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS, NULL},
3004cfd8
RD
11597 { (char *)"TreeListCtrl_SortChildren", (PyCFunction) _wrap_TreeListCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS, NULL},
11598 { (char *)"TreeListCtrl_FindItem", (PyCFunction) _wrap_TreeListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS, NULL},
33d6fd3b 11599 { (char *)"TreeListCtrl_SetDragItem", (PyCFunction) _wrap_TreeListCtrl_SetDragItem, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49
RD
11600 { (char *)"TreeListCtrl_GetHeaderWindow", (PyCFunction)_wrap_TreeListCtrl_GetHeaderWindow, METH_O, NULL},
11601 { (char *)"TreeListCtrl_GetMainWindow", (PyCFunction)_wrap_TreeListCtrl_GetMainWindow, METH_O, NULL},
3004cfd8 11602 { (char *)"TreeListCtrl_swigregister", TreeListCtrl_swigregister, METH_VARARGS, NULL},
0085ce49 11603 { (char *)"TreeListCtrl_swiginit", TreeListCtrl_swiginit, METH_VARARGS, NULL},
6260902d 11604 { (char *)"new_StaticPicture", (PyCFunction) _wrap_new_StaticPicture, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11605 { (char *)"new_PreStaticPicture", (PyCFunction)_wrap_new_PreStaticPicture, METH_NOARGS, NULL},
6260902d
RD
11606 { (char *)"StaticPicture_Create", (PyCFunction) _wrap_StaticPicture_Create, METH_VARARGS | METH_KEYWORDS, NULL},
11607 { (char *)"StaticPicture_SetBitmap", (PyCFunction) _wrap_StaticPicture_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11608 { (char *)"StaticPicture_GetBitmap", (PyCFunction)_wrap_StaticPicture_GetBitmap, METH_O, NULL},
6260902d 11609 { (char *)"StaticPicture_SetIcon", (PyCFunction) _wrap_StaticPicture_SetIcon, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11610 { (char *)"StaticPicture_GetIcon", (PyCFunction)_wrap_StaticPicture_GetIcon, METH_O, NULL},
6260902d 11611 { (char *)"StaticPicture_SetAlignment", (PyCFunction) _wrap_StaticPicture_SetAlignment, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11612 { (char *)"StaticPicture_GetAlignment", (PyCFunction)_wrap_StaticPicture_GetAlignment, METH_O, NULL},
6260902d 11613 { (char *)"StaticPicture_SetScale", (PyCFunction) _wrap_StaticPicture_SetScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11614 { (char *)"StaticPicture_GetScale", (PyCFunction)_wrap_StaticPicture_GetScale, METH_O, NULL},
6260902d 11615 { (char *)"StaticPicture_SetCustomScale", (PyCFunction) _wrap_StaticPicture_SetCustomScale, METH_VARARGS | METH_KEYWORDS, NULL},
0085ce49 11616 { (char *)"StaticPicture_GetCustomScale", (PyCFunction)_wrap_StaticPicture_GetCustomScale, METH_O, NULL},
6260902d 11617 { (char *)"StaticPicture_swigregister", StaticPicture_swigregister, METH_VARARGS, NULL},
0085ce49 11618 { (char *)"StaticPicture_swiginit", StaticPicture_swiginit, METH_VARARGS, NULL},
c32bde28 11619 { NULL, NULL, 0, NULL }
44127b65
RD
11620};
11621
11622
11623/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
11624
11625static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
11626 return (void *)((wxValidator *) ((wxPyValidator *) x));
11627}
11628static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
11629 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
11630}
11631static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
11632 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
11633}
823f0cfe
RD
11634static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x) {
11635 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11636}
44127b65
RD
11637static void *_p_wxSplitterScrolledWindowTo_p_wxPanel(void *x) {
11638 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11639}
11640static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
11641 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11642}
11643static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
11644 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11645}
11646static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
11647 return (void *)((wxPanel *) ((wxPyPanel *) x));
11648}
11649static void *_p_wxEditableListBoxTo_p_wxPanel(void *x) {
11650 return (void *)((wxPanel *) ((wxEditableListBox *) x));
11651}
11652static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
11653 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
11654}
11655static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
11656 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
11657}
11658static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
11659 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11660}
7e08d4ef
RD
11661static void *_p_wxToolbookTo_p_wxWindow(void *x) {
11662 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
11663}
44127b65
RD
11664static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
11665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
11666}
11667static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
11668 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
11669}
11670static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
11671 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
11672}
11673static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
11674 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
11675}
11676static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxWindow(void *x) {
11677 return (void *)((wxWindow *) (wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
11678}
11679static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
11680 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
11681}
11682static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
11683 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
11684}
453fb36b
RD
11685static void *_p_wxPickerBaseTo_p_wxWindow(void *x) {
11686 return (void *)((wxWindow *) (wxControl *) ((wxPickerBase *) x));
11687}
8ac8dba0
RD
11688static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
11689 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
11690}
7e08d4ef
RD
11691static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
11692 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11693}
44127b65
RD
11694static void *_p_wxPyTreeListCtrlTo_p_wxWindow(void *x) {
11695 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeListCtrl *) x));
11696}
11697static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
11698 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
11699}
11700static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
11701 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
11702}
44127b65
RD
11703static void *_p_wxControlTo_p_wxWindow(void *x) {
11704 return (void *)((wxWindow *) ((wxControl *) x));
11705}
823f0cfe
RD
11706static void *_p_wxPyControlTo_p_wxWindow(void *x) {
11707 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
11708}
44127b65
RD
11709static void *_p_wxGaugeTo_p_wxWindow(void *x) {
11710 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
11711}
11712static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
11713 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
11714}
11715static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
11716 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
11717}
11718static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
11719 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
11720}
11721static void *_p_wxChoiceTo_p_wxWindow(void *x) {
11722 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
11723}
7e08d4ef
RD
11724static void *_p_wxTreebookTo_p_wxWindow(void *x) {
11725 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
11726}
44127b65
RD
11727static void *_p_wxListViewTo_p_wxWindow(void *x) {
11728 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
11729}
11730static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
11731 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
11732}
11733static void *_p_wxNotebookTo_p_wxWindow(void *x) {
8ac8dba0 11734 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
11735}
11736static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
11737 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
11738}
ae8162c8 11739static void *_p_wxChoicebookTo_p_wxWindow(void *x) {
8ac8dba0 11740 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 11741}
44127b65
RD
11742static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
11743 return (void *)((wxWindow *) ((wxPyWindow *) x));
11744}
11745static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
11746 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
11747}
11748static void *_p_wxListbookTo_p_wxWindow(void *x) {
8ac8dba0 11749 return (void *)((wxWindow *) (wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
11750}
11751static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
11752 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
11753}
11754static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
11755 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
11756}
11757static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
11758 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
11759}
11760static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
11761 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
11762}
d3b6e4ff
RD
11763static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x) {
11764 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
11765}
27e45892
RD
11766static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x) {
11767 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
11768}
44127b65
RD
11769static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
11770 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
11771}
11772static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
11773 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
11774}
11775static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
11776 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
11777}
11778static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
11779 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
11780}
11781static void *_p_wxSliderTo_p_wxWindow(void *x) {
11782 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
11783}
11784static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
11785 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
11786}
8ac8dba0
RD
11787static void *_p_wxBookCtrlBaseTo_p_wxWindow(void *x) {
11788 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrlBase *) x));
11789}
44127b65
RD
11790static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
11791 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
11792}
11793static void *_p_wxListBoxTo_p_wxWindow(void *x) {
11794 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
11795}
11796static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
11797 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
11798}
11799static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
11800 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
11801}
11802static void *_p_wxEditableListBoxTo_p_wxWindow(void *x) {
11803 return (void *)((wxWindow *) (wxPanel *) ((wxEditableListBox *) x));
11804}
44127b65
RD
11805static void *_p_wxLEDNumberCtrlTo_p_wxWindow(void *x) {
11806 return (void *)((wxWindow *) (wxControl *) ((wxLEDNumberCtrl *) x));
11807}
11808static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
11809 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
11810}
11811static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
11812 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
11813}
11814static void *_p_wxButtonTo_p_wxWindow(void *x) {
11815 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
11816}
11817static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
11818 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
11819}
11820static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
11821 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
11822}
11823static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
11824 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
11825}
11826static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
11827 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
11828}
11829static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
11830 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
11831}
11832static void *_p_wxFrameTo_p_wxWindow(void *x) {
11833 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
11834}
11835static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
11836 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
11837}
11838static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
11839 return (void *)((wxWindow *) ((wxStatusBar *) x));
11840}
11841static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
11842 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
11843}
6260902d
RD
11844static void *_p_wxStaticPictureTo_p_wxWindow(void *x) {
11845 return (void *)((wxWindow *) (wxControl *) ((wxStaticPicture *) x));
11846}
823f0cfe
RD
11847static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x) {
11848 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11849}
d3b6e4ff
RD
11850static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
11851 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
11852}
44127b65
RD
11853static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
11854 return (void *)((wxWindow *) ((wxSashWindow *) x));
11855}
11856static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
11857 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
11858}
11859static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
11860 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
11861}
11862static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
11863 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
11864}
11865static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
11866 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
11867}
11868static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
11869 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
11870}
11871static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
11872 return (void *)((wxWindow *) ((wxPopupWindow *) x));
11873}
11874static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
11875 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
11876}
11877static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
11878 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
11879}
11880static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
11881 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
11882}
44127b65
RD
11883static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
11884 return (void *)((wxWindow *) ((wxMenuBar *) x));
11885}
11886static void *_p_wxDynamicSashWindowTo_p_wxWindow(void *x) {
11887 return (void *)((wxWindow *) ((wxDynamicSashWindow *) x));
11888}
11889static void *_p_wxPyTreeCompanionWindowTo_p_wxWindow(void *x) {
11890 return (void *)((wxWindow *) ((wxPyTreeCompanionWindow *) x));
11891}
11892static void *_p_wxThinSplitterWindowTo_p_wxWindow(void *x) {
11893 return (void *)((wxWindow *) (wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11894}
11895static void *_p_wxSplitterScrolledWindowTo_p_wxWindow(void *x) {
11896 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11897}
44127b65
RD
11898static void *_p_wxDialogTo_p_wxWindow(void *x) {
11899 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
11900}
11901static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
11902 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
11903}
11904static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
11905 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
11906}
11907static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
11908 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
11909}
11910static void *_p_wxPanelTo_p_wxWindow(void *x) {
11911 return (void *)((wxWindow *) ((wxPanel *) x));
11912}
11913static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
11914 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
11915}
11916static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
11917 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
11918}
11919static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
11920 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
11921}
53aa7709
RD
11922static void *_p_wxDatePickerCtrlTo_p_wxWindow(void *x) {
11923 return (void *)((wxWindow *) (wxControl *) ((wxDatePickerCtrl *) x));
11924}
453fb36b
RD
11925static void *_p_wxColourPickerCtrlTo_p_wxWindow(void *x) {
11926 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
11927}
11928static void *_p_wxFilePickerCtrlTo_p_wxWindow(void *x) {
11929 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
11930}
11931static void *_p_wxDirPickerCtrlTo_p_wxWindow(void *x) {
11932 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
11933}
11934static void *_p_wxFontPickerCtrlTo_p_wxWindow(void *x) {
11935 return (void *)((wxWindow *) (wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
11936}
44127b65
RD
11937static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
11938 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
11939}
092f0ed7
RD
11940static void *_p_wxHyperlinkCtrlTo_p_wxWindow(void *x) {
11941 return (void *)((wxWindow *) (wxControl *) ((wxHyperlinkCtrl *) x));
11942}
44127b65
RD
11943static void *_p_wxToolBarTo_p_wxWindow(void *x) {
11944 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
11945}
11946static void *_p_wxThinSplitterWindowTo_p_wxSplitterWindow(void *x) {
11947 return (void *)((wxSplitterWindow *) ((wxThinSplitterWindow *) x));
11948}
823f0cfe
RD
11949static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x) {
11950 return (void *)((wxScrolledWindow *) ((wxPyScrolledWindow *) x));
11951}
44127b65
RD
11952static void *_p_wxSplitterScrolledWindowTo_p_wxScrolledWindow(void *x) {
11953 return (void *)((wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
11954}
11955static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
11956 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
11957}
8ac8dba0
RD
11958static void *_p_wxBookCtrlBaseTo_p_wxControl(void *x) {
11959 return (void *)((wxControl *) ((wxBookCtrlBase *) x));
44127b65
RD
11960}
11961static void *_p_wxToolBarTo_p_wxControl(void *x) {
11962 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
11963}
453fb36b
RD
11964static void *_p_wxPickerBaseTo_p_wxControl(void *x) {
11965 return (void *)((wxControl *) ((wxPickerBase *) x));
11966}
44127b65
RD
11967static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
11968 return (void *)((wxControl *) ((wxToggleButton *) x));
11969}
11970static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
11971 return (void *)((wxControl *) ((wxRadioButton *) x));
11972}
11973static void *_p_wxLEDNumberCtrlTo_p_wxControl(void *x) {
11974 return (void *)((wxControl *) ((wxLEDNumberCtrl *) x));
11975}
7e08d4ef
RD
11976static void *_p_wxToolbookTo_p_wxControl(void *x) {
11977 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxToolbook *) x));
44127b65
RD
11978}
11979static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
11980 return (void *)((wxControl *) ((wxToolBarBase *) x));
11981}
11982static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
11983 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
11984}
11985static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
11986 return (void *)((wxControl *) ((wxPyListCtrl *) x));
11987}
11988static void *_p_wxComboBoxTo_p_wxControl(void *x) {
11989 return (void *)((wxControl *) ((wxComboBox *) x));
11990}
7e08d4ef
RD
11991static void *_p_wxPyControlTo_p_wxControl(void *x) {
11992 return (void *)((wxControl *) ((wxPyControl *) x));
11993}
44127b65
RD
11994static void *_p_wxPyTreeListCtrlTo_p_wxControl(void *x) {
11995 return (void *)((wxControl *) ((wxPyTreeListCtrl *) x));
11996}
11997static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
11998 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
11999}
12000static void *_p_wxScrollBarTo_p_wxControl(void *x) {
12001 return (void *)((wxControl *) ((wxScrollBar *) x));
12002}
12003static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
12004 return (void *)((wxControl *) ((wxControlWithItems *) x));
12005}
12006static void *_p_wxGaugeTo_p_wxControl(void *x) {
12007 return (void *)((wxControl *) ((wxGauge *) x));
12008}
12009static void *_p_wxStaticLineTo_p_wxControl(void *x) {
12010 return (void *)((wxControl *) ((wxStaticLine *) x));
12011}
ae8162c8 12012static void *_p_wxChoicebookTo_p_wxControl(void *x) {
8ac8dba0 12013 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 12014}
44127b65 12015static void *_p_wxListbookTo_p_wxControl(void *x) {
8ac8dba0 12016 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxListbook *) x));
44127b65 12017}
092f0ed7
RD
12018static void *_p_wxHyperlinkCtrlTo_p_wxControl(void *x) {
12019 return (void *)((wxControl *) ((wxHyperlinkCtrl *) x));
12020}
44127b65
RD
12021static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
12022 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
12023}
ae8162c8
RD
12024static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxControl(void *x) {
12025 return (void *)((wxControl *) (wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12026}
44127b65
RD
12027static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
12028 return (void *)((wxControl *) ((wxCheckBox *) x));
12029}
12030static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
12031 return (void *)((wxControl *) ((wxRadioBox *) x));
12032}
12033static void *_p_wxChoiceTo_p_wxControl(void *x) {
12034 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
12035}
12036static void *_p_wxListBoxTo_p_wxControl(void *x) {
12037 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
12038}
12039static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
12040 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12041}
12042static void *_p_wxListViewTo_p_wxControl(void *x) {
12043 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
12044}
12045static void *_p_wxNotebookTo_p_wxControl(void *x) {
8ac8dba0 12046 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12047}
12048static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
12049 return (void *)((wxControl *) ((wxStaticBitmap *) x));
12050}
12051static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
12052 return (void *)((wxControl *) ((wxSpinCtrl *) x));
12053}
12054static void *_p_wxStaticTextTo_p_wxControl(void *x) {
12055 return (void *)((wxControl *) ((wxStaticText *) x));
12056}
12057static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
12058 return (void *)((wxControl *) ((wxStaticBox *) x));
12059}
12060static void *_p_wxSliderTo_p_wxControl(void *x) {
12061 return (void *)((wxControl *) ((wxSlider *) x));
12062}
7e08d4ef
RD
12063static void *_p_wxTreebookTo_p_wxControl(void *x) {
12064 return (void *)((wxControl *) (wxBookCtrlBase *) ((wxTreebook *) x));
44127b65
RD
12065}
12066static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
12067 return (void *)((wxControl *) ((wxSpinButton *) x));
12068}
12069static void *_p_wxButtonTo_p_wxControl(void *x) {
12070 return (void *)((wxControl *) ((wxButton *) x));
12071}
12072static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
12073 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
12074}
7e08d4ef
RD
12075static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
12076 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12077}
53aa7709
RD
12078static void *_p_wxDatePickerCtrlTo_p_wxControl(void *x) {
12079 return (void *)((wxControl *) ((wxDatePickerCtrl *) x));
12080}
453fb36b
RD
12081static void *_p_wxColourPickerCtrlTo_p_wxControl(void *x) {
12082 return (void *)((wxControl *) (wxPickerBase *) ((wxColourPickerCtrl *) x));
12083}
12084static void *_p_wxFilePickerCtrlTo_p_wxControl(void *x) {
12085 return (void *)((wxControl *) (wxPickerBase *) ((wxFilePickerCtrl *) x));
12086}
12087static void *_p_wxDirPickerCtrlTo_p_wxControl(void *x) {
12088 return (void *)((wxControl *) (wxPickerBase *) ((wxDirPickerCtrl *) x));
12089}
12090static void *_p_wxFontPickerCtrlTo_p_wxControl(void *x) {
12091 return (void *)((wxControl *) (wxPickerBase *) ((wxFontPickerCtrl *) x));
12092}
6260902d
RD
12093static void *_p_wxStaticPictureTo_p_wxControl(void *x) {
12094 return (void *)((wxControl *) ((wxStaticPicture *) x));
12095}
44127b65
RD
12096static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
12097 return (void *)((wxControl *) ((wxTextCtrl *) x));
12098}
12099static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
12100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
12101}
12102static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
12103 return (void *)((wxEvent *) ((wxMenuEvent *) x));
12104}
12105static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
12106 return (void *)((wxEvent *) ((wxCloseEvent *) x));
12107}
12108static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
12109 return (void *)((wxEvent *) ((wxMouseEvent *) x));
12110}
12111static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
12112 return (void *)((wxEvent *) ((wxEraseEvent *) x));
12113}
8ac8dba0
RD
12114static void *_p_wxBookCtrlBaseEventTo_p_wxEvent(void *x) {
12115 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12116}
44127b65
RD
12117static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
12118 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12119}
12120static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
12121 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
12122}
12123static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
12124 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12125}
453fb36b
RD
12126static void *_p_wxColourPickerEventTo_p_wxEvent(void *x) {
12127 return (void *)((wxEvent *) (wxCommandEvent *) ((wxColourPickerEvent *) x));
12128}
12129static void *_p_wxFileDirPickerEventTo_p_wxEvent(void *x) {
12130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12131}
12132static void *_p_wxFontPickerEventTo_p_wxEvent(void *x) {
12133 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFontPickerEvent *) x));
12134}
44127b65
RD
12135static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
12136 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
12137}
12138static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
12139 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
12140}
12141static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
12142 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
12143}
12144static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
12145 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
12146}
44127b65
RD
12147static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
12148 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
12149}
34e0a3bb
RD
12150static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x) {
12151 return (void *)((wxEvent *) ((wxMouseCaptureLostEvent *) x));
12152}
2131d850
RD
12153static void *_p_wxPyEventTo_p_wxEvent(void *x) {
12154 return (void *)((wxEvent *) ((wxPyEvent *) x));
12155}
44127b65
RD
12156static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
12157 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
12158}
12159static void *_p_wxListEventTo_p_wxEvent(void *x) {
12160 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12161}
12162static void *_p_wxDynamicSashSplitEventTo_p_wxEvent(void *x) {
12163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12164}
12165static void *_p_wxDynamicSashUnifyEventTo_p_wxEvent(void *x) {
12166 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12167}
12168static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
8ac8dba0 12169 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
12170}
12171static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
8ac8dba0 12172 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 12173}
ae8162c8 12174static void *_p_wxChoicebookEventTo_p_wxEvent(void *x) {
8ac8dba0 12175 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12176}
7e08d4ef
RD
12177static void *_p_wxTreebookEventTo_p_wxEvent(void *x) {
12178 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12179}
12180static void *_p_wxToolbookEventTo_p_wxEvent(void *x) {
12181 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12182}
44127b65
RD
12183static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
12184 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
12185}
12186static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
12187 return (void *)((wxEvent *) ((wxIdleEvent *) x));
12188}
12189static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
12190 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
12191}
12192static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
12193 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
12194}
12195static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
12196 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
12197}
12198static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
12199 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
12200}
12201static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
12202 return (void *)((wxEvent *) ((wxActivateEvent *) x));
12203}
12204static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
12205 return (void *)((wxEvent *) ((wxSizeEvent *) x));
12206}
12207static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
12208 return (void *)((wxEvent *) ((wxMoveEvent *) x));
12209}
53aa7709
RD
12210static void *_p_wxDateEventTo_p_wxEvent(void *x) {
12211 return (void *)((wxEvent *) (wxCommandEvent *) ((wxDateEvent *) x));
12212}
44127b65
RD
12213static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
12214 return (void *)((wxEvent *) ((wxPaintEvent *) x));
12215}
12216static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
12217 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
12218}
34e0a3bb
RD
12219static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x) {
12220 return (void *)((wxEvent *) (wxCommandEvent *) ((wxClipboardTextEvent *) x));
12221}
44127b65
RD
12222static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
12223 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
12224}
12225static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
12226 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
12227}
12228static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
12229 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
12230}
12231static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
12232 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12233}
12234static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
12235 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
12236}
092f0ed7
RD
12237static void *_p_wxHyperlinkEventTo_p_wxEvent(void *x) {
12238 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHyperlinkEvent *) x));
12239}
44127b65
RD
12240static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
12241 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
12242}
12243static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
12244 return (void *)((wxEvent *) ((wxFocusEvent *) x));
12245}
12246static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
12247 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
12248}
12249static void *_p_wxSashEventTo_p_wxEvent(void *x) {
12250 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
12251}
12252static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
12253 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12254}
12255static void *_p_wxShowEventTo_p_wxEvent(void *x) {
12256 return (void *)((wxEvent *) ((wxShowEvent *) x));
12257}
12258static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
12259 return (void *)((wxEvent *) ((wxCommandEvent *) x));
12260}
12261static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
12262 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
12263}
12264static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
12265 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12266}
12267static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
12268 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
12269}
12270static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
12271 return (void *)((wxEvent *) ((wxKeyEvent *) x));
12272}
12273static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
12274 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
12275}
12276static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
12277 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
12278}
d1e20054
RD
12279static void *_p_wxSpinEventTo_p_wxEvent(void *x) {
12280 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12281}
44127b65
RD
12282static void *_p_wxScrollBarTo_p_wxObject(void *x) {
12283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
12284}
12285static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
12286 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
12287}
12288static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
12289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12290}
12291static void *_p_wxEventTo_p_wxObject(void *x) {
12292 return (void *)((wxObject *) ((wxEvent *) x));
12293}
44127b65
RD
12294static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
12295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
12296}
12297static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
12298 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
12299}
12300static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
12301 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
12302}
12303static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
12304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12305}
12306static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
12307 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12308}
12309static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
12310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12311}
12312static void *_p_wxMenuItemTo_p_wxObject(void *x) {
12313 return (void *)((wxObject *) ((wxMenuItem *) x));
12314}
12315static void *_p_wxImageTo_p_wxObject(void *x) {
12316 return (void *)((wxObject *) ((wxImage *) x));
12317}
12318static void *_p_wxPySizerTo_p_wxObject(void *x) {
12319 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
12320}
12321static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
12322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
12323}
12324static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
12325 return (void *)((wxObject *) ((wxGenericDragImage *) x));
12326}
12327static void *_p_wxComboBoxTo_p_wxObject(void *x) {
12328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
12329}
84f85550
RD
12330static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x) {
12331 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
12332}
12333static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
12334 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
12335}
12336static void *_p_wxPyAppTo_p_wxObject(void *x) {
12337 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
12338}
7e08d4ef
RD
12339static void *_p_wxTreebookTo_p_wxObject(void *x) {
12340 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12341}
44127b65 12342static void *_p_wxNotebookTo_p_wxObject(void *x) {
8ac8dba0 12343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12344}
12345static void *_p_wxListItemTo_p_wxObject(void *x) {
12346 return (void *)((wxObject *) ((wxListItem *) x));
12347}
ae8162c8 12348static void *_p_wxChoicebookTo_p_wxObject(void *x) {
8ac8dba0
RD
12349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
12350}
12351static void *_p_wxBookCtrlBaseTo_p_wxObject(void *x) {
12352 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
ae8162c8 12353}
44127b65
RD
12354static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
12355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12356}
12357static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxObject(void *x) {
12358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12359}
12360static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
12361 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
12362}
12363static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
12364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
12365}
12366static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
12367 return (void *)((wxObject *) ((wxFindReplaceData *) x));
12368}
12369static void *_p_wxStaticLineTo_p_wxObject(void *x) {
12370 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
12371}
12372static void *_p_wxValidatorTo_p_wxObject(void *x) {
12373 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
12374}
12375static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
12376 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
12377}
12378static void *_p_wxEraseEventTo_p_wxObject(void *x) {
12379 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
12380}
12381static void *_p_wxMouseEventTo_p_wxObject(void *x) {
12382 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
12383}
12384static void *_p_wxCloseEventTo_p_wxObject(void *x) {
12385 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
12386}
53aa7709
RD
12387static void *_p_wxBookCtrlBaseEventTo_p_wxObject(void *x) {
12388 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
12389}
44127b65
RD
12390static void *_p_wxTreeEventTo_p_wxObject(void *x) {
12391 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
12392}
44127b65
RD
12393static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
12394 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
12395}
12396static void *_p_wxScrollEventTo_p_wxObject(void *x) {
12397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
12398}
12399static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
12400 return (void *)((wxObject *) ((wxPrintDialogData *) x));
12401}
12402static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
12403 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
12404}
12405static void *_p_wxPrinterTo_p_wxObject(void *x) {
12406 return (void *)((wxObject *) ((wxPrinter *) x));
12407}
12408static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
12409 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
12410}
12411static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
12412 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
12413}
12414static void *_p_wxGridSizerTo_p_wxObject(void *x) {
12415 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
12416}
12417static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
12418 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
12419}
12420static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
12421 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
12422}
12423static void *_p_wxTreeListColumnInfoTo_p_wxObject(void *x) {
12424 return (void *)((wxObject *) ((wxTreeListColumnInfo *) x));
12425}
12426static void *_p_wxControlTo_p_wxObject(void *x) {
12427 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
12428}
12429static void *_p_wxPyControlTo_p_wxObject(void *x) {
12430 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
12431}
12432static void *_p_wxContextHelpTo_p_wxObject(void *x) {
12433 return (void *)((wxObject *) ((wxContextHelp *) x));
12434}
12435static void *_p_wxColourDataTo_p_wxObject(void *x) {
12436 return (void *)((wxObject *) ((wxColourData *) x));
12437}
12438static void *_p_wxActivateEventTo_p_wxObject(void *x) {
12439 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
12440}
12441static void *_p_wxMoveEventTo_p_wxObject(void *x) {
12442 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
12443}
12444static void *_p_wxSizeEventTo_p_wxObject(void *x) {
12445 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
12446}
12447static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
12448 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
12449}
12450static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
12451 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
12452}
12453static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
12454 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
12455}
12456static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
12457 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
12458}
12459static void *_p_wxIdleEventTo_p_wxObject(void *x) {
12460 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
12461}
53aa7709
RD
12462static void *_p_wxDateEventTo_p_wxObject(void *x) {
12463 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDateEvent *) x));
12464}
44127b65
RD
12465static void *_p_wxStaticTextTo_p_wxObject(void *x) {
12466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
12467}
12468static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
12469 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
12470}
34e0a3bb
RD
12471static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x) {
12472 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureLostEvent *) x));
12473}
44127b65
RD
12474static void *_p_wxListEventTo_p_wxObject(void *x) {
12475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
12476}
12477static void *_p_wxDynamicSashSplitEventTo_p_wxObject(void *x) {
12478 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
12479}
12480static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
12481 return (void *)((wxObject *) ((wxPyPrintout *) x));
12482}
12483static void *_p_wxGaugeTo_p_wxObject(void *x) {
12484 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
12485}
12486static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
12487 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
12488}
51b83b37
RD
12489static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x) {
12490 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStdDialogButtonSizer *) x));
12491}
44127b65
RD
12492static void *_p_wxChoiceTo_p_wxObject(void *x) {
12493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12494}
12495static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
12496 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
12497}
12498static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
12499 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
12500}
12501static void *_p_wxButtonTo_p_wxObject(void *x) {
12502 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
12503}
12504static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
12505 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
12506}
12507static void *_p_wxKeyEventTo_p_wxObject(void *x) {
12508 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
12509}
12510static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
12511 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
12512}
12513static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
12514 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
12515}
12516static void *_p_wxSashEventTo_p_wxObject(void *x) {
12517 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
12518}
12519static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
12520 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
12521}
12522static void *_p_wxListBoxTo_p_wxObject(void *x) {
12523 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
12524}
12525static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
12526 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
12527}
12528static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
12529 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
12530}
12531static void *_p_wxPrintDataTo_p_wxObject(void *x) {
12532 return (void *)((wxObject *) ((wxPrintData *) x));
12533}
12534static void *_p_wxFontDataTo_p_wxObject(void *x) {
12535 return (void *)((wxObject *) ((wxFontData *) x));
12536}
12537static void *_p_wxEditableListBoxTo_p_wxObject(void *x) {
12538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
12539}
12540static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
12541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
12542}
12543static void *_p_wxListbookTo_p_wxObject(void *x) {
8ac8dba0 12544 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
12545}
12546static void *_p_wxFrameTo_p_wxObject(void *x) {
12547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
12548}
12549static void *_p_wxPyPanelTo_p_wxObject(void *x) {
12550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12551}
12552static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
12553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
12554}
12555static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
12556 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
12557}
12558static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
12559 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
12560}
12561static void *_p_wxFileSystemTo_p_wxObject(void *x) {
12562 return (void *)((wxObject *) ((wxFileSystem *) x));
12563}
12564static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
12565 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
12566}
12567static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
12568 return (void *)((wxObject *) ((wxPrintPreview *) x));
12569}
12570static void *_p_wxListViewTo_p_wxObject(void *x) {
12571 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12572}
12573static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
12574 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
12575}
12576static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
12577 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12578}
12579static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
12580 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12581}
12582static void *_p_wxPyTreeListCtrlTo_p_wxObject(void *x) {
12583 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12584}
12585static void *_p_wxSizerTo_p_wxObject(void *x) {
12586 return (void *)((wxObject *) ((wxSizer *) x));
12587}
12588static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
12589 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
12590}
12591static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
12592 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
12593}
12594static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
12595 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
12596}
12597static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
12598 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
12599}
12600static void *_p_wxPaintEventTo_p_wxObject(void *x) {
12601 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
12602}
2131d850
RD
12603static void *_p_wxClipboardTextEventTo_p_wxObject(void *x) {
12604 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxClipboardTextEvent *) x));
12605}
44127b65
RD
12606static void *_p_wxFSFileTo_p_wxObject(void *x) {
12607 return (void *)((wxObject *) ((wxFSFile *) x));
12608}
453fb36b
RD
12609static void *_p_wxPickerBaseTo_p_wxObject(void *x) {
12610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPickerBase *) x));
12611}
44127b65
RD
12612static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
12613 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
12614}
12615static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
12616 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
12617}
453fb36b
RD
12618static void *_p_wxColourPickerEventTo_p_wxObject(void *x) {
12619 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxColourPickerEvent *) x));
12620}
12621static void *_p_wxFileDirPickerEventTo_p_wxObject(void *x) {
12622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFileDirPickerEvent *) x));
12623}
12624static void *_p_wxFontPickerEventTo_p_wxObject(void *x) {
12625 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFontPickerEvent *) x));
12626}
44127b65
RD
12627static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
12628 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12629}
12630static void *_p_wxMenuTo_p_wxObject(void *x) {
12631 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
12632}
34e0a3bb
RD
12633static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
12634 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
44127b65
RD
12635}
12636static void *_p_wxSizerItemTo_p_wxObject(void *x) {
12637 return (void *)((wxObject *) ((wxSizerItem *) x));
12638}
34e0a3bb
RD
12639static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
12640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
44127b65 12641}
2131d850
RD
12642static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
12643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
12644}
44127b65 12645static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
fc71d09b 12646 return (void *)((wxObject *) ((wxPrintDialog *) x));
44127b65
RD
12647}
12648static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
8ac8dba0 12649 return (void *)((wxObject *) ((wxPageSetupDialog *) x));
44127b65
RD
12650}
12651static void *_p_wxFontDialogTo_p_wxObject(void *x) {
12652 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
12653}
12654static void *_p_wxDirDialogTo_p_wxObject(void *x) {
12655 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
12656}
12657static void *_p_wxColourDialogTo_p_wxObject(void *x) {
12658 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
12659}
12660static void *_p_wxDialogTo_p_wxObject(void *x) {
12661 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
12662}
12663static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
12664 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
12665}
12666static void *_p_wxPyEventTo_p_wxObject(void *x) {
12667 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
12668}
12669static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
12670 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12671}
12672static void *_p_wxDynamicSashUnifyEventTo_p_wxObject(void *x) {
12673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
12674}
6260902d
RD
12675static void *_p_wxStaticPictureTo_p_wxObject(void *x) {
12676 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticPicture *) x));
12677}
44127b65
RD
12678static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
12679 return (void *)((wxObject *) ((wxEvtHandler *) x));
12680}
580080c5
RD
12681static void *_p_wxTGAHandlerTo_p_wxObject(void *x) {
12682 return (void *)((wxObject *) (wxImageHandler *) ((wxTGAHandler *) x));
12683}
44127b65
RD
12684static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
12685 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
12686}
943e8dfd
RD
12687static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
12688 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
12689}
44127b65
RD
12690static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
12691 return (void *)((wxObject *) ((wxImageHandler *) x));
12692}
943e8dfd
RD
12693static void *_p_wxPyImageHandlerTo_p_wxObject(void *x) {
12694 return (void *)((wxObject *) (wxImageHandler *) ((wxPyImageHandler *) x));
12695}
44127b65
RD
12696static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
12697 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
12698}
12699static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
12700 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
12701}
12702static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
12703 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
12704}
12705static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
12706 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
12707}
12708static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
12709 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
12710}
12711static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
12712 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
12713}
12714static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
12715 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
12716}
12717static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
12718 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
12719}
12720static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
12721 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
12722}
44127b65
RD
12723static void *_p_wxShowEventTo_p_wxObject(void *x) {
12724 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
12725}
092f0ed7
RD
12726static void *_p_wxHyperlinkCtrlTo_p_wxObject(void *x) {
12727 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
12728}
823f0cfe
RD
12729static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x) {
12730 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
12731}
44127b65
RD
12732static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
12733 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
12734}
12735static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
12736 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
12737}
12738static void *_p_wxTipWindowTo_p_wxObject(void *x) {
12739 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
12740}
12741static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
12742 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
12743}
12744static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
12745 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
12746}
12747static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
12748 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
12749}
12750static void *_p_wxSashWindowTo_p_wxObject(void *x) {
12751 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
12752}
12753static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
12754 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
12755}
12756static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
12757 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
12758}
12759static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
12760 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
12761}
44127b65
RD
12762static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
12763 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
12764}
0df68c9f
RD
12765static void *_p_wxWindowTo_p_wxObject(void *x) {
12766 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
12767}
44127b65
RD
12768static void *_p_wxDynamicSashWindowTo_p_wxObject(void *x) {
12769 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxDynamicSashWindow *) x));
12770}
12771static void *_p_wxPyTreeCompanionWindowTo_p_wxObject(void *x) {
12772 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyTreeCompanionWindow *) x));
12773}
12774static void *_p_wxThinSplitterWindowTo_p_wxObject(void *x) {
12775 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
12776}
12777static void *_p_wxSplitterScrolledWindowTo_p_wxObject(void *x) {
12778 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
12779}
12780static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
12781 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
12782}
44127b65 12783static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
8ac8dba0 12784 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65 12785}
d1e20054 12786static void *_p_wxListbookEventTo_p_wxObject(void *x) {
8ac8dba0 12787 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
d1e20054 12788}
ae8162c8 12789static void *_p_wxChoicebookEventTo_p_wxObject(void *x) {
8ac8dba0 12790 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 12791}
7e08d4ef
RD
12792static void *_p_wxTreebookEventTo_p_wxObject(void *x) {
12793 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
12794}
12795static void *_p_wxToolbookEventTo_p_wxObject(void *x) {
12796 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
12797}
44127b65
RD
12798static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
12799 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
12800}
12801static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
12802 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
12803}
12804static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
12805 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
12806}
27e45892
RD
12807static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x) {
12808 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
12809}
d3b6e4ff
RD
12810static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x) {
12811 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
12812}
44127b65
RD
12813static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
12814 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
12815}
12816static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
12817 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
12818}
12819static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
12820 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
12821}
12822static void *_p_wxFileDialogTo_p_wxObject(void *x) {
12823 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
12824}
12825static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
12826 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
12827}
44127b65
RD
12828static void *_p_wxPyWindowTo_p_wxObject(void *x) {
12829 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
12830}
27e45892
RD
12831static void *_p_wxSliderTo_p_wxObject(void *x) {
12832 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
12833}
53aa7709
RD
12834static void *_p_wxDatePickerCtrlTo_p_wxObject(void *x) {
12835 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
12836}
453fb36b
RD
12837static void *_p_wxColourPickerCtrlTo_p_wxObject(void *x) {
12838 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
12839}
12840static void *_p_wxFilePickerCtrlTo_p_wxObject(void *x) {
12841 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
12842}
12843static void *_p_wxDirPickerCtrlTo_p_wxObject(void *x) {
12844 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
12845}
12846static void *_p_wxFontPickerCtrlTo_p_wxObject(void *x) {
12847 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
12848}
44127b65
RD
12849static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
12850 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
12851}
12852static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
12853 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
12854}
12855static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
12856 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
12857}
12858static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
12859 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
12860}
12861static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
12862 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
12863}
092f0ed7
RD
12864static void *_p_wxHyperlinkEventTo_p_wxObject(void *x) {
12865 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHyperlinkEvent *) x));
12866}
44127b65
RD
12867static void *_p_wxHelpEventTo_p_wxObject(void *x) {
12868 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
12869}
12870static void *_p_wxPanelTo_p_wxObject(void *x) {
12871 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
12872}
d1e20054
RD
12873static void *_p_wxSpinEventTo_p_wxObject(void *x) {
12874 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSpinEvent *) x));
12875}
44127b65
RD
12876static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
12877 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
12878}
12879static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
12880 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
12881}
12882static void *_p_wxMenuEventTo_p_wxObject(void *x) {
12883 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
12884}
12885static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
12886 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
12887}
12888static void *_p_wxLEDNumberCtrlTo_p_wxObject(void *x) {
12889 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
12890}
12891static void *_p_wxCommandEventTo_p_wxObject(void *x) {
12892 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
12893}
12894static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
12895 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
12896}
7e08d4ef
RD
12897static void *_p_wxToolbookTo_p_wxObject(void *x) {
12898 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12899}
44127b65
RD
12900static void *_p_wxToolBarTo_p_wxObject(void *x) {
12901 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
12902}
12903static void *_p_wxStatusBarTo_p_wxObject(void *x) {
12904 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
12905}
12906static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
12907 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
12908}
12909static void *_p_wxFocusEventTo_p_wxObject(void *x) {
12910 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
12911}
12912static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
12913 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
12914}
12915static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
12916 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
12917}
12918static void *_p_wxMenuBarTo_p_wxObject(void *x) {
12919 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
12920}
7e08d4ef
RD
12921static void *_p_wxToolbookTo_p_wxEvtHandler(void *x) {
12922 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxToolbook *) x));
12923}
44127b65
RD
12924static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
12925 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
12926}
12927static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
12928 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
12929}
12930static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
12931 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
12932}
12933static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
12934 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
12935}
12936static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxEvtHandler(void *x) {
12937 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
12938}
12939static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
12940 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
12941}
84f85550
RD
12942static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x) {
12943 return (void *)((wxEvtHandler *) ((wxPyTaskBarIcon *) x));
44127b65
RD
12944}
12945static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
12946 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
12947}
453fb36b
RD
12948static void *_p_wxPickerBaseTo_p_wxEvtHandler(void *x) {
12949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPickerBase *) x));
12950}
44127b65
RD
12951static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
12952 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
12953}
12954static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
12955 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
12956}
12957static void *_p_wxPyTreeListCtrlTo_p_wxEvtHandler(void *x) {
12958 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeListCtrl *) x));
12959}
12960static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
12961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
12962}
12963static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
12964 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
12965}
12966static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
12967 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
12968}
12969static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
12970 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
12971}
12972static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
12973 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
12974}
44127b65
RD
12975static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
12976 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
12977}
12978static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
12979 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
12980}
7e08d4ef
RD
12981static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
12982 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
12983}
44127b65
RD
12984static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
12985 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
12986}
7e08d4ef
RD
12987static void *_p_wxTreebookTo_p_wxEvtHandler(void *x) {
12988 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxTreebook *) x));
12989}
44127b65
RD
12990static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
12991 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
12992}
12993static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
12994 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
12995}
12996static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 12997 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxNotebook *) x));
44127b65
RD
12998}
12999static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
13000 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
13001}
ae8162c8 13002static void *_p_wxChoicebookTo_p_wxEvtHandler(void *x) {
8ac8dba0 13003 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxChoicebook *) x));
ae8162c8 13004}
44127b65
RD
13005static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
13006 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
13007}
13008static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
13009 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
13010}
13011static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
8ac8dba0 13012 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrlBase *) ((wxListbook *) x));
44127b65
RD
13013}
13014static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
13015 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
13016}
13017static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
13018 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
13019}
13020static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
13021 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
13022}
27e45892
RD
13023static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x) {
13024 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxNumberEntryDialog *) x));
13025}
44127b65
RD
13026static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
13027 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
13028}
13029static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
13030 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
13031}
13032static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
13033 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
13034}
13035static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
13036 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
13037}
d3b6e4ff
RD
13038static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x) {
13039 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *)(wxTextEntryDialog *) ((wxPasswordEntryDialog *) x));
13040}
44127b65
RD
13041static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
13042 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
13043}
13044static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
13045 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
13046}
13047static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
13048 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
13049}
8ac8dba0
RD
13050static void *_p_wxBookCtrlBaseTo_p_wxEvtHandler(void *x) {
13051 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrlBase *) x));
13052}
44127b65
RD
13053static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
13054 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
13055}
13056static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
13057 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
13058}
13059static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
13060 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
13061}
13062static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
13063 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
13064}
13065static void *_p_wxEditableListBoxTo_p_wxEvtHandler(void *x) {
13066 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxEditableListBox *) x));
13067}
44127b65
RD
13068static void *_p_wxLEDNumberCtrlTo_p_wxEvtHandler(void *x) {
13069 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxLEDNumberCtrl *) x));
13070}
13071static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
13072 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
13073}
13074static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
13075 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
13076}
13077static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
13078 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
13079}
13080static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
13081 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
13082}
13083static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
13084 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
13085}
13086static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
13087 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
13088}
13089static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
13090 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
13091}
13092static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
13093 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
13094}
13095static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
13096 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
13097}
13098static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
13099 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
13100}
13101static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
13102 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
13103}
13104static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
13105 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
13106}
6260902d
RD
13107static void *_p_wxStaticPictureTo_p_wxEvtHandler(void *x) {
13108 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticPicture *) x));
13109}
823f0cfe
RD
13110static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x) {
13111 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPyScrolledWindow *) x));
13112}
44127b65
RD
13113static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
13114 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
13115}
13116static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
13117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
13118}
13119static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
13120 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
13121}
13122static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
13123 return (void *)((wxEvtHandler *) ((wxWindow *) x));
13124}
13125static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
13126 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
13127}
13128static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
13129 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
13130}
13131static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
13132 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
13133}
13134static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
13135 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
13136}
13137static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
13138 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
13139}
13140static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
13141 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
13142}
13143static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
13144 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
13145}
13146static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
13147 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
13148}
13149static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
13150 return (void *)((wxEvtHandler *) ((wxMenu *) x));
13151}
13152static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
13153 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
13154}
13155static void *_p_wxDynamicSashWindowTo_p_wxEvtHandler(void *x) {
13156 return (void *)((wxEvtHandler *) (wxWindow *) ((wxDynamicSashWindow *) x));
13157}
13158static void *_p_wxPyTreeCompanionWindowTo_p_wxEvtHandler(void *x) {
13159 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyTreeCompanionWindow *) x));
13160}
13161static void *_p_wxThinSplitterWindowTo_p_wxEvtHandler(void *x) {
13162 return (void *)((wxEvtHandler *) (wxWindow *)(wxSplitterWindow *) ((wxThinSplitterWindow *) x));
13163}
13164static void *_p_wxSplitterScrolledWindowTo_p_wxEvtHandler(void *x) {
13165 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxSplitterScrolledWindow *) x));
13166}
d3b6e4ff
RD
13167static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
13168 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
13169}
44127b65
RD
13170static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
13171 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
13172}
13173static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
13174 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
13175}
13176static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
13177 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
13178}
44127b65
RD
13179static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
13180 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
13181}
13182static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
13183 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
13184}
13185static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
13186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
13187}
13188static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
13189 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
13190}
13191static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
13192 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
13193}
53aa7709
RD
13194static void *_p_wxDatePickerCtrlTo_p_wxEvtHandler(void *x) {
13195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxDatePickerCtrl *) x));
13196}
453fb36b
RD
13197static void *_p_wxColourPickerCtrlTo_p_wxEvtHandler(void *x) {
13198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxColourPickerCtrl *) x));
13199}
13200static void *_p_wxFilePickerCtrlTo_p_wxEvtHandler(void *x) {
13201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFilePickerCtrl *) x));
13202}
13203static void *_p_wxDirPickerCtrlTo_p_wxEvtHandler(void *x) {
13204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxDirPickerCtrl *) x));
13205}
13206static void *_p_wxFontPickerCtrlTo_p_wxEvtHandler(void *x) {
13207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPickerBase *) ((wxFontPickerCtrl *) x));
13208}
44127b65
RD
13209static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
13210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
13211}
092f0ed7
RD
13212static void *_p_wxHyperlinkCtrlTo_p_wxEvtHandler(void *x) {
13213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxHyperlinkCtrl *) x));
13214}
44127b65
RD
13215static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
13216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
13217}
13218static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
13219 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
13220}
13221static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
13222 return (void *)((wxEvtHandler *) ((wxValidator *) x));
13223}
13224static void *_p_wxRemotelyScrolledTreeCtrlTo_p_wxPyTreeCtrl(void *x) {
13225 return (void *)((wxPyTreeCtrl *) ((wxRemotelyScrolledTreeCtrl *) x));
13226}
13227static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
13228 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
13229}
13230static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
13231 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
13232}
092f0ed7
RD
13233static void *_p_wxHyperlinkEventTo_p_wxCommandEvent(void *x) {
13234 return (void *)((wxCommandEvent *) ((wxHyperlinkEvent *) x));
13235}
44127b65
RD
13236static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
13237 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
13238}
2131d850
RD
13239static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x) {
13240 return (void *)((wxCommandEvent *) ((wxClipboardTextEvent *) x));
13241}
453fb36b
RD
13242static void *_p_wxColourPickerEventTo_p_wxCommandEvent(void *x) {
13243 return (void *)((wxCommandEvent *) ((wxColourPickerEvent *) x));
13244}
13245static void *_p_wxFileDirPickerEventTo_p_wxCommandEvent(void *x) {
13246 return (void *)((wxCommandEvent *) ((wxFileDirPickerEvent *) x));
13247}
13248static void *_p_wxFontPickerEventTo_p_wxCommandEvent(void *x) {
13249 return (void *)((wxCommandEvent *) ((wxFontPickerEvent *) x));
13250}
44127b65
RD
13251static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
13252 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
13253}
13254static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
13255 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
13256}
13257static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
13258 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
13259}
13260static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
13261 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
13262}
13263static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
13264 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
13265}
13266static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13267 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxNotebookEvent *) x));
44127b65
RD
13268}
13269static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13270 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxListbookEvent *) x));
44127b65 13271}
ae8162c8 13272static void *_p_wxChoicebookEventTo_p_wxCommandEvent(void *x) {
8ac8dba0 13273 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxChoicebookEvent *) x));
ae8162c8 13274}
7e08d4ef
RD
13275static void *_p_wxTreebookEventTo_p_wxCommandEvent(void *x) {
13276 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxTreebookEvent *) x));
13277}
13278static void *_p_wxToolbookEventTo_p_wxCommandEvent(void *x) {
13279 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlBaseEvent *) ((wxToolbookEvent *) x));
13280}
53aa7709
RD
13281static void *_p_wxDateEventTo_p_wxCommandEvent(void *x) {
13282 return (void *)((wxCommandEvent *) ((wxDateEvent *) x));
13283}
44127b65
RD
13284static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
13285 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
13286}
13287static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
13288 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
13289}
13290static void *_p_wxDynamicSashSplitEventTo_p_wxCommandEvent(void *x) {
13291 return (void *)((wxCommandEvent *) ((wxDynamicSashSplitEvent *) x));
13292}
8ac8dba0
RD
13293static void *_p_wxBookCtrlBaseEventTo_p_wxCommandEvent(void *x) {
13294 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlBaseEvent *) x));
13295}
44127b65
RD
13296static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
13297 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
13298}
d1e20054
RD
13299static void *_p_wxSpinEventTo_p_wxCommandEvent(void *x) {
13300 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSpinEvent *) x));
13301}
44127b65
RD
13302static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
13303 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
13304}
13305static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
13306 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
13307}
13308static void *_p_wxDynamicSashUnifyEventTo_p_wxCommandEvent(void *x) {
13309 return (void *)((wxCommandEvent *) ((wxDynamicSashUnifyEvent *) x));
13310}
13311static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
13312 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
13313}
13314static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
13315 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
13316}
0085ce49
RD
13317static swig_type_info _swigt__p_char = {"_p_char", "char *", 0, 0, (void*)0, 0};
13318static swig_type_info _swigt__p_float = {"_p_float", "float *", 0, 0, (void*)0, 0};
13319static swig_type_info _swigt__p_form_ops_t = {"_p_form_ops_t", "enum form_ops_t *|form_ops_t *", 0, 0, (void*)0, 0};
13320static swig_type_info _swigt__p_int = {"_p_int", "int *", 0, 0, (void*)0, 0};
13321static swig_type_info _swigt__p_unsigned_char = {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
13322static swig_type_info _swigt__p_unsigned_int = {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
13323static swig_type_info _swigt__p_unsigned_long = {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
13324static swig_type_info _swigt__p_wxArrayString = {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
13325static swig_type_info _swigt__p_wxBitmap = {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
13326static swig_type_info _swigt__p_wxColour = {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
13327static swig_type_info _swigt__p_wxCommandEvent = {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
13328static swig_type_info _swigt__p_wxSashEvent = {"_p_wxSashEvent", 0, 0, 0, 0, 0};
13329static swig_type_info _swigt__p_wxWindowDestroyEvent = {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
092f0ed7 13330static swig_type_info _swigt__p_wxHyperlinkEvent = {"_p_wxHyperlinkEvent", 0, 0, 0, 0, 0};
0085ce49 13331static swig_type_info _swigt__p_wxSplitterEvent = {"_p_wxSplitterEvent", 0, 0, 0, 0, 0};
453fb36b
RD
13332static swig_type_info _swigt__p_wxColourPickerEvent = {"_p_wxColourPickerEvent", 0, 0, 0, 0, 0};
13333static swig_type_info _swigt__p_wxFileDirPickerEvent = {"_p_wxFileDirPickerEvent", 0, 0, 0, 0, 0};
13334static swig_type_info _swigt__p_wxFontPickerEvent = {"_p_wxFontPickerEvent", 0, 0, 0, 0, 0};
2131d850 13335static swig_type_info _swigt__p_wxClipboardTextEvent = {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
0085ce49
RD
13336static swig_type_info _swigt__p_wxTextUrlEvent = {"_p_wxTextUrlEvent", 0, 0, 0, 0, 0};
13337static swig_type_info _swigt__p_wxScrollEvent = {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
13338static swig_type_info _swigt__p_wxPyCommandEvent = {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
13339static swig_type_info _swigt__p_wxContextMenuEvent = {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
13340static swig_type_info _swigt__p_wxChildFocusEvent = {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
13341static swig_type_info _swigt__p_wxNotebookEvent = {"_p_wxNotebookEvent", 0, 0, 0, 0, 0};
13342static swig_type_info _swigt__p_wxListbookEvent = {"_p_wxListbookEvent", 0, 0, 0, 0, 0};
13343static swig_type_info _swigt__p_wxChoicebookEvent = {"_p_wxChoicebookEvent", 0, 0, 0, 0, 0};
13344static swig_type_info _swigt__p_wxTreebookEvent = {"_p_wxTreebookEvent", 0, 0, 0, 0, 0};
13345static swig_type_info _swigt__p_wxToolbookEvent = {"_p_wxToolbookEvent", 0, 0, 0, 0, 0};
13346static swig_type_info _swigt__p_wxDateEvent = {"_p_wxDateEvent", 0, 0, 0, 0, 0};
13347static swig_type_info _swigt__p_wxWindowCreateEvent = {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
13348static swig_type_info _swigt__p_wxListEvent = {"_p_wxListEvent", 0, 0, 0, 0, 0};
13349static swig_type_info _swigt__p_wxBookCtrlBaseEvent = {"_p_wxBookCtrlBaseEvent", 0, 0, 0, 0, 0};
13350static swig_type_info _swigt__p_wxTreeEvent = {"_p_wxTreeEvent", 0, 0, 0, 0, 0};
13351static swig_type_info _swigt__p_wxSpinEvent = {"_p_wxSpinEvent", 0, 0, 0, 0, 0};
13352static swig_type_info _swigt__p_wxHelpEvent = {"_p_wxHelpEvent", 0, 0, 0, 0, 0};
13353static swig_type_info _swigt__p_wxNotifyEvent = {"_p_wxNotifyEvent", 0, 0, 0, 0, 0};
13354static swig_type_info _swigt__p_wxFindDialogEvent = {"_p_wxFindDialogEvent", 0, 0, 0, 0, 0};
13355static swig_type_info _swigt__p_wxUpdateUIEvent = {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
13356static swig_type_info _swigt__p_wxControl = {"_p_wxControl", "wxControl *", 0, 0, (void*)0, 0};
13357static swig_type_info _swigt__p_wxBookCtrlBase = {"_p_wxBookCtrlBase", 0, 0, 0, 0, 0};
13358static swig_type_info _swigt__p_wxToolBar = {"_p_wxToolBar", 0, 0, 0, 0, 0};
453fb36b 13359static swig_type_info _swigt__p_wxPickerBase = {"_p_wxPickerBase", 0, 0, 0, 0, 0};
0085ce49
RD
13360static swig_type_info _swigt__p_wxToggleButton = {"_p_wxToggleButton", 0, 0, 0, 0, 0};
13361static swig_type_info _swigt__p_wxRadioButton = {"_p_wxRadioButton", 0, 0, 0, 0, 0};
13362static swig_type_info _swigt__p_wxToolbook = {"_p_wxToolbook", 0, 0, 0, 0, 0};
13363static swig_type_info _swigt__p_wxPyControl = {"_p_wxPyControl", 0, 0, 0, 0, 0};
13364static swig_type_info _swigt__p_wxToolBarBase = {"_p_wxToolBarBase", 0, 0, 0, 0, 0};
13365static swig_type_info _swigt__p_wxDirFilterListCtrl = {"_p_wxDirFilterListCtrl", 0, 0, 0, 0, 0};
3ecece7e 13366static swig_type_info _swigt__p_wxPyListCtrl = {"_p_wxPyListCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13367static swig_type_info _swigt__p_wxComboBox = {"_p_wxComboBox", 0, 0, 0, 0, 0};
13368static swig_type_info _swigt__p_wxGenericDirCtrl = {"_p_wxGenericDirCtrl", 0, 0, 0, 0, 0};
13369static swig_type_info _swigt__p_wxControlWithItems = {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
13370static swig_type_info _swigt__p_wxGauge = {"_p_wxGauge", 0, 0, 0, 0, 0};
13371static swig_type_info _swigt__p_wxStaticLine = {"_p_wxStaticLine", 0, 0, 0, 0, 0};
13372static swig_type_info _swigt__p_wxChoicebook = {"_p_wxChoicebook", 0, 0, 0, 0, 0};
13373static swig_type_info _swigt__p_wxListbook = {"_p_wxListbook", 0, 0, 0, 0, 0};
092f0ed7 13374static swig_type_info _swigt__p_wxHyperlinkCtrl = {"_p_wxHyperlinkCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13375static swig_type_info _swigt__p_wxCheckBox = {"_p_wxCheckBox", 0, 0, 0, 0, 0};
13376static swig_type_info _swigt__p_wxRadioBox = {"_p_wxRadioBox", 0, 0, 0, 0, 0};
13377static swig_type_info _swigt__p_wxChoice = {"_p_wxChoice", 0, 0, 0, 0, 0};
13378static swig_type_info _swigt__p_wxListBox = {"_p_wxListBox", 0, 0, 0, 0, 0};
13379static swig_type_info _swigt__p_wxCheckListBox = {"_p_wxCheckListBox", 0, 0, 0, 0, 0};
13380static swig_type_info _swigt__p_wxListView = {"_p_wxListView", 0, 0, 0, 0, 0};
13381static swig_type_info _swigt__p_wxNotebook = {"_p_wxNotebook", 0, 0, 0, 0, 0};
13382static swig_type_info _swigt__p_wxStaticBitmap = {"_p_wxStaticBitmap", 0, 0, 0, 0, 0};
13383static swig_type_info _swigt__p_wxSpinCtrl = {"_p_wxSpinCtrl", 0, 0, 0, 0, 0};
13384static swig_type_info _swigt__p_wxStaticText = {"_p_wxStaticText", 0, 0, 0, 0, 0};
13385static swig_type_info _swigt__p_wxStaticBox = {"_p_wxStaticBox", 0, 0, 0, 0, 0};
13386static swig_type_info _swigt__p_wxSlider = {"_p_wxSlider", 0, 0, 0, 0, 0};
13387static swig_type_info _swigt__p_wxTreebook = {"_p_wxTreebook", 0, 0, 0, 0, 0};
13388static swig_type_info _swigt__p_wxSpinButton = {"_p_wxSpinButton", 0, 0, 0, 0, 0};
13389static swig_type_info _swigt__p_wxButton = {"_p_wxButton", 0, 0, 0, 0, 0};
13390static swig_type_info _swigt__p_wxBitmapButton = {"_p_wxBitmapButton", 0, 0, 0, 0, 0};
13391static swig_type_info _swigt__p_wxContextHelpButton = {"_p_wxContextHelpButton", 0, 0, 0, 0, 0};
13392static swig_type_info _swigt__p_wxDatePickerCtrl = {"_p_wxDatePickerCtrl", 0, 0, 0, 0, 0};
453fb36b
RD
13393static swig_type_info _swigt__p_wxColourPickerCtrl = {"_p_wxColourPickerCtrl", 0, 0, 0, 0, 0};
13394static swig_type_info _swigt__p_wxFilePickerCtrl = {"_p_wxFilePickerCtrl", 0, 0, 0, 0, 0};
13395static swig_type_info _swigt__p_wxDirPickerCtrl = {"_p_wxDirPickerCtrl", 0, 0, 0, 0, 0};
13396static swig_type_info _swigt__p_wxFontPickerCtrl = {"_p_wxFontPickerCtrl", 0, 0, 0, 0, 0};
0085ce49
RD
13397static swig_type_info _swigt__p_wxTextCtrl = {"_p_wxTextCtrl", 0, 0, 0, 0, 0};
13398static swig_type_info _swigt__p_wxDuplexMode = {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
13399static swig_type_info _swigt__p_wxDynamicSashSplitEvent = {"_p_wxDynamicSashSplitEvent", "wxDynamicSashSplitEvent *", 0, 0, (void*)0, 0};
13400static swig_type_info _swigt__p_wxDynamicSashUnifyEvent = {"_p_wxDynamicSashUnifyEvent", "wxDynamicSashUnifyEvent *", 0, 0, (void*)0, 0};
13401static swig_type_info _swigt__p_wxDynamicSashWindow = {"_p_wxDynamicSashWindow", "wxDynamicSashWindow *", 0, 0, (void*)0, 0};
13402static swig_type_info _swigt__p_wxEditableListBox = {"_p_wxEditableListBox", "wxEditableListBox *", 0, 0, (void*)0, 0};
13403static swig_type_info _swigt__p_wxEvent = {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
13404static swig_type_info _swigt__p_wxMenuEvent = {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
13405static swig_type_info _swigt__p_wxCloseEvent = {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
13406static swig_type_info _swigt__p_wxMouseEvent = {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
13407static swig_type_info _swigt__p_wxEraseEvent = {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
13408static swig_type_info _swigt__p_wxSetCursorEvent = {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
13409static swig_type_info _swigt__p_wxInitDialogEvent = {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
13410static swig_type_info _swigt__p_wxPyEvent = {"_p_wxPyEvent", 0, 0, 0, 0, 0};
34e0a3bb 13411static swig_type_info _swigt__p_wxMouseCaptureLostEvent = {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
0085ce49
RD
13412static swig_type_info _swigt__p_wxCalculateLayoutEvent = {"_p_wxCalculateLayoutEvent", 0, 0, 0, 0, 0};
13413static swig_type_info _swigt__p_wxIdleEvent = {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
13414static swig_type_info _swigt__p_wxQueryNewPaletteEvent = {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
13415static swig_type_info _swigt__p_wxMaximizeEvent = {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
13416static swig_type_info _swigt__p_wxIconizeEvent = {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
13417static swig_type_info _swigt__p_wxActivateEvent = {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
13418static swig_type_info _swigt__p_wxSizeEvent = {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
13419static swig_type_info _swigt__p_wxMoveEvent = {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
13420static swig_type_info _swigt__p_wxPaintEvent = {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
13421static swig_type_info _swigt__p_wxNcPaintEvent = {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
13422static swig_type_info _swigt__p_wxPaletteChangedEvent = {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
13423static swig_type_info _swigt__p_wxDisplayChangedEvent = {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
13424static swig_type_info _swigt__p_wxMouseCaptureChangedEvent = {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
13425static swig_type_info _swigt__p_wxSysColourChangedEvent = {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
13426static swig_type_info _swigt__p_wxDropFilesEvent = {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
13427static swig_type_info _swigt__p_wxFocusEvent = {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
13428static swig_type_info _swigt__p_wxQueryLayoutInfoEvent = {"_p_wxQueryLayoutInfoEvent", 0, 0, 0, 0, 0};
13429static swig_type_info _swigt__p_wxShowEvent = {"_p_wxShowEvent", 0, 0, 0, 0, 0};
13430static swig_type_info _swigt__p_wxNavigationKeyEvent = {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
13431static swig_type_info _swigt__p_wxKeyEvent = {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
13432static swig_type_info _swigt__p_wxScrollWinEvent = {"_p_wxScrollWinEvent", 0, 0, 0, 0, 0};
13433static swig_type_info _swigt__p_wxTaskBarIconEvent = {"_p_wxTaskBarIconEvent", 0, 0, 0, 0, 0};
13434static swig_type_info _swigt__p_wxEvtHandler = {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
13435static swig_type_info _swigt__p_wxPyPreviewFrame = {"_p_wxPyPreviewFrame", 0, 0, 0, 0, 0};
13436static swig_type_info _swigt__p_wxPreviewFrame = {"_p_wxPreviewFrame", 0, 0, 0, 0, 0};
13437static swig_type_info _swigt__p_wxPyPanel = {"_p_wxPyPanel", 0, 0, 0, 0, 0};
13438static swig_type_info _swigt__p_wxMenu = {"_p_wxMenu", 0, 0, 0, 0, 0};
13439static swig_type_info _swigt__p_wxPyTaskBarIcon = {"_p_wxPyTaskBarIcon", 0, 0, 0, 0, 0};
13440static swig_type_info _swigt__p_wxPreviewCanvas = {"_p_wxPreviewCanvas", 0, 0, 0, 0, 0};
13441static swig_type_info _swigt__p_wxMDIChildFrame = {"_p_wxMDIChildFrame", 0, 0, 0, 0, 0};
13442static swig_type_info _swigt__p_wxPyWindow = {"_p_wxPyWindow", 0, 0, 0, 0, 0};
13443static swig_type_info _swigt__p_wxSplashScreen = {"_p_wxSplashScreen", 0, 0, 0, 0, 0};
0085ce49
RD
13444static swig_type_info _swigt__p_wxProgressDialog = {"_p_wxProgressDialog", 0, 0, 0, 0, 0};
13445static swig_type_info _swigt__p_wxFindReplaceDialog = {"_p_wxFindReplaceDialog", 0, 0, 0, 0, 0};
453fb36b 13446static swig_type_info _swigt__p_wxMessageDialog = {"_p_wxMessageDialog", 0, 0, 0, 0, 0};
27e45892 13447static swig_type_info _swigt__p_wxNumberEntryDialog = {"_p_wxNumberEntryDialog", 0, 0, 0, 0, 0};
0085ce49
RD
13448static swig_type_info _swigt__p_wxFileDialog = {"_p_wxFileDialog", 0, 0, 0, 0, 0};
13449static swig_type_info _swigt__p_wxMultiChoiceDialog = {"_p_wxMultiChoiceDialog", 0, 0, 0, 0, 0};
13450static swig_type_info _swigt__p_wxSingleChoiceDialog = {"_p_wxSingleChoiceDialog", 0, 0, 0, 0, 0};
13451static swig_type_info _swigt__p_wxTextEntryDialog = {"_p_wxTextEntryDialog", 0, 0, 0, 0, 0};
13452static swig_type_info _swigt__p_wxPasswordEntryDialog = {"_p_wxPasswordEntryDialog", 0, 0, 0, 0, 0};
13453static swig_type_info _swigt__p_wxPyVListBox = {"_p_wxPyVListBox", 0, 0, 0, 0, 0};
13454static swig_type_info _swigt__p_wxPyHtmlListBox = {"_p_wxPyHtmlListBox", 0, 0, 0, 0, 0};
13455static swig_type_info _swigt__p_wxMiniFrame = {"_p_wxMiniFrame", 0, 0, 0, 0, 0};
13456static swig_type_info _swigt__p_wxFrame = {"_p_wxFrame", 0, 0, 0, 0, 0};
13457static swig_type_info _swigt__p_wxStatusBar = {"_p_wxStatusBar", 0, 0, 0, 0, 0};
13458static swig_type_info _swigt__p_wxMDIParentFrame = {"_p_wxMDIParentFrame", 0, 0, 0, 0, 0};
453fb36b
RD
13459static swig_type_info _swigt__p_wxPopupWindow = {"_p_wxPopupWindow", 0, 0, 0, 0, 0};
13460static swig_type_info _swigt__p_wxSashLayoutWindow = {"_p_wxSashLayoutWindow", 0, 0, 0, 0, 0};
13461static swig_type_info _swigt__p_wxSashWindow = {"_p_wxSashWindow", 0, 0, 0, 0, 0};
0085ce49 13462static swig_type_info _swigt__p_wxSplashScreenWindow = {"_p_wxSplashScreenWindow", 0, 0, 0, 0, 0};
453fb36b 13463static swig_type_info _swigt__p_wxTipWindow = {"_p_wxTipWindow", 0, 0, 0, 0, 0};
27e45892 13464static swig_type_info _swigt__p_wxPyPopupTransientWindow = {"_p_wxPyPopupTransientWindow", 0, 0, 0, 0, 0};
0085ce49
RD
13465static swig_type_info _swigt__p_wxPyScrolledWindow = {"_p_wxPyScrolledWindow", 0, 0, 0, 0, 0};
13466static swig_type_info _swigt__p_wxTopLevelWindow = {"_p_wxTopLevelWindow", 0, 0, 0, 0, 0};
13467static swig_type_info _swigt__p_wxMDIClientWindow = {"_p_wxMDIClientWindow", 0, 0, 0, 0, 0};
27e45892 13468static swig_type_info _swigt__p_wxPyVScrolledWindow = {"_p_wxPyVScrolledWindow", 0, 0, 0, 0, 0};
0085ce49
RD
13469static swig_type_info _swigt__p_wxMenuBar = {"_p_wxMenuBar", 0, 0, 0, 0, 0};
13470static swig_type_info _swigt__p_wxDialog = {"_p_wxDialog", 0, 0, 0, 0, 0};
13471static swig_type_info _swigt__p_wxColourDialog = {"_p_wxColourDialog", 0, 0, 0, 0, 0};
13472static swig_type_info _swigt__p_wxDirDialog = {"_p_wxDirDialog", 0, 0, 0, 0, 0};
13473static swig_type_info _swigt__p_wxFontDialog = {"_p_wxFontDialog", 0, 0, 0, 0, 0};
13474static swig_type_info _swigt__p_wxPyApp = {"_p_wxPyApp", 0, 0, 0, 0, 0};
13475static swig_type_info _swigt__p_wxPreviewControlBar = {"_p_wxPreviewControlBar", 0, 0, 0, 0, 0};
13476static swig_type_info _swigt__p_wxPyPreviewControlBar = {"_p_wxPyPreviewControlBar", 0, 0, 0, 0, 0};
13477static swig_type_info _swigt__p_wxPyValidator = {"_p_wxPyValidator", 0, 0, 0, 0, 0};
13478static swig_type_info _swigt__p_wxFont = {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
13479static swig_type_info _swigt__p_wxIcon = {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
13480static swig_type_info _swigt__p_wxImageList = {"_p_wxImageList", "wxImageList *", 0, 0, (void*)0, 0};
13481static swig_type_info _swigt__p_wxLEDNumberCtrl = {"_p_wxLEDNumberCtrl", "wxLEDNumberCtrl *", 0, 0, (void*)0, 0};
13482static swig_type_info _swigt__p_wxObject = {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
13483static swig_type_info _swigt__p_wxIndividualLayoutConstraint = {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
13484static swig_type_info _swigt__p_wxMenuItem = {"_p_wxMenuItem", 0, 0, 0, 0, 0};
13485static swig_type_info _swigt__p_wxImage = {"_p_wxImage", 0, 0, 0, 0, 0};
13486static swig_type_info _swigt__p_wxPySizer = {"_p_wxPySizer", 0, 0, 0, 0, 0};
13487static swig_type_info _swigt__p_wxGenericDragImage = {"_p_wxGenericDragImage", 0, 0, 0, 0, 0};
13488static swig_type_info _swigt__p_wxLayoutAlgorithm = {"_p_wxLayoutAlgorithm", 0, 0, 0, 0, 0};
13489static swig_type_info _swigt__p_wxListItem = {"_p_wxListItem", 0, 0, 0, 0, 0};
13490static swig_type_info _swigt__p_wxFindReplaceData = {"_p_wxFindReplaceData", 0, 0, 0, 0, 0};
13491static swig_type_info _swigt__p_wxPageSetupDialogData = {"_p_wxPageSetupDialogData", 0, 0, 0, 0, 0};
13492static swig_type_info _swigt__p_wxPrintDialogData = {"_p_wxPrintDialogData", 0, 0, 0, 0, 0};
13493static swig_type_info _swigt__p_wxPrinter = {"_p_wxPrinter", 0, 0, 0, 0, 0};
13494static swig_type_info _swigt__p_wxFlexGridSizer = {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
13495static swig_type_info _swigt__p_wxGridSizer = {"_p_wxGridSizer", 0, 0, 0, 0, 0};
13496static swig_type_info _swigt__p_wxAcceleratorTable = {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
13497static swig_type_info _swigt__p_wxContextHelp = {"_p_wxContextHelp", 0, 0, 0, 0, 0};
13498static swig_type_info _swigt__p_wxColourData = {"_p_wxColourData", 0, 0, 0, 0, 0};
13499static swig_type_info _swigt__p_wxPyPrintout = {"_p_wxPyPrintout", 0, 0, 0, 0, 0};
13500static swig_type_info _swigt__p_wxStdDialogButtonSizer = {"_p_wxStdDialogButtonSizer", 0, 0, 0, 0, 0};
13501static swig_type_info _swigt__p_wxPrintData = {"_p_wxPrintData", 0, 0, 0, 0, 0};
13502static swig_type_info _swigt__p_wxFontData = {"_p_wxFontData", 0, 0, 0, 0, 0};
13503static swig_type_info _swigt__p_wxFileSystem = {"_p_wxFileSystem", 0, 0, 0, 0, 0};
13504static swig_type_info _swigt__p_wxPyPrintPreview = {"_p_wxPyPrintPreview", 0, 0, 0, 0, 0};
13505static swig_type_info _swigt__p_wxPrintPreview = {"_p_wxPrintPreview", 0, 0, 0, 0, 0};
13506static swig_type_info _swigt__p_wxLayoutConstraints = {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
13507static swig_type_info _swigt__p_wxSizer = {"_p_wxSizer", 0, 0, 0, 0, 0};
13508static swig_type_info _swigt__p_wxBoxSizer = {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
13509static swig_type_info _swigt__p_wxStaticBoxSizer = {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
13510static swig_type_info _swigt__p_wxGridBagSizer = {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
13511static swig_type_info _swigt__p_wxFSFile = {"_p_wxFSFile", 0, 0, 0, 0, 0};
453fb36b 13512static swig_type_info _swigt__p_wxSizerItem = {"_p_wxSizerItem", 0, 0, 0, 0, 0};
34e0a3bb 13513static swig_type_info _swigt__p_wxGBSizerItem = {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
0085ce49 13514static swig_type_info _swigt__p_wxPageSetupDialog = {"_p_wxPageSetupDialog", 0, 0, 0, 0, 0};
453fb36b 13515static swig_type_info _swigt__p_wxPrintDialog = {"_p_wxPrintDialog", 0, 0, 0, 0, 0};
0085ce49 13516static swig_type_info _swigt__p_wxPNMHandler = {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
092f0ed7 13517static swig_type_info _swigt__p_wxJPEGHandler = {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
2131d850 13518static swig_type_info _swigt__p_wxPCXHandler = {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
0085ce49
RD
13519static swig_type_info _swigt__p_wxGIFHandler = {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
13520static swig_type_info _swigt__p_wxPNGHandler = {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
13521static swig_type_info _swigt__p_wxANIHandler = {"_p_wxANIHandler", 0, 0, 0, 0, 0};
13522static swig_type_info _swigt__p_wxCURHandler = {"_p_wxCURHandler", 0, 0, 0, 0, 0};
13523static swig_type_info _swigt__p_wxICOHandler = {"_p_wxICOHandler", 0, 0, 0, 0, 0};
13524static swig_type_info _swigt__p_wxBMPHandler = {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
13525static swig_type_info _swigt__p_wxPyImageHandler = {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
13526static swig_type_info _swigt__p_wxImageHandler = {"_p_wxImageHandler", 0, 0, 0, 0, 0};
13527static swig_type_info _swigt__p_wxXPMHandler = {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
13528static swig_type_info _swigt__p_wxTIFFHandler = {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
580080c5 13529static swig_type_info _swigt__p_wxTGAHandler = {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
0085ce49
RD
13530static swig_type_info _swigt__p_wxToolBarToolBase = {"_p_wxToolBarToolBase", 0, 0, 0, 0, 0};
13531static swig_type_info _swigt__p_wxPanel = {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
13532static swig_type_info _swigt__p_wxPaperSize = {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
0085ce49
RD
13533static swig_type_info _swigt__p_wxPyTreeCompanionWindow = {"_p_wxPyTreeCompanionWindow", "wxPyTreeCompanionWindow *", 0, 0, (void*)0, 0};
13534static swig_type_info _swigt__p_wxPyTreeCtrl = {"_p_wxPyTreeCtrl", "wxPyTreeCtrl *", 0, 0, (void*)0, 0};
13535static swig_type_info _swigt__p_wxPyTreeItemData = {"_p_wxPyTreeItemData", "wxPyTreeItemData *", 0, 0, (void*)0, 0};
13536static swig_type_info _swigt__p_wxPyTreeListCtrl = {"_p_wxPyTreeListCtrl", "wxPyTreeListCtrl *", 0, 0, (void*)0, 0};
13537static swig_type_info _swigt__p_wxRemotelyScrolledTreeCtrl = {"_p_wxRemotelyScrolledTreeCtrl", "wxRemotelyScrolledTreeCtrl *", 0, 0, (void*)0, 0};
13538static swig_type_info _swigt__p_wxScrollBar = {"_p_wxScrollBar", "wxScrollBar *", 0, 0, (void*)0, 0};
13539static swig_type_info _swigt__p_wxScrolledWindow = {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
13540static swig_type_info _swigt__p_wxSplitterScrolledWindow = {"_p_wxSplitterScrolledWindow", "wxSplitterScrolledWindow *", 0, 0, (void*)0, 0};
13541static swig_type_info _swigt__p_wxSplitterWindow = {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
13542static swig_type_info _swigt__p_wxStaticPicture = {"_p_wxStaticPicture", "wxStaticPicture *", 0, 0, (void*)0, 0};
13543static swig_type_info _swigt__p_wxThinSplitterWindow = {"_p_wxThinSplitterWindow", "wxThinSplitterWindow *", 0, 0, (void*)0, 0};
13544static swig_type_info _swigt__p_wxTreeItemId = {"_p_wxTreeItemId", "wxTreeItemId *", 0, 0, (void*)0, 0};
13545static swig_type_info _swigt__p_wxTreeListColumnInfo = {"_p_wxTreeListColumnInfo", "wxTreeListColumnInfo *", 0, 0, (void*)0, 0};
13546static swig_type_info _swigt__p_wxValidator = {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
13547static swig_type_info _swigt__p_wxWindow = {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32fe5131
RD
13548
13549static swig_type_info *swig_type_initial[] = {
13550 &_swigt__p_char,
13551 &_swigt__p_float,
13552 &_swigt__p_form_ops_t,
13553 &_swigt__p_int,
13554 &_swigt__p_unsigned_char,
13555 &_swigt__p_unsigned_int,
13556 &_swigt__p_unsigned_long,
13557 &_swigt__p_wxANIHandler,
13558 &_swigt__p_wxAcceleratorTable,
13559 &_swigt__p_wxActivateEvent,
13560 &_swigt__p_wxArrayString,
13561 &_swigt__p_wxBMPHandler,
13562 &_swigt__p_wxBitmap,
13563 &_swigt__p_wxBitmapButton,
13564 &_swigt__p_wxBookCtrlBase,
13565 &_swigt__p_wxBookCtrlBaseEvent,
13566 &_swigt__p_wxBoxSizer,
13567 &_swigt__p_wxButton,
13568 &_swigt__p_wxCURHandler,
13569 &_swigt__p_wxCalculateLayoutEvent,
13570 &_swigt__p_wxCheckBox,
13571 &_swigt__p_wxCheckListBox,
13572 &_swigt__p_wxChildFocusEvent,
13573 &_swigt__p_wxChoice,
13574 &_swigt__p_wxChoicebook,
13575 &_swigt__p_wxChoicebookEvent,
2131d850 13576 &_swigt__p_wxClipboardTextEvent,
32fe5131
RD
13577 &_swigt__p_wxCloseEvent,
13578 &_swigt__p_wxColour,
13579 &_swigt__p_wxColourData,
13580 &_swigt__p_wxColourDialog,
453fb36b
RD
13581 &_swigt__p_wxColourPickerCtrl,
13582 &_swigt__p_wxColourPickerEvent,
32fe5131
RD
13583 &_swigt__p_wxComboBox,
13584 &_swigt__p_wxCommandEvent,
13585 &_swigt__p_wxContextHelp,
13586 &_swigt__p_wxContextHelpButton,
13587 &_swigt__p_wxContextMenuEvent,
13588 &_swigt__p_wxControl,
13589 &_swigt__p_wxControlWithItems,
13590 &_swigt__p_wxDateEvent,
13591 &_swigt__p_wxDatePickerCtrl,
13592 &_swigt__p_wxDialog,
13593 &_swigt__p_wxDirDialog,
13594 &_swigt__p_wxDirFilterListCtrl,
453fb36b 13595 &_swigt__p_wxDirPickerCtrl,
32fe5131
RD
13596 &_swigt__p_wxDisplayChangedEvent,
13597 &_swigt__p_wxDropFilesEvent,
13598 &_swigt__p_wxDuplexMode,
13599 &_swigt__p_wxDynamicSashSplitEvent,
13600 &_swigt__p_wxDynamicSashUnifyEvent,
13601 &_swigt__p_wxDynamicSashWindow,
13602 &_swigt__p_wxEditableListBox,
13603 &_swigt__p_wxEraseEvent,
13604 &_swigt__p_wxEvent,
13605 &_swigt__p_wxEvtHandler,
13606 &_swigt__p_wxFSFile,
13607 &_swigt__p_wxFileDialog,
453fb36b
RD
13608 &_swigt__p_wxFileDirPickerEvent,
13609 &_swigt__p_wxFilePickerCtrl,
32fe5131
RD
13610 &_swigt__p_wxFileSystem,
13611 &_swigt__p_wxFindDialogEvent,
13612 &_swigt__p_wxFindReplaceData,
13613 &_swigt__p_wxFindReplaceDialog,
13614 &_swigt__p_wxFlexGridSizer,
13615 &_swigt__p_wxFocusEvent,
13616 &_swigt__p_wxFont,
13617 &_swigt__p_wxFontData,
13618 &_swigt__p_wxFontDialog,
453fb36b
RD
13619 &_swigt__p_wxFontPickerCtrl,
13620 &_swigt__p_wxFontPickerEvent,
32fe5131
RD
13621 &_swigt__p_wxFrame,
13622 &_swigt__p_wxGBSizerItem,
13623 &_swigt__p_wxGIFHandler,
13624 &_swigt__p_wxGauge,
13625 &_swigt__p_wxGenericDirCtrl,
13626 &_swigt__p_wxGenericDragImage,
13627 &_swigt__p_wxGridBagSizer,
13628 &_swigt__p_wxGridSizer,
13629 &_swigt__p_wxHelpEvent,
092f0ed7
RD
13630 &_swigt__p_wxHyperlinkCtrl,
13631 &_swigt__p_wxHyperlinkEvent,
32fe5131
RD
13632 &_swigt__p_wxICOHandler,
13633 &_swigt__p_wxIcon,
13634 &_swigt__p_wxIconizeEvent,
13635 &_swigt__p_wxIdleEvent,
13636 &_swigt__p_wxImage,
13637 &_swigt__p_wxImageHandler,
13638 &_swigt__p_wxImageList,
13639 &_swigt__p_wxIndividualLayoutConstraint,
13640 &_swigt__p_wxInitDialogEvent,
13641 &_swigt__p_wxJPEGHandler,
13642 &_swigt__p_wxKeyEvent,
13643 &_swigt__p_wxLEDNumberCtrl,
13644 &_swigt__p_wxLayoutAlgorithm,
13645 &_swigt__p_wxLayoutConstraints,
13646 &_swigt__p_wxListBox,
13647 &_swigt__p_wxListEvent,
13648 &_swigt__p_wxListItem,
13649 &_swigt__p_wxListView,
13650 &_swigt__p_wxListbook,
13651 &_swigt__p_wxListbookEvent,
13652 &_swigt__p_wxMDIChildFrame,
13653 &_swigt__p_wxMDIClientWindow,
13654 &_swigt__p_wxMDIParentFrame,
13655 &_swigt__p_wxMaximizeEvent,
13656 &_swigt__p_wxMenu,
13657 &_swigt__p_wxMenuBar,
13658 &_swigt__p_wxMenuEvent,
13659 &_swigt__p_wxMenuItem,
13660 &_swigt__p_wxMessageDialog,
13661 &_swigt__p_wxMiniFrame,
13662 &_swigt__p_wxMouseCaptureChangedEvent,
34e0a3bb 13663 &_swigt__p_wxMouseCaptureLostEvent,
32fe5131
RD
13664 &_swigt__p_wxMouseEvent,
13665 &_swigt__p_wxMoveEvent,
13666 &_swigt__p_wxMultiChoiceDialog,
13667 &_swigt__p_wxNavigationKeyEvent,
13668 &_swigt__p_wxNcPaintEvent,
13669 &_swigt__p_wxNotebook,
13670 &_swigt__p_wxNotebookEvent,
13671 &_swigt__p_wxNotifyEvent,
27e45892 13672 &_swigt__p_wxNumberEntryDialog,
32fe5131
RD
13673 &_swigt__p_wxObject,
13674 &_swigt__p_wxPCXHandler,
13675 &_swigt__p_wxPNGHandler,
13676 &_swigt__p_wxPNMHandler,
13677 &_swigt__p_wxPageSetupDialog,
13678 &_swigt__p_wxPageSetupDialogData,
13679 &_swigt__p_wxPaintEvent,
13680 &_swigt__p_wxPaletteChangedEvent,
13681 &_swigt__p_wxPanel,
13682 &_swigt__p_wxPaperSize,
13683 &_swigt__p_wxPasswordEntryDialog,
453fb36b 13684 &_swigt__p_wxPickerBase,
32fe5131
RD
13685 &_swigt__p_wxPopupWindow,
13686 &_swigt__p_wxPreviewCanvas,
13687 &_swigt__p_wxPreviewControlBar,
13688 &_swigt__p_wxPreviewFrame,
13689 &_swigt__p_wxPrintData,
13690 &_swigt__p_wxPrintDialog,
13691 &_swigt__p_wxPrintDialogData,
13692 &_swigt__p_wxPrintPreview,
13693 &_swigt__p_wxPrinter,
13694 &_swigt__p_wxProgressDialog,
13695 &_swigt__p_wxPyApp,
13696 &_swigt__p_wxPyCommandEvent,
13697 &_swigt__p_wxPyControl,
13698 &_swigt__p_wxPyEvent,
13699 &_swigt__p_wxPyHtmlListBox,
13700 &_swigt__p_wxPyImageHandler,
13701 &_swigt__p_wxPyListCtrl,
13702 &_swigt__p_wxPyPanel,
13703 &_swigt__p_wxPyPopupTransientWindow,
13704 &_swigt__p_wxPyPreviewControlBar,
13705 &_swigt__p_wxPyPreviewFrame,
13706 &_swigt__p_wxPyPrintPreview,
13707 &_swigt__p_wxPyPrintout,
13708 &_swigt__p_wxPyScrolledWindow,
13709 &_swigt__p_wxPySizer,
13710 &_swigt__p_wxPyTaskBarIcon,
13711 &_swigt__p_wxPyTreeCompanionWindow,
13712 &_swigt__p_wxPyTreeCtrl,
13713 &_swigt__p_wxPyTreeItemData,
13714 &_swigt__p_wxPyTreeListCtrl,
13715 &_swigt__p_wxPyVListBox,
13716 &_swigt__p_wxPyVScrolledWindow,
13717 &_swigt__p_wxPyValidator,
13718 &_swigt__p_wxPyWindow,
13719 &_swigt__p_wxQueryLayoutInfoEvent,
13720 &_swigt__p_wxQueryNewPaletteEvent,
13721 &_swigt__p_wxRadioBox,
13722 &_swigt__p_wxRadioButton,
13723 &_swigt__p_wxRemotelyScrolledTreeCtrl,
13724 &_swigt__p_wxSashEvent,
13725 &_swigt__p_wxSashLayoutWindow,
13726 &_swigt__p_wxSashWindow,
13727 &_swigt__p_wxScrollBar,
13728 &_swigt__p_wxScrollEvent,
13729 &_swigt__p_wxScrollWinEvent,
13730 &_swigt__p_wxScrolledWindow,
13731 &_swigt__p_wxSetCursorEvent,
13732 &_swigt__p_wxShowEvent,
13733 &_swigt__p_wxSingleChoiceDialog,
13734 &_swigt__p_wxSizeEvent,
13735 &_swigt__p_wxSizer,
13736 &_swigt__p_wxSizerItem,
13737 &_swigt__p_wxSlider,
13738 &_swigt__p_wxSpinButton,
13739 &_swigt__p_wxSpinCtrl,
13740 &_swigt__p_wxSpinEvent,
13741 &_swigt__p_wxSplashScreen,
13742 &_swigt__p_wxSplashScreenWindow,
13743 &_swigt__p_wxSplitterEvent,
13744 &_swigt__p_wxSplitterScrolledWindow,
13745 &_swigt__p_wxSplitterWindow,
13746 &_swigt__p_wxStaticBitmap,
13747 &_swigt__p_wxStaticBox,
13748 &_swigt__p_wxStaticBoxSizer,
13749 &_swigt__p_wxStaticLine,
13750 &_swigt__p_wxStaticPicture,
13751 &_swigt__p_wxStaticText,
13752 &_swigt__p_wxStatusBar,
13753 &_swigt__p_wxStdDialogButtonSizer,
13754 &_swigt__p_wxSysColourChangedEvent,
580080c5 13755 &_swigt__p_wxTGAHandler,
32fe5131
RD
13756 &_swigt__p_wxTIFFHandler,
13757 &_swigt__p_wxTaskBarIconEvent,
13758 &_swigt__p_wxTextCtrl,
13759 &_swigt__p_wxTextEntryDialog,
13760 &_swigt__p_wxTextUrlEvent,
13761 &_swigt__p_wxThinSplitterWindow,
13762 &_swigt__p_wxTipWindow,
13763 &_swigt__p_wxToggleButton,
13764 &_swigt__p_wxToolBar,
13765 &_swigt__p_wxToolBarBase,
13766 &_swigt__p_wxToolBarToolBase,
7e08d4ef
RD
13767 &_swigt__p_wxToolbook,
13768 &_swigt__p_wxToolbookEvent,
32fe5131
RD
13769 &_swigt__p_wxTopLevelWindow,
13770 &_swigt__p_wxTreeEvent,
13771 &_swigt__p_wxTreeItemId,
13772 &_swigt__p_wxTreeListColumnInfo,
7e08d4ef
RD
13773 &_swigt__p_wxTreebook,
13774 &_swigt__p_wxTreebookEvent,
32fe5131
RD
13775 &_swigt__p_wxUpdateUIEvent,
13776 &_swigt__p_wxValidator,
13777 &_swigt__p_wxWindow,
13778 &_swigt__p_wxWindowCreateEvent,
13779 &_swigt__p_wxWindowDestroyEvent,
13780 &_swigt__p_wxXPMHandler,
32fe5131
RD
13781};
13782
13783static swig_cast_info _swigc__p_char[] = { {&_swigt__p_char, 0, 0, 0},{0, 0, 0, 0}};
13784static swig_cast_info _swigc__p_float[] = { {&_swigt__p_float, 0, 0, 0},{0, 0, 0, 0}};
13785static swig_cast_info _swigc__p_form_ops_t[] = { {&_swigt__p_form_ops_t, 0, 0, 0},{0, 0, 0, 0}};
13786static swig_cast_info _swigc__p_int[] = { {&_swigt__p_int, 0, 0, 0},{0, 0, 0, 0}};
13787static swig_cast_info _swigc__p_unsigned_char[] = { {&_swigt__p_unsigned_char, 0, 0, 0},{0, 0, 0, 0}};
13788static swig_cast_info _swigc__p_unsigned_int[] = { {&_swigt__p_unsigned_int, 0, 0, 0},{0, 0, 0, 0}};
13789static swig_cast_info _swigc__p_unsigned_long[] = { {&_swigt__p_unsigned_long, 0, 0, 0},{0, 0, 0, 0}};
13790static swig_cast_info _swigc__p_wxArrayString[] = { {&_swigt__p_wxArrayString, 0, 0, 0},{0, 0, 0, 0}};
13791static swig_cast_info _swigc__p_wxBitmap[] = { {&_swigt__p_wxBitmap, 0, 0, 0},{0, 0, 0, 0}};
13792static swig_cast_info _swigc__p_wxColour[] = { {&_swigt__p_wxColour, 0, 0, 0},{0, 0, 0, 0}};
13793static swig_cast_info _swigc__p_wxSashEvent[] = {{&_swigt__p_wxSashEvent, 0, 0, 0},{0, 0, 0, 0}};
13794static swig_cast_info _swigc__p_wxWindowDestroyEvent[] = {{&_swigt__p_wxWindowDestroyEvent, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13795static swig_cast_info _swigc__p_wxHyperlinkEvent[] = {{&_swigt__p_wxHyperlinkEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13796static swig_cast_info _swigc__p_wxSplitterEvent[] = {{&_swigt__p_wxSplitterEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13797static swig_cast_info _swigc__p_wxColourPickerEvent[] = {{&_swigt__p_wxColourPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13798static swig_cast_info _swigc__p_wxFileDirPickerEvent[] = {{&_swigt__p_wxFileDirPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
13799static swig_cast_info _swigc__p_wxFontPickerEvent[] = {{&_swigt__p_wxFontPickerEvent, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13800static swig_cast_info _swigc__p_wxClipboardTextEvent[] = {{&_swigt__p_wxClipboardTextEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13801static swig_cast_info _swigc__p_wxTextUrlEvent[] = {{&_swigt__p_wxTextUrlEvent, 0, 0, 0},{0, 0, 0, 0}};
13802static swig_cast_info _swigc__p_wxScrollEvent[] = {{&_swigt__p_wxScrollEvent, 0, 0, 0},{0, 0, 0, 0}};
13803static swig_cast_info _swigc__p_wxPyCommandEvent[] = {{&_swigt__p_wxPyCommandEvent, 0, 0, 0},{0, 0, 0, 0}};
13804static swig_cast_info _swigc__p_wxContextMenuEvent[] = {{&_swigt__p_wxContextMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13805static swig_cast_info _swigc__p_wxChildFocusEvent[] = {{&_swigt__p_wxChildFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13806static swig_cast_info _swigc__p_wxNotebookEvent[] = {{&_swigt__p_wxNotebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13807static swig_cast_info _swigc__p_wxListbookEvent[] = {{&_swigt__p_wxListbookEvent, 0, 0, 0},{0, 0, 0, 0}};
13808static swig_cast_info _swigc__p_wxChoicebookEvent[] = {{&_swigt__p_wxChoicebookEvent, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13809static swig_cast_info _swigc__p_wxTreebookEvent[] = {{&_swigt__p_wxTreebookEvent, 0, 0, 0},{0, 0, 0, 0}};
13810static swig_cast_info _swigc__p_wxToolbookEvent[] = {{&_swigt__p_wxToolbookEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13811static swig_cast_info _swigc__p_wxDateEvent[] = {{&_swigt__p_wxDateEvent, 0, 0, 0},{0, 0, 0, 0}};
13812static swig_cast_info _swigc__p_wxWindowCreateEvent[] = {{&_swigt__p_wxWindowCreateEvent, 0, 0, 0},{0, 0, 0, 0}};
13813static swig_cast_info _swigc__p_wxListEvent[] = {{&_swigt__p_wxListEvent, 0, 0, 0},{0, 0, 0, 0}};
13814static swig_cast_info _swigc__p_wxBookCtrlBaseEvent[] = {{&_swigt__p_wxBookCtrlBaseEvent, 0, 0, 0},{0, 0, 0, 0}};
13815static swig_cast_info _swigc__p_wxTreeEvent[] = {{&_swigt__p_wxTreeEvent, 0, 0, 0},{0, 0, 0, 0}};
13816static swig_cast_info _swigc__p_wxSpinEvent[] = {{&_swigt__p_wxSpinEvent, 0, 0, 0},{0, 0, 0, 0}};
13817static swig_cast_info _swigc__p_wxHelpEvent[] = {{&_swigt__p_wxHelpEvent, 0, 0, 0},{0, 0, 0, 0}};
13818static swig_cast_info _swigc__p_wxNotifyEvent[] = {{&_swigt__p_wxNotifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13819static swig_cast_info _swigc__p_wxFindDialogEvent[] = {{&_swigt__p_wxFindDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13820static swig_cast_info _swigc__p_wxUpdateUIEvent[] = {{&_swigt__p_wxUpdateUIEvent, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13821static 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
13822static swig_cast_info _swigc__p_wxBookCtrlBase[] = {{&_swigt__p_wxBookCtrlBase, 0, 0, 0},{0, 0, 0, 0}};
13823static swig_cast_info _swigc__p_wxToolBar[] = {{&_swigt__p_wxToolBar, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13824static swig_cast_info _swigc__p_wxPickerBase[] = {{&_swigt__p_wxPickerBase, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13825static swig_cast_info _swigc__p_wxToggleButton[] = {{&_swigt__p_wxToggleButton, 0, 0, 0},{0, 0, 0, 0}};
13826static swig_cast_info _swigc__p_wxRadioButton[] = {{&_swigt__p_wxRadioButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13827static swig_cast_info _swigc__p_wxToolbook[] = {{&_swigt__p_wxToolbook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13828static swig_cast_info _swigc__p_wxPyControl[] = {{&_swigt__p_wxPyControl, 0, 0, 0},{0, 0, 0, 0}};
13829static swig_cast_info _swigc__p_wxToolBarBase[] = {{&_swigt__p_wxToolBarBase, 0, 0, 0},{0, 0, 0, 0}};
13830static swig_cast_info _swigc__p_wxDirFilterListCtrl[] = {{&_swigt__p_wxDirFilterListCtrl, 0, 0, 0},{0, 0, 0, 0}};
3ecece7e 13831static swig_cast_info _swigc__p_wxPyListCtrl[] = {{&_swigt__p_wxPyListCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13832static swig_cast_info _swigc__p_wxComboBox[] = {{&_swigt__p_wxComboBox, 0, 0, 0},{0, 0, 0, 0}};
13833static swig_cast_info _swigc__p_wxGenericDirCtrl[] = {{&_swigt__p_wxGenericDirCtrl, 0, 0, 0},{0, 0, 0, 0}};
13834static swig_cast_info _swigc__p_wxControlWithItems[] = {{&_swigt__p_wxControlWithItems, 0, 0, 0},{0, 0, 0, 0}};
13835static swig_cast_info _swigc__p_wxGauge[] = {{&_swigt__p_wxGauge, 0, 0, 0},{0, 0, 0, 0}};
13836static swig_cast_info _swigc__p_wxStaticLine[] = {{&_swigt__p_wxStaticLine, 0, 0, 0},{0, 0, 0, 0}};
13837static swig_cast_info _swigc__p_wxChoicebook[] = {{&_swigt__p_wxChoicebook, 0, 0, 0},{0, 0, 0, 0}};
13838static swig_cast_info _swigc__p_wxListbook[] = {{&_swigt__p_wxListbook, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13839static swig_cast_info _swigc__p_wxHyperlinkCtrl[] = {{&_swigt__p_wxHyperlinkCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13840static swig_cast_info _swigc__p_wxCheckBox[] = {{&_swigt__p_wxCheckBox, 0, 0, 0},{0, 0, 0, 0}};
13841static swig_cast_info _swigc__p_wxRadioBox[] = {{&_swigt__p_wxRadioBox, 0, 0, 0},{0, 0, 0, 0}};
13842static swig_cast_info _swigc__p_wxChoice[] = {{&_swigt__p_wxChoice, 0, 0, 0},{0, 0, 0, 0}};
13843static swig_cast_info _swigc__p_wxListBox[] = {{&_swigt__p_wxListBox, 0, 0, 0},{0, 0, 0, 0}};
13844static swig_cast_info _swigc__p_wxCheckListBox[] = {{&_swigt__p_wxCheckListBox, 0, 0, 0},{0, 0, 0, 0}};
13845static swig_cast_info _swigc__p_wxListView[] = {{&_swigt__p_wxListView, 0, 0, 0},{0, 0, 0, 0}};
13846static swig_cast_info _swigc__p_wxNotebook[] = {{&_swigt__p_wxNotebook, 0, 0, 0},{0, 0, 0, 0}};
13847static swig_cast_info _swigc__p_wxStaticBitmap[] = {{&_swigt__p_wxStaticBitmap, 0, 0, 0},{0, 0, 0, 0}};
13848static swig_cast_info _swigc__p_wxSpinCtrl[] = {{&_swigt__p_wxSpinCtrl, 0, 0, 0},{0, 0, 0, 0}};
13849static swig_cast_info _swigc__p_wxStaticText[] = {{&_swigt__p_wxStaticText, 0, 0, 0},{0, 0, 0, 0}};
13850static swig_cast_info _swigc__p_wxStaticBox[] = {{&_swigt__p_wxStaticBox, 0, 0, 0},{0, 0, 0, 0}};
13851static swig_cast_info _swigc__p_wxSlider[] = {{&_swigt__p_wxSlider, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13852static swig_cast_info _swigc__p_wxTreebook[] = {{&_swigt__p_wxTreebook, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13853static swig_cast_info _swigc__p_wxSpinButton[] = {{&_swigt__p_wxSpinButton, 0, 0, 0},{0, 0, 0, 0}};
13854static swig_cast_info _swigc__p_wxButton[] = {{&_swigt__p_wxButton, 0, 0, 0},{0, 0, 0, 0}};
13855static swig_cast_info _swigc__p_wxBitmapButton[] = {{&_swigt__p_wxBitmapButton, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13856static swig_cast_info _swigc__p_wxContextHelpButton[] = {{&_swigt__p_wxContextHelpButton, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13857static swig_cast_info _swigc__p_wxDatePickerCtrl[] = {{&_swigt__p_wxDatePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13858static swig_cast_info _swigc__p_wxColourPickerCtrl[] = {{&_swigt__p_wxColourPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13859static swig_cast_info _swigc__p_wxFilePickerCtrl[] = {{&_swigt__p_wxFilePickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13860static swig_cast_info _swigc__p_wxDirPickerCtrl[] = {{&_swigt__p_wxDirPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
13861static swig_cast_info _swigc__p_wxFontPickerCtrl[] = {{&_swigt__p_wxFontPickerCtrl, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13862static swig_cast_info _swigc__p_wxTextCtrl[] = {{&_swigt__p_wxTextCtrl, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13863static 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
13864static swig_cast_info _swigc__p_wxDuplexMode[] = { {&_swigt__p_wxDuplexMode, 0, 0, 0},{0, 0, 0, 0}};
13865static swig_cast_info _swigc__p_wxDynamicSashSplitEvent[] = { {&_swigt__p_wxDynamicSashSplitEvent, 0, 0, 0},{0, 0, 0, 0}};
13866static swig_cast_info _swigc__p_wxDynamicSashUnifyEvent[] = { {&_swigt__p_wxDynamicSashUnifyEvent, 0, 0, 0},{0, 0, 0, 0}};
13867static swig_cast_info _swigc__p_wxDynamicSashWindow[] = { {&_swigt__p_wxDynamicSashWindow, 0, 0, 0},{0, 0, 0, 0}};
13868static swig_cast_info _swigc__p_wxEditableListBox[] = { {&_swigt__p_wxEditableListBox, 0, 0, 0},{0, 0, 0, 0}};
13869static swig_cast_info _swigc__p_wxMenuEvent[] = {{&_swigt__p_wxMenuEvent, 0, 0, 0},{0, 0, 0, 0}};
13870static swig_cast_info _swigc__p_wxCloseEvent[] = {{&_swigt__p_wxCloseEvent, 0, 0, 0},{0, 0, 0, 0}};
13871static swig_cast_info _swigc__p_wxMouseEvent[] = {{&_swigt__p_wxMouseEvent, 0, 0, 0},{0, 0, 0, 0}};
13872static swig_cast_info _swigc__p_wxEraseEvent[] = {{&_swigt__p_wxEraseEvent, 0, 0, 0},{0, 0, 0, 0}};
13873static swig_cast_info _swigc__p_wxSetCursorEvent[] = {{&_swigt__p_wxSetCursorEvent, 0, 0, 0},{0, 0, 0, 0}};
13874static swig_cast_info _swigc__p_wxInitDialogEvent[] = {{&_swigt__p_wxInitDialogEvent, 0, 0, 0},{0, 0, 0, 0}};
13875static swig_cast_info _swigc__p_wxPyEvent[] = {{&_swigt__p_wxPyEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13876static swig_cast_info _swigc__p_wxMouseCaptureLostEvent[] = {{&_swigt__p_wxMouseCaptureLostEvent, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13877static swig_cast_info _swigc__p_wxCalculateLayoutEvent[] = {{&_swigt__p_wxCalculateLayoutEvent, 0, 0, 0},{0, 0, 0, 0}};
13878static swig_cast_info _swigc__p_wxIdleEvent[] = {{&_swigt__p_wxIdleEvent, 0, 0, 0},{0, 0, 0, 0}};
13879static swig_cast_info _swigc__p_wxQueryNewPaletteEvent[] = {{&_swigt__p_wxQueryNewPaletteEvent, 0, 0, 0},{0, 0, 0, 0}};
13880static swig_cast_info _swigc__p_wxMaximizeEvent[] = {{&_swigt__p_wxMaximizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13881static swig_cast_info _swigc__p_wxIconizeEvent[] = {{&_swigt__p_wxIconizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13882static swig_cast_info _swigc__p_wxActivateEvent[] = {{&_swigt__p_wxActivateEvent, 0, 0, 0},{0, 0, 0, 0}};
13883static swig_cast_info _swigc__p_wxSizeEvent[] = {{&_swigt__p_wxSizeEvent, 0, 0, 0},{0, 0, 0, 0}};
13884static swig_cast_info _swigc__p_wxMoveEvent[] = {{&_swigt__p_wxMoveEvent, 0, 0, 0},{0, 0, 0, 0}};
13885static swig_cast_info _swigc__p_wxPaintEvent[] = {{&_swigt__p_wxPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13886static swig_cast_info _swigc__p_wxNcPaintEvent[] = {{&_swigt__p_wxNcPaintEvent, 0, 0, 0},{0, 0, 0, 0}};
13887static swig_cast_info _swigc__p_wxPaletteChangedEvent[] = {{&_swigt__p_wxPaletteChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13888static swig_cast_info _swigc__p_wxDisplayChangedEvent[] = {{&_swigt__p_wxDisplayChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13889static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent[] = {{&_swigt__p_wxMouseCaptureChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13890static swig_cast_info _swigc__p_wxSysColourChangedEvent[] = {{&_swigt__p_wxSysColourChangedEvent, 0, 0, 0},{0, 0, 0, 0}};
13891static swig_cast_info _swigc__p_wxDropFilesEvent[] = {{&_swigt__p_wxDropFilesEvent, 0, 0, 0},{0, 0, 0, 0}};
13892static swig_cast_info _swigc__p_wxFocusEvent[] = {{&_swigt__p_wxFocusEvent, 0, 0, 0},{0, 0, 0, 0}};
13893static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent[] = {{&_swigt__p_wxQueryLayoutInfoEvent, 0, 0, 0},{0, 0, 0, 0}};
13894static swig_cast_info _swigc__p_wxShowEvent[] = {{&_swigt__p_wxShowEvent, 0, 0, 0},{0, 0, 0, 0}};
13895static swig_cast_info _swigc__p_wxNavigationKeyEvent[] = {{&_swigt__p_wxNavigationKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13896static swig_cast_info _swigc__p_wxKeyEvent[] = {{&_swigt__p_wxKeyEvent, 0, 0, 0},{0, 0, 0, 0}};
13897static swig_cast_info _swigc__p_wxScrollWinEvent[] = {{&_swigt__p_wxScrollWinEvent, 0, 0, 0},{0, 0, 0, 0}};
13898static swig_cast_info _swigc__p_wxTaskBarIconEvent[] = {{&_swigt__p_wxTaskBarIconEvent, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13899static swig_cast_info _swigc__p_wxEvent[] = { {&_swigt__p_wxContextMenuEvent, _p_wxContextMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMenuEvent, _p_wxMenuEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHelpEvent, _p_wxHelpEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNotebookEvent, _p_wxNotebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxListbookEvent, _p_wxListbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChoicebookEvent, _p_wxChoicebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTreebookEvent, _p_wxTreebookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxToolbookEvent, _p_wxToolbookEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxEvent, 0, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPaletteChangedEvent, _p_wxPaletteChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDisplayChangedEvent, _p_wxDisplayChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent, _p_wxMouseCaptureChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSysColourChangedEvent, _p_wxSysColourChangedEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxHyperlinkEvent, _p_wxHyperlinkEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxDropFilesEvent, _p_wxDropFilesEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxFocusEvent, _p_wxFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxChildFocusEvent, _p_wxChildFocusEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxCommandEvent, _p_wxCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxPyCommandEvent, _p_wxPyCommandEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxSpinEvent, _p_wxSpinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxScrollWinEvent, _p_wxScrollWinEventTo_p_wxEvent, 0, 0}, {&_swigt__p_wxTaskBarIconEvent, _p_wxTaskBarIconEventTo_p_wxEvent, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13900static swig_cast_info _swigc__p_wxPyPreviewFrame[] = {{&_swigt__p_wxPyPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13901static swig_cast_info _swigc__p_wxPreviewFrame[] = {{&_swigt__p_wxPreviewFrame, 0, 0, 0},{0, 0, 0, 0}};
13902static swig_cast_info _swigc__p_wxPyPanel[] = {{&_swigt__p_wxPyPanel, 0, 0, 0},{0, 0, 0, 0}};
13903static swig_cast_info _swigc__p_wxMenu[] = {{&_swigt__p_wxMenu, 0, 0, 0},{0, 0, 0, 0}};
13904static swig_cast_info _swigc__p_wxPyTaskBarIcon[] = {{&_swigt__p_wxPyTaskBarIcon, 0, 0, 0},{0, 0, 0, 0}};
13905static swig_cast_info _swigc__p_wxPreviewCanvas[] = {{&_swigt__p_wxPreviewCanvas, 0, 0, 0},{0, 0, 0, 0}};
13906static swig_cast_info _swigc__p_wxMDIChildFrame[] = {{&_swigt__p_wxMDIChildFrame, 0, 0, 0},{0, 0, 0, 0}};
13907static swig_cast_info _swigc__p_wxPyWindow[] = {{&_swigt__p_wxPyWindow, 0, 0, 0},{0, 0, 0, 0}};
13908static swig_cast_info _swigc__p_wxSplashScreen[] = {{&_swigt__p_wxSplashScreen, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13909static swig_cast_info _swigc__p_wxProgressDialog[] = {{&_swigt__p_wxProgressDialog, 0, 0, 0},{0, 0, 0, 0}};
13910static swig_cast_info _swigc__p_wxFindReplaceDialog[] = {{&_swigt__p_wxFindReplaceDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13911static swig_cast_info _swigc__p_wxMessageDialog[] = {{&_swigt__p_wxMessageDialog, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13912static swig_cast_info _swigc__p_wxNumberEntryDialog[] = {{&_swigt__p_wxNumberEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13913static swig_cast_info _swigc__p_wxFileDialog[] = {{&_swigt__p_wxFileDialog, 0, 0, 0},{0, 0, 0, 0}};
13914static swig_cast_info _swigc__p_wxMultiChoiceDialog[] = {{&_swigt__p_wxMultiChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13915static swig_cast_info _swigc__p_wxSingleChoiceDialog[] = {{&_swigt__p_wxSingleChoiceDialog, 0, 0, 0},{0, 0, 0, 0}};
13916static swig_cast_info _swigc__p_wxTextEntryDialog[] = {{&_swigt__p_wxTextEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13917static swig_cast_info _swigc__p_wxPasswordEntryDialog[] = {{&_swigt__p_wxPasswordEntryDialog, 0, 0, 0},{0, 0, 0, 0}};
13918static swig_cast_info _swigc__p_wxPyVListBox[] = {{&_swigt__p_wxPyVListBox, 0, 0, 0},{0, 0, 0, 0}};
13919static swig_cast_info _swigc__p_wxPyHtmlListBox[] = {{&_swigt__p_wxPyHtmlListBox, 0, 0, 0},{0, 0, 0, 0}};
13920static swig_cast_info _swigc__p_wxMiniFrame[] = {{&_swigt__p_wxMiniFrame, 0, 0, 0},{0, 0, 0, 0}};
13921static swig_cast_info _swigc__p_wxFrame[] = {{&_swigt__p_wxFrame, 0, 0, 0},{0, 0, 0, 0}};
13922static swig_cast_info _swigc__p_wxStatusBar[] = {{&_swigt__p_wxStatusBar, 0, 0, 0},{0, 0, 0, 0}};
13923static swig_cast_info _swigc__p_wxMDIParentFrame[] = {{&_swigt__p_wxMDIParentFrame, 0, 0, 0},{0, 0, 0, 0}};
453fb36b
RD
13924static swig_cast_info _swigc__p_wxPopupWindow[] = {{&_swigt__p_wxPopupWindow, 0, 0, 0},{0, 0, 0, 0}};
13925static swig_cast_info _swigc__p_wxSashLayoutWindow[] = {{&_swigt__p_wxSashLayoutWindow, 0, 0, 0},{0, 0, 0, 0}};
13926static swig_cast_info _swigc__p_wxSashWindow[] = {{&_swigt__p_wxSashWindow, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef 13927static swig_cast_info _swigc__p_wxSplashScreenWindow[] = {{&_swigt__p_wxSplashScreenWindow, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13928static swig_cast_info _swigc__p_wxTipWindow[] = {{&_swigt__p_wxTipWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13929static swig_cast_info _swigc__p_wxPyPopupTransientWindow[] = {{&_swigt__p_wxPyPopupTransientWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13930static swig_cast_info _swigc__p_wxPyScrolledWindow[] = {{&_swigt__p_wxPyScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
13931static swig_cast_info _swigc__p_wxTopLevelWindow[] = {{&_swigt__p_wxTopLevelWindow, 0, 0, 0},{0, 0, 0, 0}};
13932static swig_cast_info _swigc__p_wxMDIClientWindow[] = {{&_swigt__p_wxMDIClientWindow, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13933static swig_cast_info _swigc__p_wxPyVScrolledWindow[] = {{&_swigt__p_wxPyVScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13934static swig_cast_info _swigc__p_wxMenuBar[] = {{&_swigt__p_wxMenuBar, 0, 0, 0},{0, 0, 0, 0}};
13935static swig_cast_info _swigc__p_wxDialog[] = {{&_swigt__p_wxDialog, 0, 0, 0},{0, 0, 0, 0}};
13936static swig_cast_info _swigc__p_wxColourDialog[] = {{&_swigt__p_wxColourDialog, 0, 0, 0},{0, 0, 0, 0}};
13937static swig_cast_info _swigc__p_wxDirDialog[] = {{&_swigt__p_wxDirDialog, 0, 0, 0},{0, 0, 0, 0}};
13938static swig_cast_info _swigc__p_wxFontDialog[] = {{&_swigt__p_wxFontDialog, 0, 0, 0},{0, 0, 0, 0}};
13939static swig_cast_info _swigc__p_wxPyApp[] = {{&_swigt__p_wxPyApp, 0, 0, 0},{0, 0, 0, 0}};
13940static swig_cast_info _swigc__p_wxPreviewControlBar[] = {{&_swigt__p_wxPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13941static swig_cast_info _swigc__p_wxPyPreviewControlBar[] = {{&_swigt__p_wxPyPreviewControlBar, 0, 0, 0},{0, 0, 0, 0}};
13942static swig_cast_info _swigc__p_wxPyValidator[] = {{&_swigt__p_wxPyValidator, 0, 0, 0},{0, 0, 0, 0}};
27e45892 13943static 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
13944static swig_cast_info _swigc__p_wxFont[] = { {&_swigt__p_wxFont, 0, 0, 0},{0, 0, 0, 0}};
13945static swig_cast_info _swigc__p_wxIcon[] = { {&_swigt__p_wxIcon, 0, 0, 0},{0, 0, 0, 0}};
13946static swig_cast_info _swigc__p_wxImageList[] = { {&_swigt__p_wxImageList, 0, 0, 0},{0, 0, 0, 0}};
13947static swig_cast_info _swigc__p_wxLEDNumberCtrl[] = { {&_swigt__p_wxLEDNumberCtrl, 0, 0, 0},{0, 0, 0, 0}};
13948static swig_cast_info _swigc__p_wxIndividualLayoutConstraint[] = {{&_swigt__p_wxIndividualLayoutConstraint, 0, 0, 0},{0, 0, 0, 0}};
13949static swig_cast_info _swigc__p_wxMenuItem[] = {{&_swigt__p_wxMenuItem, 0, 0, 0},{0, 0, 0, 0}};
13950static swig_cast_info _swigc__p_wxImage[] = {{&_swigt__p_wxImage, 0, 0, 0},{0, 0, 0, 0}};
13951static swig_cast_info _swigc__p_wxPySizer[] = {{&_swigt__p_wxPySizer, 0, 0, 0},{0, 0, 0, 0}};
13952static swig_cast_info _swigc__p_wxGenericDragImage[] = {{&_swigt__p_wxGenericDragImage, 0, 0, 0},{0, 0, 0, 0}};
13953static swig_cast_info _swigc__p_wxLayoutAlgorithm[] = {{&_swigt__p_wxLayoutAlgorithm, 0, 0, 0},{0, 0, 0, 0}};
13954static swig_cast_info _swigc__p_wxListItem[] = {{&_swigt__p_wxListItem, 0, 0, 0},{0, 0, 0, 0}};
13955static swig_cast_info _swigc__p_wxFindReplaceData[] = {{&_swigt__p_wxFindReplaceData, 0, 0, 0},{0, 0, 0, 0}};
13956static swig_cast_info _swigc__p_wxPageSetupDialogData[] = {{&_swigt__p_wxPageSetupDialogData, 0, 0, 0},{0, 0, 0, 0}};
13957static swig_cast_info _swigc__p_wxPrintDialogData[] = {{&_swigt__p_wxPrintDialogData, 0, 0, 0},{0, 0, 0, 0}};
13958static swig_cast_info _swigc__p_wxPrinter[] = {{&_swigt__p_wxPrinter, 0, 0, 0},{0, 0, 0, 0}};
13959static swig_cast_info _swigc__p_wxFlexGridSizer[] = {{&_swigt__p_wxFlexGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13960static swig_cast_info _swigc__p_wxGridSizer[] = {{&_swigt__p_wxGridSizer, 0, 0, 0},{0, 0, 0, 0}};
13961static swig_cast_info _swigc__p_wxAcceleratorTable[] = {{&_swigt__p_wxAcceleratorTable, 0, 0, 0},{0, 0, 0, 0}};
13962static swig_cast_info _swigc__p_wxContextHelp[] = {{&_swigt__p_wxContextHelp, 0, 0, 0},{0, 0, 0, 0}};
13963static swig_cast_info _swigc__p_wxColourData[] = {{&_swigt__p_wxColourData, 0, 0, 0},{0, 0, 0, 0}};
13964static swig_cast_info _swigc__p_wxPyPrintout[] = {{&_swigt__p_wxPyPrintout, 0, 0, 0},{0, 0, 0, 0}};
13965static swig_cast_info _swigc__p_wxStdDialogButtonSizer[] = {{&_swigt__p_wxStdDialogButtonSizer, 0, 0, 0},{0, 0, 0, 0}};
13966static swig_cast_info _swigc__p_wxPrintData[] = {{&_swigt__p_wxPrintData, 0, 0, 0},{0, 0, 0, 0}};
13967static swig_cast_info _swigc__p_wxFontData[] = {{&_swigt__p_wxFontData, 0, 0, 0},{0, 0, 0, 0}};
13968static swig_cast_info _swigc__p_wxFileSystem[] = {{&_swigt__p_wxFileSystem, 0, 0, 0},{0, 0, 0, 0}};
13969static swig_cast_info _swigc__p_wxPyPrintPreview[] = {{&_swigt__p_wxPyPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13970static swig_cast_info _swigc__p_wxPrintPreview[] = {{&_swigt__p_wxPrintPreview, 0, 0, 0},{0, 0, 0, 0}};
13971static swig_cast_info _swigc__p_wxLayoutConstraints[] = {{&_swigt__p_wxLayoutConstraints, 0, 0, 0},{0, 0, 0, 0}};
13972static swig_cast_info _swigc__p_wxSizer[] = {{&_swigt__p_wxSizer, 0, 0, 0},{0, 0, 0, 0}};
13973static swig_cast_info _swigc__p_wxBoxSizer[] = {{&_swigt__p_wxBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13974static swig_cast_info _swigc__p_wxStaticBoxSizer[] = {{&_swigt__p_wxStaticBoxSizer, 0, 0, 0},{0, 0, 0, 0}};
13975static swig_cast_info _swigc__p_wxGridBagSizer[] = {{&_swigt__p_wxGridBagSizer, 0, 0, 0},{0, 0, 0, 0}};
13976static swig_cast_info _swigc__p_wxFSFile[] = {{&_swigt__p_wxFSFile, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13977static swig_cast_info _swigc__p_wxSizerItem[] = {{&_swigt__p_wxSizerItem, 0, 0, 0},{0, 0, 0, 0}};
34e0a3bb 13978static swig_cast_info _swigc__p_wxGBSizerItem[] = {{&_swigt__p_wxGBSizerItem, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13979static swig_cast_info _swigc__p_wxPageSetupDialog[] = {{&_swigt__p_wxPageSetupDialog, 0, 0, 0},{0, 0, 0, 0}};
453fb36b 13980static swig_cast_info _swigc__p_wxPrintDialog[] = {{&_swigt__p_wxPrintDialog, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13981static swig_cast_info _swigc__p_wxPNMHandler[] = {{&_swigt__p_wxPNMHandler, 0, 0, 0},{0, 0, 0, 0}};
092f0ed7 13982static swig_cast_info _swigc__p_wxJPEGHandler[] = {{&_swigt__p_wxJPEGHandler, 0, 0, 0},{0, 0, 0, 0}};
2131d850 13983static swig_cast_info _swigc__p_wxPCXHandler[] = {{&_swigt__p_wxPCXHandler, 0, 0, 0},{0, 0, 0, 0}};
7e08d4ef
RD
13984static swig_cast_info _swigc__p_wxGIFHandler[] = {{&_swigt__p_wxGIFHandler, 0, 0, 0},{0, 0, 0, 0}};
13985static swig_cast_info _swigc__p_wxPNGHandler[] = {{&_swigt__p_wxPNGHandler, 0, 0, 0},{0, 0, 0, 0}};
13986static swig_cast_info _swigc__p_wxANIHandler[] = {{&_swigt__p_wxANIHandler, 0, 0, 0},{0, 0, 0, 0}};
13987static swig_cast_info _swigc__p_wxCURHandler[] = {{&_swigt__p_wxCURHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13988static swig_cast_info _swigc__p_wxICOHandler[] = {{&_swigt__p_wxICOHandler, 0, 0, 0},{0, 0, 0, 0}};
13989static swig_cast_info _swigc__p_wxBMPHandler[] = {{&_swigt__p_wxBMPHandler, 0, 0, 0},{0, 0, 0, 0}};
13990static swig_cast_info _swigc__p_wxPyImageHandler[] = {{&_swigt__p_wxPyImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13991static swig_cast_info _swigc__p_wxImageHandler[] = {{&_swigt__p_wxImageHandler, 0, 0, 0},{0, 0, 0, 0}};
13992static swig_cast_info _swigc__p_wxXPMHandler[] = {{&_swigt__p_wxXPMHandler, 0, 0, 0},{0, 0, 0, 0}};
13993static swig_cast_info _swigc__p_wxTIFFHandler[] = {{&_swigt__p_wxTIFFHandler, 0, 0, 0},{0, 0, 0, 0}};
580080c5 13994static swig_cast_info _swigc__p_wxTGAHandler[] = {{&_swigt__p_wxTGAHandler, 0, 0, 0},{0, 0, 0, 0}};
32fe5131 13995static swig_cast_info _swigc__p_wxToolBarToolBase[] = {{&_swigt__p_wxToolBarToolBase, 0, 0, 0},{0, 0, 0, 0}};
580080c5 13996static swig_cast_info _swigc__p_wxObject[] = { {&_swigt__p_wxScrollBar, _p_wxScrollBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxUpdateUIEvent, _p_wxUpdateUIEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewCanvas, _p_wxPreviewCanvasTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvent, _p_wxEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxInitDialogEvent, _p_wxInitDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindDialogEvent, _p_wxFindDialogEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint, _p_wxIndividualLayoutConstraintTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewFrame, _p_wxPyPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewFrame, _p_wxPreviewFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxToolBarBase, _p_wxToolBarBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenuItem, _p_wxMenuItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxImage, _p_wxImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxPySizer, _p_wxPySizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDragImage, _p_wxGenericDragImageTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBitmap, _p_wxStaticBitmapTo_p_wxObject, 0, 0}, {&_swigt__p_wxComboBox, _p_wxComboBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTaskBarIcon, _p_wxPyTaskBarIconTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutAlgorithm, _p_wxLayoutAlgorithmTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyApp, _p_wxPyAppTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreebook, _p_wxTreebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotebook, _p_wxNotebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxListItem, _p_wxListItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoicebook, _p_wxChoicebookTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBase, _p_wxBookCtrlBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeCtrl, _p_wxPyTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRemotelyScrolledTreeCtrl, _p_wxRemotelyScrolledTreeCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPreviewControlBar, _p_wxPyPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxPreviewControlBar, _p_wxPreviewControlBarTo_p_wxObject, 0, 0}, {&_swigt__p_wxFindReplaceData, _p_wxFindReplaceDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticLine, _p_wxStaticLineTo_p_wxObject, 0, 0}, {&_swigt__p_wxValidator, _p_wxValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyValidator, _p_wxPyValidatorTo_p_wxObject, 0, 0}, {&_swigt__p_wxCloseEvent, _p_wxCloseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseEvent, _p_wxMouseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxEraseEvent, _p_wxEraseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxBookCtrlBaseEvent, _p_wxBookCtrlBaseEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeEvent, _p_wxTreeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxScrollEvent, _p_wxScrollEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextUrlEvent, _p_wxTextUrlEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialogData, _p_wxPageSetupDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialogData, _p_wxPrintDialogDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrinter, _p_wxPrinterTo_p_wxObject, 0, 0}, {&_swigt__p_wxControlWithItems, _p_wxControlWithItemsTo_p_wxObject, 0, 0}, {&_swigt__p_wxObject, 0, 0, 0}, {&_swigt__p_wxRadioBox, _p_wxRadioBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxFlexGridSizer, _p_wxFlexGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridSizer, _p_wxGridSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTreeListColumnInfo, _p_wxTreeListColumnInfoTo_p_wxObject, 0, 0}, {&_swigt__p_wxAcceleratorTable, _p_wxAcceleratorTableTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyControl, _p_wxPyControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxControl, _p_wxControlTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelp, _p_wxContextHelpTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourData, _p_wxColourDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMaximizeEvent, _p_wxMaximizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent, _p_wxQueryNewPaletteEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowCreateEvent, _p_wxWindowCreateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIdleEvent, _p_wxIdleEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxIconizeEvent, _p_wxIconizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxActivateEvent, _p_wxActivateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizeEvent, _p_wxSizeEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxMoveEvent, _p_wxMoveEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDateEvent, _p_wxDateEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticText, _p_wxStaticTextTo_p_wxObject, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent, _p_wxMouseCaptureLostEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent, _p_wxCalculateLayoutEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxListEvent, _p_wxListEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashSplitEvent, _p_wxDynamicSashSplitEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintout, _p_wxPyPrintoutTo_p_wxObject, 0, 0}, {&_swigt__p_wxGauge, _p_wxGaugeTo_p_wxObject, 0, 0}, {&_swigt__p_wxMDIChildFrame, _p_wxMDIChildFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer, _p_wxStdDialogButtonSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxChoice, _p_wxChoiceTo_p_wxObject, 0, 0}, {&_swigt__p_wxMenu, _p_wxMenuTo_p_wxObject, 0, 0}, {&_swigt__p_wxContextHelpButton, _p_wxContextHelpButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxBitmapButton, _p_wxBitmapButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxButton, _p_wxButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSpinButton, _p_wxSpinButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxWindowDestroyEvent, _p_wxWindowDestroyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNavigationKeyEvent, _p_wxNavigationKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxKeyEvent, _p_wxKeyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSashEvent, _p_wxSashEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyHtmlListBox, _p_wxPyHtmlListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyVListBox, _p_wxPyVListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxEditableListBox, _p_wxEditableListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxListBox, _p_wxListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxCheckListBox, _p_wxCheckListBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintData, _p_wxPrintDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontData, _p_wxFontDataTo_p_wxObject, 0, 0}, {&_swigt__p_wxMiniFrame, _p_wxMiniFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxListbook, _p_wxListbookTo_p_wxObject, 0, 0}, {&_swigt__p_wxFrame, _p_wxFrameTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPanel, _p_wxPyPanelTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBox, _p_wxStaticBoxTo_p_wxObject, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent, _p_wxQueryLayoutInfoEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplashScreen, _p_wxSplashScreenTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileSystem, _p_wxFileSystemTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyPrintPreview, _p_wxPyPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintPreview, _p_wxPrintPreviewTo_p_wxObject, 0, 0}, {&_swigt__p_wxListView, _p_wxListViewTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyTreeListCtrl, _p_wxPyTreeListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyListCtrl, _p_wxPyListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirFilterListCtrl, _p_wxDirFilterListCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxLayoutConstraints, _p_wxLayoutConstraintsTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizer, _p_wxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBoxSizer, _p_wxBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticBoxSizer, _p_wxStaticBoxSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGridBagSizer, _p_wxGridBagSizerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPaintEvent, _p_wxPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxNcPaintEvent, _p_wxNcPaintEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxClipboardTextEvent, _p_wxClipboardTextEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFSFile, _p_wxFSFileTo_p_wxObject, 0, 0}, {&_swigt__p_wxPickerBase, _p_wxPickerBaseTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontPickerEvent, _p_wxFontPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxFileDirPickerEvent, _p_wxFileDirPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourPickerEvent, _p_wxColourPickerEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSetCursorEvent, _p_wxSetCursorEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxSplitterEvent, _p_wxSplitterEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxTextCtrl, _p_wxTextCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxRadioButton, _p_wxRadioButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxToggleButton, _p_wxToggleButtonTo_p_wxObject, 0, 0}, {&_swigt__p_wxSizerItem, _p_wxSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxGBSizerItem, _p_wxGBSizerItemTo_p_wxObject, 0, 0}, {&_swigt__p_wxNotifyEvent, _p_wxNotifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyEvent, _p_wxPyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxDynamicSashUnifyEvent, _p_wxDynamicSashUnifyEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxGenericDirCtrl, _p_wxGenericDirCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_wxDialog, _p_wxDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxColourDialog, _p_wxColourDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxDirDialog, _p_wxDirDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxFontDialog, _p_wxFontDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPageSetupDialog, _p_wxPageSetupDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxPrintDialog, _p_wxPrintDialogTo_p_wxObject, 0, 0}, {&_swigt__p_wxStaticPicture, _p_wxStaticPictureTo_p_wxObject, 0, 0}, {&_swigt__p_wxShowEvent, _p_wxShowEventTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNMHandler, _p_wxPNMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxJPEGHandler, _p_wxJPEGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPCXHandler, _p_wxPCXHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxGIFHandler, _p_wxGIFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPNGHandler, _p_wxPNGHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxANIHandler, _p_wxANIHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxCURHandler, _p_wxCURHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxICOHandler, _p_wxICOHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxBMPHandler, _p_wxBMPHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxPyImageHandler, _p_wxPyImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxImageHandler, _p_wxImageHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxXPMHandler, _p_wxXPMHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTIFFHandler, _p_wxTIFFHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxTGAHandler, _p_wxTGAHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxEvtHandler, _p_wxEvtHandlerTo_p_wxObject, 0, 0}, {&_swigt__p_wxHyperlinkCtrl, _p_wxHyperlinkCtrlTo_p_wxObject, 0, 0}, {&_swigt__p_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
13997static 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}};
13998static swig_cast_info _swigc__p_wxPaperSize[] = { {&_swigt__p_wxPaperSize, 0, 0, 0},{0, 0, 0, 0}};
32fe5131
RD
13999static swig_cast_info _swigc__p_wxPyTreeCompanionWindow[] = { {&_swigt__p_wxPyTreeCompanionWindow, 0, 0, 0},{0, 0, 0, 0}};
14000static 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}};
14001static swig_cast_info _swigc__p_wxPyTreeItemData[] = { {&_swigt__p_wxPyTreeItemData, 0, 0, 0},{0, 0, 0, 0}};
14002static swig_cast_info _swigc__p_wxPyTreeListCtrl[] = { {&_swigt__p_wxPyTreeListCtrl, 0, 0, 0},{0, 0, 0, 0}};
14003static swig_cast_info _swigc__p_wxRemotelyScrolledTreeCtrl[] = { {&_swigt__p_wxRemotelyScrolledTreeCtrl, 0, 0, 0},{0, 0, 0, 0}};
14004static swig_cast_info _swigc__p_wxScrollBar[] = { {&_swigt__p_wxScrollBar, 0, 0, 0},{0, 0, 0, 0}};
14005static 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}};
14006static swig_cast_info _swigc__p_wxSplitterScrolledWindow[] = { {&_swigt__p_wxSplitterScrolledWindow, 0, 0, 0},{0, 0, 0, 0}};
14007static 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}};
14008static swig_cast_info _swigc__p_wxStaticPicture[] = { {&_swigt__p_wxStaticPicture, 0, 0, 0},{0, 0, 0, 0}};
14009static swig_cast_info _swigc__p_wxThinSplitterWindow[] = { {&_swigt__p_wxThinSplitterWindow, 0, 0, 0},{0, 0, 0, 0}};
14010static swig_cast_info _swigc__p_wxTreeItemId[] = { {&_swigt__p_wxTreeItemId, 0, 0, 0},{0, 0, 0, 0}};
14011static swig_cast_info _swigc__p_wxTreeListColumnInfo[] = { {&_swigt__p_wxTreeListColumnInfo, 0, 0, 0},{0, 0, 0, 0}};
14012static 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 14013static 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
14014
14015static swig_cast_info *swig_cast_initial[] = {
14016 _swigc__p_char,
14017 _swigc__p_float,
14018 _swigc__p_form_ops_t,
14019 _swigc__p_int,
14020 _swigc__p_unsigned_char,
14021 _swigc__p_unsigned_int,
14022 _swigc__p_unsigned_long,
14023 _swigc__p_wxANIHandler,
14024 _swigc__p_wxAcceleratorTable,
14025 _swigc__p_wxActivateEvent,
14026 _swigc__p_wxArrayString,
14027 _swigc__p_wxBMPHandler,
14028 _swigc__p_wxBitmap,
14029 _swigc__p_wxBitmapButton,
14030 _swigc__p_wxBookCtrlBase,
14031 _swigc__p_wxBookCtrlBaseEvent,
14032 _swigc__p_wxBoxSizer,
14033 _swigc__p_wxButton,
14034 _swigc__p_wxCURHandler,
14035 _swigc__p_wxCalculateLayoutEvent,
14036 _swigc__p_wxCheckBox,
14037 _swigc__p_wxCheckListBox,
14038 _swigc__p_wxChildFocusEvent,
14039 _swigc__p_wxChoice,
14040 _swigc__p_wxChoicebook,
14041 _swigc__p_wxChoicebookEvent,
2131d850 14042 _swigc__p_wxClipboardTextEvent,
32fe5131
RD
14043 _swigc__p_wxCloseEvent,
14044 _swigc__p_wxColour,
14045 _swigc__p_wxColourData,
14046 _swigc__p_wxColourDialog,
453fb36b
RD
14047 _swigc__p_wxColourPickerCtrl,
14048 _swigc__p_wxColourPickerEvent,
32fe5131
RD
14049 _swigc__p_wxComboBox,
14050 _swigc__p_wxCommandEvent,
14051 _swigc__p_wxContextHelp,
14052 _swigc__p_wxContextHelpButton,
14053 _swigc__p_wxContextMenuEvent,
14054 _swigc__p_wxControl,
14055 _swigc__p_wxControlWithItems,
14056 _swigc__p_wxDateEvent,
14057 _swigc__p_wxDatePickerCtrl,
14058 _swigc__p_wxDialog,
14059 _swigc__p_wxDirDialog,
14060 _swigc__p_wxDirFilterListCtrl,
453fb36b 14061 _swigc__p_wxDirPickerCtrl,
32fe5131
RD
14062 _swigc__p_wxDisplayChangedEvent,
14063 _swigc__p_wxDropFilesEvent,
14064 _swigc__p_wxDuplexMode,
14065 _swigc__p_wxDynamicSashSplitEvent,
14066 _swigc__p_wxDynamicSashUnifyEvent,
14067 _swigc__p_wxDynamicSashWindow,
14068 _swigc__p_wxEditableListBox,
14069 _swigc__p_wxEraseEvent,
14070 _swigc__p_wxEvent,
14071 _swigc__p_wxEvtHandler,
14072 _swigc__p_wxFSFile,
14073 _swigc__p_wxFileDialog,
453fb36b
RD
14074 _swigc__p_wxFileDirPickerEvent,
14075 _swigc__p_wxFilePickerCtrl,
32fe5131
RD
14076 _swigc__p_wxFileSystem,
14077 _swigc__p_wxFindDialogEvent,
14078 _swigc__p_wxFindReplaceData,
14079 _swigc__p_wxFindReplaceDialog,
14080 _swigc__p_wxFlexGridSizer,
14081 _swigc__p_wxFocusEvent,
14082 _swigc__p_wxFont,
14083 _swigc__p_wxFontData,
14084 _swigc__p_wxFontDialog,
453fb36b
RD
14085 _swigc__p_wxFontPickerCtrl,
14086 _swigc__p_wxFontPickerEvent,
32fe5131
RD
14087 _swigc__p_wxFrame,
14088 _swigc__p_wxGBSizerItem,
14089 _swigc__p_wxGIFHandler,
14090 _swigc__p_wxGauge,
14091 _swigc__p_wxGenericDirCtrl,
14092 _swigc__p_wxGenericDragImage,
14093 _swigc__p_wxGridBagSizer,
14094 _swigc__p_wxGridSizer,
14095 _swigc__p_wxHelpEvent,
092f0ed7
RD
14096 _swigc__p_wxHyperlinkCtrl,
14097 _swigc__p_wxHyperlinkEvent,
32fe5131
RD
14098 _swigc__p_wxICOHandler,
14099 _swigc__p_wxIcon,
14100 _swigc__p_wxIconizeEvent,
14101 _swigc__p_wxIdleEvent,
14102 _swigc__p_wxImage,
14103 _swigc__p_wxImageHandler,
14104 _swigc__p_wxImageList,
14105 _swigc__p_wxIndividualLayoutConstraint,
14106 _swigc__p_wxInitDialogEvent,
14107 _swigc__p_wxJPEGHandler,
14108 _swigc__p_wxKeyEvent,
14109 _swigc__p_wxLEDNumberCtrl,
14110 _swigc__p_wxLayoutAlgorithm,
14111 _swigc__p_wxLayoutConstraints,
14112 _swigc__p_wxListBox,
14113 _swigc__p_wxListEvent,
14114 _swigc__p_wxListItem,
14115 _swigc__p_wxListView,
14116 _swigc__p_wxListbook,
14117 _swigc__p_wxListbookEvent,
14118 _swigc__p_wxMDIChildFrame,
14119 _swigc__p_wxMDIClientWindow,
14120 _swigc__p_wxMDIParentFrame,
14121 _swigc__p_wxMaximizeEvent,
14122 _swigc__p_wxMenu,
14123 _swigc__p_wxMenuBar,
14124 _swigc__p_wxMenuEvent,
14125 _swigc__p_wxMenuItem,
14126 _swigc__p_wxMessageDialog,
14127 _swigc__p_wxMiniFrame,
14128 _swigc__p_wxMouseCaptureChangedEvent,
34e0a3bb 14129 _swigc__p_wxMouseCaptureLostEvent,
32fe5131
RD
14130 _swigc__p_wxMouseEvent,
14131 _swigc__p_wxMoveEvent,
14132 _swigc__p_wxMultiChoiceDialog,
14133 _swigc__p_wxNavigationKeyEvent,
14134 _swigc__p_wxNcPaintEvent,
14135 _swigc__p_wxNotebook,
14136 _swigc__p_wxNotebookEvent,
14137 _swigc__p_wxNotifyEvent,
27e45892 14138 _swigc__p_wxNumberEntryDialog,
32fe5131
RD
14139 _swigc__p_wxObject,
14140 _swigc__p_wxPCXHandler,
14141 _swigc__p_wxPNGHandler,
14142 _swigc__p_wxPNMHandler,
14143 _swigc__p_wxPageSetupDialog,
14144 _swigc__p_wxPageSetupDialogData,
14145 _swigc__p_wxPaintEvent,
14146 _swigc__p_wxPaletteChangedEvent,
14147 _swigc__p_wxPanel,
14148 _swigc__p_wxPaperSize,
14149 _swigc__p_wxPasswordEntryDialog,
453fb36b 14150 _swigc__p_wxPickerBase,
32fe5131
RD
14151 _swigc__p_wxPopupWindow,
14152 _swigc__p_wxPreviewCanvas,
14153 _swigc__p_wxPreviewControlBar,
14154 _swigc__p_wxPreviewFrame,
14155 _swigc__p_wxPrintData,
14156 _swigc__p_wxPrintDialog,
14157 _swigc__p_wxPrintDialogData,
14158 _swigc__p_wxPrintPreview,
14159 _swigc__p_wxPrinter,
14160 _swigc__p_wxProgressDialog,
14161 _swigc__p_wxPyApp,
14162 _swigc__p_wxPyCommandEvent,
14163 _swigc__p_wxPyControl,
14164 _swigc__p_wxPyEvent,
14165 _swigc__p_wxPyHtmlListBox,
14166 _swigc__p_wxPyImageHandler,
14167 _swigc__p_wxPyListCtrl,
14168 _swigc__p_wxPyPanel,
14169 _swigc__p_wxPyPopupTransientWindow,
14170 _swigc__p_wxPyPreviewControlBar,
14171 _swigc__p_wxPyPreviewFrame,
14172 _swigc__p_wxPyPrintPreview,
14173 _swigc__p_wxPyPrintout,
14174 _swigc__p_wxPyScrolledWindow,
14175 _swigc__p_wxPySizer,
14176 _swigc__p_wxPyTaskBarIcon,
14177 _swigc__p_wxPyTreeCompanionWindow,
14178 _swigc__p_wxPyTreeCtrl,
14179 _swigc__p_wxPyTreeItemData,
14180 _swigc__p_wxPyTreeListCtrl,
14181 _swigc__p_wxPyVListBox,
14182 _swigc__p_wxPyVScrolledWindow,
14183 _swigc__p_wxPyValidator,
14184 _swigc__p_wxPyWindow,
14185 _swigc__p_wxQueryLayoutInfoEvent,
14186 _swigc__p_wxQueryNewPaletteEvent,
14187 _swigc__p_wxRadioBox,
14188 _swigc__p_wxRadioButton,
14189 _swigc__p_wxRemotelyScrolledTreeCtrl,
14190 _swigc__p_wxSashEvent,
14191 _swigc__p_wxSashLayoutWindow,
14192 _swigc__p_wxSashWindow,
14193 _swigc__p_wxScrollBar,
14194 _swigc__p_wxScrollEvent,
14195 _swigc__p_wxScrollWinEvent,
14196 _swigc__p_wxScrolledWindow,
14197 _swigc__p_wxSetCursorEvent,
14198 _swigc__p_wxShowEvent,
14199 _swigc__p_wxSingleChoiceDialog,
14200 _swigc__p_wxSizeEvent,
14201 _swigc__p_wxSizer,
14202 _swigc__p_wxSizerItem,
14203 _swigc__p_wxSlider,
14204 _swigc__p_wxSpinButton,
14205 _swigc__p_wxSpinCtrl,
14206 _swigc__p_wxSpinEvent,
14207 _swigc__p_wxSplashScreen,
14208 _swigc__p_wxSplashScreenWindow,
14209 _swigc__p_wxSplitterEvent,
14210 _swigc__p_wxSplitterScrolledWindow,
14211 _swigc__p_wxSplitterWindow,
14212 _swigc__p_wxStaticBitmap,
14213 _swigc__p_wxStaticBox,
14214 _swigc__p_wxStaticBoxSizer,
14215 _swigc__p_wxStaticLine,
14216 _swigc__p_wxStaticPicture,
14217 _swigc__p_wxStaticText,
14218 _swigc__p_wxStatusBar,
14219 _swigc__p_wxStdDialogButtonSizer,
14220 _swigc__p_wxSysColourChangedEvent,
580080c5 14221 _swigc__p_wxTGAHandler,
32fe5131
RD
14222 _swigc__p_wxTIFFHandler,
14223 _swigc__p_wxTaskBarIconEvent,
14224 _swigc__p_wxTextCtrl,
14225 _swigc__p_wxTextEntryDialog,
14226 _swigc__p_wxTextUrlEvent,
14227 _swigc__p_wxThinSplitterWindow,
14228 _swigc__p_wxTipWindow,
14229 _swigc__p_wxToggleButton,
14230 _swigc__p_wxToolBar,
14231 _swigc__p_wxToolBarBase,
14232 _swigc__p_wxToolBarToolBase,
7e08d4ef
RD
14233 _swigc__p_wxToolbook,
14234 _swigc__p_wxToolbookEvent,
32fe5131
RD
14235 _swigc__p_wxTopLevelWindow,
14236 _swigc__p_wxTreeEvent,
14237 _swigc__p_wxTreeItemId,
14238 _swigc__p_wxTreeListColumnInfo,
7e08d4ef
RD
14239 _swigc__p_wxTreebook,
14240 _swigc__p_wxTreebookEvent,
32fe5131
RD
14241 _swigc__p_wxUpdateUIEvent,
14242 _swigc__p_wxValidator,
14243 _swigc__p_wxWindow,
14244 _swigc__p_wxWindowCreateEvent,
14245 _swigc__p_wxWindowDestroyEvent,
14246 _swigc__p_wxXPMHandler,
44127b65
RD
14247};
14248
14249
14250/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
14251
14252static swig_const_info swig_const_table[] = {
c32bde28 14253{0, 0, 0, 0.0, 0, 0}};
44127b65
RD
14254
14255#ifdef __cplusplus
14256}
14257#endif
0085ce49 14258/* -----------------------------------------------------------------------------
32fe5131
RD
14259 * Type initialization:
14260 * This problem is tough by the requirement that no dynamic
14261 * memory is used. Also, since swig_type_info structures store pointers to
14262 * swig_cast_info structures and swig_cast_info structures store pointers back
14263 * to swig_type_info structures, we need some lookup code at initialization.
14264 * The idea is that swig generates all the structures that are needed.
14265 * The runtime then collects these partially filled structures.
14266 * The SWIG_InitializeModule function takes these initial arrays out of
14267 * swig_module, and does all the lookup, filling in the swig_module.types
14268 * array with the correct data and linking the correct swig_cast_info
14269 * structures together.
0085ce49 14270 *
32fe5131
RD
14271 * The generated swig_type_info structures are assigned staticly to an initial
14272 * array. We just loop though that array, and handle each type individually.
14273 * First we lookup if this type has been already loaded, and if so, use the
14274 * loaded structure instead of the generated one. Then we have to fill in the
14275 * cast linked list. The cast data is initially stored in something like a
14276 * two-dimensional array. Each row corresponds to a type (there are the same
14277 * number of rows as there are in the swig_type_initial array). Each entry in
14278 * a column is one of the swig_cast_info structures for that type.
14279 * The cast_initial array is actually an array of arrays, because each row has
14280 * a variable number of columns. So to actually build the cast linked list,
14281 * we find the array of casts associated with the type, and loop through it
14282 * adding the casts to the list. The one last trick we need to do is making
14283 * sure the type pointer in the swig_cast_info struct is correct.
0085ce49 14284 *
32fe5131
RD
14285 * First off, we lookup the cast->type name to see if it is already loaded.
14286 * There are three cases to handle:
14287 * 1) If the cast->type has already been loaded AND the type we are adding
14288 * casting info to has not been loaded (it is in this module), THEN we
14289 * replace the cast->type pointer with the type pointer that has already
14290 * been loaded.
14291 * 2) If BOTH types (the one we are adding casting info to, and the
14292 * cast->type) are loaded, THEN the cast info has already been loaded by
14293 * the previous module so we just ignore it.
14294 * 3) Finally, if cast->type has not already been loaded, then we add that
14295 * swig_cast_info to the linked list (because the cast->type) pointer will
14296 * be correct.
0085ce49 14297 * ----------------------------------------------------------------------------- */
32fe5131
RD
14298
14299#ifdef __cplusplus
14300extern "C" {
14301#if 0
14302} /* c-mode */
14303#endif
14304#endif
14305
14306#if 0
14307#define SWIGRUNTIME_DEBUG
14308#endif
14309
14310SWIGRUNTIME void
14311SWIG_InitializeModule(void *clientdata) {
0085ce49
RD
14312 size_t i;
14313 swig_module_info *module_head;
14314 static int init_run = 0;
14315
14316 clientdata = clientdata;
14317
14318 if (init_run) return;
14319 init_run = 1;
14320
14321 /* Initialize the swig_module */
14322 swig_module.type_initial = swig_type_initial;
14323 swig_module.cast_initial = swig_cast_initial;
14324
14325 /* Try and load any already created modules */
14326 module_head = SWIG_GetModule(clientdata);
14327 if (module_head) {
14328 swig_module.next = module_head->next;
14329 module_head->next = &swig_module;
14330 } else {
14331 /* This is the first module loaded */
14332 swig_module.next = &swig_module;
14333 SWIG_SetModule(clientdata, &swig_module);
14334 }
14335
14336 /* Now work on filling in swig_module.types */
32fe5131 14337#ifdef SWIGRUNTIME_DEBUG
0085ce49 14338 printf("SWIG_InitializeModule: size %d\n", swig_module.size);
32fe5131 14339#endif
0085ce49
RD
14340 for (i = 0; i < swig_module.size; ++i) {
14341 swig_type_info *type = 0;
14342 swig_type_info *ret;
14343 swig_cast_info *cast;
14344
32fe5131 14345#ifdef SWIGRUNTIME_DEBUG
0085ce49 14346 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
32fe5131 14347#endif
0085ce49
RD
14348
14349 /* if there is another module already loaded */
14350 if (swig_module.next != &swig_module) {
14351 type = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, swig_module.type_initial[i]->name);
14352 }
14353 if (type) {
14354 /* Overwrite clientdata field */
32fe5131 14355#ifdef SWIGRUNTIME_DEBUG
0085ce49 14356 printf("SWIG_InitializeModule: found type %s\n", type->name);
32fe5131 14357#endif
0085ce49
RD
14358 if (swig_module.type_initial[i]->clientdata) {
14359 type->clientdata = swig_module.type_initial[i]->clientdata;
32fe5131 14360#ifdef SWIGRUNTIME_DEBUG
0085ce49 14361 printf("SWIG_InitializeModule: found and overwrite type %s \n", type->name);
32fe5131 14362#endif
0085ce49
RD
14363 }
14364 } else {
14365 type = swig_module.type_initial[i];
14366 }
14367
14368 /* Insert casting types */
14369 cast = swig_module.cast_initial[i];
14370 while (cast->type) {
14371 /* Don't need to add information already in the list */
14372 ret = 0;
32fe5131 14373#ifdef SWIGRUNTIME_DEBUG
0085ce49 14374 printf("SWIG_InitializeModule: look cast %s\n", cast->type->name);
32fe5131 14375#endif
0085ce49
RD
14376 if (swig_module.next != &swig_module) {
14377 ret = SWIG_MangledTypeQueryModule(swig_module.next, &swig_module, cast->type->name);
32fe5131 14378#ifdef SWIGRUNTIME_DEBUG
0085ce49 14379 if (ret) printf("SWIG_InitializeModule: found cast %s\n", ret->name);
32fe5131 14380#endif
0085ce49
RD
14381 }
14382 if (ret) {
14383 if (type == swig_module.type_initial[i]) {
32fe5131 14384#ifdef SWIGRUNTIME_DEBUG
0085ce49 14385 printf("SWIG_InitializeModule: skip old type %s\n", ret->name);
32fe5131 14386#endif
0085ce49
RD
14387 cast->type = ret;
14388 ret = 0;
14389 } else {
14390 /* Check for casting already in the list */
14391 swig_cast_info *ocast = SWIG_TypeCheck(ret->name, type);
32fe5131 14392#ifdef SWIGRUNTIME_DEBUG
0085ce49 14393 if (ocast) printf("SWIG_InitializeModule: skip old cast %s\n", ret->name);
32fe5131 14394#endif
0085ce49
RD
14395 if (!ocast) ret = 0;
14396 }
14397 }
14398
14399 if (!ret) {
32fe5131 14400#ifdef SWIGRUNTIME_DEBUG
0085ce49 14401 printf("SWIG_InitializeModule: adding cast %s\n", cast->type->name);
32fe5131 14402#endif
0085ce49
RD
14403 if (type->cast) {
14404 type->cast->prev = cast;
14405 cast->next = type->cast;
32fe5131 14406 }
0085ce49
RD
14407 type->cast = cast;
14408 }
14409 cast++;
32fe5131 14410 }
0085ce49
RD
14411 /* Set entry in modules->types array equal to the type */
14412 swig_module.types[i] = type;
14413 }
14414 swig_module.types[i] = 0;
14415
32fe5131 14416#ifdef SWIGRUNTIME_DEBUG
0085ce49
RD
14417 printf("**** SWIG_InitializeModule: Cast List ******\n");
14418 for (i = 0; i < swig_module.size; ++i) {
14419 int j = 0;
14420 swig_cast_info *cast = swig_module.cast_initial[i];
14421 printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
14422 while (cast->type) {
14423 printf("SWIG_InitializeModule: cast type %s\n", cast->type->name);
14424 cast++;
14425 ++j;
14426 }
14427 printf("---- Total casts: %d\n",j);
14428 }
14429 printf("**** SWIG_InitializeModule: Cast List ******\n");
32fe5131
RD
14430#endif
14431}
14432
14433/* This function will propagate the clientdata field of type to
14434* any new swig_type_info structures that have been added into the list
14435* of equivalent types. It is like calling
14436* SWIG_TypeClientData(type, clientdata) a second time.
14437*/
14438SWIGRUNTIME void
14439SWIG_PropagateClientData(void) {
0085ce49
RD
14440 size_t i;
14441 swig_cast_info *equiv;
14442 static int init_run = 0;
14443
14444 if (init_run) return;
14445 init_run = 1;
14446
14447 for (i = 0; i < swig_module.size; i++) {
14448 if (swig_module.types[i]->clientdata) {
14449 equiv = swig_module.types[i]->cast;
14450 while (equiv) {
14451 if (!equiv->converter) {
14452 if (equiv->type && !equiv->type->clientdata)
14453 SWIG_TypeClientData(equiv->type, swig_module.types[i]->clientdata);
14454 }
14455 equiv = equiv->next;
14456 }
32fe5131 14457 }
0085ce49 14458 }
32fe5131
RD
14459}
14460
14461#ifdef __cplusplus
14462#if 0
14463{
0085ce49 14464 /* c-mode */
32fe5131
RD
14465#endif
14466}
14467#endif
14468
44127b65 14469
3004cfd8
RD
14470
14471#ifdef __cplusplus
14472extern "C" {
14473#endif
0085ce49
RD
14474
14475 /* Python-specific SWIG API */
3004cfd8
RD
14476#define SWIG_newvarlink() SWIG_Python_newvarlink()
14477#define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
14478#define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
0085ce49
RD
14479
14480 /* -----------------------------------------------------------------------------
14481 * global variable support code.
14482 * ----------------------------------------------------------------------------- */
14483
14484 typedef struct swig_globalvar {
14485 char *name; /* Name of global variable */
14486 PyObject *(*get_attr)(void); /* Return the current value */
14487 int (*set_attr)(PyObject *); /* Set the value */
14488 struct swig_globalvar *next;
14489 } swig_globalvar;
14490
14491 typedef struct swig_varlinkobject {
14492 PyObject_HEAD
14493 swig_globalvar *vars;
14494 } swig_varlinkobject;
14495
14496 SWIGINTERN PyObject *
14497 swig_varlink_repr(swig_varlinkobject *SWIGUNUSEDPARM(v)) {
14498 return PyString_FromString("<Swig global variables>");
14499 }
14500
14501 SWIGINTERN PyObject *
14502 swig_varlink_str(swig_varlinkobject *v) {
14503 PyObject *str = PyString_FromString("(");
14504 swig_globalvar *var;
14505 for (var = v->vars; var; var=var->next) {
14506 PyString_ConcatAndDel(&str,PyString_FromString(var->name));
14507 if (var->next) PyString_ConcatAndDel(&str,PyString_FromString(", "));
14508 }
14509 PyString_ConcatAndDel(&str,PyString_FromString(")"));
14510 return str;
14511 }
14512
14513 SWIGINTERN int
14514 swig_varlink_print(swig_varlinkobject *v, FILE *fp, int SWIGUNUSEDPARM(flags)) {
14515 PyObject *str = swig_varlink_str(v);
14516 fprintf(fp,"Swig global variables ");
14517 fprintf(fp,"%s\n", PyString_AsString(str));
14518 Py_DECREF(str);
14519 return 0;
14520 }
14521
14522 SWIGINTERN void
14523 swig_varlink_dealloc(swig_varlinkobject *v) {
14524 swig_globalvar *var = v->vars;
14525 while (var) {
14526 swig_globalvar *n = var->next;
14527 free(var->name);
14528 free(var);
14529 var = n;
3004cfd8 14530 }
0085ce49
RD
14531 }
14532
14533 SWIGINTERN PyObject *
14534 swig_varlink_getattr(swig_varlinkobject *v, char *n) {
14535 PyObject *res = NULL;
14536 swig_globalvar *var = v->vars;
14537 while (var) {
14538 if (strcmp(var->name,n) == 0) {
14539 res = (*var->get_attr)();
14540 break;
14541 }
14542 var = var->next;
3004cfd8 14543 }
0085ce49
RD
14544 if (res == NULL && !PyErr_Occurred()) {
14545 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
3004cfd8 14546 }
0085ce49
RD
14547 return res;
14548 }
14549
14550 SWIGINTERN int
14551 swig_varlink_setattr(swig_varlinkobject *v, char *n, PyObject *p) {
14552 int res = 1;
14553 swig_globalvar *var = v->vars;
14554 while (var) {
14555 if (strcmp(var->name,n) == 0) {
14556 res = (*var->set_attr)(p);
14557 break;
14558 }
14559 var = var->next;
3004cfd8 14560 }
0085ce49
RD
14561 if (res == 1 && !PyErr_Occurred()) {
14562 PyErr_SetString(PyExc_NameError,"Unknown C global variable");
14563 }
14564 return res;
14565 }
14566
14567 SWIGINTERN PyTypeObject*
14568 swig_varlink_type(void) {
14569 static char varlink__doc__[] = "Swig var link object";
14570 static PyTypeObject varlink_type;
14571 static int type_init = 0;
14572 if (!type_init) {
14573 const PyTypeObject tmp
14574 = {
14575 PyObject_HEAD_INIT(NULL)
14576 0, /* Number of items in variable part (ob_size) */
14577 (char *)"swigvarlink", /* Type name (tp_name) */
14578 sizeof(swig_varlinkobject), /* Basic size (tp_basicsize) */
14579 0, /* Itemsize (tp_itemsize) */
14580 (destructor) swig_varlink_dealloc, /* Deallocator (tp_dealloc) */
14581 (printfunc) swig_varlink_print, /* Print (tp_print) */
14582 (getattrfunc) swig_varlink_getattr, /* get attr (tp_getattr) */
14583 (setattrfunc) swig_varlink_setattr, /* Set attr (tp_setattr) */
14584 0, /* tp_compare */
14585 (reprfunc) swig_varlink_repr, /* tp_repr */
14586 0, /* tp_as_number */
14587 0, /* tp_as_sequence */
14588 0, /* tp_as_mapping */
14589 0, /* tp_hash */
14590 0, /* tp_call */
14591 (reprfunc)swig_varlink_str, /* tp_str */
14592 0, /* tp_getattro */
14593 0, /* tp_setattro */
14594 0, /* tp_as_buffer */
14595 0, /* tp_flags */
14596 varlink__doc__, /* tp_doc */
14597 0, /* tp_traverse */
14598 0, /* tp_clear */
14599 0, /* tp_richcompare */
14600 0, /* tp_weaklistoffset */
3004cfd8 14601#if PY_VERSION_HEX >= 0x02020000
0085ce49 14602 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
14603#endif
14604#if PY_VERSION_HEX >= 0x02030000
0085ce49 14605 0, /* tp_del */
3004cfd8
RD
14606#endif
14607#ifdef COUNT_ALLOCS
0085ce49 14608 0,0,0,0 /* tp_alloc -> tp_next */
3004cfd8 14609#endif
0085ce49
RD
14610 };
14611 varlink_type = tmp;
14612 varlink_type.ob_type = &PyType_Type;
14613 type_init = 1;
3004cfd8 14614 }
0085ce49
RD
14615 return &varlink_type;
14616 }
14617
14618 /* Create a variable linking object for use later */
14619 SWIGINTERN PyObject *
14620 SWIG_Python_newvarlink(void) {
14621 swig_varlinkobject *result = PyObject_NEW(swig_varlinkobject, swig_varlink_type());
14622 if (result) {
14623 result->vars = 0;
14624 }
14625 return ((PyObject*) result);
14626 }
14627
14628 SWIGINTERN void
14629 SWIG_Python_addvarlink(PyObject *p, char *name, PyObject *(*get_attr)(void), int (*set_attr)(PyObject *p)) {
14630 swig_varlinkobject *v = (swig_varlinkobject *) p;
14631 swig_globalvar *gv = (swig_globalvar *) malloc(sizeof(swig_globalvar));
14632 if (gv) {
14633 size_t size = strlen(name)+1;
14634 gv->name = (char *)malloc(size);
14635 if (gv->name) {
14636 strncpy(gv->name,name,size);
14637 gv->get_attr = get_attr;
14638 gv->set_attr = set_attr;
14639 gv->next = v->vars;
14640 }
3004cfd8 14641 }
0085ce49
RD
14642 v->vars = gv;
14643 }
14644
14645 SWIGINTERN PyObject *
14646 SWIG_globals() {
14647 static PyObject *_SWIG_globals = 0;
14648 if (!_SWIG_globals) _SWIG_globals = SWIG_newvarlink();
14649 return _SWIG_globals;
14650 }
14651
14652 /* -----------------------------------------------------------------------------
14653 * constants/methods manipulation
14654 * ----------------------------------------------------------------------------- */
14655
14656 /* Install Constants */
14657 SWIGINTERN void
14658 SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]) {
14659 PyObject *obj = 0;
14660 size_t i;
14661 for (i = 0; constants[i].type; ++i) {
14662 switch(constants[i].type) {
14663 case SWIG_PY_POINTER:
14664 obj = SWIG_NewPointerObj(constants[i].pvalue, *(constants[i]).ptype,0);
14665 break;
14666 case SWIG_PY_BINARY:
14667 obj = SWIG_NewPackedObj(constants[i].pvalue, constants[i].lvalue, *(constants[i].ptype));
14668 break;
14669 default:
14670 obj = 0;
14671 break;
14672 }
14673 if (obj) {
14674 PyDict_SetItemString(d, constants[i].name, obj);
14675 Py_DECREF(obj);
14676 }
3004cfd8 14677 }
0085ce49
RD
14678 }
14679
14680 /* -----------------------------------------------------------------------------*/
14681 /* Fix SwigMethods to carry the callback ptrs when needed */
14682 /* -----------------------------------------------------------------------------*/
14683
14684 SWIGINTERN void
14685 SWIG_Python_FixMethods(PyMethodDef *methods,
3004cfd8
RD
14686 swig_const_info *const_table,
14687 swig_type_info **types,
14688 swig_type_info **types_initial) {
0085ce49
RD
14689 size_t i;
14690 for (i = 0; methods[i].ml_name; ++i) {
453fb36b 14691 const char *c = methods[i].ml_doc;
0085ce49
RD
14692 if (c && (c = strstr(c, "swig_ptr: "))) {
14693 int j;
14694 swig_const_info *ci = 0;
453fb36b 14695 const char *name = c + 10;
0085ce49
RD
14696 for (j = 0; const_table[j].type; ++j) {
14697 if (strncmp(const_table[j].name, name,
14698 strlen(const_table[j].name)) == 0) {
14699 ci = &(const_table[j]);
14700 break;
14701 }
14702 }
14703 if (ci) {
14704 size_t shift = (ci->ptype) - types;
14705 swig_type_info *ty = types_initial[shift];
14706 size_t ldoc = (c - methods[i].ml_doc);
14707 size_t lptr = strlen(ty->name)+2*sizeof(void*)+2;
14708 char *ndoc = (char*)malloc(ldoc + lptr + 10);
14709 if (ndoc) {
14710 char *buff = ndoc;
14711 void *ptr = (ci->type == SWIG_PY_POINTER) ? ci->pvalue : 0;
14712 if (ptr) {
14713 strncpy(buff, methods[i].ml_doc, ldoc);
14714 buff += ldoc;
14715 strncpy(buff, "swig_ptr: ", 10);
14716 buff += 10;
14717 SWIG_PackVoidPtr(buff, ptr, ty->name, lptr);
14718 methods[i].ml_doc = ndoc;
3004cfd8 14719 }
0085ce49 14720 }
3004cfd8 14721 }
0085ce49 14722 }
3004cfd8 14723 }
0085ce49
RD
14724 }
14725
3004cfd8
RD
14726#ifdef __cplusplus
14727}
14728#endif
14729
14730/* -----------------------------------------------------------------------------*
14731 * Partial Init method
14732 * -----------------------------------------------------------------------------*/
14733
44127b65
RD
14734#ifdef __cplusplus
14735extern "C"
14736#endif
32fe5131 14737SWIGEXPORT void SWIG_init(void) {
0085ce49
RD
14738 PyObject *m, *d;
14739
14740 /* Fix SwigMethods to carry the callback ptrs when needed */
14741 SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
14742
14743 m = Py_InitModule((char *) SWIG_name, SwigMethods);
14744 d = PyModule_GetDict(m);
14745
14746 SWIG_InitializeModule(0);
14747 SWIG_InstallConstants(d,swig_const_table);
14748
14749
14750 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals());
14751 SWIG_addvarlink(SWIG_globals(),(char*)"DynamicSashNameStr",DynamicSashNameStr_get, DynamicSashNameStr_set);
14752 SWIG_addvarlink(SWIG_globals(),(char*)"EditableListBoxNameStr",EditableListBoxNameStr_get, EditableListBoxNameStr_set);
0085ce49
RD
14753 SWIG_addvarlink(SWIG_globals(),(char*)"StaticPictureNameStr",StaticPictureNameStr_get, StaticPictureNameStr_set);
14754 SWIG_Python_SetConstant(d, "DS_MANAGE_SCROLLBARS",SWIG_From_int(static_cast< int >(wxDS_MANAGE_SCROLLBARS)));
14755 SWIG_Python_SetConstant(d, "DS_DRAG_CORNER",SWIG_From_int(static_cast< int >(wxDS_DRAG_CORNER)));
14756 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_SPLIT", PyInt_FromLong(wxEVT_DYNAMIC_SASH_SPLIT));
14757 PyDict_SetItemString(d, "wxEVT_DYNAMIC_SASH_UNIFY", PyInt_FromLong(wxEVT_DYNAMIC_SASH_UNIFY));
14758 SWIG_Python_SetConstant(d, "EL_ALLOW_NEW",SWIG_From_int(static_cast< int >(wxEL_ALLOW_NEW)));
14759 SWIG_Python_SetConstant(d, "EL_ALLOW_EDIT",SWIG_From_int(static_cast< int >(wxEL_ALLOW_EDIT)));
14760 SWIG_Python_SetConstant(d, "EL_ALLOW_DELETE",SWIG_From_int(static_cast< int >(wxEL_ALLOW_DELETE)));
14761 SWIG_Python_SetConstant(d, "LED_ALIGN_LEFT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_LEFT)));
14762 SWIG_Python_SetConstant(d, "LED_ALIGN_RIGHT",SWIG_From_int(static_cast< int >(wxLED_ALIGN_RIGHT)));
14763 SWIG_Python_SetConstant(d, "LED_ALIGN_CENTER",SWIG_From_int(static_cast< int >(wxLED_ALIGN_CENTER)));
14764 SWIG_Python_SetConstant(d, "LED_ALIGN_MASK",SWIG_From_int(static_cast< int >(wxLED_ALIGN_MASK)));
14765 SWIG_Python_SetConstant(d, "LED_DRAW_FADED",SWIG_From_int(static_cast< int >(wxLED_DRAW_FADED)));
33d6fd3b
RD
14766 SWIG_addvarlink(SWIG_globals(),(char*)"TreeListCtrlNameStr",TreeListCtrlNameStr_get, TreeListCtrlNameStr_set);
14767 SWIG_Python_SetConstant(d, "DEFAULT_COL_WIDTH",SWIG_From_int(static_cast< int >(DEFAULT_COL_WIDTH)));
14768 SWIG_Python_SetConstant(d, "TL_MODE_NAV_FULLTREE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_FULLTREE)));
14769 SWIG_Python_SetConstant(d, "TL_MODE_NAV_EXPANDED",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_EXPANDED)));
14770 SWIG_Python_SetConstant(d, "TL_MODE_NAV_VISIBLE",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_VISIBLE)));
14771 SWIG_Python_SetConstant(d, "TL_MODE_NAV_LEVEL",SWIG_From_int(static_cast< int >(wxTL_MODE_NAV_LEVEL)));
14772 SWIG_Python_SetConstant(d, "TL_MODE_FIND_EXACT",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_EXACT)));
14773 SWIG_Python_SetConstant(d, "TL_MODE_FIND_PARTIAL",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_PARTIAL)));
14774 SWIG_Python_SetConstant(d, "TL_MODE_FIND_NOCASE",SWIG_From_int(static_cast< int >(wxTL_MODE_FIND_NOCASE)));
0085ce49 14775 SWIG_Python_SetConstant(d, "TREE_HITTEST_ONITEMCOLUMN",SWIG_From_int(static_cast< int >(wxTREE_HITTEST_ONITEMCOLUMN)));
33d6fd3b
RD
14776 SWIG_Python_SetConstant(d, "TR_COLUMN_LINES",SWIG_From_int(static_cast< int >(wxTR_COLUMN_LINES)));
14777 SWIG_Python_SetConstant(d, "TR_VIRTUAL",SWIG_From_int(static_cast< int >(wxTR_VIRTUAL)));
14778
14779 wxPyPtrTypeMap_Add("wxTreeListCtrl", "wxPyTreeListCtrl");
14780
0085ce49
RD
14781 SWIG_Python_SetConstant(d, "SCALE_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSCALE_HORIZONTAL)));
14782 SWIG_Python_SetConstant(d, "SCALE_VERTICAL",SWIG_From_int(static_cast< int >(wxSCALE_VERTICAL)));
14783 SWIG_Python_SetConstant(d, "SCALE_UNIFORM",SWIG_From_int(static_cast< int >(wxSCALE_UNIFORM)));
14784 SWIG_Python_SetConstant(d, "SCALE_CUSTOM",SWIG_From_int(static_cast< int >(wxSCALE_CUSTOM)));
14785
0085ce49 14786 wxPyPtrTypeMap_Add("wxTreeCompanionWindow", "wxPyTreeCompanionWindow");
0085ce49 14787
44127b65
RD
14788}
14789